help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: basic question: going back to dired


From: Pascal J. Bourguignon
Subject: Re: basic question: going back to dired
Date: Thu, 24 Jul 2008 19:59:26 +0200
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/22.2 (gnu/linux)

"Juanma Barranquero" <lekktu@gmail.com> writes:
> It is as arbitrary as C-c to killing a program, [...]

That's exactly because it is arbitrary that C-c is as linked to
killing a program as you believe.  It all depend on you stty setting:

[pjb@hubble ~]$ stty -a
speed 38400 baud; rows 62; columns 159; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = 
<undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;
werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff 
-iuclc -ixany -imaxbel -iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt 
echoctl echoke
[pjb@hubble ~]$ stty intr ^A
[pjb@hubble ~]$ sleep 60
^A
[pjb@hubble ~]$ stty intr ^C
[pjb@hubble ~]$ sleep 60
^C
[pjb@hubble ~]$ 

And yes, C-c is bound to intr = interrupt (SIGINT), not to quit which
is the true process kill (SIGKILL).

C-c is INTERRUPT!  Not kill.


-- 
__Pascal Bourguignon__                     http://www.informatimago.com/

PLEASE NOTE: Some quantum physics theories suggest that when the
consumer is not directly observing this product, it may cease to
exist or will exist only in a vague and undetermined state.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]