From: Sweth Chandramouli <svc@sweth.net>
To: zsh-users@sunsite.dk
Subject: Re: Problem with zip completion
Date: Thu, 18 Oct 2001 00:46:59 -0400 [thread overview]
Message-ID: <20011018004659.A13346@astaroth.sweth.net> (raw)
In-Reply-To: <20011018041354.A18565@greux.loria.fr>
On Thu, Oct 18, 2001 at 04:13:55AM +0200, Vincent Lefevre wrote:
> On Wed, Oct 17, 2001 at 17:57:57 -0700, Bart Schaefer wrote:
> > My assumption would be that if stdout is redirected, then the child that's
> > exiting must not be a child of the top-level interactive shell, and thus
> > changing the terminal title would at best be a waste of effort.
>
> Well, maybe. I thought that stdout (of the top-level shell) could be
> temporarily redirected with some obscure builtins I didn't know.
No need for obscure builtins; standard redirection can
always be applied to the current shell via exec:
$ exec > /tmp/file
$ ls
$ exec > /dev/tty
$ ls
file1 file2 file3
$ cat /tmp/file
file1
file2
file3
. I'm not sure why you'd want to do that in an interactive
shell, though.
-- Sweth.
--
Sweth Chandramouli ; <svc@idiopathic.net>
President, Idiopathic Systems Consulting
next prev parent reply other threads:[~2001-10-18 4:49 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-17 14:47 Vincent Lefevre
2001-10-17 15:43 ` Bart Schaefer
2001-10-17 16:22 ` Oliver Kiddle
[not found] ` <20011017111333.A32235@dman.com>
2001-10-17 16:21 ` Vincent Lefevre
2001-10-17 16:49 ` Bart Schaefer
2001-10-17 17:11 ` Vincent Lefevre
2001-10-17 17:24 ` Bart Schaefer
2001-10-17 17:44 ` Bart Schaefer
2001-10-17 23:15 ` Vincent Lefevre
2001-10-18 0:57 ` Bart Schaefer
2001-10-18 2:13 ` Vincent Lefevre
2001-10-18 4:46 ` Sweth Chandramouli [this message]
2001-10-18 9:05 ` Vincent Lefevre
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=20011018004659.A13346@astaroth.sweth.net \
--to=svc@sweth.net \
--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).