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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why doesn't CTRL-C interrupt my programs?

Shell

Why doesn't CTRL-C interrupt my programs?

by  pcunix  Posted    (Edited  )
From http://pcunix.com/SCOFAQ/scotec6.html#delkey :

Because, by default, SCO systems set interrupt to the DELETE key, not CTRL-C.If you find that unbearable, you can easily change it; for example,

stty intr ^C


will change your interrupt on Bourne or Korn shells. In this example, you actually type CTRL-C; if you are in vi adding it to your .profile, type CTRL-V and then CTRL-C

This can be added to .profile (or whatever startup file your shell uses) or to /etc/profile.
Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top