From owner-freebsd-questions@FreeBSD.ORG Mon Jan 25 21:47:40 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2FC13106566C for ; Mon, 25 Jan 2010 21:47:40 +0000 (UTC) (envelope-from dickey@saltmine.radix.net) Received: from saltmine.radix.net (saltmine.radix.net [207.192.128.40]) by mx1.freebsd.org (Postfix) with ESMTP id DE2988FC1D for ; Mon, 25 Jan 2010 21:47:39 +0000 (UTC) Received: from saltmine.radix.net (localhost [127.0.0.1]) by saltmine.radix.net (8.12.2/8.12.2) with ESMTP id o0PLlbV4018991; Mon, 25 Jan 2010 16:47:37 -0500 (EST) Received: (from dickey@localhost) by saltmine.radix.net (8.12.2/8.12.2/Submit) id o0PLlbdM018990; Mon, 25 Jan 2010 16:47:37 -0500 (EST) Date: Mon, 25 Jan 2010 16:47:37 -0500 From: Thomas Dickey To: Martin McCormick Message-ID: <20100125214737.GA15815@saltmine.radix.net> References: <201001251525.o0PFPL0t074757@dc.cis.okstate.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xHFwDpU9dbj6ez1V" Content-Disposition: inline In-Reply-To: <201001251525.o0PFPL0t074757@dc.cis.okstate.edu> User-Agent: Mutt/1.3.27i Cc: freebsd-questions@freebsd.org Subject: Re: sysinstall and the Right Terminal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jan 2010 21:47:40 -0000 --xHFwDpU9dbj6ez1V Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 25, 2010 at 09:25:21AM -0600, Martin McCormick wrote: > Thomas Dickey writes: > > "Terminal" would probably be one of the programs using VTE, > > which differs from "linux". >=20 > This is all very interesting. Thanks to all. What I > normally do is start a command-line shell on a Debian Linux box. > This defaults to a "linux" console. When I ssh somewhere, ssh > passes the exported $TERM value to the remote host so as I > understand it, it will use this value in the environment that it > exports to any application called from that shell. The question > is whether or not all the escape codes it sends to address the > terminal and all the escape sequences it looks for to represent > arrow keys, etc, will still work.=20 It should - the remote machine "should" have the same terminal description. Your local machine however may have initialized the Linux console to expect UTF-8 encoding, and the remote machine may not know about that. Line- drawing wouldn't work properly in that case, but cursor-movement and keys should. =20 > The best results, so far, are with using cons25 as the > TERM value. The Up and Down arrows work right as opposed to going > right straight to X Exit this menu. My first impression was that it could be a disagreement between the two machine whether cursor-application mode is set. That changes the escape sequence sent by the cursor-keys. However, ncurses' descriptions for both say they're using normal (non-application) mode. So that doesn't seem to explain it. It's also possible that the screensize isn't being transmitted (and "stty -a" would show if it's really 25 lines or not). >=20 > I appreciate all the input because in this game, > knowledge is the power to fix it. >=20 > Martin McCormick > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" --=20 Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net --xHFwDpU9dbj6ez1V Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (SunOS) Comment: For info see http://www.gnupg.org iD8DBQFLXhFOtIqByHxlDocRAhOwAKCi/E87pLeH76w+YJGIuNjwOpKktACfXk1y iOwntUQ1jksPJwshF3d5Guw= =LdKX -----END PGP SIGNATURE----- --xHFwDpU9dbj6ez1V--