* pipe which fakes a pseudo tty?
@ 1997-12-03 17:57 Greg Badros
1997-12-05 0:28 ` Jos Backus
0 siblings, 1 reply; 2+ messages in thread
From: Greg Badros @ 1997-12-03 17:57 UTC (permalink / raw)
To: zsh-users
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: pipe which fakes a pseudo tty?
1997-12-03 17:57 pipe which fakes a pseudo tty? Greg Badros
@ 1997-12-05 0:28 ` Jos Backus
0 siblings, 0 replies; 2+ messages in thread
From: Jos Backus @ 1997-12-05 0:28 UTC (permalink / raw)
To: Greg Badros; +Cc: zsh-users
Hi Greg,
In message <qrrvhx6l372.fsf@elwha.cs.washington.edu> you wrote:
>Alternatively, does anyone have a pointer to the pty4 program updated
>for Linux and other more recent Unix versions.
Try ptyget (the pty version 4.0 successor by the same author, Dan Bernstein)
at ftp://koobera.math.uic.edu/pub/software.
Groetjes,
Jos
--
Jos Backus _/ _/_/_/ "Modularity is not a hack."
_/ _/ _/ -- D. J. Bernstein
_/ _/_/_/
_/ _/ _/ _/
jbackus@plex.nl _/_/ _/_/_/ #include <std/disclaimer.h>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1997-12-05 1:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-12-03 17:57 pipe which fakes a pseudo tty? Greg Badros
1997-12-05 0:28 ` Jos Backus
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).