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

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

cursor_up capability not working in term.el


From: Dan Nicolaescu
Subject: cursor_up capability not working in term.el
Date: Wed, 15 Sep 2004 10:26:34 -0700

The cursor_up capability ("cuu1" for terminfo or "up" for termcap)
does not work correctly for term.el

Executing "tput cuu1" in M-x term should put the point before "tput" 
after the command is executed. 
(assuming "PROMPT: " is the shell prompt)

In an xterm this is displayed: 

PROMPT: tput cuu1
        ^
        the prompt is here after the command is executed

in M-x term

PROMPT: tput cuu1
PROMPT: 
        ^ 
        the prompt is here after the command is executed

This capability if important for applications like lynx, which does
not work correctly when trying to render complex websites (try for
example www.emacswiki.org).

term-handle-ansi-escape has code to deal with "cursor up", but it does
not work correctly (as shown above). I have tried to fix this, but I
couldn't. It would be great if someone could take a look at this. 

Thanks.
                --dan




reply via email to

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