Thread View: news.software.readers
8 messages
8 total messages
Started by Graeme Rae
Thu, 06 Feb 1997 00:00
Command line posting in ANY newsreader
Author: Graeme Rae
Date: Thu, 06 Feb 1997 00:00
Date: Thu, 06 Feb 1997 00:00
36 lines
1627 bytes
1627 bytes
Is there any UNIX newsreader out there that will let me post an article NON-interactively: i.e. something like: [prompt]%<newsreader command> <newsgroup> <file> ie say I want to post the file newsarticle.txt to alt.test using the hypothetical newsreader foonews I would type %foonews alt.test newsarticle.txt or even %foonews alt.text <newsarticle.txt I've looked at a lot of FAQs, manual pages etc, but nothing seems appropriate. I'm pretty competent with shell scripting so I could write something to set up the correct headers for the files if that is necessary Im using a SUN SPARC with Solaris2.4 Thanks! -- graeme@marine.fit.edu (Dr. Graeme Rae), Division of Marine & Environmental Systems, Florida Institute of Technology, (407) 768-8000 x 7244. http://www.fit.edu/dmes/people/rae.html "May your joys be as deep as the ocean, and your troubles as light as its foam."
Re: Command line posting in ANY newsreader
Author: Kim DeVaughn
Date: Thu, 06 Feb 1997 00:00
Date: Thu, 06 Feb 1997 00:00
21 lines
1353 bytes
1353 bytes
In article <32FA27E5.74D9@marine.fit.edu>, Graeme Rae <graeme@marine.fit.edu> wrote: | | Is there any UNIX newsreader out there that will let me post an | article NON-interactively: i.e. something like: | | [prompt]%<newsreader command> <newsgroup> <file> | I've looked at a lot of FAQs, manual pages etc, but nothing seems | appropriate. I'm pretty competent with shell scripting so I could | write something to set up the correct headers for the files if that | is necessary If posting is all you're looking for, you should be able to easily adapt Pnews (part of the trn distribution) to do that (and bypass the interactive stuff). /kim
Re: Command line posting in ANY newsreader
Author: bill davidsen
Date: Fri, 07 Feb 1997 00:00
Date: Fri, 07 Feb 1997 00:00
25 lines
1545 bytes
1545 bytes
In article <32FA27E5.74D9@marine.fit.edu>, Graeme Rae <graeme@marine.fit.edu> wrote: | Is there any UNIX newsreader out there that will let me post an | article NON-interactively: i.e. something like: The easy way is to drop it into Pnews, the news poster for trn. You can also grab the mail to news gateway software and "post" with mail software, or build a complete article and drop it into rnews. This last requires a _very_ complete posting, the other will fill in most of the blanks. You can also open a socket to an NNTP server and use the POST command, the program to do so is releatively simple, or use expect to run a telnet to the nntp port. There, more solutions than you needed, what? -- bill davidsen (davidsen@tmr.com) Company policy prevents me from commenting on the performance of this distributed database. However, the machines on which it runs are called bottleneck and roadblock.
Re: Command line posting in ANY newsreader
Author: Bert Hyman
Date: Fri, 07 Feb 1997 00:00
Date: Fri, 07 Feb 1997 00:00
23 lines
1472 bytes
1472 bytes
In article <5ddqv2$917@nntp1.ba.best.com>, Kim DeVaughn <kimdv@best.com> wrote: >In article <32FA27E5.74D9@marine.fit.edu>, > Graeme Rae <graeme@marine.fit.edu> wrote: >| >| Is there any UNIX newsreader out there that will let me post an >| article NON-interactively: i.e. something like: >| >| [prompt]%<newsreader command> <newsgroup> <file> >If posting is all you're looking for, you should be able to easily >adapt Pnews (part of the trn distribution) to do that (and bypass >the interactive stuff). Pnews (at least the Pnews that came with trn 3.6) requires inews to do the actual post, and if you've got inews, you don't need to adapt Pnews. -- The opinions expressed in this message are my own and are not the opinions of anyone who does not hold those opinions. Bert Hyman | St. Paul, MN | bert@wavefront.com
Re: Command line posting in ANY newsreader
Author: Ron Hopkins-Lutz
Date: Fri, 07 Feb 1997 00:00
Date: Fri, 07 Feb 1997 00:00
41 lines
1975 bytes
1975 bytes
In article <5ddqv2$917@nntp1.ba.best.com>, kimdv@best.com (Kim DeVaughn) wrote: <In article <32FA27E5.74D9@marine.fit.edu>, < Graeme Rae <graeme@marine.fit.edu> wrote: <| <| Is there any UNIX newsreader out there that will let me post an <| article NON-interactively: i.e. something like: <| <| [prompt]%<newsreader command> <newsgroup> <file> < <| I've looked at a lot of FAQs, manual pages etc, but nothing seems <| appropriate. I'm pretty competent with shell scripting so I could <| write something to set up the correct headers for the files if that <| is necessary < <If posting is all you're looking for, you should be able to easily <adapt Pnews (part of the trn distribution) to do that (and bypass <the interactive stuff). < </kim You can always just post by email too. The formula is: newsgroup.name@news.server.name in the To: line of your email program For example, I use Sprynet (news.sprynet.com) so I can post to this group (news.software.readers) by using: news.software.readers@news.sprynet.com If your news server doesn't take the post try using pubnews.demon.co.uk as they will take posts from anyone and carry about 23,000 groups. ===== Ron Hopkins-Lutz = ronhl@juno.com It's one of mobile computing's dirty little secrets--PC Cards suck battery power like something out of "Aliens." - PC Computing Nov 96
Re: Command line posting in ANY newsreader
Author: Ron Newman
Date: Sat, 08 Feb 1997 00:00
Date: Sat, 08 Feb 1997 00:00
36 lines
1847 bytes
1847 bytes
In article <5ddqv2$917@nntp1.ba.best.com>, kimdv@best.com (Kim DeVaughn) wrote:
> | Is there any UNIX newsreader out there that will let me post an
> | article NON-interactively: i.e. something like:
> |
> | [prompt]%<newsreader command> <newsgroup> <file>
>
> | I've looked at a lot of FAQs, manual pages etc, but nothing seems
> | appropriate. I'm pretty competent with shell scripting so I could
> | write something to set up the correct headers for the files if that
> | is necessary
>
> If posting is all you're looking for, you should be able to easily
> adapt Pnews (part of the trn distribution) to do that (and bypass
> the interactive stuff).
The command "inews -h file" will non-interactively post the contents
of "file" to your NNTP server. The article must contain
properly-formatted headers, including at the very least "Newsgroups:" and
"Subject:" , with
a blank line separating the headers from the body text.
It is possible (in fact, likely) that "inews" is not in your standard
path. If so, you need to do this:
grep inews `which Pnews`
to find the full pathname for the inews executable.
--
Ron Newman rnewman@cybercom.net
Web: http://www.cybercom.net/~rnewman/home.html
Re: Command line posting in ANY newsreader
Author: Ron Hopkins-Lutz
Date: Mon, 10 Feb 1997 00:00
Date: Mon, 10 Feb 1997 00:00
22 lines
1412 bytes
1412 bytes
In article <e5c6po.3yq@bigred.inka.de>, Olaf Titz <olaf@bigred.inka.de> wrote: <Ron Hopkins-Lutz <ronhl@juno.com> wrote: <> You can always just post by email too. The formula is: <> newsgroup.name@news.server.name <> in the To: line of your email program < <Wrong. The news server needs a special setup to do this. There are a <number of servers which have this setup, but it is anything but a <standard feature. < <olaf pubnews.demon.co.uk is a public server running 15,000+ groups, and they will accept this fomula. In fact you don't ever have to even signed on. ===== Ron Hopkins-Lutz = ronhl@juno.com It's one of mobile computing's dirty little secrets--PC Cards suck battery power like something out of "Aliens." - PC Computing Nov 96
Re: Command line posting in ANY newsreader
Author: Harrison Bergeron
Date: Thu, 20 Feb 1997 00:00
Date: Thu, 20 Feb 1997 00:00
19 lines
1234 bytes
1234 bytes
Olaf Titz olaf@bigred.inka.de noted notably: >Graeme Rae <graeme@marine.fit.edu> wrote: >> Is there any UNIX newsreader out there that will let me post an >> article NON-interactively: i.e. something like: >> [prompt]%<newsreader command> <newsgroup> <file> > >The "inews" command does this. It is available at least on any machine >that runs trn (look in the Pnews script for the correct path) and on How about telnet? That's pretty universally available. run telnet from a script and cat the headers and the file. -- davids@davids.psyberlink.net
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