Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 May 1996 17:18:29 -0600
From:      Gary Aitken <garya@ics.com>
To:        freebsd-hackers@freebsd.org
Subject:   stty -- not
Message-ID:  <31A3A0C5.59A5@ics.com>

next in thread | raw e-mail | index | archive | help
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

Doing the above pretends to work, but stty -f /dev/ttyd1
shows the old settings:

60 /etc#stty -f /dev/ttyd1
speed 9600 baud;
lflags: -icanon -isig -iexten -echo
iflags: -icrnl -ixon -ixany -imaxbel -brkint
oflags: -opost -onlcr -oxtabs
cflags: cs8 -parenb

This has got to be something stupid I don't understand...
Clue's?
-- 
Gary Aitken		garya@ics.com		(business)
			garya@dreamchaser.org	(personal)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?31A3A0C5.59A5>