Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!unmvax!nmt.edu!jrwsnsr From: jrwsnsr@nmt.edu (Jonathan R. Watts) Newsgroups: comp.lang.pascal Subject: Re: About Emptying COM1 port Message-ID: <1990Sep5.010347.26099@nmt.edu> Date: 5 Sep 90 01:03:47 GMT References: <34753@unix.cis.pitt.edu> Organization: New Mexico Institute of Mining and Technology Lines: 19 From article <34753@unix.cis.pitt.edu>, by cncst@unix.cis.pitt.edu (Christophe N. Christoff): > [...] > I used > > echo a | copy autoexec.bat com1 > > DOS simply ignore all this pipeline!! The reason DOS ignores the pipeline is because it always clears the keyboard buffer when it gives you that infamous error message...you can't type ahead. If you happen to use 4DOS, you could say keystack 0 "a" ^ copy autoexec.bat com1 but that is rather kludgy, and does you no good if you don't use 4DOS. - Jonathan Watts jrwsnsr@jupiter.nmt.edu (Internet address)