zsh-workers
 help / color / mirror / code / Atom feed
d085dfaa75d4c2ea4aabdc5e6a5aa74bc128a927 blob 2247 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
 
texinode(Compatibility)(Restricted Shell)()(Invocation)
sect(Compatibility)
cindex(compatibility)
cindex(sh compatibility)
cindex(ksh compatibility)
Zsh tries to emulate bf(sh) or bf(ksh) when it is invoked as
tt(sh) or tt(ksh) respectively; more precisely, it looks at the first
letter of the name by which it was invoked, excluding any initial `tt(r)'
(assumed to stand for `restricted'), and if that is `tt(b)', `tt(s)' or `tt(k)' it
will emulate bf(sh) or bf(ksh).  Furthermore, if invoked as tt(su) (which
happens on certain systems when the shell is executed by the tt(su)
command), the shell will try to find an alternative name from the tt(SHELL)
environment variable and perform emulation based on that.

In bf(sh) and bf(ksh) compatibility modes the following
parameters are not special and not initialized by the shell:
tt(ARGC),
tt(argv),
tt(cdpath),
tt(fignore),
tt(fpath),
tt(histchars),
tt(mailpath),
tt(MANPATH),
tt(manpath),
tt(path),
tt(prompt),
tt(PROMPT),
tt(PROMPT2),
tt(PROMPT3),
tt(PROMPT4),
tt(psvar),
tt(signals),
tt(status),
tt(watch).

vindex(ENV, use of)
The usual zsh startup/shutdown scripts are not executed.  Login shells
source tt(/etc/profile) followed by tt($HOME/.profile).  If the
tt(ENV) environment variable is set on invocation, tt($ENV) is sourced
after the profile scripts.  The value of tt(ENV) is subjected to
parameter expansion, command substitution, and arithmetic expansion
before being interpreted as a pathname.  Note that the tt(PRIVILEGED)
option also affects the execution of startup files.

The following options are set if the shell is invoked as tt(sh) or
tt(ksh):
tt(NO_BAD_PATTERN),
tt(NO_BANG_HIST),
tt(NO_BG_NICE),
tt(NO_EQUALS),
tt(NO_FUNCTION_ARGZERO),
tt(GLOB_SUBST),
tt(NO_GLOBAL_EXPORT),
tt(NO_HUP),
tt(INTERACTIVE_COMMENTS),
tt(KSH_ARRAYS),
tt(NO_MULTIOS),
tt(NO_NOMATCH),
tt(NO_NOTIFY),
tt(POSIX_BUILTINS),
tt(NO_PROMPT_PERCENT),
tt(RM_STAR_SILENT),
tt(SH_FILE_EXPANSION),
tt(SH_GLOB),
tt(SH_OPTION_LETTERS),
tt(SH_WORD_SPLIT).
Additionally the tt(BSD_ECHO) and tt(IGNORE_BRACES)
options are set if zsh is invoked as tt(sh).
Also, the
tt(KSH_OPTION_PRINT),
tt(LOCAL_OPTIONS),
tt(PROMPT_BANG),
tt(PROMPT_SUBST)
and
tt(SINGLE_LINE_ZLE)
options are set if zsh is invoked as tt(ksh).
debug log:

solving d085dfaa7 ...
found d085dfaa7 in https://inbox.vuxu.org/zsh-workers/b7e2e8a2-87a9-49c9-77ff-e612285b7a30@inlv.org/
found f1be15fee in https://git.vuxu.org/mirror/zsh/
preparing index
index prepared:
100644 f1be15feedf7c9ef47b3626db68352d545ad50b6	Doc/Zsh/compat.yo

applying [1/1] https://inbox.vuxu.org/zsh-workers/b7e2e8a2-87a9-49c9-77ff-e612285b7a30@inlv.org/
diff --git a/Doc/Zsh/compat.yo b/Doc/Zsh/compat.yo
index f1be15fee..d085dfaa7 100644

Checking patch Doc/Zsh/compat.yo...
Applied patch Doc/Zsh/compat.yo cleanly.

index at:
100644 d085dfaa75d4c2ea4aabdc5e6a5aa74bc128a927	Doc/Zsh/compat.yo

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).