HDTenEightyP/NetNews huggingface dataset:
From: ned@sigurd.innosoft.com (Ned Freed)
Newsgroups: vmsnet.mail.pmdf
Subject: RE: 2 questions
Date: 9 Nov 92 23:49:22 GMT
Organization: The Internet
Return-Path: <epmdf@YMIR.CLAREMONT.EDU>
Resent-Date: 09 Nov 1992 16:49:22 -0700 (PDT)
Resent-From: epmdf@YMIR.CLAREMONT.EDU
Errors-To: epmdf@YMIR.CLAREMONT.EDU
Resent-Message-ID: <01GQYDUI1LWI8ZGEVL@YMIR.CLAREMONT.EDU>
X-Vms-To: IN%"KNEZEVICH@NOAAPMEL.GOV"
X-Vms-Cc: IPMDF
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-Transfer-Encoding: 7BIT

> 1) This may be a FAQ, but an exuser must be subscribed to a dozen mailing
> lists, and now that he is gone, his mail is bouncing. As postmaster, I receive
> these, too.  What is the best way to deep-six mail addressed to this guy?

The best way to do it is to contact all the lists and unsubscribe the sucker.
The problem with the deep-six approach is that the mail continues to arrive and
will do so forever. This can eventually become a real issue if you get enough
of this sort of traffic.

However, you can easily deep-six mail in PMDF if you like -- set up a bitbucket
channel and forward this guys mail to the a doman name that maps to this
channel. (The username you forward to is, of course, not relevant.)

> 2) Any suggestions for meaningful interval values for a) return.com, which
> runs every midnight, and b) the messages that are sent at 3,6,9, and 12
> days.  A user complained because he didn't get notified for 3 days that
> his mail was not delivered.  Somebody suggested running return.com every
> 4 hours or so, and having the first message sent at one day. Any
> comments on that suggestion or  on notification of nondelivery in general?

This is totally a matter of taste. We have sites that return mail after a week
and say nothing in the interim. Other sites want it returned after one hour in
the queue. To each his (or her) own.

You can run RETURN either daily or hourly. It does not support any other modes
of operation. (The RETURN_UNITS PMDF option controls this.) My recommendation
is that you leave RETURN_UNITS alone and set up a return policy so that
warnings are sent after one day. This is the most reasonable choice, in my
opinion. But like I say: to each his (or her) own.

			Ned
From: dmpm%dukemc.bitnet@ymir.claremont.edu (James Dryfoos- Postmaster)
Newsgroups: vmsnet.mail.pmdf
Subject: Undocumented entry in mail.log?
Date: 12 Nov 92 20:08:58 GMT
Organization: Duke University Medical Center, Durham NC, USA
Return-Path: <epmdf@YMIR.CLAREMONT.EDU>
Resent-Date: 12 Nov 1992 15:08:58 -0500 (EST)
Resent-From: epmdf@YMIR.CLAREMONT.EDU
Errors-To: epmdf@YMIR.CLAREMONT.EDU
Resent-Message-ID: <01GR2AXHSD9U8ZGS2Z@YMIR.CLAREMONT.EDU>
X-Vms-To: IN%"ipmdf@ymir"
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-Transfer-Encoding: 7BIT

I fond the following in mail.log and was wondering how to interpret?

11-NOV-1992 12:06:49 mailserv     120646120649 S 0 DMPM@mc.duke.edu sub chgadm-l
    chgadm@mc.duke.edu 3.48

I do not find anything about an S entry in the docs.

--Jim

   =======================================================================
      James D. Dryfoos -- Postmaster    |  dmpm@mc.duke.edu
      Duke University Medical Center    |  dmpm@dukemc.bitnet
      Box 2914 DUMC                     |  (919) 684-6421 - office
      Durham, NC 27710 Earth            |  (919) 684-8675 - fax
   =======================================================================
Newsgroups: vmsnet.mail.pmdf
Subject: RE: Additional mailing list security
From: c.chaundy@its.unimelb.edu.au
Date: 12 Nov 1992 23:35:18 +1000
Organization: The Internet
Return-Path: <epmdf@YMIR.CLAREMONT.EDU>
Resent-Date: 12 Nov 1992 23:35:18 +1000
Resent-From: epmdf@YMIR.CLAREMONT.EDU
CC: ipmdf@YMIR.CLAREMONT.EDU
Errors-To: epmdf@YMIR.CLAREMONT.EDU
Resent-Message-ID: <01GR1V3M9HDU8ZG1O0@YMIR.CLAREMONT.EDU>
X-Vms-To: IN%"NED@INNOSOFT.COM"
X-Vms-Cc: IN%"ipmdf@ymir.claremont.edu"
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-Transfer-Encoding: 7BIT

>Date: 11 Nov 1992 23:37:47 -0700 (PDT)
>From: Ned Freed <NED@INNOSOFT.COM>
>Subject: RE: Additional mailing list security
>
>The functionality to restrict the people who can mail to a given list was
>added in V4.1. You can restrict the ability to post to a list of addresses
>or a mapping or both. See the material on positional parameters for mailing
>list (section 3.3.2 or thereabouts).

There is a bit more in the current patch level Bookreader manuals than in
the original hard copies, including the section on 'named parameters' which
is exactly what I was after (3.3.2.2.1).

Thanks for the direction, Chris Chaundy
From: knezevich@noaapmel.gov (Mike Knezevich)
Newsgroups: vmsnet.mail.pmdf
Subject: 2 questions
Date: 9 Nov 92 21:40:00 GMT
Organization: The Internet
Return-Path: <epmdf@YMIR.CLAREMONT.EDU>
Resent-Date: 09 Nov 1992 14:40 -0700 (PDT)
Resent-From: epmdf@YMIR.CLAREMONT.EDU
Errors-To: epmdf@YMIR.CLAREMONT.EDU
Resent-Message-ID: <01GQY9DWQLR68ZGDWP@YMIR.CLAREMONT.EDU>
X-Vms-To: IN%"IPMDF@YMIR.CLAREMONT.EDU"
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-Transfer-Encoding: 7BIT

1) This may be a FAQ, but an exuser must be subscribed to a dozen mailing
lists, and now that he is gone, his mail is bouncing. As postmaster, I receive
these, too.  What is the best way to deep-six mail addressed to this guy?

2) Any suggestions for meaningful interval values for a) return.com, which
runs every midnight, and b) the messages that are sent at 3,6,9, and 12
days.  A user complained because he didn't get notified for 3 days that
his mail was not delivered.  Somebody suggested running return.com every
4 hours or so, and having the first message sent at one day. Any
comments on that suggestion or  on notification of nondelivery in general?

thanks,

Mike
From: shah.khatri@asu.edu
Newsgroups: vmsnet.mail.pmdf
Subject: Help setting up mailing lists
Date: 11 Nov 92 19:10:00 GMT
Organization: The Internet
Return-Path: <epmdf@YMIR.CLAREMONT.EDU>
Resent-Date: 11 Nov 1992 12:10:00 -0700 (MST)
Resent-From: epmdf@YMIR.CLAREMONT.EDU
X-MX-Warning: Warning -- Invalid "To" header.
Errors-To: epmdf@YMIR.CLAREMONT.EDU
Resent-Message-ID: <01GR0UP47TS28ZFNEM@YMIR.CLAREMONT.EDU>
X-Vms-To: IN%"@ASUVM.INRE.ASU.EDU:IPMDF@YMIR.BITNET"  "IPMDF"
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-Transfer-Encoding: 7BIT
X-Delivery-Notice: SMTP MAIL FROM does not correspond to sender.
X-Mailer: Microsoft Mail V3.0



We have a news server with newsgroups such as email.msmail.appletalk.  I'd
like to create MAILSERV mailing lists with the same name, as far as the user
is concerned.

If I create .DIS files by replacing periods with underscores, users also
will have to replace periods with underscores when they SUBSCRIBE.

Can the mapping file be used to change the command sent to MAILSERV?  For
instance, map SUBSCRIBE EMAIL.MSMAIL.APPLETALK ... to SUBSCRIBE
EMAIL-MSMAIL-APPLETALK ...?

Thank you.
From: dan@innosoft.com (Daniel C. Newman)
Newsgroups: vmsnet.mail.pmdf
Subject: RE: Very large alias and reverse databases?
Date: 11 Nov 92 18:35:50 GMT
Organization: The Internet
Return-Path: <epmdf@YMIR.CLAREMONT.EDU>
Resent-Date: 11 Nov 1992 11:35:50 -0700 (PDT)
Resent-From: epmdf@YMIR.CLAREMONT.EDU
Errors-To: epmdf@YMIR.CLAREMONT.EDU
Resent-Message-ID: <01GR0VGYU8W28ZGKZB@YMIR.CLAREMONT.EDU>
X-Vms-To: IN%"DMPM%DUKEMC.BITNET@ymir.claremont.edu"
X-Vms-Cc: IPMDF
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-Transfer-Encoding: 7BIT

> Will PMDF handle an alias and reversal database starting
> at about 5,000 entries and possibly growing to 20,000?

I know of at least one site with alias and reversal databases with over 115,000
entries.  They say it works just fine.  PMDF uses a keyed, indexed file so
lookups are pretty fast.

> What we are trying to do is allow everyone at the Medical Center
> to have a single id in the form of id@mc.duke.edu
> As most users are not on the PMDF node (not even a VMS system),
> I want to rewrite the outgoing address into the normalized form using
> the reverse databse and then use the alias to direct it to
> the appropriate channel.  For example,
>
> Outgoing:       user%node@mc.duke.edu becomes id@mc.duke.edu
> Incoming:       id@mc.duke.edu user%node@channel

This should work just fine.  Unfortunately, you cannot couple REVERSE mappings
with the reversal database.  (If this were possible, and your usernames "user"
were unique across all nodes "node", then you could simplify things by first
using a REVERSE mapping to map user%node@mc.duke.edu to user@mc.duke.edu.  This
would then cut down on the number of entries per user in the reversal
database.)

Dan
From: carter@crunch.colorado.edu
Newsgroups: vmsnet.mail.pmdf
Subject: Mail Server Software -- Survey
Date: 5 Nov 92 20:53:04 GMT
Organization: The Internet
Return-Path: <epmdf@YMIR.CLAREMONT.EDU>
Resent-Date: 05 Nov 1992 13:53:04 -0700 (MST)
Resent-From: epmdf@YMIR.CLAREMONT.EDU
Errors-To: epmdf@YMIR.CLAREMONT.EDU
Resent-Message-ID: <01GQSKI334K28ZFS6V@YMIR.CLAREMONT.EDU>
X-Vms-To: IN%"info-pmdf@YMIR.CLAREMONT.EDU"
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-Transfer-Encoding: 7BIT
X-Mailer: ELM [version 2.3 PL11]

My site is in the process of evaluating mail server software packages.  Our
end goal is to consolidate most of our (500) mailing lists with some mail
server.  We have lists of all types on many of our platforms and adminstration
has become a nightmare.  We support many of these lists with PMDF MAILSERV and
are mostly happy with it but don't want to overlook any other products out
there.

As a note to Ned, Kevin, Dan, et al:  What is in the future for MAILSERV?
Additional functionality like moderation of messages, moderation of sub/unsub,
etc?

If your site runs any type of mailing list server, please take a moment to
fill out this survey and return it to me (carter@crunch.Colorado.EDU)

1)  What mailing list server software do you run?

        a) BITnet LISTSERV
        b) Unix Listserv (from BU, Anastasios Kotsikonas)
        c) PMDF MAILSERV
        d) Unix Majordomo (from Brent Chapman)
        e) VMSLSV (as discussed on VMSLSV-L)
        f) Homebrew (please let me know what platform)
        g) Other public domain or 3rd party software (please let me know where
           you got it, cost, etc.)

2)  How many mailing lists do you support through your mailing list server?

3)  Are you happy with the features of the server(s) you run?  If not, what
    is missing?

4)  Would you recommend your server software to other sites?

5)  Is your server software RFC 822 compliant?


--

                                - Mike
Newsgroups: vmsnet.mail.pmdf
Subject: RE: Additional mailing list security
From: Ned Freed <ned@innosoft.com>
Date: 11 Nov 1992 23:37:47 -0700 (PDT)
Organization: The Internet
Return-Path: <epmdf@YMIR.CLAREMONT.EDU>
Resent-Date: 11 Nov 1992 23:37:47 -0700 (PDT)
Resent-From: epmdf@YMIR.CLAREMONT.EDU
Errors-To: epmdf@YMIR.CLAREMONT.EDU
Resent-Message-ID: <01GR1KP8X2768ZGTQ8@YMIR.CLAREMONT.EDU>
X-Vms-To: IN%"C.Chaundy@its.unimelb.EDU.AU"
X-Vms-Cc: IPMDF
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-Transfer-Encoding: 7BIT

The functionality to restrict the people who can mail to a given list was
added in V4.1. You can restrict the ability to post to a list of addresses
or a mapping or both. See the material on positional parameters for mailing
list (section 3.3.2 or thereabouts).

As for anonymous postings, as far as I can tell this isn't a mailing
list function; it should be the job of a special PMDF channel. And
while I've never seen one yet it shouldn't be too hard to write one.
Arranging for replies to anonymous postings is harder, but again should
not be too hard to do with a bidirectional database.

				Ned
From: dan@innosoft.com (Daniel C. Newman)
Newsgroups: vmsnet.mail.pmdf
Subject: RE: Help setting up mailing lists
Date: 11 Nov 92 19:03:03 GMT
Organization: The Internet
Return-Path: <epmdf@YMIR.CLAREMONT.EDU>
Resent-Date: 11 Nov 1992 12:03:03 -0700 (PDT)
Resent-From: epmdf@YMIR.CLAREMONT.EDU
Errors-To: epmdf@YMIR.CLAREMONT.EDU
Resent-Message-ID: <01GR0WGBP7J68ZGPWW@YMIR.CLAREMONT.EDU>
X-Vms-To: IN%"Shah.Khatri@ASU.Edu"
X-Vms-Cc: IPMDF
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-Transfer-Encoding: 7BIT

> We have a news server with newsgroups such as email.msmail.appletalk.  I'd
> like to create MAILSERV mailing lists with the same name, as far as the user
> is concerned.
>
> If I create .DIS files by replacing periods with underscores, users also
> will have to replace periods with underscores when they SUBSCRIBE.
>
> Can the mapping file be used to change the command sent to MAILSERV?  For
> instance, map SUBSCRIBE EMAIL.MSMAIL.APPLETALK ... to SUBSCRIBE
> EMAIL-MSMAIL-APPLETALK ...?

For the time being, you're only option is to change the list names.  We'll look
into adding for 4.2 a mapping table to map list names to mailing list file
names.

Note that the source to MAILSERV ships with PMDF.  Some simple code additions
will allow periods in list names to be translated to hyphens.  In a separate
message I'll send you such a modified version of MAILSERV.  The translations
are hard-coded and do not use mapping tables.

Dan
From: burke%jcvaxa.bitnet@ymir.claremont.edu (Jim Burke (216)397-4484)
Newsgroups: vmsnet.mail.pmdf
Subject: Trouble sending smtp mail from pmdf to a pc gateway running S-Bridge
Date: 4 Nov 92 22:30:00 GMT
Organization: The Internet
Return-Path: <epmdf@YMIR.CLAREMONT.EDU>
Resent-Date: 04 Nov 1992 17:30 -0500 (EST)
Resent-From: epmdf@YMIR.CLAREMONT.EDU
Errors-To: epmdf@YMIR.CLAREMONT.EDU
Resent-Message-ID: <01GQR9P27G5E8ZFKH6@YMIR.CLAREMONT.EDU>
X-Vms-To: IN%"ipmdf@ymir"
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-Transfer-Encoding: 7BIT



   We are having trouble sending some messages from our vax running pmdf 4.0 to
a pc acting as an smtp gateway to our pclan's.  The gateway is running S-Bridge
software from CMS version 1.03C and passes the mail to MHS version 1.5N from
Novell.  A partial copy of the log from the WTCP channel is included below:

- Jim Burke                                 Phone:    (216) 397-4484
  Director of Networking and Systems        Internet: Burke@JCVAXA.JCU.EDU
  John Carroll University                   BITNET:   Burke@JCVAXA
  University Hts, Ohio  44118

Here's the excerpt, it seems to be in this mode for 10 minutes:

$ WTCP_channel:
$ !
$ ! Define other logical names
$ !
$ run pmdf_root:[exe]wtcp_master

Starting delivery of
PMDF_ROOT:[QUEUE.WTCP_LOCAL]ZZ01GQRF2SU7MA8Y4YSQ.00;1
os_smtp_open: Connecting to smtpgw.jcu.edu
netopen: Trying to connect to 143.105.1.77
os_smtp_write: network read failed:
broken pipe
os_smtp_write: network read failed:
broken pipe
os_smtp_write: network read failed:
broken pipe
os_smtp_write: network read failed:
broken pipe
os_smtp_write: network read failed:
broken pipe
os_smtp_write: network read failed:
broken pipe
.
.
.
os_smtp_write: network read failed:
broken pipe
os_smtp_write: network read failed:
broken pipe

 4-NOV-92  17:19:56: SMTP routine failure on file:
PMDF_ROOT:[QUEUE.WTCP_LOCAL]ZZ01GQRF2SU7MA8Y4YSQ.00;1
Recorded error -- Error writing SMTP packet
$ goto out1
$ out1:
$ delete pmdf_root:[log]wtcp_local_master_dirlst_20400D49.tmp;*
PMDF_ROOT:[LOG]WTCP_LOCAL_MASTER_DIRLST_20400D49.TMP;1 deleted (4 blocks)
$ !
$ ! Common exit point - clean up things first
$ !
From: at913@cleveland.Freenet.Edu (Mirko Vukovic)
Newsgroups: vmsnet.tpu
Subject: LSE's GOTO PLACEHOLDER jumping over pseudocodes
Date: 10 Nov 1992 15:58:31 GMT
Organization: Case Western Reserve University, Cleveland, OH (USA)
Reply-To: at913@cleveland.Freenet.Edu (Mirko Vukovic)
NNTP-Posting-Host: hela.ins.cwru.edu


Hello!

I've written a LaTeX language definition file.  Things are mostly fine, 
but ...

When I compress a part of the text, I can expand it ok, but the
GOTO PLACEHOLDER does not detect it.

ANy thoughts?  I can submit also the definition file if need be.

Thanks.
-- 
Mirko Vukovic 
University of Wisconsin -- Madison
VUKOVIC@UWMFE.NEEP.WISC.EDU 
Newsgroups: vmsnet.tpu
From: davis@pacific.mps.ohio-state.edu ("John E. Davis")
Subject: Re: Procedure to matchup (){}[]  ???
Reply-To: davis@pacific.mps.ohio-state.edu  (John E. Davis)
Organization: "Dept. of Physics, The Ohio State University"
Date: Wed, 11 Nov 1992 13:52:39 GMT

While these procedures that have been posted may work fine for most purposes,
I do not think they will as expected work for:

if ((ch == ')') || (ch == '('))
  {...}

Does anyone have one that works properly for this case?  If so, does it also
work for this:

if ((ch == '\'') || (ch == '\\'))
  {...}

--
     _____________
#___/John E. Davis\_________________________________________________________
#
# internet: davis@amy.tch.harvard.edu
#   bitnet: davis@ohstpy
#   office: 617-735-6746
#
Newsgroups: vmsnet.tpu
Subject: Problems with SET GOLD KEY
From: ldgiltne@wsuhub.uc.twsu.edu (Lawrence Giltner)
Date: 8 Nov 92 05:33:38 CST
Organization: Wichita State University, Wichita, Ks

I have run across an anomoly. (That or my ignorance is showing B-{ )

I read all the postings about the GOLD-KEY definitions and decided to
try defining some.  I have all the Ctrl keys defined that were not
"reserved" by TPU or VMS.  So I tried defining Ctrl-X as gold and got no
result.  So I did a Set NoGold, undefined another key that I had defined
(Ctrl-U RESTORE), and defined it as gold.  I picked Ctrl-U because it
seemed that the default definition of Ctrl-X was Restore and I would
learn to use it.

Now here is what is funny. Both Ctrl-X and Ctrl-U acted as gold keys.
When I did a Set NoGold, both keys did the Erase To The Start Of Line.
This happened even when I used the vanilla TPU. Are these two keys tied
together somehow?

Second experiment.  Restarted TPU (customized), undefined Ctrl-U, Set
Gold Ctrl-U, and now Ctrl-X is now a gold key also.  Did a Set NoGold
and both keys now Erase To Start Of Line.

I really only need ONE gold key.

I am on VMS 5.5 with TPU v2.6.  At this time I am dialed in from home
using Procomm+ 2.0 with a vt320 emulation.

   main.frame (man'fram'), n. the largest peripheral you can attach to a PC.
   Of course these are my opinions, you'll have to go out and buy your own!
 VAX Internet  ldgiltne@wsuhub.uc.twsu.edu   VAX BITNET  ldgiltne at twsuvax
                Wichita State University   Wichita, Kansas,  U.S.A.
Newsgroups: vmsnet.tpu
From: pheanis@envmsa.eas.asu.edu (David C. Pheanis)
Subject: Re: Problems with SET GOLD KEY
News-Software: VAX/VMS VNEWS 1.4-b1  
Organization: Arizona State University, Tempe, AZ
Date: Mon, 9 Nov 1992 20:40:00 GMT

In article <1992Nov8.053338.382@wsuhub.uc.twsu.edu>, ldgiltne@wsuhub.uc.twsu.edu (Lawrence Giltner) writes...
> 
>I read all the postings about the GOLD-KEY definitions and decided to
>try defining some.  I have all the Ctrl keys defined that were not
>"reserved" by TPU or VMS.  So I tried defining Ctrl-X as gold and got no
>result.  So I did a Set NoGold, undefined another key that I had defined
>(Ctrl-U RESTORE), and defined it as gold.  I picked Ctrl-U because it
>seemed that the default definition of Ctrl-X was Restore and I would
>learn to use it.
> 
>Now here is what is funny. Both Ctrl-X and Ctrl-U acted as gold keys.
>When I did a Set NoGold, both keys did the Erase To The Start Of Line.
>This happened even when I used the vanilla TPU. Are these two keys tied
>together somehow?

     VMS  returns  the  same  code  for  both  ^U and ^X.  You don't have a
problem with TPU; you just managed to pick the two  keys that VMS treats as
(almost) the same, so TPU sees the same key regardless  of  which  one  you
press.

   +------------------------------------------------------------------+
   |   David C. Pheanis                   Arizona State University    |
   |   pheanis@envmsa.eas.asu.edu         Tempe, Arizona 85287-5406   |
   +------------------------------------------------------------------+
From: (Michael
Newsgroups: vmsnet.tpu
Subject: RE: Matching multi-character delimiters?
Date: 12 Nov 92 06:24:04 GMT
Reply-To: "(Michael Lemke, Astronomy UT Austin, Phone: +1-(512)-471-1483)"
Organization: The Internet
Return-Path: <TPU-Mgr@SHSU.edu>
Errors-To: TPU-Mgr@SHSU.edu
X-Listname: Text Processing Utility (TPU) Language Discussion List
X-Vmsmail-To: SMTP%"fairfield@slacvx.slac.stanford.edu"

In a message of Wed, 11 Nov 1992 21:44:00 GMT
Received on 12 Nov 1992, 00:17 GMT

fairfield@slacvx.slac.stanford.edu wrote
to: Text Processing Utility (TPU) Language Discussion List <INFO-TPU@SHSU.edu>

>    All this discussion about matching up delimiters brought to mind a
>case I don't think is handled by any of the procedures posted: has
>anyone thought about the problem of, for example, matching opening and
>closing comment delimitors in C?
>
>	/* Hi! I'm a comment, what are you? */
>
>I've thought of two possiblities:
>
>    1) Create an _array_ of left-delimitors and an array of
>       right-delimitors with each array entry being a string
>       of arbitrary length.  You might need to order the array
>       elements so as to check the multi-character delimiters
>       before the single character ones if the multi's included
>       characters in the single-character set...
>
>    2) Use SELECT to highlight a string of characters, then do
>       a "MATCH SELECTED".  Eve_Match_Selected would extract the
>       selected string of characters and reverse them to form the
>       match delimiter string.  Problem here is you don't know
>       whether to search FORWARD or REVERSE sine there is no
>       intrinsic left- or rightness to the strings.
>
>Comments?

Well, yes.  The idea with an array sounds good and could be extended to
look for \begin{array} \end{array} etc.  But then the SELECT stuff
wouldn't work.  Would make an interesting LaTeX mode.



--
Michael Lemke
Astronomy, UT Austin, Texas
(michael@io.as.utexas.edu or UTSPAN::UTADNX::IO::MICHAEL [SPAN])
Newsgroups: vmsnet.tpu
From: fairfield@slacvx.slac.stanford.edu
Subject: Matching multi-character delimiters?
Organization: Stanford Linear Accelerator Center
Date: Wed, 11 Nov 1992 21:44:00 GMT

    All this discussion about matching up delimiters brought to mind a
case I don't think is handled by any of the procedures posted: has
anyone thought about the problem of, for example, matching opening and
closing comment delimitors in C?  

	/* Hi! I'm a comment, what are you? */

I've thought of two possiblities:

    1) Create an _array_ of left-delimitors and an array of 
       right-delimitors with each array entry being a string
       of arbitrary length.  You might need to order the array
       elements so as to check the multi-character delimiters 
       before the single character ones if the multi's included
       characters in the single-character set...

    2) Use SELECT to highlight a string of characters, then do
       a "MATCH SELECTED".  Eve_Match_Selected would extract the
       selected string of characters and reverse them to form the
       match delimiter string.  Problem here is you don't know
       whether to search FORWARD or REVERSE sine there is no
       intrinsic left- or rightness to the strings.

Comments?

		Cheers, Ken
-- 
 Dr. Kenneth H. Fairfield    |  Internet: Fairfield@Slac.Stanford.Edu
 SLAC, P.O.Box 4349, MS 98   |  DECnet:   45537::FAIRFIELD (45537=SLACVX)
 Stanford, CA   94309        |  BITNET    Fairfield@Slacvx
 ----------------------------------------------------------------------------
 These opinions are mine, not SLAC's, Stanford's, nor the DOE's...
Xref: sparky vmsnet.tpu:495 comp.editors:2724