LSTSRV-L Archives

LISTSERV Site Administrators' Forum

LSTSRV-L

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Eric Thomas <[log in to unmask]>
Tue, 9 Nov 1999 05:27:20 +0100
text/plain (37 lines)
The problem is that most input things in LISTSERV (commands, keywords,
etc) are space separated. If you write:

* Notebook= Yes,C:\Program Files\blah,Monthly

the keyword parser will stop at "Yes,C:\Program" (which is a perfectly valid
"Notebook=" keyword, so you will not get an error message when updating
the list header). To tell the parser not to stop, you have to use:

* Notebook= "Yes,C:\Program Files\blah,Monthly"

But that will not work either because "Notebook=" is a positional keyword,
like most list header keywords (the exceptions are things like "Sender=").
In a positional keyword, spaces are not significant and neither is case.
Positional keywords are pre-processed and stored in ASCII for easy use.
Special keywords like "Sender=", on the other hand, are internally stored
in a binary format which is a pain to process if you are actually using them
like a positional keyword and just need to check the third element,
case-insentive ("Monthly"). But there is a way around. You can edit
SITE.CFG and add:

.SD L C:\Program Files\LISTSERV\Archives

After restarting, you can change the list header to:

* Notebook= Yes,L,Monthly

This will work with any letter except that A-D, S and Y-Z are reserved and
should not be defined in this manner. You cannot use a longer name, it
would be interpreted literally as a subdirectory name. This is an old
feature whose purpose is to make it easy to move large archive directories
around and not have to edit 500 list headers. Note that this has nothing to
do with your Windows drive map, the "L" above has nothing to do with
"L:\".

  Eric

ATOM RSS1 RSS2