From owner-freebsd-hackers Sun Oct 15 03:21:05 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id DAA20352 for hackers-outgoing; Sun, 15 Oct 1995 03:21:05 -0700 Received: from time.cdrom.com (time.cdrom.com [192.216.222.226]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id DAA20340 for ; Sun, 15 Oct 1995 03:21:00 -0700 Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.12/8.6.9) with SMTP id DAA17388; Sun, 15 Oct 1995 03:19:39 -0700 To: "Gasparovski / Daniel (ISE)" cc: Warner Losh , hackers@freebsd.org Subject: Re: IPX now available In-reply-to: Your message of "Sun, 15 Oct 1995 17:09:22 +1000." Date: Sun, 15 Oct 1995 03:19:39 -0700 Message-ID: <17386.813752379@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-hackers@freebsd.org Precedence: bulk > 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. Until you run out of PTYs.. :-) Really, (ab)using PTYs in such a fashion would almost certainly predicate reimplimenting them to be truly dynamic. If you need a PTY every time anyone needs to perform a "splice" operation then you're going to run out of them PDQ. It also grossly violates my sense of esthetics.. :-) Truly, if you think of the problem as implementing something more like a "cross bar" switch with a fairly sophisicated model of data "sources" and "sinks" then you're starting to talk more my language. Make any file dependency from a process refer to an object that can be reassigned, age and die, etc and you're really piquing my interest.. :-) > echo spam > file1 > file2 > > (which also needs shell intervention), and it's still actively being > developed by a very talented pool of programmers. Hmmm. I've heard a fair bit about zsh, yes. Jordan