Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!lll-winken!uunet!virtech!cpcahil From: cpcahil@virtech.uucp (Conor P. Cahill) Newsgroups: comp.unix.questions Subject: Re: How could I redirect the output of a tty in a file? Message-ID: <1990Nov20.023806.17791@virtech.uucp> Date: 20 Nov 90 02:38:06 GMT References: <1990Nov19.162132.18379@DMI.USherb.CA> Reply-To: cpcahil@virtech.UUCP (Conor P. Cahill) Organization: Virtual Technologies Inc., Sterling VA Lines: 21 In article <1990Nov19.162132.18379@DMI.USherb.CA> bussiere@ganymede.DMI.USherb.CA (Luc Bussieres) writes: > > I'm trying to redirect the output of a tty line to a file >using the command "cat /dev/ttyb > pacx.log". This is the logging >messages that come out our Pacx. The problem is that we are loosing >characters. Is there a modification I could make to the ttytab or If you Pacx supports flow control, you should try to set flow control on the port that you are reading. For a BSD system it could be done as follows: (stty tandem; cat) < /dev/ttyb > packx.log or for SYSV (stty ixoff; cat) < /dev/ttyb > packx.log -- Conor P. Cahill (703)430-9247 Virtual Technologies, Inc., uunet!virtech!cpcahil 46030 Manekin Plaza, Suite 160 Sterling, VA 22170