emacs-devel
[Top][All Lists]
Advanced

[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: Dan Nicolaescu
Subject: Re: address@hidden: ansi-term \e[J causes spurious newline [revised report]]
Date: Wed, 21 Mar 2007 13:16:50 -0700

Chong Yidong <address@hidden> writes:

  > 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?

It different behavior for undefined behavior, so it's fine. 




reply via email to

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