?? gsmsendsms.man
字號:
.\" -*- eval: (nroff-mode) -*-.de TQ.br.ns.TP \\$1...\" Like TP, but if specified indent is more than half.\" the current line-length - indent, use the default indent..de Tp.ie \\n(.$=0:((0\\$1)*2u>(\\n(.lu-\\n(.iu)) .TP.el .TP "\\$1"...TH GSMSENDSMS 8 "##DATE##" "gsmsendsms v##VERSION##".PP.SH NAMEgsmsendsms \- SMS message sender utility.PP.SH SYNOPSIS.B gsmsendsms[ \fB-b\fP \fIbaudrate\fP ][ \fB--baudrate\fP \fIbaudrate\fP ][ \fB-C\fP \fIservice centre address\fP ][ \fB--sca\fP \fIservice centre address\fP ][ \fB-d\fP \fIdevice\fP ][ \fB--device\fP \fIdevice\fP ][ \fB-h\fP ][ \fB--help\fP ][ \fB-I\fP \fIinit string\fP ][ \fB--init\fP \fIinit string\fP ][ \fB-r\fP ][ \fB--requeststat\fP ][ \fB-t\fP ][ \fB--test\fP ][ \fB-v\fP ][ \fB--version\fP ][ \fB-X\fP ][ \fB--xonxoff\fP ]\fIphonenumber\fP[ \fItext\fP ].PP.SH DESCRIPTION\fIgsmsendsms\fP sends SMS short messages using an GSM mobile phone..PP\fIgsmsendsms\fP attaches itself to the \fIdevice\fP given on the commandline (usually an GSM modem) using the specified \fIbaudrate\fP. If no\fIdevice\fP is given, the device \fI/dev/mobilephone\fP is used. Ifno \fIbaudrate\fP is given, a default baud rate of 38400 is used..PP\fIgsmsendsms\fP accepts a phone number (recipient address) and theshort message text as parameters. The text may have a maximum lengthof 160 characters which is the maximum SMS message length. The GSMdefault alphabet is used for encoding. ASCII and Latin-1 charactersthat can not be encoded using the GSM default alphabet are convertedto the GSM delta character (GSM code 16)..PPError messages are printed to the standard error output. If the programterminates on error the error code 1 is returned..PP.SH OPTIONS.TP\fB-b\fP \fIbaudrate\fP, \fB--baudrate\fP \fIbaudrate\fPThe baud rate to use..TP\fB-C\fP \fIservice centre address\fP, \fB--sca\fP \fIservice centre address\fPSets the service centre address to use for all SUBMIT SMSs (may notwork with some phones)..TP\fB-d\fP \fIdevice\fP, \fB--device\fP \fIdevice\fPThe device to which the GSM modem is connected. The default is\fI/dev/mobilephone\fP..TP\fB-h\fP, \fB--help\fPPrints an option summary..TP\fB-I\fP \fIinit string\fP, \fB--init\fP \fIinit string\fPInitialization string to send to the TA (default: "E0"). Note that thesequence "ATZ" is sent first..TP\fB-r\fP, \fB--requeststat\fPRequest status reports for sent SMS..TP\fB-t\fP, \fB--test\fPIf this option is given the text is convertedto the GSM default alphabet and back to Latin-1. This option can beused to find out how ASCII or Latin-1 texts are converted to the GSMdefault alphabet. Characters that can not be converted to the GSM defaultalphabet are reported as ASCII code 172 (Latin-1 boolean "not")after this double conversion. No SMS messages are sent, a connectionto a mobile phone is not established..TP\fB-v\fP, \fB--version\fPPrints the program version..TP\fB-X\fP, \fB--xonxoff\fPUses software handshaking (XON/XOFF) for accessing the device..PP.SH EXAMPLESThe following two invocations of \fIgsmsendsms\fP each send the sameSMS message to the number "1234":.PP.nfgsmsendsms -d /dev/ttyS2 -b 19200 1234 "This is a test."echo "This is a test." | gsmsendsms -d /dev/ttyS2 -b 19200 1234.fi.PP.SH FILES.TP 1.4i.B /dev/mobilephoneDefault mobile phone device..PP.SH AUTHORPeter Hofmann <software@pxh.de>.PP.SH BUGSReport bugs to software@pxh.de. Include a complete, self-containedexample that will allow the bug to be reproduced, and say whichversion of \fIgsmsendsms\fP you are using..PP.SH COPYRIGHTCopyright \(co 1999 Peter Hofmann.LP\fIgsmsendsms\fP is free software; you can redistribute it and/or modify it underthe terms of the GNU Library General Public License as published by the FreeSoftware Foundation; either version 2, or (at your option) any laterversion..LP\fIgsmsendsms\fP is distributed in the hope that it will be useful, butWITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNULibrary General Public License for more details..LPYou should have received a copy of the GNU Library General Public License alongwith \fIgsmsendsms\fP; see the file COPYING. If not, write to the Free SoftwareFoundation, 675 Mass Ave, Cambridge, MA 02139, USA..PP.SH "SEE ALSO".BR gsminfo(7),.BR gsmpb(1),.BR gsmctl(1),.BR gsmsmsd(8),.BR gsmsmsstore(1).
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -