Zsh Mailing List Archive
Messages sorted by:
Re: possible bug in zsh-3.0.5
- X-seq: zsh-workers 3979
- From: "C. v. Stuckrad" <stucki@xxxxxxxxxxxxxxxxx>
- To: Tristan Horn <tristan+z@xxxxxxxxxxxx>
- Subject: Re: possible bug in zsh-3.0.5
- Date: Sat, 16 May 1998 21:21:12 +0200 (MET DST)
- Cc: zsh-workers@xxxxxxxxxxxxxxx, torstenb@xxxxxxxxxxx
- In-reply-to: <19980512042905.I6203@xxxxxxxxxxxx>
- Priority: normal
- Reply-to: "C. v. Stuckrad" <stucki@xxxxxxxxxxxxxxxxx>
On Tue, 12 May 1998, Tristan Horn wrote:
> On Mon, May 11, 1998 at 02:20:12PM -0400, Snob Art Genre wrote:
> > I'm having a problem with zsh 3.0.5 on FreeBSD-stable. Although the
> > arrow keys sometimes work, sometimes they just generate a bell and an
> > 'A', 'B', 'C' or 'D'.
> This happens often to me after using things like ncftp in visual mode,
> although I can't seem to recreate the problem at the moment.
> 'reset' tends to fix it. Anyone have a termcap/terminfo patch for this?
> I'm not sure what the actual cause is.
There is *nothing* wrong with zsh if 'reset' fixes it.
Your TERM(inal) is one of the types (like vt100) that has *two* Arrow-Key
modes. Curses-driven Programs like ncftp or vi and lots of others switch
the mode of the teminal to the 'non default one' during curses-interaction
with the user. Normally those programs switch back when they end, but if
something fails, or if you have something 'filtering' or interferring
between the program and the terminal, you get strange effects. The result
is the terminal sending one set of codes for arrow-key and the zsh
accepting only the other which gives beeps for ununderstood zle-bindings
or entered characters (mostly ABCD).
Somebody *might*(?) create an zle-option to *always* set the correct
terminal-setup for every zle-start, but I doubt it's a good idea.
Christoph von Stuckrad * * | talk to | <stucki@xxxxxxxxxxxxxxxxx> \
Freie Universitaet Berlin |/_* | nickname | ...!unido!fub!leibniz!stucki|
Fachbereich Mathematik, EDV |\ * | 'stucki' | Tel:+49 30 838-75459 |
Arnimallee 2-6/14195 Berlin * * | on IRC | Fax:+49 30 838-75454 /
Messages sorted by: