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