🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
15 messages
15 total messages Started by greymaus Fri, 29 Oct 2004 19:22
SLRN pipe
#157644
Author: greymaus
Date: Fri, 29 Oct 2004 19:22
6 lines
848 bytes
Anyone got an sample of using the 'pipe' in SLRN?

-- 
greymaus
97.025% of statistics are wrong
Re: SLRN pipe
#157637
Author: DC
Date: Fri, 29 Oct 2004 20:23
10 lines
1366 bytes
greymaus@yahoo.com wrote:

> Anyone got an sample of using the 'pipe' in SLRN?

| gvim -

-- 
DC                                 Linux RU #1000111011000111001

Health is merely the slowest possible rate at which one can die.
Re: SLRN pipe
#157645
Author: Blinky the Shark
Date: Fri, 29 Oct 2004 23:48
14 lines
1256 bytes
DC wrote:

> greymaus@yahoo.com wrote:

>> Anyone got an sample of using the 'pipe' in SLRN?

>| gvim -

So gvim opens.  Now what?  :)

-- 
Blinky                          Linux Registered User 297263

Go Blue
Re: SLRN pipe
#157648
Author: DC
Date: Sat, 30 Oct 2004 00:15
22 lines
1658 bytes
Blinky the Shark wrote:
> DC wrote:

>> greymaus@yahoo.com wrote:

>>> Anyone got an sample of using the 'pipe' in SLRN?

>>| gvim -

> So gvim opens.  Now what?  :)

#v+
| gvim -
#v-

Did you enter the dash (stdout)?  It should launch gvim with the current
article as text.

-- 
DC                                 Linux RU #1000111011000111001

Health is merely the slowest possible rate at which one can die.
Re: SLRN pipe
#157657
Author: Blinky the Shark
Date: Sat, 30 Oct 2004 05:56
27 lines
1505 bytes
DC wrote:
> Blinky the Shark wrote:
>> DC wrote:

>>> greymaus@yahoo.com wrote:

>>>> Anyone got an sample of using the 'pipe' in SLRN?

>>>| gvim -

>> So gvim opens.  Now what?  :)

> #v+
> | gvim -
> #v-

> Did you enter the dash (stdout)?  It should launch gvim with the current
> article as text.

Yes.

Opened an empty buffer.

-- 
Blinky                          Linux Registered User 297263

Go Blue
Re: SLRN pipe
#157665
Author: DC
Date: Sat, 30 Oct 2004 14:42
39 lines
1950 bytes
Blinky the Shark wrote:
> DC wrote:
>> Blinky the Shark wrote:
>>> DC wrote:

>>>> greymaus@yahoo.com wrote:

>>>>> Anyone got an sample of using the 'pipe' in SLRN?

>>>>| gvim -

>>> So gvim opens.  Now what?  :)

>> #v+
>> | gvim -
>> #v-

>> Did you enter the dash (stdout)?  It should launch gvim with the current
>> article as text.


I think I meant "stdin".  Oop.


> Yes.

> Opened an empty buffer.


Strange, works here.

See this:  http://tinyurl.com/4t4y4

I didn't do anything special to make this work, AFAIK.

-- 
DC                                 Linux RU #1000111011000111001

Health is merely the slowest possible rate at which one can die.
Re: SLRN pipe
#157680
Author: greymaus
Date: Sat, 30 Oct 2004 20:21
32 lines
1611 bytes
On 30 Oct 2004 14:42:09 GMT, DC  wrote:
>
>>> #v+
>>> | gvim -
>>> #v-
>
>>> Did you enter the dash (stdout)?  It should launch gvim with the current
>>> article as text.
>
>
> I think I meant "stdin".  Oop.
>
>
>> Yes.
>
>> Opened an empty buffer.
>
>
> Strange, works here.
>
> See this:  http://tinyurl.com/4t4y4
>
> I didn't do anything special to make this work, AFAIK.
>

