public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Iain Buchanan <iaindb@netspace.net.au>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] debugging init scripts
Date: Mon, 16 Jul 2007 09:37:26 +0930	[thread overview]
Message-ID: <1184544446.6934.5.camel@orpheus> (raw)
In-Reply-To: <1184260003.10327.1199851397@webmail.messagingengine.com>

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 <iaindb at netspace dot net dot au>

All heiresses are beautiful.
		-- John Dryden

-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2007-07-16  0:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-12 15:32 [gentoo-user] debugging init scripts Frank Wilson
2007-07-12 16:15 ` Uwe Thiem
2007-07-12 17:06   ` Thomas Tuttle
2007-07-16  0:07     ` Iain Buchanan [this message]
2007-07-16  1:13       ` Ian Hastie
2007-07-16  1:58         ` Iain Buchanan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1184544446.6934.5.camel@orpheus \
    --to=iaindb@netspace.net.au \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox