[news.software.anu-news] Proposed chance to /SELF default for mail.

SLOANE@kuhub.cc.ukans.edu (Bob Sloane) (08/12/89)

Hi All,

One thing that I would like to see changed in NEWS is the handling of the
/SELF qualifier when sending mail.  Currently, if you do not specify /SELF,
then /NOSELF is explicitly used.  I would rather see the default condition
left up to the setting of the mail COPY_SELF setting.  This is a fairly minor
change.  In NEWSFORWARD.C there are two occurances of:

else sprintf(&xfrbuf[strlen(xfrbuf)],"/NOSELF ");

These could be changed to:

else if (cli$present(c$dsc("SELF")) == CLI$_NEGATED)
    sprintf(&xfrbuf[strlen(xfrbuf)],"/NOSELF");

At least I think this would do it.  Of course there are more efficient ways to
do this, since the status of cli$present(c$dsc("SELF")) was just tested. I
will leave that as an exercise for the reader. :-)
+-------------------+-------------------------------------+------------------+
|  Bob Sloane        \Internet: SLOANE@KUHUB.CC.UKANS.EDU/Anything I said is |
|  Computer Center    \ BITNET: SLOANE@UKANVAX.BITNET   / my opinion, not my |
|  University of Kansas\  AT&T: (913) 864-0444         /  employer's.        |
+-----------------------+-----------------------------+----------------------+