<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic telnet data loss in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-data-loss/m-p/3162761#M569930</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have a problem on my HP-UX10.20 platform.   When a user pastes a 'largish' block of data into a telnet session only a small portion is being received.&lt;BR /&gt;&lt;BR /&gt;I used the following test harness to diagnose the problem:&lt;BR /&gt;&lt;BR /&gt;/tmp/read.sh&lt;BR /&gt;&lt;BR /&gt;#!/bin/ksh&lt;BR /&gt;trap "stty echo" 1 0&lt;BR /&gt;stty -echo&lt;BR /&gt;while true&lt;BR /&gt;do&lt;BR /&gt;    read line&lt;BR /&gt;    echo "$line"&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;Test Data&lt;BR /&gt;&lt;BR /&gt;0...:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....&lt;BR /&gt;|&lt;BR /&gt;1...:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....&lt;BR /&gt;|&lt;BR /&gt;2...:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....&lt;BR /&gt;|&lt;BR /&gt;3...:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....&lt;BR /&gt;|&lt;BR /&gt;4...:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....&lt;BR /&gt;|&lt;BR /&gt;5...:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....&lt;BR /&gt;|&lt;BR /&gt;6...:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....&lt;BR /&gt;|&lt;BR /&gt;7...:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....&lt;BR /&gt;|&lt;BR /&gt;8...:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....&lt;BR /&gt;|&lt;BR /&gt;9...:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....&lt;BR /&gt;|&lt;BR /&gt;10...:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....&lt;BR /&gt;|&lt;BR /&gt;&lt;BR /&gt;To reproduce, I ran the read.sh script, then pasted 8 of the test data lines to &lt;BR /&gt;the server.  All 8 were displayed correctly.  When I try with 10 lines of test data, only the last 28 chars(or 29 or 30 depending on what CRLF's are being sent) are received.&lt;BR /&gt;&lt;BR /&gt;However, this test works fine on my HP-UX11 &amp;amp; AIX  platforms so I was wondering if it is a patch problem with 10.20.&lt;BR /&gt;&lt;BR /&gt;I have made sure any telnet patches that looked suitable are installed PHNE_13413, PHNE_24821, PHNE_24822, PHNE_21872 but I still have the problem.&lt;BR /&gt;&lt;BR /&gt;Any help pointing me in the right direction to resolve this would be much appreciated.&lt;BR /&gt;&lt;BR /&gt;Regards Steve.</description>
    <pubDate>Tue, 13 Jan 2004 05:53:27 GMT</pubDate>
    <dc:creator>Steve H_1</dc:creator>
    <dc:date>2004-01-13T05:53:27Z</dc:date>
    <item>
      <title>telnet data loss</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-data-loss/m-p/3162761#M569930</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have a problem on my HP-UX10.20 platform.   When a user pastes a 'largish' block of data into a telnet session only a small portion is being received.&lt;BR /&gt;&lt;BR /&gt;I used the following test harness to diagnose the problem:&lt;BR /&gt;&lt;BR /&gt;/tmp/read.sh&lt;BR /&gt;&lt;BR /&gt;#!/bin/ksh&lt;BR /&gt;trap "stty echo" 1 0&lt;BR /&gt;stty -echo&lt;BR /&gt;while true&lt;BR /&gt;do&lt;BR /&gt;    read line&lt;BR /&gt;    echo "$line"&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;Test Data&lt;BR /&gt;&lt;BR /&gt;0...:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....&lt;BR /&gt;|&lt;BR /&gt;1...:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....&lt;BR /&gt;|&lt;BR /&gt;2...:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....&lt;BR /&gt;|&lt;BR /&gt;3...:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....&lt;BR /&gt;|&lt;BR /&gt;4...:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....&lt;BR /&gt;|&lt;BR /&gt;5...:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....&lt;BR /&gt;|&lt;BR /&gt;6...:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....&lt;BR /&gt;|&lt;BR /&gt;7...:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....&lt;BR /&gt;|&lt;BR /&gt;8...:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....&lt;BR /&gt;|&lt;BR /&gt;9...:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....&lt;BR /&gt;|&lt;BR /&gt;10...:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....&lt;BR /&gt;|&lt;BR /&gt;&lt;BR /&gt;To reproduce, I ran the read.sh script, then pasted 8 of the test data lines to &lt;BR /&gt;the server.  All 8 were displayed correctly.  When I try with 10 lines of test data, only the last 28 chars(or 29 or 30 depending on what CRLF's are being sent) are received.&lt;BR /&gt;&lt;BR /&gt;However, this test works fine on my HP-UX11 &amp;amp; AIX  platforms so I was wondering if it is a patch problem with 10.20.&lt;BR /&gt;&lt;BR /&gt;I have made sure any telnet patches that looked suitable are installed PHNE_13413, PHNE_24821, PHNE_24822, PHNE_21872 but I still have the problem.&lt;BR /&gt;&lt;BR /&gt;Any help pointing me in the right direction to resolve this would be much appreciated.&lt;BR /&gt;&lt;BR /&gt;Regards Steve.</description>
      <pubDate>Tue, 13 Jan 2004 05:53:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-data-loss/m-p/3162761#M569930</guid>
      <dc:creator>Steve H_1</dc:creator>
      <dc:date>2004-01-13T05:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: telnet data loss</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-data-loss/m-p/3162762#M569931</link>
      <description>I've never seen this problem on 10.20. I suspect what you really have is a speed/duplex mismatch between the UNIX box and its corresponding switch port. Surprisingly, typical telnet applications will work just well enough with a duplex mismatch to seem normal until hi i/o rates  occur. Check the settings on BOTH ends and make certain that they are hard set. Next, try some ftp transfers of 10MB files or so and make sure than the transfer rates in both directions are reasonable (~ 50% or so of theoretical maximum).&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Jan 2004 10:17:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-data-loss/m-p/3162762#M569931</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-01-13T10:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: telnet data loss</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-data-loss/m-p/3162763#M569932</link>
      <description>This could also be a problem with the telnet client or the clipboard on the windows client.&lt;BR /&gt;&lt;BR /&gt;Investigate A. Clay's idea first, I think its a better one. If nothing is found, try a different telnet client or a pc with a different os.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 13 Jan 2004 10:29:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-data-loss/m-p/3162763#M569932</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-01-13T10:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: telnet data loss</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-data-loss/m-p/3162764#M569933</link>
      <description>Thanks for the replies,&lt;BR /&gt;&lt;BR /&gt;I will investigate for any speed/duplexing issues.&lt;BR /&gt;&lt;BR /&gt;I should have put in my original post that the problem exhibits itself on 3 different telnet clients which is what made me think it's more server based(telnetd)than client side.&lt;BR /&gt;&lt;BR /&gt;Just as an aside, I printed off the telnet conversations between RGTERM and the HPUX 10.20 (which exhibits the problem) and 11.00 (which works ok):&lt;BR /&gt;&lt;BR /&gt;HP-UX 10.20 Telnet Negotiation&lt;BR /&gt;&lt;BR /&gt;&amp;lt;-- IAC DO   ENVIRONMENT&lt;BR /&gt;--&amp;gt; IAC WONT ENVIRONMENT&lt;BR /&gt;&amp;lt;-- IAC DO   TERMINAL-TYPE&lt;BR /&gt;--&amp;gt; IAC WILL TERMINAL-TYPE&lt;BR /&gt;&amp;lt;-- IAC SB TERMINAL-TYPE ARG:1&lt;BR /&gt;--&amp;gt; IAC SB TTY-TYPE 0 MENTERM IAC SE&lt;BR /&gt;&amp;lt;-- IAC SE&lt;BR /&gt;&amp;lt;-- IAC DO   TERMINAL-SPEED&lt;BR /&gt;--&amp;gt; IAC WILL TERMINAL-SPEED&lt;BR /&gt;&amp;lt;-- IAC SB TERMINAL-SPEED ARG:1&lt;BR /&gt;--&amp;gt; IAC SB TERMINAL-SPEED 0 19200,19200 IAC SE&lt;BR /&gt;&amp;lt;-- IAC SE&lt;BR /&gt;&amp;lt;-- IAC WILL ECHO&lt;BR /&gt;--&amp;gt; IAC DO   ECHO&lt;BR /&gt;&amp;lt;-- IAC WILL SUPPRESS-GO-AHEAD&lt;BR /&gt;--&amp;gt; IAC DO   SUPPRESS-GO-AHEAD&lt;BR /&gt;&amp;lt;-- IAC DO   NAWS&lt;BR /&gt;--&amp;gt; IAC WILL NAWS&lt;BR /&gt;--&amp;gt; IAC SB NAWS 80 50 IAC SE&lt;BR /&gt;&amp;lt;-- IAC DO   FLOW-CONTROL&lt;BR /&gt;--&amp;gt; IAC WONT FLOW-CONTROL&lt;BR /&gt;&amp;lt;-- IAC DO   ECHO&lt;BR /&gt;--&amp;gt; IAC WONT ECHO&lt;BR /&gt;&lt;BR /&gt;HP-UX 11.00 Telnet Negotiation&lt;BR /&gt;&lt;BR /&gt;&amp;lt;-- IAC DO   ENVIRONMENT&lt;BR /&gt;--&amp;gt; IAC WONT ENVIRONMENT&lt;BR /&gt;&amp;lt;-- IAC DO   TERMINAL-TYPE&lt;BR /&gt;--&amp;gt; IAC WILL TERMINAL-TYPE&lt;BR /&gt;&amp;lt;-- IAC SB TERMINAL-TYPE ARG:1&lt;BR /&gt;--&amp;gt; IAC SB TTY-TYPE 0 MENTERM IAC SE&lt;BR /&gt;&amp;lt;-- IAC SE&lt;BR /&gt;&amp;lt;-- IAC DO   TERMINAL-SPEED&lt;BR /&gt;--&amp;gt; IAC WILL TERMINAL-SPEED&lt;BR /&gt;&amp;lt;-- IAC SB TERMINAL-SPEED ARG:1&lt;BR /&gt;--&amp;gt; IAC SB TERMINAL-SPEED 0 19200,19200 IAC SE&lt;BR /&gt;&amp;lt;-- IAC SE&lt;BR /&gt;&amp;lt;-- IAC WILL ECHO&lt;BR /&gt;--&amp;gt; IAC DO   ECHO&lt;BR /&gt;&amp;lt;-- IAC WILL SUPPRESS-GO-AHEAD&lt;BR /&gt;--&amp;gt; IAC DO   SUPPRESS-GO-AHEAD&lt;BR /&gt;&amp;lt;-- IAC DO   NAWS&lt;BR /&gt;--&amp;gt; IAC WILL NAWS&lt;BR /&gt;--&amp;gt; IAC SB NAWS 80 50 IAC SE&lt;BR /&gt;&amp;lt;-- IAC DO   FLOW-CONTROL&lt;BR /&gt;--&amp;gt; IAC WONT FLOW-CONTROL&lt;BR /&gt;&amp;lt;-- IAC DO   ECHO&lt;BR /&gt;--&amp;gt; IAC WONT ECHO&lt;BR /&gt;&lt;BR /&gt;Both chats seem identical.&lt;BR /&gt;&lt;BR /&gt;An interesting problem :)&lt;BR /&gt;&lt;BR /&gt;Regards Steve</description>
      <pubDate>Tue, 13 Jan 2004 11:10:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-data-loss/m-p/3162764#M569933</guid>
      <dc:creator>Steve H_1</dc:creator>
      <dc:date>2004-01-13T11:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: telnet data loss</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-data-loss/m-p/3162765#M569934</link>
      <description>Hi Steve,&lt;BR /&gt;&lt;BR /&gt;What does your 'stty -a" print?.&lt;BR /&gt;&lt;BR /&gt;Make sure your ixon and ixoff are set. &lt;BR /&gt;&lt;BR /&gt;$stty ixon&lt;BR /&gt;$stty ixoff&lt;BR /&gt;&lt;BR /&gt;and try.&lt;BR /&gt;&lt;BR /&gt;ixoff and ixon control the input/output queues of the terminal.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Tue, 13 Jan 2004 12:53:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-data-loss/m-p/3162765#M569934</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-01-13T12:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: telnet data loss</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-data-loss/m-p/3162766#M569935</link>
      <description>Thanks Sridhar that sorted it. &lt;BR /&gt;&lt;BR /&gt;I completely overlooked the stty settings and on our 10.20 platform ixon was being set but not ixoff.&lt;BR /&gt;&lt;BR /&gt;I set ixoff and all data copies and pastes perfectly.&lt;BR /&gt;&lt;BR /&gt;Thanks to all who replied.&lt;BR /&gt;&lt;BR /&gt;Regards Steve.</description>
      <pubDate>Wed, 14 Jan 2004 05:34:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-data-loss/m-p/3162766#M569935</guid>
      <dc:creator>Steve H_1</dc:creator>
      <dc:date>2004-01-14T05:34:01Z</dc:date>
    </item>
  </channel>
</rss>

