From owner-freebsd-hackers Wed May 22 16:27:22 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA08312 for hackers-outgoing; Wed, 22 May 1996 16:27:22 -0700 (PDT) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id QAA08299 for ; Wed, 22 May 1996 16:27:19 -0700 (PDT) Received: from nightmare.dreamchaser.org ([207.40.47.18]) by who.cdrom.com (8.6.12/8.6.11) with ESMTP id QAA28596 for ; Wed, 22 May 1996 16:27:18 -0700 Received: from mofo (mofo.dreamchaser.org [206.230.42.91]) by nightmare.dreamchaser.org (8.6.12/8.6.12) with SMTP id RAA10212 for ; Wed, 22 May 1996 17:25:41 -0600 Message-ID: <31A3A0C5.59A5@ics.com> Date: Wed, 22 May 1996 17:18:29 -0600 From: Gary Aitken Organization: Integrated Computer Solutions X-Mailer: Mozilla 3.0b3 (X11; I; SunOS 5.4 sun4c) MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Subject: stty -- not Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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)