home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / ibm / pc / misc / 14420 < prev    next >
Encoding:
Text File  |  1992-11-06  |  2.3 KB  |  53 lines

  1. Newsgroups: comp.sys.ibm.pc.misc
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!netsys!agate!linus!linus.mitre.org!jcmorris
  3. From: jcmorris@mwunix.mitre.org (Joe Morris)
  4. Subject: Re: Why does ctrl-P give "Write Fault Error ...
  5. Message-ID: <jcmorris.720999552@mwunix>
  6. Sender: news@linus.mitre.org (News Service)
  7. Nntp-Posting-Host: mwunix.mitre.org
  8. Organization: The MITRE Corporation
  9. References: <1992Nov4.204803.26297@cbnews.cb.att.com> <1992Nov5.045950.24122@sol.UVic.CA> <1992Nov5.142636.8833@saifr00.cfsat.honeywell.com>
  10. Date: Thu, 5 Nov 1992 21:39:12 GMT
  11. Lines: 40
  12.  
  13. walls@saifr00.cfsat.honeywell.com (Gerald Walls) writes:
  14.  
  15. > dchivers@engr.UVic.CA writes:
  16. >>merchant@cbnews.cb.att.com (shahrukh.s.merchant) writes:
  17.  
  18. >>> [Typing ^P causes screen output to echo to the printer]
  19.  
  20. >>>My questions:  What is ^P supposed to do?  Where is it documented?
  21. >>>Why doesn't it abort?  How can I disable this function?  How can I
  22. >>>turn it back on, should I decide that I do want to use it occasionally?
  23.  
  24. >>Apparently, ^P toggles a print capture state.  If you are connected to a
  25. >>printer, everything typed will be echoed to the printer until ^P is hit
  26. >>again. I can't find any documentation for this in any DOS references
  27. >>that I've looked at. I'm not sure how to disable it but a second ^P
  28. >>will end it.
  29.  
  30. >I don't think it's a DOS functions.  I believe it is built into
  31. >the BIOS.
  32.  
  33. Once it may have been in BIOS but no more.  If I can find it I'll look at
  34. the BIOS source for the original 1981 PC to check on this.
  35.  
  36. Originally the echo-to-printer function was toggled by CTRL-PrtSc, but
  37. that seems to have disappeared sometime in the distant past.
  38.  
  39. A quick look at the source code for the IBM PC/AT BIOS reveals that if you
  40. hit CTRL-PrtSc it is recognized as a special case, causing the keyboard
  41. interrupt handler (int 0x09) to place code 0x0072 in the keyboard buffer.
  42. (Note that this key combination is defined only for an 88-key keyboard;
  43. the "enhanced" keyboards put PrtSc on a special-purpose key which sends
  44. the 0xE0 prefix.)  Testing a few systems in the area I found that CTRL-PrtSc
  45. has no effect any more.
  46.  
  47. A previous poster suggested that if you accidentally hit ^P and keep getting
  48. ABORT/RETRY? messages, just hit ^P again and the next response of "A" to
  49. abort will return you to your normal programming.  This technique works,
  50. at least for the systems I tested.
  51.  
  52. Joe Morris
  53.