From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28027 invoked from network); 26 Jun 2006 07:28:42 -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=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; 26 Jun 2006 07:28:42 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 61875 invoked from network); 26 Jun 2006 07:28:34 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 26 Jun 2006 07:28:34 -0000 Received: (qmail 14149 invoked by alias); 26 Jun 2006 07:28:27 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10439 Received: (qmail 14138 invoked from network); 26 Jun 2006 07:28:27 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 26 Jun 2006 07:28:27 -0000 Received: (qmail 60891 invoked from network); 26 Jun 2006 07:28:27 -0000 Received: from rm-001-08.serve.com (HELO support.lxlabs.com) (65.23.159.4) by a.mx.sunsite.dk with SMTP; 26 Jun 2006 07:28:26 -0000 Received: (qmail 32008 invoked by uid 0); 26 Jun 2006 08:03:39 -0000 Received: from dsl-kk-dynamic-033.33.22.125.touchtelindia.net (HELO localhost) (postmaster@lxlabs.com@125.22.33.33) by support.lxlabs.com with SMTP; 26 Jun 2006 08:03:39 -0000 Date: Mon, 26 Jun 2006 12:54:42 +0530 From: Ligesh To: Bart Schaefer Cc: zsh-users@sunsite.dk Subject: Re: Separating and Message-ID: <20060626072442.GA11200@lxlabs.com> Reply-To: Ligesh References: <20060625201749.GA5646@lxlabs.com> <060625141715.ZM8662@torch.brasslantern.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <060625141715.ZM8662@torch.brasslantern.com> User-Agent: Mutt/1.5.10i On Sun, Jun 25, 2006 at 02:17:15PM -0700, Bart Schaefer wrote: > On Jun 26, 1:47am, Ligesh wrote: > } > } I know historically was treated as by terminal drivers > > It has nothing to do with terminal drivers. The definition of TAB in > the ASCII character set is code point decimal 9, which corresponds to > ctrl-I in the same way that backspace (8) is ctrl-H and newline (10) > is ctrl-J. Yeah, I forgot. But 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 ? > > } but is there a way to map these keys to different actions? > > Now *this* does have to do with terminal drivers, because you may be > able to use the terminal driver to remap the character value(s) sent > when you press a given key combination. But that point pressing the > keys "Ctrl" and "I" will no longer be sending a true ctrl-I character, > and other applications may get confused. I have xmodmap, but that will play havoc with my entire system, and I will have reconfigure screen, vim, elinks and I don't know what else. But I guess that's the only way out. I will have to make the terminal driver send a different keystroke for and , the two keys I want changed from their ascii meaning. Thanks