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

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

bug#7248: In term, SIGWINCH is delayed until a key is typed


From: Rob Browning
Subject: bug#7248: In term, SIGWINCH is delayed until a key is typed
Date: Tue, 19 Oct 2010 20:58:09 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

It appears that a SIGWINCH to a make-term is being delayed until a key
is typed.

To reproduce:

  Create sigwinch-test:

    #!/usr/bin/env perl
    use strict;

    $SIG{'WINCH'} = sub { print "SIGWINCH at ".localtime()."\n" };
    sleep 120;

  Create sigwinch-test.el:

    (set-buffer (apply 'make-term "SIGWINCH Test" "./sigwinch-test" nil))
    (term-mode)
    (term-char-mode)
    (switch-to-buffer "*SIGWINCH Test*")

  Then:

    1. Run "emacs -q --no-splash -l sigwinch-test.el" under X11.
    2. Resize the Emacs window.
    3. Type a key.

The SIGWINCH is delayed until the key is typed instead of being sent
immediately.  Here's the original report:

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=583373

Is that the expected behavior?

Thanks
-- 
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4





reply via email to

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