| 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 BNSTAT 1 "11 June, 2000" "BNETD" "BNETD User's Manual" |
| 25 |
.SH NAME |
| 26 |
bnstat \- Battle.net statisics client |
| 27 |
.SH SYNOPSIS |
| 28 |
.B bnstat |
| 29 |
[\fIoptions\fP] |
| 30 |
[\fIservername\fP [\fIserverport\fP]] |
| 31 |
.SH DESCRIPTION |
| 32 |
.B bnstat |
| 33 |
is a simple Battle.net client emulator that can be used to gather player statistics. |
| 34 |
It is also compatible with FSGS servers, but has difficulty with real Battle.net servers. |
| 35 |
.LP |
| 36 |
If no \fIservername\fP is specified, localhost is assumed. If no \fIserverport\fP is |
| 37 |
specified, 6112 is assumed. If no player is specified on the command line, |
| 38 |
.BR bnstat (1) |
| 39 |
will connect to the server and prompt for one from stdin. All avaliable statistics for |
| 40 |
the emulated client type are formatted and displayed on stdout. |
| 41 |
.SH OPTIONS |
| 42 |
.TP |
| 43 |
.B \-b |
| 44 |
Causes \fBbnstat\fP to emulate a Brood Wars client. |
| 45 |
.TP |
| 46 |
.B \--client |
| 47 |
Causes \fBbnstat\fP to emulate a specific client. The following client tags are |
| 48 |
recognized: |
| 49 |
DRTL DSHR STAR SSHR SEXP W2BN. |
| 50 |
There are short options which may be used instead for the common clients. |
| 51 |
.TP |
| 52 |
.B \--bnetd |
| 53 |
Also attempt to gather |
| 54 |
.BR bnetd (1) |
| 55 |
specific information. |
| 56 |
.TP |
| 57 |
.B \-d |
| 58 |
Causes \fBbnstat\fP to emulate a Diablo client. |
| 59 |
.TP |
| 60 |
.B \--fsgs |
| 61 |
Also attempt to gather FSGS specific information. |
| 62 |
.TP |
| 63 |
.B \-h --help --usage |
| 64 |
Print usage information and exit. |
| 65 |
.TP |
| 66 |
.B \-k --cdkey |
| 67 |
Causes \fBbnstat\fP to report an alternate key to the |
| 68 |
.BR bnetd (1) |
| 69 |
server. |
| 70 |
.TP |
| 71 |
.B \-o --owner |
| 72 |
Causes \fBbnstat\fP to report an alternate owner to the |
| 73 |
.BR bnetd (1) |
| 74 |
server. |
| 75 |
.TP |
| 76 |
.B \-p --player |
| 77 |
Gather statistics only for the specified player and then exit. This also avoids |
| 78 |
using login and terminal functions allowing it to be used in shell scripts. |
| 79 |
.TP |
| 80 |
.B \-s |
| 81 |
Causes \fBbnstat\fP to emulate a Starcraft client. |
| 82 |
.TP |
| 83 |
.B \-v --version |
| 84 |
Print its version number and exit. |
| 85 |
.TP |
| 86 |
.B \-w |
| 87 |
Causes \fBbnstat\fP to emulate a Warcraft II BNE client. |
| 88 |
.SH NOTES |
| 89 |
The current version is available with the bnetd distribution at: |
| 90 |
.LP |
| 91 |
.RS |
| 92 |
.I http://www.bnetd.org/ |
| 93 |
.RE |
| 94 |
.SH BUGS |
| 95 |
This program assumes that the terminal will move to the beginning of the current line |
| 96 |
when the carriage return character (^M) is printed. It also assumes the backspace |
| 97 |
character (^H) will move one column to the left that character printed after that |
| 98 |
will replace those already on the screen. |
| 99 |
.LP |
| 100 |
The terminal settings are not consulted for keybindings. The following are assumed: |
| 101 |
.TP |
| 102 |
^H |
| 103 |
delete the character to the left of the cursor |
| 104 |
.TP |
| 105 |
^J |
| 106 |
accept current line |
| 107 |
.TP |
| 108 |
^M (return) |
| 109 |
accept current line |
| 110 |
.TP |
| 111 |
^T |
| 112 |
transpose the last two characters |
| 113 |
.TP |
| 114 |
^W |
| 115 |
delete word to the left of the cursor |
| 116 |
.TP |
| 117 |
^U |
| 118 |
delete the whole input line |
| 119 |
.TP |
| 120 |
^[ (escape) |
| 121 |
cancel the current input line |
| 122 |
.TP |
| 123 |
^? (delete) |
| 124 |
delete the character to the left of the cursor |
| 125 |
.SH "SEE ALSO" |
| 126 |
.BR bnetd (1) |
| 127 |
.SH AUTHOR |
| 128 |
Ross Combs (\[email protected]\fP) |