util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Karel Zak <kzak@redhat.com>
To: Benno Schulenberg <bensberg@justemail.net>
Cc: Util-Linux <util-linux@vger.kernel.org>
Subject: Re: some more comments about the new cfdisk
Date: Tue, 15 Jul 2014 13:18:36 +0200	[thread overview]
Message-ID: <20140715111836.GT30288@x2.net.home> (raw)
In-Reply-To: <1405365827.25234.141562049.51FBADE7@webmail.messagingengine.com>

On Mon, Jul 14, 2014 at 09:23:47PM +0200, Benno Schulenberg wrote:
> 
> My normal terminal emulator has 30 lines, and when in cfdisk typing H,
> the help screen ends like this:
> 
>  Note: All of the commands can be entered with either upper or lower
>                             *Press a key to continue.*
> 
> One understands what is meant, of course, but it looks a bit unfinished.
> And one wonders whether there is still more missing.  And there might!
> After reducing the number of lines to twenty (stty rows 20), the help
> screen ends like this:
> 
>                             *Press a key to continue.*
>               Since this might destroy data on the disk, you must
> 
> :D
> 
> Pressing a key does not show the rest of the help text, but it
> used to.

 Hmm... it seems it will be necessary to add support for UP/DOWN keys
 for the help screen. OK, but in v2.26 :-)

> The help text also shows this entry:
> 
>    s          Fix partitions order
> 
> But this item is not shown in the main menu.  Does it only
> appear when the partitions are out of order? 

 Well, all the actions and the main menu depend on context, it does
 not offer useless actions at all.

> text might want to say so, e.g. "(only when in disarray)".

 OK, added.

> Pressing s or S in the main menu does not give any feedback.

 Sure, action is no active, menu is no sensitive to the key at all.

> When creating a new partition, it accepts as a suffix for sizes both
> k and K, m and M, g and G.  But for sectors it only accepts S, not s.

 Good point, fixed.

> What is the reason that it accepts the j and k keys for moving
> the cursor down and up?

 ...backward compatibility (probably for Vi maniacs).

    Karel

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

  reply	other threads:[~2014-07-15 11:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-14 15:07 some comments about the new cfdisk Benno Schulenberg
2014-07-14 19:23 ` some more " Benno Schulenberg
2014-07-15 11:18   ` Karel Zak [this message]
2014-07-15 10:59 ` some " Karel Zak
2014-07-16 11:22   ` Benno Schulenberg
2014-07-16 17:40     ` Felix Miata
2014-07-18 10:59     ` Karel Zak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140715111836.GT30288@x2.net.home \
    --to=kzak@redhat.com \
    --cc=bensberg@justemail.net \
    --cc=util-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).