summaryrefslogtreecommitdiff
path: root/daemons/getty.c
AgeCommit message (Collapse)Author
2014-02-05daemons/getty: always print a newline before the bannerJustus Winter
* daemons/getty.c (load_banner): Drop first newline from default banner. (print_banner): Print a newline.
2014-01-31daemons/getty: display /etc/issue if availableJustus Winter
Previously, a banner was hardcoded in Hurds getty. Load /etc/issue instead. Fall back to a hardcoded version if that fails. Expand common \char sequences. If no /etc/issue is provided, the old behavior is retained. * daemons/getty.c (load_banner): New function. (print_banner): Expand \char sequences.
2007-12-112007-12-11 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge
* getty.c (main) <execl>: Correctly specify sentinels to avoid GCC 4.3 warnings.
2002-09-152002-09-15 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* getty.c: Include <termios.h>. (set_speed): New function. (main): Take linespec from argc[1], not argc[2]. Call set_speed.
1999-09-281999-09-23 Mark Kettenis <kettenis@gnu.org>Thomas Bushnell
* getty.c (main): Report an error if login_tty failed.
1999-09-221999-09-22 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* getty.c: Undo last change.
1999-09-221999-09-22 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* getty.c (main): Make TTY our controlling terminal with TIOCSCTTY.
1999-09-191999-07-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* getty.c: Include <utmp.h> for login_tty decl.
1998-07-201998-07-19 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* getty.c: Include <string.h> for basename decl.
1996-07-20(main): Get the tty name from the right element in ARGV.Miles Bader
1996-07-07(print_banner): Use basename instead of rolling our own.Miles Bader
1996-07-06(print_banner): Don't include directory in terminal name.Michael I. Bushnell
1996-07-06(print_banner): Use localhost instead of grotty loop. Make static.Miles Bader
(main): Use syslog instead of error to report exec failure.
1996-07-06Include <sys/utsname.h> and <stdlib.h>.Michael I. Bushnell
(main): Return something.
1996-07-06(print_banner): New function.Michael I. Bushnell
(main): Call print_banner.
1996-07-01Don't test for dialups if TT == 0.Miles Bader
1996-07-01(main):Miles Bader
Don't time out hardwired lines. Print an error if exec fails.
1996-06-27(main): Repair loop.Michael I. Bushnell
1996-06-17Initial revisionMichael I. Bushnell