Bug 174 - Poor error message from stty
Summary: Poor error message from stty
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 2.0-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1995-01-21 21:30 UTC by Mark Diekhans
Modified: 2024-03-25 12:37 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Diekhans 1995-01-21 21:30:01 UTC
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..
Comment 1 jmg 1997-02-10 09:42:10 UTC
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)
Comment 2 Mark Diekhans 1997-02-10 16:13:32 UTC
>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
Comment 3 mpp freebsd_committer freebsd_triage 1997-02-10 16:45:49 UTC
State Changed
From-To: open->closed

PR author sad this can be closed.
Comment 4 Thanos 2018-05-17 10:47:30 UTC
MARKED AS SPAM