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@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html