summaryrefslogtreecommitdiff
path: root/bin/ksh/sh.h
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1997-01-02 09:34:11 +0000
committerJason Downs <downsj@cvs.openbsd.org>1997-01-02 09:34:11 +0000
commit0555228bc967253747ca2cf16ec3a10143710171 (patch)
treec9f6bfb4bd518409d0c7192c841aaa45e534f08c /bin/ksh/sh.h
parent5ec8bf97eb61afe45e84d47458c3c9cbfa46fc51 (diff)
Add FSH (set -o sh), initialize it if we're /bin/sh, and add the first use:
don't set $_ if we're non-interactive.
Diffstat (limited to 'bin/ksh/sh.h')
-rw-r--r--bin/ksh/sh.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ksh/sh.h b/bin/ksh/sh.h
index 9ae4ffb190c..588abd2c18e 100644
--- a/bin/ksh/sh.h
+++ b/bin/ksh/sh.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sh.h,v 1.4 1996/12/18 18:28:37 niklas Exp $ */
+/* $OpenBSD: sh.h,v 1.5 1997/01/02 09:34:10 downsj Exp $ */
/*
* Public Domain Bourne/Korn shell
@@ -472,6 +472,7 @@ enum sh_flag {
FPOSIX, /* -o posix: be posixly correct */
FPRIVILEGED, /* -p: use suid_profile */
FRESTRICTED, /* -r: restricted shell */
+ FSH, /* -o sh: favor sh behavour */
FSTDIN, /* -s: (invocation) parse stdin */
FTRACKALL, /* -h: create tracked aliases for all commands */
FVERBOSE, /* -v: echo input */