From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20429 invoked by alias); 23 Jul 2002 19:11:24 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 20224 invoked from network); 23 Jul 2002 19:11:21 -0000 Received: from unknown (HELO gash2.peakpeak.com) (207.174.178.17) by sources.redhat.com with SMTP; 23 Jul 2002 19:11:21 -0000 Received: from fleche.redhat.com (ta0196.peakpeak.com [204.144.244.196]) by gash2.peakpeak.com (8.9.3/8.9.3) with ESMTP id NAA22503; Tue, 23 Jul 2002 13:11:11 -0600 Received: by fleche.redhat.com (Postfix, from userid 1000) id 927994F832D; Tue, 23 Jul 2002 13:17:04 -0600 (MDT) To: Daniel Jacobowitz Cc: gdb-patches@sources.redhat.com Subject: Re: RFA: >, >>, and "tee" operators References: <20020723183956.GA28558@nevyn.them.org> From: Tom Tromey Reply-To: tromey@redhat.com X-Attribution: Tom X-Zippy: The appreciation of the average visual graphisticator alone is worth the whole suaveness and decadence which abounds!! Date: Tue, 23 Jul 2002 12:23:00 -0000 In-Reply-To: <20020723183956.GA28558@nevyn.them.org> Message-ID: <871y9ub6fj.fsf@fleche.redhat.com> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-07/txt/msg00461.txt.bz2 >>>>> "Daniel" == Daniel Jacobowitz writes: Daniel> Here we go. They only work quite right for the CLI; they Daniel> sort-of work for other front-ends, and print a warning to that Daniel> effect. Documentation included. These are pretty much how Daniel> Tom originally did them: You'll hate to hear this, but I ended up rewriting the patch to be a `transcript' command. The follow-on discussion to my original patch convinced me that the names ">" and ">>" weren't that great. Also, going this route let me remove some of the hacks in cli/. The new usage I implemented is: transcript > FILE transcript >> FILE transcript | COMMAND I never submitted my rewrite since I hadn't addressed the one remaining problem, namely teeing. I can send it if you want it. Daniel> tee file Daniel> tee -a file Maybe tee should be the default? My experiments using the transcript code indicated to me that it is hard to use gdb when you don't see the output... Tom