From: Ian Lynagh <igloo@earth.li>
To: zsh-users@sunsite.dk
Subject: segfault when overriding complete-word then trying to use tab completion
Date: Fri, 1 Mar 2002 00:16:23 +0000 [thread overview]
Message-ID: <20020301001623.GA3551@stu163.keble.ox.ac.uk> (raw)
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
next reply other threads:[~2002-03-01 0:17 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-01 0:16 Ian Lynagh [this message]
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
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=20020301001623.GA3551@stu163.keble.ox.ac.uk \
--to=igloo@earth.li \
--cc=zsh-users@sunsite.dk \
/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).