zsh-workers
 help / color / mirror / code / Atom feed
From: Mark Hanson <mark@acucobol.com>
To: zsh-workers@math.gatech.edu
Subject: bindkey induced coredump
Date: Thu, 15 Aug 1996 13:38:36 -0700	[thread overview]
Message-ID: <199608152038.NAA29423@acucobol.acucobol.com> (raw)

$ zsh -f
$ echo $ZSH_VERSION
3.0.0
$ bindkey -v
$ bindkey -r '\e[A'
$ bindkey -r '\e[B'
$ bindkey -r '\e[C'
$ bindkey -r '\e[D'
$ <ESC><ESC>
coredump

Here's a stacktrace:

#0  0x7ef80 in getkeycmd () at zle_main.c:528
528             if ((cky = (Key) keybindtab->getnode(keybindtab, keybuf))->func == z_undefinedkey)
(gdb) bt
#0  0x7ef80 in getkeycmd () at zle_main.c:528
#1  0x7e79c in zleread (
    lp=0xc2fc0 "%{\e[33m%}1:%n@%m:%!%#%{\e[36m%} %{\e[32m%}", 
    rp=0xc3f10 "%{\e[35m%}%~%{\e[32m%}") at zle_main.c:431
#2  0x402d0 in inputline () at input.c:264
#3  0x400fc in ingetc () at input.c:220
#4  0x36340 in hgetc () at hist.c:109
#5  0x455f4 in gettok () at lex.c:375
#6  0x44c50 in yylex () at lex.c:185
#7  0x5a024 in parse_event () at parse.c:59
#8  0x3d32c in loop (toplevel=1) at init.c:115
#9  0x3d118 in main (argc=2, argv=0xf7fff48c) at init.c:74

I put the "bindkey -r"'s in there to keep zsh from waiting to see if it
had an escape key or not.  The lag throws me off, but if there aren't
any other keys bound to an escape sequence, the lag goes away.  If you
need more information, let me know.

Thanks,
Mark


             reply	other threads:[~1996-08-15 20:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-08-15 20:38 Mark Hanson [this message]
1996-08-16 11:21 ` Zefram
1996-09-12 11:38 ` Peter Stephenson

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=199608152038.NAA29423@acucobol.acucobol.com \
    --to=mark@acucobol.com \
    --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).