From owner-freebsd-questions@FreeBSD.ORG Sat Aug 10 08:51:34 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A509D90E for ; Sat, 10 Aug 2013 08:51:34 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0ED2A2FBE for ; Sat, 10 Aug 2013 08:51:34 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.80.1) with esmtp (envelope-from ) id <1V84tR-001LRi-C5>; Sat, 10 Aug 2013 10:51:25 +0200 Received: from g225187188.adsl.alicedsl.de ([92.225.187.188] helo=munin.geoinf.fu-berlin.de) by inpost2.zedat.fu-berlin.de (Exim 4.80.1) with esmtpsa (envelope-from ) id <1V84tR-000Yf3-8j>; Sat, 10 Aug 2013 10:51:25 +0200 Date: Sat, 10 Aug 2013 10:55:17 +0200 From: "O. Hartmann" To: dickey@his.com 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> Organization: FU Berlin X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd9.2) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/x8k+Q3cTx1f_lO8yuklvJx="; protocol="application/pgp-signature" X-Originating-IP: 92.225.187.188 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Aug 2013 08:51:34 -0000 --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 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=--