Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: is this a feature of zsh-3.1.6?



User ALEX <alex@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> typed:
:Hi.
:	The following does not produce output to screen on FreeBSD-3.4:
:#include <stdio.h>
:int main (void)
:{
:   printf ("Hello World\n");
                        ^^ shouldn't be here in this example
:   return 0;
:}
:
:c74763-a% ./hello
:c74763-a% ./hello | strings
:Hello World

% setopt nopromptcr	# (or unsetopt promptcr)
% ./hello
Hello World% ./hello
Hello World% sh
$ ./hello
Hello World$ ./hello
Hello World$

Regards,
-- 
Geoff Wing : <gcw@xxxxxxxxx>     Work URL: http://www.primenet.com.au/
Rxvt Stuff : <gcw@xxxxxxxx>      Ego URL : http://pobox.com/~gcw/
Zsh Stuff  : <gcw@xxxxxxx>       Phone   : (Australia) 0413 431 874



Messages sorted by: Reverse Date, Date, Thread, Author