🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by Jim Cooper Sun, 22 May 1994 23:52
Re: Newsgroup messages ->
#9143
Author: Jim Cooper
Date: Sun, 22 May 1994 23:52
13 lines
1051 bytes
k> Date: 21 May 1994 23:53:39 -0500
k> Message-ID: <2rmogj$slm@Venus.mcs.com>


k> Without arguments it will DELETE your mail from the system mailbox.  If you
k> then run it <again> it will do worse -- overwrite the original files, and
k> your mail is completely GONE!

Is there a way to recover the mail after the FIRST time?

---
 � SPEED 1.10      � 
   
Re: Newsgroup messages -> Offline reading
#9142
Author: Harold A. Driscoll
Date: Mon, 23 May 1994 02:11
38 lines
2842 bytes
In article <Cq8AAr.L61@ritz.mordor.com> w2jc@ritz.mordor.com (Jim Cooper) writes:

>k> Date: 21 May 1994 23:53:39 -0500
>k> Message-ID: <2rmogj$slm@Venus.mcs.com>

>k> Without arguments it will DELETE your mail from the system mailbox.  If you
>k> then run it <again> it will do worse -- overwrite the original files, and
>k> your mail is completely GONE!

>Is there a way to recover the mail after the FIRST time?

Yes, but.

The default behavior of uqwk is to read and delete your email from the system 
mailbox.  Your system administrator can certainly change this, if they so 
desire, by setting environment variables, although I doubt that many do.

When it does this (+m mode, read mail) for QWK format (the default), it 
creates the files which are part of the QWK file; you have to ZIP it yourself. 
The files it creates are: MESSAGES.DAT, CONTROL.DAT, and PERSONAL.NDX. If you 
use the utility zip (with the -k option) to create the QWK file, you should be 
okay.  For example:    
  zip -k bbsname.qwk messages.dat control.dat  personal.ndx /somewhere/door.id
where `bbsname'     is the BBS name being used, and
      `/somewhere/' is the directory  where your system administrator put 
                    the `door.id' file.  (This is a constant file, which 
                    describes the capabilities of uqwk...you only need it 
                    if you are using an offline reader program which cares).

You can then download that file to your PC (eg via the unix sz program) and
run it through your QWK-compliant off-line mail reader.

With 20-20 hindsight, since uqwk is impractical to use without shell scripts 
which invoke it (and zip or unzip), it is unfortunate that the default 
behavior is not look-but-don't-touch.  Sigh.

/Harold           Harold A. Driscoll           #include <std/disclaimer>
Internet: driscoll@InterAccess.com  FidoNet: Harold Driscoll @ 1:115/622
Re: Newsgroup messages -> Offline reading
#9159
Author: Steven King, Software Archaeolog...
Date: Mon, 23 May 1994 15:48
35 lines
2618 bytes
driscoll@interaccess.com (Harold A. Driscoll) publicly declared:
>In article <Cq8AAr.L61@ritz.mordor.com> w2jc@ritz.mordor.com (Jim Cooper) writes:
>>Is there a way to recover the mail after the FIRST time?
>
>Yes, but.
>
>[snip]
>
>With 20-20 hindsight, since uqwk is impractical to use without shell scripts 
>which invoke it (and zip or unzip), it is unfortunate that the default 
>behavior is not look-but-don't-touch.  Sigh.

On my BBS I wrote the 'pack' and 'unpack' commands as an interface
to uqwk.  The 'pack' command copies /usr/spool/mail/<USER> and
$HOME/.newsrc to a backup directory before calling uqwk.  It also
performs some sanity checks to try to avoid users packing 10 Meg of news
when they don't mean to.  (For any newsgroups with more than 50 unread
articles the user is asked whether to pack them all, pack only the last
50, or pack none and perform a 'catch up' on the group.)  Another nicety
is that it estimates the download time and gives the user the option to
abort the download, or to delay downloading to a later time.

At any time before doing another 'pack' the user can type "pack restore"
and have the backup mail spool appended to /usr/spool/mail/<USER> and
have the .newsrc file copied back.

Perl code for these subroutines is available on request.  You won't be
able to run it directly (it relies on some other subroutines in the BBS)
but you should be able to glean the mechanism for your own purposes.
It's not that tough, really.

-- 
----------------------------------------------<Steven King, king@cig.mot.com>--
If all you do in life are important things, then you'll never have any
fun -- unless having fun is an important thing to you.
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