From: MERC::"uunet!VM1.NODAK.EDU!owner-anu-news" 27-APR-1993 11:31:01.37 To: Multiple recipients of list ANU-NEWS CC: Subj: BUG-fixes and EXTENSIONS for 6.1b7 (description) Hi all, here comes several ".DIFF"-files with patches and extensions for ANU-news in it. Patch 1 should be already in it... but got lost somehow (it's already in the official patch-list) Please refer to the following list for details. Greetings, Martin ANU-News 6.1B7 bug-fixes and extensions ----------------------------------------- 1) BUG in SEARCH-command converting the Umlaute (a", u" etc.) Explanation: The tolower() does not convert Umlaute, but the CLI-routines does it. If someone enters Umlaute on the command line then the CLI converts them to uppercase and passes it to NEWS. NEWS tried to convert everything back to lowercase, using the tolower() of VAX-C which does not convert the Umlaute. The result-string will end up with all lowercase except the Umlaute uppercase. Because of that a string with Umlaute in SEARCH does NEVER match. fixed in NEWSRTL.C (strip_compress_lower() and lower_case()) by removing the tolower() and replacing it with the same algorithm to translate as the CLI-routine does. 2) BUG in SEARCH-command with normal SEARCH and SEARCH /ALL Explanation: NEWS 6.1B7 does always start its searches from the beginning of the current area and not (as described) from the current position. The default behavior is now as if /ALL was always specified. fixed in NEWSSEARCH.C (dsh()) by using getnoterange() to get the specified range instead of just assuming the whole group. 3) EXTENSION in SEARCH-command with /REVERSE-qualifier Explanation: Sometimes I need to find the newest message with a specified word in it. For this reason I added /REVERSE to search backwards. A normal SEARCH keyword /REVERSE searches backward from the current position to the beginning of the newsgroup. To repeat the search it's sufficent to just enter SEARCH (as usual) and it will continue in backward direction. A new search without /REVERSE always runs forward. If a range is specified for the SEARCH, then the same range (eg 2-5 or /MARK) is searched except the search will be backwards, starting with the last item up to the first item. Side effects / Compatibility issues: There should be no compatiblity issues with this extension - without the /REVERSE the SEARCH works as usual. changed modules: NEWSCMD.CLD, NEWSDEFINE.H and NEWSSEARCH.C 4) EXTENSION in EXTRACT and PRINT to the /HEADER qualifier Explanation: I added the possibility to specify WHICH headerlines should be in the extracted file or printed. /HEADER and /NOHEADER works as usual but allows now to add a list to select the header-elements. The following rfc-lines are selectable: ALL (all headerlines, including any special or unlisted ones) NONE (no headerlines, same as specifiing /NOHEADER) APPROVED ("Approved:" - Line) CONTROL ("Control:" - Line) DATE ("Date:" - Line) DISTRIBUTION ("Distribution:" - Line) EXPIRES ("Expires:" - Line) FOLLOWUP ("Followup-To:" - Line) FROM ("From:" - Line) MESSAGEID ("Message-Id:" - Line) KEYWORDS ("Keywords:" - Line) LINES ("Lines:" - Line) ORGANIZATION ("Organization:" - Line) NEWSGROUPS ("Newsgroups:" - Line) PATH ("Path:" - Line) REFERENCES ("References:" - Line) REPLYTO ("Reply-To:" - Line) SENDER ("Sender:" - Line) SUBJECT ("Subject:" - Line) SUMMARY ("Summary:" - Line) XREF ("Xref:" - Line) XNEWS ("X-NEWS:" - Line (added by ANU-News during EXTRACT/PRINT)) Example: If you want to get only from, date and subject in the extracted (printed) file then /HEADER=(FROM,DATE,SUBJECT) will do it. Side effects / Compatibility issues: The /HEADER in the PRINT-command doesn't allow to enable and disable the print-header - It works now as it is documented if it is specified without the a list of rfc-elements. changed modules: NEWSCMD.CLD, NEWSEXTERN.H and NEWSEXTRACT.C 5) EXTENSION in FOLLOWUP to add a /NEWSGROUPS qualifier Explanation: ANU 6.1b7 always asks for the newsgroup in a follow-up. I added the /NEWSGROUPS= qualifier to avoid the additional prompt and specify it directly. Side effects / Compatibility issues: There should be no compatibility problems, because without this qualifier it works as usual. changed modules: NEWSCMD.CLD, NEWSPOST.C 6) EXTENSION to MAIL & FORWARD to mail multiple messages at once Explanation: MAIL (and its synonyom FORWARD) allows only a single item to be sent. I added the code to select a range with /MARK, /ALL or an itemrange If multiple messages are mailed then they are separeted by a in the mail-message. Side effects / Compatibility issues: There is no default subject given, if multiple items are mailed, but there should be no compatibility problems, because without specifing a range it works as usual. changed modules: NEWSCMD.CLD, NEWSFORWARD.C ---------------------------------------------------------------------------- Radio Suisse Ltd, Internet: winter@vision.rs.ch Laupenstrasse 18a postmaster@rs.ch 3008 Bern PSI-Mail: +22846431062::WINTER (public X.25) Switzerland X.400: C=CH; A=ARCOM; P=RS; O=DM; S=WINTER, G=MARTIN ----------------------------------------------------------------------------