home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / alt / msdos / programm / 2275 < prev    next >
Encoding:
Internet Message Format  |  1992-08-26  |  1.5 KB

  1. Path: sparky!uunet!zephyr.ens.tek.com!psgrain!hippo!bs-pc3-06.ru.ac.za!g89f2900
  2. From: g89f2900@giraffe.ru.ac.za (MR BRI FAWTHROP)
  3. Newsgroups: alt.msdos.programmer
  4. Subject: Keyboard Interrupt
  5. Message-ID: <g89f2900.4.714907231@giraffe.ru.ac.za>
  6. Date: 27 Aug 92 09:20:31 GMT
  7. Sender: news@hippo.ru.ac.za
  8. Organization: Rhodes University, Grahamstown, South Africa
  9. Lines: 34
  10.  
  11. Hi
  12.  
  13. I am trying to write  program  which reads the keyboard buffer, before the 
  14. command.com interrupter does.
  15. In other words
  16. I want to write a program that if certain keywords are typed in it will go 
  17. and do some function.
  18. otherwise it must act as normal.
  19.  
  20. eg
  21.  enter CLS
  22.    I want it to first do the normal clearscreen 
  23.    but afterwards it must print my name and time and other tings on the top 
  24.    of the screen.
  25.         ( I will write the program that prints my name and other things )
  26.         ( But I need to know how to link in the keyboard interrupt   so )
  27.         ( that when it reads CLS if first does CLS and then comes and   )
  28.         ( executes my program. )
  29.  
  30.  OR
  31.  enter TIME
  32.    I want it to ask me if I want to change the time or just display it.
  33.    THEN it must go and do the NORMAL time function.
  34.           ( same applies here I will write the program but how do I )
  35.           ( link it into the keyboard interrupt )
  36.  
  37. Does anyone know if this is possible ???
  38.  
  39. PLEASE I HAVE BEEN TRYING FOR +/- 4 mths. BUT no-one I have asked knows
  40. what to do or even how to HELP
  41.  
  42. Barry Fawthrop.
  43. g89f2900@giraffe.ru.ac.za
  44.   
  45.