zsh-workers
 help / color / mirror / code / Atom feed
From: "C. v. Stuckrad" <stucki@math.fu-berlin.de>
To: Tristan Horn <tristan+z@ethereal.net>
Cc: zsh-workers@math.gatech.edu, torstenb@freebsd.org
Subject: Re: possible bug in zsh-3.0.5
Date: Sat, 16 May 1998 21:21:12 +0200 (MET DST)	[thread overview]
Message-ID: <Pine.GSO.3.95q.980516210423.13317A-100000@petzval> (raw)
In-Reply-To: <19980512042905.I6203@ethereal.net>

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.

Your's   Stucki

Christoph von Stuckrad       * *  | talk to  | <stucki@math.fu-berlin.de> \
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       /


      reply	other threads:[~1998-05-16 19:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-05-11 18:20 Snob Art Genre
1998-05-12 11:29 ` Tristan Horn
1998-05-16 19:21   ` C. v. Stuckrad [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.GSO.3.95q.980516210423.13317A-100000@petzval \
    --to=stucki@math.fu-berlin.de \
    --cc=torstenb@freebsd.org \
    --cc=tristan+z@ethereal.net \
    --cc=zsh-workers@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).