From: Phil Pennock <phil.pennock@globnix.org>
To: zsh-users@sunsite.dk
Subject: Re: Output not being echo'd in shell scripts.
Date: Mon, 24 Jul 2006 00:06:14 +0200 [thread overview]
Message-ID: <20060723220613.GA27302@parhelion.globnix.org> (raw)
In-Reply-To: <Xns9809765CD47CDzzappergmailcom@80.91.229.5>
On 2006-07-23 at 10:38 +0000, zzapper wrote:
> setopt no_prompt_cr #needed for perl scripts
>
> This is an old zsh chestnut where zsh does not output if there is no
> trailing CRHTH
zsh doesn't really control whether or not other commands produce output.
By default, without setting that option, zsh outputs a Carriage Return
at the start of a prompt; that's the CR of CRLF fame, which sends the
cursor position back to the start of the line. End result is that
output gets overwritten so that you don't see it.
--
VISTA: Viruses, Infections, Spyware, Trojans & Adware
prev parent reply other threads:[~2006-07-23 22:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-17 4:52 Sean
2006-07-23 10:38 ` zzapper
2006-07-23 22:06 ` Phil Pennock [this message]
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=20060723220613.GA27302@parhelion.globnix.org \
--to=phil.pennock@globnix.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).