From owner-svn-doc-head@FreeBSD.ORG Thu Apr 2 06:24:56 2015 Return-Path: Delivered-To: svn-doc-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 169B6298; Thu, 2 Apr 2015 06:24:56 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 01DF6B6F; Thu, 2 Apr 2015 06:24:56 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t326Ot7R072098; Thu, 2 Apr 2015 06:24:55 GMT (envelope-from eadler@FreeBSD.org) Received: (from eadler@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t326Ot1j072097; Thu, 2 Apr 2015 06:24:55 GMT (envelope-from eadler@FreeBSD.org) Message-Id: <201504020624.t326Ot1j072097@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: eadler set sender to eadler@FreeBSD.org using -f From: Eitan Adler Date: Thu, 2 Apr 2015 06:24:55 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r46427 - head/en_US.ISO8859-1/books/faq X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the doc tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Apr 2015 06:24:56 -0000 Author: eadler Date: Thu Apr 2 06:24:54 2015 New Revision: 46427 URL: https://svnweb.freebsd.org/changeset/doc/46427 Log: 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 Modified: head/en_US.ISO8859-1/books/faq/book.xml Modified: head/en_US.ISO8859-1/books/faq/book.xml ============================================================================== --- head/en_US.ISO8859-1/books/faq/book.xml Thu Apr 2 06:05:57 2015 (r46426) +++ head/en_US.ISO8859-1/books/faq/book.xml Thu Apr 2 06:24:54 2015 (r46427) @@ -2090,52 +2090,27 @@ bindkey ^[[3~ delete-char # for xterm

- The remote machine may be setting the terminal type - to something other than the cons25 - terminal type required by the &os; console. - - There are a number of possible work-arounds for this - problem: - - - - After logging on to the remote machine, set the - TERM shell variable to - ansi or sco if - the remote machine knows about these terminal - types. - - - - Use a VT100 emulator like - screen at the &os; console. - screen provides the - ability to run multiple concurrent sessions from one - terminal. - Each screen window behaves - like a VT100 terminal, so the TERM - variable at the remote end should be set to - vt100. - - - - Install the cons25 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. - - - - Fire up an X server at the &os; end and login to - the remote machine using an X based terminal emulator - such as xterm or - rxvt. The TERM - variable at the remote host should be set to - xterm or - vt100. - - + The remote machine may be setting the terminal type to + something other than xterm which is + required by the &os; console. Alternatively the kernel + may have the wrong values for the width and height of the + terminal. + + Check the value of the TERM + enviroment variable is xterm. If the + remote machine does not support that try + vt100. + + Run stty -a to check what the + kernel thinks the terminal dimensions are. If they are + incorrect, they can be changed by running + stty rows RR cols + CC. + + Alternatively, if the client machine has + x11/xterm installed, then running + resize will query the terminal for the + correct dimensions and set them.