From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3252 invoked from network); 12 Oct 1998 17:27:10 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 12 Oct 1998 17:27:10 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id NAA07080; Mon, 12 Oct 1998 13:19:36 -0400 (EDT) Resent-Date: Mon, 12 Oct 1998 13:19:26 -0400 (EDT) From: "Bart Schaefer" Message-Id: <981012102212.ZM9096@candle.brasslantern.com> Date: Mon, 12 Oct 1998 10:22:12 -0700 In-Reply-To: <19981012194047.A16335@kappa.ro> Comments: In reply to Mircea Damian "Re: How to trigger the death of zsh(3.0.5)" (Oct 12, 7:40pm) References: <19981008204953.A9624@kappa.ro> <981008115831.ZM20784@candle.brasslantern.com> <19981008224442.A10128@kappa.ro> <19981008224940.B10300@kappa.ro> <981008143455.ZM21286@candle.brasslantern.com> <19981009074334.A14649@kappa.ro> <981009091725.ZM25014@candle.brasslantern.com> <19981009212901.A25723@kappa.ro> <981012075321.ZM8574@candle.brasslantern.com> <19981012194047.A16335@kappa.ro> X-Mailer: Z-Mail (4.0b.820 20aug96) To: Mircea Damian , zsh-users@math.gatech.edu Subject: Re: How to trigger the death of zsh(3.0.5) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Resent-Message-ID: <"ztR451.0.zj1.UeZ8s"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1862 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu On Oct 12, 7:40pm, Mircea Damian wrote: } Subject: Re: How to trigger the death of zsh(3.0.5) } } > Alt-y should generate one 8-bit character for the \C\My binding to work } > } > Anytime a key generates a two- character or longer sequence, you have to } > spell it out explicitly in the bindkey command. } } I'm using Xmodmap for xterm, but shouldn't the linux console be ok? I don't know very much about how the linux console works. A quick test on my machine shows the console emitting ESC Ctrl-y for Ctrl-Alt-y, which fits what you described, but I don't know why that's the case. } If you rely on generating 8-bit sequences then if I would use a plain } terminal(of course I won't do that :-)) which is not able to generate 8-bit } chars what would happen? IMHO the best choice here is to make an option to } swap between the two types. Zsh does this with two sets of key bindings (keymaps). If your terminal sends real 8-bit bytes when the Alt or Meta keys are held down, then you should use "bindkey -m" to enable the default meta-bindings. (I forget whether there's some other way to automatically enable that keymap, and keybinding stuff has changed somewhat in 3.1.4.) If your terminal doesn't send 8 bits (including if your stty settings strip to 7 bits, which might happen e.g. on dialups) then you should not use any of the meta-bindings. } But still why \Cv \C\My gives me only an ESC ??? My guess is that it's sending ESC Ctrl-y (as for the console). Ctrl-v quotes the ESC, but then Ctrl-y executes "yank" which inserts nothing because the kill buffer is empty. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com