[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: |
Dan Nicolaescu |
Subject: |
Re: address@hidden: ansi-term \e[J causes spurious newline [revised report]] |
Date: |
Wed, 21 Mar 2007 20:22:07 -0700 |
Miles Bader <address@hidden> writes:
> 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?
I am not sure what the question is... :-(
In any case I am not aware of any documentation for the different
escape sequences other than terminfo (or the terminal emulator
actual code, if that counts as documentation).
> [AFAIK, "term.el" tries to emulate a terminal, not merely the subset of
> the terminal as viewed through terminfo.]
I don't think so, term.el does not try to emulate a terminal, it
implements a terminal called "eterm-color" now that happens to have
terminfo strings very similar to xterm, but it never claimed to be an
emulator for any specific terminal. And IMO it shouldn't.
- 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, 2007/03/21
- Re: address@hidden: ansi-term \e[J causes spurious newline [revised report]],
Dan Nicolaescu <=
- 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