From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#44320: [PATH] [27.1] Make sure send-string-to-terminal send all contents Date: Fri, 30 Oct 2020 10:06:08 +0200 Message-ID: <83ft5wb0jz.fsf@gnu.org> References: <5f9b49e9.1c69fb81.72b0f.80d6@mx.google.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8845"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 44320@debbugs.gnu.org To: Lin Sun Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 30 09:10:43 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kYPUh-0002Cj-2t for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 30 Oct 2020 09:10:43 +0100 Original-Received: from localhost ([::1]:59168 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kYPUg-00089H-5h for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 30 Oct 2020 04:10:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43562) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kYPR8-0005cn-1w for bug-gnu-emacs@gnu.org; Fri, 30 Oct 2020 04:07:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44419) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kYPR7-0000Sq-NX for bug-gnu-emacs@gnu.org; Fri, 30 Oct 2020 04:07:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kYPR7-0001Y2-IC for bug-gnu-emacs@gnu.org; Fri, 30 Oct 2020 04:07:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 30 Oct 2020 08:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44320 X-GNU-PR-Package: emacs X-Debbugs-Original-Cc: larsi@gnus.org, bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16040451945909 (code B ref -1); Fri, 30 Oct 2020 08:07:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Oct 2020 08:06:34 +0000 Original-Received: from localhost ([127.0.0.1]:55965 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYPQg-0001XF-Gt for submit@debbugs.gnu.org; Fri, 30 Oct 2020 04:06:34 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:41344) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYPQf-0001X8-Nf for submit@debbugs.gnu.org; Fri, 30 Oct 2020 04:06:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43514) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kYPQf-0005Is-HM for bug-gnu-emacs@gnu.org; Fri, 30 Oct 2020 04:06:33 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:56274) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kYPQf-0000KQ-0d; Fri, 30 Oct 2020 04:06:33 -0400 Original-Received: from [176.228.60.248] (port=1527 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kYPQa-0002Ny-DO; Fri, 30 Oct 2020 04:06:32 -0400 In-Reply-To: <5f9b49e9.1c69fb81.72b0f.80d6@mx.google.com> (message from Lin Sun on Fri, 30 Oct 2020 07:01:53 +0800) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:192043 Archived-At: > Date: Fri, 30 Oct 2020 07:01:53 +0800 > From: Lin Sun > > I got a bug that `send-string-to-termina` maybe send part of contents to > terminal, calling `fwrite` in loop to make sure all contents are written. Any idea why does it not write the entire string in the single call, or how to reproduce this? What is the size of the string in the case where it fails to write everything? Thanks.