Subject: Re: Manually sort address book

From: [email-masked] (vladimir)
Date: 9 Jan 1997 22:32:11 -0800

[email-masked] (Helmer Aslaksen) writes:

>I've just switched from elm to pine. Under elm, I used to manually
>sort my adr book by country etc. I found this convenient. Is there any
>way to do that under pine?

Addresbook is just a regular text file (if you haven't changed anything, it is
called .addressbook) with simple structure. You can load it in any text editor
(like pico or emacs) and edit it as you see fit, as long as the structure of
entries is preserved. Hope this helps a bit.

-Vladimir

---

From: Steve Hubert <[email-masked]>
Date: Fri, 10 Jan 1997 14:23:37 -0800 (PST)

> entries is preserved. Hope this helps a bit.

One thing to watch out for is that if you then edit the address book from
within pine it will re-sort when you change something. So, you should go
to the config screen and look for the variable "addrbook-sort-rule" and
set it to "dont-sort" before you do this. There also isn't much support
for dealing with this problem from within pine. If you add a new entry to
an unsorted address book it isn't possible to control where it gets added.

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

---

From: [email-masked] (Helmer Aslaksen)
Date: 10 Jan 1997 03:24:04 GMT

-- 
Helmer ASLAKSEN
Department of Mathematics
National University of Singapore
Singapore 119260
Republic of Singapore
[email-masked] 
http://www.math.nus.sg/aslaksen/
phone: +65 772-2746
fax: +65 779-5452

---

From: Steve Hubert <[email-masked]>
Date: Sat, 18 Jan 1997 15:13:53 -0800 (PST)

There's a config option to not sort your address book, so you could sort
it externally and then pine won't re-sort. That's all the support there is
for this.