From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12675 invoked from network); 9 Jul 2005 15:36:36 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 9 Jul 2005 15:36:36 -0000 Received: (qmail 23168 invoked from network); 9 Jul 2005 15:36:28 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 9 Jul 2005 15:36:28 -0000 Received: (qmail 25186 invoked by alias); 9 Jul 2005 15:36:21 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9071 Received: (qmail 25175 invoked from network); 9 Jul 2005 15:36:21 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 9 Jul 2005 15:36:21 -0000 Received: (qmail 22146 invoked from network); 9 Jul 2005 15:36:21 -0000 Received: from p54853aaf.dip0.t-ipconnect.de (HELO solfire) (84.133.58.175) by a.mx.sunsite.dk with SMTP; 9 Jul 2005 15:36:16 -0000 Received: from localhost ([127.0.0.1]) by solfire with esmtp (Exim 4.42) id 1DrHOW-0004hF-9Q; Sat, 09 Jul 2005 17:37:35 +0200 Date: Sat, 09 Jul 2005 17:37:32 +0200 (CEST) Message-Id: <20050709.173732.41643671.Meino.Cramer@gmx.de> To: zsh@dervishd.net Cc: zsh-users@sunsite.dk From: Meino Christian Cramer In-Reply-To: <20050709151736.GA382@DervishD> References: <20050709.165213.74740823.Meino.Cramer@gmx.de> <20050709151736.GA382@DervishD> X-Mailer: Mew version 4.1 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Rcpt-To: zsh@dervishd.net, zsh-users@sunsite.dk X-SA-Exim-Mail-From: Meino.Cramer@gmx.de Subject: Re: Asking ZSH: How are you ? Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-SA-Exim-Version: 4.1+cvs (built Sat, 28 Aug 2004 13:10:40 +0200) X-SA-Exim-Scanned: Yes (on solfire) X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-0.5 required=6.0 tests=BAYES_00,RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL autolearn=no version=3.0.2 X-Spam-Hits: -0.5 From: DervishD Subject: Re: Asking ZSH: How are you ? Date: Sat, 9 Jul 2005 17:17:36 +0200 > Hi Meino :) Hi :)) > * Meino Christian Cramer dixit: > > When listing options (*** by `setopt', `unsetopt', `set -o' = or > > `set +o'***), those turned on by default appear in the list > > prefixed with `no'. Hence (unless KSH_OPTION_PRINT is set),= > > `setopt' shows all options whose settings are changed from t= he > > default. > > = > > but giving "setopt +o" or "setopt -o" > > always gives me (even for setopt +o!): > > = > > setopt: string expected after -o > = > Of course it does, it's correct ;) You're mixing 'set +o/-o' with= > 'setopt' and 'unsetopt'. = Oohh..damn...yes, of course! You are absolutely right...it must be an .....hrrrm.... pixel defect on my....MONITOR! ;) > If you want to list all options use > 'setopt', without arguments, or 'set -o'. If you want to show ALL > options, no matter if they have their default value or not, use this > little snippet (for example): > = > for option in ${(ko)options}; print ${(r:21:}option $options[$opt= ion] > = I pasted that to the commandline (zsh 4.2.5) and pressed . I > got zsh: error in flags I checked several times for....hrrrmmm.....PIXEL ERRORS....but found no= ne. > This will give you the list of all option names followed by its > value. I find this easier to understand that the default of prefixing= > with 'no' and the like. Yes, me too... > Ra=FAl N=FA=F1ez de Arenas Coronado Happy zshing! Meino > -- = > Linux Registered User 88736 | http://www.dervishd.net > http://www.pleyades.net & http://www.gotesdelluna.net > It's my PC and I'll cry if I want to... > =