aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2009-10-14 01:00:34 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2009-10-14 01:02:52 +0300
commit9dbe6b40d07df41255f0c8fda6895000b7c7e1a6 (patch)
tree7a8cca3e9852fbde894710c4f1904ef833789865 /doc
parenta37103f89c20e6b30d1f739233be006dcff340ee (diff)
downloadpies-9dbe6b40d07df41255f0c8fda6895000b7c7e1a6.tar.gz
pies-9dbe6b40d07df41255f0c8fda6895000b7c7e1a6.tar.bz2
Minor changes.
* doc/Makefile.am (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')
-rw-r--r--doc/Makefile.am2
-rw-r--r--doc/pies.texi20
2 files changed, 19 insertions, 3 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index d7d69d1..fec8df3 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -54,7 +54,7 @@ check-config:
$(info_TEXINFOS)
check-sub-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 \
check-docs.sh "$$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
+
+@smallexample
+$@{termination@} $@{retcode@}
+@end smallexample
+
+@noindent
+results in a correct English sentence. This message, however, cannot
+be properly internationalized. This will be fixed in the future
+versions.
+
If @code{message} statement is not given, the following default
message is used instead:
@smallexample
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.