summaryrefslogtreecommitdiff
path: root/docs/smbdotconf/misc/messagecommand.xml
diff options
context:
space:
mode:
authorJohn Terpstra <jht@samba.org>2005-08-25 16:49:40 +0000
committerGerald W. Carter <jerry@samba.org>2008-04-23 08:47:06 -0500
commit6c2e58987bcb3b5fe527f7f6743c549ed6c0c877 (patch)
tree700bab687907526be31f9dcadc1e826845562a7b /docs/smbdotconf/misc/messagecommand.xml
parentcf596ff9a0e5e191cfdc5f219e57844ad35ba7a2 (diff)
downloadsamba-6c2e58987bcb3b5fe527f7f6743c549ed6c0c877.tar.gz
samba-6c2e58987bcb3b5fe527f7f6743c549ed6c0c877.tar.bz2
samba-6c2e58987bcb3b5fe527f7f6743c549ed6c0c877.zip
Formatting and other fixes to man pages.
(This used to be commit 411025ed0d6ba37ff00f4afc8ccdc9dae94b62e0)
Diffstat (limited to 'docs/smbdotconf/misc/messagecommand.xml')
-rw-r--r--docs/smbdotconf/misc/messagecommand.xml27
1 files changed, 17 insertions, 10 deletions
diff --git a/docs/smbdotconf/misc/messagecommand.xml b/docs/smbdotconf/misc/messagecommand.xml
index 117600cf1d..91df58ab5d 100644
--- a/docs/smbdotconf/misc/messagecommand.xml
+++ b/docs/smbdotconf/misc/messagecommand.xml
@@ -11,9 +11,10 @@
deliver the message somehow. How this is to be done is
up to your imagination.</para>
- <para>An example is:</para>
-
- <para><command moreinfo="none">message command = csh -c 'xedit %s;rm %s' &amp;</command>
+ <para>An example is:
+<programlisting>
+<command moreinfo="none">message command = csh -c 'xedit %s;rm %s' &amp;</command>
+</programlisting>
</para>
<para>This delivers the message using <command moreinfo="none">xedit</command>, then
@@ -52,10 +53,12 @@
takes your fancy. Please let us know of any really interesting
ideas you have.</para>
- <para>Here's a way of sending the messages as mail to root:</para>
-
- <para><command moreinfo="none">message command = /bin/mail -s 'message from %f on
- %m' root &lt; %s; rm %s</command></para>
+ <para>
+ Here's a way of sending the messages as mail to root:
+<programlisting>
+<command moreinfo="none">message command = /bin/mail -s 'message from %f on %m' root &lt; %s; rm %s</command>
+</programlisting>
+ </para>
<para>If you don't have a message command then the message
won't be delivered and Samba will tell the sender there was
@@ -63,9 +66,13 @@
and carries on regardless, saying that the message was delivered.
</para>
- <para>If you want to silently delete it then try:</para>
-
- <para><command moreinfo="none">message command = rm %s</command></para>
+ <para>
+ If you want to silently delete it then try:
+<programlisting>
+<command moreinfo="none">message command = rm %s</command>
+</programlisting>
+ </para>
+
</description>
<value type="default"></value>
<value type="example">csh -c 'xedit %s; rm %s' &amp;</value>