aboutsummaryrefslogtreecommitdiff
path: root/libexec/getty
Commit message (Collapse)AuthorAgeFilesLines
...
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+19
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Merge sync of headSimon J. Gerraty2015-05-272-16/+1
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=283595
| * Merge from head@274682Simon J. Gerraty2014-11-191-1/+1
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=274683
| * | 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
| * | Merge headSimon J. Gerraty2014-04-289-53/+19
| |\ \ | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265044
| * | | 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 FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | | Remove the #ifdef DEBUG code, which is not compilable on 64bitKonstantin Belousov2015-04-291-14/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | architectures. It seems to be an overlooked chunk in the r15645. PR: 199767 Sponsored by: The FreeBSD Foundation MFC after: 1 week Notes: svn path=/head/; revision=282245
* | | | Convert to LIBADDBaptiste Daroussin2014-11-251-2/+1
| |_|/ |/| | | | | | | | | | | | | | | | | Reduce overlinking Notes: svn path=/head/; revision=275077
* | | Remove LOG_ODELAY because it does nothing.Neel Natu2014-08-171-1/+1
| |/ |/| | | | | | | | | | | | | Reviewed by: jilles CR: https://reviews.freebsd.org/D611 Notes: svn path=/head/; revision=270111
* | ttys(5): Pseudo-terminals are not listed and the network keyword is obsolete.Jilles Tjoelker2014-03-091-6/+5
| | | | | | | | Notes: svn path=/head/; revision=262963
* | Remove the 3rd clause ("advertising clause") of the BSD license asChristian Brueffer2014-02-179-45/+9
| | | | | | | | | | | | | | | | | | | | permitted by the University of Berkeley on July 22, 1999. Reviewed by: imp MFC after: 1 week Notes: svn path=/head/; revision=262136
* | Add a new flag to /etc/ttys: onifconsole. This is equivalent to "on" if theNathan Whitehorn2014-01-201-2/+5
|/ | | | | | | | | | | | 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
* mdoc: terminate quoted strings.Joel Dahl2012-03-261-2/+2
| | | | | | | Reviewed by: brueffer Notes: svn path=/head/; revision=233510
* Spelling fixes for libexec/Ulrich Spörlein2012-01-071-1/+1
| | | | Notes: svn path=/head/; revision=229780
* In libexec/getty/chat.c, replace && with & in chat_send(). The intentDimitry Andric2011-12-161-1/+1
| | | | | | | | | is to test if the CHATDEBUG_SEND bit is set in the chat_debug global. MFC after: 1 week Notes: svn path=/head/; revision=228582
* Add __unused. Ansi prototypes.Philippe Charnier2010-12-202-8/+6
| | | | Notes: svn path=/head/; revision=216582
* Add a new libc function: cfmakesane(3).Ed Schouten2010-11-021-5/+7
| | | | | | | | | | | | | | 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
* Phase out ttyslot(3).Ed Schouten2010-01-141-1/+0
| | | | | | | | | | | The ttyslot() function was originally part for SUSv1, marked LEGACY in SUSv2 and removed later on. This function only makes sense when using utmp(5), because it was used to determine the offset of the record for the controlling TTY. It makes little sense to keep it here, because the new utmpx file format doesn't index based on TTY slots. Notes: svn path=/head/; revision=202274
* Make WARNS=6 the default for libexec/.Ed Schouten2010-01-021-0/+2
| | | | | | | | | | | | | | | | | | Just like bin/ and sbin/, I think setting WARNS to the highest value possible will make it more attractive for people to fix warnings. - The WARNS variable is set in the Makefile in the directory of the application itself, making it more likely that it will be removed out of curiosity to see what happens. - New applications will most likely build with WARNS=6 out of the box, because the author would more likely fix the warnings during development than lower WARNS. Unfortunately almost all apps in libexec require a lowered value of WARNS. Notes: svn path=/head/; revision=201380
* Stop mentioning /usr/X11R6.Xin LI2007-07-241-1/+1
| | | | | | | Approved by: re (hrs) Notes: svn path=/head/; revision=171562
* Bump document date on behalf of a recent change.Ruslan Ermilov2005-06-141-1/+1
| | | | | | | Approved by: re (blanket) Notes: svn path=/head/; revision=147364
* Fixup of last commit: Use the name X instead of XFree86 for the server binary,Eivind Eklund2005-05-271-1/+1
| | | | | | | | | thus being compatible with both XFree86 and X.org. Noticed by: danfe Notes: svn path=/head/; revision=146672
* Make the example for using xterm as a login manager to match the X of theEivind Eklund2005-05-271-1/+1
| | | | | | | noughties, not eighties. Notes: svn path=/head/; revision=146666
* Include gettytab.h before extern.h so that the declarations of structStefan Farfeleder2005-04-064-5/+3
| | | | | | | gettyflags, gettynums and gettystrs are available. Notes: svn path=/head/; revision=144716
* Sort sections.Ruslan Ermilov2005-01-183-14/+14
| | | | Notes: svn path=/head/; revision=140414
* Report once that the device isn't there, but keep trying. Don'tWarner Losh2004-09-291-21/+14
| | | | | | | | filter the errno values. They don't make as much sense as they used to given how we do devices in /dev. Notes: svn path=/head/; revision=135941
* Nuke COMPAT_43Poul-Henning Kamp2004-06-251-150/+0
| | | | Notes: svn path=/head/; revision=131091
* Fixed a misspelling of 0 as NULL.Bruce Evans2004-03-141-1/+1
| | | | Notes: svn path=/head/; revision=126952
* Prototype defttymode() instead of just declaring it.Yaroslav Tykhiy2003-07-181-1/+1
| | | | Notes: svn path=/head/; revision=117738
* - Use the initial terminal mode instead of the current modeYaroslav Tykhiy2003-06-182-73/+64
| | | | | | | | | | | | | as the source of defaults for terminal device parameters. - Do duplucate code reduction and simplification enabled by the above. Reviewed by: green MFC after: 1 month Notes: svn path=/head/; revision=116533
* Improve the manpage language a bit.Yaroslav Tykhiy2003-06-171-1/+1
| | | | | | | | | | | A PPP login program is started _automatically_ (i.e., without human intervention) even with the "pl" capability unset, as soon as a PPP frame is detected. But with "pl" set, a PPP login program is started independently of the result of PPP detection (which is rendered unnecessary then,) i.e. _unconditionally_. Notes: svn path=/head/; revision=116482
* In the last clean-up of this code, the fact that the default tty modeBrian Feldman2003-06-141-6/+20
| | | | | | | | | | | information could only be gleaned from the the tty descriptor itself was neglected, so never did the tty's default settings get copied from the kernel. Specifically, this caused all manner of ctrl-keys to not work. Fix this by calling dogettytab() in all the proper places, and retrieving the terminfo temporarily in dogettytab(). Notes: svn path=/head/; revision=116329
* Read gettytab(5) soon enough to fill in all necessary values.Yaroslav Tykhiy2003-06-102-16/+40
| | | | | | | | | | | | Re-read gettytab(5) only if needed. This fixes bugs introduced as long ago as in getty/main.c rev.1.15. PR: bin/18181 MFC after: 1 month Notes: svn path=/head/; revision=116164
* Spot one more place where boolean variables were incrementedYaroslav Tykhiy2003-06-101-1/+1
| | | | | | | instead of just being assigned a truth value. Notes: svn path=/head/; revision=116155
* Coding style fix: Use "foo = 1" instead of "foo++" to assignYaroslav Tykhiy2003-06-101-2/+2
| | | | | | | | the truth value to a boolean variable, especially when inside a loop. The variable can overflow otherwise, at least in theory. Notes: svn path=/head/; revision=116154
* Break sentences.Yaroslav Tykhiy2003-06-101-4/+6
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=116153
* General mdoc(7) markup fixes:Yaroslav Tykhiy2003-06-101-61/+67
| | | | | | | | | | | | | | - Use .Va, not .Em, to mark up variable-like identifiers (capability and database entry names.) - Stop abusing .Tn (trademark) to emphasize general phrases. - Spot unmarked capability references. - Add a missing line break. Discussed with: ru MFC after: 1 week Notes: svn path=/head/; revision=116152
* Improve the language and markup of the description of the pp and plYaroslav Tykhiy2003-06-101-7/+18
| | | | | | | | | | | | | | | capabilities: - Mark up capability identifiers. - Don't squeeze much text into the capability table given the options will be described below in detail. - Keep the capability table sorted. - Use a consistent term for a PPP login program. MFC after: 1 week Notes: svn path=/head/; revision=116151
* The .Xr utilityPhilippe Charnier2003-06-081-2/+3
| | | | Notes: svn path=/head/; revision=116033
* Fix some minor bugs, namely:Yaroslav Tykhiy2003-06-061-3/+14
| | | | | | | | | | | | | | | | | | | | | | | - Initialize "rval", which would be used uninitialized if al or pl options were set. - Don't pass an empty string to login(1) as a user name (this could be triggered by entering a name and then killing it with backspace or ^U.) - Don't loop endlessly if the al option specifies a bogus (i.e., not alphanumeric) auto-login name. - Don't pass a bogus user name to login(1) if a good name were entered and then killed with ^U. - Exit with status 0, not 1, on receiving an EOF character, since it's not a error condition. MFC after: 1 week Notes: svn path=/head/; revision=115900
* mdoc(7) police: expand contraction.Ruslan Ermilov2003-02-231-1/+1
| | | | Notes: svn path=/head/; revision=111283
* Fix a typo (missed &&).Maxim Sobolev2003-01-201-1/+1
| | | | | | | Submitted by: marcus Notes: svn path=/head/; revision=109555
* Add a new gettytab(5) option - `pl', which if set tells getty that the lineMaxim Sobolev2003-01-194-4/+7
| | | | | | | | | | | | | in question is PPP-only line, i.e. no PPP-sequence detection is necessary and PPP login program referenced by `pp' should be started automatically instead of login(1) Feature suggested and sponsored by: United Networks of Ukraine No reply from: re MFC after: 2 weeks Notes: svn path=/head/; revision=109540
* Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/Jens Schweikhardt2002-12-301-1/+1
| | | | | | | Add FreeBSD Id tag where missing. Notes: svn path=/head/; revision=108470
* english(4) police.Jens Schweikhardt2002-12-271-1/+1
| | | | Notes: svn path=/head/; revision=108317