Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: man completion
- X-seq: zsh-users 12046
- From: Mildred <ml.mildred593@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: man completion
- Date: Fri, 19 Oct 2007 00:21:48 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:date:from:to:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type:content-transfer-encoding:sender; bh=bdQZ/y9BhfRGiZ6y2iC3CTyUis0zi/zHU3n2mSp1pxU=; b=fcnK9mU2VUBNaGsoyl3yJc/FEQRz5+DlQKI3nn3Ea9S8UEct05h9x6EjiYDOPkbHSWiDfJFwjt2Uaqgx/HMLXODkDzsvuCV7hHfKd3cwrTyuNsp0uJcr5j11pFaysmPPlxV7K0iEBYef0bmeUWKBIOTlwSoai0t3J46pZv9IXTM=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type:content-transfer-encoding:sender; b=ZjYft1UrNBJjta23E9C5rsKXiF9uA40XtX6sE8UMSnPloD5HUfSo3udkEDu48atp6UERLkuwkChZaTl4AVQyFrM4HSMr2WDg75lGGQHmWcrcOlYv32W4mXp5iJslClbKhcIsBdNePCRo8neJi7IUtPMPqxobwsgfSnPFcJWbbfY=
- In-reply-to: <20071013120642.GA20672@xxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20071013011946.0d827b72@kylae> <20071013120642.GA20672@xxxxxxxxxxxxxxxxxxxxx>
- Sender: Mildred mildred <mildred593@xxxxxxxxx>
Le Sat 13/10/2007 à 14:06 arno à écrit:
> Le samedi 13 octobre 2007, à 01:19:46 +0200, Mildred a
> écrit :
> > I noticed that the man command line utility can directly take
> > the filename of a manpage. And I also noticed that on my system,
> > zsh doesn't complete filenames for man, even when I put
> > "./" ...
> > Would it be possible to have this completion too, when we
> > type ./ ? Or if zsh already have it, please tell me how do I enable
> > it ?
>
> Hi,
> I don't have the solution, but a workaround: when using man -l,
> completion shows
> filenames:
> man
> -l ./<TAB>
> According to man manual, man -l is the right way open a file,
> and:
> > When this option is not used, and man fails to find the page
> > required, before displaying the error message, it attempts to act
> > as if this option was supplied, using the name as a filename and
> > looking for an exact
> > match.
>
> So, zsh completion behaviour seems quite coherent to
> me.
> arno.
I don't know why it doesn't work, but it doesn't:
mildred@kylae:src/ant$ man -l ant.1
man: invalid option -- l
man, version 1.6e
usage: man [-adfhktwW] [section] [-M path] [-P pager] [-S list]
[-m system] [-p string] name ...
a : find all matching entries
c : do not use cat file
d : print gobs of debugging information
D : as for -d, but also display the pages
f : same as whatis(1)
h : print this help message
k : same as apropos(1)
K : search for a string in all pages
t : use troff to format pages for printing
w : print location of man page(s) that would be displayed
(if no name given: print directories that would be searched)
W : as for -w, but display filenames only
C file : use `file' as configuration file
M path : set search path for manual pages to `path'
P pager : use program `pager' to display pages
S list : colon separated section list
m system : search for alternate system's man pages
p string : string tells which preprocessors to run
e - [n]eqn(1) p - pic(1) t - tbl(1)
g - grap(1) r - refer(1) v - vgrind(1)
But thanks for your answer. I thought I answered you but apparently the
message never arrived to the mailing list.
--
Mildred Ki'lya
E-Mail: mildred593@xxxxxxxxx
Site: <http://mildred632.free.fr/>
XMPP: <mildred@xxxxxxxxx> (GoogleTalk, Jabber)
GPG: 197C A7E6 645B 4299 6D37 684B 6F9D A8D6 [9A7D 2E2B]
Messages sorted by:
Reverse Date,
Date,
Thread,
Author