From owner-freebsd-hackers Wed May 22 19:01:25 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id TAA25586 for hackers-outgoing; Wed, 22 May 1996 19:01:25 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id TAA25581 for ; Wed, 22 May 1996 19:01:19 -0700 (PDT) Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.12/8.6.9) id LAA06676; Thu, 23 May 1996 11:45:28 +0930 From: Michael Smith Message-Id: <199605230215.LAA06676@genesis.atrad.adelaide.edu.au> Subject: Re: stty -- not To: garya@ics.com (Gary Aitken) Date: Thu, 23 May 1996 11:45:27 +0930 (CST) Cc: freebsd-hackers@FreeBSD.org In-Reply-To: <31A3A0C5.59A5@ics.com> from "Gary Aitken" at May 22, 96 05:18:29 pm MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk 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 [[