all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nagash <nagash2270@yahoo.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re[2]: get stdout/stderr while running a program
Date: Fri, 29 Nov 2002 11:08:08 +0100	[thread overview]
Message-ID: <1257171692.20021129110808@yahoo.de> (raw)
In-Reply-To: <195F58F118C9D311B622009027DC812FFDD8AF@mail1.technology.serco.com>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 1104 bytes --]

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

  reply	other threads:[~2002-11-29 10:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-29  9:54 get stdout/stderr while running a program Victor Kirk
2002-11-29 10:08 ` Nagash [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-11-29 10:34 Re[2]: " Victor Kirk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1257171692.20021129110808@yahoo.de \
    --to=nagash2270@yahoo.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.