emacs-pretest-bug
[Top][All Lists]
Advanced

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

suggestion: enable SIGNALS_VIA_CHARACTERS in s/gnu-linux.h


From: Eric Hanchrow
Subject: suggestion: enable SIGNALS_VIA_CHARACTERS in s/gnu-linux.h
Date: Wed, 21 Jun 2006 17:33:37 -0700
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

For a long time I'd been annoyed that I couldn't use C-c C-c to
interrupt processes that I'd started via "sudo" in shell-mode.  For
example, I'd type

        M-x shell RET

then

        sudo find / 

then as it spewed tons of lines into the shell buffer, I'd frantically
type C-c C-c, to no avail.  This was only a problem on GNU/Linux,
however; on FreeBSD, for example, C-c C-c works nicely.

Anyway, someone suggested that I try enabling (i.e., uncommenting)
SIGNALS_VIA_CHARACTERS in s/gnu-linux.h.  I did that, and it worked
fine -- and in fact has been working fine for months, on both a 2.4
and a 2.6 kernel.

I wonder, then, if it's time to reactivate that.  The comment which
says it doesn't work appears to be thirteen years old; presumably the
Linux kernel has changed since then ;-)

In GNU Emacs 22.0.50.12 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2006-06-16 on debian
configured using `configure '--enable-maintainer-mode''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Shell

Minor modes in effect:
  erc-autojoin-mode: t
  erc-match-mode: t
  display-time-mode: t
  shell-dirtrack-mode: t
  iswitchb-mode: t
  encoded-kbd-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
ESC x r e p o r t - e m TAB b u TAB RET

Recent messages:
Loading ansi-color...done
Loading grep...done
I guess we don't have tabbar available.
Loading /home/erich/.emacs.d/erc-stuff.el (source)...done
Loading windmove...done
Loading find-func...done
Loading eldoc...done
Loading vc...done
For information about the GNU Project and its goals, type C-h C-p.
Loading emacsbug...done

-- 
He who refuses to do arithmetic is doomed to talk nonsense.
        -- John McCarthy




reply via email to

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