From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10304 invoked from network); 27 Jun 2006 02:46:41 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.3 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 27 Jun 2006 02:46:41 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 22108 invoked from network); 27 Jun 2006 02:46:34 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 27 Jun 2006 02:46:34 -0000 Received: (qmail 10941 invoked by alias); 27 Jun 2006 02:46:25 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10447 Received: (qmail 10924 invoked from network); 27 Jun 2006 02:46:24 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 27 Jun 2006 02:46:24 -0000 Received: (qmail 20868 invoked from network); 27 Jun 2006 02:46:24 -0000 Received: from vms040pub.verizon.net (206.46.252.40) by a.mx.sunsite.dk with SMTP; 27 Jun 2006 02:46:22 -0000 Received: from torch.brasslantern.com ([71.116.74.94]) by vms040.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0J1H00MJIZP0W2D3@vms040.mailsrvcs.net> for zsh-users@sunsite.dk; Mon, 26 Jun 2006 21:46:21 -0500 (CDT) Received: from torch.brasslantern.com (localhost.localdomain [127.0.0.1]) by torch.brasslantern.com (8.13.1/8.13.1) with ESMTP id k5R2kBWq013930 for ; Mon, 26 Jun 2006 19:46:11 -0700 Received: (from schaefer@localhost) by torch.brasslantern.com (8.13.1/8.13.1/Submit) id k5R2kBkh013929 for zsh-users@sunsite.dk; Mon, 26 Jun 2006 19:46:11 -0700 Date: Mon, 26 Jun 2006 19:46:11 -0700 From: Bart Schaefer Subject: Re: Separating and In-reply-to: <20060625223530.GA7971@lxlabs.com> To: zsh-users@sunsite.dk Message-id: <060626194611.ZM13928@torch.brasslantern.com> MIME-version: 1.0 X-Mailer: OpenZMail Classic (0.9.2 24April2005) Content-type: text/plain; charset=us-ascii References: <20060625201749.GA5646@lxlabs.com> <060625141715.ZM8662@torch.brasslantern.com> <20060625223530.GA7971@lxlabs.com> Comments: In reply to Ligesh "Re: Separating and " (Jun 26, 4:05am) On Jun 26, 4:05am, Ligesh wrote: } } [...] does that mean zsh is actually processing the } ascii value of the key pressed? So zsh has no means to know whether it } was or ? Yes, and correct. Although the window system knows the detailed state of the keyboard, zsh is restricted to working with what it gets through the TTY device, after the terminal emulator has done its thing. } I have xmodmap, but that will play havoc with my entire system, [...] } But I guess that's the only way out. No, you can assign the mappings just within the terminal emulator (e.g. xterm) by using appropriate X resources. You may even be able to limit the remappings to instances of the emulator that have been given a specific window name. Look at the documentation for the terminal progam to see what resources it supports.