| 1 |
.\" |
| 2 |
.\" Copyright (C) 1998,1999,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 BNCHAT 1 "09 April, 1999" "BNETD" "BNETD User's Manual" |
| 25 |
.SH NAME |
| 26 |
bnchat \- Battle.net text-based chat client |
| 27 |
.SH SYNOPSIS |
| 28 |
.B bnchat |
| 29 |
[\fIoptions\fP] |
| 30 |
[\fIservername\fP [\fIserverport\fP]] |
| 31 |
.SH DESCRIPTION |
| 32 |
.B bnchat |
| 33 |
is a simple Battle.net client emulator that can be used as a minimal chat client with |
| 34 |
.BR bnetd (1) |
| 35 |
in order to test certain aspects of the server configuration or to do server |
| 36 |
administration from the Unix command line. It is also compatible with FSGS servers, but |
| 37 |
has difficulty with real Battle.net servers. |
| 38 |
.LP |
| 39 |
If no \fIservername\fP is specified, localhost is assumed. If no \fIserverport\fP is |
| 40 |
specified, 6112 is assumed. |
| 41 |
.SH OPTIONS |
| 42 |
.TP |
| 43 |
.B \-a --ansi-color |
| 44 |
Allows |
| 45 |
.B bnchat |
| 46 |
to use ANSI terminal color escapes to make things more |
| 47 |
readable. You must be using a terminal compatible with VT100 positioning and |
| 48 |
ANSI color codes. The program will not attempt to determine your terminal type. |
| 49 |
.TP |
| 50 |
.B \-b |
| 51 |
Causes |
| 52 |
.B bnchat |
| 53 |
to emulate a Brood Wars client. |
| 54 |
.TP |
| 55 |
.B \-c --change-password |
| 56 |
Causes |
| 57 |
.B bnchat |
| 58 |
to prompt for a new login password on the |
| 59 |
.BR bnetd (1) |
| 60 |
server. |
| 61 |
.TP |
| 62 |
.B \--client |
| 63 |
Causes |
| 64 |
.B bnchat |
| 65 |
to emulate a specific client. The following client tags are recognized: |
| 66 |
DRTL DSHR STAR SSHR SEXP W2BN. |
| 67 |
There are short options which may be used instead for the common clients. |
| 68 |
.TP |
| 69 |
.B \-d |
| 70 |
Causes |
| 71 |
.B bnchat |
| 72 |
to emulate a Diablo client. |
| 73 |
.TP |
| 74 |
.B \-h --help --usage |
| 75 |
Print usage information and exit. |
| 76 |
.TP |
| 77 |
.B \-k --cdkey |
| 78 |
Causes |
| 79 |
.B bnchat |
| 80 |
to report an alternate key to the |
| 81 |
.BR bnetd (1) |
| 82 |
server. |
| 83 |
.TP |
| 84 |
.B \-o --owner |
| 85 |
Causes |
| 86 |
.B bnchat |
| 87 |
to report an alternate owner to the |
| 88 |
.BR bnetd (1) |
| 89 |
server. |
| 90 |
.TP |
| 91 |
.B \-n --new-account |
| 92 |
Causes |
| 93 |
.B bnchat |
| 94 |
to prompt to create a new player account on the |
| 95 |
.BR bnetd (1) |
| 96 |
server. |
| 97 |
.TP |
| 98 |
.B \-s |
| 99 |
Causes |
| 100 |
.B bnchat |
| 101 |
to emulate a Starcraft client. |
| 102 |
.TP |
| 103 |
.B \-v --version |
| 104 |
Print its version number and exit. |
| 105 |
.TP |
| 106 |
.B \-w |
| 107 |
Causes |
| 108 |
.B bnchat |
| 109 |
to emulate a Warcraft II BNE client. |
| 110 |
.SH NOTES |
| 111 |
The terminal width is attempted to be determined at runtime but if it does not work |
| 112 |
you may need to try running |
| 113 |
.BR resize (1) . |
| 114 |
As a final act of desperation you can try setting the COLUMNS environmental variable. |
| 115 |
.LP |
| 116 |
If SIGWINCH and its associated |
| 117 |
.BR ioctl (2) |
| 118 |
are supported on your system, resizing the window while the program is running should |
| 119 |
immediately update width of the entry line. |
| 120 |
.LP |
| 121 |
The current version is available with the bnetd distribution at: |
| 122 |
.LP |
| 123 |
.RS |
| 124 |
.I http://www.bnetd.org/ |
| 125 |
.RE |
| 126 |
.SH BUGS |
| 127 |
This program assumes that the terminal will move to the beginning of the current line |
| 128 |
when the carriage return character (^M) is printed. It also assumes the backspace |
| 129 |
character (^H) will move one column to the left that character printed after that |
| 130 |
will replace those already on the screen. |
| 131 |
.LP |
| 132 |
The terminal settings are not consulted for keybindings. The following are assumed: |
| 133 |
.TP |
| 134 |
^H |
| 135 |
delete the character to the left of the cursor |
| 136 |
.TP |
| 137 |
^J |
| 138 |
accept current line |
| 139 |
.TP |
| 140 |
^M (return) |
| 141 |
accept current line |
| 142 |
.TP |
| 143 |
^T |
| 144 |
transpose the last two characters |
| 145 |
.TP |
| 146 |
^W |
| 147 |
delete word to the left of the cursor |
| 148 |
.TP |
| 149 |
^U |
| 150 |
delete the whole input line |
| 151 |
.TP |
| 152 |
^[ (escape) |
| 153 |
cancel the current input line |
| 154 |
.TP |
| 155 |
^? (delete) |
| 156 |
delete the character to the left of the cursor |
| 157 |
.SH "SEE ALSO" |
| 158 |
.BR bnetd (1) |
| 159 |
.SH AUTHOR |
| 160 |
Ross Combs (\[email protected]\fP) |