The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-23-2008
ust ust is offline
Registered User
 

Join Date: Feb 2005
Posts: 93
Stumble this Post!
some key are not key

I found that my unix box can't use ctrl-C to break the process ( stopping a running process from the terminal--e.g. a long document being read with "more".) , the TERM setting is vt220 now , can advise how to fix it ? thx
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 04-23-2008
Registered User
 

Join Date: Dec 2005
Posts: 74
Stumble this Post!
Thumbs up

use the command
stty intr "^F"

for typing ^F you should use the following key combination

<ctrl-v><ctrl-f>

if any issue let me know

Best Regards,
Rakesh UV
Reply With Quote
  #3 (permalink)  
Old 04-24-2008
ust ust is offline
Registered User
 

Join Date: Feb 2005
Posts: 93
Stumble this Post!
Quote:
Originally Posted by uvrakesh View Post
use the command
stty intr "^F"

for typing ^F you should use the following key combination

<ctrl-v><ctrl-f>

if any issue let me know

Best Regards,
Rakesh UV
thx reply ,

But I am too understand what I need to do to fix it ? thx
Reply With Quote
  #4 (permalink)  
Old 04-24-2008
ust ust is offline
Registered User
 

Join Date: Feb 2005
Posts: 93
Stumble this Post!
Quote:
Originally Posted by ust View Post
thx reply ,

But I am too understand what I need to do to fix it ? thx
I have a stupid suggestion , if ctrl-Z works , is it OK to set to when user press ctrl-C , it will send the ctrl-Z key ? thx
Reply With Quote
  #5 (permalink)  
Old 04-30-2008
Registered User
 

Join Date: Dec 2005
Posts: 74
Stumble this Post!
if you run the command
stty intr "^F"

then ^F works as a ^C

you can do the same for ^C

stty intr "^C"

now your ^C will works as you expected, let me know if you face a problem
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 04:53 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0