Date: Thu, 23 May 1996 11:45:27 +0930 (CST) From: Michael Smith <msmith@atrad.adelaide.edu.au> To: garya@ics.com (Gary Aitken) Cc: freebsd-hackers@FreeBSD.org Subject: Re: stty -- not Message-ID: <199605230215.LAA06676@genesis.atrad.adelaide.edu.au> In-Reply-To: <31A3A0C5.59A5@ics.com> from "Gary Aitken" at May 22, 96 05:18:29 pm
next in thread | previous in thread | raw e-mail | index | archive | help
Gary Aitken stands accused of saying: > > I need to configure ttyd1 for use with a printer to add cr to > all newlines. > printcap doesn't appear to be able to handle this, > so I thought the thing to do would be: > > stty -f /dev/ttyd1 onlcr Read the 'sio' manpage and look at /etc/rc.serial. You need to run the stty against the 'initial state' device, not the port itself. You're on the right track; the 'sio' driver is just trying to overcome some of the historic bogosities in the Unix serial port paradigm. > Gary Aitken garya@ics.com (business) -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] Collector of old Unix hardware. "Where are your PEZ?" The Tick [[
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605230215.LAA06676>