zsh-workers
 help / color / mirror / code / Atom feed
* bindkey induced coredump
@ 1996-08-15 20:38 Mark Hanson
  1996-08-16 11:21 ` Zefram
  1996-09-12 11:38 ` Peter Stephenson
  0 siblings, 2 replies; 3+ messages in thread
From: Mark Hanson @ 1996-08-15 20:38 UTC (permalink / raw)
  To: zsh-workers

$ 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1996-09-12 12:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-08-15 20:38 bindkey induced coredump Mark Hanson
1996-08-16 11:21 ` Zefram
1996-09-12 11:38 ` Peter Stephenson

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).