[Top][All Lists]

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

Re: address@hidden: ansi-term \e[J causes spurious newline [revised repo

From: Chong Yidong
Subject: Re: address@hidden: ansi-term \e[J causes spurious newline [revised report]]
Date: Wed, 21 Mar 2007 15:16:38 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.96 (gnu/linux)

Dan Nicolaescu <address@hidden> writes:

>   > > echo -e 'hello\e[Jworld'
>   > >
>   > > On a vt100/ansi/ecma compatible terminal, this should leave
>   > > "helloworld" visible on the screen, with everything afterward cleared.
>   > > On GNU emacs' ansi-term, it prints hello on one line and world on the
>   > > next, after clearing to the end of the screen.
> In general tests using "echo" are not good enough, the correct way to
> do it is to use "tput", there are some subtleties involved...

On the other hand, using "echo" in ansi-term does produce a different
result from doing it in xterm.  Isn't that divergent behavior?

reply via email to

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