From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bob Proulx Newsgroups: gmane.emacs.help,gmane.emacs.windows Subject: Re: Emacs gdb interface Date: Wed, 21 Mar 2012 03:28:43 -0600 Message-ID: <20120321092843.GA9383@discord.proulx.com> References: <20120321075007.GF23207@discord.proulx.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1332322155 32283 80.91.229.3 (21 Mar 2012 09:29:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 21 Mar 2012 09:29:15 +0000 (UTC) Cc: help-emacs-windows@gnu.org, help-gnu-emacs@gnu.org To: Dani Moncayo Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 21 10:29:14 2012 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 1SAHqz-0000GJ-0W for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Mar 2012 10:29:13 +0100 Original-Received: from localhost ([::1]:47791 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAHqr-0006KK-Re for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Mar 2012 05:29:05 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48747) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAHqh-0006Ha-36 for help-gnu-emacs@gnu.org; Wed, 21 Mar 2012 05:29:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SAHqb-0004DL-2T for help-gnu-emacs@gnu.org; Wed, 21 Mar 2012 05:28:54 -0400 Original-Received: from joseki.proulx.com ([216.17.153.58]:36289) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAHqX-0004Cp-VH; Wed, 21 Mar 2012 05:28:46 -0400 Original-Received: from discord.proulx.com (localhost [127.0.0.1]) by joseki.proulx.com (Postfix) with ESMTP id AB999211DB; Wed, 21 Mar 2012 03:28:43 -0600 (MDT) Original-Received: by discord.proulx.com (Postfix, from userid 1000) id 5158090C06C; Wed, 21 Mar 2012 03:28:43 -0600 (MDT) Mail-Followup-To: Bob Proulx , Dani Moncayo , help-emacs-windows@gnu.org, help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 216.17.153.58 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:84063 gmane.emacs.windows:5315 Archived-At: Dani Moncayo wrote: > > Please add a newline to the output. I think that without the newline > > the output may be covered by other output. I think it likely that the > > output is actually being output but just covered. > > > > - printf("hello, world!"); > > + printf("hello, world!\n"); > > If that was the case, it would cause a lot of confusion to users, but > fortunately, that's not the case (I've just tested it and I see no > output either). It may be confusing but it is no different from having this case: rwp@discord:~$ printf "Hello" ; printf "\r" rwp@discord:~$ Question: Where did the output go? Answer: It was printed but then it was covered by the prompt and effectively hidden. Here I am using two printf statements because your program didn't include one but in the operation of gdm and emacs there is almost certainly one, which is represented here by the second printf. But since you say it didn't make any difference then this point isn't relevant. But at least you can see why I asked for the newline. At this point I do not have any more information. Good luck! Bob