From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10932 invoked from network); 9 Jul 2005 18:09:47 -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 18:09:47 -0000 Received: (qmail 22864 invoked from network); 9 Jul 2005 18:09:39 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 9 Jul 2005 18:09:39 -0000 Received: (qmail 18563 invoked by alias); 9 Jul 2005 18:09:32 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9077 Received: (qmail 18553 invoked from network); 9 Jul 2005 18:09:32 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 9 Jul 2005 18:09:32 -0000 Received: (qmail 21872 invoked from network); 9 Jul 2005 18:09:32 -0000 Received: from p54853aaf.dip0.t-ipconnect.de (HELO solfire) (84.133.58.175) by a.mx.sunsite.dk with SMTP; 9 Jul 2005 18:09:27 -0000 Received: from localhost ([127.0.0.1]) by solfire with esmtp (Exim 4.42) id 1DrJml-0007cA-Nm; Sat, 09 Jul 2005 20:10:46 +0200 Date: Sat, 09 Jul 2005 20:10:43 +0200 (CEST) Message-Id: <20050709.201043.104654224.Meino.Cramer@gmx.de> To: zsh@dervishd.net Cc: zsh-users@sunsite.dk From: Meino Christian Cramer In-Reply-To: <20050709173230.GA489@DervishD> References: <20050709151736.GA382@DervishD> <20050709.173732.41643671.Meino.Cramer@gmx.de> <20050709173230.GA489@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 19:32:30 +0200 Hi Ra=FAl ! ...thanks a lot for your reply! Now I know howto fix the ....pixel errors on my....MONITOR..... can easily be fixed. Next I will check my keyboard... :))))) :D Thanks to this nice community, too !!! Yes, ZSH is a great tool! When I only would adsorb all the "inner values" much faster...and understand them with the first try... Happy zshing! Meino > Hi Meino :) > = > * Meino Christian Cramer dixit: > > > * Meino Christian Cramer dixit: > > > > When listing options (*** by `setopt', `unsetopt', `set = -o' or > > > > `set +o'***), those turned on by default appear in the l= ist > > > > prefixed with `no'. Hence (unless KSH_OPTION_PRINT is s= et), > > > > `setopt' shows all options whose settings are changed fr= om the > > > > 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 b= e > > an .....hrrrm.... pixel defect on my....MONITOR! ;) > = > Yes, I know, it happens to me, too, see below ;)))) > = > > > 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 t= his > > > little snippet (for example): > > > = > > > for option in ${(ko)options}; print ${(r:21:}option $options[= $option] > > > = > > 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 foun= d none. > = > Probably my monitor had pixel errors, or maybe my keyboard > decided to omit certain keypresses I certainly did XDDDD > = > Try this: > = > for option in ${(ko)options}; print ${(r:21:}option} $options[$op= tion] > = > I missed the curly brace at the end of 'option' reference, sorry > O:) We better blame it on our monitors, keyboards... whatever XD > = > Ra=FAl N=FA=F1ez de Arenas Coronado > = > -- = > 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... > =