| 1 |
.\" |
| 2 |
.\" Copyright (C) 2000 Ross Combs ([email protected]) |
| 3 |
.\" |
| 4 |
.\" This is free documentation; you can redistribute it and/or |
| 5 |
.\" modify it under the terms of the GNU General Public License as |
| 6 |
.\" published by the Free Software Foundation; either version 2 of |
| 7 |
.\" the License, or (at your option) any later version. |
| 8 |
.\" |
| 9 |
.\" The GNU General Public License's references to "object code" |
| 10 |
.\" and "executables" are to be interpreted as the output of any |
| 11 |
.\" document formatting or typesetting system, including |
| 12 |
.\" intermediate and printed output. |
| 13 |
.\" |
| 14 |
.\" This manual is distributed in the hope that it will be useful, |
| 15 |
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 16 |
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 17 |
.\" GNU General Public License for more details. |
| 18 |
.\" |
| 19 |
.\" You should have received a copy of the GNU General Public |
| 20 |
.\" License along with this manual; if not, write to the Free |
| 21 |
.\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, |
| 22 |
.\" USA. |
| 23 |
.\" |
| 24 |
.TH BNBOT 1 "11 June, 2000" "BNETD" "BNETD User's Manual" |
| 25 |
.SH NAME |
| 26 |
bnbot \- Battle.net text-based chat bot client |
| 27 |
.SH SYNOPSIS |
| 28 |
.B bnbot |
| 29 |
[\fIoptions\fP] |
| 30 |
\fIservername\fP |
| 31 |
[\fIserverport\fP] |
| 32 |
.SH DESCRIPTION |
| 33 |
.B bnbot |
| 34 |
is a simple program which will allow communication through the bot protocol of a |
| 35 |
Battle.net server from the command line. Input from stdin is sent to the server and |
| 36 |
output from the server is send to stdout. The interface is so simple that |
| 37 |
.BR telnet (1) |
| 38 |
could be used. The only complicating factor is that a control-C character must be sent |
| 39 |
to the server before any other input. |
| 40 |
.LP |
| 41 |
It is hoped that this program can be used with a scripting language like |
| 42 |
.BR expect (1) |
| 43 |
to make creation of chat bots for Unix easier. To date, I don't know of anyone doing |
| 44 |
this. This program may also be used to test bot login permissions for accounts. |
| 45 |
.LP |
| 46 |
If no \fIservername\fP is specified, localhost is assumed. If no \fIserverport\fP is |
| 47 |
specified, 6112 is assumed. |
| 48 |
.SH OPTIONS |
| 49 |
.TP |
| 50 |
.B \-h --help --usage |
| 51 |
Print usage information and exit. |
| 52 |
.TP |
| 53 |
.B \-v --version |
| 54 |
Print its version number and exit. |
| 55 |
.SH NOTES |
| 56 |
The current version is available with the bnetd distribution at: |
| 57 |
.LP |
| 58 |
.RS |
| 59 |
.I http://www.bnetd.org/ |
| 60 |
.RE |
| 61 |
.SH BUGS |
| 62 |
The terminal settings are not consulted for keybindings. The following are assumed: |
| 63 |
.TP |
| 64 |
^H |
| 65 |
delete the character to the left of the cursor |
| 66 |
.TP |
| 67 |
^J |
| 68 |
accept current line |
| 69 |
.TP |
| 70 |
^M (return) |
| 71 |
accept current line |
| 72 |
.TP |
| 73 |
^T |
| 74 |
transpose the last two characters |
| 75 |
.TP |
| 76 |
^W |
| 77 |
delete word to the left of the cursor |
| 78 |
.TP |
| 79 |
^U |
| 80 |
delete the whole input line |
| 81 |
.TP |
| 82 |
^[ (escape) |
| 83 |
cancel the current input line |
| 84 |
.TP |
| 85 |
^? (delete) |
| 86 |
delete the character to the left of the cursor |
| 87 |
.SH "SEE ALSO" |
| 88 |
.BR bnetd (1), |
| 89 |
.BR bnchat (1) |
| 90 |
.SH AUTHOR |
| 91 |
.TP |
| 92 |
Ross Combs (\[email protected]\fP) |