1820879 Members
3721 Online
109628 Solutions
New Discussion юеВ

COPY AND PASTE HANGUP

 
SOLVED
Go to solution
Brett Penza
Occasional Advisor

COPY AND PASTE HANGUP

When using a copy-paste procedure (ctl-c,ctl-v) in an application (AVANTE) on HP9000 (HP 11.00), the user terminal becomes locked up.
I remember fixing this by adding a few keystrokes to a .profile file in UNIX.
However, now it has happened again.
I seem to remember that by adding a keyword to a line in the .profile, this problem went away. But I can't remember what that was. Hopefully someone out there has a clue what I'm talking about here. Thanks.
-bdp
5 REPLIES 5
MarkSyder
Honored Contributor

Re: COPY AND PASTE HANGUP

Hi Brett.

I know nothing about Avante, but am puzzled by your use of CTRL c and CTRL v. This is the Microsoft way of copying and pasting: in Unix, CTRL c stops a command from running.

Does CTRL c definitely have a different function in Avante from that it has in other unix apps? May be worth checking the Avante instructions.

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
Victor Fridyev
Honored Contributor
Solution

Re: COPY AND PASTE HANGUP

Hi,

Mark is right: CTRL-C usually interrupt foreground processes. If AVANTE requires this sequence exactly, you can update the sequence with, e.g. stty intr ^F

HTH
Entities are not to be multiplied beyond necessity - RTFM
Brett Penza
Occasional Advisor

Re: COPY AND PASTE HANGUP

Thanks for responses.
The way it works specifically is:
In a text window in AVANTE, you press
Ctl-W
That makes the field a full text window.
Then you can use Ctl-C to copy highlighted text, then Ctl-V to paste it.
Yes, it is just like the Windows (I guess that is why Epicor wrote it like this)
Anyway, the Comment from Victor about stty
is ringing a bell. Because the fix for this (though I can't remember the exact syntax, did include the stty)
Please, humour a novice, and tell me what this stty stuff is all about. If you have the time to spare of course, Thanks.
Mark Grant
Honored Contributor

Re: COPY AND PASTE HANGUP

Bret,

"stty" sets the atributes of the terminal you are using. "stty -a" will show you your current setting. The interesting one for you in this case will have been the "intr = ^C". "intr" stands for "interupt" and so this entry shows that to do an interupt on your terminal, you need to press ^C (CNTRL C). To change it, you would just enter "stty intr "

Many of the entries don't make too much sense if you are running in a virtual terminal like "xterm". Other examples are "stty -erase ^H" will set the backspace character to ^H and "stty onlcr" stands for "on new line carriage return". This means that when the system issues a new line, the tty driver will also issue a "carriage return". That one is often needed on serially attached line printers to stop "staircase" effect.

stty is fun but you can read more of it with "man stty".
Never preceed any demonstration with anything more predictive than "watch this"
MarkSyder
Honored Contributor

Re: COPY AND PASTE HANGUP

stty is fun? Mark, you need a holiday ;-)

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing