🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Jianhong Feng Sat, 21 May 1994 16:33
TIN: save files with shortened header ?
#9118
Author: Jianhong Feng
Date: Sat, 21 May 1994 16:33
14 lines
1276 bytes
I use TIN 1.2 PL2 to read newsgroups. To save multiple articles into a 
single file, I use "s" and "=FileName". The resulting file contains
then long headers with lots of "junk" entries (such as Path:,
X-Newsreaders:, NNTP-Posting-Host:, etc.).

Is it possible to save (several) article(s) into a single file
with shortened header (e.g. containing only Date/From/Subject/Newsgroups) ?

If that is not possible, is there any other news reader which can do
that ?

Thanks in advance.

J.Feng
Re: TIN: save files with shortened header ?
#9160
Author: Bruce Hauge
Date: Mon, 23 May 1994 16:23
42 lines
2652 bytes
Jianhong Feng (feng@blah.blah.edu) writes:

> I use TIN 1.2 PL2 to read newsgroups. To save multiple articles into a 
> single file, I use "s" and "=FileName". The resulting file contains
> then long headers with lots of "junk" entries (such as Path:,
> X-Newsreaders:, NNTP-Posting-Host:, etc.).

> Is it possible to save (several) article(s) into a single file
> with shortened header (e.g. containing only Date/From/Subject/Newsgroups) ?

Here is what I use, although I wish there was a way to specify which file and
directory to save it to:

In your ~/.tin/tinrc, edit the following line:

# print program with parameters used to print articles/threads
default_printer=tin_print

tin_print is actually a shell script which is invoked when you select "o"
(output) from TIN.  This is what is in tin_print:

#!/bin/ksh
# script to "o"utput from TIN to a file

cat $@ >> /tmp/tin_printfile
echo "==================================================================\
=============" >> /tmp/tin_printfile

This give you an output in the file /tmp/tin_printfile for each article 
separated by a dashed line. The nice thing about using the "o" option is
that it does the header stripping for you and only leaves From:, Subject:,
Newsgroups:, and Date:.

Bruce

   +------------------------------------------------------------------------+
   | Bruce Hauge                                                            | 
   | HEWLETT-PACKARD COMPANY                     EMAIL: bruceh@cv.hp.com    | 
   | Integrated Circuits Business Division       PHONE: (503) 715-2675      |
   | 1050 NE Circle Blvd., MS: 2U/HH32           FAX: (503) 715-2145        |
   | Corvallis, OR  97330                                                   |
   +------------------------------------------------------------------------+
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