🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
1 messages
1 total messages Started by Steve Bacher Fri, 11 Jun 1993 00:05
REXX-Aware News Readers Summary
#4463
Author: Steve Bacher
Date: Fri, 11 Jun 1993 00:05
86 lines
3814 bytes
As promised, here is my summary of REXX-aware news readers.

If you recall, what I mean by "REXX-aware" is that the end user can
code scripts to perform news reading actions.  It has nothing to do
with whether or not the news reader itself was written in REXX.

As it turns out, I found only one such news reader, at least from
replies to my query.  There may be others.

Dale Gold <dgold@basso.actrix.gen.nz> writes about Tnews 1.3, an Amiga
newsreader by John Bickers.  Some of the commands that the user may
embed in a REXX script include:

    key\<char>
        Queue the character <char> into the input stream. This will
        eventually be executed as if the user had pressed this key.

    queue\<string>
        Queue the entire <string> into the input stream. The queue
        has a maximum length of about 20 characters, counting those
        that may already be in the queue. Excess characters get
        ignored.

    level\<number>
        Move to control level 1, 2 or 3. These levels are newsgroup,
        article, and display, respectively. Frequently a move to
        level 2 results in an automatic additional move to level 3.
        If no number is given, this command just returns the current
        control level.

    newsgroup\<name>
        Move over to newsgroup <name>. This command will move to
        control level 1 if TNews is not already there. This command
        returns the name of the previous [current] newsgroup if it
        succeeds or no <name> is specified.

        Example:
                options results
                'newsgroup\comp.sys.amiga.programmer'
                'newsgroup\'
                say result      /* ==> comp.sys.amiga.programmer */

    save\<name>
        Saves current article to file <name>. Control level must be
        2 or 3 for this to work. Control level will be 2 when the
        save is complete.

    range\<range command>
        Execute a <range command>, of the same form as you would
        enter at the articles level. Control level must be 2 or 3 for
        this to work, and will be left at 2 when the range command is
        complete.

        Example:
                'range\.-$ s devo'

    numart\<which>
        Return the number of articles in the current newsgroup, based
        on the value of <which>.

                r - read
                u - unread (default)
                t - total

        Example:
                options results
                'newsgroup\comp.sys.amiga.programmer'
                'numart\u'
                say result      /* ==> 149 */

    quit\
        Quit TNews. The user is not prompted, even if articles may be
        deleted on exit.

    catchup\
        Catchup all articles in the current newsgroup.


        Returns:
            rc is set to 1 if there is no current newsgroup.
            result is set to the number of unread articles.

--
Steve Bacher (Batchman)                 Draper Laboratory
Internet: seb@draper.com                Cambridge, MA, USA
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads