Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: "T.E.Dickey" <dickey@shell.clark.net>
Subject: Re: terminfo and re-mapping keys
Date: 1999/10/21	[thread overview]
Message-ID: <BJCP3.54$pp1.523@dfw-read.news.verio.net> (raw)
In-Reply-To: s0k9mqtlr0191@corp.supernews.com

jim comstock <jimc@gw.total-web.net> wrote:
>     The problem is the codes that I need to map to.  (We're emulating a
> vt220 with a custom keymap file).
>     For example, the grey up-arrow key.  A real vt220 has the following
> sequence for an up arrow:
>     <esc>[A  or decimal 027 091 065
>     ProComm Plus sends the following decimal sequence:
>     155 065
>     Here's what I've tried:
>     First, I edited the dec.ti file in /usr/lib/terminfo and modified the
> cuu1 entry for the vt200-am (which is refrenced by the vt220 entry) to be:
>     \155A
>     This didn't work.

so what does untic/infocmp (I don't recall which osf1 has) show once you
have compiled the entry with tic?

(modifying a standard entry is not really a good idea -- if you're able
to set $TERM automatically to another value it'll be less confusing)

-- 
Thomas E. Dickey
dickey@clark.net
http://www.clark.net/pub/dickey



       reply	other threads:[~1999-10-21  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <s0k9mqtlr0191@corp.supernews.com>
1999-10-21  4:00 ` T.E.Dickey [this message]
1999-10-28  4:00 ` terminfo and re-mapping keys Jim Comstock
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox