From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 927 invoked from network); 11 Feb 2009 23:53:47 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 11 Feb 2009 23:53:47 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 45754 invoked from network); 11 Feb 2009 23:53:43 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 11 Feb 2009 23:53:43 -0000 Received: (qmail 3909 invoked by alias); 11 Feb 2009 23:53:38 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 26558 Received: (qmail 3897 invoked from network); 11 Feb 2009 23:53:38 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 11 Feb 2009 23:53:38 -0000 Received: from mail-bw0-f173.google.com (mail-bw0-f173.google.com [209.85.218.173]) by bifrost.dotsrc.org (Postfix) with ESMTP id 04CD480271F0 for ; Thu, 12 Feb 2009 00:53:34 +0100 (CET) Received: by bwz21 with SMTP id 21so258777bwz.21 for ; Wed, 11 Feb 2009 15:53:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=3kp3JXtfcz+lOcwjautbvTbTuLhKyV5loKRfPbxMLP4=; b=dR501ESWJfDvNaun1CBjdtEIHCDrO5WBgB/5QZyHMLOzhmsPqhy2jBzh0IOFANZlEg ifJuZRMpPHgGueMmWSE0ktTYMzaXx801EDc/4V+aoC2i4jVZNMOgeKxB5z6XjeQZHeZC N3U8HuBrtgLXwOrmlzzQ1lB+0j55lGshBbN+g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=aVBjKMoJWDeqrGwZOOAL7MTR0plj+Z8Fk4QikKYt/mPV2PYHPJzbP4F4O+Mkf5kae7 aI22BwPfUkNHx6h6NiAUMOLc8nfgLaP5p2VBA/EhdT4cBdWUVqw3gAAkHIHgT7kW6eWq udabsvkVVICMGbx5/KAId5XUVqF+dHzd+w8UQ= MIME-Version: 1.0 Received: by 10.86.82.16 with SMTP id f16mr148383fgb.26.1234396410364; Wed, 11 Feb 2009 15:53:30 -0800 (PST) In-Reply-To: <2d460de70902111213w2f8b9a6du921cdf1c42c32d71@mail.gmail.com> References: <2d460de70902111213w2f8b9a6du921cdf1c42c32d71@mail.gmail.com> Date: Thu, 12 Feb 2009 00:53:30 +0100 Message-ID: <2d460de70902111553k2f44660m3edbbe889ffc3416@mail.gmail.com> Subject: Re: Proposed patch for options.yo (was: Re: bug in single_command) From: Richard Hartmann To: Bart Schaefer Cc: Zsh hackers list Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.92.1/8980/Wed Feb 11 17:40:45 2009 on bifrost X-Virus-Status: Clean On Wed, Feb 11, 2009 at 21:13, Richard Hartmann wrote: > Very good point. I'll check against the docs that my terminology is > correct. First part, second will come tomorrow. Note that this is against trunk, not my inital patch. diff --git a/Doc/Zsh/options.yo b/Doc/Zsh/options.yo index 2cd02bf..c6b4c5d 100644 --- a/Doc/Zsh/options.yo +++ b/Doc/Zsh/options.yo @@ -1837,7 +1837,9 @@ the standard input is a tty and commands are being read from standard input. (See the discussion of tt(SHIN_STDIN).) This heuristic may be overridden by specifying a state for this option on the command line. -The value of this option cannot be changed anywhere other than the command line. +The value of this option can only be changed via flags supplied at +invocation of the shell. +It cannot be changed once zsh is running. ) pindex(LOGIN) pindex(NO_LOGIN) @@ -1891,8 +1893,9 @@ Note that setting or unsetting this option on the command line does not necessarily affect the state the option will have while the shell is running - that is purely an indicator of whether on not commands are em(actually) being read from standard input. -The value of this option cannot be changed anywhere other -than the command line. +The value of this option can only be changed via flags supplied at +invocation of the shell. +It cannot be changed once zsh is running. ) pindex(SINGLE_COMMAND) pindex(NO_SINGLE_COMMAND) @@ -1904,7 +1907,9 @@ item(tt(SINGLE_COMMAND) (tt(-t), ksh: tt(-t)))( If the shell is reading from standard input, it exits after a single command has been executed. This also makes the shell non-interactive, unless the tt(INTERACTIVE) option is explicitly set on the command line. -The value of this option cannot be changed anywhere other than the command line. +The value of this option can only be changed via flags supplied at +invocation of the shell. +It cannot be changed once zsh is running. ) enditem()