Thread View: news.software.nn
5 messages
5 total messages
Started by Jeffery Small
Wed, 15 Nov 2000 00:00
Filtering messages
Author: Jeffery Small
Date: Wed, 15 Nov 2000 00:00
Date: Wed, 15 Nov 2000 00:00
16 lines
1241 bytes
1241 bytes
I asked this before long ago but didn't get any responses. I would like to be able to pipe a message out through an external filter program to perform various reformatting. (e.g., wrap long lines; remove HTML codes; replace other annoying encodings with the proper characters, etc.). As best as I can tell, there is no way to do this in nn. Am I missing something that currently allows this? If not, this would be an important feature to add to the next release. Regards, -- Jeff C. Jeffery Small Architect CJSA LLC (206) 232-3338 jeff@cjsa.com 7000 E Mercer Way, Mercer Island, WA 98040
Re: Filtering messages
Author: Cord Beermann
Date: Wed, 15 Nov 2000 00:00
Date: Wed, 15 Nov 2000 00:00
21 lines
1624 bytes
1624 bytes
In <G42to9.4p3@cjsa.com> jeff@cjsa.com (Jeffery Small) writes: >I asked this before long ago but didn't get any responses. I would like >to be able to pipe a message out through an external filter program to >perform various reformatting. (e.g., wrap long lines; remove HTML codes; >replace other annoying encodings with the proper characters, etc.). i simply add people who do this to the killfile. :-) > As >best as I can tell, there is no way to do this in nn. Am I missing >something that currently allows this? If not, this would be an important >feature to add to the next release. if you simply want to pipe the article into something you can use the print-command (variable 'printer shell-command'). but that is always a keypress away (if you configure a macro) Cord
Re: Filtering messages
Author: Jeffery Small
Date: Wed, 15 Nov 2000 00:00
Date: Wed, 15 Nov 2000 00:00
29 lines
1857 bytes
1857 bytes
Cord Beermann <cord@Wunder-Nett.org> writes: >In <G42to9.4p3@cjsa.com> jeff@cjsa.com (Jeffery Small) writes: >>I asked this before long ago but didn't get any responses. I would like to >>be able to pipe a message out through an external filter program to perform >>various reformatting. (e.g., wrap long lines; remove HTML codes; replace >>other annoying encodings with the proper characters, etc.). >i simply add people who do this to the killfile. :-) >> As best as I can tell, there is no way to do this in nn. Am I missing >>something that currently allows this? If not, this would be an important >>feature to add to the next release. >if you simply want to pipe the article into something you can use the >print-command (variable 'printer shell-command'). but that is always a >keypress away (if you configure a macro) Thanks for the suggestion. However, I need nn to pick up the output end of the pipe and redisplay the reformatted message as usual. Is there any facility within nn for that? -- Jeff C. Jeffery Small Architect CJSA LLC (206) 232-3338 jeff@cjsa.com 7000 E Mercer Way, Mercer Island, WA 98040
Re: Filtering messages
Author: Jeffery Small
Date: Thu, 16 Nov 2000 00:00
Date: Thu, 16 Nov 2000 00:00
33 lines
2206 bytes
2206 bytes
mtpins@visi.com (Michael T Pins) writes: >jeff@cjsa.com (Jeffery Small) writes: >>I asked this before long ago but didn't get any responses. I would like >>to be able to pipe a message out through an external filter program to >>perform various reformatting. (e.g., wrap long lines; remove HTML codes; >>replace other annoying encodings with the proper characters, etc.). As >>best as I can tell, there is no way to do this in nn. Am I missing >>something that currently allows this? If not, this would be an important >>feature to add to the next release. >In theory, the S, O, and W commands will do this (all take a pipe as well >as a file name). In practice, I don't know how well it would actually work >but it's worth a shot. I'm sorry that I didn't make my request clear enough. What I'm looking for is a way to manually send an article through an external filter program and then have NN pick up the stdout from the filter and redisplay the reformatted message in place of the original article. I think the existing commands like S, O or W will only sent the article to the pipe - but will not read back the results. I think adding a general filtering capability such as this would greatly increase NN's functionality by allowing external programs to expand the progams capabilities without having to alter the NN source code. -- Jeff C. Jeffery Small Architect CJSA LLC (206) 232-3338 jeff@cjsa.com 7000 E Mercer Way, Mercer Island, WA 98040
Re: Filtering messages
Author: Michael T Pins
Date: Thu, 16 Nov 2000 06:49
Date: Thu, 16 Nov 2000 06:49
20 lines
1821 bytes
1821 bytes
jeff@cjsa.com (Jeffery Small) writes: >I asked this before long ago but didn't get any responses. I would like >to be able to pipe a message out through an external filter program to >perform various reformatting. (e.g., wrap long lines; remove HTML codes; >replace other annoying encodings with the proper characters, etc.). As >best as I can tell, there is no way to do this in nn. Am I missing >something that currently allows this? If not, this would be an important >feature to add to the next release. In theory, the S, O, and W commands will do this (all take a pipe as well as a file name). In practice, I don't know how well it would actually work but it's worth a shot. -- ************************************************************************** * Michael T Pins | mtpins@visi.com * * keeper of the nn sources | mtpins@icaen.uiowa.edu * * ftp://ftp.visi.com/users/mtpins | #include <std.disclaimer> *
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