Subject: Re: xterm & termcap
To: NetBSD netbsd-help mailing list <netbsd-help@netbsd.org>
From: Julian Coleman <jdc@coris.demon.co.uk>
List: netbsd-help
Date: 12/10/2001 10:14:43
> On HPUX 10.20, xterm emits "normal mode" escape sequences regardless of
> whether "application mode" keypad and cursor keys are set.  HPUX's
> /etc/termcap reflects this.  Slackware 8.0's /etc/termcap is the same.
> Sure enough, when I log into my NetBSD system from an HPUX 10.20 xterm,
> the cursor keys do not work in vi.

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?

J

-- 
                    My other computer also runs NetBSD
                          http://www.netbsd.org/