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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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. |
| |||
| 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 |
| |||
| 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? |
| ||||
| 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 |
| Thread Tools | |
| Display Modes | |
|
|