faq: mail-loopback

- update full-screeen terminal question answer to be accurate now that we use
  xterm and not cons25

Submitted by:	Daniel O'Connor
Mangled by:	me
This commit is contained in:
Eitan Adler 2015-04-02 06:24:54 +00:00
parent 90500489bd
commit 772d34db7c
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=46427

View file

@ -2090,52 +2090,27 @@ bindkey ^[[3~ delete-char # for xterm</programlisting>
</question> </question>
<answer> <answer>
<para>The remote machine may be setting the terminal type <para>The remote machine may be setting the terminal type to
to something other than the <literal>cons25</literal> something other than <literal>xterm</literal> which is
terminal type required by the &os; console.</para> required by the &os; console. Alternatively the kernel
may have the wrong values for the width and height of the
terminal.</para>
<para>There are a number of possible work-arounds for this <para>Check the value of the <envar>TERM</envar>
problem:</para> enviroment variable is <literal>xterm</literal>. If the
remote machine does not support that try
<literal>vt100</literal>.</para>
<itemizedlist> <para>Run <command>stty -a</command> to check what the
<listitem> kernel thinks the terminal dimensions are. If they are
<para>After logging on to the remote machine, set the incorrect, they can be changed by running
<envar>TERM</envar> shell variable to <command>stty rows <replaceable>RR</replaceable> cols
<literal>ansi</literal> or <literal>sco</literal> if <replaceable>CC</replaceable></command>.</para>
the remote machine knows about these terminal
types.</para>
</listitem>
<listitem> <para>Alternatively, if the client machine has
<para>Use a VT100 emulator like <package>x11/xterm</package> installed, then running
<application>screen</application> at the &os; console. <command>resize</command> will query the terminal for the
<application>screen</application> provides the correct dimensions and set them.</para>
ability to run multiple concurrent sessions from one
terminal.
Each <application>screen</application> window behaves
like a VT100 terminal, so the <envar>TERM</envar>
variable at the remote end should be set to
<literal>vt100</literal>.</para>
</listitem>
<listitem>
<para>Install the <literal>cons25</literal> terminal
database entry on the remote machine. The way to do
this depends on the operating system on the remote
machine. Refer to the system administration manuals for the
remote system.</para>
</listitem>
<listitem>
<para>Fire up an X server at the &os; end and login to
the remote machine using an X based terminal emulator
such as <command>xterm</command> or
<command>rxvt</command>. The <envar>TERM</envar>
variable at the remote host should be set to
<literal>xterm</literal> or
<literal>vt100</literal>.</para>
</listitem>
</itemizedlist>
</answer> </answer>
</qandaentry> </qandaentry>