Subject: Bug (ID Y777J): Error defining news collection with wildcards

From: Andrej Borsenkow <[email-masked]>
Date: Wed, 30 Oct 1996 14:01:13 +0300 (MOW)

Hi!

Looks like a bug in Pine 3.95. Two scenario:

I. I have alt.security.pgp and comp.security.pgp* in my .newsrc. I want to
create *one* collection with these groups. So I go in setup and define
collection:
  PGP *.security.pgp*[]

(Note, that I *must* add [] otherweise Pine loudly complaints).

After restarting Pine I have PGP collection O.K.; if I enter it, I see all
my groups in there. Now I try to eneter news group
comp.security.pgp.announce; after a while Pine tells "[411 No such
group]"!!!

II. Probably, this explains, why group doesn't exist.

I *don't* have above groups in my .newsrc. I define collection as above,
restart Pine, enter collection - Pine tells me, I have to subscribe. Well,
I hit A,^T and am presented with list of above groups in full form - that
is, alt.security.pgp, comp.security.pgp.announce and so on. I go in List
mode, select all groups, subscribe - O.K. I try to enter any group - and
get the same message. And when I look into .newsrc - I have entries like

  *.security.pgp*alt.security.pgp:                                                
  *.security.pgp*comp.security.pgp.announce:                                      
  *.security.pgp*comp.security.pgp.discuss:                                       
  *.security.pgp*comp.security.pgp.resources:                                     
  *.security.pgp*comp.security.pgp.tech:                                          
  ^^^^^^^^^^^^^^^ !!!!!!!!!!!!!!

Any comments?

greetings

-------------------------------------------------------------------------
Andrej Borsenkow 		Fax:   +7 (095) 252 01 05
SNI ITS Moscow			Tel:   +7 (095) 252 13 88

NERV:  borsenkow.msk		E-Mail: [email-masked]
-------------------------------------------------------------------------

Pine built Wed Jul 31 13:43:28 MDT 1996 on host: itsrm1
========== struct pine * ==========
ui:	login = bor, full = Andrej Borsenkow
	home = /home/bor
