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
<itemizedlist>
<listitem>
<para>After logging on to the remote machine, set the
<envar>TERM</envar> shell variable to
<literal>ansi</literal> or <literal>sco</literal> if
the remote machine knows about these terminal
types.</para>
</listitem>
<listitem>
<para>Use a VT100 emulator like
<application>screen</application> at the &os; console.
<application>screen</application> provides the
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> <literal>vt100</literal>.</para>
</listitem>
<listitem> <para>Run <command>stty -a</command> to check what the
<para>Install the <literal>cons25</literal> terminal kernel thinks the terminal dimensions are. If they are
database entry on the remote machine. The way to do incorrect, they can be changed by running
this depends on the operating system on the remote <command>stty rows <replaceable>RR</replaceable> cols
machine. Refer to the system administration manuals for the <replaceable>CC</replaceable></command>.</para>
remote system.</para>
</listitem>
<listitem> <para>Alternatively, if the client machine has
<para>Fire up an X server at the &os; end and login to <package>x11/xterm</package> installed, then running
the remote machine using an X based terminal emulator <command>resize</command> will query the terminal for the
such as <command>xterm</command> or correct dimensions and set them.</para>
<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>