From <@grizzly.com:markd@grizzly.com>  Sat Jan 21 21:26:58 1995
Received: from cats.ucsc.edu (root@cats-po-1.UCSC.EDU [128.114.129.22]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id VAA29285 for <FreeBSD-gnats-submit@freebsd.org>; Sat, 21 Jan 1995 21:26:58 -0800
Received: from scruz.ucsc.edu by cats.ucsc.edu with SMTP
	id VAA12284; Sat, 21 Jan 1995 21:26:45 -0800
Received: from osprey by scruz.ucsc.edu id aa15546; 21 Jan 95 22:18 PST
Received: (from markd@localhost) by Grizzly.COM (8.6.9/8.6.9) id UAA02761; Sat, 21 Jan 1995 20:47:34 -0800
Message-Id: <199501220447.UAA02761@Grizzly.COM>
Date: Sat, 21 Jan 1995 20:47:34 -0800
From: Mark Diekhans <markd@grizzly.com>
Reply-To: markd@grizzly.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: Poor error message from stty
X-Send-Pr-Version: 3.2

>Number:         174
>Category:       bin
>Synopsis:       Poor error message from stty
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 21 21:30:01 1995
>Closed-Date:    Mon Feb 10 08:45:49 PST 1997
>Last-Modified:  Mon Feb 10 08:46:41 PST 1997
>Originator:     Mark Diekhans
>Release:        FreeBSD 2.0-RELEASE i386
>Organization:
== Mark Diekhans (markd@grizzly.com)     ==
>Environment:

  Need modem device configured.

>Description:

They command:
        stty -f /dev/cua00 76800
returns the error
        stty: tcsetattr: Invalid argument

which isn't very helpful if the command was issued with 8 parameters..

>How-To-Repeat:


>Fix:
>Release-Note:
>Audit-Trail:

From: John-Mark Gurney <jmg@nike.efn.org>
To: Mark Diekhans <markd@grizzly.com>
Cc: freebsd-gnats-submit@freebsd.org
Subject: bin/174 stty doesn't give very good output on error...
Date: Mon, 10 Feb 1997 01:42:10 -0800 (PST)

 the bug can't be fixed unless there is some restructuring of stty... and
 this probably shouldn't happen...  
 
 the resturcuring would require the options to be set one at a time...  and
 doing an ioctl's for each option instead of just doing two [ioctl's] max
 like it currently is...  IMHO doing multiple ioctl's could cause undesired
 behavior because all the flags weren't set at the same time...
 
 OTOH... it doesn't mean we can't add an option to do "debugging"  but this
 would make stty more complex than it needs to be... 
 
 comments?
 
 John-Mark
 
 gurney_j@efn.org
 http://resnet.uoregon.edu/~gurney_j/
 Modem/FAX: (541) 683-6954   (FreeBSD Box)
 
 Live in Peace, destroy Micro$oft, support free software, run FreeBSD (unix)
 

From: Mark Diekhans <markd@Grizzly.COM>
To: gurney_j@resnet.uoregon.edu
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: bin/174 stty doesn't give very good output on error...
Date: Mon, 10 Feb 1997 08:13:32 -0800 (PST)

 >the bug can't be fixed unless there is some restructuring of stty... and
 >this probably shouldn't happen...  
 >...
 >comments?
 
 Its a minor bug in the whole scheme of things, feel free to close it.
 
 Thanks,
 Mark
State-Changed-From-To: open->closed 
State-Changed-By: mpp 
State-Changed-When: Mon Feb 10 08:45:49 PST 1997 
State-Changed-Why:  
PR author sad this can be closed. 
>Unformatted:


