home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Path: sparky!uunet!paladin.american.edu!auvm!WEIZMANN.WEIZMANN.AC.IL!VSLAWR
- Return-Path: <@OHSTVMA.ACS.OHIO-STATE.EDU:MAILBOOK@DEARN.BITNET>
- Message-ID: <MAILBOOK%93012408535309@DEARN>
- Newsgroups: bit.listserv.mailbook
- Date: Sun, 24 Jan 1993 09:39:59 +0200
- Sender: RiceMail discussion list <MAILBOOK@RICEVM1.BITNET>
- From: "Lawrence S. Kalman" <VSLAWR@WEIZMANN.WEIZMANN.AC.IL>
- Subject: Re: Attribution line
- In-Reply-To: Message of Fri, 22 Jan 93 22:07:48 EST from <CMS2@ETSU>
- Lines: 62
-
- On Fri, 22 Jan 93 22:07:48 EST Bill Williams said:
- >Since I am an SysProg and the PostMaster I sometimes need to REPLY to an
- >item that has been RESENT from a FORWARDED from a RESENT from a
- >FORWARDED ...etc. which originaltd lord knows where, and would like to
- >see additions to the 'ALL', 'FROM', and 'SENDER' options. Or more
- >precisely some *qualifiers* to the existing so that I may be real
- >specific. I want to say something like:
- > REPLY TEXT SENDER RESENT
- > | FROM |
- >or REPLY TEXT SENDER NORESENT or ORIGINAL
- >
- >I generally get around problems wherein I cannot get the specific I want
- >with the REPLY by doing a REPLY ALL and then EXCLUDE da-de-da for those
- >I don't want.
-
- This problem manifests itself in so many situations that it would be futile to
- provide a RiceMail subcommand option for every instance. My solution to the
- problem is to use the attached macro, CAPTURE XEDIT. Type CAPTURE on the
- command line, move the cursor to the line containing the address to which you
- want to REPLY, FORWARD, or whatever, press ENTER, and voila! All that is left
- to do is to replace the text preceding the address with the appropriate
- subcommand name and press ENTER again.
-
- - Lawrence
- ------------------------------------------------------------------------
- /* CAPTURE XEDIT - Copy cursor line into command line */
-
- /* Usage: CAPTURE [col] */
- /* col is the column to occupy the first position in */
- /* the command line. Default is 1. */
-
- Address XEDIT
-
- Arg col .
- If col = '' Then col = 1
-
- If ^Datatype(col,'W') | col <= 0
- Then Do
- msgparms = '543 col ( FORMAT 2'
- Signal Emsg
- End
-
- 'COMMAND EXTRACT /CURSOR/LINE'
- If cursor.3 > 0
- Then Do
- ':'cursor.3 'COMMAND EXTRACT /CURLINE'
- ':'line.1 'COMMAND CMSG' Substr(curline.3,col)
- 'COMMAND CURSOR CMDLINE'
- End
- Else Do
- msgparms = '561'
- Signal Emsg
- End
-
- Exit
-
- Emsg:
-
- Parse Var msgparms msgparms '(' options
- Address COMMAND 'XMITMSG' msgparms '(VAR' options
- 'COMMAND EMSG' Substr(message.1,4)
- Exit
-