Subject: [Q] Multiple address books?

From: [email-masked] (Joel Sprechman)
Date: 16 Nov 1995 14:57:22 GMT

Hello-

I've made the following change to my .pinerc:

global-address-book=.addressbook .add2

and inside pine I can go to my address book and I see:

--------------------------------------------------------------------------------
Personal AddressBook <.addressbook>

--------------------------------------------------------------------------------

                      [ Select Here to See Expanded List ]

--------------------------------------------------------------------------------
Global AddressBook <.addressbook>
(ReadOnly)
--------------------------------------------------------------------------------

                      [ Select Here to See Expanded List ]

the first one(personal) is the .addressbook file
and the second one(global) is the .add2 file even though it shows it wrong.
I can expand both lists to see them correctly.

However why is the second one ReadOnly when the protections on the file
are ok?

thanks in advance

joel

----------------------------------------------------------------------------
Joel Sprechman                             [email-masked]  
University at Buffalo                       

Marta was watching the football game with me when she said, "You know, most of
these sports are based on the idea of one group protecting its territory from
invasion by another group."
   "Yeah," I said, trying not to laugh.
   Girls are funny.

---

From: Terry Gray <[email-masked]>
Date: Thu, 16 Nov 1995 08:12:44 -0800 (PST)

Joel,

1. pinerc entries need to be separated by commas.
2. The personal addressbook entry is being picked up by default, not
   because of the value in the *global* variable
3. Global addressbooks are intentionally read-only because they are
   intended to be shared by multiple users and updated by a cron job.
   To make them read/write introduces the requirement for record
   locking, with its associated complexity and performance implications.

-teg

---

From: Steve Hubert <[email-masked]>
Date: Fri, 17 Nov 1995 09:28:35 -0800 (PST)

> global-address-book=.addressbook .add2

The syntax for specifying an addressbook is

    optional_nickname  filename

so this line is giving the file .add2 the nickname of .addressbook.
That's why it looks funny in the display.  If you want an address book to
be read-write instead of read-only, just make it a personal address book
instead.  So you probably want

address-book=.addressbook, .add2

Steve Hubert <[email-masked]>
Networks and Distributed Computing, Univ. of Washington, Seattle

---

From: Ralf Wenzel <[email-masked]>
Date: Fri, 17 Nov 1995 11:44:39 +0100

> However why is the second one ReadOnly when the protections on the file

I think that the global addressbook MUST be ReadOnly, 
because it"s a system side addressbook.

Bye.

	Ralf