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

Re: HOME and END keys



On Thu, Oct 16, 2003 at 08:14:13PM -0500, Rob Benton wrote:
> I'm looking for a way to get my HOME and END keys working inside an
> xterm.  They work fine from a text tty.  The only thing I could think of
> is to use xmodmap to map them to Ctrl-a and Ctrl-e.  Any other way to do
> this?

Any number of them.  Mess with your inputrc, mess with xterm's
app-defaults, recompile it, etc, etc.

Personally, I define this:

! make home and end behave the RIGHT way 
XTerm*VT100.Translations: #override ~Shift ~Ctrl ~Meta <Key>Home: string("\033OH")\n\
				    ~Shift ~Ctrl ~Meta <Key>End: string("\033OF")

Ain't using a PC keyboard to emulate a VT220 *fun*?

> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

-- 
 Marc Wilson |     The most important early product on the way to
 msw@cox.net |     developing a good product is an imperfect version.



Reply to: