*BSD News Article 24489


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!dubhe.anu.edu.au!sirius!paulus
From: paulus@anu.edu.au (Paul Mackerras)
Newsgroups: comp.os.386bsd.bugs
Subject: Re: Does stty(1) not work in NetBSD 0.9?
Date: 29 Nov 1993 00:59:06 GMT
Organization: Computer Science Department, ANU, Australia
Lines: 25
Distribution: world
Message-ID: <2dbhgqINNd61@dubhe.anu.edu.au>
References: <9311282235.AA02662@cthulhu>
Reply-To: paulus@anu.edu.au
NNTP-Posting-Host: sirius.anu.edu.au

In article AA02662@cthulhu, mike.long@analog.com (Mike Long) writes:
> The stty command doesn't seem to be doing anything in my 0.9 system.
> For instance, my modem is attached to the system as /dev/tty00.  When
> I give the command (as root):

> stty -a -f /dev/tty00

> I get a listing of all the flags, including -clocal.

> I then issue:

> stty -f /dev/tty00 clocal

> but the result of 'stty -a -f /dev/tty0' is unchanged; I still get
> -clocal.  The ownership of /dev/tty00 is uucp.wheel.  Recompiling stty
> from the sources distributed with 0.9 didn't fix the problem.

All the flags get reset to their defaults when a tty device is opened,
if no process had the device open already.  Was there any other process
running with /dev/tty00 open at the time?

Paul Mackerras		paulus@cs.anu.edu.au
Dept. of Computer Science
Australian National University