summaryrefslogtreecommitdiff
path: root/libexec/getty
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tagrelease/3.2.0_cvscvs2svn1999-05-2411-11/+11
| | | | | | | 'RELENG_3_2_0_RELEASE'. This commit was manufactured to restore the state of the 3.2-RELEASE image. Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
* MFC: Use realhostname() and trimdomain().Brian Somers1999-05-024-5/+6
| | | | | | | | | | main() returns int Silence egcs (yeah, I know....) Reprompt if given an empty login name in uucpd Correct errno handling in uucpd. Notes: svn path=/stable/3/; revision=46281
* MFC rev 1.24 - reset rlimits for ppploginPeter Wemm1999-04-071-1/+4
| | | | | | | PR: 10399 Notes: svn path=/stable/3/; revision=45417
* MFC: al=username autologin supportPeter Wemm1999-04-074-7/+27
| | | | | | | Submitted by: "Andrew J. Korty" <ajk@purdue.edu> Notes: svn path=/stable/3/; revision=45416
* This thing has its own puts function, so use it.Jordan K. Hubbard1998-10-081-1/+3
| | | | | | | Submitted by: Matthew Jacob <mjacob@nas.nasa.gov> Notes: svn path=/head/; revision=40083
* Getty is missing the speed table entry for 230400 baud.Poul-Henning Kamp1998-07-221-2/+3
| | | | | | | | | PR: 7280 Reviewed by: phk Submitted by: Craig Leres <leres@ee.lbl.gov> Notes: svn path=/head/; revision=37817
* Spelling fixes.Poul-Henning Kamp1998-06-101-2/+2
| | | | | | | | | PR: 6903 Reviewed by: phk Submitted by: Josh Gilliam <josh@quick.net> Notes: svn path=/head/; revision=36853
* Clarify use of 'if' capability.Steve Price1998-05-041-5/+6
| | | | | | | | PR: 6499 Submitted by: Doug Barton <Studded@san.rr.com> Notes: svn path=/head/; revision=35665
* Correct incompletes .Xrs. Remove duplicate #includes and unused variables.Philippe Charnier1997-11-217-52/+58
| | | | Notes: svn path=/head/; revision=31331
* Fix botch with escaped characters, go back to using cgetstr().David Nugent1997-09-031-3/+3
| | | | | | | | | For escaped characters used in modem strings, use double-backslashes in gettytab. PR: 4370 Notes: svn path=/head/; revision=29045
* Use cgetustr() since we handled special escapes ourselves.David Nugent1997-09-012-5/+5
| | | | | | | | | Fix typo in escape parsing function. PR: 4370 Submitted by: sumii@is.s.u-tokyo.ac.jp Notes: svn path=/head/; revision=29003
* Turn off hyphenation in this manpage so that .Xr macros, don't getSteve Price1997-08-231-1/+3
| | | | | | | | | split between lines. PR: bin/4080 Notes: svn path=/head/; revision=28626
* .Nm --> .Xr so that gettytab(5) is shown instead of gettytab 5.Steve Price1997-08-171-2/+2
| | | | | | | PR: bin/4079 Notes: svn path=/head/; revision=28316
* kill the undeadPeter Wemm1997-07-131-54/+0
| | | | Notes: svn path=/head/; revision=27369
* Removed unused variables.Alexander Langer1997-06-271-4/+1
| | | | Notes: svn path=/head/; revision=26999
* Reset alarm before invoking ppplogin.David Nugent1997-06-031-1/+3
| | | | | | | | | | PR: 3733 Reviewed by: Submitted by: kfurge@worldnet.att.net Obtained from: Notes: svn path=/head/; revision=26415
* login.group => login.conf.David Nugent1997-06-021-2/+2
| | | | | | | | | | PR: 3748 Reviewed by: Submitted by: Obtained from: Notes: svn path=/head/; revision=26398
* Fix memory leak caused by not freeing memory returned by cgetstr()David Nugent1997-05-111-8/+80
| | | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=25709
* Remove text about unsupported flags 'mdmbuf', 'local', 'crtscts' etcDavid Nugent1997-04-131-16/+9
| | | | | | | | | that are in reality handled in gettytab. Document the new 'dialin' and 'network' tty flags. Notes: svn path=/head/; revision=24906
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-2211-11/+11
| | | | Notes: svn path=/head/; revision=22989
* Tidy-up modem-chat handling: ensure tty modes are restored toDavid Nugent1997-02-092-44/+40
| | | | | | | | | | | | '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. Notes: svn path=/head/; revision=22491
* Increased username size to allow passing username:auth_method toDavid Nugent1997-02-071-1/+1
| | | | | | | login. Notes: svn path=/head/; revision=22400
* Make username size dependant on MAXLOGNAME in sys/param.h. WasDavid Nugent1997-02-021-2/+2
| | | | | | | | | previously hard-coded at 16 characters (and possibly overflowing the field when NUL terminating a username of exactly 16 characters in length). Notes: svn path=/head/; revision=22211
* Added:David Nugent1997-02-028-54/+852
| | | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=22208
* Fix bug in %s, %m, %r and %v macros not displaying data.David Nugent1997-02-021-1/+5
| | | | Notes: svn path=/head/; revision=22199
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-1410-10/+10
| | | | | | | | | | | 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. Notes: svn path=/head/; revision=21673
* Sort cross references.Wolfram Schneider1997-01-131-4/+4
| | | | Notes: svn path=/head/; revision=21635
* Added group= facility to /etc/ttys for tty grouping for moreDavid Nugent1997-01-021-10/+26
| | | | | | | | | | | 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
* Add a new 'de' capability, specifying a number of seconds to sleep beforeMike Smith1996-12-314-5/+15
| | | | | | | | | | | | | | | | 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) Notes: svn path=/head/; revision=21120
* Correct some xrefs/mlinks.Mike Pritchard1996-12-141-5/+5
| | | | Notes: svn path=/head/; revision=20486
* remove newly added reference to ppploginPaul Traina1996-11-131-2/+1
| | | | Notes: svn path=/head/; revision=19699
* Add the >optional< ability to sense PPP link bringups and call an ↵Paul Traina1996-11-134-7/+62
| | | | | | | authentication program Notes: svn path=/head/; revision=19697
* This should have gone away with the COMPAT_43 cruft. cgetent() is nowBruce Evans1996-09-201-339/+0
| | | | | | | used instead of the rudimentary routines here. Notes: svn path=/head/; revision=18419
* Use the .Bx macro where appropriate.Mike Pritchard1996-08-231-2/+3
| | | | Notes: svn path=/head/; revision=17797
* Replace non-POSIX speed setting by POSIX oneAndrey A. Chernov1996-05-071-2/+3
| | | | Notes: svn path=/head/; revision=15659
* Finally commit the changes that make getty(8) no longer depend on theJoerg Wunsch1996-05-0510-355/+803
| | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=15645
* This commit was generated by cvs2svn to compensate for changes in r15249,Joerg Wunsch1996-04-131-2/+3
|\ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=15250
| * Import NetBSD's termios'ed getty into a vendor branch.Joerg Wunsch1996-04-1310-0/+2363
| | | | | | | Obtained from: NetBSD 1.1R Notes: svn path=/vendor/NetBSD/dist/; revision=15249
* Import the 4.4Lite2 getty into a vendor branch.Joerg Wunsch1996-04-072-0/+110
| | | | Notes: svn path=/vendor/CSRG/dist/; revision=15100
* This commit was generated by cvs2svn to compensate for changes in r13122,Peter Wemm1995-12-302-110/+0
| | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=13123
* recording cvs-1.6 file deathPeter Wemm1995-12-301-93/+0
| | | | Notes: svn path=/cvs2svn/branches/ATT/; revision=13122
* Back this change out. It's just not worth arguing over and any further emailsJordan K. Hubbard1995-08-032-35/+4
| | | | | | | | | 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. Notes: svn path=/head/; revision=9875
* A useful aid.. Add support for:Jordan K. Hubbard1995-08-012-4/+35
| | | | | | | | | | | %r: current release %m: machine architecture type (i386 for now) %s: OS name (FreeBSD) from uname() in banner string. Notes: svn path=/head/; revision=9839
* Change hardcoded 15 (which means 38400) to B115200 which is 17Andrey A. Chernov1995-07-231-2/+1
| | | | Notes: svn path=/head/; revision=9651
* Remove trailing whitespace.Rodney W. Grimes1995-05-302-2/+2
| | | | Notes: svn path=/head/; revision=8870
* Fix truncating hostname using MAXHOSTNAMELENAndrey A. Chernov1995-03-241-1/+2
| | | | | | | Submitted by: Jan Conard <charly@fachschaften.tu-muenchen.de> Notes: svn path=/head/; revision=7317
* Add a description for the np flag.Andreas Schulz1995-02-151-0/+1
| | | | Notes: svn path=/head/; revision=6440
* Fix from John Kohl:David Greenman1994-09-181-1/+1
| | | | | | | | | | /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 Notes: svn path=/head/; revision=2845
* Ignore SIGQUITs, cause getty dumps core on garbadge from modem lineAndrey A. Chernov1994-08-291-1/+1
| | | | Notes: svn path=/head/; revision=2391
* Whoops - forgot to add this guy.Jordan K. Hubbard1994-08-261-0/+339
| | | | | | | | Reviewed by: Submitted by: jkh Notes: svn path=/head/; revision=2287