The following commit has been merged in the master branch:
commit 7b048b50c74f94e5bff23a31393bfe5be63ec070
Author: Michal Čihař <[email protected]>
Date: Wed Oct 14 15:41:41 2009 +0200
Improve man page formatting.
diff --git a/admin/generate-man b/admin/generate-man
index 91b1315..edded71 100755
--- a/admin/generate-man
+++ b/admin/generate-man
@@ -115,36 +115,92 @@ gammurc(5) for more details about it.
.TP
Save text message up to standard 160 chars:
+.RS
+.sp
+.nf
+.ne 7
echo "All your base are belong to us" | gammu savesms TEXT
+.fi
+.sp
+.RE
+.PP
or
+.RS
+.sp
+.nf
+.ne 7
gammu savesms TEXT \\-text "All your base are belong to us"
+.fi
+.sp
+.RE
+.PP
.TP
Save long text message:
+.RS
+.sp
+.nf
+.ne 7
echo "All your base are belong to us" | gammu savesms TEXT \\-len 400
+.fi
+.sp
+.RE
+.PP
or
+.RS
+.sp
+.nf
+.ne 7
gammu savesms TEXT \\-len 400 \\-text "All your base are belong to us"
+.fi
+.sp
+.RE
+.PP
or
+.RS
+.sp
+.nf
+.ne 7
gammu savesms EMS \\-text "All your base are belong to us"
+.fi
+.sp
+.RE
+.PP
.TP
Save some funky message with predefined sound and animation from 2 bitmaps:
+.RS
+.sp
+.nf
+.ne 7
gammu savesms EMS \\-text "Greetings" \\-defsound 1 \\-text "from Gammu"
\\-tone10 axelf.txt \\-animation 2 file1.bmp file2.bmp
+.fi
+.sp
+.RE
+.PP
.TP
Save protected message with ringtone:
+.RS
+.sp
+.nf
+.ne 7
gammu savesms EMS \\-protected 2 \\-variablebitmaplong ala.bmp
\\-toneSElong axelf.txt \\-toneSE ring.txt
+.fi
+.sp
+.RE
+.PP
.SS Backups
@@ -212,10 +268,18 @@ operating system, it's version and phone information are
needed).
To generate debug log, enable it in gammurc (alternatively you can
do it on command line using \\-d textall \\-f /tmp/gammu.log):
- [gammu]
- ...your connection settings...
- logfile = /tmp/gammu.log
- logformat = textall
+.RS
+.sp
+.nf
+.ne 7
+[gammu]
+...your connection settings...
+logfile = /tmp/gammu.log
+logformat = textall
+.fi
+.sp
+.RE
+.PP
With this settings, Gammu generates /tmp/gammu.log on each connection to
phone and stores dump of communication there. You can also find some
diff --git a/docs/user/gammu-smsd-inject.1 b/docs/user/gammu-smsd-inject.1
index 36f8e74..23d64ad 100644
--- a/docs/user/gammu-smsd-inject.1
+++ b/docs/user/gammu-smsd-inject.1
@@ -43,36 +43,92 @@ gammu-smsdrc(5) for more details about it.
.TP
Inject text message up to standard 160 chars:
+.RS
+.sp
+.nf
+.ne 7
echo "All your base are belong to us" | gammu-smsd-inject TEXT 123456
+.fi
+.sp
+.RE
+.PP
or
+.RS
+.sp
+.nf
+.ne 7
gammu-smsd-inject TEXT 123456 \-text "All your base are belong to us"
+.fi
+.sp
+.RE
+.PP
.TP
Inject long text message:
+.RS
+.sp
+.nf
+.ne 7
echo "All your base are belong to us" | gammu-smsd-inject TEXT 123456 \-len 400
+.fi
+.sp
+.RE
+.PP
or
+.RS
+.sp
+.nf
+.ne 7
gammu-smsd-inject TEXT 123456 \-len 400 \-text "All your base are belong to us"
+.fi
+.sp
+.RE
+.PP
or
+.RS
+.sp
+.nf
+.ne 7
gammu-smsd-inject EMS 123456 \-text "All your base are belong to us"
+.fi
+.sp
+.RE
+.PP
.TP
Inject some funky message with predefined sound and animation from 2 bitmaps:
+.RS
+.sp
+.nf
+.ne 7
gammu-smsd-inject EMS 123456 \-text "Greetings" \-defsound 1 \-text "from
Gammu"
\-tone10 axelf.txt \-animation 2 file1.bmp file2.bmp
+.fi
+.sp
+.RE
+.PP
.TP
Inject protected message with ringtone:
+.RS
+.sp
+.nf
+.ne 7
gammu-smsd-inject EMS 123456 \-protected 2 \-variablebitmaplong ala.bmp
\-toneSElong axelf.txt \-toneSE ring.txt
+.fi
+.sp
+.RE
+.PP
.SH SEE ALSO
gammu\-smsdrc(5), gammu(1), gammu\-smsd(1)
diff --git a/docs/user/gammu-smsd.1 b/docs/user/gammu-smsd.1
index 9069191..b666f62 100644
--- a/docs/user/gammu-smsd.1
+++ b/docs/user/gammu-smsd.1
@@ -74,12 +74,28 @@ differently. Default is "GammuSMSD".
.TP
Start SMSD as a deamon on Linux:
+.RS
+.sp
+.nf
+.ne 7
gammu\-smsd \-\-config /etc/gammu\-smsdrc \-\-pid /var/run/gammu\-smsd.pid
\-\-daemon
+.fi
+.sp
+.RE
+.PP
.TP
Start SMSD as a deamon on Linux with reduced privileges:
+.RS
+.sp
+.nf
+.ne 7
gammu\-smsd \-\-config /etc/gammu\-smsdrc \-\-pid /var/run/gammu\-smsd.pid
\-\-daemon \-\-user gammu \-\-group gammu
+.fi
+.sp
+.RE
+.PP
.TP
SMSD as a system wide daemon
@@ -93,19 +109,43 @@ install it manually or check INSTALL file for instructions.
.TP
Install Gammu SMSD Windows service:
+.RS
+.sp
+.nf
+.ne 7
gammu\-smsd.exe \-c c:\\Gammu\\smsdrc \-i
+.fi
+.sp
+.RE
+.PP
.TP
Install two instances of SMSD Windows service:
+.RS
+.sp
+.nf
+.ne 7
gammu\-smsd.exe \-c c:\\Gammu\\smsdrc\-1 \-n Gammu\-first\-phone \-i
gammu\-smsd.exe \-c c:\\Gammu\\smsdrc\-2 \-n Gammu\-second\-phone \-i
+.fi
+.sp
+.RE
+.PP
.TP
To uninstall a Windows service:
+.RS
+.sp
+.nf
+.ne 7
gammu\-smsd.exe \-u
+.fi
+.sp
+.RE
+.PP
.SS Troubleshooting Windows Service
@@ -118,7 +158,15 @@ service (without \-i).
.TP
For example the command line can look like:
+.RS
+.sp
+.nf
+.ne 7
gammu\-smsd.exe \-c smsdrc
+.fi
+.sp
+.RE
+.PP
.PP
You now should be able to get errors from SMSD even if it fails to start as a
@@ -127,6 +175,8 @@ service.
.SH SEE ALSO
gammu\-smsdrc(5), gammu(1), gammu\-smsd\-inject(1), gammu\-smsd\-monitor(1)
+Documentation for different backends:
+
gammu\-smsd\-files(7), gammu\-smsd\-mysql(7), gammu\-smsd\-pgsql(7),
gammu\-smsd\-dbi(7), gammu\-smsd\-tables(7)
.SH AUTHOR
gammu\-smsd and this manual page were written by Michal Cihar
<[email protected]>.
diff --git a/docs/user/gammu.1 b/docs/user/gammu.1
index 99c0cd4..c115bb7 100644
--- a/docs/user/gammu.1
+++ b/docs/user/gammu.1
@@ -1,4 +1,4 @@
-.TH "GAMMU" "1" "Oct 12 2009" "Gammu 1.26.90" "Gammu Documentation"
+.TH "GAMMU" "1" "Oct 13 2009" "Gammu 1.26.91" "Gammu Documentation"
.SH "NAME"
@@ -2424,36 +2424,92 @@ gammurc(5) for more details about it.
.TP
Save text message up to standard 160 chars:
+.RS
+.sp
+.nf
+.ne 7
echo "All your base are belong to us" | gammu savesms TEXT
+.fi
+.sp
+.RE
+.PP
or
+.RS
+.sp
+.nf
+.ne 7
gammu savesms TEXT \-text "All your base are belong to us"
+.fi
+.sp
+.RE
+.PP
.TP
Save long text message:
+.RS
+.sp
+.nf
+.ne 7
echo "All your base are belong to us" | gammu savesms TEXT \-len 400
+.fi
+.sp
+.RE
+.PP
or
+.RS
+.sp
+.nf
+.ne 7
gammu savesms TEXT \-len 400 \-text "All your base are belong to us"
+.fi
+.sp
+.RE
+.PP
or
+.RS
+.sp
+.nf
+.ne 7
gammu savesms EMS \-text "All your base are belong to us"
+.fi
+.sp
+.RE
+.PP
.TP
Save some funky message with predefined sound and animation from 2 bitmaps:
+.RS
+.sp
+.nf
+.ne 7
gammu savesms EMS \-text "Greetings" \-defsound 1 \-text "from Gammu"
\-tone10 axelf.txt \-animation 2 file1.bmp file2.bmp
+.fi
+.sp
+.RE
+.PP
.TP
Save protected message with ringtone:
+.RS
+.sp
+.nf
+.ne 7
gammu savesms EMS \-protected 2 \-variablebitmaplong ala.bmp
\-toneSElong axelf.txt \-toneSE ring.txt
+.fi
+.sp
+.RE
+.PP
.SS Backups
@@ -2510,10 +2566,18 @@ operating system, it's version and phone information
are needed).
To generate debug log, enable it in gammurc (alternatively you can
do it on command line using \-d textall \-f /tmp/gammu.log):
- [gammu]
- ...your connection settings...
- logfile = /tmp/gammu.log
- logformat = textall
+.RS
+.sp
+.nf
+.ne 7
+[gammu]
+...your connection settings...
+logfile = /tmp/gammu.log
+logformat = textall
+.fi
+.sp
+.RE
+.PP
With this settings, Gammu generates /tmp/gammu.log on each connection to
phone and stores dump of communication there. You can also find some
--
Gammu
_______________________________________________
Gammu-svn mailing list
[email protected]
https://lists.cihar.com/cgi-bin/mailman/listinfo/gammu-svn