delorie.com/archives/browse.cgi   search  
Mail Archives: opendos/1997/08/15/22:26:50

Message-Id: <m0wzYWo-001TdpC@psfpc.ih.lucent.com>
Date: Fri, 15 Aug 97 21:23 CDT
From: psfales AT psfpc DOT ih DOT lucent DOT com (Peter Fales)
To: opendos AT delorie DOT com
Subject: Control P


evand AT scn DOT org:
> Is there any command, TSR, or magical incantation to keep Ctrl-P from
> echoing everything to the printer?

I find this quite annoying also.  Prior to the availability of OpenDOS 
source, I worked around it by patching DOS.  For example, in DR-DOS
6.0, a dissassembly of IBMDOS.COM reveals

1CC1:0736 3C10          CMP     AL,10
1CC1:0738 750F          JNZ     0749

Changing the JNZ to JMP eliminates the Ctrl-P problem forever.  You
could probably find the same check in other versions of DR-DOS or 
OpenDOS.  (If you've built OpenDOS from source, it's at line 519 ofcio.a86 :-)

Peter Fales			  Lucent Technologies, Room 1P-419
N9IYJ            		  1200 E Warrenville Road
				  Naperville, IL 60563
internet: psfales AT lucent DOT com  	  work:	(630) 979-8031

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019