BNBOT(1)

πŸ’– BNBOT(1) πŸ’–

okay so this is from the BNETD User's Manual bestie, and it's literally called bnbot β€” buckle up πŸŽ€


✨ NAME ✨

bnbot β€” the Battle.net text-based chat bot client, aka ur new bestie for talking to servers from the terminal πŸ¦‹


🌸 SYNOPSIS 🌸

bnbot [options] servername [serverport]

πŸ’… DESCRIPTION πŸ’…

okay so bnbot is a simple little program that lets you communicate through the bot protocol of a Battle.net server, straight from the command line. no GUI, no nonsense, just vibes ✨

here's the tea: input from stdin gets sent to the server, and output from the server gets sent to stdout. the interface is so simple that honestly telnet(1) could do it. the ONLY complicating factor β€” and bestie, listen, this matters β€” is that a control-C character must be sent to the server before any other input. like, every single time. no cap. πŸ’€

the hope (manifesting πŸ•―οΈ) is that this program can be used with a scripting language like expect(1) to make creating chat bots for Unix easier. and ngl? to date, the author doesn't know of anyone actually doing this. πŸ™ˆ it can also be used to test bot login permissions for accounts, which is lowkey useful.

if no servername is specified, localhost is assumed. if no serverport is specified, 6112 is assumed. defaults came through, periodt πŸ‘‘


πŸŽ€ OPTIONS πŸŽ€

  • -h, --help, --usage β€” print usage information and dip. that's it, that's the whole thing πŸ’–
  • -v, --version β€” print its version number and exit. iconic, brief, slays 🌈

⭐ NOTES ⭐

the current version is available with the bnetd distribution at:

http://www.bnetd.org/

go get it bestie 🫢


πŸ’€ BUGS πŸ’€

okay so this is the part where we keep it real: the terminal settings are NOT consulted for keybindings. nope. instead, the following are just... assumed. hardcoded. living their own life:

  • ^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
not me finding out my keyboard config means nothing to this program 😭 it's giving "I do what I want" energy and honestly? respect.

🌈 SEE ALSO 🌈

bnetd(1), bnchat(1) β€” go read those too, iykyk πŸ’œ


πŸ‘‘ AUTHOR πŸ‘‘

Ross Combs (ross@bnetd.org) β€” thank u for ur service king 🫑


and that's the whole page bestie!! this was BNETD, dated 11 June, 2000, and you just read BNBOT(1) β€” go forth and bot, mwah πŸ’…βœ¨πŸŽ€