Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Re: terminfo and re-mapping keys
       [not found] <s0k9mqtlr0191@corp.supernews.com>
@ 1999-10-21  4:00 ` T.E.Dickey
  1999-10-28  4:00 ` Jim Comstock
  1 sibling, 0 replies; 2+ messages in thread
From: T.E.Dickey @ 1999-10-21  4:00 UTC (permalink / raw)


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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: terminfo and re-mapping keys
       [not found] <s0k9mqtlr0191@corp.supernews.com>
  1999-10-21  4:00 ` terminfo and re-mapping keys T.E.Dickey
@ 1999-10-28  4:00 ` Jim Comstock
  1 sibling, 0 replies; 2+ messages in thread
From: Jim Comstock @ 1999-10-28  4:00 UTC (permalink / raw)


    Thanks for the help.  I found the underlying problem.

    VMS doesn't care about 7- or 8-bit terminals.  It's terminal driver
(ttdriver) 'autosizes' the incoming data bits.  Unix, on the other hand,
doesn't.   ProComm Plus was set to 8-bin and Unix was expecting 7-bin.  Reset
the client and everything's ok.

jim c.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-10-28  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <s0k9mqtlr0191@corp.supernews.com>
1999-10-21  4:00 ` terminfo and re-mapping keys T.E.Dickey
1999-10-28  4:00 ` Jim Comstock

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