* cfdisk cuts lines for logical partitions too short
@ 2015-11-18 16:04 Benno Schulenberg
2015-12-03 19:02 ` Benno Schulenberg
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Benno Schulenberg @ 2015-11-18 16:04 UTC (permalink / raw)
To: Util-Linux
Hi Karel,
In 2.27, the highlight bar of cfdisk is three or four characters
shorter than the width of the screen -- for logical partitions.
I noticed because on a 100-column terminal two letters of a
translation were bitten off.
The culprit is commit ed99eac0e2a83a315c7cf5d8a461df16b3106596.
Before that, the lines were full length.
Btw, in current git, running ./cfdisk aborts here with:
lt-cfdisk: libblkid/src/probe.c:638: mmap_buffer:
Assertion `map_off + map_len >= real_off + len' failed.
Benno
--
http://www.fastmail.com - Choose from over 50 domains or use your own
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: cfdisk cuts lines for logical partitions too short
2015-11-18 16:04 cfdisk cuts lines for logical partitions too short Benno Schulenberg
@ 2015-12-03 19:02 ` Benno Schulenberg
2015-12-07 9:27 ` Karel Zak
2015-12-07 11:25 ` Karel Zak
2 siblings, 0 replies; 5+ messages in thread
From: Benno Schulenberg @ 2015-12-03 19:02 UTC (permalink / raw)
To: Util-Linux; +Cc: Karel Zak
On Wed, Nov 18, 2015, at 17:04, Benno Schulenberg wrote:
> In 2.27, the highlight bar of cfdisk is three or four characters
> shorter than the width of the screen -- for logical partitions.
> I noticed because on a 100-column terminal two letters of a
> translation were bitten off.
>
> The culprit is commit ed99eac0e2a83a315c7cf5d8a461df16b3106596.
> Before that, the lines were full length.
Ping?
> Btw, in current git, running ./cfdisk aborts here with:
>
> lt-cfdisk: libblkid/src/probe.c:638: mmap_buffer:
> Assertion `map_off + map_len >= real_off + len' failed.
Okay. That works now.
Benno
--
http://www.fastmail.com - Access all of your messages and folders
wherever you are
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: cfdisk cuts lines for logical partitions too short
2015-11-18 16:04 cfdisk cuts lines for logical partitions too short Benno Schulenberg
2015-12-03 19:02 ` Benno Schulenberg
@ 2015-12-07 9:27 ` Karel Zak
2015-12-07 11:25 ` Karel Zak
2 siblings, 0 replies; 5+ messages in thread
From: Karel Zak @ 2015-12-07 9:27 UTC (permalink / raw)
To: Benno Schulenberg; +Cc: Util-Linux
On Wed, Nov 18, 2015 at 05:04:40PM +0100, Benno Schulenberg wrote:
> In 2.27, the highlight bar of cfdisk is three or four characters
> shorter than the width of the screen -- for logical partitions.
> I noticed because on a 100-column terminal two letters of a
> translation were bitten off.
>
> The culprit is commit ed99eac0e2a83a315c7cf5d8a461df16b3106596.
> Before that, the lines were full length.
.. because it (incorrectly) counts escape seq. to the size of the
header line. I'll try to fix it.
Thanks.
Karel
--
Karel Zak <kzak@redhat.com>
http://karelzak.blogspot.com
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: cfdisk cuts lines for logical partitions too short
2015-11-18 16:04 cfdisk cuts lines for logical partitions too short Benno Schulenberg
2015-12-03 19:02 ` Benno Schulenberg
2015-12-07 9:27 ` Karel Zak
@ 2015-12-07 11:25 ` Karel Zak
2015-12-07 11:42 ` Benno Schulenberg
2 siblings, 1 reply; 5+ messages in thread
From: Karel Zak @ 2015-12-07 11:25 UTC (permalink / raw)
To: Benno Schulenberg; +Cc: Util-Linux
On Wed, Nov 18, 2015 at 05:04:40PM +0100, Benno Schulenberg wrote:
> In 2.27, the highlight bar of cfdisk is three or four characters
> shorter than the width of the screen -- for logical partitions.
> I noticed because on a 100-column terminal two letters of a
> translation were bitten off.
Probably fixed -- I'm not sure if I have found the same bugs like
you :-)
Test it please. Thanks!
Karel
--
Karel Zak <kzak@redhat.com>
http://karelzak.blogspot.com
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: cfdisk cuts lines for logical partitions too short
2015-12-07 11:25 ` Karel Zak
@ 2015-12-07 11:42 ` Benno Schulenberg
0 siblings, 0 replies; 5+ messages in thread
From: Benno Schulenberg @ 2015-12-07 11:42 UTC (permalink / raw)
To: Karel Zak; +Cc: Util-Linux
On Mon, Dec 7, 2015, at 12:25, Karel Zak wrote:
> On Wed, Nov 18, 2015 at 05:04:40PM +0100, Benno Schulenberg wrote:
> > In 2.27, the highlight bar of cfdisk is three or four characters
> > shorter than the width of the screen -- for logical partitions.
> > I noticed because on a 100-column terminal two letters of a
> > translation were bitten off.
>
> Probably fixed -- I'm not sure if I have found the same bugs like
> you :-)
Tested. Looks good now. Thanks!
Benno
--
http://www.fastmail.com - Accessible with your email software
or over the web
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-12-07 11:42 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-18 16:04 cfdisk cuts lines for logical partitions too short Benno Schulenberg
2015-12-03 19:02 ` Benno Schulenberg
2015-12-07 9:27 ` Karel Zak
2015-12-07 11:25 ` Karel Zak
2015-12-07 11:42 ` Benno Schulenberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox