Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Aug 2013 21:18:15 -0400
From:      Thomas Dickey <dickey@his.com>
To:        "O. Hartmann" <ohartman@zedat.fu-berlin.de>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: cursor keys not working on console
Message-ID:  <20130809011815.GA3360@aerie.jexium-island.net>
In-Reply-To: <20130808195304.34c34319@munin.geoinf.fu-berlin.de>
References:  <20130808195304.34c34319@munin.geoinf.fu-berlin.de>

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

--y0ulUmNC+osPPQO6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Aug 08, 2013 at 07:53:04PM +0200, O. Hartmann wrote:
> The cursor keys on the consoles in freebsd CURRENT (no X11 virtual
> consoles, the FreeBSD consoles!) do not work for me.
>=20
> I use tcsh as the main shell.
> As set by default in /etc/ttys, the console's terminal type is xterm.
> Switching to=20
>=20
> setenv TERM cons25
>=20
> solves the problem, but the menus in ports via make config look ugly
> and more ugly, but they are unusable with the setting "TERM=3Dxterm".
>=20
> What is wrong here? Why are the cursor keys not working in the
> console/ports menu as expected when using tcsh/csh as default shell?

=66rom infocmp (cons25 vs xterm):

	kcub1: '\E[D', '\EOD'.
	kcud1: '\E[B', '\EOB'.
	kcuf1: '\E[C', '\EOC'.
	kcuu1: '\E[A', '\EOA'.

It's probably=20

	http://invisible-island.net/ncurses/ncurses.faq.html#cursor_appmode

You would probably find
	TERM=3Dxterm-noapp

and improvement.

--=20
Thomas E. Dickey <dickey@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net

--y0ulUmNC+osPPQO6
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAlIEQ1cACgkQcCNT4PfkjtvhdQCeLaLES8L4UmH/Z78CzX7zU1Cb
SoQAn2M91T1kh+R5a6fOTX9pjb3cfgkF
=+30a
-----END PGP SIGNATURE-----

--y0ulUmNC+osPPQO6--



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