elad
83057dc7cc
Don't chown/unlink uninitialized lockfile if not uugetty.
...
From Dr. Wolfgang Stukenbrock, PR/31040.
2005-09-10 21:29:36 +00:00
lukem
a8ce874400
Ensure rval is initialized before we try to check it; it won't be set
...
if AL or NN are in use.
Detected with gcc -Wuninitialized.
2005-06-01 15:50:00 +00:00
christos
057e8f6aa6
Support VEOL2 and VSTATUS
2005-05-21 17:18:51 +00:00
christos
00e4cd7dc0
print ptyfs ptys properly.
2005-03-17 01:25:40 +00:00
dsl
55d39107c6
Add (unsigned char) cast to ctype functions
2004-11-05 21:45:36 +00:00
christos
ce26902593
add const to cgetent arg.
2004-04-23 21:04:25 +00:00
agc
8e6ab8837d
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22284, verified by myself.
2003-08-07 09:46:37 +00:00
wiz
cb04db5a91
Bump date for "nn" capability.
2003-05-20 19:40:53 +00:00
thorpej
2c1e482672
Add a "nn" (no name) capability to getty. If set in gettytab, getty
...
will not prompt for a login name, and will not pass one along to the
login program. This can be used to accomodate login programs that have
an alternate way of selecting the user to log in.
2003-05-20 19:20:03 +00:00
itojun
c5f76786a4
use strlcpy
2003-05-17 21:18:46 +00:00
wiz
d6285bbf1d
Begin new sentences on new lines.
...
Patch from Robert Elz (kre at munnari oz au).
2002-09-29 14:05:52 +00:00
mycroft
aae6c28cf9
null commit
2002-09-23 12:44:34 +00:00
itojun
a9fc5f306a
poll.h, not sys/poll.h
2002-09-23 03:32:34 +00:00
mycroft
5580adb284
select() -> poll() and nanosleep()
2002-09-18 20:04:51 +00:00
wiz
7b9b4ac6f7
'environment', not 'enviroment'
2002-07-11 10:53:19 +00:00
wiz
93b02fcb18
Sort sections and fix punctuation nit.
2002-01-15 02:22:11 +00:00
wiz
b5fd5ad5b4
Sort sections and SEE ALSO.
2002-01-15 02:21:49 +00:00
wiz
ec1b82e5ef
Whitespace nits, sort sections.
2002-01-15 02:21:30 +00:00
christos
6b9ab756bd
PR/14941: David Querbach: add support for non-standard MS-Windows PPP client.
2001-12-14 15:06:13 +00:00
thorpej
5648feb374
ANSI'ify.
2001-11-10 17:35:54 +00:00
thorpej
db122da6a9
Const'ify partab[].
2001-11-10 17:20:52 +00:00
christos
1703d1eee6
Update to the new t_agetstr() API.
2001-11-02 18:27:00 +00:00
wiz
e44fde802b
Lowercase getty in xref. Whitespace fixes.
2001-04-04 09:55:48 +00:00
cgd
65a1026492
convert to use getprogname()
2001-02-19 22:43:42 +00:00
christos
c6a0145e30
remove redundant decls
...
fix nested extern
2001-02-04 22:09:01 +00:00
lukem
23e3351629
- don't use LOG_ODELAY; it's the default
...
- use LOG_WARNING (instead of LOG_ERR) for non-fatal errors
2001-01-10 00:36:44 +00:00
sommerfeld
ac8e2453b8
Add new :cs: modifier to gettytab which clears the screen using the
...
appropriate control sequence from termcap (based on the terminal type
listed in /etc/ttys for the line).
2000-12-28 22:18:27 +00:00
lukem
9fe3074a12
provide obvious example of line syntax
2000-11-07 07:02:18 +00:00
bjh21
d657c604d0
Clean-up of grotty SCCS workaround. It's now almost not grotty at all.
...
This is the last part of PR bin/10049.
2000-10-08 16:08:56 +00:00
bjh21
c10e667637
Don't run over the end of the banner buffer if it ends with '%'.
...
From PR bin/10049
2000-10-08 16:04:02 +00:00
mjl
4fdc259981
Use strlcpy/strlcat instead of strn* plus manual termination.
...
Use sizeof() instead of hardcoded length. Clean up NULL vs 0
confusion. sizeof(char) is 1, really.
2000-09-19 16:17:48 +00:00
garbled
f0b8e397bf
Change "Apart form" to "Apart from".
2000-09-04 06:39:03 +00:00
fair
bfd08c6ef7
Deal with PR 9427 - add wording to clarify what sending SIGHUP to init(8)
...
does and does not do. Also, while we're here, make the list of flags more
readable.
2000-05-17 09:22:11 +00:00
ad
3090e2a588
Put RCS ID in the right place.
2000-01-14 02:11:54 +00:00
ad
6aa5f51487
- Either QVT/Term or the NT 'clipboard' converts tabs to spaces. I pasted in
...
some code via QVT/Term. Sigh. Fix it.
- Teeny KNF nit.
2000-01-14 02:10:08 +00:00
ad
93f5a68033
Oops, fix previous.
2000-01-04 13:51:55 +00:00
ad
2a1297db0c
Add two new capabilities to gettytab - idea from FreeBSD:
...
al - user to auto-login as
if - banner file to display, like /etc/issue
2000-01-04 13:43:36 +00:00
drochner
d46a0af8c3
add one byte to the username character array and make sure the string
...
passed to "login" is '\0'-terminated
1999-12-15 17:41:48 +00:00
garbled
f124765044
More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
...
so we shouldn't override it with versions in the manpages. Many more to
come.
1999-03-22 18:25:43 +00:00
msaitoh
9d6a096335
sort SEE ALSO section by "sort | sort -n"
1999-02-28 20:13:41 +00:00
kml
ca59ae7c5c
Ensure that all of the initial message (im=) gets flushed to the
...
screen; previously, the last buffer worth of text would fail
to be printed.
1999-01-15 23:44:32 +00:00
tsarna
531aeb7c25
Add a "class" entry to ttyent. Closes PR#4638.
1999-01-15 18:47:48 +00:00
fair
bf3b9adb93
Document (or expand documentation about) the ability of getty(8) to
...
recognize a PPP bringup sequence and invoke something appropriate, per
PR#6462
1998-12-12 19:04:54 +00:00
scottr
9aad2a5d21
Grammar police: comprised of -> comprising
1998-11-14 22:22:49 +00:00
tsarna
13b21dc12c
Add PPP autodetect, based on code from FreeBSD via OpenBSD.
1998-10-12 18:03:48 +00:00
tsarna
c89a574ffa
Execute ttyaction on termination of rlogind/telnetd sessions.
...
Also, say a little bit about ttyaction in the getty and login manpages.
1998-08-29 17:31:55 +00:00
mrg
2beab49a06
- use an array MAXHOSTNAMELEN+1 size to hold hostnames
...
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames
1998-07-06 06:45:41 +00:00
fair
5ce6614a4f
fix bad .Xr references
1998-04-29 08:33:11 +00:00
hubertf
930085f3c8
Add note on how to re-read this file (via PR 5341 by David Brownlee)
1998-04-22 08:11:10 +00:00
ross
8c7509c9ef
Reference ttys(5). (David Brownlee, PR #5339 )
1998-04-22 04:54:19 +00:00