From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Nagash Newsgroups: gmane.emacs.help Subject: Re[2]: get stdout/stderr while running a program Date: Fri, 29 Nov 2002 11:08:08 +0100 Sender: help-gnu-emacs-admin@gnu.org Message-ID: <1257171692.20021129110808@yahoo.de> References: <195F58F118C9D311B622009027DC812FFDD8AF@mail1.technology.serco.com> Reply-To: Nagash NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1038565315 11748 80.91.224.249 (29 Nov 2002 10:21:55 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 29 Nov 2002 10:21:55 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18Hi6x-0001lv-00 for ; Fri, 29 Nov 2002 11:11:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18Hi5T-0003k9-00; Fri, 29 Nov 2002 05:09:31 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 18Hi4R-00036E-00 for help-gnu-emacs@gnu.org; Fri, 29 Nov 2002 05:08:27 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 18Hi4Q-000363-00 for help-gnu-emacs@gnu.org; Fri, 29 Nov 2002 05:08:27 -0500 Original-Received: from smtp015.mail.yahoo.com ([216.136.173.59]) by monty-python.gnu.org with smtp (Exim 4.10) id 18Hi4P-00035z-00 for help-gnu-emacs@gnu.org; Fri, 29 Nov 2002 05:08:25 -0500 Original-Received: from pd9e3011c.dip.t-dialin.net (HELO localhost) (nagash2270@217.227.1.28 with plain) by smtp.mail.vip.sc5.yahoo.com with SMTP; 29 Nov 2002 10:08:19 -0000 X-Mailer: The Bat! (v1.61) X-Priority: 3 (Normal) Original-To: Victor Kirk In-Reply-To: <195F58F118C9D311B622009027DC812FFDD8AF@mail1.technology.serco.com> Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:4141 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:4141 Hello Victor, Friday, November 29, 2002, 10:54:02 AM, you wrote: >> i've got a small problem with c-programs writing on >> stdout/stderr. i cannot see the output while running the >> program over the emacs shell access. >> after exiting the program the buffer gets filled. >> a simultaneous output mode would be nice for debug... > Does your program flush the output? yes, but only after exiting the program. > What happens if you run > it from a shell outside of emacs? all output is immediately visible. a little example: /* c-code */ printf("my output"); /* "my output" now visible in the shell */ /* ... other lines of nice code */ exit(0); /* "my output" now visible in my emacs buffer */ its a little bit exhausting to switch always between a shell and emacs. it interrupts my working flow. thanks for your help! -- Best regards, Oliver mailto:nagash2270@yahoo.de __________________________________________________________________ Gesendet von Yahoo! Mail - http://mail.yahoo.de Möchten Sie mit einem Gruß antworten? http://grusskarten.yahoo.de