BNSTAT(1)

πŸ“¦
version 1.99.7.2.1 Β· 2 versions
, in debian trixie, ubuntu stonking

πŸ’– BNSTAT(1) β€” the bnetd user's manual, bestie edition πŸ’–

okay so real talk, this is bnstat, from the BNETD User's Manual. it's the little stats goblin of the Battle.net world and i'm obsessed with it. let's go πŸ¦‹


✨ NAME ✨

bnstat β€” Battle.net statistics client. yes that's literally it, she gathers stats, she's an icon, no cap πŸ’…


✨ SYNOPSIS ✨

bnstat [options] [servername [serverport]]

✨ DESCRIPTION ✨

so bnstat is a simple Battle.net client emulator that you use to gather player statistics. that's the whole vibe. πŸŽ€

she's also compatible with FSGS servers, but ngl she has difficulty with real Battle.net servers. it's giving "i can fix him" except she cannot fix him. πŸ™ˆ

here's the defaults situation, pay attention bestie:

  • no servername specified β†’ localhost is assumed
  • no serverport specified β†’ 6112 is assumed
  • no player specified on the command line β†’ bnstat(1) will connect to the server and prompt for one from stdin

and then β€” and this is the part we love β€” all available statistics for the emulated client type get formatted and displayed on stdout. slay. ✨


✨ OPTIONS ✨

  • -b β€” makes bnstat emulate a Brood Wars client. periodt.
  • --client β€” makes bnstat emulate a specific client. the client tags she recognizes are: DRTL DSHR STAR SSHR SEXP W2BN. and btw there are short options you can use instead for the common clients, so you don't gotta type the whole tag out. 🫢
  • --bnetd β€” also attempt to gather bnetd(1) specific information. two for one, we love to see it.
  • -d β€” makes bnstat emulate a Diablo client. 😈
  • --fsgs β€” also attempt to gather FSGS specific information.
  • -h, --help, --usage β€” print usage information and exit. the "help me bestie" flag πŸ’–
  • -k, --cdkey β€” causes bnstat to report an alternate key to the bnetd(1) server.
  • -o, --owner β€” causes bnstat to report an alternate owner to the bnetd(1) server.
  • -p, --player β€” gather statistics only for the specified player and then exit. this also avoids using login and terminal functions, which means it can be used in shell scripts. automation queen πŸ‘‘
  • -s β€” makes bnstat emulate a Starcraft client. iconic.
  • -v, --version β€” print its version number and exit.
  • -w β€” makes bnstat emulate a Warcraft II BNE client. πŸ—‘οΈ

✨ NOTES ✨

the current version is available with the bnetd distribution at:

http://www.bnetd.org/

go get her πŸ’…


✨ BUGS ✨

okay so this is the part where we hold hands because it's a little unhinged 😭

this program assumes that the terminal will move to the beginning of the current line when the carriage return character (^M) is printed. it also assumes that the backspace character (^H) will move one column to the left and that the character printed after that will replace those already on the screen. so yeah. assumptions everywhere. πŸ’€

and the terminal settings are not consulted for keybindings. instead, the following are assumed, fr fr:

  • ^H β€” delete the character to the left of the cursor
  • ^J β€” accept current line
  • ^M (return) β€” accept current line
  • ^T β€” transpose the last two characters
  • ^W β€” delete word to the left of the cursor
  • ^U β€” delete the whole input line
  • ^[ (escape) β€” cancel the current input line
  • ^? (delete) β€” delete the character to the left of the cursor
bestie. memorise these. your terminal is not gonna tell you, and she is not gonna ask. 🫠

✨ SEE ALSO ✨


✨ AUTHOR ✨

Ross Combs (ross@bnetd.org) β€” the main character who wrote this whole thing πŸŽ€


and that's the page!! this was the BNETD manual, dated 11 June, 2000. yeah she's vintage, she's a classic, she's still serving. bye bestie, go gather some stats πŸ’–βœ¨πŸ¦‹πŸŒΈπŸ’…

πŸ“¦ where this page comes from