GNU bug report logs -
#44320
[PATH] [27.1] Make sure send-string-to-terminal send all contents
Previous Next
Reported by: Lin Sun <lin.sun <at> zoom.us>
Date: Thu, 29 Oct 2020 23:03:02 UTC
Severity: normal
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #80 received at 44320 <at> debbugs.gnu.org (full text, mbox):
> Date: Tue, 3 Nov 2020 08:56:29 +0800
> From: LinSun <lin.sun <at> zoom.us>
> Cc: "larsi <at> gnus.org" <larsi <at> gnus.org>,
> "sunlin7 <at> yahoo.com" <sunlin7 <at> yahoo.com>,
> "44320 <at> debbugs.gnu.org" <44320 <at> debbugs.gnu.org>
>
> > On what OS do you see the problem?
>
> It’s CentOS 7 (kernel 3.10.0, x86_64), I ssh from Cygwin, testing the testing.el with emacs 27, some times
> successful to show the *.six image some times failed, while cat *.six always success.
Does the below fix the problem, if applied to the unpatched tree in
Git?
diff --git a/src/dispnew.c b/src/dispnew.c
index 3f2ae3e..a5e50b3 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -5904,8 +5904,10 @@ DEFUN ("send-string-to-terminal", Fsend_string_to_terminal,
}
out = tty->output;
}
+ unrequest_sigio ();
fwrite (SDATA (string), 1, SBYTES (string), out);
fflush (out);
+ request_sigio ();
unblock_input ();
return Qnil;
}
This bug report was last modified 4 years and 288 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.