summaryrefslogtreecommitdiffstats
path: root/bin/stty/print.c
Commit message (Collapse)AuthorAgeFilesLines
* Make stty(1) use tab0 and tab3 to handle tab completion.ed2008-08-231-1/+8
| | | | | | | | | | 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.
* Remove OTTYDISC, NETLDISC and NTTYDISC definitions.ed2008-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)
* Fix: printed output flags (onocr) and (onlret) same as oxtabsache2005-05-261-2/+2
| | | | | PR: 81256 Submitted by: Arseny Nasokin <tarc@tarc.po.cs.msu.su>
* Remove clause 3 from the UCB licenses.markm2004-04-061-4/+0
| | | | OK'ed by: imp, core
* Consistently use FBSDIDobrien2002-06-301-2/+2
|
* o __P has been reovedimp2002-02-021-15/+7
| | | | | | | | | | | | | | | | | | 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) { ...
* BDECFLAGS cleanupkris2001-05-181-7/+7
|
* implement OCRNL, ONOCR, and ONLRETassar2001-03-041-0/+3
| | | | Obtained from: NetBSD
* Back out all drainwait changes. It is enough controllable via sysctl orache2000-04-301-4/+2
| | | | | | | comcontrol, having it in stty cause too many problems with existing drivers and tty access permissings of non-superuser. Asked-by: bde
* Add ability to manipulate with drain wait timeache2000-04-271-2/+4
|
* Don't report the tablet line discipline, it "doesn't happen (TM)"peter2000-01-291-3/+0
|
* $Id$ -> $FreeBSD$peter1999-08-271-1/+1
|
* Correct use of .Nm. Add rcsid.charnier1998-05-181-3/+5
|
* Merge from OpenBSD:eivind1997-12-121-3/+5
| | | | | | | >sprintf -> snprintf paranoia Obtainted from: OpenBSD src/bin/stty/print.c v1.5 by Todd Miller <millert@openbsd.org>
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-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.
* -Wall cleaning.steve1996-12-141-2/+2
|
* Remove trailing whitespace.rgrimes1995-05-301-4/+4
| | | | Reviewed by: phk
* Support nonstandard (not yet all supported) flow control options. `ctsflow'bde1995-04-291-6/+23
| | | | | | | | | and `rtsflow' are the components of `crtscts'. `dtrflow' and `dsrflow' are new and not yet supported. `dtrflow' may be useful for Cyclades serial careds, which have h/w support for it and no h/w support for `rtsflow'. print.c: Report NTTYDISC in case the line is in this obsolescent state.
* Fix bugs:ache1995-04-281-4/+6
| | | | | | | cchars2 not used can't set or report MIN or TIME == 255 TIOCSETD on wrong fd PPPDISC is not reported
* Added $Id$dg1994-09-241-0/+2
|
* BSD 4.4 Lite bin Sourcesrgrimes1994-05-261-0/+266
OpenPOWER on IntegriCloud