Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: How to trigger the death of zsh(3.0.5)
- X-seq: zsh-users 1854
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- To: Mircea Damian <dmircea@xxxxxxxxxxxxx>, zsh-users@xxxxxxxxxxxxxxx
- Subject: Re: How to trigger the death of zsh(3.0.5)
- Date: Fri, 9 Oct 1998 09:17:25 -0700
- In-reply-to: <19981009074334.A14649@xxxxxxxx>
- References: <19981008204953.A9624@xxxxxxxx> <981008115831.ZM20784@xxxxxxxxxxxxxxxxxxxxxxx> <19981008224442.A10128@xxxxxxxx> <19981008224940.B10300@xxxxxxxx> <981008143455.ZM21286@xxxxxxxxxxxxxxxxxxxxxxx> <19981009074334.A14649@xxxxxxxx>
On Oct 9, 7:43am, Mircea Damian wrote:
} Subject: Re: How to trigger the death of zsh(3.0.5)
}
} > You can do `ESC - ESC 1 ESC .' to negate the digit, in which case zsh
} > counts from the beginning.
}
} I think that a temporary _ugly_ fix is to bind the keys for some exact
} cases(5 or 6 arguments). This will "fix" their request... but I repeat it's
} ugly.
Be very careful not to introduce a loop. You can't, for example, do
bindkey -s '\e1\e.' '\e-\e1\e.'
as the ESC 1 ESC . in the expansion will again match the key binding and
repeat the expansion.
} > More specifically than that, I can't tell. If you type \Cv \C\My, what
} > do you see? If you see ^Y, then your alt or meta key isn't working,
} > which could explain the beeping.
}
} Something strange happens here.
} If I type \Cv \C\My I only get the ESC character('^[')
Are you doing (hold down Ctrl, hold down Alt, tap Y) or are you doing
(tap ESC, hold down Ctrl, tap Y)? The binding I gave was for the first
of those, and does not also cause the second one to be bound. You need
to also do
bindkey '\e\Cy' insert-last-word
to get the ESC prefix to work.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author