🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
7 messages
7 total messages Started by DC Mon, 16 Feb 2004 18:25
[slrn] pipe current article to text editor
#143661
Author: DC
Date: Mon, 16 Feb 2004 18:25
17 lines
1760 bytes
I obviously do not understand the usage of the pipe "|" command.

I wish to be able to send the current article to the text editor of my
choice, including full headers (the raw article data).  I have tried:

|, then, at the prompt, typed gvim (or kwrite)

This is clearly incorrect since the editor opens a new/blank document.

Can someone nudge me in the right direction, here?

Thanks.

-- 
DC                     Registered Linux User #1000111011000111001

Why I love Open Source: http://support.microsoft.com/?kbid=111601
Re: [slrn] pipe current article to text editor
#143665
Author: Florian Rehnisch
Date: Mon, 16 Feb 2004 19:07
11 lines
1758 bytes
o DC <dcmoose@myrealbox.com>:

> I wish to be able to send the current article to the text editor of my
> choice, including full headers (the raw article data).  I have tried:
> |, then, at the prompt, typed gvim (or kwrite)
> This is clearly incorrect since the editor opens a new/blank document.

Hmm, did you tell vim to read from stdin, i.e.
|gvim -
      ^
 flori, don't know slrn, but mutt has an 'edit raw message' ;-)
Re: [slrn] pipe current article to text editor
#143667
Author: DC
Date: Mon, 16 Feb 2004 19:18
19 lines
1931 bytes
Florian Rehnisch wrote:
> o DC <dcmoose@myrealbox.com>:

>> I wish to be able to send the current article to the text editor of my
>> choice, including full headers (the raw article data).  I have tried:
>> |, then, at the prompt, typed gvim (or kwrite)
>> This is clearly incorrect since the editor opens a new/blank document.

> Hmm, did you tell vim to read from stdin, i.e.
>|gvim -
>       ^
>  flori, don't know slrn, but mutt has an 'edit raw message' ;-)

Perfect!  Thanks!  }:O)

-- 
DC                     Registered Linux User #1000111011000111001

Why I love Open Source: http://support.microsoft.com/?kbid=111601
Re: [slrn] pipe current article to text editor
#143671
Author: Blinky the Shark
Date: Mon, 16 Feb 2004 20:36
33 lines
2132 bytes
DC wrote:
> Florian Rehnisch wrote:
>> o DC <dcmoose@myrealbox.com>:

>>> I wish to be able to send the current article to the text editor of my
>>> choice, including full headers (the raw article data).  I have tried:
>>> |, then, at the prompt, typed gvim (or kwrite)
>>> This is clearly incorrect since the editor opens a new/blank document.

>> Hmm, did you tell vim to read from stdin, i.e.

>>|gvim -
>>       ^
>>  flori, don't know slrn, but mutt has an 'edit raw message' ;-)

> Perfect!  Thanks!  }:O)

Bizarre!  When I do that with *vim*, it works...and that post's X-Face is
layed over the top of its headers and text.  And when I scroll around
the message in vim, the X-Face remains stationary with the post moving
behind it.

Bizarre2!  When I do that with *gvim*, as soon as I type the space after
the "m", "gvim" goes away and the input line reads:

/home/blinky/gvimrc

...so I *can't* enter "gvim -".

-- 
Blinky                                      Linux RU 4892F
http://linuxnotjustforgeeks.org
http://blinkynet.net
Re: [slrn] pipe current article to text editor
#143670
Author: Blinky the Shark
Date: Mon, 16 Feb 2004 20:47
26 lines
1864 bytes
Blinky the Shark wrote:

> DC wrote:

>> Florian Rehnisch wrote:

>>>|gvim -
>>>       ^

>> Perfect!  Thanks!  }:O)

> Bizarre!  When I do that with *vim*, it works...and that post's X-Face is
> layed over the top of its headers and text.  And when I scroll around
> the message in vim, the X-Face remains stationary with the post moving
> behind it.

http://blinkynet.net/screens/vimface.gif

Yeah, it's in the same position as with slrn, but I'm surprised it's
still there and I'm surprised it's stationary when the rest scrolls --
and that text scrolling "behind"/"through" it doesn't pooch it.

-- 
Blinky                                      Linux RU 4892F
http://linuxnotjustforgeeks.org
http://blinkynet.net
Re: [slrn] pipe current article to text editor
#143676
Author: DC
Date: Mon, 16 Feb 2004 21:19
44 lines
2728 bytes
Blinky the Shark wrote:
> DC wrote:
>> Florian Rehnisch wrote:
>>> o DC <dcmoose@myrealbox.com>:

>>>> I wish to be able to send the current article to the text editor of my
>>>> choice, including full headers (the raw article data).  I have tried:
>>>> |, then, at the prompt, typed gvim (or kwrite)
>>>> This is clearly incorrect since the editor opens a new/blank document.

>>> Hmm, did you tell vim to read from stdin, i.e.

>>>|gvim -
>>>       ^
>>>  flori, don't know slrn, but mutt has an 'edit raw message' ;-)

>> Perfect!  Thanks!  }:O)

> Bizarre!  When I do that with *vim*, it works...and that post's X-Face is
> layed over the top of its headers and text.  And when I scroll around
> the message in vim, the X-Face remains stationary with the post moving
> behind it.

Ditto.

> Bizarre2!  When I do that with *gvim*, as soon as I type the space after
> the "m", "gvim" goes away and the input line reads:

> /home/blinky/gvimrc

> ...so I *can't* enter "gvim -".

Hmmm.  I saw that mentioned while Googling...

<clickety>

Maybe a clue, here?  http://tinyurl.com/25dqu

I cannot replicate, so I can't test it.

-- 
DC                     Registered Linux User #1000111011000111001

Why I love Open Source: http://support.microsoft.com/?kbid=111601
Re: [slrn] pipe current article to text editor
#143684
Author: Blinky the Shark
Date: Mon, 16 Feb 2004 22:06
12 lines
1428 bytes
DC wrote:

> Maybe a clue, here?  http://tinyurl.com/25dqu

> I cannot replicate, so I can't test it.

Yeppers!  Thanks!  All better now.

-- 
Blinky                                      Linux RU 4892F
http://linuxnotjustforgeeks.org
http://blinkynet.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