From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8660 invoked from network); 17 Aug 2006 16:12:38 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-25) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 17 Aug 2006 16:12:38 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 29302 invoked from network); 17 Aug 2006 16:12:32 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 17 Aug 2006 16:12:32 -0000 Received: (qmail 3814 invoked by alias); 17 Aug 2006 16:12:23 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10616 Received: (qmail 3805 invoked from network); 17 Aug 2006 16:12:22 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 17 Aug 2006 16:12:22 -0000 Received: (qmail 28092 invoked from network); 17 Aug 2006 16:12:22 -0000 Received: from cluster-d.mailcontrol.com (217.69.20.190) by a.mx.sunsite.dk with SMTP; 17 Aug 2006 16:12:20 -0000 Received: from cameurexb01.EUROPE.ROOT.PRI ([62.189.241.200]) by rly26d.srv.mailcontrol.com (MailControl) with ESMTP id k7HG9aBL023680 for ; Thu, 17 Aug 2006 17:12:12 +0100 Received: from news01.csr.com ([10.103.143.38]) by cameurexb01.EUROPE.ROOT.PRI with Microsoft SMTPSVC(6.0.3790.1830); Thu, 17 Aug 2006 17:09:58 +0100 Date: Thu, 17 Aug 2006 17:09:58 +0100 From: Peter Stephenson To: zsh-users@sunsite.dk Subject: Re: ALT/meta problems Message-Id: <20060817170958.fb3ea896.pws@csr.com> In-Reply-To: <20060817.175433.59471589.Meino.Cramer@gmx.de> References: <20060817.175433.59471589.Meino.Cramer@gmx.de> Organization: Cambridge Silicon Radio X-Mailer: Sylpheed version 2.2.6 (GTK+ 2.6.7; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 17 Aug 2006 16:09:58.0768 (UTC) FILETIME=[96437F00:01C6C217] X-Scanned-By: MailControl A-07-04-01 (www.mailcontrol.com) on 10.68.0.136 Meino Christian Cramer wrote: > Or I start mrxvt as 'mrxvt -m8' instructing mrxvt to generate single > byte keyvalue for the meta-keys as exspected by vim. Then keymappings > in vim of the kind described above do work...but I will loose (for > example) the very handy feature of zsh: pressing ALT-. to get the last > argument of the previous command. Zsh exspects - sequences > for the Meta-keys. "bindkey -m" binds the default keys in the other way. Note it doesn't have a future effect, i.e. anything you define yourself must be defined with bindkey "\M-..." if you want that effect. Unlike Emacs they're not tied together, so you need to do bindkey "\e..." as well if you want the escape version to work. (Hence you don't *need* "bindkey -m" to use the Meta key if you only want to bind specific sequences of your own.) With 4.3.2 use "bindkey -m 2>/dev/null"; bindkey -m gives a warning when multibyte mode is enabled since it will mess up multibyte input. However, if you don't care you can suppress the warning. There's a supposedly de-obfuscatory sidebar called "THE META KEY" in "From Bash to Z Shell" on page 78. -- Peter Stephenson Software Engineer CSR PLC, Churchill House, Cambridge Business Park, Cowley Road Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070 To access the latest news from CSR copy this link into a web browser: http://www.csr.com/email_sig.php