home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / amiga / programm / 15587 < prev    next >
Encoding:
Internet Message Format  |  1992-11-09  |  1.2 KB

  1. Path: sparky!uunet!caen!nic.umass.edu!dime!robinson
  2. From: robinson@elux3.cs.umass.edu (RICHARD ROBINSON)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: A couple of questions
  5. Message-ID: <55989@dime.cs.umass.edu>
  6. Date: 10 Nov 92 00:07:27 GMT
  7. Sender: news@dime.cs.umass.edu
  8. Reply-To: robinson@elux3.cs.umass.edu (RICHARD ROBINSON)
  9. Organization: The Realm of Dread
  10. Lines: 20
  11.  
  12.  
  13. Ok, I have a couple of questions that I'd love to find answers to.
  14.  
  15. 1. Can a packet sent to DOS be aborted? I send an ACTION_READ to a console,
  16. and need to get rid of it when I exit. I just can't ask the user 'please hit
  17. a key so I can exit.' And since the exit is based on the termination of
  18. another process, there is no way to not send the packet when I'm about to,
  19. 'cause I don't know when it is going to exit.
  20.  
  21. Failing that, can I trick the console into thinking I typed something?
  22.  
  23. 2. Is there any way to find out how many characters can be read from
  24. a console? Transferring characters to and from a pipe one at a time is
  25. pathetically slow.
  26.  
  27. Thankx in advance for any suggestions.
  28. --
  29. Dread                      (Richard Robinson, Univ of Mass, Amherst)
  30. dread@titan.ucc.umass.edu          "There is no right, there is only power!"
  31. robinson@elux3.cs.umass.edu             "Kill them, kill them all!" 
  32.