> 
> 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 readline thinks the cursor is.  If you
want to use a prompt, use `read -p'.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer

Chet Ramey, ITS, CWRU    c...@case.edu    http://tiswww.tis.case.edu/~chet/


Reply via email to