From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6141 invoked from network); 23 Oct 2004 21:54:15 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 23 Oct 2004 21:54:15 -0000 Received: (qmail 71849 invoked from network); 23 Oct 2004 21:54:07 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 23 Oct 2004 21:54:07 -0000 Received: (qmail 6400 invoked by alias); 23 Oct 2004 21:53:57 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8095 Received: (qmail 6383 invoked from network); 23 Oct 2004 21:53:56 -0000 Received: from unknown (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 23 Oct 2004 21:53:56 -0000 Received: (qmail 70560 invoked from network); 23 Oct 2004 21:52:56 -0000 Received: from ocelot.spots.ab.ca (209.115.174.244) by a.mx.sunsite.dk with SMTP; 23 Oct 2004 21:52:55 -0000 Received: from infidel.spots.ab.ca (darfur@pm3-103.spots.ab.ca [209.115.174.82]) by ocelot.spots.ab.ca (8.12.8/8.12.8) with ESMTP id i9NLqpOx006795 for ; Sat, 23 Oct 2004 15:52:51 -0600 Received: from keeling by infidel.spots.ab.ca with local (Exim 3.35 #1 (Debian)) id 1CLToi-0006L0-00 for ; Sat, 23 Oct 2004 15:52:52 -0600 Date: Sat, 23 Oct 2004 15:52:52 -0600 From: "s. keeling" To: zsh-users Subject: Porting an alias from bash to zsh fails. Message-ID: <20041023215252.GA24164@infidel.spots.ab.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i X-PGP-Key: GPG key: http://keyserver.noreply.org:11371/pks/lookup?op=vindex&search=AC94E4B7 Sender: "s. keeling" X-Virus-Scanned: clamd / ClamAV version 0.70, clamav-milter version 0.66n X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=-0.9 required=6.0 tests=BAYES_30 autolearn=no version=2.63 X-Spam-Hits: -0.9 Hi list. I'm new to zsh so this could well be pretty simple. I've been wondering why the following works in bash, but fails miserably in zsh. I've tried stuffing the font into an ENV variable, I've replaced the double quotes with single ticks, I've inserted a "\" before the embedded space char, and I've used the real font name (not the ENV var) in the alias itself, all to no avail. What am I missing here? RXVTNEWSFONT='-*-neep alt-medium-*-normal-*-*-100-75-75-c-*-iso8859-1' alias dfn="rxvt +sb -fn $RXVTNEWSFONT -geometry 128x51+69+42 \ -e nice /usr/bin/slrn -f /home/keeling/.jnewsrc-dfn \ -h news.individual.net" [That alias line is really all on one line without the "\"'s.] Running "dfn &" in zsh says: ------------------------------------------------ (0) keeling /home/keeling_ dfn & [1] 24158 (0) keeling /home/keeling_ zsh: no matches found: -*-neep alt-medium-*-normal-*-*-100-75-75-c-*-iso8859-1 [1] + exit 1 rxvt +sb -fn -*-neep\ alt-medium-*-normal-*-*-100-75-75-c-*-iso8859-1 -e ------------------------------------------------ Thanks. -- Any technology distinguishable from magic is insufficiently advanced. (*) http://www.spots.ab.ca/~keeling - -