From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25007 invoked from network); 7 Nov 1997 09:59:52 -0000 Received: from ns2.primenet.com.au (7795@203.24.36.3) by ns1.primenet.com.au with SMTP; 7 Nov 1997 09:59:52 -0000 Received: (qmail 1544 invoked from network); 7 Nov 1997 09:59:49 -0000 Received: from math.gatech.edu (root@130.207.146.50) by ns2.primenet.com.au with SMTP; 7 Nov 1997 09:59:49 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id EAA09347; Fri, 7 Nov 1997 04:08:34 -0500 (EST) Resent-Date: Fri, 7 Nov 1997 04:08:01 -0500 (EST) Message-Id: <199711070908.KAA25499@hydra.ifh.de> To: zsh-users@math.gatech.edu (Zsh users list), zhouyhong Subject: Re: How can I make 'run-help' know zsh builtin function? In-reply-to: "zhouyhong"'s message of "Fri, 07 Nov 1997 09:26:54 MET." <199711070130.UAA04920@math.gatech.edu> Date: Fri, 07 Nov 1997 10:08:04 +0100 From: Peter Stephenson Resent-Message-ID: <"rW46O3.0.XH2.mfjOq"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1130 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@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 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.