diff options
author | Mattias Andrée <maandree@kth.se> | 2017-12-10 23:55:26 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2017-12-10 23:55:26 +0100 |
commit | f7f87b788bdfdaed3e69b60fd9ce9d2c17b06e0a (patch) | |
tree | 5ee68c7907baf8666d5d585ae491129ffcfdb6e5 /doc/info/chap | |
parent | update news and makefile (diff) | |
download | sleeping-getty-f7f87b788bdfdaed3e69b60fd9ce9d2c17b06e0a.tar.gz sleeping-getty-f7f87b788bdfdaed3e69b60fd9ce9d2c17b06e0a.tar.bz2 sleeping-getty-f7f87b788bdfdaed3e69b60fd9ce9d2c17b06e0a.tar.xz |
Simplify and cahgne license1.1
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | doc/info/chap/invoking.texinfo | 53 | ||||
-rw-r--r-- | doc/info/chap/overview.texinfo | 15 |
2 files changed, 0 insertions, 68 deletions
diff --git a/doc/info/chap/invoking.texinfo b/doc/info/chap/invoking.texinfo deleted file mode 100644 index 008c883..0000000 --- a/doc/info/chap/invoking.texinfo +++ /dev/null @@ -1,53 +0,0 @@ -@node Invoking -@chapter Invoking - -Example usages: -@example -/sbin/sleeping-getty 15 /sbin/got tty15 TERM=linux - -/sbin/sleeping-getty 16 /sbin/got tty16 TERM=linux - -/sbin/sleeping-getty 20 /sbin/agetty -8 -s 38400 tty20 linux -@end example - -The first argument shall be the number of the -virtual terminal the process waits for to be -be brought to the foreground. - -The second argument shall be pathname of the -getty program that shall be started once the -virtual terminal is in the foreground. Note -that @env{PATH} is probably not set up, and -a full pathname is required. - -The rest of the arguments shall be those that -are passed to the getty program. - -For example, -@example -/sbin/sleeping-getty 15 /sbin/got tty15 TERM=linux -@end example -@noindent -shall wait for virtual terminal number 15 -(on which you will find @file{/dev/tty15}) -to become active. Then the processes is -switch to, without forking, -@command{/sbin/got tty15 TERM=linux}, -which is Gates of Tartaros on @file{/dev/tty15} -with the environment variable @env{TERM} set -to @command{linux}. - -Note that @command{sleeping-getty} works on -VT:s, not TTY:s. It cannot wait for a serial -console to become, active, only virtual terminals. - -Also note, @command{sleeping-getty} does not acquire -the TTY. That would be a waste of CPU cycles. This -means, if naïvely used, that if you start your -computer, log in on @file{tty1}, and start @command{X}, -and have @command{startx} configured to start @command{X} -on the next available VT. @command{X} will start on -VT@tie{}2. This is probably not want you want. Instead -you should edit startx to ensure that a VT lower than -a preferred number (customarily 7) will not be used. - diff --git a/doc/info/chap/overview.texinfo b/doc/info/chap/overview.texinfo deleted file mode 100644 index 17a8f86..0000000 --- a/doc/info/chap/overview.texinfo +++ /dev/null @@ -1,15 +0,0 @@ -@node Overview -@chapter Overview - -@command{sleeping-getty} waits until a selected -virtual terminal is brought to the foreground. -Then, or if the process started with this -virtual terminal in the foreground, the process -changes image to a getty program. - -This is used to save CPU cycles during boot -to get a smoother boot, which is important if -your getty program does a lot of things, or if -your computer is not too powerful. It also -reduces the memory footprint. - |