?? sms_client.1
字號:
.TH sms_client 1 "19 Oct 1998" Linux "User Manuals".SH NAMEsms_client \- send messages to mobiles and pagers..SH SYNOPSIS.B sms_client [-v].br.B sms_client [-d].br.B sms_client [-q] [-l loglevel].br [service:]number|name[,[service:]number|name].br [message] ....SH DESCRIPTIONA simple client implementation for the GSM Short MessageService (SMS) using TAP. Allowing you to send messages to mobile phones and pagers.Several drivers have also been written for providers who use protocols other than TAP.This client dials the Short Message Service centre andpasses on your message addressed to the.IB numberor.IB nameyou specified. Any.IB nameyou use is expanded to the.IB numberfrom either the Local or Globalresource files. The Local file is searched first then the Globalfile. A user can set up his own preferences to overide thoseset in the Global file.Information regarding the status of the call is displayed, alongwith the response given by the SMS centre as the message is transmitted.If no message is present, sms_client takes the message fromstandard input..SH OPTIONS.TP.IB -qQuiet mode, no output..TP.IB -lAll messages output are appended to /var/log/smslog, there are severallevel of loggin. The default .IB loglevelis STANDARD other loggin levels provided include..sp.RS +.2i.ta 1.0i.nf 1 - ERROR 2 - WARNING 3 - STANDARD 4 - VERBOSE 5 - EXTREMELY VERBOSE.fi.RE.sp.TP.IB -vPrint version information..TP.IB -dPrint all driver/protocols currently built into sms_client..TP.IB [service:]number|name[,[service:]number|name]A name can be used instead of a number, if a name is used it issearched for in the Global and Local resource files and replacedby the number. You can group names and numbers but they must beseperated by a comma and must contain no whitespace. Numbersmust be in International format. For UK Numbers remove leading 0and add 44 prefix. If a number is prefixed with service: then thatservice is used in preference to the default service..TP.IB [message] ...A Quoted message that you want to send. If this is absentthe message is read from stdin. The maximum length of themessage is currently set to a limit of 150 characters, ifyour message exceeds this length you will be notifiedwith an error message..SH RETURN VALUESOn Success the return value is set to zero. Any other valueindicates an error occurred.Each number dialed will have a corresponding output of theform:.IB [###] SERVICE:NUMBERWhere ### is the delivery code, 000 indicates successful delivery other values can be found in sms_error.h.SH EXAMPLES.TP.IB "sms_client 123456 'Hello 123456'"Use default service and send message to 123456.TP.IB "sms_client mike 'Hello mike'"Use default service and send message to number associated withname mike found in one of the resource files..TP.IB "sms_client mike,angelo 'Hello mike and angelo'"Use default service and send message to number associated with names mike and angelo found in one of the resource files..SH FILES.TP.IB /etc/sms/sms_addressbookThe Global addressbook file. Containing names and numbers..TP.IB ~/.sms_addressbookThe Local addressbook file. Contains names and numbers which can overridethose in the Global resource file..TP.IB /etc/sms/sms_configContaining default service and other sms_client defaults..TP.IB /etc/sms/sms_servicesContaining service to protocol mappings..TP.IB /etc/sms/sms_modemContaining default modem settings..TP.IB /etc/sms/servicesDirectory containing all services - Each service is denoted by filename(in UPPERCASE) and contains defaults for that service, such as telephonenumber of service centre, comms params etc..TP.IB /etc/sms/smslockLockfile generated when smsclient is running. .TP.IB /var/log/smslogLog file where all messages that are produced are copied..SH AUTHORAngelo Masci <angelo@styx.demon.co.uk>.SH VERSION2.0.7
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -