Thread View: news.software.nn
3 messages
3 total messages
Started by Ernst Boetsch
Fri, 11 Oct 1991 16:38
Batch-mode for `nn' available?
Author: Ernst Boetsch
Date: Fri, 11 Oct 1991 16:38
Date: Fri, 11 Oct 1991 16:38
38 lines
2193 bytes
2193 bytes
Hello *,
first, I like `nn' very much.
The only thing I miss is a batch-mode (perhaps I just did not find the
appropriate variable or option in the nn-man-page):
I want to say `nn -batch GROUP' and `nn' shall only print the Subject:
header of the presently unread or leave-next articles in the group
`GROUP' and then exit.
`nn' shall do nothing or print a "No News" message (depending on the
`-Q' option) if there are no such articles.
`nn' shall not print the welcome screen if a user did not use `nn'
before.
Background: I have a local news group to inform the users about
important events.
Now I want to place a `nn -Q -batch EVENT-GROUP' in the `.profile' or
`.login' of the default user environment.
It is important, that `nn' does not enter the interactive (curses) mode
because:
- At that time the terminal setting may not be valid (the users
may telnet from a PC and, therefore, have `$TERM=network').
- At that time I do not want to force the users to read the news.
- Since `nn -Q -batch EVENT-GROUP' will be part of the default user
environment it may be too difficult for new users to use `nn' (most
of our users do not belong to the computer sciences department).
Thanks in advance
Regards
Ernst Boetsch
Ernst Boetsch, Leibniz-Rechenzentrum
der Bayerischen Akademie der Wissenschaften
Barer Strasse 21, D-8000 Muenchen 2, Germany
boetsch@lrz.lrz-muenchen.dbp.de Tel.: +49 89 2105 7480
boetsch%lrz.lrz-muenchen.dbp.de @ {relay.cs.net, unido.uucp}
Re: Batch-mode for `nn' available?
Author: Bill Wohler
Date: Mon, 14 Oct 1991 15:28
Date: Mon, 14 Oct 1991 15:28
15 lines
1181 bytes
1181 bytes
Boetsch@LRZ.LRZ-Muenchen.DBP.DE (Ernst Boetsch) writes: >The only thing I miss is a batch-mode (perhaps I just did not find the >appropriate variable or option in the nn-man-page): >I want to say `nn -batch GROUP' and `nn' shall only print the Subject: >header of the presently unread or leave-next articles in the group >`GROUP' and then exit. agreed. other examples include gathering up a set of messages based on some criteria (ie. match on subject or author) and sticking them in a file. Bill Wohler <wohler@sap-ag.de> <sapwdf!wohler> Heidelberg Red Barons Ultimate Frisbee Team
Re: Batch-mode for `nn' available?
Author: Robert L. Howard
Date: Mon, 14 Oct 1991 20:10
Date: Mon, 14 Oct 1991 20:10
20 lines
1615 bytes
1615 bytes
wohler@sapwdf.UUCP (Bill Wohler) writes:
>Boetsch@LRZ.LRZ-Muenchen.DBP.DE (Ernst Boetsch) writes:
>>The only thing I miss is a batch-mode (perhaps I just did not find the
>>appropriate variable or option in the nn-man-page):
>>I want to say `nn -batch GROUP' and `nn' shall only print the Subject:
^^^^^^^^^^^^^^^
Try `nnbatch'. It is made just for that.
It is undocumented and (I think) unsupported but it is there....
Robert
--
| Robert L. Howard | Georgia Tech Research Institute |
| rhoward@matd.gatech.edu | MATD Laboratory |
| (404) 528-7165 | Atlanta, Georgia 30332 |
-------------------------------------------------------------------------
| "Well, just remember: Suns are better than Macs because a Sun |
| does a *lot* more damage when you throw one." -- Mr. Protocol |
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