From 09576fccf20b4cadba67a23352f0db8bde22c48b Mon Sep 17 00:00:00 2001 From: Gerfried Fuchs Date: Wed, 17 Feb 2010 20:36:33 +0100 Subject: [PATCH] Imported Upstream version 2.0.1 --- ChangeLog | 10 ++++++++++ t-prot.1 | 35 ++++++++++++++++++++++++++++++++--- 2 files changed, 42 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index d991c1d..7e1d102 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2005-06-29 12:45 Jochen Striepe + + * t-prot.1: Better formatting for "see also". + +2005-06-29 12:36 Jochen Striepe + + * t-prot.1: Add section about exit status. + + Update date string. + 2005-05-27 10:00 Jochen Striepe * t-prot: Re-release as v2.0. No code change since v1.104. diff --git a/t-prot.1 b/t-prot.1 index 00ee120..6848fa8 100644 --- a/t-prot.1 +++ b/t-prot.1 @@ -1,6 +1,6 @@ -.\" $Id: t-prot.1,v 1.115 2005/05/13 00:06:10 jochen Exp $ +.\" $Id: t-prot.1,v 1.117 2005/06/29 12:45:55 jochen Exp $ .\" -.TH T-PROT "1" "May 2005" "T-PROT" +.TH T-PROT "1" "June 2005" "T-PROT" .SH NAME t-prot \- TOFU Protection - Display Filter for RFC 2822 messages .SH SYNOPSIS @@ -432,6 +432,32 @@ and are read and respected when interpreting output by mutt or gnupg (unless they are overruled by the --locale option). T-prot's own output is English regardless of any locale setting. +.SH EXIT STATUS +On program exit, t-prot uses exit codes from +.I /usr/include/sysexits.h +and thus behaves in a manner that sendmail and others understand when +calling t-prot. +.sp +Currently, the codes used are +.RS 20 +.PD 0 +.TP +EX_OK +.TP +EX_USAGE +.TP +EX_DATAERR +.TP +EX_UNAVAILABLE +.TP +EX_SOFTWARE +.TP +EX_IOERR +.PD +.RE +.sp +If, however, perl fails to compile and execute t-prot, perl's normal +exit codes will be returned. .SH TOFU? TOFU is an abbreviation which mixes German and English words; it expands to "text oben, full-quote unten" which means @@ -602,9 +628,12 @@ See the TODO file for more information. and the part about "display_filter", .BR perl (1), .BR aliases (5), +.sp RFCs 2045-2049 and 2822, +.sp .I http://got.to/quote/ -(German language), +(German language), +.br .I http://www.river.com/users/share/etiquette/edit.html (the Learn To Edit Messages HowTo has found a new home). -- 2.39.2