From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,f05e2d94ad2495ad,start X-Google-Attributes: gidfee84,public From: "T.E.Dickey" Subject: Re: terminfo and re-mapping keys Date: 1999/10/21 Message-ID: #1/1 X-Deja-AN: 538801964 References: X-Complaints-To: abuse@verio.net X-Trace: dfw-read.news.verio.net 940505057 168.143.0.8 (Thu, 21 Oct 1999 11:24:17 GMT) Organization: Clark Internet Services, Inc., Ellicott City, MD USA User-Agent: tin/pre-1.4-19990927 ("Nine While Nine") (UNIX) (SunOS/5.6 (sun4u)) NNTP-Posting-Date: Thu, 21 Oct 1999 11:24:17 GMT Newsgroups: comp.unix.osf.osf1 jim comstock 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: > [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