From owner-freebsd-x11@FreeBSD.ORG Wed Jul 18 15:13:09 2007 Return-Path: X-Original-To: freebsd-x11@freebsd.org Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 943ED16A407 for ; Wed, 18 Jul 2007 15:13:09 +0000 (UTC) (envelope-from yuri@darklight.org.ru) Received: from darklight.org.ru (darklight.org.ru [194.186.18.14]) by mx1.freebsd.org (Postfix) with ESMTP id 448B413C467 for ; Wed, 18 Jul 2007 15:13:07 +0000 (UTC) (envelope-from yuri@darklight.org.ru) Received: from darklight.org.ru (yuri@darklight.org.ru [127.0.0.1]) by darklight.org.ru (8.14.1/8.14.1) with ESMTP id l6IFC4WT050039 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 18 Jul 2007 19:12:10 +0400 (MSD) (envelope-from yuri@darklight.org.ru) Received: (from yuri@localhost) by darklight.org.ru (8.14.1/8.14.1/Submit) id l6IFC4qr050036 for freebsd-x11@freebsd.org; Wed, 18 Jul 2007 19:12:04 +0400 (MSD) (envelope-from yuri@darklight.org.ru) Date: Wed, 18 Jul 2007 19:12:04 +0400 From: Yuri Pankov To: freebsd-x11@freebsd.org Message-ID: <20070718151204.GA49743@darklight.org.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Fba/0zbH8Xs+Fj9o" Content-Disposition: inline User-Agent: Mutt/1.5.16 (2007-06-09) X-Greylist: Sender is SPF-compliant, not delayed by milter-greylist-3.0 (darklight.org.ru [127.0.0.1]); Wed, 18 Jul 2007 19:12:10 +0400 (MSD) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: xterm, ncurses and End key X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jul 2007 15:13:09 -0000 --Fba/0zbH8Xs+Fj9o Content-Type: multipart/mixed; boundary="wac7ysb48OaltWcw" Content-Disposition: inline --wac7ysb48OaltWcw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, I've noticed that applications linked with system ncursesw library don't recognize End key (mutt says 'Key not bound', mocp - 'bad command', for example). Using mutt's `what-key' function I've found that it send 0601 code, and not 0550, as specified in src/contrib/ncurses/include/Caps for `kend'. Though changing this entry to contain 0601 works in xterm, it breaks End key when apps are used in syscons. Attached patch for termcap seems to solve this problem (changing `kslt' and `kll' terminfo entries), but is this correct solution, or there's something wrong with my setup? Running -CURRENT/amd64. TIA, Yuri --wac7ysb48OaltWcw-- --Fba/0zbH8Xs+Fj9o Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQBGni3EeoAklVFrLdgRAictAJ0TP90ffYlCkgac225CM8qM7p44cQCaAngG X3wi0EDtDtW7hyMeXxeQDto= =oxML -----END PGP SIGNATURE----- --Fba/0zbH8Xs+Fj9o--