🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.mush
Article #662

folder -N in scripts

#662
From: Wessel Kraay
Date: Wed, 23 Jan 1991 10:36
23 lines
1008 bytes
I wrote a short script to make a listing of unread messages in different folders:


if $thisfolder:t == $USER
        :
        echo "These messages are still unread:"
        folder -n -N +InterViews
        headers :u
        folder -n -N +epoch
        headers :u
        folder -n -N %
        :
        exit
endif


However, I discovered that the -N option of the 'folder' command works only 
in line mode. So each folder change results in a complete header listing.

Is it possible to suppres complete header listings on folder change, by
sourcing a script from curses mode?

Wessel Kraaij.
Technical Details
Message-ID: <1991Jan23.103606.9574@kub.nl>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!mcsun!hp4nl!kubix!kub.nl!wessel

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!mcsun!hp4nl!kubix!kub.nl!wessel
From: wessel@kub.nl (Wessel Kraay)
Newsgroups: comp.mail.mush
Subject: folder -N in scripts
Message-ID: <1991Jan23.103606.9574@kub.nl>
Date: 23 Jan 91 10:36:06 GMT
Reply-To: wessel@kub.nl (Wessel Kraay)
Organization: Tilburg University, Tilburg, The Netherlands
Lines: 23