[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: |
Miles Bader |
Subject: |
Re: address@hidden: ansi-term \e[J causes spurious newline [revised report]] |
Date: |
Thu, 22 Mar 2007 11:36:43 +0900 |
Dan Nicolaescu <address@hidden> writes:
> \e[J is the terminfo "ed" string, the terminfo manual says:
>
> Ed is only defined from the first column of a line. (Thus, it
> can be simulated by a request to delete a large number of
> lines, if a true ed is not available.)
...
> > 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.
Is it the escape sequence "\e[J" actually undefined on a real terminal
in that case, or is merely the more abstract "ed" terminfo capability
which is undefined in that case?
[AFAIK, "term.el" tries to emulate a terminal, not merely the subset of
the terminal as viewed through terminfo.]
-Miles
--
Americans are broad-minded people. They'll accept the fact that a person can
be an alcoholic, a dope fiend, a wife beater, and even a newspaperman, but if a
man doesn't drive, there is something wrong with him. -- Art Buchwald
- address@hidden: ansi-term \e[J causes spurious newline [revised report]], Richard Stallman, 2007/03/19
- Re: address@hidden: ansi-term \e[J causes spurious newline [revised report]], Chong Yidong, 2007/03/21
- Re: address@hidden: ansi-term \e[J causes spurious newline [revised report]], Dan Nicolaescu, 2007/03/21
- Re: address@hidden: ansi-term \e[J causes spurious newline [revised report]], Chong Yidong, 2007/03/21
- Re: address@hidden: ansi-term \e[J causes spurious newline [revised report]], Dan Nicolaescu, 2007/03/21
- Re: address@hidden: ansi-term \e[J causes spurious newline [revised report]],
Miles Bader <=
- Re: address@hidden: ansi-term \e[J causes spurious newline [revised report]], Dan Nicolaescu, 2007/03/21
- Re: address@hidden: ansi-term \e[J causes spurious newline [revised report]], Miles Bader, 2007/03/21
- Re: address@hidden: ansi-term \e[J causes spurious newline [revised report]], Dan Nicolaescu, 2007/03/22
- Re: address@hidden: ansi-term \e[J causes spurious newline [revised report]], Miles Bader, 2007/03/22
- Re: address@hidden: ansi-term \e[J causes spurious newline [revised report]], Kim F. Storm, 2007/03/22
- Re: address@hidden: ansi-term \e[J causes spurious newline [revised report]], Dan Nicolaescu, 2007/03/22
- Re: address@hidden: ansi-term \e[J causes spurious newline [revised report]], Kim F. Storm, 2007/03/22
Re: address@hidden: ansi-term \e[J causes spurious newline [revised report]], Richard Stallman, 2007/03/22