Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: How to "STTY" when "setopt nointeractive"?
- X-seq: zsh-users 9523
- From: DervishD <zsh@xxxxxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: How to "STTY" when "setopt nointeractive"?
- Date: Wed, 19 Oct 2005 09:24:18 +0200
- Cc: Zsh Users <zsh-users@xxxxxxxxxx>
- In-reply-to: <1051019014535.ZM32070@xxxxxxxxxxxxxxxxxxxxxxx>
- Mail-followup-to: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>, Zsh Users <zsh-users@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: DervishD
- References: <20051018191756.GA407@DervishD> <1051019014535.ZM32070@xxxxxxxxxxxxxxxxxxxxxxx>
Hi Bart :)
* Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> dixit:
> On Oct 18, 9:17pm, DervishD wrote:
> }
> } I was testing Bart's suggestion for my problematic "zpty" command
> } and I found that, after succesfully testing in the command line, it
> } didn't work in the script.
>
> Remember (again :-) that the arguments to zpty are processed as if with
> eval. So
>
> zpty cdda2wav STTY=-onlcr cdda2wav -v toc,sectors -J -H
>
> is the same as
>
> zpty cdda2wav "stty -onlcr; cdda2wav -v toc,sectors -J -H"
OK, that works. So STTY doesn't work if the shell is not
interactive, right? I don't understand why :?
Thanks for pointing, I wasn't sure if "zpty" worked with lists.
Raúl Núñez de Arenas Coronado
--
Linux Registered User 88736 | http://www.dervishd.net
http://www.pleyades.net & http://www.gotesdelluna.net
It's my PC and I'll cry if I want to...
Messages sorted by:
Reverse Date,
Date,
Thread,
Author