Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Output not being echo'd in shell scripts.
- X-seq: zsh-users 10540
- From: Phil Pennock <phil.pennock@xxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Output not being echo'd in shell scripts.
- Date: Mon, 24 Jul 2006 00:06:14 +0200
- In-reply-to: <Xns9809765CD47CDzzappergmailcom@xxxxxxxxxxx>
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <96c45c490607162152k4d7d81b8x5d143c7b5c51d585@xxxxxxxxxxxxxx> <Xns9809765CD47CDzzappergmailcom@xxxxxxxxxxx>
- Sender: Phil Pennock <phil@xxxxxxxxxxxxx>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author