Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Way to make CTRL-C do windows copy instead of kill?

Status
Not open for further replies.

Dirtbike

IS-IT--Management
Dec 9, 2002
81
US
I'm trying to get all the users to use windows CTRL-C and CTRL-V for cutting a pasteing but it don't work from either of the terminal emulation products I use. (procomm 4.8 and ice.tcp) UNIX sees the CTRL-C as a "kill now" and my users are screaming that it killed their session.
Any help would be greatly appreciated!!

Scott in Charlotte, NC
 
You'll have to change this behavior using the stty command. Perhaps put this in their .profile:

stty intr DEL

Check out the MAN page for stty.

# man stty

Good luck.
 
That would stop the INTR signal from closing the session but would not accomplish the copy/paste.

it is a function of the terminal emulator as to what key combinations (if any) interact with the clipboard.

"I'm trying to get all the users to use windows CTRL-C and CTRL-V for cutting a pasteing "

why?
 
I agree. It was only half the "fix". We use AnzioLite and TinyTERM, neither of which understand CNTL-C CNTL-V. They both use CNTL-INS and SHIFT-INS, but other emulation packages will certainly differ. In fact, different revisions of these two products behave differently.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top