272461 |
03-Oct-2014 |
gjb |
Copy stable/10@r272459 to releng/10.1 as part of the 10.1-RELEASE process.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
267236 |
08-Jun-2014 |
nwhitehorn |
MFC r260913,266895: Add a new flag to /etc/ttys: onifconsole. This is equivalent to "on" if the device is an active kernel console and "off" otherwise. This is designed to allow serial-booting x86 systems to provide a login prompt on the serial line by default without providing one on all systems by default. Set this flag on x86 systems for ttyu0.
Comments and suggestions by: grehan, dteske, jilles
|
256281 |
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
255413 |
09-Sep-2013 |
des |
Remove unneeded mappings from libmap32.conf. Move it up one level and install it on powerpc64 in addition to amd64.
Reviewed by: kib Approved by: re (blanket)
|
255385 |
08-Sep-2013 |
des |
Add a stock libmap32.conf for amd64. The first two lines have no effect except to document the hardcoded standard library search path for 32-bit binaries. The third line performs the equivalent substitution for the private library directory.
Ironically, these entries rely on functionality which is only available in the COMPAT_32BIT version of rtld-elf.
Approved by: re (blanket)
|
220154 |
30-Mar-2011 |
ed |
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().
|
203068 |
27-Jan-2010 |
ed |
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.
|
199243 |
13-Nov-2009 |
ed |
Switch the default terminal emulation style to xterm for most platforms.
Right now syscons(4) uses a cons25-style terminal emulator. The disadvantages of that are:
- Little compatibility with embedded devices with serial interfaces. - Bad bandwidth efficiency, mainly because of the lack of scrolling regions. - A very hard transition path to support for modern character sets like UTF-8.
Our terminal emulation library, libteken, has been supporting xterm-style terminal emulation for months, so flip the switch and make everyone use an xterm-style console driver.
I still have to enable this on i386. Right now pc98 and i386 share the same /etc/ttys file. I'm not going to switch pc98, because it uses its own Kanji-capable cons25 emulator.
IMPORTANT: What to do if things go wrong (i.e. graphical artifacts):
- Run the application inside script(1), try to reduce the problem and send me the log file. - In the mean time, you can run `vidcontrol -T cons25' and `export TERM=cons25' so you can run applications the same way you did before. You can also build your kernel with `options TEKEN_CONS25' to make all virtual terminals use the cons25 emulator by default.
Discussed on: current@
|
194218 |
14-Jun-2009 |
ed |
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.
|
188535 |
12-Feb-2009 |
ed |
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.
|
182104 |
24-Aug-2008 |
ed |
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
|
182058 |
23-Aug-2008 |
ed |
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)
|
180487 |
13-Jul-2008 |
ed |
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
|
173755 |
19-Nov-2007 |
jhb |
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
|
173638 |
15-Nov-2007 |
rwatson |
Add ttys lines for pts/0-pts/255.
MFC after: 3 days
|
170088 |
29-May-2007 |
dougb |
Remove more vestiges of /usr/X11R6, but leave mtree for portmgr.
|
121468 |
24-Oct-2003 |
simokawa |
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.
|
114492 |
02-May-2003 |
dougb |
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.
|
114115 |
27-Apr-2003 |
imp |
xten isn't needed after tw is gone.
Approved by: re@ (scottl)
|
94929 |
17-Apr-2002 |
gerald |
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
|
70856 |
09-Jan-2001 |
jhb |
Move the syscons configuration to a machine independent rc.syscons. The syscons sh code was identical on both platforms except for whitespace differences.
|
70737 |
07-Jan-2001 |
jhb |
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
|
70108 |
17-Dec-2000 |
dougb |
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
|
64817 |
18-Aug-2000 |
sheldonh |
Fix bug in rev 1.54; the terminating `;;' for the ibcs2_enable=YES case got lost.
|
64809 |
18-Aug-2000 |
sheldonh |
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.
|
64684 |
15-Aug-2000 |
obrien |
Move the running of the Linux and SVR4 compat bits to the arch independent location.
Sponsored by: LinuxWorld frustration
|
62075 |
25-Jun-2000 |
markm |
Clean up all the old setup code for the old /dev/random. This will be revisited when the new /dev/random is done.
|
56805 |
29-Jan-2000 |
obrien |
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.
|
56776 |
29-Jan-2000 |
obrien |
* 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.
|
56534 |
24-Jan-2000 |
asmodai |
Bah! Give me the pointy hat. Never commit fixes when just awake. anable -> enable
Spotted by: Alexander Leidinger <Alexander@leidinger.net>
|
56519 |
24-Jan-2000 |
asmodai |
Fix my obmission of the keyword enable after apm -e.
Submitted by: Blaz Zupan <blaz@amis.net>
|
56435 |
23-Jan-2000 |
asmodai |
Use apm instead of apmconf. Necessary change to due removal of apmconf which got moved into apm by green.
|
54950 |
21-Dec-1999 |
sheldonh |
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
|
51308 |
15-Sep-1999 |
obrien |
Be slightly less verbose.
|
51288 |
15-Sep-1999 |
obrien |
/Linux emulation/Linux mode binary compatibility/
|
51231 |
13-Sep-1999 |
sheldonh |
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>
|
50472 |
27-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
50357 |
25-Aug-1999 |
sheldonh |
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
|
50177 |
22-Aug-1999 |
hoek |
Grammar and formatting touch-ups to comments.
|
48785 |
12-Jul-1999 |
iwasaki |
Refine on explanation for apm stuff. Make it clear that apmd depends on apmconf -e.
Reviewed by: obrien, my friend :-)
|
48747 |
11-Jul-1999 |
iwasaki |
Add apmd_enable and apmd_flags for the boot-time optinos.
Pointed out by: obrien Forgotten by: iwasaki
|
48734 |
10-Jul-1999 |
iwasaki |
Put apmd configuration and rc files in /etc. Update some files for apmd.
|
48558 |
04-Jul-1999 |
des |
Feed the vty monster.
|
43818 |
09-Feb-1999 |
wes |
Reviewed by: jkh Submitted by: wes Added commentary to ttys to clarify the meaning of the columns. Added commentary to ttys to clarify the meaning of the columns.
|
43418 |
30-Jan-1999 |
newton |
Added a knob for svr4 to rc.conf (and associated support in rc.i386)
Suggested by: jkh
|
43399 |
29-Jan-1999 |
yokota |
Unload the splash decoder module when a screen saver module is loaded. Strictly speaking, it is not necessary; the screen saver will load even if the splash module is still in memory. But still, it is the right thing to do, otherwise the splash decoder module just wasts the kernel space.
Discussed with: des
|
41078 |
11-Nov-1998 |
peter |
kldload the screen savers
|
40806 |
01-Nov-1998 |
wosch |
Write temp files with a uniq name into /var/run instead the public writable directory /tmp PR: conf/8330
|
38738 |
02-Sep-1998 |
brian |
Add Id keywords
|
37813 |
22-Jul-1998 |
phk |
modstat | grep _saver is used to determine if a screensaver is loaded already. The modstat output goes to the screen. PR: 7351 Reviewed by: phk Submitted by: Jos Backus <Jos.backus@nl.origin-it.com>
|
36108 |
16-May-1998 |
jb |
Moved from directory above. It is i386 specific.
|
35005 |
02-Apr-1998 |
ache |
Cosmetique changes in vidcontrol all screens knob
|
35004 |
02-Apr-1998 |
ache |
Implement vidcontrol knob which allows to set passed flags/modes for all virtual screens (via for loop)
|
34151 |
07-Mar-1998 |
jkh |
New moused flag. Submitted by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
|
29382 |
14-Sep-1997 |
jkh |
DTRT with ${viddev} in the same way as the other vidcontrol entries. Reminded by: bde
|
29338 |
13-Sep-1997 |
jkh |
MF22: If moused started, also enable it for console vty. PR: 4525
|
27243 |
06-Jul-1997 |
peter |
fix rndcontrol invocation.. rndcontrol has the irq after a -s switch, not just the next argument. We really need to be able to tag drivers with their randomness "suitability" so that this can be more automatic. It would be nice if all suitable drivers registered their irq automatically, but still allowed them to be turned on/off etc.
|
26368 |
02-Jun-1997 |
markm |
Correct the way IRQs are passed to rndcontrol. If there are more than one IRQ being used, the -s options must be specified for each of them. In this case rc.conf would only allow 1, as the -s was coded into rc.i386.
|
26189 |
27-May-1997 |
jkh |
YAMF22
|
25916 |
19-May-1997 |
jkh |
Neaten up some things which were inconsistent, add a few more flags to things which need them, general cleanup. Submitted by: Brian Somers <brian@awfulhak.org>
|
25412 |
03-May-1997 |
jkh |
Update the etc world from RELENG_2_2 which is now more up-to-date (gotta get myself -current again, this is a drag).
Also-fixes-problems-noted-by: Wolfgang Helbig & Joerg Wunsch
|
25248 |
28-Apr-1997 |
jkh |
YAMF22
|
25238 |
28-Apr-1997 |
jkh |
YAMF22
|
25184 |
27-Apr-1997 |
jkh |
Bring in rc file changes from -current.
|
23037 |
23-Feb-1997 |
peter |
Revert $FreeBSD$ to $Id$
|
21972 |
24-Jan-1997 |
jkh |
As /etc/sysconfig and /etc/rc.i386 is now, you can't modify the syscons bell type on boot. Slightly annoying when your system doesn't have a speaker. This adds a `keybell' frob for setting it. Closes PR#2519
Submitted-By: Jonathan Mini <mini@hydrogen.nike.efn.org>
|
21673 |
14-Jan-1997 |
jkh |
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.
|
18192 |
09-Sep-1996 |
ache |
Remove sleep before moused, problem fixed with new consolectl device
|
18111 |
07-Sep-1996 |
ache |
Make moused actually work: add sleep 20 before moused starts. It allows all getties to activate screens.
|
16645 |
23-Jun-1996 |
ache |
Add moused hooks (OFF by default)
|
13798 |
31-Jan-1996 |
mpp |
Another round of spelling fixes.
|
12537 |
29-Nov-1995 |
wollman |
Uniformize startup display to follow style of all the others. This means in particular getting rid of most of the goop that causes syscons options to be spread out over four separate lines.
|
12275 |
14-Nov-1995 |
markm |
Fix stupid typo. Pointed out by: Mark Valentine
|
12270 |
13-Nov-1995 |
markm |
OOps, nearly missed this bit. Add the call to rndcontrol to set the chosen interrupts for the entropy gathering in /dev/random.
|
11860 |
28-Oct-1995 |
peter |
Part 2 of the linux LKM hook, and use the new screen saver entry points in the modload, as enforced by the recent symorder and bsd.kmod.mk changes..
|
9566 |
17-Jul-1995 |
rgrimes |
FreeBSD/386 -> FreeBSD/i386
Submitted by: Thomas Graichen <graichen@sirius.physik.fu-berlin.de>
|
8767 |
26-May-1995 |
rgrimes |
Reviewed by: sos Submitted by: bde
rc.i386 failed messily when I used a serial console.
Editors note: Use file redirection so that all the kbdcontrol and vidcontrol commands act upon /dev/ttyv0 instead of stdin. Though this feature is not documented it is the intended behavior of {vid,kbd}control and shall be documented in the future as such.
|
7812 |
13-Apr-1995 |
rgrimes |
A better solution for the noisy ibcs2 startup, just echo a space and then call ibcs2. Submitted by: jkh, slight modification by me.
|
7729 |
10-Apr-1995 |
rgrimes |
Add missing "echo '.'" to end of file so that the next file called starts on a new line.
|
7708 |
09-Apr-1995 |
rgrimes |
This is a purely cosmetic clean up. Fix many cut and paste problems that had turned tabs into spaces.
|
7639 |
06-Apr-1995 |
jkh |
Don't spit out a gratuitous ibcs2 startup message.
|
7621 |
04-Apr-1995 |
ache |
Set desired cursor type for syscons
|
7554 |
01-Apr-1995 |
ache |
Add missing ';'
|
7491 |
30-Mar-1995 |
ache |
Restore my function key configuration stuff which Rod promise to restore but really didn't do it. Restore message from old rc about configuring syscons whith echo added before it to go to new line after "echo -n xtend" f.e. and similar stuff.
|
7487 |
30-Mar-1995 |
rgrimes |
This is the rc work as provided by pts, I will me makeing some additional changes to it based upon other outstanding bug reports and commits made after his work.
Comments:
(a) sysconfig is still used to do all configuration. I was not going to change that out from under you.... a user never need edit netstart or rc* unless they're being very weird.
(b) rc.maint has been folded back into rc. It is just unworkable as a separate chunk because of ordering bogosities
(c) netstart does what it says... it starts up enough of the network to get up, it doesn't start every bloody daemon that might talk to a socket... netstart ifconfig's the devices and sets up routing if configured to do so.
(d) nfs disks are mounted immediately after netstart completes
(e) syslog is started as early as possible (right after nfs) so that error messages can get logged to remote syslog servers properly
(f) named is started (there is an argument that says that named should be started before syslogd because if you are the dns server for your domain, you'd like named to resolve remote hosts in syslog.conf, but this is a minority case and the trivial workarround is to put the syslog host in /etc/hosts or use an /etc/resolv.conf -- why? because you want syslog to catch named errors, which is a MUCH more important and likely occurance)
(g) NOW all of the rest of the network daemons such as the time stuff, RPC, NIS, NFS, Kerberos and inetd are started
(h) the rest of the generic stuff is done (cron/printer/sendmail)
(i) shared libraries are set
(j) /etc/rc.i386 is run (this does FreeBSD/386 specific stuff like ibcs2, xtend, and all of the syscons stuff (this is actually started as /etc/rc.`uname -m`
(k) the syscons stuff has gotten a serious cleaning to make it consistent with rc conventions
(l) rc.local has had the comments about syscons removed (they are not relevant to this file now) and the full name of the kernel has been restored to /etc/motd
Submitted by: pts
|