Short: AS225R2 telnetvg client Type: comm/net Uploader: mlelstv@serpens.rhein.de Author: mlelstv@serpens.rhein.de Left with an old braindamaged telnet client from the AS225R1 package and a pretty minimal telnet client for the beta-AS225R2 I decided to write my own. The telnet client is not complete to the telnet protocol specs but works fine with common telnet servers (say on SunOS). One nice feature is that it supports both modes of the CON: handler. It either uses cooked input (including the CON: handlers editing and history features) or raw input depending on how the other side handles ECHO mode. How to use: TELNETVG HOST/A,PORT,DEBUG/S HOST/A - required host name or IP number in dotted decimal notation PORT - optional TCP port number or name (from db/services), default is the "shell" port or 23. DEBUG/S - generates lots of debugging output through debug.lib. You should use Sushi to redirect this output away from the serial port (or just not use this switch.. it is really for debugging only). The telnet program looks for the environment or shell variable TERM to inform the other side about your terminal type (unfortunately there is no provision for the window size in the telnet protocol). If there is no TERM variable then the string "amiga" is used. You can interrupt the telnet program by inserting ^] (`control' plus `]') in the input stream. In RAW mode this happens immediately. In CON mode you have to hit return. When interrupted you get a "> " prompt where you can enter a few commands. Any unknown input (like just hitting return) will present you a menu with valid commands. Currently four commands are recognized: quit - terminate telnet session esc - send the escape character ('^]') to the other side raw - continue connection in RAW mode con - continue connection in CON mode Since you have to hit return when interrupting in CON mode this extra character is stripped from the input IF it occurs directly after the interrupt character. It is likely that this program also works with AmiTCP and the socket.library from Henning Schmiedehausen (also on Aminet) but I didn't try it. Michael van Elst