Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: a.out output not displayed
- X-seq: zsh-users 9958
- From: Vincent Lefevre <vincent@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: a.out output not displayed
- Date: Thu, 23 Feb 2006 01:43:57 +0100
- In-reply-to: <20060222223737.GA23971@xxxxxxxxxxxxxxxx>
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <43FCE62C.2010804@xxxxxxxxxxxxxx> <20060222223737.GA23971@xxxxxxxxxxxxxxxx>
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@xxxxxxxxxx> - 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author