X-Git-Url: https://git.deb.at/w?p=pkg%2Ft-prot.git;a=blobdiff_plain;f=contrib%2Ft-prot.sl;h=3548a9577c29a80e0d84acbda083189305889fa3;hp=80ba4429cac114da6450af2c926b3efb0a377b0a;hb=0c6efd1fd71a4e505073698b47307483af89f55e;hpb=ec2a805cf8dbfde9f1223a9a60eaf1bf4653d6e7 diff --git a/contrib/t-prot.sl b/contrib/t-prot.sl index 80ba442..3548a95 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.17 2006/05/16 11:33:32 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 @@ -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 @@ -51,7 +52,7 @@ % 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_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 () {