Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Oct 1995 09:58:54 -0600
From:      Warner Losh <imp@village.org>
To:        "Gasparovski / Daniel (ISE)" <u923168@student.canberra.edu.au>
Cc:        hackers@freebsd.org
Subject:   Re: IPX now available 
Message-ID:  <199510151558.JAA07849@rover.village.org>
In-Reply-To: Your message of Sun, 15 Oct 1995 17:09:22 %2B1000

next in thread | raw e-mail | index | archive | help
: Why can't this be done in the shell?

It could, but pty's are "rare" on most systems (rarely than pipes at
least).

: eg: have the shell fork off the process, give it a pty as controlling 
: terminal which will be handled by the shell, and by default show it's 
: output on the user's tty.  Then, if a "bg >& make.out" is given, have the 
: shell open make.out and start writing the output there instead of the tty.
: 
: It's not the most ideal solution, for example "ls" won't do the right 
: thing, but it's good enough for most, if not all, situations.

Since ls would be connected to a pty, it would produce the right
output, no?

I like this idea, but can't deside if it is too gross or not...

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510151558.JAA07849>