Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH (?): Relocate "Compatibility" and "Restricted Shell" docs
- X-seq: zsh-workers 11485
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: PATCH (?): Relocate "Compatibility" and "Restricted Shell" docs
- Date: Mon, 22 May 2000 06:01:14 +0000
- In-reply-to: <1000522052958.ZM20177@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <1000522051417.ZM20135@xxxxxxxxxxxxxxxxxxxxxxx> <1000522052958.ZM20177@xxxxxxxxxxxxxxxxxxxxxxx>
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 just
} a section within chapter 3 (Invocation).
I haven't committed this to SourceForge, but here it is for consideration.
I mean, what do compatibility and the restricted shell have in common with
conditional expressions, prompts, and expansion?
The one question I have left is why they're relagated to the zshmisc manual.
Would it be OK to include them in zsh.1, i.e., take out the ifnzman() in
invoke.yo?
Index: Doc/zsh.yo
===================================================================
@@ -53,9 +53,7 @@
ifnzman(includefile(Zsh/jobs.yo))
ifnzman(includefile(Zsh/arith.yo))
ifnzman(includefile(Zsh/cond.yo))
-ifnzman(includefile(Zsh/compat.yo))
ifnzman(includefile(Zsh/prompt.yo))
-ifnzman(includefile(Zsh/restricted.yo))
ifnzman(includefile(Zsh/expn.yo))
ifnzman(includefile(Zsh/params.yo))
ifnzman(includefile(Zsh/options.yo))
Index: Doc/zshmisc.yo
===================================================================
@@ -7,6 +7,6 @@
includefile(Zsh/jobs.yo)
includefile(Zsh/arith.yo)
includefile(Zsh/cond.yo)
-includefile(Zsh/compat.yo)
includefile(Zsh/prompt.yo)
+includefile(Zsh/compat.yo)
includefile(Zsh/restricted.yo)
Index: Doc/Zsh/compat.yo
===================================================================
@@ -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
===================================================================
@@ -1,4 +1,4 @@
-texinode(Conditional Expressions)(Compatibility)(Arithmetic Evaluation)(Top)
+texinode(Conditional Expressions)(Prompt Expansion)(Arithmetic Evaluation)(Top)
chapter(Conditional Expressions)
ifzman(\
sect(Conditional Expressions)
Index: Doc/Zsh/expn.yo
===================================================================
@@ -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
===================================================================
@@ -32,3 +32,11 @@
runs the script tt(scr), setting the tt(XTRACE) option by the corresponding
letter `tt(-x)' and the tt(SH_WORD_SPLIT) option by name.
+
+startmenu()
+menu(Compatibility)
+menu(Restricted Shell)
+endmenu()
+
+ifnzman(includefile(Zsh/compat.yo))
+ifnzman(includefile(Zsh/restricted.yo))
Index: Doc/Zsh/manual.yo
===================================================================
@@ -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
===================================================================
@@ -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
===================================================================
@@ -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 letter
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author