On Thu, 2006-10-19 at 10:46 +0200, Kim F. Storm wrote:
> 
> Dan Jacobson <[EMAIL PROTECTED]> writes:
> > Gentlemen, don't let M-x shell hide the facts,
> > $ LC_ALL=C LANG=C LC_CTYPE=C emacs -Q
> > M-x shell
> > $ echo -e 'bla\r ' #hides output!
> 
> What is the value of selective-display in the M-x shell buffer?

I think what's going on here is that when Emacs sees a carriage return
character, it moves the cursor back to the beginning of the line without
moving down a line.

Lots of programs rely on this behaviour to get 'animated' displays (see
wget, apt-get, etc).

For example, run the following to see an 'animated' time display on a
single line:

  while :; do date | tr \\012 \\015; sleep 1; done

Chris.



_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to