From: duvall@dhduvall.student.Princeton.EDU (Danek Duvall)
To: zsh-workers@math.gatech.edu (Zsh development list)
Subject: Breakage with compctl?
Date: Fri, 10 Jan 1997 22:04:37 -0500 [thread overview]
Message-ID: <199701110304.WAA05421@lorien.princeton.edu> (raw)
-----BEGIN PGP SIGNED MESSAGE-----
This problem occurs on both zsh 3.0.2 (on Linux) and zsh 3.1.0 (on Solaris).
Run zsh -f and source a file containing the following:
friends=( duvall )
_machines=( lorien.princeton.edu cassius.mts.jhu.edu )
function _get_hosts {
typeset -l _user
reply=()
read -l
_user=($=REPLY)
reply=($_machines)
}
compctl -q -k friends -S @ -x 'n[0,@]' -K _get_hosts -- finger talk ytalk
Now type:
% finger duvall@lo<TAB>
Which expands to
% finger duvall@lorien.princeton.edu _
Now erase back to the @:
% finger duvall@_
and expand:
% <lots of garbage>
After this, it seems zsh is pretty screwed up. I've managed to get both
bus errors and segmentation faults. Sometimes it happens when hitting
control-C, sometimes it doesn't happen for a while.
Anyway, I can regularly reproduce this. Anyone else seen this? I can
recompile and get a stack trace if that would be of any help.
Thanks,
Danek
- --
Danek Duvall <duvall@lorien.princeton.edu> PGP keyID: 1024/280CEFB5
Computer Science, Princeton University F-print: 55 FD E0 AE 19 1C 7D DA
http://lorien.princeton.edu/~duvall/ E5 D0 56 B2 48 5F A7 A9
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
iQCUAwUBMtcDPXusfJIoDO+1AQHNYQP2Lf9H6clakJHJO2C/Jgs6+pVmxMxDkqav
9w9gzlPt6sdzDL5vhbP0a4rQ4/eHjevqDH/PSvS4b7ZxBvNJ2OOMw/gtDFt0YLsu
SKewuvQeKIWPdaAqNZepxxHZn0huYDwyV4h3WwkOm6EEO/SLdqs2UuaK2JIhLKPb
W/ma/5tnoQ==
=PifX
-----END PGP SIGNATURE-----
next reply other threads:[~1997-01-11 2:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-01-11 3:04 Danek Duvall [this message]
1997-01-11 22:51 ` Zoltan Hidvegi
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=199701110304.WAA05421@lorien.princeton.edu \
--to=duvall@dhduvall.student.princeton.edu \
--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).