Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jan 2010 16:47:37 -0500
From:      Thomas Dickey <dickey@radix.net>
To:        Martin McCormick <martin@dc.cis.okstate.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: sysinstall and the Right Terminal
Message-ID:  <20100125214737.GA15815@saltmine.radix.net>
In-Reply-To: <201001251525.o0PFPL0t074757@dc.cis.okstate.edu>
References:  <201001251525.o0PFPL0t074757@dc.cis.okstate.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100125214737.GA15815>