Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!rpi!uupsi!sunic!cs.umu.se!peter From: peter@cs.umu.se (Peter Lundberg) Newsgroups: comp.lang.pascal Subject: Re: Code wanted: DOS ^P simulator Message-ID: <1990Dec14.093222.20291@cs.umu.se> Date: 14 Dec 90 09:32:22 GMT References: <5994@yang.earlham.edu> Sender: news@cs.umu.se (News Administrator) Organization: /usr/new/Rn/etc/organization Lines: 17 In article <5994@yang.earlham.edu> peters@yang.earlham.edu writes: > > Can anyone out there write a procedure that simulates the action of >a ^P (ctrl-P) when pressed at a DOS prompt? It should turn on 'print mode' >so that all writes to the screen are simultaneously echoed to the printer. >Another ^P should toggls print mode off again. > Well, the keyword here is DOS, if each and every one of the programs that were to be used with this utility would use DOS in text mode for doing screen output, this would not be hard to do. But they don't and won't. That's why there is no way to trace screen output, like for example on a VT100 terminal. So don't waste your time, it it was possible the PC would have such a key on the keyboard, (as terminals often have) rgds. Peter Lundberg.