aboutsummaryrefslogtreecommitdiff
path: root/include/ttyent.h
Commit message (Collapse)AuthorAgeFilesLines
* Improve missing tty handling in init(8). This removes a check that didEdward Tomasz Napierala2018-02-271-0/+2
| | | | | | | | | | | | | | | | | | | nothing - it was checking for ENXIO, which, with devfs, is no longer returned - and was badly placed anyway, and replaces it with similar one that works, and is done just before starting getty, instead of being done when rereading ttys(5). From the practical point of view, this makes init(8) handle disappearing terminals (eg /dev/ttyU*) gracefully, without unneccessary getty restarts and resulting error messages. Reviewed by: imp@ MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D14307 Notes: svn path=/head/; revision=330054
* include: further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-1/+3
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 3-Clause license. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point. Notes: svn path=/head/; revision=326024
* Impelemnt ttys onifexists in init.Warner Losh2017-03-221-0/+1
| | | | | | | | | | | | | | | | | | | | Implement a new init(8) option in /etc/ttys. If this option is present on the entry in /etc/ttys, the entry will be active if and only if it exists. If the name starts with a '/', it will be considered an absolute path. If not, it will be a path relative to /dev. This allows one to turn off video console getty that aren't present (while running a getty on them even when they aren't the system console). Likewise with serial ports. It differs from onifconsole in only requiring the device exist rather than it be listed as one of the system consoles. Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D10037 Notes: svn path=/head/; revision=315733
* Add a new flag to /etc/ttys: onifconsole. This is equivalent to "on" if theNathan Whitehorn2014-01-201-0/+1
| | | | | | | | | | | | device is an active kernel console and "off" otherwise. This is designed to allow serial-booting x86 systems to provide a login prompt on the serial line by default without providing one on all systems by default. Comments and suggestions by: grehan, dteske, jilles MFC after: 1 month Notes: svn path=/head/; revision=260913
* Remove the Berkeley clause 3's.Warner Losh2010-02-161-5/+1
| | | | | | | Add a few $FreeBSD$ Notes: svn path=/head/; revision=203964
* Breath deep and take __P out of the system include files.Warner Losh2002-03-231-6/+7
| | | | | | | | | # This appears to not break X11, but I'm having problems compiling the # glide part of the server with or without this patch, so I can't tell # for sure. Notes: svn path=/head/; revision=93032
* MF22: prototype fix.Jordan K. Hubbard1998-07-161-1/+1
| | | | Notes: svn path=/head/; revision=37692
* Fixed spelling of isnetworktty.Bruce Evans1997-04-141-2/+2
| | | | | | | Fixed stray whitespace. Notes: svn path=/head/; revision=24923
* Add bitflags TTY_NETWORK/TTY_DIALUP and interface functions whichDavid Nugent1997-04-131-0/+6
| | | | | | | make use of them. Notes: svn path=/head/; revision=24891
* Allow commonly-used "insecure" as a valid keyword in /etc/ttys.David Nugent1997-02-151-0/+1
| | | | | | | | This prevents keywords after "insecure" occurs being errnoeously parsed as comments. Notes: svn path=/head/; revision=22734
* Added group= facility to /etc/ttys for tty grouping for moreDavid Nugent1997-01-021-0/+3
| | | | | | | | | | | more manageable and convenient referencing by login.conf (login class database) and (e.g.) login.access. This is the first of a group of commits which implements the login class capabilities database. Notes: svn path=/head/; revision=21189
* BSD 4.4 Lite Include SourcesRodney W. Grimes1994-05-241-0/+66
Notes: svn path=/head/; revision=1539