[top-posting is evil]

On Sat, Jun 07, 2003 at 06:39:25PM +0300, raptor wrote:
> I'm using gnome-terminal
> 
> home = ^[OH 
> end =  ^[OF
> 
> 
> #env | grep TER
> COLORTERM=gnome-terminal
> TERM=xterm
> 
> Can't check at the moment at console..will post later..

Make sure your /etc/inputrc has these codes:

"\eOH":         beginning-of-line
"\eOF":         end-of-line

In my stock inputrc file it looks like this:

#
# Home and End
#
$if term=xterm
#
# Normal keypad and cursor of xterm
#
"\e[1~":        history-search-backward
"\e[4~":        set-mark
"\e[H":         beginning-of-line
"\e[F":         end-of-line
# Home and End of application keypad and cursor of xterm
"\eOH":         beginning-of-line
"\eOF":         end-of-line
$else

.. etc

which should work for you as long as your TERM is set to xterm.

-- 
"I am the permanent milk monitor of all hobbies!"
 -- Simon Quinlank

--
[EMAIL PROTECTED] mailing list

Reply via email to