From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9247 invoked from network); 16 Feb 2002 18:45:22 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 16 Feb 2002 18:45:22 -0000 Received: (qmail 3295 invoked by alias); 16 Feb 2002 18:45:15 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 16661 Received: (qmail 3176 invoked from network); 16 Feb 2002 18:44:57 -0000 From: "Bart Schaefer" Message-Id: <1020216184449.ZM25378@candle.brasslantern.com> Date: Sat, 16 Feb 2002 18:44:49 +0000 X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.dk Subject: Completion for pine is broken MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii This dates from long, long ago, possibly from the introduction of _pine. (As you can guess, I hardly ever start pine from the shell; it's always running in its own xterm and I just open new folders from the pine menus). There's this snippet in _pine: if [[ -n $+_cache_pine_options ]]; then for optfile in ~/.pinerc /etc/pine.conf; do if [[ -f $optfile ]]; then getopts="cat $optfile" break fi done _cache_pine_options=( $($=getopts | sed -n 's/^\([^#]*=\).*/-\1/p') ) fi And then there's my .pinerc, which has this fragment: folder-collections=Mail mail/[], "Archives on zanshin.com" {zanshin.com}/archive/[%], Home [], "Home on zanshin.com" {zanshin.com/debug}/home/schaefer/[] The double quotes in those folder-collection names wreak havok. In general, any word in a .pinerc can be a quoted string. I really don't follow what that code in _pine is supposed to be doing, but whatever it is is broken. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net