Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!cs.utexas.edu!usc!snorkelwacker!bloom-beacon!bloom-beacon!lfk From: lfk@athena.mit.edu (Lee F Kolakowski) Newsgroups: comp.sys.ibm.pc.programmer Subject: Avoiding ^P (was Re: Avoiding ^C) Message-ID: <1990Jul7.135729.8037@athena.mit.edu> Date: 7 Jul 90 16:57:15 GMT References: <10688@spool.cs.wisc.edu> <577@dg.dg.com> <1990Jun30.203726.7480@sjsumcs.sjsu.edu> <1990Jul5.171205.2036@tc.fluke.COM> <1990Jul6.220720.15747@Octopus.COM> Sender: news@athena.mit.edu (News system) Organization: Mass. Inst. of Tech., Dept. of Chemistry Lines: 50 In-Reply-To: stever@Octopus.COM's message of 6 Jul 90 22:07:20 GMT On 6 Jul 90 22:07:20 GMT, stever@Octopus.COM (Steve Resnick ) said: > In article <1990Jul5.171205.2036@tc.fluke.COM> mason@tc.fluke.COM (Nick Mason) writes: > [Stuff Deleted] >>OK, OK, here's the BIG secret to get rid of ^C on the screen. >> [more Stuff Deleted] >> We have now heard several approaches to cure ^C, none of then seem to be sure fire. But I am sure they are on the right track. Now for a new problem.... I use the MKS shell, as I know a lot of you also do. Occasionally I get a very annoying behavior. In the emacs command line mode ^P recalls the previous line from the history. Some times when I press ^P, I toggle the printer on (Dumb Dos behavior, IMHO), instaed of recalling the previous command. This especially happens when I am running a program, quit the program and before the command line returns, type ^P. I my also be screwing things up by using FansiConsole which replaces parts of the bios code. Any clues...? I'd like a little installable device that redefines ^P to a no-op with respect to the printer. MKS says they trap it and only when the shell does not have control of the keyboard, does this happen. So their answer is wait for the shell to return. -- Frank Kolakowski ====================================================================== |lfk@athena.mit.edu || Lee F. Kolakowski | |lfk@eastman2.mit.edu || M.I.T. | |kolakowski@wccf.mit.edu || Dept of Chemistry | |lfk@mbio.med.upenn.edu || Room 18-506 | |lfk@hx.lcs.mit.edu || 77 Massachusetts Ave.| |AT&T: 1-617-253-1866 || Cambridge, MA 02139 | |--------------------------------------------------------------------| | #include | | One-Liner Here! | ======================================================================