home_dir=	/home/bor
hostname=	itsrm1.mow.sni.de
localdom=	mow.sni.de
userdom=	itsmx1.mow.sni.de
maildom=	itsmx1.mow.sni.de
cur_cntxt=	[]
cur_fldr=	ZSH
actual mbox=	{itsmx1}.Mail/zsh
msgmap: tot=90, cur=90, del=0, hid=0, exld=0, slct=0, sort=OrderedSubj
actual inbox=	{itsmx1}INBOX
inbox map: tot=16, cur=16, del=0, hid=0, exld=0, slct=0, sort=OrderedSubj
term type=97801-x, ttyname=/dev/pts/0, size=24x80, speed=normal
======= Current_val options set =======
        personal-name : Andrej Borsenkow
              user-id : bor
          user-domain : itsmx1.mow.sni.de
          smtp-server : itsmx1
          nntp-server : spooky.pdb.sni.de
           inbox-path : {itsmx1}INBOX
     incoming-folders : "SendMail" {itsmx1/user=bor}.Mail/NEWS/comp.mail.sendmail.tnx
                      : "SAMBA" {itsmx1/user=bor}.Mail/samba.tnx
                      : "Pine" {itsmx1/user=bor}.Mail/pine-info
                      : "Perl/announce" {itsmx1/user=bor}.Mail/NEWS/comp.lang.perl.announce.tnx
                      : "Midnight Commander" {itsmx1}.Mail/midnight-commander
                      : "ZSH" {itsmx1}.Mail/zsh
   folder-collections : {itsmx1/user=bor}.Mail/[]
     news-collections : SNI *{spooky.pdb.sni.de/nntp}sni.[]
                      : UNIX *{spooky.pdb.sni.de/nntp}comp.unix.[]
                      : SYSTEMS *{spooky.pdb.sni.de/nntp}comp.sys.[]
                      : MAIL *{spooky.pdb.sni.de/nntp}comp.mail.[]
                      : GNU *{spooky.pdb.sni.de/nntp}gnu.[]
                      : LANGUAGES *{spooky.pdb.sni.de/nntp}comp.lang.[]
                      : PROTOCOLS *{spooky.pdb.sni.de/nntp}comp.protocols.[]
                      : PGP *{spooky.pdb.sni.de/nntp}*.security.pgp*[]
                      : SOURCES *{spooky.pdb.sni.de/nntp}comp.sources.[]
                      : INFOSYSTEMS *{spooky.pdb.sni.de/nntp}comp.infosystems.[]
                      : LINUX *{spooky.pdb.sni.de/nntp}comp.os.linux.[]
                      : ALL_NEWS *{spooky.pdb.sni.de/nntp}[]
          default-fcc : ""
 default-saved-msg-fo : saved-messages
     postponed-folder : {itsmx1/user=bor}.Mail/postponed-msgs
       mail-directory : mail
       signature-file : .elm/rsignature
         address-book : SNI .addrbook.d/sni
                      : MESHHELP .addrbook.d/meshhelp
                      : GENERAL .addrbook.d/addressbook
                      : MESH .addrbook.d/mesh
                      : PGP-Key-Servers .addrbook.d/pgp-key-servers
         feature-list : enable-bounce-cmd
                      : enable-full-header-cmd
                      : enable-incoming-folders
                      : enable-suspend
                      : enable-tab-completion
                      : enable-unix-pipe-cmd
                      : enable-flag-cmd
                      : enable-aggregate-command-set
                      : delete-skips-deleted
                      : news-post-without-validation
                      : save-will-advance
                      : news-approximates-new-status
                      : enable-jump-shortcut
                      : enable-8bit-esmtp-negotiation
                      : enable-8bit-nntp-posting
                      : reply-always-uses-reply-to
                      : tab-visits-next-new-message-only
                      : auto-zoom-after-select
                      : auto-unzoom-after-apply
                      : enable-flag-screen-implicitly
                      : preserve-start-stop-characters
                      : print-formfeed-between-messages
                      : quell-dead-letter-on-cancel
                      : enable-newmail-in-xterm-icon
                      : quell-user-lookup-in-passwd-file
                      : signature-at-bottom
 initial-keystroke-li : i
      customized-hdrs : Reply-To: <[email-masked]>
  saved-msg-name-rule : by-fcc-of-from-then-from
        fcc-name-rule : by-recipient
             sort-key : OrderedSubj
   addrbook-sort-rule : fullname-with-lists-last
        character-set : iso-8859-1
 composer-wrap-column : 74
  reply-indent-string : > 
 empty-header-message : Undisclosed recipients
 use-only-domain-name : no
              printer : 9022 on itsmx2 [] rsh itsmx2 lpr -ws=G203 -pb2 -mar=10
 personal-print-comma : 9022 on itsmx2 [] rsh itsmx2 lpr -ws=G203 -pb2 -mar=10
 personal-print-categ : 3
     standard-printer : lp
 last-time-prune-ques : 96.10
    last-version-used : 3.95
        bugs-fullname : Pine Developers
         bugs-address : [email-masked]
     suggest-fullname : Pine Developers
      suggest-address : [email-masked]
       local-fullname : Local Support
        local-address : postmaster
  kblock-passwd-count : 1
      display-filters : _BEGINNING("-----BEGIN PGP")_ /home/bor/bin/pgpdecode
      sending-filters : /home/bor/bin/pgp -fats
        alt-addresses : [email-masked]
       viewer-overlap : 2
        scroll-margin : 0
 status-message-delay : 0
  mail-check-interval : 150
       elm-style-save : no
      header-in-reply : no
        feature-level : sapling
      old-style-reply : no
       save-by-sender : no
