Update Question 11.12:

- Update default virtual terminal count from 4 to 8
- Add non-breakable spaces for better rendering
- Add —
- Mark up kill(1) with <command>

Reviewed by:  trhodes, danger
Approved by:  gabor
This commit is contained in:
Gabor Pali 2008-06-21 07:57:34 +00:00
parent 2407b9c7b4
commit 60cb34d0b0
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=32351

View file

@ -6853,17 +6853,12 @@ EndSection</programlisting>
<para>To enable more of them, edit <para>To enable more of them, edit
<filename>/etc/ttys</filename> (see &man.ttys.5;) <filename>/etc/ttys</filename> (see &man.ttys.5;)
and add entries for <devicename>ttyv4</devicename> and add entries for <devicename>ttyv8</devicename>
to <devicename>ttyvc</devicename> after the comment on to <devicename>ttyvc</devicename> after the comment on
<quote>Virtual terminals</quote>:</para> <quote>Virtual terminals</quote>:</para>
<programlisting># Edit the existing entry for ttyv3 in /etc/ttys and change <programlisting># Edit the existing entry for ttyv8 in /etc/ttys and change
# "off" to "on". # "off" to "on".
ttyv3 "/usr/libexec/getty Pc" cons25 on secure
ttyv4 "/usr/libexec/getty Pc" cons25 on secure
ttyv5 "/usr/libexec/getty Pc" cons25 on secure
ttyv6 "/usr/libexec/getty Pc" cons25 on secure
ttyv7 "/usr/libexec/getty Pc" cons25 on secure
ttyv8 "/usr/libexec/getty Pc" cons25 on secure ttyv8 "/usr/libexec/getty Pc" cons25 on secure
ttyv9 "/usr/libexec/getty Pc" cons25 on secure ttyv9 "/usr/libexec/getty Pc" cons25 on secure
ttyva "/usr/libexec/getty Pc" cons25 on secure ttyva "/usr/libexec/getty Pc" cons25 on secure
@ -6871,7 +6866,7 @@ ttyvb "/usr/libexec/getty Pc" cons25 on secure</programlisting>
<para>Use as many or as few as you want. The more virtual <para>Use as many or as few as you want. The more virtual
terminals you have, the more resources that are used; this terminals you have, the more resources that are used; this
can be important if you have 8MB RAM or less. You may also can be important if you have 8&nbsp;MB RAM or less. You may also
want to change the <literal>secure</literal> want to change the <literal>secure</literal>
to <literal>insecure</literal>.</para> to <literal>insecure</literal>.</para>
@ -6880,7 +6875,7 @@ ttyvb "/usr/libexec/getty Pc" cons25 on secure</programlisting>
<emphasis>must</emphasis> leave at least one virtual <emphasis>must</emphasis> leave at least one virtual
terminal unused (or turned off) for it to use. That is to terminal unused (or turned off) for it to use. That is to
say that if you want to have a login prompt pop up for all say that if you want to have a login prompt pop up for all
twelve of your Alt-function keys, you are out of luck - you twelve of your Alt-function keys, you are out of luck &mdash; you
can only do this for eleven of them if you also want to run can only do this for eleven of them if you also want to run
an X server on the same machine.</para> an X server on the same machine.</para>
</important> </important>
@ -6914,8 +6909,8 @@ ttyvb "/usr/libexec/getty Pc" cons25 off secure</programlisting>
<para>It is imperative that you completely shut down X Window if <para>It is imperative that you completely shut down X Window if
it is running, before running this command. If you do not, it is running, before running this command. If you do not,
your system will probably appear to hang/lock up after your system will probably appear to hang or lock up after
executing the kill command.</para> executing the <command>kill</command> command.</para>
</answer> </answer>
</qandaentry> </qandaentry>