Subject: re: xterm & termcap
To: None <netbsd-help@netbsd.org, jdc@coris.demon.co.uk>
From: None <collver@softhome.net>
List: netbsd-help
Date: 12/11/2001 11:28:16
> Hmm, strange.  The only HP-UX box I have access to says :
>
>         $ uname -rs
>         HP-UX B.11.00
>         $ infocmp -C | grep "k[a-z]="
>                 :k3=\EOR:k4=\EOS:kb=^?:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
>                 :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:nd=\E[C:\
>
> This is the same sequence that other OS's use - "ks" and "ke" to set/end
> application mode and the keys sending sequences starting with <esc>O.
> What do HPUX 10.20 and Slackware 8.0 have for the 'ks' and 'ke' sequences?


HPUX 10.20: infocmp -C xterm | grep "k[a-z]="
        :k3=\EOR:k4=\EOS:kb=^?:kd=\E[B:ke=\E[?1h\E=:kl=\E[D:\
        :kr=\E[C:ks=\E[?1l\E>:ku=\E[A:nd=\E[C:\
        :nl=\E[B:ko=do,nd,up:

Slackware 8.0: infocmp -C xterm | grep "k[a-z]="
        :kb=\177:kd=\EOB:ke=\E[?1l\E>:kh=\EOH:kl=\EOD:kr=\EOC:\
        :ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:\

However, Slackware's /etc/termcap xterm entry:
	ke=:ks=:ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:

Ben