Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
Operating System - Microsoft
cancel
Showing results for 
Search instead for 
Did you mean: 

Copy Pasting on HP-UX terminals

SOLVED
Go to solution
Shivkumar
Super Advisor

Copy Pasting on HP-UX terminals

Hi,

I use SecureCRT Version 5.5.3 to connect to HP unix servers.

Sometime when i copy and paste to the terminal i see the command pasted 2 times.

Is this problem with terminal or secureCRT ?
I usually see this problem with couple of unix servers.

Thanks,
Shiv
13 REPLIES
Michal Kapalka (mikap)
Honored Contributor

Re: Copy Pasting on HP-UX terminals

hi,

its a setting of your session,

did you try to make the same setting from scratch ???

mikap
Bill Hassell
Honored Contributor

Re: Copy Pasting on HP-UX terminals

There are many ways to copy and paste with SecureCRT. You can highlight the text and press CTRL+Insert, then paste the result in the same window or Notepad or Word or another SecureCRT windows with Shift+Insert.

Or you can highlight the text, then press the left mouse button and you'll see a selection of copy/paste options. In the same window, the copy+paste option is quite useful.


Bill Hassell, sysadmin
Shivkumar
Super Advisor

Re: Copy Pasting on HP-UX terminals

I was trying to copy from notepad and pasting on terminals.
Steven Schweda
Honored Contributor

Re: Copy Pasting on HP-UX terminals

> I was trying to copy from notepad and
> pasting on terminals.

If the problem is with copy and paste between
two programs running on a Windows system,
then does it really have anything to do with
HP-UX?
Bill Hassell
Honored Contributor

Re: Copy Pasting on HP-UX terminals

> I was trying to copy from notepad and pasting on terminals.

Still lots of choices: How did you copy from Notepad? Did you highlight the text then use CTRL+Insert or CTRL+v? Or have you turned on the Windows copy-paste option in SecureCRT (see http://www.vandyke.com/support/tips/nl102004.html for details). And when you pasted the text, did you use CTRL-v or Shift+Insert? Or do you use a special macro that enables the right mouse button to paste text?

Is this behavior 100% repeatable or is it erratic? Do you have a flaky keyboard or mouse? Are you pasting into a vi session or just on the shell's command line? Or are you pasting into a special application?


Bill Hassell, sysadmin
Shivkumar
Super Advisor

Re: Copy Pasting on HP-UX terminals

I have you turned on the Windows copy-paste option in SecureCRT.

I become powerbroker user and paste the commands on the shell prompt from mouse middle button for paste.

Is there any command to refresh terminal/tty ?
Bill Hassell
Honored Contributor

Re: Copy Pasting on HP-UX terminals

> I become powerbroker user and paste the commands on the shell prompt from mouse middle button for paste.

It is fairly unusual to use a 3 button mouse -- this is more common with Xwindows. Try using standard Windows shortcuts instead, Shift+Insert or Ctrl-v.

> Is there any command to refresh terminal/tty ?

Refresh? Do you mean reset the SecureCRT settings? Or do you mean how to recall a previous shell command?


Bill Hassell, sysadmin
Shivkumar
Super Advisor

Re: Copy Pasting on HP-UX terminals

I mean refreshing the tty terminals. I know there is some commands but don't remember now.
Bill Hassell
Honored Contributor
Solution

Re: Copy Pasting on HP-UX terminals

> I mean refreshing the tty terminals.

I don't know what refresh means. Do you mean how to clear the screen? If you are running vi, then the character CTRL-L will rewrite the screen. There is no such feature in the shell as the shell does not remember the screen contents.


Bill Hassell, sysadmin
Shivkumar
Super Advisor

Re: Copy Pasting on HP-UX terminals

Thanks Bill.

Sometime tty terminal freezes and we can't type anything on the terminal. This is probably due to some mistake while type keyboard characters.

So what are those characters which locks the terminals and how to unlock it ?

Dennis Handly
Acclaimed Contributor

Re: Copy Pasting on HP-UX terminals

>So what are those characters which locks the terminals and how to unlock it?

After years, I finally figured out how to do this with an hpterm. Just use xmodmap and create a reset term key.
But I doubt SecureCRT is the same.
Bill Hassell
Honored Contributor

Re: Copy Pasting on HP-UX terminals

> So what are those characters which locks the terminals and how to unlock it ?

Dennis is correct about HP terminals (hpterm and Reflection for HP). The HP terminals are quite sophisticated and binary files can send escape sequences to the emulator that leave it in an undefined state. However, SecureCRT emulates dumb terminals and they do not have as many features as HP smart terminals. But garbage characters can confuse the emulator so to reset the terminal, select Edit -> Reset.


Bill Hassell, sysadmin
Joseph P. Smith
Regular Advisor

Re: Copy Pasting on HP-UX terminals

> So what are those characters which locks the terminals and how to unlock it ?

Could xon (ctl-s)characters be in the mix of characters in the data stream? Therefore, if you press the ctl-q ("x-off") the terminal will start scrolling.

Just an easy "Perhaps."