You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Erik Hollensbe 9bdf7c5c79 Update readme 11 months ago
README.md Update readme 11 months ago
example.png change example 1 year ago
go.mod initial commit 1 year ago
go.sum cleanup go mod 1 year ago
menu.go Interruptible menus 11 months ago
ssh_server.go manage first-time connect menus 1 year ago
telnet.go Some small fixes: 1 year ago
trade.go Interruptible menus 11 months ago

README.md

trade: ssh -> telnet proxy with bonus sugar

trade is intended to connect to Tradewars 2002 servers. It performs a number of features which make tradewars playable on a modern computer:

This image is taken from a standard SSH connection through trade inside of putty.

Some features of trade:

  • Multiple connections, same proxy -- all connections route to the same telnet session.
  • translates DOS Code Page 437 to UTF-8, including line drawing characters. Works great with putty default settings over SSH, or most modern terminals with openssh.
  • operates over SSH (telnet is still used to connect to tradewars)
  • Menu for controlling your sessions (press ^E in a session to escape to the menu)
  • COMING SOON expect-like scripting capabilities with mruby
  • COMING SOON outbound ssh support for controlling things that are not tradewars!

Usage

$ go get github.com/erikh/trade
$ trade gen # generates a host key in ~/.config/trade/host_key
$ trade &
$ ssh -p 2002 localhost

After connecting with SSH, you can press enter or ? to get a menu. Press c to connect to a server (try home.hollensbe.org:2002!) or s to shutdown the server.

Author

Erik Hollensbe github@hollensbe.org