*BSD News Article 19068


Return to BSD News archive

From: reink@hpuamsa.neth.hp.com (Reinier Kleipool)
Date: Thu, 29 Jul 1993 20:12:20 GMT
Subject: Termcap entry with arrows.
Message-ID: <52580003@hpuamsa.neth.hp.com>
Organization: HP-Sales Office-The Netherlands
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!usc!sdd.hp.com!hpscit.sc.hp.com!hplextra!hpcc05!hpbbn!hpuamsa!reink
Newsgroups: comp.os.386bsd.development
Lines: 21

Here a new termcap entry to get the arrowkey, PgUp, PgDn, Home,
and End key working in vi (elvis).


pc4|ibmpc4|IBM PC 386BSD Console:\
	:li#25:co#80:am:bs:bw:eo:\
	:cd=\E[J:ce=\E[K:cl=\Ec:cm=\E[%i%2;%2H:do=\E[B:ho=\E[;H:\
	:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:kN=\E[G:kP=\E[I:\
	:kh=\E[H:kD=:kH=\E[F:kI=\E[L:\
	:nd=\E[C:up=\E[A:so=\E[7m:se=\E[0m:us=\E[4m:ue=\E[0m:


  /\
-(  )-/##---------------------------------------------------------------------
  }{/   ##    How does one call    -- Overschie ------------------------------
.====.        a blonde girl with   -- Reinier Kleipool  ----------------------
| [] |        dyed hair?           -- Mail -----------------------------------
|    |                             -- X400: C=nl A=400net P=hp O=hp S=Kleipool
|    |                             -- desk: Reinier Kleipool/ hpitcb/75     --
| [] |  Artificial Intelligence    -- unix: reink@hpuamsa.neth.hp.com       --
------------------------------------------------------------------------------