home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / xenix / sco / 2687 < prev    next >
Encoding:
Text File  |  1992-08-15  |  2.3 KB  |  42 lines

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