From owner-freebsd-questions Mon Sep 11 17:14:55 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mta03-svc.ntlworld.com (mta03-svc.ntlworld.com [62.253.162.43]) by hub.freebsd.org (Postfix) with ESMTP id 22CC637B424 for ; Mon, 11 Sep 2000 17:14:52 -0700 (PDT) Received: from parish.my.domain ([62.255.96.48]) by mta03-svc.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20000912001450.JFBP16423.mta03-svc.ntlworld.com@parish.my.domain> for ; Tue, 12 Sep 2000 01:14:50 +0100 Received: (from mark@localhost) by parish.my.domain (8.9.3/8.9.3) id BAA02630 for questions@freebsd.org; Tue, 12 Sep 2000 01:14:49 +0100 (BST) (envelope-from mark) Date: Tue, 12 Sep 2000 01:13:28 +0100 From: Mark Ovens To: questions@freebsd.org Subject: xterm(1) keyboard translation overrides Message-ID: <20000912011328.A1666@parish> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG What does ``~'' mean when it prefixes a modifier key in xterm keyboard translation overrides? I was trying to make tcsh(1) (the one in the base system, not the port, if it makes any difference) recognize the left Alt key as Meta. I found the answer in /usr/src/contrib/tcsh/eight-bit.me as: XTerm*vt100.translations: #override \n\ Meta ~Ctrlb: string(0x1b) string(b) \n\ Meta ~CtrlB: string(0x1b) string(B) \n\ Meta ~Ctrld: string(0x1b) string(d) \n\ [snip] The answer is not in the xterm manpage or the xterm FAQ but, looking at the way it is used, I think it means "not", i.e. in the above example Alt-b is only interpreted as Meta-b if the Ctrl key is not also pressed (which is the behaviour I am getting). Is this correct? -- 4.4 - The number of the Beastie ________________________________________________________________ 51.44°N FreeBSD - The Power To Serve http://www.freebsd.org 2.057°W My Webpage http://ukug.uk.freebsd.org/~mark mailto:marko@freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message