======= Command_line_val options set =======
======= User_val options set (/home/bor/.pinerc) =======
        personal-name : Andrej Borsenkow
          user-domain : itsmx1.mow.sni.de
          smtp-server : itsmx1
          nntp-server : spooky.pdb.sni.de
           inbox-path : {itsmx1}INBOX
     incoming-folders : "SendMail" {itsmx1/user=bor}.Mail/NEWS/comp.mail.sendmail.tnx
                      : "SAMBA" {itsmx1/user=bor}.Mail/samba.tnx
                      : "Pine" {itsmx1/user=bor}.Mail/pine-info
                      : "Perl/announce" {itsmx1/user=bor}.Mail/NEWS/comp.lang.perl.announce.tnx
                      : "Midnight Commander" {itsmx1}.Mail/midnight-commander
                      : "ZSH" {itsmx1}.Mail/zsh
   folder-collections : {itsmx1/user=bor}.Mail/[]
     news-collections : SNI *{spooky.pdb.sni.de/nntp}sni.[]
                      : UNIX *{spooky.pdb.sni.de/nntp}comp.unix.[]
                      : SYSTEMS *{spooky.pdb.sni.de/nntp}comp.sys.[]
                      : MAIL *{spooky.pdb.sni.de/nntp}comp.mail.[]
                      : GNU *{spooky.pdb.sni.de/nntp}gnu.[]
                      : LANGUAGES *{spooky.pdb.sni.de/nntp}comp.lang.[]
                      : PROTOCOLS *{spooky.pdb.sni.de/nntp}comp.protocols.[]
                      : PGP *{spooky.pdb.sni.de/nntp}*.security.pgp*[]
                      : SOURCES *{spooky.pdb.sni.de/nntp}comp.sources.[]
                      : INFOSYSTEMS *{spooky.pdb.sni.de/nntp}comp.infosystems.[]
                      : LINUX *{spooky.pdb.sni.de/nntp}comp.os.linux.[]
                      : ALL_NEWS *{spooky.pdb.sni.de/nntp}[]
          default-fcc : ""
     postponed-folder : {itsmx1/user=bor}.Mail/postponed-msgs
       signature-file : .elm/rsignature
         address-book : SNI .addrbook.d/sni
                      : MESHHELP .addrbook.d/meshhelp
                      : GENERAL .addrbook.d/addressbook
                      : MESH .addrbook.d/mesh
                      : PGP-Key-Servers .addrbook.d/pgp-key-servers
         feature-list : enable-bounce-cmd
                      : enable-full-header-cmd
                      : enable-incoming-folders
                      : enable-suspend
                      : enable-tab-completion
                      : enable-unix-pipe-cmd
                      : enable-flag-cmd
                      : enable-aggregate-command-set
                      : delete-skips-deleted
                      : news-post-without-validation
                      : save-will-advance
                      : news-approximates-new-status
                      : enable-jump-shortcut
                      : enable-8bit-esmtp-negotiation
                      : enable-8bit-nntp-posting
                      : reply-always-uses-reply-to
                      : tab-visits-next-new-message-only
                      : auto-zoom-after-select
                      : auto-unzoom-after-apply
                      : enable-flag-screen-implicitly
                      : preserve-start-stop-characters
                      : print-formfeed-between-messages
                      : quell-dead-letter-on-cancel
                      : enable-newmail-in-xterm-icon
                      : quell-user-lookup-in-passwd-file
                      : signature-at-bottom
 initial-keystroke-li : i
      customized-hdrs : Reply-To: <[email-masked]>
  saved-msg-name-rule : by-fcc-of-from-then-from
        fcc-name-rule : by-recipient
             sort-key : OrderedSubj
        character-set : iso-8859-1
              printer : 9022 on itsmx2 [] rsh itsmx2 lpr -ws=G203 -pb2 -mar=10
 personal-print-comma : 9022 on itsmx2 [] rsh itsmx2 lpr -ws=G203 -pb2 -mar=10
 personal-print-categ : 3
 last-time-prune-ques : 96.10
    last-version-used : 3.95
      display-filters : _BEGINNING("-----BEGIN PGP")_ /home/bor/bin/pgpdecode
      sending-filters : /home/bor/bin/pgp -fats
        alt-addresses : [email-masked]
======= Global_val options set (/usr/local/lib/pine.conf) =======
           inbox-path : inbox
          default-fcc : sent-mail
 default-saved-msg-fo : saved-messages
     postponed-folder : postponed-msgs
       mail-directory : mail
       signature-file : .signature
         address-book : .addressbook
  saved-msg-name-rule : default-folder
        fcc-name-rule : default-fcc
             sort-key : arrival
   addrbook-sort-rule : fullname-with-lists-last
 composer-wrap-column : 74
  reply-indent-string : > 
 empty-header-message : Undisclosed recipients
 use-only-domain-name : no
              printer : attached-to-ansi
     standard-printer : lp
        bugs-fullname : Pine Developers
         bugs-address : [email-masked]
     suggest-fullname : Pine Developers
      suggest-address : [email-masked]
       local-fullname : Local Support
        local-address : postmaster
  kblock-passwd-count : 1
       viewer-overlap : 2
        scroll-margin : 0
 status-message-delay : 0
  mail-check-interval : 150
       elm-style-save : no
      header-in-reply : no
        feature-level : sapling
      old-style-reply : no
       save-by-sender : no
