GNU bug report logs - #36879
26.2; OSC 52 paste in term/xterm.el not working

Previous Next

Package: emacs;

Reported by: daniel <at> ekloef.se (Daniel Eklöf)

Date: Wed, 31 Jul 2019 17:17:02 UTC

Severity: normal

Tags: patch

Found in version 26.2

Done: Mattias Engdegård <mattiase <at> acm.org>

Bug is archived. No further changes may be made.

Full log


Message #25 received at 36879 <at> debbugs.gnu.org (full text, mbox):

From: Mattias Engdegård <mattiase <at> acm.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: phst <at> google.com, daniel <at> ekloef.se, monnier <at> iro.umontreal.ca,
 36879 <at> debbugs.gnu.org
Subject: Re: bug#36879: 26.2; OSC 52 paste in term/xterm.el not working
Date: Sat, 3 Aug 2019 14:26:29 +0200
3 aug. 2019 kl. 14.08 skrev Eli Zaretskii <eliz <at> gnu.org>:
> 
> Where is the code that discards input if it arrives quickly and
> includes C-g?

In the kernel. When it receives the INTR char, it flushes any unread chars, unless NOFLSH is set.
You can try it out in your shell:

$ sleep 10
abc^C
$          ("abc" was discarded)
$ stty noflsh
$ sleep 10
xyz^C
$ xyz      ("xyz" was read by the shell)

However, NOFLSH doesn't help us in Emacs.





This bug report was last modified 5 years and 285 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.