Commit Graph

26 Commits

Author SHA1 Message Date
Ed Schouten
248389c80f 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 Schouten
5ed8d12443 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
Dag-Erling Smørgrav
4eb4e22f1e Add autologin entries (al.NNN) for higher console speeds.
MFC after:	2 weeks
2006-04-11 09:54:23 +00:00
Matteo Riondato
90036dd784 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
Jens Schweikhardt
d8beb0fd3b Removed whitespace at BOF, EOL & EOF. 2004-06-06 11:46:29 +00:00
Yaroslav Tykhiy
32a79d7cb2 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 Stokely
0cf9956f3f 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
Poul-Henning Kamp
b60d5d2f6d 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
Poul-Henning Kamp
f1e80bc1c2 Add an autologin example.
PR:		18082
Submitted by:	C. Stephen Gunn <csg@dustdevil.waterspout.com>
2000-06-10 19:49:16 +00:00
Peter Wemm
9b7a44a60e $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
Brian Somers
a19eda1f28 Add Id keywords 1998-09-02 01:34:57 +00:00
Poul-Henning Kamp
bbd2a449a5 Add std.230400 entry
PR:		7280
1998-07-22 05:58:40 +00:00
Poul-Henning Kamp
f06a8de3a8 FreeBSD -> %s/%m
PR:		6600
Reviewed by:	phk
Submitted by:	Josh Gilliam <josh@quick.net>
1998-05-13 08:10:07 +00:00
Joerg Wunsch
cf2900be52 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
Jordan K. Hubbard
b16ed18b72 Cosmetic tweak.
Requested-By: John Robert LoVerso <loverso@osf.org>
1996-09-18 19:01:29 +00:00
Jordan K. Hubbard
bbfd33649d 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
Jordan K. Hubbard
d79e408656 Tweak the default entry a little to take advantage of new getty
feature.
1995-08-01 13:13:30 +00:00
Bruce Evans
cc490fc73e 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 Wunsch
66b7e31706 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
Andrey A. Chernov
f01af6a678 Add 'ht' to PC Console (has hardware tabs) 1994-02-06 09:50:56 +00:00
Andrey A. Chernov
d4d16f52b8 Add "np" to all std.xxx entries, make them 8-bit clean. 1993-12-16 01:14:05 +00:00
Rodney W. Grimes
4fd8598445 >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
David Greenman
4a6f727c08 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
Rodney W. Grimes
0690e31f5d Fixed entry for t9600, baud rate was 19200, should be and now is 9600. 1993-08-13 23:05:49 +00:00
Rodney W. Grimes
29a9baed5e 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
Rodney W. Grimes
1bf9d5d951 Initial import of 386BSD 0.1 othersrc/etc 1993-06-20 13:41:45 +00:00