Subject: Lookup File /tmp//a3218266 Doesn't Exist. Creating

From: Jonathan David Makepeace <[email-masked]>
Date: Mon, 10 Jun 1996 16:09:53 -0500

Whenever I use our global addressbook at </u/lby/.global> for the 
first time in a Pine (3.91) session a messages flashes "[Lookup file 
/tmp//a3218266 Doesn't Exit. Creating]."  That number following the "a" 
increases for each sequential Pine session.  I didn't used to get this 
message,  and I don't get it when I access my personal addressbook at 
</u/lby/notjdm/.addressbook>.

The global addressbook does seem to be functioning,  but that message is 
a bit of an irritant, especially when the system is slow.  Can anyone 
offer me any theories as to why this is happening?

--  Jonathan David Makepeace     Monograph Cataloger/Automation Specialist
    LSU Libraries, 30 Middleton  Tel. (504) 388-3331
    Louisiana State University   Fax. (504) 388-6992
    Baton Rouge, LA 70803-3300   mailto:[email-masked]

---

From: Mike Brudenell <[email-masked]>
Date: Mon, 17 Jun 1996 09:16:10 +0100 (BST)

Every address book file has an associated "lookup" file designed to speed
up access to entries in the address book.  These lookup files typically
have the same name as the address book file proper, but with the string
".lu" appended to it.

If Pine spots that the lookup file is missing, or is not stored in the
correct format, it tries to create/update it.  If it can't do this
(perhaps because you don't have sufficient access privileges) it instead
creates a temporary lookup file in /tmp that is uses just for the current
session and warns you as it does so.  The name of this temporary file is
derived, as is common practice, from the process id in an attempt to
ensure it is unique (hence the changing number wach time).

Your solution is for you (or whoever has root privileges) to create/update
the lookup file associated with your global address book file.  This is
done very simply by:

	<cd to the directory containing the global addressbook>
	pine -create_lu addrbookname sortorder
	<check ownership of address book and look up files>
	chmod a+r addrbookname.lu

where "addrbookname" is the name of the global address book file, and
"sortorder" is one of a small number of keywords describing how the
address book's contents is to be ordered.  (See the man page for Pine to
find out what options are available.)

Note the steps to check ownership and, in particular, mode (protection) of
the lookup file.  Pine 3.93 onwards are better at preserving these when
upgrading a lookup file, but don't know what they should be set to when
creating it.

Also note that the address book lookup file format changed between Pine
3.91 and the current 3.94, so you will definitely need to do the above
when you eventually upgrade versions of Pine (highly recommended).

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/