From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9544 invoked from network); 3 Dec 1997 18:13:39 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 3 Dec 1997 18:13:39 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id MAA00263; Wed, 3 Dec 1997 12:57:35 -0500 (EST) Resent-Date: Wed, 3 Dec 1997 12:56:58 -0500 (EST) To: zsh-users@math.gatech.edu Subject: pipe which fakes a pseudo tty? From: Greg Badros Date: 03 Dec 1997 09:57:37 -0800 Message-ID: X-Mailer: Gnus v5.4.65/XEmacs 20.3 - "Vatican City" Resent-Message-ID: <"9KAO61.0.I3.frPXq"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1178 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu 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