Commit Graph

134 Commits

Author SHA1 Message Date
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
fair 3b04f8e0b1 Add .Xr ttyaction 3 per PR#4647 1998-04-10 09:31:55 +00:00
mrg d5088f6ab0 remove register. 1998-03-30 01:52:02 +00:00
cjs 9308c6c2e1 Add uugetty manpage link. 1998-03-28 06:10:32 +00:00
perry 6982982f8d macroize BSD, NetBSD, FreeBSD and misc cleanup 1998-02-06 05:39:31 +00:00
perry 2ec6474b31 RCSID Police. 1998-01-06 04:44:59 +00:00
thorpej 8cbf1ce96f Const'ify some things, rename local puts() to xputs(), since it has
a different prototype than the one in <stdio.h>
1997-11-18 21:29:11 +00:00
enami 4bdefdde9f Fix .Nm usage. 1997-10-20 02:36:06 +00:00
cjs fd97c4a995 Add uugetty capability. 1997-10-19 23:46:07 +00:00
mrg 2268d2dfb3 merge lite-2 Makefiles (rcsids), and turn on WARNS for all of libexec. 1997-10-08 09:07:11 +00:00
mikel 2db7de74e1 set WARNS?=1 1997-08-06 07:23:34 +00:00
mikel 64521eb343 use <sys/cdefs.h> __COPYRIGHT() and __RCSID() macros
prototype internal functions and eliminate old function declarations
misc cleanup (gcc -Wall) and KNF
1997-08-06 07:22:24 +00:00
mikel a6da6f6585 don't include <signal.h> twice 1997-08-06 05:40:28 +00:00
perry 365cb9dcc8 clean up .Nm entries, and change a silly .Nm gettytab 5 to an .Xr 1997-07-31 00:06:20 +00:00
mikel 866447fc67 xref gethostname(3) and uname(3) instead of obsolete gethostname(2)
and uname(2); some other minor cleanup
1997-07-14 01:29:56 +00:00
tls 80eef670d5 fix a couple of unlikely buffer overflows. 1997-04-29 21:01:54 +00:00
mouse 80c0d60f84 alternate -> alternative, per PR 2643 1997-03-08 13:47:08 +00:00
gwr d2ae1a2c2f After the chown(ttyn, 0, 0), call ttyaction(ttyn, "getty", "root") 1996-11-14 19:25:50 +00:00
thorpej 4d99eaeb74 Don't truncate long hostnames.
From SAITOH Masanobu <msaitoh@spa.is.uec.ac.jp>, PR #2676.
1996-09-27 02:15:35 +00:00
explorer 036dc5d351 fix extra Ta strings in man page. closes pr bin/2685 1996-08-11 04:24:57 +00:00
thorpej 3ff0b1a74c RCS id police. 1996-07-31 20:33:02 +00:00
jtc 01120f4477 Updated to use <util.h>.
From Greg Hudson <ghudson@MIT.EDU>.
1996-05-15 23:46:50 +00:00
mycroft c16462643c Make sure that the user name cannot ever be interpreted as an option to
login(8).  Note: This does *not* fix any security holes.
1996-02-08 06:19:14 +00:00
mycroft d31086db17 Update from kernel source. 1995-10-05 08:51:31 +00:00
mycroft 4a508a1252 Change to use SET(), CLR(), and ISSET() macros. Copy current sgtty->termios
conversion code from kernel.
1995-10-05 07:16:25 +00:00
mycroft a38b5c448f Fix some other problems created during the termios switch. 1995-10-05 00:54:45 +00:00
mycroft 2da76ff341 Simulate the old newline behaviour better, and make sure OPOST
is set if needed.
1995-10-05 00:40:33 +00:00
cgd 6c5f148828 log open failure every 10th try (that was the old behaviour) UNLESS
the error is ENXIO and it's already been logged.  (this allows people
to leave getty's running on nonexistent devices without filling their
syslog.  while it's arguable that that might not be a good idea, i've
found it to be _very_ useful, because it allows me to rdist /etc/ttys.)
1995-08-13 04:08:27 +00:00
jtc 1847eaed9f sys/termios.h -> termios.h 1995-06-19 22:47:37 +00:00
cgd ae9172d6cd specify man pages the new way. 1994-12-22 09:57:51 +00:00
mycroft 206b57f8c9 Minor tweak to aid cross-compiling. 1994-09-24 01:02:51 +00:00
mycroft 4fb5f48ce0 Remove old comment about converting to termios. 1994-09-24 00:56:05 +00:00
mycroft 7e59c0d1fc Fix typo in date format. 1994-09-18 00:14:39 +00:00
mycroft 6386e4b6a5 Document the % escapes I added, and clean up the description of %h a bit. 1994-09-16 22:02:34 +00:00
pk 6b619f18ed Use tcflush(). 1994-09-05 09:09:43 +00:00
pk 437ee32a52 Set control flags properly while in read mode.
Supply process ID when syslogging.
1994-09-05 08:52:49 +00:00
mycroft 2f65aa5da5 Fix pad insertion for termios. 1994-08-24 16:42:23 +00:00
mycroft 4695fa8444 Use _POSIX_VDISABLE, not \377. 1994-08-24 16:39:24 +00:00
mycroft d72774f29d Use cfset[io]speed() to set termios speeds, per POSIX. 1994-08-24 07:54:50 +00:00
pk 4bba3e65c6 The man page says to disable input parity checking if `ap' is on. 1994-08-17 20:27:59 +00:00
pk fe82241620 Cleanup import, merge local changes. 1994-08-17 20:10:27 +00:00
pk 1ea392708b Import 4.4-Lite version. 1994-08-17 19:50:13 +00:00
pk 462fa7ef48 Handle parity stuff more sensibly; `ep' and `op' take precedence over `ap'.
Update tty_compat().
1994-08-15 15:46:44 +00:00
cgd e3926c6721 fix formatting bogon 1994-04-29 21:48:49 +00:00
pk 7243f6f6fb Towards termios. 1994-04-28 22:12:28 +00:00
pk b9b9f6e62c Mark a few capabilities as unsupported.
Document some new ones.
1994-04-28 22:11:14 +00:00
pk 1da83c2c95 Correct format of `np' item. 1994-04-21 07:52:14 +00:00
cgd 41a949b1b4 renamed 'md' to 'mb' 1994-04-16 05:15:51 +00:00
cgd 353d8f840d quick cut at adding 'md' for MDMBUF 1994-04-16 03:45:24 +00:00
cgd e918c8c3f2 document np 1994-04-12 03:55:47 +00:00
cgd 9c6214e2d9 cut-and-paste-o's, pointed out by Andras Olah <olah@cs.utwente.nl> 1994-03-23 03:36:03 +00:00
cgd 2c35fc2827 another flag 1994-03-21 00:57:43 +00:00
pk 0816b2a18c TIOCFLUSH requires argument 1994-03-17 13:55:48 +00:00
cgd d169b3a8b3 add some new flags for /etc/ttys 1994-03-12 06:55:42 +00:00
mycroft 8c67085e11 Clean up deleted files. 1994-03-09 05:00:02 +00:00
cgd 03fe423b30 fix bin/140: use getcap(3) routines 1994-03-09 04:59:55 +00:00
mycroft 6ec372921f Clean up deleted files. 1994-03-08 06:40:08 +00:00
mycroft 7aaedc30b0 We don't need or want set_ttydefaults(). 1994-03-08 06:40:04 +00:00
mycroft f53acb2991 Eliminate two compiler warnings. 1993-12-07 08:59:27 +00:00
mycroft cea87043b4 Add some more magic cookies for the `im' string to display info from
uname(2):

	%s	sysname
	%r	release
	%v	version
	%m	machine
1993-08-29 22:47:03 +00:00
cgd f08e3f34a5 merge in changes from netbsd-0-9-ALPHA2 1993-08-07 07:42:13 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft dfb9caab49 Add RCS indentifiers. 1993-08-01 07:32:48 +00:00
mycroft cda4f8f6ee Add RCS identifiers. 1993-08-01 05:37:30 +00:00
cgd f67174d697 patch from David Greenman and Rod Grimes (davidg@implode.rain.com and
rgrimes@agora.rain.com) to support 57600 and 115200 baud
1993-06-05 22:40:40 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00