From 8ac97f3308ed8b33738b16f4464876f886b9237b Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Wed, 3 Feb 2010 18:34:32 +0000 Subject: 27648, 267650/1, unposted README change: Turn off repeat and turn on ulimit in emulation modes --- Doc/Zsh/builtins.yo | 12 ++++++++++++ Doc/Zsh/grammar.yo | 4 ++++ 2 files changed, 16 insertions(+) (limited to 'Doc') diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo index cc771096a..0a8038f6c 100644 --- a/Doc/Zsh/builtins.yo +++ b/Doc/Zsh/builtins.yo @@ -872,6 +872,10 @@ sitem(var(n)tt(k))(kilobytes (default)) sitem(var(n)tt(m))(megabytes or minutes) sitem([var(mm)tt(:)]var(ss))(minutes and seconds) endsitem() + +The tt(limit) command is not made available by default when the +shell starts in a mode emulating another shell. It can be made available +with the command `tt(zmodload -F zsh/rlimits b:limit)'. ) findex(local) item(tt(local) [ {tt(PLUS())|tt(-)}tt(AEFHUahlprtux) ] \ @@ -1286,6 +1290,10 @@ all parameters are printed on the standard output. If the only argument is For historical reasons, `tt(set -)' is treated as `tt(set +xv)' and `tt(set -) var(args)' as `tt(set +xv --) var(args)' when in any other emulation mode than zsh's native mode. + +The tt(sched) builtin is not made available by default when the shell +starts in a mode emulating another shell. It can be made available +with the command `tt(zmodload -F zsh/sched b:sched)'. ) module(setcap)(zsh/cap) findex(setopt) @@ -1794,6 +1802,10 @@ If the tt(-h) flag is given and the shell has appropriate privileges, the hard resource limit for each var(resource) is removed. The resources of the shell process are only changed if the tt(-s) flag is given. + +The tt(unlimit) command is not made available by default when the +shell starts in a mode emulating another shell. It can be made available +with the command `tt(zmodload -F zsh/rlimits b:unlimit)'. ) findex(unset) cindex(parameters, unsetting) diff --git a/Doc/Zsh/grammar.yo b/Doc/Zsh/grammar.yo index 64cc1e26c..a8e223bb9 100644 --- a/Doc/Zsh/grammar.yo +++ b/Doc/Zsh/grammar.yo @@ -222,6 +222,10 @@ item(tt(repeat) var(word) tt(do) var(list) tt(done))( var(word) is expanded and treated as an arithmetic expression, which must evaluate to a number var(n). var(list) is then executed var(n) times. + +The tt(repeat) syntax is disabled by default when the +shell starts in a mode emulating another shell. It can be enabled +with the command `tt(enable -r repeat)' ) findex(case) cindex(case selection) -- cgit 1.4.1