vt100 style keyboard keys on 386ix 2.2 ?

Tan Bronson tan at bronson.microvation.com
Tue Nov 20 03:24:50 AEST 1990


    I've got an application which uses the vt100 keypad running on VMS
that I need to maintain on 386ix using at 84 key PC/AT keyboard. (it's an
old keyboard, I like being able to switch virtual console using one hand
and ALT-F?).
    I'm using curses and have been able to 'portably' get the following
keypad keys: 1,2,3,4,6,7,8,9. Curses maps these to the tokens:
KEY_{END,DOWN,NPAGE,LEFT,RIGHT,HOME,UP,PPAGE}, but I can not figuure out how
I should 'portably' get to: SYSREQ, KP0, KP+, KP-.
    Reading the curses keypad section was not too much help. It looks like
I'll have to define these keys as something they are not (i.e. kdl1 delete line)
in the terminfo file, and then have my application know about these wierd
mappings. This would work for the console, but how do I allow someone to dial
in and use a vt100 compatible terminal without hacking each terminfo they
might use?

    Can someone point me to an application which works around this problem?

    thanks

----
Tan Bronson		tan at Microvation.COM (or tan at bronson.UUCP)
Microvation Consultants (203)-421-5061
20 Sperry Road 		Madison, CT 06443
-- 
Tan Bronson		tan at Microvation.COM (or tan at bronson.UUCP)
Microvation Consultants (203)-421-5061
20 Sperry Road 		Madison, CT 06443



More information about the Comp.unix.sysv386 mailing list