[Top][All Lists]

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

Re: alt-arrow keys

From: Thomas Dickey
Subject: Re: alt-arrow keys
Date: Sat, 15 Jul 2006 10:26:04 -0400 (EDT)

On Fri, 14 Jul 2006, Pierre Abbat wrote:

On Thursday 13 July 2006 08:25, Thomas Dickey wrote:
infocmp -x xterm

would show the extended capabilities for xterm, if any.

The codes for the unshifted arrow keys appear to be kcub1, kcud1, kcuf1, and
kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
What are the codes for the shifted arrow keys?

They're listed in the terminfo manpage (kLFT, kRIT are easy, and for the others I'm using kNXT and kPRV). xterm can do more than that, so I've also added in its terminfo things like kDN6, etc., which refer to the combination of modifiers used (control+shift).

Thomas E. Dickey

reply via email to

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