From owner-freebsd-arch@FreeBSD.ORG Thu Jan 3 02:16:55 2008 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F76F16A417 for ; Thu, 3 Jan 2008 02:16:55 +0000 (UTC) (envelope-from grafan@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.187]) by mx1.freebsd.org (Postfix) with ESMTP id 0226B13C44B for ; Thu, 3 Jan 2008 02:16:54 +0000 (UTC) (envelope-from grafan@gmail.com) Received: by fk-out-0910.google.com with SMTP id b27so8718951fka.11 for ; Wed, 02 Jan 2008 18:16:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; bh=F3y/GpUvTG1tVe06q62N4kNbtdzo1X3QX9WcElgOD6c=; b=YzjGiQaY0zC55QmgJyQpatl3M7fbC759WJrSpoUfwhruEyqrrtmR2qMwedE7RsYw9qCx0pYwaK3uwuEnxLphvJrkKXHI3MOSZjUjFmcJ75xPUL6xl+IP3iZqsBGs6VKSy4gZ4kjGLfbdOub9Yq5IEZIY2fduj7Dbp3sQZjwjxaw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=BUs8ZbADqzDerZp/trKHrhwv9rrhrqTxRtf5AO0NaBNy8cuk4EE0iIpVRzB6HPxPKmLHPg/8uidG09TGu+P2YenBgiaf7rCge42Ts4Rm63iUMh5ajySus2lgOlyzZtbObdWKhxlSkBQTV6/WwvFBUvWrEFdr/YTXZAJ2yf+OPVg= Received: by 10.82.112.3 with SMTP id k3mr26775831buc.15.1199324854807; Wed, 02 Jan 2008 17:47:34 -0800 (PST) Received: by 10.82.116.17 with HTTP; Wed, 2 Jan 2008 17:47:34 -0800 (PST) Message-ID: <6eb82e0801021747w73a04d5ckc0a7ef623a806302@mail.gmail.com> Date: Thu, 3 Jan 2008 09:47:34 +0800 From: "Rong-en Fan" To: freebsd-arch@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Ulrich Spoerlein Subject: removing kH and *6 from xterm X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jan 2008 02:16:55 -0000 Hi folks, Recently, I'm looking into 100150 which reports END key does not working in mutt. With some help from ncurses author, I think this problem is caused by our termcap. To be specific, our termcap defines kH, @7 (the END key), and *6 to \EOF. ncurses has the limitation that it will only return the first matched key back. So, in ncurses based program, it receives kH instead of @7 when you hit END. I just checked NetBSD's termcap, they only defines @7 to \EOF in xterm entry. Also, on a Linux box, infocmp shows that only @7 is defined but not *6 and kH. So, I'm wondering whether we should remove those two keys (kH and @7)? Thanks, Rong-En Fan