Update Question 15.17:

- Decapitalize key "CTRL"
- Point to Handbook

Reviewed by:  trhodes
Approved by:  gabor
This commit is contained in:
Gabor Pali 2008-07-05 02:57:35 +00:00
parent 13066244b2
commit 841e8972b5
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=32465

View file

@ -9678,42 +9678,16 @@ hint.sio.7.irq="12"</programlisting>
<qandaentry>
<question id="multi-controlp">
<para>Why do I have to hit <keycombo
action="simul"><keycap>CTRL</keycap><keycap>P</keycap></keycombo>
action="simul"><keycap>Ctrl</keycap><keycap>P</keycap></keycombo>
twice to send <keycombo
action="simul"><keycap>CTRL</keycap><keycap>P</keycap></keycombo>
action="simul"><keycap>Ctrl</keycap><keycap>P</keycap></keycombo>
once?</para>
</question>
<answer>
<para><keycombo
action="simul"><keycap>CTRL</keycap><keycap>P</keycap></keycombo>
is the default <quote>force</quote> character, used to
tell &man.tip.1; that the next character is literal data.
You can set the force character to any other character
with the <literal>~s</literal> escape, which means
<quote>set a variable</quote>.</para>
<para>Type <literal>~sforce=<replaceable>single-char
</replaceable></literal> followed by a newline.
<replaceable>single-char</replaceable> is any single
character. If you leave out
<replaceable>single-char</replaceable>, then the force
character is the nul character, which you can get by
typing <keycombo
action="simul"><keycap>CTRL</keycap><keycap>2</keycap></keycombo>
or <keycombo
action="simul"><keycap>CTRL</keycap><keycap>SPACE</keycap></keycombo>.
A pretty good value for
<replaceable>single-char</replaceable> is <keycombo
action="simul"><keycap>SHIFT</keycap><keycap>CTRL</keycap><keycap>6</keycap></keycombo>,
which I have seen only used on some terminal
servers.</para>
<para>You can have the force character be whatever you want
by specifying the following in your
<filename>$HOME/.tiprc</filename> file:</para>
<programlisting>force=<replaceable>single-char</replaceable></programlisting>
<para>See <ulink
url="&url.books.handbook;/dialout.html#AEN31097">this answer</ulink>
in the &os; Handbook.</para>
</answer>
</qandaentry>