Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Is this correct? Redirecting stdin/stout to implement a gdb-like "set inferior tty" in zshdb
- X-seq: zsh-users 13550
- From: Stephane Chazelas <Stephane_Chazelas@xxxxxxxx>
- To: Rocky Bernstein <rocky.bernstein@xxxxxxxxx>, Zsh users list <zsh-users@xxxxxxxxxx>
- Subject: Re: Is this correct? Redirecting stdin/stout to implement a gdb-like "set inferior tty" in zshdb
- Date: Tue, 9 Dec 2008 12:14:04 +0000
- In-reply-to: <20081209121213.GA5462@xxxxxxxxxxxxxxx>
- Mail-followup-to: Rocky Bernstein <rocky.bernstein@xxxxxxxxx>, Zsh users list <zsh-users@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <6cd6de210812090327o11abb9f3w2cc932515e4dbef8@xxxxxxxxxxxxxx> <20081209121213.GA5462@xxxxxxxxxxxxxxx>
On Tue, Dec 09, 2008 at 12:12:13PM +0000, Stephane Chazelas wrote:
> On Tue, Dec 09, 2008 at 06:27:48AM -0500, Rocky Bernstein wrote:
> [...]
> > exec 7<&0 </dev/null 6>&1 # Line taken from an autoconf "configure" script.
> > #...
> > exec {_Dbg_fdi} <> $1
> > while : ; do
> > vared -e -h -p "foo> " line <&${_Dbg_fdi} || break
>
> The thing is read doesn't read from fd 0 (not does it write its
[...] ^^^^
Sorry, I meant "vared" above.
--
Stéphane
Messages sorted by:
Reverse Date,
Date,
Thread,
Author