Keymap Issue - Setup

This is a discussion on Keymap Issue - Setup ; 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 ...

+ Reply to Thread
Results 1 to 4 of 4

Thread: Keymap Issue

  1. 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


  2. Re: Keymap Issue

    Chuck Smith wrote:
    > We use wyse terminals at the office but now we have a device that only
    > supports VT220.


    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.

  3. 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" wrote in message
    news:i4qrq5-6m1.ln1@neptune.markhobley.yi.org...
    > Chuck Smith wrote:
    >> We use wyse terminals at the office but now we have a device that only
    >> supports VT220.

    >
    > 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.



  4. Re: Keymap Issue

    Chuck writes:
    > 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.


    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
    john@dhh.gt.org
    Dancing Horse Hill
    Elmwood, WI USA

+ Reply to Thread