From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1IAECY-0003Ys-Da for garchives@archives.gentoo.org; Mon, 16 Jul 2007 00:12:35 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l6G0BLhL019470; Mon, 16 Jul 2007 00:11:21 GMT Received: from mail.netspace.net.au (mail-out1.netspace.net.au [203.10.110.71]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l6G06vZ8014729 for ; Mon, 16 Jul 2007 00:06:58 GMT Received: from [172.16.0.52] (ppp246-231.static.internode.on.net [203.122.246.231]) by mail.netspace.net.au (Postfix) with ESMTP id 957554362C for ; Mon, 16 Jul 2007 10:06:55 +1000 (EST) Subject: Re: [gentoo-user] debugging init scripts From: Iain Buchanan To: gentoo-user@lists.gentoo.org In-Reply-To: <1184260003.10327.1199851397@webmail.messagingengine.com> References: <13b70780707120832h3c8200eelc88b644fe9b4f9af@mail.gmail.com> <200707121715.40746.uwix@iway.na> <1184260003.10327.1199851397@webmail.messagingengine.com> Content-Type: text/plain Date: Mon, 16 Jul 2007 09:37:26 +0930 Message-Id: <1184544446.6934.5.camel@orpheus> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.10.2 Content-Transfer-Encoding: 7bit X-Archives-Salt: efcab098-807d-4b67-95f3-afcf81b54cc8 X-Archives-Hash: 568411bb97292bb089fe0e5c3d717b1b On Thu, 2007-07-12 at 13:06 -0400, Thomas Tuttle wrote: > And as for less thinking it's a binary file, that's because the Gentoo > initscripts change the text color using escape codes, which are > considered binary by less. (Specifically, the escape character, ASCII > 27, is probably considered binary.) it's a funny workaround, but sometimes you have to type cat file | less to stop less being "intelligent". Or you could disable it's input preprocessor: LESSOPEN="" less /usr/bin/echo-client-2 cya, -- Iain Buchanan All heiresses are beautiful. -- John Dryden -- gentoo-user@gentoo.org mailing list