📄 readme
字号:
danpage v0.6 Copyright (c) 1997 by Dan Baker (5/26/1997)A program to send alphanumeric pages.Tested on: Linux 2.0.28, Linux 2.0.30To compile and install: Edit Makefile if necessary make or make all make install******* BEFORE FIRST USE: Edit configuration file /danpage/danpagerc (phone numbers, modem init, etc.) You may need to change the modem_init string for your modem, and you certainly need to change 'central' to your paging company's modem phone number. You also may want to create a danpagerc file in your home directory. If you do, danpage will look in both /danpage/danpagerc and ~/danpagerc at runtime. A danpagerc file in your home directory is a good place for personal pager aliases and for a 'sig' string. Read man page (man danpage)danpage takes input from stdin, so you can redirect a (small) fileto a pager, or pipe (short) program output to a pager.example: danpage -d /dev/cua1 -p mygirl < /usr/pages/youre.so.sweet or some_program | danpage -p 4564567 -r 15 -qv0.5 - Original releasev0.6 - Added -s option to suppress signature Began the Herculean Task of cleaning up my code. Added modem_restore string Added code to log optional text messages sent by server Added optional bits/sec setting via -b option (or bps parameter in rc file) Added -i option to ignore lockfiles Added -w option to wait for lockfile (if any) to go away Added -t option to truncate long messages Added -u option to replace sig with username@host Added code to respond to SIGTERM and SIGINT semi-gracefully Added code to send message as multiple packets Added -M option and splitsize parameter to send as multiple pages----------Note: As of May 1997, my provider does not accept multi-block pages,so I haven't been able to test this feature. If your provider canhandle multiple packets, you should be able to send long messages(up to 2048 chars) by using the -t commandline option(ie: -t 512 for 512 char. messages) or the truncate parameter(ie: truncate = 512) in your danpagerc file. By default, messagesare truncated to 80 characters, because that is my provider's limit.The packet size defaults to 250, but can be changed with the -m optionor the packetsize parameter.----------Yet to do (maybe): Send a page to a group of pagers Mail error messages to sysadmin? Improve error messages and progress messages Run as a server with queues, etc. Implement clever user suggestions---------------------------------------------------Send suggestions, bug reports, and lavish praise todanbaker@iquest.netSorry, I can't guarantee a reply :-(---------------------------------------------------This program 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 GNUGeneral Public License for more details.You should have received a copy of the GNU General Public Licensealong with this program; if not, write to the Free SoftwareFoundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -