MPE/iX TELNET CLIENT -------------------- Version 1.0.1 3/25/94 Intro ----- This is the first cut at an MPE/iX telnet client. Telnet is NetIPC based for now, but Berkeley sockets is fully implemented on MPE/iX, this may change. As of this release, telnet is NOT NVT compliant as specified in RFC 854. Telnet has only been tested against my version of telnetd on HP-UX 9.01 and may not work against other telnet servers. I hope to make telnet NVT compliant soon, and then add other features later. Installation ------------ Telnet requires privileged mode capability (PM) to run so it must reside in a group that has PM capability. Other than that, there are no installation requirements. How to use ---------- To use telnet, run the telnet program with the name of the host computer in the INFO= parameter of the :RUN or :XEQ command. The host name may be followed by an optional port number. If no port is specified, the default port of 23 is used. If no INFO= supplied, telnet command mode is entered. Examples: RUN TELNET;INFO="SAM" <- Connects to computer "SAM" TELNET BUGS <- Connects to a computer named "BUGS" TELNET "DAFFY 13" <- Gets the current time off host "DAFFY" TELNET "192.1.1.3" <- Connects to IP address 192.1.1.3 Command mode ------------ Command mode may be entered by running telnet with no INFO= or by entering the telnet escape character Control-], indicated with "^]". Commands from command mode are: CLOSE Closes the current connection. (Subsequent OPEN does not work due to bugs.) HELP or ? Display list of available commands. OPEN host [port] Open a connection to the specified host and and port. Default port is 23. QUIT Exit telnet. STATUS Display current status. TOGGLE Toggles current telnet parameters on and off. TOGGLE LOGGING Toggles telnet logging to file TELNETLG. When logging is on, I/Os are written to log file in readable format. TOGGLE OPTIONS Toggles display of telnet option processing. TOGGLE ? Displays list of options that may be toggled. !command MPE/iX command Returns to normal mode if a connection is established. What works ---------- The following is a list of things that work with telnet: . Telneting to an HP-UX 9.01 based telnetd seems to work fine. Running all the usual Unix programs, like vi, more, mail/news readers, all appear to work fine. What doesn't work ----------------- The following is a list of things that don't work with telnet: . There are occasional hangs when using the telnet escape ^]. I have minimized the frequency of these hangs, but they still seem to happen. They can be released by doing an :ABORTIO on the terminal port of the telnet client. . Using telnet through a DTC seems to have fewer funnies at this time than using telnet over VT. . Multi-character terminal sends don't work through VT, although they appear to work through a DTC. Multi-characters sends include function keys, arrow and editing keys with the (A) strap on. . Block mode doesn't work. . Control-C and Control-S to stop output are pretty slow. . Closing a connection and opening a new one from command mode does not work. . Telnet must be run from a terminal. i.e. It may not be run from a job or with its $STDIN redirected to a file. Dave Elward Taurus Software, Inc. 1032 Elwell Ct., Suite 245 Palo Alto CA, 94303 (415) 961-1323 x321 (415) 961-1454 FAX dave@taurus.com