• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

COPYINGH A D23-Apr-199517.6 KiB340281

MakefileH A D03-May-2022582 4530

READMEH A D12-Apr-1994611 2112

README.cadH A D27-Apr-1995350 179

README.initH A D19-Jul-1996555 1811

cadH A D27-Apr-1995999 6241

open.1H A D19-Jul-19962 KiB7870

open.cH A D03-May-20225.9 KiB279212

open.hH A D03-May-2022695 4832

open.lsmH A D19-Jul-1996461 1514

switchto.1H A D19-Jul-1996563 1813

switchto.cH A D23-Apr-19951.2 KiB6030

README

1
2Open opens a new vt and runs a command on it. It can be used as a simple
3way to start several console logins without having to type your passwd
4on each VT in turn. open can be used as a simpler to use replacement for
5the doshell(8) command.
6
7open is similar in functionality to the AIX/RS6000 command of the same name.
8
9
10To use open it must be installed setuid root (type make install; make
11setuid) or all the VT device that are not allocated to getty should be
12read/write by all, e.g.
13
14chmod a=rw /dev/tty[5678]
15
16Note, new in v1.1 -- is required to separate command/child options. See
17the manual page.
18
19Jon.
20
21

README.cad

1
2cad is a simple program to handle Cntrl Alt Delete in an enviroment
3where there may be remote logins. It give the remote users time to
4finish up before shutting down.
5
6
7usage:
8In /etc/inittab cadd the lines
9
10# What to do at the "Three Finger Salute".
11ca::ctrlaltdel:open -sw /sbin/cad
12
13
14If you already have a ca: line, comment it out with a #
15
16Jon.
17

README.init

1You don't have to log into a getty on every virtual console anymore:
2just run a single getty on tty1, put this line in your /etc/inittab:
3
4	kb::kbrequest:/usr/bin/open -us
5
6and put this in your rc.local (or equivalent):
7
8	echo "alt keycode 103 = Spawn_Console" | loadkeys
9
10Then, once you login, you can press alt-up-arrow to spawn another
11virtual console. This behavior requires a recent sysvinit package.
12I used 2.64, but as early as 2.60 might support it. You also must
13be using the proc filesystem.
14
15WARNING: this may circumvent vlock.
16
17Joshua Spoerri
18