Re: read -e bug

2009-05-28 Thread Chet Ramey
Chris F.A. Johnson wrote: > On Thu, 28 May 2009, Chet Ramey wrote: > >>> This is nothing new; it happens in all versions of bash: >>> >>> printf "Enter something: " >>> read -e whatever >>> >>> Press a key, then cursor left (or ^A); the cursor moves to the >>> beginning of the line, over "E" inste

Re: read -e bug

2009-05-28 Thread Chris F.A. Johnson
On Thu, 28 May 2009, Pierre Gaston wrote: > On Thu, May 28, 2009 at 3:52 PM, Chris F.A. Johnson > wrote: > > On Thu, 28 May 2009, Chet Ramey wrote: > > > >> > > >> > This is nothing new; it happens in all versions of bash: > >> > > >> > printf "Enter something: " > >> > read -e whatever > >> > >

Re: read -e bug

2009-05-28 Thread Pierre Gaston
On Thu, May 28, 2009 at 3:52 PM, Chris F.A. Johnson wrote: > On Thu, 28 May 2009, Chet Ramey wrote: > >> > >> > This is nothing new; it happens in all versions of bash: >> > >> > printf "Enter something: " >> > read -e whatever >> > >> > Press a key, then cursor left (or ^A); the cursor moves to t

Re: read -e bug

2009-05-28 Thread Chris F.A. Johnson
On Thu, 28 May 2009, Chet Ramey wrote: > > > > This is nothing new; it happens in all versions of bash: > > > > printf "Enter something: " > > read -e whatever > > > > Press a key, then cursor left (or ^A); the cursor moves to the > > beginning of the line, over "E" instead of over the characte

Re: read -e bug

2009-05-28 Thread Chet Ramey
> > This is nothing new; it happens in all versions of bash: > > printf "Enter something: " > read -e whatever > > Press a key, then cursor left (or ^A); the cursor moves to the > beginning of the line, over "E" instead of over the character just > entered. This isn't a bug; that's where readli

read -e bug

2009-05-27 Thread Chris F.A. Johnson
This is nothing new; it happens in all versions of bash: printf "Enter something: " read -e whatever Press a key, then cursor left (or ^A); the cursor moves to the beginning of the line, over "E" instead of over the character just entered. -- Chris F.A. Johnson, webmaster