Thanks all for the info, this is a powerful, but hard-to-grasp issue.
Anyone else have problems with lynx with "^U", under fbdevice? (lynx
works OK in its own console?)

-- 
greymaus
97.025% of statistics are wrong
Re: SLRN pipe
#158039
Author: Bill Marcum
Date: Mon, 08 Nov 2004 17:47
17 lines
1705 bytes
On 29 Oct 2004 19:22:50 GMT, greymaus@yahoo.com 
  <greymaus@yahoo.com> wrote:
>
> Anyone got an sample of using the 'pipe' in SLRN?
>
| rot13

"Ubj pna 59,054,087 crbcyr or fb qhzo?" Naq gung'f gur urnqyvar va
Oevgnva, bhe pybfrfg nyyl. Ohg urer va Nzrevpn, nf ybat nf lbh-xabj-jub
vf cerfvqrag, jr qba'g tvir n $%&# jung gur erfg bs gur jbeyq guvaxf.

(Okay, that was silly, because slrn has built-in rot13 decoding)

-- 
"How can 59,054,087 people be so dumb?" And that's the headline in
Britain, our closest ally. But here in America, as long as you-know-who
is president, we don't give a $%&# what the rest of the world thinks.
Re: SLRN pipe
#158045
Author: Whiskers
Date: Mon, 08 Nov 2004 19:50
24 lines
1919 bytes
On 2004-11-08, Bill Marcum <bmarcum@iglou.com.urgent> wrote:
> On 29 Oct 2004 19:22:50 GMT, greymaus@yahoo.com 
>   <greymaus@yahoo.com> wrote:
>>
>> Anyone got an sample of using the 'pipe' in SLRN?
>>
>| rot13
>
> "Ubj pna 59,054,087 crbcyr or fb qhzo?" Naq gung'f gur urnqyvar va
> Oevgnva, bhe pybfrfg nyyl. Ohg urer va Nzrevpn, nf ybat nf lbh-xabj-jub
> vf cerfvqrag, jr qba'g tvir n $%&# jung gur erfg bs gur jbeyq guvaxf.
>
> (Okay, that was silly, because slrn has built-in rot13 decoding)

    | cat >> ~/tmp/article

saves the current article (including full headers) as the file specified
(replacing any previous  contents of that file).  One > instead of two
appends the article to the existing file.  

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: SLRN pipe
#158046
Author: Black Dragon
Date: Mon, 08 Nov 2004 21:32
23 lines
1570 bytes
Whiskers wrote:

>     | cat >> ~/tmp/article

> saves the current article (including full headers) as the file specified
> (replacing any previous  contents of that file).  One > instead of two
> appends the article to the existing file.  

Heads Up...

You have that backwards.

One ">" will create a new file if one doesn't exist or overwrite an 
existing one.

Two ">>" will create a new file if one doesn't exist or append an existing 
one.

-- 
Black Dragon                                       /"\  ASCII ribbon campaign
                                                   \ /  against HTML mail and
Hell, rocket science isn't even rocket science.     X   postings.
A NASA Rocket Scientist; Undernet; circa 1996      / \
Re: SLRN pipe
#158052
Author: Whiskers
Date: Tue, 09 Nov 2004 00:04
25 lines
1829 bytes
On 2004-11-08, Black Dragon <bd@thedragons.lair> wrote:
> Whiskers wrote:
>
>>     | cat >> ~/tmp/article
>
>> saves the current article (including full headers) as the file specified
>> (replacing any previous  contents of that file).  One > instead of two
>> appends the article to the existing file.  
>
> Heads Up...
>
> You have that backwards.
>
> One ">" will create a new file if one doesn't exist or overwrite an 
> existing one.
>
> Two ">>" will create a new file if one doesn't exist or append an existing 
> one.

ummm ... well spotted  ;))  I often get those confused.

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: SLRN pipe
#158087
Author: Black Dragon
Date: Tue, 09 Nov 2004 17:57
32 lines
2007 bytes
Whiskers wrote:

