Commit Graph

28 Commits

Author SHA1 Message Date
peterj
1d83f0f2d2 Explicitly specify 'np' so that getty(8) does not simulate even parity on
local.9600.  Whilst the actual binary termios(4) definitions and preceeding
comments for local.9600 indicate that parity is disabled, getty(8)
internally simulates parity based on the presence or absence of the 'np'
flag.

PR:		conf/76226
Submitted by:	peter
Approved by:	grog (co-mentor)
MFC after:	1 month
2012-10-18 22:20:02 +00:00
bcr
54ea1cadda Fix spelling of "weirdo" in /etc/gettytab comment.
PR:             docs/148500
Submitted by:   Warren Block (wblock at wonkity dot com)
Approved by:    ed@
MFC after:      1 week
2010-07-12 19:09:18 +00:00
ed
77f2f73afb Partially revert the change to the gettytab made in r198214.
By misinterpreting some data, I thought that getty wouldn't apply any
baud rate to the syscons devices, but it uses the default entry instead.
This means that the baud rate is set to 1200. This isn't too bad, except
when using canonical mode. Make it use 9600 baud by default.

MFC after:	1 week
2009-10-19 11:10:44 +00:00
ed
9be1c96abb Allow the buffer size to be configured for pseudo-like TTY devices.
Devices that don't implement param() (which means they don't support
hardware parameters such as flow control, baud rate) hardcode the baud
rate to TTYDEF_SPEED. This means the buffer size cannot be configured,
which is a little inconvenient when using canonical mode with big lines
of input, etc.

Make it adjustable, but do clamp it between B50 and B115200 to prevent
awkward buffer sizes. Remove the baud rate assignment from
/etc/gettytab. Trust the kernel to fill in a proper value.

Reported by:	Mikolaj Golub <to my trociny gmail com>
MFC after:	1 month
2009-10-18 19:48:53 +00:00
des
4ccfd37f87 Add autologin entries (al.NNN) for higher console speeds.
MFC after:	2 weeks
2006-04-11 09:54:23 +00:00
matteo
a6e212c0ac Add gettytab entry for 3wire 19200 baud console
PR:		conf/90346
Submitted by:	Gavin Atkinson <gavin.atkinson@ury.york.ac.uk>
Approved by:	philip (mentor)
MFC after:	3 days
2006-01-22 15:33:16 +00:00
schweikh
91f34482ca Removed whitespace at BOF, EOL & EOF. 2004-06-06 11:46:29 +00:00
yar
be54e225d7 Update the explanation of parity capabilities
to bring it into accord with the present getty(8) code.

PR:		bin/56325
MFC after:	3 days
2003-09-09 15:37:19 +00:00
murray
d827149279 Add entries for 3wire terminals. (carrier not supplied, so we set nc).
PR:		conf/26420
Submitted by:	Jon Passki <cykyc@yahoo.com>
2001-08-31 22:18:50 +00:00
phk
ca04e3fbb5 Add if=/etc/issue to the default getty entry.
This does nothing if you don't have an /etc/issue file.

PR:		22331
Submitted by:	Rick C. Petty <rick@kiwi-computer.com>
2000-12-18 20:56:10 +00:00
phk
3639e5d5d8 Add an autologin example.
PR:		18082
Submitted by:	C. Stephen Gunn <csg@dustdevil.waterspout.com>
2000-06-10 19:49:16 +00:00
peter
289c0d262f $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
brian
387abc60ff Add Id keywords 1998-09-02 01:34:57 +00:00
phk
3e87150b67 Add std.230400 entry
PR:		7280
1998-07-22 05:58:40 +00:00
phk
076445765c FreeBSD -> %s/%m
PR:		6600
Reviewed by:	phk
Submitted by:	Josh Gilliam <josh@quick.net>
1998-05-13 08:10:07 +00:00
joerg
95f845dddf Add a sample entry specifying numeric tty settings. People sometimes ask
how to force a local tty line into CLOCAL mode and Xon/Xoff flow control.
This is the preferrable way (over rc.serial).
1997-09-19 12:25:09 +00:00
jkh
ba02dd81ba Cosmetic tweak.
Requested-By: John Robert LoVerso <loverso@osf.org>
1996-09-18 19:01:29 +00:00
jkh
6b1a8632f7 Remove top secret version information from the banner by default.
Loose lips sink ships!  Man the firewall and look alert!
1995-08-02 02:45:46 +00:00
jkh
22c20fd4c1 Tweak the default entry a little to take advantage of new getty
feature.
1995-08-01 13:13:30 +00:00
bde
800769b784 Update a comment to match the 1993/12/03 change to `np' and fix some
punctuation.
1995-06-25 04:08:29 +00:00
joerg
cd60a37260 gettytab:
Add the `lc' option to default.  Having getty understand the issues of
CAPS-only terminals is a nop these days, but `lc' avoids hassles for
people with CAPS-only user names.

Suggested by: Don Yuniskis


weekly:

Modify the call to makewhatis, now that our makewhatis can take the
entire ${MANPATH} as a single argument.
1995-02-16 10:51:53 +00:00
ache
9788497c05 Add 'ht' to PC Console (has hardware tabs) 1994-02-06 09:50:56 +00:00
ache
ce3dee94a9 Add "np" to all std.xxx entries, make them 8-bit clean. 1993-12-16 01:14:05 +00:00
rgrimes
f85d696ee4 >From: Adam David <adam@veda.is>
Date: Wed, 10 Nov 1993 00:51:19 GMT
Subject: typo in etc/gettytab

[editor: fix typo in comment about what things need turned off for
none crt entries]
1993-11-10 01:23:13 +00:00
dg
f2d92ac771 From Andrew Chernov:
(see changes to getty which this patch is part of)

Basically, a few of the tty flags were changed to work better with
'CRT's, and the flags are better documented (documentation from Bruce
Evans).
1993-10-22 02:49:34 +00:00
rgrimes
811a76e443 Fixed entry for t9600, baud rate was 19200, should be and now is 9600. 1993-08-13 23:05:49 +00:00
rgrimes
da37906cf4 Changed login banner from 386BSD to FreeBSD. Added entries for 38.4k, 57.6k
and 115.2k baud gettys.
1993-07-19 19:11:55 +00:00
rgrimes
241ccdeaf3 Initial import of 386BSD 0.1 othersrc/etc 1993-06-20 13:41:45 +00:00