path: root/doc
authorSergey Poznyakoff <>2009-10-13 22:00:34 (GMT)
committer Sergey Poznyakoff <>2009-10-13 22:02:52 (GMT)
commit9dbe6b40d07df41255f0c8fda6895000b7c7e1a6 (patch) (side-by-side diff)
tree7a8cca3e9852fbde894710c4f1904ef833789865 /doc
parenta37103f89c20e6b30d1f739233be006dcff340ee (diff)
Minor changes.
* doc/ (check-sub-config): Silent the rule. * doc/pies.texi: Update. * src/progman.c (default_termination_message): Use ${termination} (notify): Fix wording in ${termination}.
Diffstat (limited to 'doc') (more/less context) (ignore whitespace changes)
2 files changed, 19 insertions, 3 deletions
diff --git a/doc/ b/doc/
index d7d69d1..fec8df3 100644
--- a/doc/
+++ b/doc/
@@ -54,7 +54,7 @@ check-config:
- sed -n '/pies_keywords\[\] *= *{/,/^}/{p}' ../src/pies.c|tr '\n{' ' \n'|sed -n '/grecs_type_section/s/"\([^"]*\)".*grecs_type_section,[^,]*,[^,]*,[^,]*,[^,]*, *\(.*\) *}.*/\1 \2/p' | \
+ @sed -n '/pies_keywords\[\] *= *{/,/^}/{p}' ../src/pies.c|tr '\n{' ' \n'|sed -n '/grecs_type_section/s/"\([^"]*\)".*grecs_type_section,[^,]*,[^,]*,[^,]*,[^,]*, *\(.*\) *}.*/\1 \2/p' | \
while read ident kw; do \ "$$ident configuration statements" \
"/$$kw"'\[\] *= *{/,/^}/s/[ \t]*{ *"\([^,"]*\)".*/\1/pg' \
diff --git a/doc/pies.texi b/doc/pies.texi
index 3f9ec4b..e1ca650 100644
--- a/doc/pies.texi
+++ b/doc/pies.texi
@@ -831,16 +831,32 @@ The following macro-variables are expanded within @var{string}:
@item package @tab Package name (@samp{Pies}).
@item version @tab Package version (@value{VERSION}).
@item component @tab Name of the terminated component.
-@item retcode @tab Component exit code, in decimal.
+@item termination @tab Termination cause (see below).
+@item retcode @tab Component exit code (or signal number, if exited
+on signal), in decimal.
@end multitable
+The @samp{termination} variable is set so as to facilitate its use
+with the @samp{retcode} variable. Namely, its value is @samp{exited
+with}, if the component exited and @samp{terminated on signal}, if
+the component terminated on a signal. Thus, using
+$@{termination@} $@{retcode@}
+@end smallexample
+results in a correct English sentence. This message, however, cannot
+be properly internationalized. This will be fixed in the future
If @code{message} statement is not given, the following default
message is used instead:
From: <>
X-Agent: $@{canonical-program-name@} ($@{package@} $@{version@})
-Subject: Component $@{component@} terminated with code $@{retcode@}.
+Subject: Component $@{component@} $@{termination@} $@{retcode@}.
@end smallexample
@end deffn

Return to:

Send suggestions and report system problems to the System administrator.