📄 gsmsmsstore.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 GSMSMSSTORE 8 "##DATE##" "gsmsmsstore v##VERSION##".SH NAMEgsmsmsstore \- SMS store manipulation program.SH SYNOPSIS.B gsmsmsstore[ \fB-a\fP ][ \fB--add\fP ][ \fB-b\fP \fIbaudrate\fP ][ \fB--baudrate\fP \fIbaudrate\fP ][ \fB-c\fP ][ \fB--copy\fP ][ \fB-C\fP \fIservice centre address\fP ][ \fB--sca\fP \fIservice centre address\fP ][ \fB-d\fP \fIdestination device or file\fP ][ \fB--destination\fP \fIdestination device or file\fP ][ \fB-h\fP ][ \fB--help\fP ][ \fB-I\fP \fIinit string\fP ][ \fB--init\fP \fIinit string\fP ][ \fB-k\fP ][ \fB--backup\fP ][ \fB-l\fP ][ \fB--list\fP ][ \fB-s\fP \fIsource device or file\fP ][ \fB--source\fP \fIsource device or file\fP ][ \fB-t\fP \fISMS store name\fP ][ \fB--store\fP \fISMS store name\fP ][ \fB-v\fP ][ \fB--version\fP ][ \fB-V\fP ][ \fB--verbose\fP ][ \fB-x\fP ][ \fB--delete\fP ][ \fB-X\fP ][ \fB--xonxoff\fP ]{ \fIindices\fP }[ \fIphonenumber\fP \fItext\fP ].PP.SH DESCRIPTION\fIgsmsmsstore\fP can store or retrieve SMS messages entries residingin a GSM mobile phone's SMS store to or from a file, add SMS messagesto a store, or list the store's contents. Additionally, it is possibleto add SMS submit messages to a store..PP\fIgsmsmsstore\fP reads entries from the source which can be a mobilephone (if a serial device file is given) or a file (if a file name isgiven). The source is never modified. \fIgsmsmsstore\fP writes SMSmessages to a destination file or device in the case of \fB--copy\fP,\fB--backup\fP, and \fB--add\fP..PPThe \fB--list\fP option does not change any file but just lists thecontents to standard output..PPThe \fB--backup\fP and \fB--copy\fP options require both source anddestination files or devices. The \fB--list\fP option requires asource. The \fB--add\fP and \fB--delete\fP options require adestination file or device..PPIf "-" is given as the parameter for the \fB--source\fP or\fB--destination\fP options, the SMS store is read from standard input and/or written to standard output, respectively..PPSMS message files are not human-readable..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-a\fP, \fB--add\fPAdds an SMS submit message with recipient address \fIphonenumber\fP and text \fItext\fP to the destination..TP\fB-b\fP \fIbaudrate\fP, \fB--baudrate\fP \fIbaudrate\fPThe baud rate to use. The default baudrate is 38400..TP\fB-c\fP, \fB--copy\fPThis causes the contents of the source to be copied to thedestination. After this operation the destination has exactly the samecontents as the source. If \fIindices\fP are given on the commandline only those SMS messages denoted by the indices are copied to thedestination..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 \fIdestination\fP, \fB--destination\fP \fIdestination\fPThe destination device or file..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-k\fP, \fB--backup\fPThis causes those entries to be added from the source to thedestination that are not already present in the destination. If\fIindices\fP are given on the command line only those SMS messagesdenoted by the indices are backed up (ie. added) to the destination..TP\fB-l\fP, \fB--list\fPPrints out the entire contents of the source in human-readable form..TP\fB-s\fP \fIsource\fP, \fB--source\fP \fIsource\fPThe source device or file..TP\fB-t\fP \fISMS store name\fP, \fB--store\fP \fISMS store name\fPThe name of the SMS store to read from or write to. This information isonly used for device sources and destinations. A commonly available messagestore is "SM" (SIM card)..TP\fB-v\fP, \fB--version\fPPrints the program version..TP\fB-V\fP, \fB--verbose\fPPrints out a detailed progress report..TP\fB-x\fP, \fB--delete\fPDelete the SMS messages as denoted by the \fIindices\fP from the destination..TP\fB-X\fP, \fB--xonxoff\fPUses software handshaking (XON/XOFF) for accessing the device..PP.SH EXAMPLESThe following command lists all entries in the mobile phone connectedto \fI/dev/mobilephone\fP to the standard output:.PP.nfgsmsmsstore -b 19200 -s /dev/mobilephone -t SM -l.fi.PPThe following adds entries 4, 7, and 10 from the device\fI/dev/mobilephone\fP to the file \fIsmsstore\fP:.PP.nfgsmsmsstore -s /dev/mobilephone -d /home/fred/smsstore -t SM -b 4 7 10.fi.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 \fIgsmsmsstore\fP you are using..PP.SH COPYRIGHTCopyright \(co 1999 Peter Hofmann.LP\fIgsmsmsstore\fP is free software; you can redistribute it and/ormodify it under the terms of the GNU Library General Public License aspublished by the Free Software Foundation; either version 2, or (atyour option) any later version..LP\fIgsmsmsstore\fP is distributed in the hope that it will be useful,but WITHOUT 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 Licensealong with \fIgsmsmsstore\fP; see the file COPYING. If not, write tothe Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA..PP.SH "SEE ALSO".BR gsminfo(7),.BR gsmctl(1),.BR gsmpb(1),.BR gsmsendsms(1),.BR gsmsmsd(8).
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -