-
Keymap Issue
We use wyse terminals at the office but now we have a device that only
supports VT220. An application we use uses the Fkeys but they don't work on
the VT220 device. I can reprogram the keys but don't know what value to
use. The VT220 device allows the key to be reprogrammed in octal values so
I need to know the Fkey values in octal.
Chuck
-
Re: Keymap Issue
Chuck Smith <smith.chuck48@yahoo.com> wrote:[color=blue]
> We use wyse terminals at the office but now we have a device that only
> supports VT220.[/color]
You can configure the system for VT220 terminals using:
TERM=vt220
export TERM
Your terminal should then operate properly.
Mark.
--
Mark Hobley,
393 Quinton Road West,
Quinton, BIRMINGHAM.
B32 1QE.
-
Re: Keymap Issue
Thanks Mark - I think I still need to edit the key value in my terminal
program. If I enter "set" the TERM is TERM=vt220 already. When I run the
application it uses F1 to exit and it does not work. I can navigate through
the application as long as I don't have to use the Fkeys. Unfortunatly I
can't exit the app since you must eventually F1...
"Mark Hobley" <markhobley@hotpop.donottypethisbit.com> wrote in message
news:i4qrq5-6m1.ln1@neptune.markhobley.yi.org...[color=blue]
> Chuck Smith <smith.chuck48@yahoo.com> wrote:[color=green]
>> We use wyse terminals at the office but now we have a device that only
>> supports VT220.[/color]
>
> You can configure the system for VT220 terminals using:
>
> TERM=vt220
> export TERM
>
> Your terminal should then operate properly.
>
> Mark.
>
> --
> Mark Hobley,
> 393 Quinton Road West,
> Quinton, BIRMINGHAM.
> B32 1QE.[/color]
-
Re: Keymap Issue
Chuck writes:[color=blue]
> I think I still need to edit the key value in my terminal program. If I
> enter "set" the TERM is TERM=vt220 already. When I run the application
> it uses F1 to exit and it does not work.[/color]
Sounds like some idiot hard-coded the Wyse keys into his application
instead of using the curses library or least using terminfo directly. This
was, unfortunately, common. I no longer remember the Wyse codes and don't
have any references on hand, but you may be able to dig what you need out
of the terminfo data base. You can either try to find the source or use
the infocmp command to reconstruct it. On my Debian system
'infocmp -B /usr/share/terminfo/w/ -L wyse60' does the job.
'man 5 termcap' for the format.
--
John Hasler
[email]john@dhh.gt.org[/email]
Dancing Horse Hill
Elmwood, WI USA