[illumos-Developer] Terminfo handling of pg/home/etc keys
Guido Berhoerster
guido+illumos.org at berhoerster.name
Tue Oct 19 10:54:29 PDT 2010
* 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'
--
Guido Berhoerster
More information about the Developer
mailing list