From 0efc08b6b689db18f5288c4ea3e8a0940d07114b Mon Sep 17 00:00:00 2001 From: curt Date: Mon, 20 May 2002 15:53:14 +0000 Subject: [PATCH] Bernie Bright: Ensure lines sent to clients are CRLF terminated. Ensure the dump command null terminates its output string. Removed view command and comments. --- src/Network/telnet.cxx | 144 +++++++++-------------------------------- 1 file changed, 30 insertions(+), 114 deletions(-) diff --git a/src/Network/telnet.cxx b/src/Network/telnet.cxx index 67f7f8279..d0c23d677 100644 --- a/src/Network/telnet.cxx +++ b/src/Network/telnet.cxx @@ -42,6 +42,7 @@ #if !defined(SG_HAVE_NATIVE_SGI_COMPILERS) SG_USING_STD(strstream); +SG_USING_STD(ends); #endif /** @@ -87,8 +88,6 @@ private: * Return a "Node no found" error message to the client. */ void node_not_found_error( const string& node_name ); - - void view_cmd( const vector& ); }; /** @@ -160,28 +159,6 @@ getValueTypeString( const SGPropertyNode *node ) /** * We have a command. * - * TODO: possible future commands: - * panel - * panel load [path] - * panel mouse