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 1 year ago Update readme 1 year ago
example.png change example 1 year ago
go.mod initial commit 2 years ago
go.sum cleanup go mod 1 year ago
menu.go Interruptible menus 1 year ago
ssh_server.go manage first-time connect menus 1 year ago
telnet.go Some small fixes: 2 years ago
trade.go Interruptible menus 1 year ago

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!


$ go get
$ 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!) or s to shutdown the server.


Erik Hollensbe