From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13417 invoked from network); 4 Nov 2004 14:34:44 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 4 Nov 2004 14:34:44 -0000 Received: (qmail 70293 invoked from network); 4 Nov 2004 14:34:38 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 4 Nov 2004 14:34:38 -0000 Received: (qmail 24141 invoked by alias); 4 Nov 2004 14:33:48 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8171 Received: (qmail 24127 invoked from network); 4 Nov 2004 14:33:47 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 4 Nov 2004 14:33:47 -0000 Received: (qmail 69004 invoked from network); 4 Nov 2004 14:33:47 -0000 Received: from klutz.cs.utk.edu (160.36.56.50) by a.mx.sunsite.dk with SMTP; 4 Nov 2004 14:33:46 -0000 Received: from localhost (klutz [127.0.0.1]) by klutz.cs.utk.edu (Postfix) with ESMTP id 9AA33401CC; Thu, 4 Nov 2004 09:33:44 -0500 (EST) Received: from klutz.cs.utk.edu ([127.0.0.1]) by localhost (klutz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 26997-11; Thu, 4 Nov 2004 09:33:43 -0500 (EST) Received: from red-hots.cs.utk.edu (red-hots.cs.utk.edu [160.36.57.114]) by klutz.cs.utk.edu (Postfix) with ESMTP id 8B9E7400B4; Thu, 4 Nov 2004 09:33:43 -0500 (EST) Received: by red-hots.cs.utk.edu (Postfix, from userid 10605) id CD8CF7FC2; Thu, 4 Nov 2004 09:33:42 -0500 (EST) Date: Thu, 4 Nov 2004 09:33:42 -0500 From: Chris Johnson To: "Matthias B." Cc: zsh-users@sunsite.dk Subject: Re: bindkey -v and alt-. for previous cmd arg Message-ID: <20041104143342.GA15150@red-hots.cs.utk.edu> References: <20041103124858.GA1476@tandv.ws> <20041103135335.GB22247@DervishD> <20041103194444.GB1476@tandv.ws> <20041103195700.GA23399@DervishD> <20041103200138.GA23419@DervishD> <20041104114333.GC1476@tandv.ws> <20041104152010.61207970@buddha.localdomain.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041104152010.61207970@buddha.localdomain.de> User-Agent: Mutt/1.4.2i X-Virus-Scanned: by amavisd-new at cs.utk.edu by ClamAV and McAfee X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=-0.0 required=6.0 tests=BAYES_44 autolearn=no version=2.63 X-Spam-Hits: -0.0 Matthias B. sent me the following 0.9K bytes: > > Yes! And from my recent reading I see that if you bind a key to Esc > > using \e it will be mapped to alt as well. > > No, that's not how it works. It's just that in some terminals (the Linux > console for example, at least with some keymaps) Alt-. produces ESC-. > But this is by no means standard. In my Xterm, when I press Alt-. I get > the (R) registered trademark sign and if I want to bind something to Alt-. > I have to bind it to (R) to work in Xterm. The simplest way to find out > what to bind against is to execute > > cat > > and then press the key combo in question and look at what you see on > screen. On the linux console I get this (with Alt-.) You can also do this at the command line by hitting and then pressing the key in question. That'll save you a process! -- Chris Johnson cjohnson@cs.utk.edu http://www.cs.utk.edu/~cjohnson