From: Tanaka Akira <akr@jaist.ac.jp>
To: zsh-workers@sunsite.auc.dk
Subject: Re: PATCH: oops, a set -x
Date: 13 Nov 1999 01:08:47 +0900 [thread overview]
Message-ID: <rsqu2mrlmk0.fsf@crane.jaist.ac.jp> (raw)
In-Reply-To: Sven Wischnowsky's message of "Fri, 12 Nov 1999 16:03:50 +0100 (MET)"
In article <199911121503.QAA30053@beta.informatik.hu-berlin.de>,
Sven Wischnowsky <wischnow@informatik.hu-berlin.de> writes:
> Tanaka: have you mentioned that at the time you wrote it and I missed
> it? I tried and since `_telnet' doesn't support options for my
> `telnet' at all, I couldn't find out what goes wrong with these
> options. Could you explain that to me so that we can fix it and
> simplify `_telnet'?
I wrote _telnet with the telnet source of FreeBSD.
http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.bin/telnet/main.c?rev=1.9
It may have short option "-n" and long options "-noasynch",
"-noasynchtty" and "-noasynchnet" under some circumstances. These
long options are implemented by special case of short option "-n".
When completion is tryed just after "-n", zsh cannot decide that it is
the short option or not. So, _telnet should complete option arguments
for "-n" and long options as:
% telnet -<TAB>
-n -noasynch -noasynchtty -noasynchnet and other options
% telnet -n<TAB>
-noasynch -noasynchtty -noasynchnet and filenames
% telnet -n <TAB>
filenames
% telnet -no<TAB>
-noasynch -noasynchtty -noasynchnet and filenames start with "o".
_arguments cannot handle this, maybe.
--
Tanaka Akira
prev parent reply other threads:[~1999-11-12 16:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-11-12 15:03 Sven Wischnowsky
1999-11-12 16:08 ` Tanaka Akira [this message]
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=rsqu2mrlmk0.fsf@crane.jaist.ac.jp \
--to=akr@jaist.ac.jp \
--cc=zsh-workers@sunsite.auc.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).