home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / pascal / 7516 < prev    next >
Encoding:
Internet Message Format  |  1992-12-16  |  2.2 KB

  1. Path: sparky!uunet!elroy.jpl.nasa.gov!ames!saimiri.primate.wisc.edu!relay!relay2!afterlife!adm!news
  2. From: 374ossdow@yokota-emh.af.mil (374 OSS/DOW)
  3. Newsgroups: comp.lang.pascal
  4. Subject: RE: Keyboard Routine
  5. Message-ID: <34698@adm.brl.mil>
  6. Date: 16 Dec 92 06:02:28 GMT
  7. Sender: news@adm.brl.mil
  8. Lines: 42
  9.  
  10.  
  11.                    I N T E R O F F I C E   M E M O R A N D U M
  12.  
  13.                                         Date:      16-Dec-1992 03:01pm JST
  14.                                         From:      Maj Waters 
  15.                                                    374OSSDOW 
  16.                                         Dept:      
  17.                                         Tel No:    225-8417
  18.  
  19. TO:  Remote Addressee                     ( _INFO-PASCAL@BRL.MIL )
  20.  
  21.  
  22. Subject: RE: Keyboard Routine
  23.  
  24. All,
  25.    Thanks for the responses on switching the keys.  I've been trying to
  26. use the ansi routine but forgot how to 'invoke' the commands.  I know it's
  27. an escape sequence and all and that you add ansi.sys to config.sys, etc.,
  28. but I can't remember exactly how to run one of the commands.  Of course,
  29. my DOS 4.0 manual lists the commands but says NOTHING about how to call
  30. the commands.  For example, to change keys "ESC[code1;code2pESC[code2;code1"
  31. Well, okay.....but what do I DO with that?!?  I tried COPYing to a file
  32. or to CON, executing it (knew that wouldn't work!), and TYPEing the sequence
  33. and nothing works.  Even after I figure this out I have a feeling it will
  34. not work since so many programs take over keyboard control (dumping kbd
  35. buffer, etc.).
  36.    Yes, I KNOW this doesn't have a lot to do with Pascal.....:-), so I
  37. won't waste any more bandwidth on this here.  It does appear though, that
  38. I will need to write an ISR and hope that no application programs will
  39. throw it out.
  40.    If anyone has more ideas or suggestions, I would be happy to have email
  41. on this subject.  Thanks for the help and support!
  42.     Ken (pls send email to 374ossdow@yokota-emh.af.mil)
  43. ---------------------
  44. Ken Waters    USAF, Maj, Staff Weather Officer, Yokota AB, Japan (Fussa-shi)
  45. Internet:  DET15WX@osan-emh.af.mil     or  374OSSDOW@yokota-emh.af.mil
  46. Compuserve: 73307,131 (checked once a yr!)       N4PBY/HL9PIT/J71???
  47. ---------------------
  48.  
  49.  
  50.  
  51.  
  52.