Operating System - Tru64 Unix
1753954 Members
7378 Online
108811 Solutions
New Discussion юеВ

Terminal hangs when pasting text in vi editor insert mode

 
SOLVED
Go to solution
Nasimuddin Ansari_1
Occasional Advisor

Terminal hangs when pasting text in vi editor insert mode

Hi All,
We are using SSH Tectia Client to connect with our Tru64 5.1B-4 servers.

Often we need to copy text from workstation text editor and pasted into Unix file by opening it in vi insert mode.

If the text is small in number (say 5-8 lines), it works well.

But when copied text is large (8+ lines), in vi editor, few lines of text will be copied and terminal session hangs. Even we are not able to quit form vi. We close ssh tectia client session and open new one to work further.

Any solution for this problem. TIA
8 REPLIES 8
Rob Leadbeater
Honored Contributor

Re: Terminal hangs when pasting text in vi editor insert mode

Hi,

I would rule out a problem with the SSH client first. Try using PuTTY and see if that has the same problem...

http://www.chiark.greenend.org.uk/~sgtatham/putty/

Hope this helps,

Regards,

Rob
Nasimuddin Ansari_1
Occasional Advisor

Re: Terminal hangs when pasting text in vi editor insert mode

With putty also, we are facing same problem.
Vladimir Fabecic
Honored Contributor

Re: Terminal hangs when pasting text in vi editor insert mode

SO you are having that problem using SSH connection.
Do you have the same problem using simple telnet connection?
Is there a firewall between TRU64 server and client?
Can you give more information about network configuration?
In vino veritas, in VMS cluster
Nasimuddin Ansari_1
Occasional Advisor

Re: Terminal hangs when pasting text in vi editor insert mode

Yes, Problem exist with telnet connection too.
In the same enviornment, other services are working.

In fact this vi problem does not encounter when working with HP-UX servers.
Vladimir Fabecic
Honored Contributor

Re: Terminal hangs when pasting text in vi editor insert mode

Terminal connections can be sensitive to network problems, too.
It is hardly possible that it can be vi problem (but not impossible, of course).
Can you ask your network guy about port settings of port where you alpha server is connected (autonegotiation)?
What is your network interface set in SRM console?
You can isolate if this problem is network problem or vi problem by doing the following:
Connect your PC notebook directly to serial port of you alpha server and try to insert 10 lines in vi editor.
In vino veritas, in VMS cluster
Hein van den Heuvel
Honored Contributor
Solution

Re: Terminal hangs when pasting text in vi editor insert mode

I've experienced similar issues in the past with various emulators, but never with PuTTY.

An other thing to try, when doubting vi speficially, is to use the lightest possible terminal reader on the system.
For testing I tend to use: cat > x
See if that 'keeps up' or locks up.

fwiw,
Hein.



Nasimuddin Ansari_1
Occasional Advisor

Re: Terminal hangs when pasting text in vi editor insert mode

Hi All,
Since we are facing same problem with all of Tru64 server located on different network segment scatter in different campus, it should not be network problem. In the same network segments, HP-UX servers are working fine.

Surprisingly, 'cat > filename' trick is working fine. Thanks for this suggession.

We are using same terminal emulator to connect with all machine running HU-UX and Tru64, we are facing the hanging problem only in Tru64 enviornment.

Any setting / variable change at server side is required?

Thanks to all.
Nasimuddin Ansari_1
Occasional Advisor

Re: Terminal hangs when pasting text in vi editor insert mode

It seems compatibility issue of terminal emulator & OS editor. Problem not resolved.