From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1S0iDn-0006Af-9w for garchives@archives.gentoo.org; Thu, 23 Feb 2012 23:37:11 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 86EEBE0453; Thu, 23 Feb 2012 23:36:57 +0000 (UTC) Received: from smtp4.epfl.ch (smtp4.epfl.ch [128.178.224.218]) by pigeon.gentoo.org (Postfix) with SMTP id 7BF7CE0453 for ; Thu, 23 Feb 2012 23:35:56 +0000 (UTC) Received: (qmail 29021 invoked by uid 107); 23 Feb 2012 23:35:52 -0000 X-Virus-Scanned: ClamAV Received: from 80-218-102-53.dclient.hispeed.ch (HELO epfl.ch) (80.218.102.53) (authenticated) by smtp4.epfl.ch (AngelmatoPhylax SMTP proxy) with ESMTPA; Fri, 24 Feb 2012 00:35:53 +0100 Received: by epfl.ch (nbSMTP-1.00) for uid 1000 (using TLSv1/SSLv3 with cipher AES256-SHA (256/256 bits)) wongwwy@member.ams.org; Fri, 24 Feb 2012 00:40:05 +0100 (CET) Date: Fri, 24 Feb 2012 00:40:02 +0100 From: Willie WY Wong To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: dog - man's best friend. Message-ID: <20120223234002.GB23002@Gee-Mi-Ni> References: <20120223204200.GE2834@acm.acm> <20120223212840.GA20963@RawFedDogs.net> <874nuhdtg2.fsf@newsguy.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <874nuhdtg2.fsf@newsguy.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: 9e7ea893-eebe-43be-ac8c-5211437da19b X-Archives-Hash: a1a308b6bb25086e8970b993b84ea68c On Thu, Feb 23, 2012 at 06:24:29PM -0500, Penguin Lover Harry Putnam squawked: > > On Thu, Feb 23, 2012 at 08:42:00PM +0000, Alan Mackenzie wrote: > > > >> (a) using less, and have it take just 10 screen lines; (b) using cat etc., > >> and have the interesting part scroll away. > > > > (c) use less -F and less will automatically exit if the entire file can fit > > on one screen. One can export LESS='-F' to have less always do the above. > > Maybe I'm seeing behavior that is not supposed to happen, but if I say > echo '## ONE LINE' > test > > And then say less -F test > > I do not get to see the one line. I don't think that's what Alan > was looking for is it? That is not supposed to happen. Is that in a X terminal or on the text console? If you `less test` and quit, does the content of the test file stay on screen or does it get cleared (I bet the former)? Try `less -XF test` in that case, and see if it helps. W -- Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire et vice versa ~~~ I. Newton