[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: CTRL-C Doesn't work??!! ....

Kevin Traas wrote:
  >I've got a system here that I've been building from scratch - just to
  >***learn*** how Debian / Linux works from the ground up (right from
  >building my own boot disk - initrd, etc.).  I've got everything working
  >great; however....   Hitting CTRL-C does not kill a running process.

The `thing' that stops a running process is a signal; ctrl-c is a way to
send that signal.  However, that is dependent on the current binding
of keys; the binding is set by stty. 

`stty -a' will show you all the current bindings.  You apparently need
to set intr to ctrl-c, which you can do thus:

  stty intr '^c'

      Vote against SPAM: http://www.politik-digital.de/spam/
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
               PGP key from public servers; key ID 32B8FAA1
     "Ye have heard that it hath been said, Thou shalt love 
      thy neighbour, and hate thine enemy. But I say unto 
      you, Love your enemies, bless them that curse you, do 
      good to them that hate you, and pray for them which 
      despitefully use you, and persecute you;"          
                                     Matthew 5:43,44 

Reply to: