🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #27786

slrn: save to MH folder macro

#27786
From: Kikutani Makoto
Date: Sat, 16 Nov 1996 00:00
43 lines
1682 bytes
If you have any idea to save "all thread", please post it.

---------------------------------------------------------------------
define save_article_to_mh_folder ()
{
    variable ng = current_newsgroup ();
    variable mh_saver = 
        strcat ("/usr/local/lib/mh/rcvstore +", ng);
    variable rsp = get_select_box_response (
        "Save: ",
        "this article", "* marked articles", 
        "numerically tagged articles", 3);
    variable tagnum = 1;

    mh_saver = strcat (mh_saver, " -create");

    if (rsp == 0) {
        pipe_article (mh_saver);
    }

    if (rsp == 1) {
        call ("art_header_bob");	       % goto top of list
        while ( next_tagged_header() ) {
            pipe_article (mh_saver);
        }
    }

    if (rsp == 2) {
        while ( goto_num_tagged_header(tagnum) ) {
            pipe_article (mh_saver);
            tagnum++;
        }
    }
}

definekey ("save_article_to_mh_folder", "O", "article");

-- 
    菊谷 誠(Kikutani Makoto)    kikutani@eis.or.jp
                                hgf03701@niftyserve.or.jp

Technical Details
Message-ID: <slrn58rn89.390.kikutani@mako.eis.or.jp>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <slrn58rn89.390.kikutani@mako.eis.or.jp>
Subject: slrn: save to MH folder macro
Date: Sat, 16 Nov 1996 00:00:00 +0000
From: kikutani@eis.or.jp (Kikutani Makoto)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 196885523
Organization: none
Content-type: text/plain; charset=ISO-2022-JP
Mime-version: 1.0
Newsgroups: news.software.readers