[illumos-Developer] Terminfo handling of pg/home/etc keys

Miika Vesti miika+illumos at vesti.fi
Tue Oct 19 11:05:42 PDT 2010


19.10.2010 20:54, Guido Berhoerster kirjoitti:
> * Joerg Schilling <Joerg.Schilling at fokus.fraunhofer.de> [2010-10-19 18:48]:
>> Anil Gulecha <anil.verve at gmail.com> wrote:
>>
>>> Hi All,
>>>
>>> I'd like to take up integrating
>>> https://defect.opensolaris.org/bz/show_bug.cgi?id=5574
>>>
>>> With the patch
>>> https://defect.opensolaris.org/bz/attachment.cgi?id=1258&action=edit
>>
>> What keys do you understand by khome and kend?
>>
>> If you are talking about the keys labelled "pos1" and "end" above the cursor 
>> keys from a PC keyboard, they create \EOH and \EOF if I call gnome terminal
>> or xterm on my machine.
> 
> You'll only find "Pos1" on German keyboards, it's "Home" on my
> 101 US PC keykboard.
> They also generate \E[H and \E[F in my xterm, verified via
> ksh93 -c 'set -o gmacs;function sc { printf "|%q|\n" "${.sh.edchar}";.sh.edchar=;};trap sc KEYBD;read -r c'
> 

On my keyboard, output of this command after pressing Home and End keys
is \EOF and \EOH

On my Linux systems, these are also the values I get from infocmp.

I have Finnish keyboard which is somewhat similar to German one.



More information about the Developer mailing list