home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / os2 / programm / 6516 < prev    next >
Encoding:
Text File  |  1992-11-17  |  1.5 KB  |  36 lines

  1. Newsgroups: comp.os.os2.programmer
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!iggy.GW.Vitalink.COM!cs.widener.edu!eff!sol.ctr.columbia.edu!usc!rpi!news.ans.net!newsgate.watson.ibm.com!yktnews!admin!news
  3. From: margoli@watson.ibm.com (Larry Margolis)
  4. Subject: Re: redefining national language keys in EPM
  5. Sender: news@watson.ibm.com (NNTP News Poster)
  6. Message-ID: <1992Nov18.025853.124215@watson.ibm.com>
  7. Date: Wed, 18 Nov 1992 02:58:53 GMT
  8. Distribution: comp
  9. News-Software: IBM OS/2 PM RN (NR/2) v0.14l by O. Vishnepolsky and R. Rogers
  10. Lines: 19
  11. Reply-To: margoli@watson.IBM.com
  12. Disclaimer: This posting represents the poster's views, not necessarily those of IBM
  13. References: <HWB.92Nov13181321@machnix.mathematik.uni-stuttgart.de>
  14. Nntp-Posting-Host: margoli.watson.ibm.com
  15. Organization: IBM T.J. Watson Research Center
  16.  
  17. In <HWB.92Nov13181321@machnix.mathematik.uni-stuttgart.de> hwb@machnix.mathematik.uni-stuttgart.de (Harald Boegeholz) writes:
  18. >
  19. >The EPM Technical Reference states that I can redefine "any printable
  20. >character whose ASCII value is between 0 and 255". So how do I
  21. >redefine the a-Umlaut key (ASCII 132), which is definitely printable
  22. >and between 0 and 255?
  23.  
  24. I'll have to check to see exactly what can be defined, but it's not
  25. all of them.  You can, however, define it as an accelerator.  Try this:
  26.  
  27. include 'stdconst.e'
  28.  
  29. defc try =
  30.    universal activeaccel
  31.    buildacceltable activeaccel, 'sayerror a_Umlaut', AF_CHAR, 132, 12345
  32.    activateacceltable  activeaccel
  33.  
  34. --
  35. Larry Margolis, MARGOLI@YKTVMV (Bitnet), margoli@watson.IBM.com (Internet)
  36.