home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / pascal / 5319 < prev    next >
Encoding:
Text File  |  1992-09-10  |  1.5 KB  |  38 lines

  1. Xref: sparky comp.lang.pascal:5319 alt.msdos.programmer:2349
  2. Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!usc!sdd.hp.com!elroy.jpl.nasa.gov!swrinde!ringer!mlevis
  3. From: mlevis@ringer.cs.utsa.edu (Mike Levis)
  4. Newsgroups: comp.lang.pascal,alt.msdos.programmer
  5. Subject: 1 answer (was Re: 3 questions)
  6. Message-ID: <1992Sep11.052928.6790@ringer.cs.utsa.edu>
  7. Date: 11 Sep 92 05:29:28 GMT
  8. References: <18ot9rINN67t@matt.ksu.ksu.edu>
  9. Organization: University of Texas at San Antonio
  10. Lines: 26
  11.  
  12. In article <18ot9rINN67t@matt.ksu.ksu.edu> holland@matt.ksu.ksu.edu (Rich Holland) writes:
  13. >Question 1:
  14. >-----------
  15. >  How do I determine if the user is at the command line?  I've been thinking
  16. >  about writing a TSR to intercept keypresses at the DOS command line and
  17. >  expand TABs to full filenames (like tcsh does).  
  18.  
  19. Try hooking Interrupt 28h (DOS Idle Interrupt).  DOS invokes this
  20. interrupt whenever it is waiting for buffered input (such as
  21. the one used by command.com when waiting for input).  For more
  22. info, see Ralf Brown's Interrupt List.
  23.  
  24. [...]
  25.  
  26. >Rich Holland              | INTERNET: holland@matt.ksu.ksu.edu
  27. >100 Jardine Terr, Apt A7  | BITNET  : holland@ksuvm
  28. >Manhattan, KS  66502-3357 | UUCP    : ...!rutgers!matt.ksu.ksu.edu!holland
  29. >char*p="char*p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
  30.  
  31. [T]he [S]pirit of [R]adio
  32.  
  33. -- 
  34. ==== Mike Levis   mlevis@ringer.cs.utsa.edu ====
  35. ::   ftp syrinx.umd.edu  (128.8.2.114)  for   ::  .--.
  36. ::   Rush lyrics,  gifs,  and  information.   :: (OS/2)
  37. :::: Get the Rush FAQL in dir /rush/special ::::  ~--~
  38.