home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / os2 / apps / 8569 < prev    next >
Encoding:
Internet Message Format  |  1992-11-23  |  2.2 KB

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!swrinde!elroy.jpl.nasa.gov!ames!sun-barr!news2me.EBay.Sun.COM!cronkite.Central.Sun.COM!texsun!digi!kgallagh
  2. From: kgallagh@digi.lonestar.org (Kevin Gallagher)
  3. Newsgroups: comp.os.os2.apps
  4. Subject: OS/2 and ANSI support
  5. Message-ID: <1992Nov23.165912.3774@digi.lonestar.org>
  6. Date: 23 Nov 92 16:59:12 GMT
  7. Organization: DSC Communications Corp, Plano, TX
  8. Lines: 34
  9.  
  10. I have a DOS application I wish to port to OS/2.  The user interface to this
  11. application is designed to use the so-called extended keys (between the keypad
  12. and main keyboard) DIFFERENTLY from those with the same names on the PC
  13. keypad.  Under DOS, if I load ANSI.SYS with the /X option, I can use the
  14. appropriate ANSI commands and instruct ANSI.SYS to generate DIFFERENT ascii
  15. characters with the extended keys from those generated by the keypad keys
  16. (with NumLock off).  The documentation for ANSI.SYS in an OS/2 DOS emulation
  17. session also talks of supporting the /X option, though very briefly.
  18.  
  19. The OS/2 native ANSI command documentation makes no mention of the extended
  20. keys, though it does mention that with ANSI set to ON, one can redefine keys
  21. (it is up to the user to figure out how, however).
  22.  
  23. In an OS/2 full screen or window, I am able to rebind all the regular keys
  24. with the same ANSI comands that work under native DOS, BUT I am NOT able to
  25. rebind the extended keys with the specific sequences that work under native
  26. DOS.
  27.  
  28. It is interesting to note that the OS/2 user documention on ANSI support under
  29. native OS/2 is essentially non-existent.  Indeed, most of the OS/2 Command
  30. Reference command descriptions are very brief and, in general, very poorly
  31. done.  Although there are a lot of good things about OS/2, the OS/2 user
  32. documentation is NOT one of them!
  33.  
  34. I checked the red books and they are no help when it comes to ANSI.
  35.  
  36. Does anyone know if it is possible to redefine the extended keys under OS/2
  37. when ANSI is set to ON?  If so, how is it done?
  38.  
  39. -- 
  40. ----------------------------------------------------------------------------
  41. Kevin Gallagher        kgallagh@digi.lonestar.org OR ...!uunet!digi!kgallagh
  42. DSC Communications Corporation   Addr: MS 152, 1000 Coit Rd, Plano, TX 75075
  43. ----------------------------------------------------------------------------
  44.