Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Could multios response positively to isatty(1) test?
- X-seq: zsh-workers 44050
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Could multios response positively to isatty(1) test?
- Date: Thu, 7 Feb 2019 14:18:59 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=NJsa8KY6LNuto2rdBUQp2lBWlHeKpSraQwSU3ZRZMgg=; b=JaKIPLPdYyXOo+KsoLHrvp+AHPAlheWW13vxbE2zNe+9S8TJJdWQiROWQ6ODQZUzvG yTVxboYG+Vec5opypYXoitWroberiO64l856xKqgMULpzwz4u0aIQAG1Iwg5NBwTHGss bmSV7g8Vbbx08B5OWZGMl2VxIuOiJ8jUBWfH4TmI/uHvGbmxD2zIAcPxbx9sGagChUbt Xj/czkt3RR6CksprTwKkWejTVIhDBQqwrjselae4EAkp4nY8Jl1oP3d5xE7pGvb7T1Ms H8xsh5wU8iL6va1OWL+Hkdwq7FyAebrxYxrOjTLc3e8c8Kuob7X0N48pd8+wKm7CkA3d b+DQ==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
Hello,
If at least one of the outputs of the multios-utilizing invocation is
to a terminal, .e.g
print "$fg[blue]A TEST$reset_color" \
> >(ansifilter >>! "log.txt") 1> >/dev/tty
then could Zshell answer positively to the isatty(1) test for the
application (like e.g. vim) placed the way that the print-command is?
Is this doable?
--
Sebastian Gniazdowski
News: https://twitter.com/ZdharmaI
IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin
Blog: http://zdharma.org
Messages sorted by:
Reverse Date,
Date,
Thread,
Author