BNCHAT(1)

πŸ’– bnchat β€” the Battle.net text-based chat client πŸ’–

okay bestie, welcome to bnchat(1) from the BNETD User's Manual β€” it's giving terminal-chic, it's giving 1999, and it's honestly kinda iconic πŸŽ€


✨ NAME ✨

bnchat β€” a Battle.net text-based chat client πŸ¦‹


✨ SYNOPSIS ✨

bnchat [options] [servername [serverport]]

✨ DESCRIPTION ✨

so bnchat is a lil baby Battle.net client emulator πŸ’… it's a minimal chat client that vibes with bnetd(1) so you can test certain aspects of your server config, or do server administration straight from the Unix command line. lowkey a multitasker.

it's also compatible with FSGS servers, but ngl it has difficulty with real Battle.net servers 😭 not its fault, the real ones are just built different.

if you don't specify a servername, localhost is assumed. if you don't specify a serverport, 6112 is assumed. periodt.


✨ OPTIONS ✨

  • -a, --ansi-color β€” lets bnchat use ANSI terminal color escapes so everything is more readable ✨ you must be on a terminal that's compatible with VT100 positioning and ANSI color codes. the program will not try to figure out your terminal type for you β€” no guessing games, bestie πŸ™ˆ
  • -b β€” makes bnchat emulate a Brood Wars client πŸ”₯
  • -c, --change-password β€” makes bnchat prompt for a new login password on the bnetd(1) server πŸ”
  • --client β€” makes bnchat emulate a specific client. these client tags are recognized: DRTL DSHR STAR SSHR SEXP W2BN. there are also short options you can use instead for the common clients πŸ‘‘
  • -d β€” makes bnchat emulate a Diablo client πŸ’€
  • -h, --help, --usage β€” prints usage info and exits. bye bestie πŸ‘‹
  • -k, --cdkey β€” makes bnchat report an alternate key to the bnetd(1) server πŸ”‘
  • -o, --owner β€” makes bnchat report an alternate owner to the bnetd(1) server πŸ‘€
  • -n, --new-account β€” makes bnchat prompt to create a new player account on the bnetd(1) server 🌸
  • -s β€” makes bnchat emulate a Starcraft client ⭐
  • -v, --version β€” prints its version number and exits πŸŽ€
  • -w β€” makes bnchat emulate a Warcraft II BNE client 🧚

✨ NOTES ✨

the terminal width gets attempted-to-be-determined at runtime, but if that doesn't work, you might need to try running resize(1). and as a final act of desperation, you can try setting the COLUMNS environmental variable 😭

if SIGWINCH and its associated ioctl(2) are supported on your system, resizing the window while the program is running should immediately update the width of the entry line. real-time glow-up, we love to see it πŸ’…

the current version is available with the bnetd distribution at:

http://www.bnetd.org/

✨ BUGS ✨

okay so this program assumes the terminal will move to the beginning of the current line when the carriage return character (^M) is printed. it also assumes the backspace character (^H) will move one column to the left, and that a character printed after that will replace the ones already on the screen. assumptions, bestie. big assumptions. πŸ™ˆ

the terminal settings are not consulted for keybindings. these are the ones it just assumes:

  • ^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

✨ SEE ALSO ✨


✨ AUTHOR ✨

Ross Combs (ross@bnetd.org) πŸ‘‘


fr fr that's the whole page, no cap. now go chat on your server and slay πŸ’–

and that's a wrap, bestie β€” this page came to you from BNETD, dated 09 April, 1999, and it ate, it left no crumbs πŸŽ€βœ¨

πŸ“¦ where this page comes from