aboutsummaryrefslogtreecommitdiff
path: root/bin/stty
Commit message (Collapse)AuthorAgeFilesLines
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* .Xr resizewin from stty(1) man page.Edward Tomasz Napierala2017-05-071-0/+1
| | | | | | | | MFC after: 2 weeks Sponsored by: DARPA, AFRL Notes: svn path=/head/; revision=317904
* Renumber copyright clause 4Warner Losh2017-02-2810-10/+10
| | | | | | | | | | | | 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
* Add history section for stty(1)Sevan Janiyan2016-10-051-1/+6
| | | | | | | | | | | | http://minnie.tuhs.org/cgi-bin/utree.pl?file=V3/man/man1/stty.1 PR: 211788 Approved by: bcr (mentor) MFC after: 5 days Differential Revision: https://reviews.freebsd.org/D8104 Notes: svn path=/head/; revision=306721
* Explicitly add unmarked bin/ binaries to the runtime package.Glen Barber2016-02-091-0/+1
| | | | | | | | | | | Note: tcsh(1) has a MK_TCSH=no test, so this should be a separate package, which requires pre-install/post-install scripts, to be added later. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295439
* 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
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+18
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Updated dependenciesSimon J. Gerraty2014-05-161-1/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * Sync from headSimon J. Gerraty2012-11-041-1/+1
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=242545
| * Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+19
| | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | stty: Mark usage() __dead2.Jilles Tjoelker2012-07-151-1/+1
|/ | | | | | | This reduces code size a little and should fix a scan-build warning. Notes: svn path=/head/; revision=238508
* mdoc: fix column names, indentation, column separation within each row, andJoel Dahl2012-04-071-1/+1
| | | | | | | | | | quotation. Also make sure we have the same amount of columns in each row as the number of columns we specify in the head arguments. Reviewed by: brueffer Notes: svn path=/head/; revision=233992
* Remove superfluous paragraph macro.Joel Dahl2012-03-251-3/+0
| | | | Notes: svn path=/head/; revision=233457
* Move 3.5 KB from the data segment to the text segment.Ed Schouten2011-12-111-5/+5
| | | | | | | | The `struct modes' are only used by the getter-functions in the same file, so we can safely mark them static and const. Notes: svn path=/head/; revision=228406
* Don't call -f option's argument "stdin".Ruslan Ermilov2011-05-031-1/+4
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=221372
* Add a new libc function: cfmakesane(3).Ed Schouten2010-11-021-5/+6
| | | | | | | | | | | | | | I've noticed various terminal emulators that need to obtain a sane default termios structure use very complex `hacks'. Even though POSIX doesn't provide any functionality for this, extend our termios API with cfmakesane(3), which is similar to the commonly supported cfmakeraw(3), except that it fills the termios structure with sane defaults. Change all code in our base system to use this function, instead of depending on <sys/ttydefaults.h> to provide TTYDEF_*. Notes: svn path=/head/; revision=214680
* mdoc: drop redundant .Pp and .LP callsUlrich Spörlein2010-10-081-1/+0
| | | | | | | They have no effect when coming in pairs, or before .Bl/.Bd Notes: svn path=/head/; revision=213573
* Make stty(1) use tab0 and tab3 to handle tab completion.Ed Schouten2008-08-233-8/+23
| | | | | | | | | | | | | After the MPSAFE TTY import, we have support for the TAB0 and TAB3 flags to handle tab expansion, while we only used to support OXTABS. Switch stty(1) to use tab0 and tab3 to print whether tab expansion is turned on or off. Implement the oxtabs and tabs switches by setting the appropriate TABx value. Even though POSIX only lists this as being XSI, we'd better follow it. Notes: svn path=/head/; revision=182052
* Mark functions as __dead2 in order to help the LLVM static checkerColin Percival2008-08-041-1/+1
| | | | | | | | | | understand which code paths aren't possible. This commit eliminates 117 false positive bug reports of the form "allocate memory; error out if pointer is NULL; use pointer". Notes: svn path=/head/; revision=181269
* Remove OTTYDISC, NETLDISC and NTTYDISC definitions.Ed Schouten2008-07-161-5/+0
| | | | | | | | | | | | | | | | | | | When I ported most applications away from <sgtty.h>, I noticed none of them were actually using these definitions. I kept them in place, because I didn't want to touch tools like pstat(8) and stty(1). In preparation for the MPSAFE TTY layer, remove these definitions. This doesn't have any impact with respect to binary compatibility (see tty_conf.c). We couldn now add an #error to <sys/ioctl_compat.h> when included outside the kernel. Unfortunately, kdump's mkioctls includes this file unconditionally. Approved by: philip (mentor) Notes: svn path=/head/; revision=180559
* Fix: printed output flags (onocr) and (onlret) same as oxtabsAndrey A. Chernov2005-05-261-2/+2
| | | | | | | | PR: 81256 Submitted by: Arseny Nasokin <tarc@tarc.po.cs.msu.su> Notes: svn path=/head/; revision=146636
* Sync program's usage() with manpage's SYNOPSIS.Ruslan Ermilov2005-02-092-4/+5
| | | | Notes: svn path=/head/; revision=141578
* Add the new standard EXIT STATUS section where appropriate.Ruslan Ermilov2005-01-161-1/+1
| | | | | | | Sort standard sections in the (documented) preferred order. Notes: svn path=/head/; revision=140353
* /*- or .\"- or #- to begin license clauses.Warner Losh2005-01-101-0/+1
| | | | Notes: svn path=/head/; revision=139969
* Back out recent TTYDEF_LFLAG_ECHO invention.Andrey A. Chernov2004-11-061-1/+1
| | | | | | | | This change is NOP, because TTYDEF_LFLAG = TTYDEF_LFLAG_ECHO now, but to minimize diffs with other BSDs. Notes: svn path=/head/; revision=137314
* stty sane should set the echo bits.Poul-Henning Kamp2004-11-021-1/+1
| | | | | | | | | PR: 73423 Submitted by: Michiel Boland <michiel@boland.org> Overlooked by: phk Notes: svn path=/head/; revision=137131
* Deal with double whitespace.Ruslan Ermilov2004-07-031-1/+1
| | | | Notes: svn path=/head/; revision=131505
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-021-12/+23
| | | | Notes: svn path=/head/; revision=131484
* Remove clause 3 from the UCB licenses.Mark Murray2004-04-0610-40/+0
| | | | | | | OK'ed by: imp, core Notes: svn path=/head/; revision=127958
* Fix format warning. This is WARNS=9, std=c99 clean on i386.Mark Murray2003-05-031-1/+1
| | | | Notes: svn path=/head/; revision=114576
* 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-307-15/+14
| | | | Notes: svn path=/head/; revision=99110
* o __P has been reovedWarner Losh2002-02-028-108/+66
| | | | | | | | | | | | | | | | | | | | | 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
* Default to WARNS=2. Binary builds that cannot handle this must explicitlyDavid E. O'Brien2001-12-041-2/+0
| | | | | | | | | set WARNS=0. Reviewed by: mike Notes: svn path=/head/; revision=87323
* Note that stty is a utility and not... err... a program....Brian Feldman2001-11-291-1/+1
| | | | | | | Submitted by: ru Notes: svn path=/head/; revision=87094
* Stty is a program, not a function.Brian Feldman2001-11-291-1/+1
| | | | Notes: svn path=/head/; revision=87083
* Implement `stty ek` as documented.Dima Dorfman2001-08-231-0/+12
| | | | | | | | PR: 24063 Submitted by: Seth Kingsley <sethk@osd.bsdi.com> Notes: svn path=/head/; revision=82237
* mdoc(7) police: utilize the new .Ex macro.Ruslan Ermilov2001-08-151-3/+1
| | | | Notes: svn path=/head/; revision=81687
* mdoc(7) police: s/BSD/.Bx/ where appropriate.Ruslan Ermilov2001-08-141-1/+1
| | | | Notes: svn path=/head/; revision=81622
* mdoc(7) police: join split punctuation to macro calls.Ruslan Ermilov2001-08-101-2/+2
| | | | Notes: svn path=/head/; revision=81462
* WARNS= -> WARNS?=Dima Dorfman2001-06-221-1/+1
| | | | | | | Submitted by: Mike Barcroft <mike@q9media.com> Notes: svn path=/head/; revision=78624
* Silence WARNS=2 and BDECFLAGS on alpha and i386Kris Kennaway2001-05-202-2/+4
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=76882
* BDECFLAGS cleanupKris Kennaway2001-05-187-23/+32
| | | | Notes: svn path=/head/; revision=76810
* implement OCRNL, ONOCR, and ONLRETAssar Westerlund2001-03-043-0/+19
| | | | | | | Obtained from: NetBSD Notes: svn path=/head/; revision=73421
* Eliminate mdocNG warnings caused by misplaced or extraneous macro calls.Ruslan Ermilov2001-02-281-1/+1
| | | | Notes: svn path=/head/; revision=73233
* mdoc(7) police: split punctuation characters + misc fixes.Ruslan Ermilov2001-02-011-1/+1
| | | | Notes: svn path=/head/; revision=71895