Return-Path: william@bourbon.usc.edu Delivery-Date: Wed Nov 26 20:03:00 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on merlot.usc.edu X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Received: from bourbon.usc.edu (bourbon.usc.edu [128.125.9.75]) by merlot.usc.edu (8.14.1/8.14.1) with ESMTP id mAR430Wd000371 for ; Wed, 26 Nov 2008 20:03:00 -0800 Received: from bourbon.usc.edu (localhost.localdomain [127.0.0.1]) by bourbon.usc.edu (8.14.2/8.14.1) with ESMTP id mAR423OA009983 for ; Wed, 26 Nov 2008 20:02:04 -0800 Message-Id: <200811270402.mAR423OA009983@bourbon.usc.edu> To: cs551@merlot.usc.edu Subject: Re: search result Date: Wed, 26 Nov 2008 20:02:03 -0800 From: Bill Cheng Someone wrote: > When we enter search command, should we display results > immediately when receiving any packets? or display results until > all packets are received? It's because if I do the 2nd choice, > there will be no results on the screen unless either press CTRL+C > or time expired. You should do it as soon as possible. The spec says: When the user presses ^C (Control-c) on the keyboard, the displaying of search results is terminated (although the node may be receiving more search results) and a command prompt should be displayed. This sort of implies that you should display the results as soon as you get them. If you don't, you need to make sure that when is pressed, you should display all the results you have received so far. -- Bill Cheng // bill.cheng@usc.edu