imp
bdb50fe3da
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.
2002-02-06 16:47:06 +00:00
imp
3a31f34af8
o __P removal
...
o remove register
o use strict prototypes
2002-02-06 16:38:40 +00:00
kris
eb02f726dd
Lock down with WFORMAT?=1, with overrides in the subdirectories which
...
are not yet warning-clean. Tested on i386 and alpha.
2002-02-04 02:33:51 +00:00
ru
09d142dfd5
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.
2001-08-07 15:48:51 +00:00
dd
c49a4e6620
Remove whitespace at EOL.
2001-07-15 07:53:42 +00:00
ru
4bbf421d15
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 10:49:54 +00:00
dd
978810079e
mdoc(7) police: remove extraneous .Pp before and/or after .Sh.
2001-07-09 09:54:33 +00:00
yar
9489eed755
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>
2001-06-07 13:53:23 +00:00
kris
bac894327b
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
2001-04-24 10:33:46 +00:00
ru
1ef340bf02
- Backout botched attempt to intoduce MANSECT feature.
...
- MAN[1-9] -> MAN.
2001-03-26 14:22:12 +00:00
ru
b1c3961564
mdoc(7) police: split punctuation characters + misc fixes.
2001-02-01 16:38:02 +00:00
ru
2ca7f0f2db
Prepare for mdoc(7)NG.
2001-01-16 09:15:57 +00:00
ru
372556ed3b
Prepare for mdoc(7)NG.
2000-12-20 13:26:01 +00:00
ru
d13355bd1f
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 14:42:24 +00:00
jwd
5b5ea05060
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
2000-11-19 02:10:25 +00:00
ben
354e118452
remove trailing periods from SEE ALSO.
2000-11-15 17:27:54 +00:00
ru
f9c7198049
Avoid use of direct troff requests in mdoc(7) manual pages.
2000-11-10 17:46:15 +00:00
wollman
5e8b712997
Don't depend on <sys/stat.h> bogusly including <sys/time.h> (and thereby
...
<time.h>).
2000-10-10 01:50:26 +00:00
nsayer
85c63edd7f
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
2000-07-31 23:47:57 +00:00
bde
4f913766a6
Changed setflags() to set_flags(). This fixes world breakage due to
...
recently incremented namespace pollution in <unistd.h>.
2000-01-28 07:12:03 +00:00
sheldonh
b870a5a3a1
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>
1999-12-06 09:07:14 +00:00
phantom
34985ba96d
Correct spelling : ascii -> ASCII
...
PR: docs/13702
Submitted by: Stephen J. Roznowski <sjr@home.com>
Reviewed by: mpp
1999-09-20 09:15:23 +00:00
peter
e226894fa0
$Id$ -> $FreeBSD$
1999-08-28 00:22:10 +00:00
brian
3794629aa4
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
1999-04-07 08:27:45 +00:00
peter
dfef9d33c9
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>
1999-04-04 04:36:50 +00:00
brian
9cc9bbf16e
Set the CPU resource limit back to infinity before exec()ing PP.
...
PR: 10399
1999-03-09 22:04:44 +00:00
jkh
639b1d931e
This thing has its own puts function, so use it.
...
Submitted by: Matthew Jacob <mjacob@nas.nasa.gov>
1998-10-08 23:14:02 +00:00
phk
6043c98f63
Getty is missing the speed table entry for 230400 baud.
...
PR: 7280
Reviewed by: phk
Submitted by: Craig Leres <leres@ee.lbl.gov>
1998-07-22 05:57:22 +00:00
phk
306618399a
Spelling fixes.
...
PR: 6903
Reviewed by: phk
Submitted by: Josh Gilliam <josh@quick.net>
1998-06-10 12:34:27 +00:00
steve
91b45ff170
Clarify use of 'if' capability.
...
PR: 6499
Submitted by: Doug Barton <Studded@san.rr.com>
1998-05-04 02:37:29 +00:00
charnier
9dfaff9e03
Correct incompletes .Xrs. Remove duplicate #includes and unused variables.
1997-11-21 07:43:53 +00:00
davidn
b19c2363ef
Fix botch with escaped characters, go back to using cgetstr().
...
For escaped characters used in modem strings, use double-backslashes
in gettytab.
PR: 4370
1997-09-03 01:05:36 +00:00
davidn
7f8db7b2c0
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
1997-09-01 10:06:05 +00:00
steve
dcf5fb8bfc
Turn off hyphenation in this manpage so that .Xr macros, don't get
...
split between lines.
PR: bin/4080
1997-08-23 16:22:30 +00:00
steve
35c7925e11
.Nm --> .Xr so that gettytab(5) is shown instead of gettytab 5.
...
PR: bin/4079
1997-08-17 16:36:41 +00:00
peter
1a608ac729
kill the undead
1997-07-13 14:26:00 +00:00
alex
9dd7582389
Removed unused variables.
1997-06-27 21:51:59 +00:00
davidn
0a87e6b1af
Reset alarm before invoking ppplogin.
...
PR: 3733
Reviewed by:
Submitted by: kfurge@worldnet.att.net
Obtained from:
1997-06-03 12:56:47 +00:00
davidn
a75de9672e
login.group => login.conf.
...
PR: 3748
Reviewed by:
Submitted by:
Obtained from:
1997-06-02 21:03:20 +00:00
davidn
64abf8d74d
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.
1997-05-11 10:25:38 +00:00
davidn
52eacdf9c6
Remove text about unsupported flags 'mdmbuf', 'local', 'crtscts' etc
...
that are in reality handled in gettytab.
Document the new 'dialin' and 'network' tty flags.
1997-04-13 21:29:50 +00:00
peter
bd20ff9351
Revert $FreeBSD$ to $Id$
1997-02-22 14:22:49 +00:00
davidn
4c7007a912
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.
1997-02-09 16:12:08 +00:00
davidn
a84501cc61
Increased username size to allow passing username:auth_method to
...
login.
1997-02-07 11:45:10 +00:00
davidn
1aa25cd154
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).
1997-02-02 14:43:32 +00:00
davidn
3addaf93e0
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.
1997-02-02 14:24:57 +00:00
davidn
ef8f934efc
Fix bug in %s, %m, %r and %v macros not displaying data.
1997-02-02 07:38:26 +00:00
jkh
9c0cd3f9df
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.
1997-01-14 07:20:47 +00:00
wosch
e902881dbf
Sort cross references.
1997-01-13 00:25:51 +00:00
davidn
1b2d31aac3
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.
1997-01-02 08:05:43 +00:00