From: "Bart Schaefer" <schaefer@candle.brasslantern.com>
To: zsh-workers@sunsite.auc.dk
Subject: PATCH (?): Relocate "Compatibility" and "Restricted Shell" docs
Date: Mon, 22 May 2000 06:01:14 +0000 [thread overview]
Message-ID: <1000522060115.ZM20225@candle.brasslantern.com> (raw)
In-Reply-To: <1000522052958.ZM20177@candle.brasslantern.com>
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))\x01
ifnzman(includefile(Zsh/arith.yo))\x01
ifnzman(includefile(Zsh/cond.yo))\x01
-ifnzman(includefile(Zsh/compat.yo))\x01
ifnzman(includefile(Zsh/prompt.yo))\x01
-ifnzman(includefile(Zsh/restricted.yo))\x01
ifnzman(includefile(Zsh/expn.yo))\x01
ifnzman(includefile(Zsh/params.yo))\x01
ifnzman(includefile(Zsh/options.yo))\x01
Index: Doc/zshmisc.yo
===================================================================
@@ -7,6 +7,6 @@
includefile(Zsh/jobs.yo)\x01
includefile(Zsh/arith.yo)\x01
includefile(Zsh/cond.yo)\x01
-includefile(Zsh/compat.yo)\x01
includefile(Zsh/prompt.yo)\x01
+includefile(Zsh/compat.yo)\x01
includefile(Zsh/restricted.yo)\x01
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))\x01
+ifnzman(includefile(Zsh/restricted.yo))\x01
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
next prev parent reply other threads:[~2000-05-22 6:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-05-22 5:14 PATCH: Correct the corrections to func.yo Bart Schaefer
2000-05-22 5:29 ` Bart Schaefer
2000-05-22 6:01 ` Bart Schaefer [this message]
2000-05-22 9:04 ` PATCH (?): Relocate "Compatibility" and "Restricted Shell" docs Peter Stephenson
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=1000522060115.ZM20225@candle.brasslantern.com \
--to=schaefer@candle.brasslantern.com \
--cc=zsh-workers@sunsite.auc.dk \
/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).