Article View: news.software.nn
Article #6470Re: nn batch reading?
From: FraLo
Date: Thu, 29 Sep 1994 18:32
Date: Thu, 29 Sep 1994 18:32
83 lines
3867 bytes
3867 bytes
In article <35vbaf$ekk@scapa.cs.ualberta.ca>, gerald@amisk.cs.ualberta.ca (Gerald Oskoboiny) writes:
|> datpete@daimi.aau.dk (Peter Andersen) writes:
|>
|> :
|> >The idea should be to make a kill-file for autoselecting the articles,
|> >and then have a cron job preiodically start nn and then read and store
|> >the selected articles on files (probably involving some macros in the init
|> >file).
|> :
|> >Does anyone know if this is possible?
|>
|> I've been doing this for a while, with pretty good results. (Except
|> for lately, because nn has been dumping core on me. But it happens
|> for interactive sessions as well...)
|>
|>[instructions to get groups via nnbatch deleted]
We have installed nn Release 6.5.0 here.
When I tried to read news in batch-mode, the following problem occured
(<group> stands for the name of a news-group, <init-file> for the name of a init-file):
- the articles in the group <group> I wrote to ~/collected with the command
/usr/local/bin/nnbatch -I<init-file> <group> 2>&1 > /dev/null
are *not* marked as read.
The articles are saved in ~/collected, but nnbatch terminates with
"Attempt to read keyboard input in batch mode" and that's it. Is it possible that
nnbatch hasn't updated the .newsrc-file?
The <init-file> looks like this:
set flow-control false
unset embedded-header-escape
on entry <group>
'=' "^" 'S' "~/collected/$N" '+'
end
sequence
<group>
The next time I'm starting nn with the above nnbatch-command, I receive a core-dump.
Nevertheless, when I have deleted/moved the files in ~/collected away before,
nnbatch does the job fine again.
So, can somebody help me in answering the question why the saved articels are
not marked as read? I do not want to have all available articles saved each time
I'm starting nnbatch. In my opinion it should be possible to use "nncheck <group>"
to find out if new articles are available in <group>, and if that's the case, then
I would start nnbatch to get the new, unread articles of <group>.
I have tried to circumvent the problem in explicitly marking
all articles as read (by using 'J' 'Y' in select-mode) in <group>,
but it has not worked, either.
Other questions I have are:
- what is the difference between using keys in single-quotes
and double-quotes in the init-file?
- is there a difference between writing
'x' 'y'
and
'x'
'y'
in the init-file?
Any help would be greatly appreciated.
Frank
--------------------------------+-------------------------------------------
Frank Lonczewski | E-mail: lonczews@informatik.tu-muenchen.de
Institute of Computer Science |
Munich University of Technology |
80290 Munich | phone: (+49 | 0) 89 2105 2035
Germany | fax: (+49 | 0) 89 2105 8180
--------------------------------+-------------------------------------------
Technical Details
Message-ID:
<36f17n$sg7@hpsystem1.informatik.tu-muenchen.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!bga.com!news.sprintlink.net!howland.reston.ans.net!gatech!newsxfer.itd.umich.edu!jobone!heifetz.msen.com!zib-berlin.de!informatik.tu-muenchen.de!hpeick8.informatik.tu-muenchen.de!lonczewsReferences:
<35jis6$je0@belfort.daimi.aau.dk> <35vbaf$ekk@scapa.cs.ualberta.ca>Show Full Headers
Complete Article Headers
Message-ID: <36f17n$sg7@hpsystem1.informatik.tu-muenchen.de> Subject: Re: nn batch reading? Date: Thu, 29 Sep 1994 18:32:23 +0000 From: lonczews@hpeick8.informatik.tu-muenchen.de (FraLo) References: <35jis6$je0@belfort.daimi.aau.dk> <35vbaf$ekk@scapa.cs.ualberta.ca> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!bga.com!news.sprintlink.net!howland.reston.ans.net!gatech!newsxfer.itd.umich.edu!jobone!heifetz.msen.com!zib-berlin.de!informatik.tu-muenchen.de!hpeick8.informatik.tu-muenchen.de!lonczews Newsgroups: news.software.nn Organization: Technische Universitaet Muenchen, Germany Lines: 84 Distribution: world NNTP-Posting-Host: hpeick8.informatik.tu-muenchen.de