Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!sol.ctr.columbia.edu!lll-winken!gauss.llnl.gov!casey From: casey@gauss.llnl.gov (Casey Leedom) Newsgroups: comp.protocols.tcp-ip Subject: Re: Want 8-bit/256 character clean TELNET session -- is it possible? Message-ID: <89883@lll-winken.LLNL.GOV> Date: 22 Jan 91 02:17:34 GMT References: <89689@lll-winken.LLNL.GOV> <89746@lll-winken.LLNL.GOV> <1991Jan21.091019.23563@erbe.se> <89861@lll-winken.LLNL.GOV> Sender: usenet@lll-winken.LLNL.GOV Reply-To: casey@gauss.llnl.gov (Casey Leedom) Organization: Lawrence Livermore National Laboratory Lines: 30 Nntp-Posting-Host: gauss.llnl.gov | From: casey@gauss.llnl.gov (Casey Leedom) | | [To use Annex ``raw telnet'' mode]: | | stty -break -lbreak # allow BREAKs to be passed through | stty iflow none oflow none # disable XON/XOFF processing | stty attn undef # disable "attention" character | telnet -r host port # ``TELNET'' ``raw'' to port@host | ^]toggle crmod # turn off CRLF mapping | ^]mode remote_echo # turn off local echoing | ^]set escape undef # turn off escape processing Opps! I shouldn't have done that from memory. It's really closer to: stty -break -lbreak # allow BREAKs to be passed through stty iflow none oflow none # disable XON/XOFF processing stty attn undef # disable "attention" character telnet -r host port # ``TELNET'' ``raw'' to port@host ^]toggle crlf # turn off CRLF mapping ^]mode character remote_echo # turn off local echoing ^]set escape U # turn off escape processing Further, I should note that this assumes that the current escape character, inherited from the tesc stty setting, is set to the default ``^].'' Oh, one other note, doing ``stty iflow none oflow none'' is also wrong because flow control may be set to eia which you don't want to turn off. Casey