From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Subject: Re: [9fans] History From: rog@vitanuova.com MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-tbbcykcbcyiikyqqupmmgigjpg" Message-Id: <20001114161942.D7EFE199ED@mail.cse.psu.edu> Date: Tue, 14 Nov 2000 17:21:13 +0000 Topicbox-Message-UUID: 2a59d4ee-eac9-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-tbbcykcbcyiikyqqupmmgigjpg Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit it's possible to make a variant of "script" for plan 9 without using any special purpose programs at all: % > conslog % chmod +a conslog % pipefile -r 'tee conslog' -w 'tee conslog' /dev/cons % rc < /dev/cons > /dev/cons >[2] /dev/cons only slight problem seems to be that it doesn't exit when you type EOF. a small price to pay. rog. --upas-tbbcykcbcyiikyqqupmmgigjpg Content-Type: message/rfc822 Content-Disposition: inline Return-Path: <9fans-admin@cse.psu.edu> Received: from punt-1.mail.demon.net by mailstore for rog@vitanuova.com id 974217983:10:26807:14; Tue, 14 Nov 2000 16:06:23 GMT Received: from psuvax1.cse.psu.edu ([130.203.4.6]) by punt-1.mail.demon.net id aa1026126; 14 Nov 2000 16:06 GMT Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.18.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id CE3DA199F4; Tue, 14 Nov 2000 11:05:09 -0500 (EST) Received: from mercury.bath.ac.uk (mercury.bath.ac.uk [138.38.32.81]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id DC0D1199F2 for <9fans@cse.psu.edu>; Tue, 14 Nov 2000 11:04:23 -0500 (EST) Received: from news by mercury.bath.ac.uk with local (Exim 3.12 #1) id 13viLi-0007II-00 for 9fans@cse.psu.edu; Tue, 14 Nov 2000 15:50:18 +0000 Received: from GATEWAY by bath.ac.uk with netnews for 9fans@cse.psu.edu (9fans@cse.psu.edu) To: cse.psu.edu!9fans Message-ID: <3A115528.96770962@arl.army.mil> Organization: U.S. Army Research Laboratory Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <20001109163657.A5BC2199E6@mail.cse.psu.edu>, <00b201c04e20$7f4c4a00$0ab9c6d4@cybercable.fr> Subject: Re: [9fans] History Sender: cse.psu.edu!9fans-admin Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0rc1 Precedence: bulk Reply-To: cse.psu.edu!9fans List-Id: Fans of the O/S Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Tue, 14 Nov 2000 15:50:01 GMT Boyd Roberts wrote: > i was gonna stay outa this, but script uses those god-awful ptys, That's beside the point. I didn't say "port script", I said one measure of how good an operating system really is is how transparent and efficient a program *like* BSD "script" is. It ought to be possible to interpose a program "at" the user interface that captures all user output (which might be graphic, although for many purposes we could settle for the text that is understood by the terminal-like text windows) in some reviewable/replayable database (simple sequential text log, if not supporting graphics). Ideally, user input should be captured also (if supporting just text, then the displayed echo of the input might suffice). One design issue for a script-like program is how to process user-generated signals. --upas-tbbcykcbcyiikyqqupmmgigjpg--