aboutsummaryrefslogtreecommitdiff
path: root/bin/stty/stty.c
Commit message (Collapse)AuthorAgeFilesLines
* Renumber copyright clause 4Warner Losh2017-02-281-1/+1
| | | | | | | | | | | | Renumber cluase 4 to 3, per what everybody else did when BSD granted them permission to remove clause 3. My insistance on keeping the same numbering for legal reasons is too pedantic, so give up on that point. Submitted by: Jan Schaumann <jschauma@stevens.edu> Pull Request: https://github.com/freebsd/freebsd/pull/96 Notes: svn path=/head/; revision=314436
* Prevent potential integer overflowBaptiste Daroussin2015-07-131-2/+5
| | | | | | | | PR: 192971 Submitted by: David Carlier <david.carlier@hardenedbsd.org> Notes: svn path=/head/; revision=285438
* Don't call -f option's argument "stdin".Ruslan Ermilov2011-05-031-1/+4
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=221372
* Sync program's usage() with manpage's SYNOPSIS.Ruslan Ermilov2005-02-091-1/+2
| | | | Notes: svn path=/head/; revision=141578
* Remove clause 3 from the UCB licenses.Mark Murray2004-04-061-4/+0
| | | | | | | OK'ed by: imp, core Notes: svn path=/head/; revision=127958
* Quiet warnings about copyright[].David E. O'Brien2003-05-011-2/+2
| | | | Notes: svn path=/head/; revision=114433
* Consistently use FBSDIDDavid E. O'Brien2002-06-301-2/+2
| | | | Notes: svn path=/head/; revision=99110
* o __P has been reovedWarner Losh2002-02-021-6/+2
| | | | | | | | | | | | | | | | | | | | | o Old-style K&R declarations have been converted to new C89 style o register has been removed o prototype for main() has been removed (gcc3 makes it an error) o int main(int argc, char *argv[]) is the preferred main definition. o Attempt to not break style(9) conformance for declarations more than they already are. o Change int foo() { ... to int foo(void) { ... Notes: svn path=/head/; revision=90111
* BDECFLAGS cleanupKris Kennaway2001-05-181-1/+3
| | | | Notes: svn path=/head/; revision=76810
* Fix warn formatAndrey A. Chernov2000-04-301-1/+1
| | | | | | | Pointed-by: bde Notes: svn path=/head/; revision=59790
* Back out all drainwait changes. It is enough controllable via sysctl orAndrey A. Chernov2000-04-301-8/+5
| | | | | | | | | | comcontrol, having it in stty cause too many problems with existing drivers and tty access permissings of non-superuser. Asked-by: bde Notes: svn path=/head/; revision=59788
* gfmt: set 'changed' flags only if something really changed.Andrey A. Chernov2000-04-271-3/+1
| | | | Notes: svn path=/head/; revision=59715
* Add ability to manipulate with drain wait timeAndrey A. Chernov2000-04-271-4/+9
| | | | Notes: svn path=/head/; revision=59714
* $Id$ -> $FreeBSD$Peter Wemm1999-08-271-1/+1
| | | | Notes: svn path=/head/; revision=50471
* Correct use of .Nm. Add rcsid.Philippe Charnier1998-05-181-3/+5
| | | | Notes: svn path=/head/; revision=36152
* Typo in usage string. Looks like the man page now.Philippe Charnier1997-06-061-2/+2
| | | | Notes: svn path=/head/; revision=26468
* compare return value from getopt against -1 rather than EOF, per the finalWarner Losh1997-03-281-2/+2
| | | | | | | posix standard on the topic. Notes: svn path=/head/; revision=24348
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=22988
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* -Wall cleaning.Steve Price1996-12-141-3/+3
| | | | Notes: svn path=/head/; revision=20424
* Improve the recently changed and an old error message: don't report probeBruce Evans1995-07-041-5/+3
| | | | | | | errors. Notes: svn path=/head/; revision=9393
* stty fails with a non-obvious error message if it's run on a non-ttyJoerg Wunsch1995-07-021-3/+5
| | | | | | | | | | | | | | | | | | | stream, such as a rsh or vi pipeline. The error message is: stty: TIOCGETD: Operation not supported It's immediately obvious to the knowledgable hacker type, but not exactly comforting to the user who's not native to unix. It's especially confusing if there's a stty command in their .cshrc and it's showing up on rsh output. (Fixes PR #bin/573) Submitted by: peter@haywire.dialix.com (Peter Wemm) Notes: svn path=/head/; revision=9384
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-3/+3
| | | | | | | Reviewed by: phk Notes: svn path=/head/; revision=8855
* Fix `stty' on the output of `stty -g'. The changes for the gfmt1 optionBruce Evans1995-04-291-1/+2
| | | | | | | weren't TIOCSETD'd unless another option changed something. Notes: svn path=/head/; revision=8168
* Added $Id$David Greenman1994-09-241-0/+2
| | | | Notes: svn path=/head/; revision=3044
* BSD 4.4 Lite bin SourcesRodney W. Grimes1994-05-261-0/+161
Notes: svn path=/head/; revision=1556