worley@compass.com (Dale Worley) (01/26/91)
From: cdp@hertz.njit.edu (Chris Peckham) If a sh script is used in place of the perl script, the telnet works (but I do not want to use sh :-) ). This tells me that the /etc/services and /etc/inetd.conf entries are correct? The underlying problem is that lines coming in from the network end in CR/LF (octal 015, 012), rather than LF (newline) alone. Have your script trim the CRs along with the LFs. The error message you are getting from the debugger is more interesting, and suggests that two fixes would be useful: 1) The parser should treat the uncommon whitespace characters ^M (CR) and ^K (vertical tab) as whitespace (as it now does for SPC, ^I, ^J, and ^L). 2) The debugger should strip ^M (and probably ^K and ^L) out of commands before trying to interpret them. Dale Dale Worley Compass, Inc. worley@compass.com -- Captain's Log, Star-date 6701.9: The weather is fine. Beam down Yeoman Rand and a six-pack.