All of lore.kernel.org
 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: cfdisk's input fields behave awkwardly (in utf8 locale)
Date: Mon, 2 Feb 2015 13:11:26 +0100	[thread overview]
Message-ID: <20150202121126.GL16162@ws.net.home> (raw)
In-Reply-To: <1422799326.1853638.221575473.7DCCA1B0@webmail.messagingengine.com>

On Sun, Feb 01, 2015 at 03:02:06PM +0100, Benno Schulenberg wrote:
> To reproduce:  # LC_ALL=en_US.utf8 ./cfdisk
> 
> Anyway, if the cursor keys would not produce weird characters,
> and they can't be made to work normally (that is: to go left and
> right), then the only way to change the suggested value is to use
> the Backspace key.  This is awkward.  The older cfdisk, when it

 "Fixed" .. I just disable some keys (like left, right...).

> prompted for a partition size, would put the cursor at the start
> of the suggested value, and hitting any other key than Enter
> would erase this value. That is nice and desirable behaviour.
> Could that be restored?

 It would be better to implement full one line editor with support for
 all basic keys and with ability to insert and erase chars on
 arbitrary position with in the string... v2.27 :-)

> Also, upon startup the old cfdisk would put the cursor on the
> menu item "Quit", showing the user the most important thing
> right at the start: how to get out.  This is extra useful when
> cfdisk is localized to another language where the word for quit
> doesn't start with a Q.  Could this initial menu-item selection
> be restored?

 Fixed.

> Something quite different: the man page of cfdisk says that it
> is possible to load an sfdisk-compatible script into cfdisk.
> But how?

 "cfdisk --zero" asks for new disk label or for the script.

    Karel


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

  reply	other threads:[~2015-02-02 12:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-01 14:02 cfdisk's input fields behave awkwardly (in utf8 locale) Benno Schulenberg
2015-02-02 12:11 ` Karel Zak [this message]
2015-02-02 12:29   ` Peter Cordes
2015-02-02 12:37     ` Karel Zak
2015-02-02 12:46       ` Ingo Brückl
2015-02-02 12:49       ` Peter Cordes
2015-02-03 15:22       ` Ondrej Oprala
2015-02-02 20:42   ` Benno Schulenberg
2015-02-03 10:22     ` 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=20150202121126.GL16162@ws.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.