Re: Are there any 'hooks' in the pager, or can one replace it?
Chris Green <[email protected]> Tue, 24 Jun 2014 12:25:13 +0100
| Newsgroups | gmane.network.tin.user |
|---|---|
| Message-ID | <20140624112513.GA24786@chris> |
On Tue, Jun 24, 2014 at 01:21:12PM +0200, Urs Jan=DFen wrote:
> On Tue, Jun 24, 2014 at 11:09:51AM +0100, Chris Green wrote:
> > > of course you could manually pipe the (raw) article through any com=
mand, but
> > > that is not realy an option if it should be done for more than a fe=
w
> > > articles...
> > >=20
> > 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
>=20
> 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 don=
e
> (in this case you quit less) you'll be back in tin.
>=20
> 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.
>=20
Thanks Urs, that's all helpful, if I can view these OK (even manually)
then, if I decide to reply, it is easy enough to apply a filter to my
edit command to convert the quotes before feeding into my editor to
reply.
--=20
Chris Green