Gentoo Archives: gentoo-user

From: Iain Buchanan <iaindb@××××××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] debugging init scripts
Date: Mon, 16 Jul 2007 00:12:35
Message-Id: 1184544446.6934.5.camel@orpheus
In Reply to: Re: [gentoo-user] debugging init scripts by Thomas Tuttle
1 On Thu, 2007-07-12 at 13:06 -0400, Thomas Tuttle wrote:
2
3 > And as for less thinking it's a binary file, that's because the Gentoo
4 > initscripts change the text color using escape codes, which are
5 > considered binary by less. (Specifically, the escape character, ASCII
6 > 27, is probably considered binary.)
7
8 it's a funny workaround, but sometimes you have to type
9
10 cat file | less
11
12 to stop less being "intelligent". Or you could disable it's input
13 preprocessor:
14
15 LESSOPEN="" less /usr/bin/echo-client-2
16
17 cya,
18 --
19 Iain Buchanan <iaindb at netspace dot net dot au>
20
21 All heiresses are beautiful.
22 -- John Dryden
23
24 --
25 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] debugging init scripts Ian Hastie <ianh@××××××××××××××.net>