X-Git-Url: https://git.deb.at/w?a=blobdiff_plain;f=contrib%2Ft-prot.sl;h=422b554a8f7ef1c57e1904139533b128d37bc7cc;hb=d291c240515f15a9bb267aa00a60cd4b6e2a4634;hp=80ba4429cac114da6450af2c926b3efb0a377b0a;hpb=ec2a805cf8dbfde9f1223a9a60eaf1bf4653d6e7;p=pkg%2Ft-prot.git diff --git a/contrib/t-prot.sl b/contrib/t-prot.sl index 80ba442..422b554 100644 --- a/contrib/t-prot.sl +++ b/contrib/t-prot.sl @@ -1,5 +1,5 @@ -% $Id: t-prot.sl,v 1.14 2005/03/31 19:39:08 jochen Exp $ -% Copyright (c) 2003 Jochen Striepe +% $Id: t-prot.sl,v 1.18 2010/02/19 16:21:14 jochen Exp $ +% Copyright (c) 2003-2005 Jochen Striepe % % This file is provided as an example implemention for articles to be % filtered through t-prot before displayed. They are still filtered if @@ -12,7 +12,7 @@ % % If you are not happy with the suggested t-prot default parameters, % put something like -% variable t_prot_params = "-cemtS"; +% variable t_prot_params = "-c -emtS"; % variable t_prot_tmpdir = "$HOME/.tmpdir"; % variable t_prot_qp = ""; % into ~/.slrn/t-prot-cfg and add @@ -41,8 +41,9 @@ % OpenBSD or Debian Linux system -- you can get the sources there % if your system happens to lack this program. This macro has been % tested with slrn-0.9.7.4 to slrn-0.9.8.0 and S-Lang v1.4.5, it might -% fail with other versions. As always, bug reports, patches (preferrably -% in unified diff format), comments and suggestions are welcome. +% fail with other versions (and will definitely fail with S-Lang v2.x). +% As always, bug reports, patches (preferrably in unified diff format), +% comments and suggestions are welcome. % % License: This file is part of the t-prot package and therefore % available under the same conditions. See t-prot's man page for @@ -50,8 +51,8 @@ % these should be reasonable defaults (they work fine for me, SCNR): -variable t_prot_params = "-aceklmtS --diff --bigq -L$HOME/.slrn/mlfooters -A$HOME/.slrn/adfooters"; -variable t_prot_tmpdir = "$HOME/tmp/slrn"; +variable t_prot_params = "-aeklmtc -S --diff --bigq -L$HOME/.slrn/mlfooters -A$HOME/.slrn/adfooters"; +variable t_prot_tmpdir = "$HOME/tmp/slrn"; % you better make sure it exists variable t_prot_qp = "perl -i -p -e '$p=1 if /^Content-Transfer-Encoding: quoted-printable/i; if ($p==1) { s/=([0-9a-f][0-9a-f])/chr(hex($1))/egi; s/=\n//eg; };'"; define t_prot () {