From: Greg Badros <gjb@cs.washington.edu>
To: zsh-users@math.gatech.edu
Subject: pipe which fakes a pseudo tty?
Date: 03 Dec 1997 09:57:37 -0800 [thread overview]
Message-ID: <qrrvhx6l372.fsf@elwha.cs.washington.edu> (raw)
Is there any way to make zsh "pipe" through a pseudo tty? e.g.,
xev | awk-script-to-parse-keybindings
^ I want this pipe to not make xev turn on block buffering.
(I want line-buffering as is the default when stdout is a tty)
This seems like a reasonably shell-like thing to do.
Alternatively, does anyone have a pointer to the pty4 program updated
for Linux and other more recent Unix versions. The 1992ish version I
found on the net does not build cleanly and I don't want to reinvent the
wheel if someone else has a good solution (ideally w/o using perl, since
some of the uses for this that I have in mind are for a possibly
crippled system).
Thanks for any tips or pointers.
Greg J. Badros
gjb@cs.washington.edu
Seattle, WA USA
http://www.cs.washington.edu/homes/gjb
next reply other threads:[~1997-12-03 18:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-12-03 17:57 Greg Badros [this message]
1997-12-05 0:28 ` Jos Backus
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=qrrvhx6l372.fsf@elwha.cs.washington.edu \
--to=gjb@cs.washington.edu \
--cc=zsh-users@math.gatech.edu \
/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).