zsh-workers
 help / color / mirror / code / Atom feed
* Completion for pine is broken
@ 2002-02-16 18:44 Bart Schaefer
  2002-02-21 12:54 ` Oliver Kiddle
  0 siblings, 1 reply; 13+ messages in thread
From: Bart Schaefer @ 2002-02-16 18:44 UTC (permalink / raw)
  To: zsh-workers

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   


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2002-05-30  8:26 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-16 18:44 Completion for pine is broken Bart Schaefer
2002-02-21 12:54 ` Oliver Kiddle
2002-02-21 15:22   ` Bart Schaefer
2002-02-21 15:37   ` Menu-selection screen refresh slowness Bart Schaefer
2002-02-21 15:51     ` Sven Wischnowsky
2002-02-21 16:19       ` Bart Schaefer
2002-02-21 16:33         ` Sven Wischnowsky
2002-05-24  8:48     ` Sven Wischnowsky
2002-05-24 14:31       ` Borsenkow Andrej
2002-05-24 15:01         ` Sven Wischnowsky
2002-05-27  7:39           ` Sven Wischnowsky
2002-05-24 15:37       ` Bart Schaefer
2002-05-30  8:26         ` Sven Wischnowsky

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).