emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: M-x shell hides output if given CR


From: Miles Bader
Subject: Re: M-x shell hides output if given CR
Date: Thu, 19 Oct 2006 22:19:53 +0900

Chris Moore <address@hidden> writes:
>> > $ echo -e 'bla\r ' #hides output!
>
> 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).

Yes.

IOW, it's a feature, not a bug.

The way comint does it is not strictly the same as the way a real
terminal does it, so there are occasionally different results, but it's
generally close enough to make such programs display correctly in
comint.

-Miles

-- 
Run away!  Run away!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]