Virtual H89 Computer Serial-to-Ethernet Device by Norberto Collado

Serial ports may use the "_att" (attach) property to attach a built-in class to handle the port input/output. See Virtual H89 Computer Serial Ports for more detail. One such class is "TelnetSerial", which is similar to the "Serial to Ethernet" device used on real hardware to extend serial ports onto the internet. This class takes two or three arguments. First is the hostname (or IP address) on which to listen, second is the port number to listen on, and the optional third is the keyword "modem" which indicates whether the modem control lines should follow connection status and/or control the connection. If "modem" is specified, the H89 may drop DTR to force a disconnect, and will see CTS, DSR, and DCD asserted when/while a connection is made. Otherwise, modem control lines are ignored (CTS, DSR, and DCD are always asserted).

When using telnet clients to connect, remember to turn off "line by line" mode (i.e. set "mode character"). For standard Linux/Unix telnet, this can be done in the ~/.telnetrc file using entries like:

H19telnet.jar

Since much of the H8/H89 software expects an H19 terminal, and most telnet clients don't emulate an H19, the JAVA program H19telnet.jar is provided. It presents the same H19 GUI used for the Virtual H8/H89, except without any computer interfaces or indicators. This program takes one to three arguments. If an argument is an existing file, it is assumed to be a confiuration file (default is "~/.v19rc"). The first non-file argument is assumed to be the host for the connection. The second (optional) is assumed to be the port number (default is port 23 - the standard telnet port).

Additional properties supported:

h19_log
Keep a log of output to the H19 (over the telnet connection). First parameter is the file, second (optional) is the letter 'a' which means to append to an existing file (instead of truncating the file).
h19_host
Default host to connect to.
h19_port
Default port number to use for connections.

Additional properties are described in Virtual H19 Terminal.

Diablo630telnet.jar

Similar to H19telnet.jar, there is a telnet version of the Diablo630 app. This may be connected to printer serial ports that are extended over ethernet. Commandline arguments are of the form "key=value". Except for "conf", all have a property equivalent that is prefixed with "diablo630_".

conf
The config file to use for properties. Default is "~/.diablo630rc".
host
The host to connect with.
port
The port number to connect on. Default is 23.
file
The initial output file name.

Additional properties are described in Virtual Diablo 630 Printer.

This may be used for both real hardware as well as the simulator.