* cfdisk: partition type wraps to next line on small screens
@ 2015-07-25 15:17 Benno Schulenberg
2015-07-27 13:51 ` Karel Zak
0 siblings, 1 reply; 2+ messages in thread
From: Benno Schulenberg @ 2015-07-25 15:17 UTC (permalink / raw)
To: Util-Linux
Do for example:
stty cols 64
./cfdisk
Press <Down> several times; then <Up> several times.
See how fragments of the partition type remain at the
start of each line.
Something else. The extra info block contains two lines
giving the Start C/H/S and End C/H/S. But on my system
all of them say "1023/63/254" (except for the first
partition), so that seems to me pointless information.
Maybe show them only when the Start and End values differ?
Also, leaving out that information will make it more likely
that, on small screens, useful info like filesystem type and
label can be shown.
Further, on https://en.wikipedia.org/wiki/Cylinder-head-sector
it says that heads went up to 254 and sectors up to 63, so,
if shown, shouldn't it say "1023/254/63" instead?
Upcoming patches try to improve the layout of the cfdisk
screen a bit: bringing the menu line closer to the hint line
again, and the info block closer to the partition list.
However, on narrow screens this might lead to the last one
or two menu items being temporarily overwritten by the info
line. I don't think this is a big deal: when there is little
space, one must expect a bit of a shuffle. But if this seems
unacceptable, then it will be better to define MENU_START_LINE
as ui_lines - 4 instead.
Benno
--
http://www.fastmail.com - mmm... Fastmail...
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: cfdisk: partition type wraps to next line on small screens
2015-07-25 15:17 cfdisk: partition type wraps to next line on small screens Benno Schulenberg
@ 2015-07-27 13:51 ` Karel Zak
0 siblings, 0 replies; 2+ messages in thread
From: Karel Zak @ 2015-07-27 13:51 UTC (permalink / raw)
To: Benno Schulenberg; +Cc: Util-Linux
On Sat, Jul 25, 2015 at 05:17:22PM +0200, Benno Schulenberg wrote:
> Do for example:
>
> stty cols 64
> ./cfdisk
>
> Press <Down> several times; then <Up> several times.
> See how fragments of the partition type remain at the
> start of each line.
Fixed.
> Something else. The extra info block contains two lines
> giving the Start C/H/S and End C/H/S. But on my system
> all of them say "1023/63/254" (except for the first
> partition), so that seems to me pointless information.
> Maybe show them only when the Start and End values differ?
I have remove both CHS at all. It does not provides any useful
information.
Thanks!
Karel
--
Karel Zak <kzak@redhat.com>
http://karelzak.blogspot.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-07-27 13:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-25 15:17 cfdisk: partition type wraps to next line on small screens Benno Schulenberg
2015-07-27 13:51 ` Karel Zak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox