Commit Graph

420 Commits

Author SHA1 Message Date
ed
56f0a07954 Remove the reference to pseudo-terminals from the description.
Pseudo-terminals are no longer listed in this file, since the utmpx
implementation doesn't depend on ttyslot().
2011-03-30 08:22:29 +00:00
ed
93642d9997 Remove pseudo-terminals from ttys(5).
When we had utmp(5), we had to list all the psuedo-terminals in ttys(5)
to make ttyslot(3) function properly. Now that pututxline(3) deals with
slot allocation internally (not based on TTY names), we don't need to
list all the TTYs on the system in ttys(5) to make user accounting work
properly.

This patch removes all the entries from the /etc/ttys files, but also
the pts(4) entries that were appended implicitly, which was added in
r154838.
2010-01-27 11:54:42 +00:00
ed
a53dc19376 Convert syscons on i386 to TERM=xterm.
TEKEN_XTERM is now gone. Because we always use xterm mode now, we only
need a TEKEN_CONS25 switch to go back to cons25.
2009-11-13 11:28:54 +00:00
ed
a492f3c1dc Remove the note about using vt220, which makes no sense at all.
vt220 will not work better. Even though it probably will remove warnings
about unknown terminal types, a cons25 emulator is not compatible with
vt220 at all.
2009-06-14 22:35:33 +00:00
ed
262e123f42 Remove pts(4) entries from /etc/ttys.
Even though I increased the amount of pts(4) entries in /etc/ttys some
time ago, I didn't realize back then those entries shouldn't have been
there in the first place.

I just looked at the getttyent() source code and it turns out when you
call setttyent(), it walks through /dev/pts and looks for the device
with the highest number. After you receive EOF's from getttyent(), it
makes up entries for pts(4) devices.

This means that adding entries for pts(4) is somewhat harmful, because
if you now traverse the list, you get redundant entries, so just remove
them.
2009-02-12 19:21:48 +00:00
ed
6224eb8ee1 Restore 256 pty(4) entries.
As discussed with Robert Watson on the src-committers list, it is safer
to keep at least some pty(4) entries in /etc/ttys, for applications that
roll their own PTY allocation routine and only search for BSD-style
PTY's.

This means we've now just toggled the amount of entries for pts(4) and
pty(4).

Requested by:	rwatson
2008-08-24 08:41:29 +00:00
ed
4cc510ad6a Remove old BSD-style entries from /etc/ttys and increase pts(4) to 512.
Because we now use pts(4)-style PTY's exclusively, there is no use for
these entries in /etc/ttys. Right now the pts(4) entries only go from 0
to 255. Because we're going to touch these files anyway, increase the
number to 511.

Discussed with:	philip (ex-mentor)
2008-08-23 14:36:39 +00:00
ed
a8f4e95b68 Make uart(4) the default serial port driver on i386 and amd64.
The uart(4) driver has the advantage of supporting a wider variety of
hardware on a greater amount of platforms. This driver has already been
the standard on platforms such as ia64, powerpc and sparc64.

I've decided not to change anything on pc98. I'd rather let people from
the pc98 team look at this.

Approved by:	philip (mentor), marcel
2008-07-13 07:20:14 +00:00
jhb
3c82b6a5c7 Bump up the number of ttys supported by pty(4) to 512 by making use of
[pt]ty[lmnoLMNO][0-9a-v].

MFC after:	3 days
Reviewed by:	rwatson
2007-11-19 20:49:42 +00:00
rwatson
ade0868a44 Add ttys lines for pts/0-pts/255.
MFC after:	3 days
2007-11-15 16:22:59 +00:00
dougb
39d0d8b3e6 Remove more vestiges of /usr/X11R6, but leave mtree for portmgr. 2007-05-29 06:37:58 +00:00
simokawa
c96f6e4f1d Add dumb console driver and related bits.
dcons(4): very simple console and gdb port driver
dcons_crom(4): FireWire attachment
dconschat(8): User interface to dcons

Tested with: i386, i386-PAE, and sparc64.
2003-10-24 15:44:10 +00:00
dougb
f30c2be11f Per previous announcement, remove the old version of the rc system.
All functionality from the previous system has been preserved, and
users should still customize their system boot with the familiar
methods, rc.conf, rc.conf.local, rc.firewall, sysctl.conf, etc.

Users who have customized versions of scripts that have been removed
should take great care when upgrading, since the compatibility code
that used those old scripts has also been removed.
2003-05-02 05:27:35 +00:00
imp
1bf91a17ef xten isn't needed after tw is gone.
Approved by: re@ (scottl)
2003-04-27 05:49:53 +00:00
ru
b6e2a1dccd Make disktab(5) MI (repo-copied from etc.i386/disktab). 2003-04-02 20:13:59 +00:00
gerald
ac7a3ce817 Mention that terminal type vt220 will work better if one needs
interoperability with other systems like Solaris or GNU/Linux.

PR:		33810
Approved by:	obrien
2002-04-17 10:42:41 +00:00
murray
600b1b8161 Add an entry for the Zip 250.
PR:		i386/29639
Submitted by:	David Yeske <dyeske@yahoo.com>
2001-08-31 22:49:22 +00:00
jhb
1bb19011b4 Move the syscons configuration to a machine independent rc.syscons. The
syscons sh code was identical on both platforms except for whitespace
differences.
2001-01-09 22:28:17 +00:00
jhb
ef95623db0 Don't announce that rc.${MACHINE_ARCH} is doing the syscons configuration
as the previous line already tells us we are in rc.${MACHINE_ARCH}.  This
also allows more syscons configuration messages during startup to fit on
one line.

Reviewed by:	dougb
2001-01-07 01:11:44 +00:00
dougb
1e8ecc617b Apply a more consistent style to the echo statements in /etc/ scripts.
* Put quotes around each line
* Single quotes for lines with no variable interpolation
* Double quotes if there is
* Capitalize each word that begins a line
* Make echo -n 'Doing foo:' ... echo '.' more of a standard

