All of lore.kernel.org
 help / color / mirror / Atom feed
* cfdisk's input fields behave awkwardly (in utf8 locale)
@ 2015-02-01 14:02 Benno Schulenberg
  2015-02-02 12:11 ` Karel Zak
  0 siblings, 1 reply; 9+ messages in thread
From: Benno Schulenberg @ 2015-02-01 14:02 UTC (permalink / raw)
  To: Util-Linux


Hi,

In the current cfdisk, when making a new partition in a free space,
the program prompts for the partition size, with a suggested value
already filled in and the cursor sitting at the end of that value.

If one tries to use the cursor-left key to edit the value, in a utf8
locale this produces the character Ą instead of a bell.  (The same
happens when cfdisk asks for the name of a script file.)

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
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?


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?


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


Benno

-- 
http://www.fastmail.com - Accessible with your email software
                          or over the web


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-02-03 15:22 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-01 14:02 cfdisk's input fields behave awkwardly (in utf8 locale) Benno Schulenberg
2015-02-02 12:11 ` Karel Zak
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

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.