Re: Home/End keys do not work
On 2005-03-22 16:49:13 +0300, George Chelidze wrote:
> I have recently installed Debian Woody on my workstation. I have a
> couple of RedHat 7.3 boxes. I run gnome, gnome-terminal and ssh into one
> of redhat boxes without a problem. Then I run mc (Midnight Commander)
> and edit a file with F4. If I press Home key, "H" is inserted before the
> cursor instead of placing it at the beggining of the line. If I press
> End key, "F" is inserted. Everything works fine when I ssh to another
> debian box. Everything works fine when I ssh from my box to any other
> box without using X (in text mode). Any ideas?
How about other applications (less, emacs, etc.)?
How about other terminals (e.g. xterm)?
Depending on the terminal, terminfo ($TERM), and the configuration
of the terminal, there are several possible escape sequences for
the Home and End keys.
BTW, Emacs has a problem with the End key with xterm-vt220:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=173983
--
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
Reply to: