From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Ralf Fassel Newsgroups: gmane.emacs.bugs Subject: Re: `print' does not print Date: 21 Mar 2002 21:15:31 +0100 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: References: <200203202019.g2KKJfs4410490@jupiter.akutech-local.de> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1016742204 30572 127.0.0.1 (21 Mar 2002 20:23:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 21 Mar 2002 20:23:24 +0000 (UTC) Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16o95o-0007wz-00 for ; Thu, 21 Mar 2002 21:23:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16o95n-0000p4-00; Thu, 21 Mar 2002 15:23:23 -0500 Original-Received: from delysid.gnu.org ([158.121.106.20]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16o8yp-0000br-00; Thu, 21 Mar 2002 15:16:11 -0500 Original-Received: from ashd1-1.relay.mail.uu.net ([199.171.54.245]) by delysid.gnu.org with smtp (Exim 3.34 #2) id 16o8yj-00069g-00 for ; Thu, 21 Mar 2002 15:16:05 -0500 Original-Received: from mail.fu-berlin.de by mr0.ash.ops.us.uu.net with ESMTP (peer crosschecked as: mail.fu-berlin.de [160.45.11.165]) id QQmhen04897 for ; Thu, 21 Mar 2002 20:15:45 GMT Original-Received: by mail.fu-berlin.de (Smail3.2.0.98) from Curry.ZEDAT.FU-Berlin.DE (160.45.10.36) with esmtp id ; Thu, 21 Mar 2002 21:15:32 +0100 (MET) Original-Received: by Curry.ZEDAT.FU-Berlin.DE (Smail3.2.0.98) from news.fu-berlin.de with bsmtp id ; Thu, 21 Mar 2002 21:15:32 +0100 (MET) Original-To: gnu-emacs-bug@moderators.isc.org Original-Path: pd954ebec.dip.t-dialin.NET!not-for-mail Original-Newsgroups: gnu.emacs.bug Original-Lines: 43 X-Orig-NNTP-Posting-Host: pd954ebec.dip.t-dialin.net (217.84.235.236) X-Orig-X-Trace: fu-berlin.de 1016741732 21707088 217.84.235.236 (16 [14993]) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:36 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:36 * eliz@is.elta.co.il (Eli Zaretskii) | It works for me, both in Emacs 21.1 and 21.2. Can you two try this | in "emacs -nw"? As I said in another message, -nw does not help. I checked with gdb, and emacs arrives quite fine at the fwrite() in print.c:334 ( I added the `written' var to get at the fwrite return value): else if (noninteractive) { size_t written; => written = fwrite (str, 1, len, stdout); noninteractive_need_newline = 1; } But the return value is 0, indicating some I/O problem, errno at that point is "Bad file number". I inserted a fprintf right at the start of `main()', and it shows up while dumping emacs via temacs: % gmake ... LC_ALL=C ./temacs -batch -l loadup dump STDOUT hello world STDERR hello world Loading loadup (source)... ... % ./temacs STDERR hello world STDOUT hello world but when running the dumped emacs, nothing comes out. % ./emacs -batch -no-site-file -f kill-emacs % Any idea how to go on? I do not know much of the technical details of the dump process. R' _______________________________________________ Bug-gnu-emacs mailing list Bug-gnu-emacs@gnu.org http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs