From: Vincent Lefevre <vincent@vinc17.org>
To: zsh-users@sunsite.dk
Subject: Re: a.out output not displayed
Date: Thu, 23 Feb 2006 01:43:57 +0100 [thread overview]
Message-ID: <20060223004357.GB793@prunille.vinc17.org> (raw)
In-Reply-To: <20060222223737.GA23971@namib.cs.utk.edu>
On 2006-02-22 17:37:37 -0500, Chris Johnson wrote:
> Raja Loganathan sent me the following 0.3K:
>
> > My gcc compiled programs are not showing the output.
> >
> > I compiled a simple printf("\nHelloworld");
> >
> > ./a.out .. I'm not getting any output on the screen. However Shell
> > commands, echo etc works properly.
> > I checked my program in other shells. It works properly.
It doesn't (the prompt position is incorrect with other shells).
> You need a \n at the end of your printf. Or set the zsh option:
>
> setopt no_prompt_cr
Which is bad. The best solution is to use a recent zsh version
(4.3.0-dev-5 or wait for 4.3.1).
--
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
next prev parent reply other threads:[~2006-02-23 0:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-22 22:31 Raja Loganathan
2006-02-22 22:37 ` Chris Johnson
2006-02-23 0:43 ` Vincent Lefevre [this message]
2006-02-23 1:08 ` Barton Schaefer
2006-02-22 23:10 ` zzapper
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=20060223004357.GB793@prunille.vinc17.org \
--to=vincent@vinc17.org \
--cc=zsh-users@sunsite.dk \
/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 public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).