No functionality changes
2000-12-17 08:16:06 +00:00
hosokawa
93fe695877 Added "minimum3": spare room for multilingual installer and driver floppy.
The size is 3 x 1.44MB.
2000-10-26 16:00:27 +00:00
sheldonh
c641580eb1 Fix bug in rev 1.54; the terminating `;;' for the ibcs2_enable=YES
case got lost.
2000-08-18 09:43:18 +00:00
sheldonh
4332565227 Don't rely on a shell scripts to do the simple job of loading
kernel modules for ibcs2_enable and svr4_enable.

Don't rely on a shell script to do the neglibly less simple
job of loading a kernel module and running one command for
linux_enable.

These shell scripts are going away.
2000-08-18 08:07:02 +00:00
obrien
b4ef1cd578 Move the running of the Linux and SVR4 compat bits to the arch independent
location.

Sponsored by:   LinuxWorld frustration
2000-08-15 18:02:49 +00:00
markm
06c84cc174 Clean up all the old setup code for the old /dev/random. This will be
revisited when the new /dev/random is done.
2000-06-25 10:55:23 +00:00
obrien
8c8b7d18d9 Revert to rev 1.6 until post 4.0-R. As probably 98% of i386 installs
happen with a keyboard and monitor the console change was not as needed
in the i386 case as the Alpha case.  IMO >50% of Alpha installs are using
a serial console, the change matching rev 1.7 should not be backed out.
2000-01-29 12:18:03 +00:00
obrien
6a916c7514 * Use console' rather than ttyv0' so there will always be a getty on
the console reguardless of the type of console.
* Make the Alpha version match the i386 version.
2000-01-29 00:50:21 +00:00
asmodai
6c58068133 Bah! Give me the pointy hat. Never commit fixes when just awake.
anable -> enable

Spotted by:	Alexander Leidinger <Alexander@leidinger.net>
2000-01-24 15:21:43 +00:00
asmodai
2e57b19caa Fix my obmission of the keyword enable after apm -e.
Submitted by:	Blaz Zupan <blaz@amis.net>
2000-01-24 09:14:41 +00:00
asmodai
d5c4d0edb4 Use apm instead of apmconf.
Necessary change to due removal of apmconf which got moved into apm
by green.
2000-01-23 10:04:50 +00:00
sheldonh
d6a0d6a22e Use more thorough redirection to make the impact of allscreens_flags
more comprehensive.  Previously, at least colour changes were not
applied to all virtual consoles.

PR:		15066
Reported by:	Andy Farkas <andyf@speednet.com.au>
Submitted by:	yokota
1999-12-21 10:53:04 +00:00
peter
ab56d89b34 Use a common MAKEDEV between the Alpha and i386 - the only differences
of significance were due to the Alpha version going stale.  We use common
device numbering for devices.  Hopefully, this file's days are numbered.
1999-11-18 04:31:31 +00:00
n_hibma
9257d7c5a0 Add the entry for usb (as opposed to usb<number>). It's minor is equivalent
to usb255 and will be used for the event queue of the usb daemon.
1999-11-17 23:02:34 +00:00
sos
90188d1d4b cleanup the IDE cases a bit, add the ad driver to the all: target. 1999-11-09 12:53:01 +00:00
nik
0c2ff8ce1e Document the ch* devices.
PR:             docs/14401
Submitted by:   Crist J. Clark <cjc@cc942873-a.ewndsr1.nj.home.com>
1999-11-01 19:45:59 +00:00
obrien
fb0fd2c664 Fix ownership of /dev/fd/*. We still had a bin:bin hangover from pre-3.0.
Noticed by:	bde
1999-10-30 07:00:13 +00:00
brian
99455ff0f7 Fix ``MAKEDEV acd''
Spotted by: Mark Knight <mkn@FreeBSD.org.uk>
1999-10-15 16:20:58 +00:00
gibbs
e4a81da9a3 Remove references to the od driver. These devices are no attached by
the da driver and using the same major/minor scheme with the old name
only leads to confusion.

PR: misc/14279
1999-10-12 15:51:58 +00:00
peter
0078f32414 remove ipl hooks 1999-10-10 15:13:48 +00:00
msmith
9ac9ad09b0 Add entries for the 'amrd' and 'mlxd' disk nodes used by the AMI MegaRAID
and Myles drivers respectively.
1999-10-07 02:37:04 +00:00
phk
cacd50768f Add support for md driver.
sort some comments
1999-09-21 11:11:26 +00:00
obrien
a7a90106cd Be slightly less verbose. 1999-09-15 11:17:59 +00:00
obrien
daa6848a95 /Linux emulation/Linux mode binary compatibility/ 1999-09-15 02:08:45 +00:00
bde
b954d78bfc Fixed some disordering (mainly of case lists for disks).
Fixed bitrot in the `wcd*)' case.
1999-09-13 16:15:58 +00:00
sheldonh
d8a93d30ec Apply a consistent style to most of the etc scripts. Particularly, use
case instead of test where appropriate, since case allows case is a sh
builtin and (as a side-effect) allows case-insensitivity.

Changes discussed on freebsd-hackers.

Submitted by:	Doug Barton <Doug@gorean.org>
1999-09-13 15:44:20 +00:00
peter
289c0d262f $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
sheldonh
8cec588c44 Style clean-up:
* All variables are now embraced: ${foo}

	* All comparisons against some value now take the form:
	  [ "${foo}" ? "value" ]
	  where ? is a comparison operator

	* All empty string tests now take the form:
	  [ -z "${foo}" ]

	* All non-empty string tests now take the form:
	  [ -n "${foo}" ]

Submitted by:	jkh
1999-08-25 16:01:45 +00:00
hoek
d226c7e9b4 Grammar and formatting touch-ups to comments. 1999-08-22 19:42:40 +00:00
gehenna
ef881e6127 added usb0 to 'all' target for usbd(8) 1999-08-21 18:01:42 +00:00
sheldonh
42550e4713 Use a colon (:) instead of a period (.) to distinguish the group name
from the user name when using chown(8).

PR:	13157
Reported by:	Patrick Powell <papowell@astart.com>
1999-08-16 16:00:23 +00:00