======= Fixed_val options set (NO pine.conf.fixed) =======
========== Feature settings ==========
  no-allow-talk
  no-assume-slow-link
  no-auto-move-read-msgs
  no-auto-open-next-unread
     auto-zoom-after-select
     auto-unzoom-after-apply
  no-compose-cut-from-cursor
  no-compose-maps-delete-key-to-ctrl-d
  no-compose-rejects-unqualified-addrs
  no-compose-send-offers-first-filter
  no-compose-sets-newsgroup-without-confirm
     delete-skips-deleted
  no-disable-config-cmd
  no-disable-default-in-bug-report
  no-disable-busy-alarm
  no-disable-keyboard-lock-cmd
  no-disable-keymenu
  no-disable-password-cmd
  no-disable-update-cmd
  no-disable-signature-edit-cmd
     enable-8bit-esmtp-negotiation
     enable-8bit-nntp-posting
     enable-aggregate-command-set
  no-enable-alternate-editor-cmd
  no-enable-alternate-editor-implicitly
  no-enable-background-sending
     enable-bounce-cmd
  no-enable-cruise-mode
  no-enable-cruise-mode-delete
  no-enable-dot-files
  no-enable-dot-folders
     enable-flag-cmd
     enable-flag-screen-implicitly
     enable-full-header-cmd
  no-enable-goto-in-file-browser
     enable-incoming-folders
     enable-jump-shortcut
  no-enable-mail-check-cue
  no-enable-mouse-in-xterm
     enable-newmail-in-xterm-icon
     enable-suspend
     enable-tab-completion
     enable-unix-pipe-cmd
  no-enable-verbose-smtp-posting
  no-expanded-view-of-addressbooks
  no-expanded-view-of-distribution-lists
  no-expanded-view-of-folders
  no-expunge-without-confirm
  no-fcc-on-bounce
  no-include-attachments-in-reply
  no-include-header-in-reply
  no-include-text-in-reply
     news-approximates-new-status
     news-post-without-validation
  no-news-read-in-newsrc-order
  no-pass-control-characters-as-is
     preserve-start-stop-characters
  no-print-offers-custom-cmd-prompt
  no-print-includes-from-line
  no-print-index-enabled
     print-formfeed-between-messages
     quell-dead-letter-on-cancel
  no-quell-lock-failure-warnings
  no-quell-status-message-beeping
     quell-user-lookup-in-passwd-file
  no-quit-without-confirm
     reply-always-uses-reply-to
  no-save-aggregates-copy-sequence
  no-save-will-quote-leading-froms
  no-save-will-not-delete
     save-will-advance
  no-select-without-confirm
  no-show-cursor
  no-show-selected-in-boldface
     signature-at-bottom
  no-single-column-folder-list
     tab-visits-next-new-message-only
  no-use-current-dir
  no-use-function-keys
  no-use-sender-not-x-sender
  no-use-subshell-for-suspend
