๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #73824

Re: Adding new groups

#73824
From: Black Dragon
Date: Mon, 10 Jul 2006 11:10
49 lines
2742 bytes
John F. Morse wrote:

> F. Senault wrote:

>>Le 10 juillet 2006 ร  12:07, John F. Morse a รฉcrit :

>>>However, I am dumbfounded as to how to get the incoming data routed to a 
>>>file. I've tried a pipe ( list | somefile ) and a redirect ( list > 
>>>somefile ), but neither shell command works inside a telnet session.

>>>Surely there is a method to save a telnet session to a file.

>>Try script.

> Could you provide me some clue how to do this?

>  From within a telnet session, all I have at my disposal are the 
> commands the remote application understands.

script basically invokes another shell and logs everything on a terminal
/ console / remote shell to a text file. The logging ends when you exit
script.

To capture an active file;

#start script, output to active_file
script active_file

#get active file
telnet news.blah.blah nntp
authinfo user blah
authinfo pass blah
list active
quit

#exit script
exit

Open the file in a text editor and remove the header and footer added by
script, and you're on your way.

HTH

-- 
Black Dragon

"I've had one child.  My husband wants to have another.  I'd like to
watch him have another."
Technical Details
Message-ID: <slrneb4ddq.1l9s.bd@bdhi.local>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!atl-c08.usenetserver.com!news.usenetserver.com!pc02.usenetserver.com!fe52.usenetserver.com.POSTED!21bd460e!not-for-mail
References: <mqqrg.333436$Fs1.231735@bgtnsc05-news.ops.worldnet.att.net> <87ac7lgvlb.fsf@windlord.stanford.edu> <pjJrg.106021$mF2.8602@bgtnsc04-news.ops.worldnet.att.net> <e8ojtj$tb9$1@puck.litech.org> <CG6sg.110418$mF2.78339@bgtnsc04-news.ops.worldnet.att.net> <slrneb2cl8.m3h.bd@bdhi.local> <NFpsg.354922$Fs1.49980@bgtnsc05-news.ops.worldnet.att.net> <221y6fv8lphd$.dlg@tamnavulin.lacave.local> <IQpsg.354976$Fs1.174950@bgtnsc05-news.ops.worldnet.att.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrneb4ddq.1l9s.bd@bdhi.local>
Subject: Re: Adding new groups
Date: Mon, 10 Jul 2006 11:10:50 +0000
From: Black Dragon <bd@nomail.invalid>
References: <mqqrg.333436$Fs1.231735@bgtnsc05-news.ops.worldnet.att.net> <87ac7lgvlb.fsf@windlord.stanford.edu> <pjJrg.106021$mF2.8602@bgtnsc04-news.ops.worldnet.att.net> <e8ojtj$tb9$1@puck.litech.org> <CG6sg.110418$mF2.78339@bgtnsc04-news.ops.worldnet.att.net> <slrneb2cl8.m3h.bd@bdhi.local> <NFpsg.354922$Fs1.49980@bgtnsc05-news.ops.worldnet.att.net> <221y6fv8lphd$.dlg@tamnavulin.lacave.local> <IQpsg.354976$Fs1.174950@bgtnsc05-news.ops.worldnet.att.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!atl-c08.usenetserver.com!news.usenetserver.com!pc02.usenetserver.com!fe52.usenetserver.com.POSTED!21bd460e!not-for-mail
Newsgroups: news.software.nntp
Organization: Black Dragon Heavy Industries
Lines: 48
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-No-Archive: yes
User-Agent: slrn/0.9.8.1 (FreeBSD)
X-Complaints-To: abuse@usenetserver.com
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly.
NNTP-Posting-Date: Mon, 10 Jul 2006 07:20:01 EDT