v86 icon indicating copy to clipboard operation
v86 copied to clipboard

DOS dialup terminal to websocket gateway

Open tracker1 opened this issue 9 years ago • 4 comments

Just curious if anyone has any tips if I wanted to do FreeDOS with an old dos dialup terminal program and use a websocket gateway to a telnet or similar endpoint.

Specifically thinking RIPTerm 1.54, and a color ANSI terminal.

tracker1 avatar Mar 14 '17 21:03 tracker1

This is technically possible, basically have a look at https://github.com/copy/v86/blob/master/src/browser/serial.js

This function handles interaction between a serial console and a <textarea> element, you basically need to replace the <textarea> stuff with websocket calls.

Alternatively, if you find an ne2k driver for FreeDOS, you could use the normal network stack. The backend we're currently using is https://github.com/benjamincburns/websockproxy.

copy avatar Mar 14 '17 21:03 copy

I had this same idea. I'd like to run some old BBS software in DOSBox/FreeDOS on a server, using a websocket gateway to RIPTerm 1.54 running from the browser.

cgorringe avatar Mar 17 '17 08:03 cgorringe

if there is any interest in this still remaining you might want to try looking at this https://en.wikipedia.org/wiki/Hayes_command_set its the general standard for modems.

An example implementation can be seen here https://github.com/nandhp/atduck

jfmherokiller avatar Aug 23 '18 22:08 jfmherokiller

@jfmherokiller I'm definitely still interrested, just totally lost track and hadn't looked in a while... I don't think I really need the full hayes support, as I should be able to ignore any AT* other than ATDT * where * is host:port ... and even then, I can probably ignore that if I can activate the terminal in a connected mode.

tracker1 avatar Jul 11 '22 22:07 tracker1