From: Peter Stephenson <pws@ifh.de>
To: zsh-users@math.gatech.edu (Zsh users list),
zhouyhong <sve6!zhouyh%ichp7@inethp1.bidc.cn.net>
Subject: Re: How can I make 'run-help' know zsh builtin function?
Date: Fri, 07 Nov 1997 10:08:04 +0100 [thread overview]
Message-ID: <199711070908.KAA25499@hydra.ifh.de> (raw)
In-Reply-To: "zhouyhong"'s message of "Fri, 07 Nov 1997 09:26:54 MET." <199711070130.UAA04920@math.gatech.edu>
zhouyhong wrote:
> Dear Zsh users:
> I have just install Zsh,and I haven't root access.
> I want 'run-help' function know zsh builtin function and
> I found a file named 'Helpfiles' which can DO THIS FOR ME.
> BUT,it's a perl program,I haven't perl in my system
> Is there any other way to do this?Must I download perl to
> my system and compile it for just one program?
I have put a reasonably up to date set of help files on the web
at http://www.ifh.de/~pws/help.tar.gz (there's no link to it,
you must use that URL). This is just temporary. A function like
the one below is necessary for full functionality.
I have a newer version of helpfiles, which I'll post separately
to zsh-workers since it's not useful here.
# start run-help
typeset zhelp=~/src/zsh-3.1.2/Help # CHANGE THIS
typeset page="${PAGER:-less}" # Hack to split words in $page
# maybe change less to more
case $1 in
.) 1=dot;;
:) 1=colon;;
-) 1=dash;;
esac
if [[ $1 = compctl ]]; then
man compctl
elif [[ -f $zhelp/$1 ]]
then
${=page} $zhelp/$1
else
man $1
fi
# end run-help
--
Peter Stephenson <pws@ifh.de> Tel: +49 33762 77366
WWW: http://www.ifh.de/~pws/ Fax: +49 33762 77413
Deutsches Elektronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen
DESY-IfH, Platanenallee 6, 15738 Zeuthen, Germany.
parent reply other threads:[~1997-11-07 9:59 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <199711070130.UAA04920@math.gatech.edu>]
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=199711070908.KAA25499@hydra.ifh.de \
--to=pws@ifh.de \
--cc=sve6!zhouyh%ichp7@inethp1.bidc.cn.net \
--cc=zsh-users@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).