screen-devel
[Top][All Lists]
Advanced

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

[screen-devel] need help w/ keyboard termcap names


From: mrbrown8
Subject: [screen-devel] need help w/ keyboard termcap names
Date: Wed, 21 Apr 2010 19:16:21 -0600


I'm working on documentation for 'bind -k' and I've created some examples
to help show its usage. But the examples I created aren't working as I
expect them to. Here are two of the examples I created:

   bind -k kh focus top
   bind -k kH focus bottom

My intention is to bind the Home key to change the focus to the top-most
region and the End key to the bottom-most region. This way I would just
have to type "C-a home" or "C-a end" to get to either extreme region. I
got the kh and kH values from the INPUT TRANSLATION section in the
manual(s).

The problem I'm having is that one of these examples works but the other
doesn't. The one that isn't working for me is "bind -k kH focus bottom".
Using it, there's no action when I type "C-a end". I tried looking in
Stallman's Termcap Manual, but in it, kH is for the "home down" key. The
kh is defined for the "home position" key, but I didn't see anything
resembling an End key. I looked around screen's source code, and I found
in patchlevel.h that @1 and @7 were added as replacements for kh and kH.
So I tried using "bind -k @7 focus bottom" and THAT seemed to work.

The enviroment I'm working in is a Debian v5 ("Lenny") x86 PC using
v2.6.26 Linux kernel. The terminal I'm using is called GNOME Terminal.

So I'm confused as to why @7 would work and kH wouldn't. Is kH the
correct name in the manual? Thanks in advance for the explanations.

-- 
Curtis Brown
address@hidden

____________________________________________________________
Penny Stock Jumping 2000%
Sign up to the #1 voted penny stock newsletter for free today!
http://thirdpartyoffers.juno.com/TGL3141/4bcfa376a45025666m03vuc




reply via email to

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