> When using 'echo -n' or printf without a final \n, and then using 
> the Up and Down keys to walk through previous commands, bash can 
> get confused about its cursor position (or rather its prompt 
> position) and either leave some stray text in the middle of the 
> line, or overwrite part of its prompt.

This is to be expected.  When bash/readline's assumption that it is
starting in column 0 is violated, you get strange results.

Chet

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

Chet Ramey, ITS, CWRU    [EMAIL PROTECTED]    http://tiswww.tis.case.edu/~chet/


Reply via email to