From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: On Windows(R) Emacs =?utf-8?B?wqtzaGVsbMK7?= mode doesn't prints an output. Date: Thu, 25 Sep 2014 10:43:25 +0300 Message-ID: <83a95ow3fm.fsf@gnu.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1411631052 10642 80.91.229.3 (25 Sep 2014 07:44:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Sep 2014 07:44:12 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 25 09:44:05 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XX3ic-00054u-VU for geh-help-gnu-emacs@m.gmane.org; Thu, 25 Sep 2014 09:44:03 +0200 Original-Received: from localhost ([::1]:38669 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XX3ic-0002uG-L5 for geh-help-gnu-emacs@m.gmane.org; Thu, 25 Sep 2014 03:44:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60806) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XX3iH-0002u4-DM for help-gnu-emacs@gnu.org; Thu, 25 Sep 2014 03:43:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XX3i9-00066I-Ux for help-gnu-emacs@gnu.org; Thu, 25 Sep 2014 03:43:41 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:38835) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XX3i9-00065s-Nm for help-gnu-emacs@gnu.org; Thu, 25 Sep 2014 03:43:33 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0NCG009004WTTP00@a-mtaout21.012.net.il> for help-gnu-emacs@gnu.org; Thu, 25 Sep 2014 10:43:27 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NCG0097R5GESL40@a-mtaout21.012.net.il> for help-gnu-emacs@gnu.org; Thu, 25 Sep 2014 10:43:27 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:100135 Archived-At: > Date: Thu, 25 Sep 2014 00:07:09 +0400 > From: Hi-Angel >=20 > When I am working on Windows, I am using Emacs =C2=ABshell=C2=BB mo= de. The > problem is that it sometimes doesn't prints an applications output > (more precisely prints only after the app died). > The problem is present exclusively in Emacs, e.g. if I am run an > application in Windows=C2=AE native terminal, it is works fine. Emacs on Windows redirects the shell's standard handles to a pipe, an= d pipes on Windows are fully-buffered (as opposed to line-buffering for the console device). So if your program doesn't flush its standard output frequently enough, you may see this problem. > I thought that the problem is in encoding, and set =C2=ABshell=C2= =BB's buffer > with =C2=ABC-x f=C2=BB to UTF-16, which, as I know, uses MS, = but it didn't > fixed the problem. Console applications on Windows use the current OEM codepage, not UTF-16.