🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
1 messages
1 total messages Started by Han Robanus Thu, 09 Mar 1995 18:27
saving all news non-interactively to one file
#7286
Author: Han Robanus
Date: Thu, 09 Mar 1995 18:27
52 lines
2385 bytes
14 februari 1995 


Hello all, In december 1994 Michael van Eeden <mieg@xs4all.nl>, 
Systemaministrator of De Digitale Stad (The Digital City) in Holland, 
asked for an easy way in nn to save _all_ unread news to one file, in 
order to create a simple news- download facility.  Bill Wohler 
<wohler@newt.com> suggested nnbatch (?).  In the meantime I tried
to implement this in the following init-file. 

     # variable settings
     set tidy-newsrc
     set new-group-action 0
     set default-save-file ~/nieuws
     set quick-save
     unset confirm-create
     unset confirm-append
     unset confirm-auto-quit
     unset save-report
     sequence
     dds ~/nieuws (
     find "." 
     save-short
     ?menu '+'
     ?group continue
     break
     )
     news.software.nn (
     find "." 
     save-short
     ?menu '+'
     ?group continue
     break 
     )
     !!


This approach gives very disturbing results. Sometimes it works, but most 
of the time nn fails to redraw the screen or messes the screen up by 
writing half of the next screen (of the next newsgroup) without clearing 
the previous one. Then it stops, not reacting to any keystroke anymore.  
The only way out is logging off.  After logging in again however, it 
shows that nn - though not showing it on the screen - has continued to 
write new articles.  Once "macro stack overflow" was mentioned.  Maybe 
the trouble is in the nesting of macros? the next one is started while 
the previous one is still active.  Why doesn't this seemingly valid 
approach work?  And what/where is this nnbatch? 

Slightly desperate greetings, 

Han Robanus
     
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