Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm
Precedence: bulk
X-No-Archive: yes
List-Id: Zsh Workers List <zsh-workers.zsh.org>
List-Post: <mailto:zsh-workers@zsh.org>
List-Help: <mailto:zsh-workers-help@zsh.org>
X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID
	autolearn=ham autolearn_force=no version=3.4.1
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=brasslantern-com.20150623.gappssmtp.com; s=20150623;
        h=from:message-id:date:in-reply-to:comments:references:to:subject
         :mime-version;
        bh=aJfG/Ree3fOz7nN8BH4uhzH40skf7OD3+1n+UDVgM8Y=;
        b=dA5h0QKVZsmNGLA27OEtLxbeHRVfTAo7clm25tyRT/7TcSN0D0p3uC3nKjlMglUWjr
         tw61yNRo8VYhcJzY4spMPXByvvXIsSPn4cAmZnJgETuPQtbMKD668X2iK5D0Cfuhha7O
         5bU2dJDktAVwKut+MxAqDgwtKOviDpRajsfESZLEAZR9kPXrR3wbUaI4B4bW/5EkbLg5
         cb0JHGxN/kvWZo27dDHdaX0JUMllv/dSpaJUwcngICF7sMKeC/T48BzOKfedpxZuwBO4
         voEj5IWvSCK1SZY4KFxfEzbjUYR/ITX+UJLw8U1CWHU+sMWVqYGVxyyXSxPvmJsjpy01
         hq9Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:from:message-id:date:in-reply-to:comments
         :references:to:subject:mime-version;
        bh=aJfG/Ree3fOz7nN8BH4uhzH40skf7OD3+1n+UDVgM8Y=;
        b=HfSq1JBnSGTZx/KtciSeT+lOCI8oXwUFqIP0F6o0w5Th8BwNWs8loOgQf9GDGv/K/Y
         yjbGHxD1S8KDcLibwJPxqlB3pxvrZlEA0XlQ7S3DYGNSu2aEcyV+yhvgzMt76wbHLYD1
         1s/k7oRfaXHxYJLIfdVA8NGvDwJX/2gC14FQ35vjHUsRf/U0JDPHD7/jtOo1p1o4vks6
         81AXa1dqSsYGG+JQgvnr4b8w61kTHGb1l1OaXcs37NPTQ/IrrGiQmqZdfCx3xDWi4FV/
         S2kXWje+XEUO2hg0UYLHioChenHmS5GUUlAuBmxilVHgjq/b/LV8VFlhrKS8UOVjtGE4
         GzRw==
X-Gm-Message-State: AD7BkJIjVp56JYPa8up8BXk5Iedlwu1eQyXdLswxH12/OXdqQ/JtOeTsUWOWDlNmwmBzaQ==
X-Received: by 10.66.120.202 with SMTP id le10mr13231961pab.155.1456637253320;
        Sat, 27 Feb 2016 21:27:33 -0800 (PST)
From: Bart Schaefer <schaefer@brasslantern.com>
Message-Id: <160227212739.ZM4415@torch.brasslantern.com>
Date: Sat, 27 Feb 2016 21:27:39 -0800
In-Reply-To: <56D113E0.4090609@inlv.org>
Comments: In reply to Martijn Dekker <martijn@inlv.org>
        "[PATCH] make 'set +o' useful and POSIX compatible" (Feb 27,  4:11am)
References: <56D113E0.4090609@inlv.org>
X-Mailer: OpenZMail Classic (0.9.2 24April2005)
To: Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: [PATCH] make 'set +o' useful and POSIX compatible
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Seq: zsh-workers 38042

On Feb 27,  4:11am, Martijn Dekker wrote:
}
} On zsh (as well as all pdksh variants), 'set +o' is currently inadequate
} for that purpose because it only outputs the currently active shell
} options, and not the inactive ones.

This is almost certainly not coincidental.  In the early years of zsh
development, ksh was only available on closed-source UNIX platforms,
so any ksh-isms that were incorporated were either derived from reading
man pages (which led by misunderstanding to the "coproc" command and
an unusual syntax for writing base-N values in arithmetic context) or
borrowed from pdksh.

I don't see any reason not to accept this patch.