> On 2004-11-08, Black Dragon <bd@thedragons.lair> wrote:
>> Whiskers wrote:

>>>     | cat >> ~/tmp/article

>>> saves the current article (including full headers) as the file specified
>>> (replacing any previous  contents of that file).  One > instead of two
>>> appends the article to the existing file.  

>> Heads Up...

>> You have that backwards.

>> One ">" will create a new file if one doesn't exist or overwrite an 
>> existing one.

>> Two ">>" will create a new file if one doesn't exist or append an existing 
>> one.

> ummm ... well spotted  ;))  I often get those confused.

Inadvertently clobber a few files you wanted to keep with the wrong
symbol, and the confusion will eventually go away. Been there, done
that. :-)

-- 
Black Dragon                                       /"\  ASCII ribbon campaign
                                                   \ /  against HTML mail and
Hell, rocket science isn't even rocket science.     X   postings.
A NASA Rocket Scientist; Undernet; circa 1996      / \
Re: SLRN pipe
#158091
Author: Whiskers
Date: Tue, 09 Nov 2004 20:09
35 lines
2305 bytes
On 2004-11-09, Black Dragon <bd@thedragons.lair> wrote:
> Whiskers wrote:
>
>> On 2004-11-08, Black Dragon <bd@thedragons.lair> wrote:
>>> Whiskers wrote:
>
>>>>     | cat >> ~/tmp/article
>
>>>> saves the current article (including full headers) as the file specified
>>>> (replacing any previous  contents of that file).  One > instead of two
>>>> appends the article to the existing file.  
>
>>> Heads Up...
>
>>> You have that backwards.
>
>>> One ">" will create a new file if one doesn't exist or overwrite an 
>>> existing one.
>
>>> Two ">>" will create a new file if one doesn't exist or append an existing 
>>> one.
>
>> ummm ... well spotted  ;))  I often get those confused.
>
> Inadvertently clobber a few files you wanted to keep with the wrong
> symbol, and the confusion will eventually go away. Been there, done
> that. :-)

I always do a trial run before using any command for real - and tricky ones 
get put into scripts or batch-files if I need them often.

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: SLRN pipe
#158305
Author: Bill Marcum
Date: Sun, 14 Nov 2004 23:03
18 lines
1779 bytes
On Tue, 9 Nov 2004 00:04:14 +0000, Whiskers 
  <catwheezel@operamail.com> wrote:
> On 2004-11-08, Black Dragon <bd@thedragons.lair> wrote:
>> Whiskers wrote:
>>
>>>     | cat >> ~/tmp/article
>>
>>> saves the current article (including full headers) as the file specified
>>> (replacing any previous  contents of that file).  One > instead of two
>>> appends the article to the existing file.  
>>
"o" will do the same thing, but it defaults to the filename 
News/Name.of.newsgroup


-- 
"At a scheduled time, the robot would pull the flush lever and scream as 
it got sucked down the drain." --Kibo
Re: SLRN pipe
#158309
Author: Whiskers
Date: Sun, 14 Nov 2004 23:45
21 lines
1909 bytes
On 2004-11-14, Bill Marcum <bmarcum@iglou.com.urgent> wrote:
> On Tue, 9 Nov 2004 00:04:14 +0000, Whiskers 
>   <catwheezel@operamail.com> wrote:
>> On 2004-11-08, Black Dragon <bd@thedragons.lair> wrote:
>>> Whiskers wrote:
>>>
>>>>     | cat >> ~/tmp/article
>>>
>>>> saves the current article (including full headers) as the file specified
>>>> (replacing any previous  contents of that file).  One > instead of two
>>>> appends the article to the existing file.  
>>>
> "o" will do the same thing, but it defaults to the filename 
> News/Name.of.newsgroup

Slrn is just too clever  ;))

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
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