Re: [dev] TermKit

From: Suraj N. Kurapati <sunaku_AT_gmail.com>
Date: Fri, 20 May 2011 09:24:31 -0700

On Fri 20 May 2011 01:26:56 PM PDT, Connor Lane Smith wrote:
> allow commands to draw directly to the terminal if they wanted. So
> the standard input / output piping system would remain unchanged,

Use /dev/tty to "draw" to the terminal independently of std streams:

  date | sh -c 'read; echo "$REPLY" > /dev/tty' >/dev/null

-- 
Depend on the rabbit's foot if you will, but remember, it didn't help
the rabbit.
		-- R.E. Shay

Received on Fri May 20 2011 - 18:24:31 CEST

This archive was generated by hypermail 2.2.0 : Fri May 20 2011 - 18:36:02 CEST