From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: ooprala@redhat.com Message-ID: <54D0E7AF.7010601@redhat.com> Date: Tue, 03 Feb 2015 16:22:23 +0100 From: Ondrej Oprala MIME-Version: 1.0 To: Karel Zak , Peter Cordes CC: Benno Schulenberg , Util-Linux Subject: Re: cfdisk's input fields behave awkwardly (in utf8 locale) References: <1422799326.1853638.221575473.7DCCA1B0@webmail.messagingengine.com> <20150202121126.GL16162@ws.net.home> <20150202122923.GA3933@cordes.ca> <20150202123736.GN16162@ws.net.home> In-Reply-To: <20150202123736.GN16162@ws.net.home> Content-Type: text/plain; charset=windows-1252; format=flowed List-ID: On 02/02/2015 01:37 PM, Karel Zak wrote: > 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 > Working on it, got {s,}fdisk already readline-d Cheers, Ondrej