From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12532 invoked from network); 22 May 2000 06:01:31 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 22 May 2000 06:01:31 -0000 Received: (qmail 26617 invoked by alias); 22 May 2000 06:01:22 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 11485 Received: (qmail 26607 invoked from network); 22 May 2000 06:01:20 -0000 From: "Bart Schaefer" Message-Id: <1000522060115.ZM20225@candle.brasslantern.com> Date: Mon, 22 May 2000 06:01:14 +0000 In-Reply-To: <1000522052958.ZM20177@candle.brasslantern.com> Comments: In reply to "Bart Schaefer" "Re: PATCH: Correct the corrections to func.yo" (May 22, 5:29am) References: <1000522051417.ZM20135@candle.brasslantern.com> <1000522052958.ZM20177@candle.brasslantern.com> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.auc.dk Subject: PATCH (?): Relocate "Compatibility" and "Restricted Shell" docs MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable On May 22, 5:29am, Bart Schaefer wrote: } } It would seem to me that it'd make a whole lot more sense if it were ju= st } a section within chapter 3 (Invocation). I haven't committed this to SourceForge, but here it is for consideration= =2E I mean, what do compatibility and the restricted shell have in common wit= h conditional expressions, prompts, and expansion? The one question I have left is why they're relagated to the zshmisc manu= al. Would it be OK to include them in zsh.1, i.e., take out the ifnzman() in invoke.yo? Index: Doc/zsh.yo =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D @@ -53,9 +53,7 @@ ifnzman(includefile(Zsh/jobs.yo))=01 ifnzman(includefile(Zsh/arith.yo))=01 ifnzman(includefile(Zsh/cond.yo))=01 -ifnzman(includefile(Zsh/compat.yo))=01 ifnzman(includefile(Zsh/prompt.yo))=01 -ifnzman(includefile(Zsh/restricted.yo))=01 ifnzman(includefile(Zsh/expn.yo))=01 ifnzman(includefile(Zsh/params.yo))=01 ifnzman(includefile(Zsh/options.yo))=01 Index: Doc/zshmisc.yo =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D @@ -7,6 +7,6 @@ includefile(Zsh/jobs.yo)=01 includefile(Zsh/arith.yo)=01 includefile(Zsh/cond.yo)=01 -includefile(Zsh/compat.yo)=01 includefile(Zsh/prompt.yo)=01 +includefile(Zsh/compat.yo)=01 includefile(Zsh/restricted.yo)=01 Index: Doc/Zsh/compat.yo =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D @@ -1,8 +1,5 @@ -texinode(Compatibility)(Prompt Expansion)(Conditional Expressions)(Top) -chapter(Compatibility) -ifzman(\ +texinode(Compatibility)(Restricted Shell)()(Invocation) sect(Compatibility) -)\ cindex(compatibility) cindex(sh, compatibility) cindex(ksh, compatibility) Index: Doc/Zsh/cond.yo =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D @@ -1,4 +1,4 @@ -texinode(Conditional Expressions)(Compatibility)(Arithmetic Evaluation)(= Top) +texinode(Conditional Expressions)(Prompt Expansion)(Arithmetic Evaluatio= n)(Top) chapter(Conditional Expressions) ifzman(\ sect(Conditional Expressions) Index: Doc/Zsh/expn.yo =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D @@ -1,4 +1,4 @@ -texinode(Expansion)(Parameters)(Restricted Shell)(Top) +texinode(Expansion)(Parameters)(Prompt Expansion)(Top) chapter(Expansion) cindex(expansion) sect(Description) Index: Doc/Zsh/invoke.yo =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D @@ -32,3 +32,11 @@ = runs the script tt(scr), setting the tt(XTRACE) option by the correspond= ing letter `tt(-x)' and the tt(SH_WORD_SPLIT) option by name. + +startmenu() +menu(Compatibility) +menu(Restricted Shell) +endmenu() + +ifnzman(includefile(Zsh/compat.yo))=01 +ifnzman(includefile(Zsh/restricted.yo))=01 Index: Doc/Zsh/manual.yo =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D @@ -20,9 +20,7 @@ menu(Jobs & Signals) menu(Arithmetic Evaluation) menu(Conditional Expressions) -menu(Compatibility) menu(Prompt Expansion) -menu(Restricted Shell) menu(Expansion) menu(Parameters) menu(Options) Index: Doc/Zsh/prompt.yo =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D @@ -1,4 +1,4 @@ -texinode(Prompt Expansion)(Restricted Shell)(Compatibility)(Top) +texinode(Prompt Expansion)(Expansion)(Conditional Expressions)(Top) chapter(Prompt Expansion) ifzman(\ sect(Prompt Expansion) Index: Doc/Zsh/restricted.yo =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D @@ -1,8 +1,5 @@ -texinode(Restricted Shell)(Expansion)(Prompt Expansion)(Top) -chapter(Restricted Shell) -ifzman(\ +texinode(Restricted Shell)()(Compatibility)(Invocation) sect(Restricted Shell) -)\ cindex(restricted shell) pindex(RESTRICTED) When the basename of the command used to invoke zsh starts with the lett= er -- = Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com