From owner-freebsd-questions@FreeBSD.ORG Fri Aug 9 02:19:32 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A646A60A for ; Fri, 9 Aug 2013 02:19:32 +0000 (UTC) (envelope-from tom@invisible-island.net) Received: from vms173003pub.verizon.net (vms173003pub.verizon.net [206.46.173.3]) by mx1.freebsd.org (Postfix) with ESMTP id 80B30252F for ; Fri, 9 Aug 2013 02:19:32 +0000 (UTC) Received: from localhost.localdomain ([unknown] [71.178.218.130]) by vms173003.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0MR800JGDOYFRYE3@vms173003.mailsrvcs.net> for freebsd-questions@freebsd.org; Thu, 08 Aug 2013 20:18:20 -0500 (CDT) Received: from localhost.localdomain (aerie [127.0.0.1]) by localhost.localdomain (8.14.3/8.14.3/Debian-9.4) with ESMTP id r791IFHq003395 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 08 Aug 2013 21:18:15 -0400 Received: (from tom@localhost) by localhost.localdomain (8.14.3/8.14.3/Submit) id r791IF51003393; Thu, 08 Aug 2013 21:18:15 -0400 Date: Thu, 08 Aug 2013 21:18:15 -0400 From: Thomas Dickey To: "O. Hartmann" Subject: Re: cursor keys not working on console Message-id: <20130809011815.GA3360@aerie.jexium-island.net> References: <20130808195304.34c34319@munin.geoinf.fu-berlin.de> MIME-version: 1.0 Content-type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary=y0ulUmNC+osPPQO6 Content-disposition: inline In-reply-to: <20130808195304.34c34319@munin.geoinf.fu-berlin.de> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dickey@his.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Aug 2013 02:19:32 -0000 --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 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--