Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Aug 2013 10:55:17 +0200
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        dickey@his.com
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: cursor keys not working on console
Message-ID:  <20130810105517.35399e00@munin.geoinf.fu-berlin.de>
In-Reply-To: <20130809011815.GA3360@aerie.jexium-island.net>
References:  <20130808195304.34c34319@munin.geoinf.fu-berlin.de> <20130809011815.GA3360@aerie.jexium-island.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/x8k+Q3cTx1f_lO8yuklvJx=
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Thu, 08 Aug 2013 21:18:15 -0400
Thomas Dickey <dickey@his.com> wrote:

> 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?
>=20
> from infocmp (cons25 vs xterm):
>=20
> 	kcub1: '\E[D', '\EOD'.
> 	kcud1: '\E[B', '\EOB'.
> 	kcuf1: '\E[C', '\EOC'.
> 	kcuu1: '\E[A', '\EOA'.
>=20
> It's probably=20
>=20
> 	http://invisible-island.net/ncurses/ncurses.faq.html#cursor_appmode
>=20
> You would probably find
> 	TERM=3Dxterm-noapp
>=20
> and improvement.
>=20

Hello.

Thanks, this works for me.

I was wondering if others did not have the same problem, since I use
only standard settings for the console (except that I use csh/tcsh
instead of sh).

Regards,
Oliver

--Sig_/x8k+Q3cTx1f_lO8yuklvJx=
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (FreeBSD)

iQEcBAEBAgAGBQJSBf/6AAoJEOgBcD7A/5N8CZIH/2b4D+0DJgQV1r9dEVnTz9vp
zr3sAyO7MAbsDepBJAKJ2hlxDNeCE9dZF95fPQwCwpbO8GqsxQbnWqCRKGrX6fu/
YS5Qe+bOJ+b/2/DtZNpL2P/lUg518LNjNx74bE1EB/ot2qgAaGmuwGo/EJV8IQHF
YEKgVnKx3kdCgxi2T7dq1v8BUOy3fIfW4+OQwzGypPXUevnt1qo1LGxYlo8CRVED
qmC7lvqlKt/JRoBt24cNDat/eAbJn8EJFHiaH13joV6+Y6RE2EG7orfR5BwxQi00
TWG3SLAj2AMQRDqCHuRqNW/fYqmr2Ion8TThV6Zrf6/ye5ELans1WCZ/EIZP4d0=
=lSCI
-----END PGP SIGNATURE-----

--Sig_/x8k+Q3cTx1f_lO8yuklvJx=--



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