zsh-users
 help / color / mirror / code / Atom feed
* segfault when overriding complete-word then trying to use tab completion
@ 2002-03-01  0:16 Ian Lynagh
  2002-03-01  9:26 ` Bart Schaefer
  0 siblings, 1 reply; 8+ messages in thread
From: Ian Lynagh @ 2002-03-01  0:16 UTC (permalink / raw)
  To: zsh-users


Hi all

When overriding complete-word seemingly at random I either get binary
junk, a segfault, both or nothing (but never tab completion) when
pressing tab.

For example:

ian@majestica:~/.zsh% zsh
ian@majestica:~/.zsh% . ./z1
ian@majestica:~/.zsh% ls øå^M^H^HX^M^H^È^Y^Q^H^È^Y^Q^H( ^N^H( ^N^H0^Ê^[@0^Ê^[@8^Ê^[@8^Ê^[@°^Ë^P^HÀ^?^M^H^Øç^P^H^Øç^P^HP^Ê^[@P^Ê^[@X^Ê^[@X^Ê^[@`^Ê^[@`^Ê^[@@ð^M^H@ð^M^Hp^Ê^[@p^Ê^[@(^Q^N^H(^Q^N^H^À^Ê^[@^À^Ê^[@^È^Ê^[@^È^Ê^[@^Ð^Ê^[@^Ð^Ê^[@^Ø^Ê^[@^Ø^Ê^[@ ^Ê^[@ ^Ê^[@¨^Ê^[@¨^Ê^[@È^U^N^H "^N^Hð ^N^Høå^P^HÈBUFFERLINESøå^M^H^HX^M^H^È^Y^Q^H^È^Y^Q^H( ^N^H( ^N^H0^Ê^[@0^Ê^[@8^Ê^[@8^Ê^[@°^Ë^P^HÀ^?^M^H^Øç^P^H^Øç^P^HP^Ê^[@P^Ê^[@X^Ê^[@X^Ê^[@`^Ê^[@`^Ê^[@@ð^M^H@ð^M^Hp^Ê^[@p^Ê^[@(^Q^N^H(^Q^N^H^À^Ê^[@^À^Ê^[@^È^Ê^[@^È^Ê^[@^Ð^Ê^[@^Ð^Ê^[@^Ø^Ê^[@^Ø^Ê^[@ ^Ê^[@ ^Ê^[@¨^Ê^[@¨^Ê^[@È^U^N^H "^N^Hð ^N^Høå^P^HÈzsh: segmentation fault  zsh
ian@majestica:~/.zsh% cat z1

function complete-word {
    zle .complete-word
}
zle -N complete-word

ian@majestica:~/.zsh% bindkey -L | grep "\^I"
bindkey "^I" complete-word
ian@majestica:~/.zsh% 


Thanks
Ian


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

end of thread, other threads:[~2002-03-07 15:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-01  0:16 segfault when overriding complete-word then trying to use tab completion Ian Lynagh
2002-03-01  9:26 ` Bart Schaefer
2002-03-01 12:32   ` Ian Lynagh
2002-03-01 16:36     ` Bart Schaefer
2002-03-01 17:25       ` Ian Lynagh
2002-03-06  8:37         ` Sven Wischnowsky
2002-03-06 17:14           ` Bart Schaefer
2002-03-07 15:03             ` Ian Lynagh

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