util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Karel Zak <kzak@redhat.com>
To: Peter Cordes <peter@cordes.ca>
Cc: Benno Schulenberg <bensberg@justemail.net>,
	Util-Linux <util-linux@vger.kernel.org>
Subject: Re: cfdisk's input fields behave awkwardly (in utf8 locale)
Date: Mon, 2 Feb 2015 13:37:36 +0100	[thread overview]
Message-ID: <20150202123736.GN16162@ws.net.home> (raw)
In-Reply-To: <20150202122923.GA3933@cordes.ca>

On Mon, Feb 02, 2015 at 08:29:23AM -0400, Peter Cordes wrote:
> On Mon, Feb 02, 2015 at 01:11:26PM +0100, Karel Zak wrote:
> > On Sun, Feb 01, 2015 at 03:02:06PM +0100, Benno Schulenberg wrote:
> > > [...cfdisk...]
> > > 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 :-)
> 
>  Maybe link with GNU readline, to avoid reinventing the wheel.

yep, and maybe for all fdisks, but it would be probably nice to have
it optional (--with-readline), and without readline keep it simple and
stupid.

    Karel

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

  reply	other threads:[~2015-02-02 12:37 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
2015-02-02 12:29   ` Peter Cordes
2015-02-02 12:37     ` Karel Zak [this message]
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=20150202123736.GN16162@ws.net.home \
    --to=kzak@redhat.com \
    --cc=bensberg@justemail.net \
    --cc=peter@cordes.ca \
    --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).