========== Latest keystrokes ==========
	ESC	(0x001b)
	[	(0x005b)
	A	(0x0041)
	r	(0x0072)
	n	(0x006e)
	c	(0x0063)
	y	(0x0079)
	ESC	(0x001b)
	[	(0x005b)
	B	(0x0042)
	ESC	(0x001b)
	[	(0x005b)
	A	(0x0041)
	d	(0x0064)
	d	(0x0064)
	ESC	(0x001b)
	[	(0x005b)
	B	(0x0042)
	d	(0x0064)
	ESC	(0x001b)
	[	(0x005b)
	B	(0x0042)
	ESC	(0x001b)
	[	(0x005b)
	B	(0x0042)
	RETURN	(0x000d)
	y	(0x0079)
	c	(0x0063)
	y	(0x0079)
	r	(0x0072)
	y	(0x0079)
	c	(0x0063)
	y	(0x0079)
	RETURN	(0x000d)
	y	(0x0079)
	s	(0x0073)
	RETURN	(0x000d)
	x	(0x0078)
	RETURN	(0x000d)
	TAB	(0x0009)
	RETURN	(0x000d)
	RETURN	(0x000d)
	i	(0x0069)
	d	(0x0064)
	d	(0x0064)
	RETURN	(0x000d)
	i	(0x0069)
	d	(0x0064)
	d	(0x0064)
	d	(0x0064)
	TAB	(0x0009)
	RETURN	(0x000d)
	RETURN	(0x000d)
	RETURN	(0x000d)
	 	(0x0020)
	-	(0x002d)
	i	(0x0069)
	l	(0x006c)
	ESC	(0x001b)
	[	(0x005b)
	B	(0x0042)
	ESC	(0x001b)
	[	(0x005b)
	B	(0x0042)
	ESC	(0x001b)
	[	(0x005b)
	B	(0x0042)
	ESC	(0x001b)
	[	(0x005b)
	B	(0x0042)
	ESC	(0x001b)
	[	(0x005b)
	B	(0x0042)
	ESC	(0x001b)
	[	(0x005b)
	B	(0x0042)
	ESC	(0x001b)
	[	(0x005b)
	B	(0x0042)
	ESC	(0x001b)
	[	(0x005b)
	B	(0x0042)
	ESC	(0x001b)
	[	(0x005b)
	B	(0x0042)
	ESC	(0x001b)
	[	(0x005b)
	A	(0x0041)
	ESC	(0x001b)
	[	(0x005b)
	A	(0x0041)
	ESC	(0x001b)
	[	(0x005b)
	A	(0x0041)
	ESC	(0x001b)
	[	(0x005b)
	A	(0x0041)
	ESC	(0x001b)
	[	(0x005b)
	A	(0x0041)
	ESC	(0x001b)
	[	(0x005b)
	B	(0x0042)
	ESC	(0x001b)
	[	(0x005b)
	B	(0x0042)
	ESC	(0x001b)
	[	(0x005b)
	B	(0x0042)
	ESC	(0x001b)
	[	(0x005b)
	B	(0x0042)
	ESC	(0x001b)
	[	(0x005b)
	A	(0x0041)
	ESC	(0x001b)
	[	(0x005b)
	A	(0x0041)
	ESC	(0x001b)
	[	(0x005b)
	A	(0x0041)
	ESC	(0x001b)
	[	(0x005b)
	A	(0x0041)
	c	(0x0063)
	ESC	(0x001b)
	[	(0x005b)
	B	(0x0042)
	ESC	(0x001b)
	[	(0x005b)
	B	(0x0042)
	RETURN	(0x000d)
	ESC	(0x001b)
	[	(0x005b)
	B	(0x0042)
	ESC	(0x001b)
	[	(0x005b)
	T	(0x0054)
	ESC	(0x001b)
	[	(0x005b)
	B	(0x0042)
	ESC	(0x001b)
	[	(0x005b)
	B	(0x0042)
	ESC	(0x001b)
	[	(0x005b)
	B	(0x0042)
	ESC	(0x001b)
	[	(0x005b)
	B	(0x0042)
	ESC	(0x001b)
	[	(0x005b)
	B	(0x0042)
	ESC	(0x001b)
	[	(0x005b)
	B	(0x0042)
	ESC	(0x001b)
	[	(0x005b)
	B	(0x0042)
	ESC	(0x001b)
	[	(0x005b)
	B	(0x0042)
	ESC	(0x001b)
	[	(0x005b)
	B	(0x0042)
	ESC	(0x001b)
	[	(0x005b)
	B	(0x0042)
	ESC	(0x001b)
	[	(0x005b)
	B	(0x0042)
	ESC	(0x001b)
	[	(0x005b)
	A	(0x0041)
	ESC	(0x001b)
	[	(0x005b)
	A	(0x0041)
	ESC	(0x001b)
	[	(0x005b)
	A	(0x0041)
	ESC	(0x001b)
	[	(0x005b)
	A	(0x0041)
	ESC	(0x001b)
	[	(0x005b)
	A	(0x0041)
	ESC	(0x001b)
	[	(0x005b)
	A	(0x0041)
	ESC	(0x001b)
	[	(0x005b)
	A	(0x0041)
	e	(0x0065)
	m	(0x006d)
	i	(0x0069)
	o	(0x006f)
	o	(0x006f)
	o	(0x006f)
	m	(0x006d)
	s	(0x0073)
	^C	(0x0003)
	o	(0x006f)
	b	(0x0062)
	ESC	(0x001b)
	[	(0x005b)
	B	(0x0042)
	RETURN	(0x000d)

---

From: Mike Brudenell <[email-masked]>
Date: Wed, 30 Oct 1996 14:18:22 +0000 (GMT)

I think you aren't using the correct syntax for the collection name.

You don't want:
	*.security.pgp*[]
but:
	[*.security.pgp*]

To be honest I would have expected this to be more of the form:
	PGP *{news.your.site}[*.security.pgp*]
if you are accessing your News over an IMAP connection, or
	PGP *{news.your.site/nntp}[*.security.pgp*]
if you are using NNTP instead.

However I may be wrong on the latter if a host gets use implicitly (or
perhaps you are reading direct from a local news spool area rather than
using IMAP or NNTP?).

Anyway, try the "[*.security.pgp*]" syntax instead of "[]".

Cheers,

-- 
Mike Brudenell                                         <[email-masked]>
------------------------------------------------------------------------
The Computing Service, University of York, Heslington, York, YO1 5DD, UK
Tel: +44-1904-433811  FAX: +44-1904-433740  http://www.york.ac.uk/~pmb1/

---

From: Andrej Borsenkow <[email-masked]>
Date: Wed, 30 Oct 1996 18:09:28 +0300 (MOW)

> I think you aren't using the correct syntax for the collection name.
...
> Anyway, try the "[*.security.pgp*]" syntax instead of "[]".

Thanks! It works.

Now, could anybody explain difference between [comp.os.linux.*] and
comp.os.linux.[] ?

Much thanks