From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9699 invoked from network); 19 Dec 2003 11:49:41 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 19 Dec 2003 11:49:41 -0000 Received: (qmail 3854 invoked by alias); 19 Dec 2003 11:49:23 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6926 Received: (qmail 3771 invoked from network); 19 Dec 2003 11:49:23 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 19 Dec 2003 11:49:23 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [80.91.224.249] by sunsite.dk (MessageWall 1.0.8) with SMTP; 19 Dec 2003 11:49:22 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AXJ8E-0001EK-00 for ; Fri, 19 Dec 2003 12:49:22 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: zsh-users@sunsite.dk Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AXJ8C-0001EC-00 for ; Fri, 19 Dec 2003 12:49:20 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AXJ8C-0001Pg-00 for ; Fri, 19 Dec 2003 12:49:20 +0100 From: zzapper Subject: Re: No newline, no print. Date: Fri, 19 Dec 2003 11:49:15 +0000 Message-ID: <2bp5uvkqb0h6bt7eq6911thkqd7ulfk1k4@4ax.com> References: <20031212204435.GM3748@cise.ufl.edu> <20031212205213.GB3143@epita.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Newsreader: Forte Free Agent 1.93/32.576 English (American) Sender: news On Fri, 12 Dec 2003 21:52:13 +0100, Jean Chalard wrote: >> When I print something to stdout that doesn't have a newline at the end, >> Z-Shell refuses to print it. Note the following Perl program: >> >> print "My name is Bob.\n"; > >setopt no_prompt_cr > >But you could as well have read the mailing list archive. >(This one comes up pretty often) I'd STRONGLY recommend that u set "setopt no_prompt_cr" this in your .zshrc tout de suite if you're a Perl Programmer zzapper (vim & zsh) -- vim -c ":%s/^/WhfgTNabgureRIvzSUnpxre/|:%s/[R-T]/ /Ig|:normal ggVGg?" http://www.vim.org/tips/tip.php?tip_id=305 Best of Vim Tips