272461 |
03-Oct-2014 |
gjb |
Copy stable/10@r272459 to releng/10.1 as part of the 10.1-RELEASE process.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
267236 |
08-Jun-2014 |
nwhitehorn |
MFC r260913,266895: Add a new flag to /etc/ttys: onifconsole. This is equivalent to "on" if the 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. Set this flag on x86 systems for ttyu0.
Comments and suggestions by: grehan, dteske, jilles
|
262435 |
24-Feb-2014 |
brueffer |
MFC: r262136
Remove the 3rd clause ("advertising clause") of the BSD license as permitted by the University of Berkeley on July 22, 1999.
Reviewed by: imp
|
256281 |
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
233510 |
26-Mar-2012 |
joel |
mdoc: terminate quoted strings.
Reviewed by: brueffer
|
229780 |
07-Jan-2012 |
uqs |
Spelling fixes for libexec/
|
228582 |
16-Dec-2011 |
dim |
In libexec/getty/chat.c, replace && with & in chat_send(). The intent is to test if the CHATDEBUG_SEND bit is set in the chat_debug global.
MFC after: 1 week
|
216582 |
20-Dec-2010 |
charnier |
Add __unused. Ansi prototypes.
|
214680 |
02-Nov-2010 |
ed |
Add a new libc function: cfmakesane(3).
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_*.
|
213573 |
08-Oct-2010 |
uqs |
mdoc: drop redundant .Pp and .LP calls
They have no effect when coming in pairs, or before .Bl/.Bd
|
202274 |
14-Jan-2010 |
ed |
Phase out ttyslot(3).
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.
|
201380 |
02-Jan-2010 |
ed |
Make WARNS=6 the default for libexec/.
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.
|
171562 |
24-Jul-2007 |
delphij |
Stop mentioning /usr/X11R6.
Approved by: re (hrs)
|
147364 |
14-Jun-2005 |
ru |
Bump document date on behalf of a recent change.
Approved by: re (blanket)
|
146672 |
27-May-2005 |
eivind |
Fixup of last commit: Use the name X instead of XFree86 for the server binary, thus being compatible with both XFree86 and X.org.
Noticed by: danfe
|
146666 |
27-May-2005 |
eivind |
Make the example for using xterm as a login manager to match the X of the noughties, not eighties.
|
144716 |
06-Apr-2005 |
stefanf |
Include gettytab.h before extern.h so that the declarations of struct gettyflags, gettynums and gettystrs are available.
|
140414 |
18-Jan-2005 |
ru |
Sort sections.
|
135941 |
29-Sep-2004 |
imp |
Report once that the device isn't there, but keep trying. Don't filter the errno values. They don't make as much sense as they used to given how we do devices in /dev.
|
131091 |
25-Jun-2004 |
phk |
Nuke COMPAT_43
|
126952 |
14-Mar-2004 |
bde |
Fixed a misspelling of 0 as NULL.
|
117738 |
18-Jul-2003 |
yar |
Prototype defttymode() instead of just declaring it.
|
116533 |
18-Jun-2003 |
yar |
- Use the initial terminal mode instead of the current mode 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
|
116482 |
17-Jun-2003 |
yar |
Improve the manpage language a bit. 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_.
|
116329 |
14-Jun-2003 |
green |
In the last clean-up of this code, the fact that the default tty mode 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().
|
116164 |
10-Jun-2003 |
yar |
Read gettytab(5) soon enough to fill in all necessary values. 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
|
116155 |
10-Jun-2003 |
yar |
Spot one more place where boolean variables were incremented instead of just being assigned a truth value.
|
116154 |
10-Jun-2003 |
yar |
Coding style fix: Use "foo = 1" instead of "foo++" to assign the truth value to a boolean variable, especially when inside a loop. The variable can overflow otherwise, at least in theory.
|
116153 |
10-Jun-2003 |
yar |
Break sentences.
MFC after: 1 week
|
116152 |
10-Jun-2003 |
yar |
General mdoc(7) markup fixes:
- 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
|
116151 |
10-Jun-2003 |
yar |
Improve the language and markup of the description of the pp and pl 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
|
116033 |
08-Jun-2003 |
charnier |
The .Xr utility
|
115900 |
06-Jun-2003 |
yar |
Fix some minor bugs, namely:
- 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
|
111283 |
23-Feb-2003 |
ru |
mdoc(7) police: expand contraction.
|
109555 |
20-Jan-2003 |
sobomax |
Fix a typo (missed &&).
Submitted by: marcus
|
109540 |
19-Jan-2003 |
sobomax |
Add a new gettytab(5) option - `pl', which if set tells getty that the line 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
|
108470 |
30-Dec-2002 |
schweikh |
Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/ Add FreeBSD Id tag where missing.
|
108317 |
27-Dec-2002 |
schweikh |
english(4) police.
|
108221 |
23-Dec-2002 |
ru |
Fixed the abuses of .Ql visible on stderr in troff mode.
PR: docs/37176
|
101828 |
13-Aug-2002 |
ru |
mdoc(7) police: Removed redundant .Ns calls.
|
99500 |
06-Jul-2002 |
charnier |
The .Nm utility
|
91216 |
25-Feb-2002 |
bde |
#include <sys/time.h> instead of depending on namespace pollution in <sys/stat.h> for its prerequisite <sys/time.h>.
Removed a duplicated include. Sorted includes.
|
91214 |
25-Feb-2002 |
bde |
Removed unused include of <sys/resource.h> instead of depending on namespace pollution only 1 layer deep in <sys/stat.h> for its prerequisite <sys/time.h>
Removed other unused includes.
|
90302 |
06-Feb-2002 |
imp |
Remove some unused variables, mark unused parameters as unused and change names of variables that shadow globally declared variables. This should help people doing later WARNS= fixes.
|
90301 |
06-Feb-2002 |
imp |
o __P removal o remove register o use strict prototypes
|
90164 |
04-Feb-2002 |
kris |
Lock down with WFORMAT?=1, with overrides in the subdirectories which are not yet warning-clean. Tested on i386 and alpha.
|
81251 |
07-Aug-2001 |
ru |
mdoc(7) police:
Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text. Not only this slows down the mdoc(7) processing significantly, but it also has an undesired (in this case) effect of disabling hyphenation within the entire enclosed block.
|
79754 |
15-Jul-2001 |
dd |
Remove whitespace at EOL.
|
79529 |
10-Jul-2001 |
ru |
mdoc(7) police: removed HISTORY info from the .Os call.
|
79454 |
09-Jul-2001 |
dd |
mdoc(7) police: remove extraneous .Pp before and/or after .Sh.
|
77874 |
07-Jun-2001 |
yar |
Add 'df' string to gettytab - the strftime(3) format for %d in the banner messages (of course, defaults to "%+").
Submitted by: Gleb Smirnoff <glebius@tak.estra.ru>
|
75905 |
24-Apr-2001 |
kris |
Replace a strcat() with a strlcat(). Partial sync with OpenBSD; more work is needed.
Submitted by: "Andrew R. Reiter" <arr@watson.org> Obtained from: OpenBSD
|
74814 |
26-Mar-2001 |
ru |
- Backout botched attempt to intoduce MANSECT feature. - MAN[1-9] -> MAN.
|
71895 |
01-Feb-2001 |
ru |
mdoc(7) police: split punctuation characters + misc fixes.
|
71099 |
16-Jan-2001 |
ru |
Prepare for mdoc(7)NG.
|
70227 |
20-Dec-2000 |
ru |
Prepare for mdoc(7)NG.
|
68949 |
20-Nov-2000 |
ru |
mdoc(7) police: use the new features of the Nm macro.
|
68888 |
19-Nov-2000 |
jwd |
Check return code from login_tty. Allow getty to try and become a daemon and session leader (thus allowing getty to be run from a shell command line or script).
Partially Reviewed by: bde
|
68756 |
15-Nov-2000 |
ben |
remove trailing periods from SEE ALSO.
|
68575 |
10-Nov-2000 |
ru |
Avoid use of direct troff requests in mdoc(7) manual pages.
|
66907 |
10-Oct-2000 |
wollman |
Don't depend on <sys/stat.h> bogusly including <sys/time.h> (and thereby <time.h>).
|
64076 |
31-Jul-2000 |
nsayer |
Add 'nc' flag to gettytab -- no carrier. Forces non-blocking open and setting of CLOCAL. Necessary for 3 wire RS-232 setups with dumb terminals.
PR: 5959
|
56725 |
28-Jan-2000 |
bde |
Changed setflags() to set_flags(). This fixes world breakage due to recently incremented namespace pollution in <unistd.h>.
|
54199 |
06-Dec-1999 |
sheldonh |
Correct the ttys.5 and init.8 manpages with respect to the incorrect assumption that only getty processes can be managed. Describe the SysV-like ability to keep arbitrary long-running processes alive using a non-device first field in /etc/ttys.
PR: 12767 Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
|
51457 |
20-Sep-1999 |
phantom |
Correct spelling : ascii -> ASCII
PR: docs/13702 Submitted by: Stephen J. Roznowski <sjr@home.com> Reviewed by: mpp
|
50476 |
28-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
45422 |
07-Apr-1999 |
brian |
Ensure that things returned by gethostname() and friends are terminated and allow for a maximum host name length of MAXHOSTNAMELEN - 1. Put parenthesis around sizeof args. Make some variables static. Fix telnetd -u (broken by my last commit)
Prompted by: bde
|
45291 |
04-Apr-1999 |
peter |
Add an 'al' (autologin username) capability to getty/gettytab. This is a damn useful thing for using with serial consoles in clusters etc or secure console locations. Using a custom gettytab entry for console with an entry like 'al=root' means that there is *always* a root login ready on the console. This should replace hacks like those which go with conserver etc. (This is a loaded gun, watch out for those feet!)
Submitted by: "Andrew J. Korty" <ajk@purdue.edu>
|
44615 |
09-Mar-1999 |
brian |
Set the CPU resource limit back to infinity before exec()ing PP. PR: 10399
|
40083 |
08-Oct-1998 |
jkh |
This thing has its own puts function, so use it. Submitted by: Matthew Jacob <mjacob@nas.nasa.gov>
|
37817 |
22-Jul-1998 |
phk |
Getty is missing the speed table entry for 230400 baud. PR: 7280 Reviewed by: phk Submitted by: Craig Leres <leres@ee.lbl.gov>
|
36853 |
10-Jun-1998 |
phk |
Spelling fixes.
PR: 6903 Reviewed by: phk Submitted by: Josh Gilliam <josh@quick.net>
|
35665 |
04-May-1998 |
steve |
Clarify use of 'if' capability.
PR: 6499 Submitted by: Doug Barton <Studded@san.rr.com>
|
31331 |
21-Nov-1997 |
charnier |
Correct incompletes .Xrs. Remove duplicate #includes and unused variables.
|
29045 |
03-Sep-1997 |
davidn |
Fix botch with escaped characters, go back to using cgetstr(). For escaped characters used in modem strings, use double-backslashes in gettytab. PR: 4370
|
29003 |
01-Sep-1997 |
davidn |
Use cgetustr() since we handled special escapes ourselves. Fix typo in escape parsing function. PR: 4370 Submitted by: sumii@is.s.u-tokyo.ac.jp
|
28626 |
23-Aug-1997 |
steve |
Turn off hyphenation in this manpage so that .Xr macros, don't get split between lines.
PR: bin/4080
|
28316 |
17-Aug-1997 |
steve |
.Nm --> .Xr so that gettytab(5) is shown instead of gettytab 5.
PR: bin/4079
|
27369 |
13-Jul-1997 |
peter |
kill the undead
|
26999 |
27-Jun-1997 |
alex |
Removed unused variables.
|
26415 |
03-Jun-1997 |
davidn |
Reset alarm before invoking ppplogin. PR: 3733 Reviewed by: Submitted by: kfurge@worldnet.att.net Obtained from:
|
26398 |
02-Jun-1997 |
davidn |
login.group => login.conf. PR: 3748 Reviewed by: Submitted by: Obtained from:
|
25709 |
11-May-1997 |
davidn |
Fix memory leak caused by not freeing memory returned by cgetstr() calls. The cost is a little more up-front memory allocation, but the effect seems minimal.
Problem noticed-by: bde
Added syslog at LOG_ERR when referencing an unknown gettytab entry and for other cgetent() failues (circular reference et al).
To be merged into 2.2 after a few days testing.
|
24906 |
13-Apr-1997 |
davidn |
Remove text about unsupported flags 'mdmbuf', 'local', 'crtscts' etc that are in reality handled in gettytab.
Document the new 'dialin' and 'network' tty flags.
|
22989 |
22-Feb-1997 |
peter |
Revert $FreeBSD$ to $Id$
|
22491 |
09-Feb-1997 |
davidn |
Tidy-up modem-chat handling: ensure tty modes are restored to 'sane' standard (not raw) settings before abort/exiting; move responsibility of setting raw mode for chat-handling out of chat.c to avoid doing redundant tc{s,g}etattr()s; move DE pause prior setting standard mode before issue/login prompt to avoid echoing modem connect strings. Fixed up comment styles in a couple of places.
|
22400 |
07-Feb-1997 |
davidn |
Increased username size to allow passing username:auth_method to login.
|
22211 |
02-Feb-1997 |
davidn |
Make username size dependant on MAXLOGNAME in sys/param.h. Was previously hard-coded at 16 characters (and possibly overflowing the field when NUL terminating a username of exactly 16 characters in length).
|
22208 |
02-Feb-1997 |
davidn |
Added: ic=expect/send script modem init script ac=expect/send script modem answer script ct#val chat script timeout (seconds) rt#val recycle timeout (seconds) if 'ac' set dc#val debug bitmask for debugging chat scripts hw (boolean) enable crtscts handshaking if=path 'issue' file sent prior login prompt
chat.c is a simplistic expect/send chat module.
|
22199 |
02-Feb-1997 |
davidn |
Fix bug in %s, %m, %r and %v macros not displaying data.
|
21673 |
14-Jan-1997 |
jkh |
Make the long-awaited change from $Id$ to $FreeBSD$
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.
|
21635 |
13-Jan-1997 |
wosch |
Sort cross references.
|
21189 |
02-Jan-1997 |
davidn |
Added group= facility to /etc/ttys for tty grouping for more 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.
|
21120 |
31-Dec-1996 |
msmith |
Add a new 'de' capability, specifying a number of seconds to sleep before emitting the initial prompt.
This is useful in a number of circumstances : - you have (a) stupid modem(s) that assert(s) DCD too soon. - you have dialin users with stupid diallers and poorly written chatscripts. (esp. some Winsock diallers)
BSD/OS also has this capability.
Submitted by: damian@cablenet.net (Damian Hamill)
|
20486 |
14-Dec-1996 |
mpp |
Correct some xrefs/mlinks.
|
19699 |
13-Nov-1996 |
pst |
remove newly added reference to ppplogin
|
19697 |
13-Nov-1996 |
pst |
Add the >optional< ability to sense PPP link bringups and call an authentication program
|
18419 |
20-Sep-1996 |
bde |
This should have gone away with the COMPAT_43 cruft. cgetent() is now used instead of the rudimentary routines here.
|
17797 |
23-Aug-1996 |
mpp |
Use the .Bx macro where appropriate.
|
15659 |
07-May-1996 |
ache |
Replace non-POSIX speed setting by POSIX one
|
15645 |
05-May-1996 |
joerg |
Finally commit the changes that make getty(8) no longer depend on the COMPAT_43 cruft. This is supposedly the last core utility that has been using it! (So now, one should be able to remove this option from the config files. Be aware that the last officially released xterm however still requires it.)
The getty has been running now for several weeks on my modem line, so i feel safe about it.
Obtained from: mostly from the NetBSD vendor-branch
|
15250 |
13-Apr-1996 |
joerg |
This commit was generated by cvs2svn to compensate for changes in r15249, which included commits to RCS files with non-trunk default branches.
|
15101 |
07-Apr-1996 |
joerg |
This commit was generated by cvs2svn to compensate for changes in r15100, which included commits to RCS files with non-trunk default branches.
|
13123 |
30-Dec-1995 |
peter |
This commit was generated by cvs2svn to compensate for changes in r13122, which included commits to RCS files with non-trunk default branches.
|
13122 |
30-Dec-1995 |
peter |
recording cvs-1.6 file death
|
9875 |
03-Aug-1995 |
jkh |
Back this change out. It's just not worth arguing over and any further emails I get on this topic will go straight to /dev/null. This is absolutely the last word on this topic you'll see from me. Too much time has already been wasted.
|
9839 |
01-Aug-1995 |
jkh |
A useful aid.. Add support for:
%r: current release %m: machine architecture type (i386 for now) %s: OS name (FreeBSD)
from uname() in banner string.
|
9651 |
23-Jul-1995 |
ache |
Change hardcoded 15 (which means 38400) to B115200 which is 17
|
8870 |
30-May-1995 |
rgrimes |
Remove trailing whitespace.
|
7317 |
24-Mar-1995 |
ache |
Fix truncating hostname using MAXHOSTNAMELEN Submitted by: Jan Conard <charly@fachschaften.tu-muenchen.de>
|
6440 |
15-Feb-1995 |
ats |
Add a description for the np flag.
|
2845 |
18-Sep-1994 |
dg |
Fix from John Kohl:
/usr/libexec/getty doesn't properly interpret the '%d' escape. It tries to use %P to get AM or PM, but instead all it gets is "P".
Submitted by: John Kohl
|
2391 |
29-Aug-1994 |
ache |
Ignore SIGQUITs, cause getty dumps core on garbadge from modem line
|
2287 |
26-Aug-1994 |
jkh |
Whoops - forgot to add this guy. Reviewed by: Submitted by: jkh
|
2286 |
26-Aug-1994 |
jkh |
Replace this with the 1.1.5.1 getty. David says that the 4.4 version is too broken to live. Submitted by: jkh
|
2223 |
22-Aug-1994 |
guido |
Implement fbtab ala SunSO. Could not compile it (on thud) because ttychar.h was still broken. Reviewed by: Submitted by: guido
|
1875 |
05-Aug-1994 |
wollman |
Update to new make macros and disable Kerberos because we haven't got it set up right yet.
|
1593 |
27-May-1994 |
rgrimes |
This commit was generated by cvs2svn to compensate for changes in r1592, which included commits to RCS files with non-trunk default branches.
|