home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.xenix.sco
- Path: sparky!uunet!decwrl!pa.dec.com!dynamix!david@uu3.psi.com
- From: david@dynamix.com (David L Jarvis)
- Subject: ansi sequence for reprogramming keys
- Organization: SOFTWARE / DYNAMIX
- Message-ID: <9208151011.AA11133@dynamix.com>
- Date: Sat, 15 Aug 92 10:11:29 EDT
- X-Received: by usenet.pa.dec.com; id AA14743; Sat, 15 Aug 92 14:27:11 -0700
- X-Received: by inet-gw-2.pa.dec.com; id AA29026; Sat, 15 Aug 92 14:27:09 -0700
- X-Received: from dynamix.UUCP by uu3.psi.com (5.65b/4.0.071791-PSI/PSINet)id AA28060; Sat, 15 Aug 92 17:26:57 -0400
- X-Received: by dynamix.com (smail2.5c)id AA11137; 15 Aug 92 10:11:29 EDT (Sat)
- X-To: comp.unix.xenix.sco.usenet (comp.unix.xenix.sco)
- X-Mailer: ELM [version 2.3 PL11]
- Lines: 26
-
- System: SCO Xenix 2.3.4
-
- The 'setkey' utility allows you to reprogram function keys on the console.
- Unfortunately it only works on the console and not on other ansi terminals.
- The manpage for setkey indicates that it emits the proper ansi escape
- sequence to reprogram the key indicated to the value given. The SCREEN(HW)
- manpage describes a function for reprogramming keys, ESCQFn'value', where n
- is a numeric starting at 0 for F1. The first thing I notice is that the
- other ansi functions documented in SCREEN(HW) have CSI instead of ESC,
- where CSI is an ESC[ (or ^[[). I tried, via echo in a shell script, to
- reprogram a function key manually instead of using setkey, and could not
- get it to work right. Why do I want to do this? So I can reprogram the
- function keys on MS-DOG workstations using Digiboards DOUBLEview terminal
- emulation program. Is anyone out there familiar with the version of the
- ansi driver specifications the SCO is using in 2.3.4? (which I believe is
- the same as the SCO Unix 3.2.4 console driver) Can anyone give me an idea
- how to reprogram function keys on ansi terminals? (yes, I'm aware of the
- alternative of using a TSR on the MS-DOG side, but I'd like to stay as far
- away from dos software as I can ;-) if I start supporting it the client
- base might start demanding it ;-))) )
-
-
- #----------------------------------------------------------------------#
- # David L. Jarvis SOFTWARE / #
- # david@dynamix.com / DYNAMIX #
- #----------------------------------------------------------------------#
-