Re: Are there any 'hooks' in the pager, or can one replace it?
Urs Janßen <[email protected]> Tue, 24 Jun 2014 13:21:12 +0200
| Newsgroups | gmane.network.tin.user |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Jun 24, 2014 at 11:09:51AM +0100, Chris Green wrote:
> > of course you could manually pipe the (raw) article through any command, but
> > that is not realy an option if it should be done for more than a few
> > articles...
> >
> It's only for three newsgroups and only for occasional articles so a
> manual command would be better than nothing. If I use "pipe
> article/thread/hot/pattern/tagged articles into command" in tin and
> output the result to the window where tin is running will I then be
> able to return to tin afterwards? I'm often doing this via ssh so
sure, in the pager Pipe('|') will pipe the full RAW article to whatever you
give as command (i.e. "tr 'a-z' 'A-Z' | less"), once the command is done
(in this case you quit less) you'll be back in tin.
it's more likely that you want to use
PageViewAttach('V') AttachPipe('p') "tr 'a-z' 'A-Z' | less"
which will pipe the "current" mime part after decoding to whatever you give
as command.
urs
--
"Only whimps use tape backup: _real_ men just upload their important stuff
on ftp, and let the rest of the world mirror it ;)" - Linus