Unix Technical Forum

Telnet/telnetd buffering problem on HPUX 10.20

This is a discussion on Telnet/telnetd buffering problem on HPUX 10.20 within the HP-UX Operating System forums, part of the Unix Operating Systems category; --> I have a problem on my HP-UX10.20 platform. When a user pastes a 'largish' block of data into a ...


Go Back   Unix Technical Forum > Unix Operating Systems > HP-UX Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2008, 05:34 PM
Third_of_Five
 
Posts: n/a
Default Telnet/telnetd buffering problem on HPUX 10.20

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.

I used the following test harness to diagnose the problem:

/tmp/read.sh

#!/bin/ksh
trap "stty echo" 1 0
stty -echo
while true
do
read line
echo "$line"
done

Test Data

0...:....|....:....|....:....|....:....|....:....| ....:....|....:....|....:....|
1...:....|....:....|....:....|....:....|....:....| ....:....|....:....|....:....|
2...:....|....:....|....:....|....:....|....:....| ....:....|....:....|....:....|
3...:....|....:....|....:....|....:....|....:....| ....:....|....:....|....:....|
4...:....|....:....|....:....|....:....|....:....| ....:....|....:....|....:....|
5...:....|....:....|....:....|....:....|....:....| ....:....|....:....|....:....|
6...:....|....:....|....:....|....:....|....:....| ....:....|....:....|....:....|
7...:....|....:....|....:....|....:....|....:....| ....:....|....:....|....:....|
8...:....|....:....|....:....|....:....|....:....| ....:....|....:....|....:....|
9...:....|....:....|....:....|....:....|....:....| ....:....|....:....|....:....|
10..:....|....:....|....:....|....:....|....:....| ....:....|....:....|....:....|

To reproduce, I ran the read.sh script, then pasted 8 of the test data
lines to 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. This happens with 2
different telnet clients.

However, this test works fine on my HP-UX11 & AIX platforms from the
same client so I was wondering if it is a patch problem with 10.20.

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.

Any help pointing me in the right direction to resolve this would be
much appreciated.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-16-2008, 05:34 PM
Johnny Whistler
 
Posts: n/a
Default Re: Telnet/telnetd buffering problem on HPUX 10.20

Third_of_Five wrote:
> 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.
>
> I used the following test harness to diagnose the problem:
>
> /tmp/read.sh
>
> #!/bin/ksh
> trap "stty echo" 1 0
> stty -echo
> while true
> do
> read line
> echo "$line"
> done
>
> Test Data
>
> 0...:....|....:....|....:....|....:....|....:....| ....:....|....:....|....:....|
> 1...:....|....:....|....:....|....:....|....:....| ....:....|....:....|....:....|
> 2...:....|....:....|....:....|....:....|....:....| ....:....|....:....|....:....|
> 3...:....|....:....|....:....|....:....|....:....| ....:....|....:....|....:....|
> 4...:....|....:....|....:....|....:....|....:....| ....:....|....:....|....:....|
> 5...:....|....:....|....:....|....:....|....:....| ....:....|....:....|....:....|
> 6...:....|....:....|....:....|....:....|....:....| ....:....|....:....|....:....|
> 7...:....|....:....|....:....|....:....|....:....| ....:....|....:....|....:....|
> 8...:....|....:....|....:....|....:....|....:....| ....:....|....:....|....:....|
> 9...:....|....:....|....:....|....:....|....:....| ....:....|....:....|....:....|
> 10..:....|....:....|....:....|....:....|....:....| ....:....|....:....|....:....|
>
> To reproduce, I ran the read.sh script, then pasted 8 of the test data
> lines to 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. This happens with 2
> different telnet clients.
>
> However, this test works fine on my HP-UX11 & AIX platforms from the
> same client so I was wondering if it is a patch problem with 10.20.
>
> 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.
>
> Any help pointing me in the right direction to resolve this would be
> much appreciated.


Although our system is HP-UX hpfiscal B.11.11 9000/800 and this may
not be applicable to a system running 10.20, I write to tell you of my
recent experience. Development and IT Operations staff experienced a
similar problem after transferring on to the new HP-UX system from our
old Sequent Numa-Q box.

After much to-ing and fro-ing, and routing around on the ITRC forums,
I discovered a fix by amending our profiles to include stty ixoff (in
addition to any existing stty commands).

I hope this helps you as it was intensely annoying to lose the paste
functionality, and it was great to get it back again after a simple
one-line fix / kludge ;-)

regards

JB@work

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-16-2008, 05:35 PM
Alan D Johnson
 
Posts: n/a
Default Re: Telnet/telnetd buffering problem on HPUX 10.20

Johnny Whistler wrote:

> Third_of_Five wrote:
>
>> 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.
>>
>> I used the following test harness to diagnose the problem:
>>
>> /tmp/read.sh
>>
>> #!/bin/ksh
>> trap "stty echo" 1 0
>> stty -echo
>> while true
>> do
>> read line
>> echo "$line"
>> done
>>
>> Test Data
>>
>> 0...:....|....:....|....:....|....:....|....:....| ....:....|....:....|....:....|
>>
>> 1...:....|....:....|....:....|....:....|....:....| ....:....|....:....|....:....|
>>
>> 2...:....|....:....|....:....|....:....|....:....| ....:....|....:....|....:....|
>>
>> 3...:....|....:....|....:....|....:....|....:....| ....:....|....:....|....:....|
>>
>> 4...:....|....:....|....:....|....:....|....:....| ....:....|....:....|....:....|
>>
>> 5...:....|....:....|....:....|....:....|....:....| ....:....|....:....|....:....|
>>
>> 6...:....|....:....|....:....|....:....|....:....| ....:....|....:....|....:....|
>>
>> 7...:....|....:....|....:....|....:....|....:....| ....:....|....:....|....:....|
>>
>> 8...:....|....:....|....:....|....:....|....:....| ....:....|....:....|....:....|
>>
>> 9...:....|....:....|....:....|....:....|....:....| ....:....|....:....|....:....|
>>
>> 10..:....|....:....|....:....|....:....|....:....| ....:....|....:....|....:....|
>>
>>
>> To reproduce, I ran the read.sh script, then pasted 8 of the test data
>> lines to 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. This happens with 2
>> different telnet clients.
>>
>> However, this test works fine on my HP-UX11 & AIX platforms from the
>> same client so I was wondering if it is a patch problem with 10.20.
>>
>> 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.
>>
>> Any help pointing me in the right direction to resolve this would be
>> much appreciated.

>
>
> Although our system is HP-UX hpfiscal B.11.11 9000/800 and this may not
> be applicable to a system running 10.20, I write to tell you of my
> recent experience. Development and IT Operations staff experienced a
> similar problem after transferring on to the new HP-UX system from our
> old Sequent Numa-Q box.
>
> After much to-ing and fro-ing, and routing around on the ITRC forums, I
> discovered a fix by amending our profiles to include stty ixoff (in
> addition to any existing stty commands).
>
> I hope this helps you as it was intensely annoying to lose the paste
> functionality, and it was great to get it back again after a simple
> one-line fix / kludge ;-)
>
> regards
>
> JB@work
>

Just started seeing the same problem, Thanks. Had any problems w/ fonts?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-16-2008, 05:36 PM
S. Marquardt
 
Posts: n/a
Default Re: Telnet/telnetd buffering problem on HPUX 10.20

On 13 Jan 2004 07:44:06 -0800, Austin.France@cs.ramesys.com
(Third_of_Five) wrote:

>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.
>


We have the same problem with HP-UX 11.0 and 11.11.
Our solution:
Pauses in the paste function of our terminal emulation.

Stefan

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:39 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com