Re: [gentoo-user] Are those green drives any good?

2012-05-12 Thread Mick
On Thursday 10 May 2012 19:51:14 Mark Knecht wrote:
 On Thu, May 10, 2012 at 11:13 AM, Norman Invasion
 
 invasivenor...@gmail.com wrote:
  On 10 May 2012 14:01, Mark Knecht markkne...@gmail.com wrote:
  On Thu, May 10, 2012 at 9:20 AM, Norman Invasion
  
  invasivenor...@gmail.com wrote:
  On 9 May 2012 04:47, Dale rdalek1...@gmail.com wrote:
  Hi,
  
  As some know, I'm planning to buy me a LARGE hard drive to put all my
  videos on, eventually.  The prices are coming down now.  I keep seeing
  these green drives that are made by just about every company
  nowadays. When comparing them to a non green drive, do they hold up
  as good? Are they as dependable as a plain drive?  I guess they are
  more efficient and I get that but do they break quicker, more often
  or no difference?
  
  I have noticed that they tend to spin slower and are cheaper.  That
  much I have figured out.  Other than that, I can't see any other
  difference. Data speeds seem to be about the same.
  
  They have an ugly tendency to nod off at 6 second intervals.
  This runs up 193 Load_Cycle_Count unacceptably: as many
  as a few hundred thousand in a year  a million cycles is
  getting close to the lifetime limit on most hard drives.  I end
  up running some iteration of
  # hdparm -B 255 /dev/sda
  every boot.
  
  Very true about the 193 count. Here's a drive in a system that was
  built in Jan., 2010 so it's a bit over 2 years old at this point. It's
  on 24/7 and not rebooted except for more major updates, etc. My tests
  say the drive spins down and starts back up every 2 minutes and has
  been doing so for about 28 months. IIRC the 193 spec on this drive was
  something like 30 max with the drive currently clocking in at
  700488. I don't see any evidence that it's going to fail but I am
  trying to make sure it's backed up often. Being that it's gone 2x at
  this point I will swap the drive out in the early summer no matter
  what. This week I'll be visiting where the machine is so I'm going to
  put a backup drive in the box to get ready.
  
  Yes, I just learned about this problem in 2009 or so, 
  checked on my FreeBSD laptop, which turned out to be
  at 40.  It only made it another month or so before
  having unrecoverable errors.
  
  Now, I can't conclusively demonstrate that the 193
  Load_Cycle_Count was somehow causitive, but I
  gots my suspicions.  Many of 'em highly suspectable.
 
 It's part of the 'Wear Out Failure' part of the Bathtub Curve posted
 in the last few days. That said, some Toyotas go 100K miles, and
 others go 500K miles. Same car, same spec, same production line,
 different owners, different roads, different climates, etc.
 
 It's not possible to absolutely know when any drive will fail. I
 suspect that the 300K spec is just that, a spec. They'd replace the
 drive if it failed at 299,999 and wouldn't replace it at 300,001. That
 said, they don't want to spec thing too tightly, and I doubt many
 people make a purchasing decision on a spec like this, so for the vast
 majority of drives most likely they'd do far more than 300K.
 
 At 2 minutes per count on that specific WD Green Drive, if a home
 machine is turned on for instance 5 hours a day (6PM to 11PM) then
 300K count equates to around 6 years. To me that seems pretty generous
 for a low cost home machine. However for a 24/7 production server it's
 a pretty fast replacement schedule.
 
 Here's data for my 500GB WD RAID Edition drives in my compute server
 here. It's powered down almost every night but doesn't suffer from the
 same firmware issues. The machine was built in April, 2010, so it's a
 bit of 2 years old.  Note that it's been powered on less than 1/2 the
 number of hours but only has a 193 count of 907 vs  70!
 
 Cheers,
 Mark
 
 
 c2stable ~ # smartctl -a /dev/sda
 smartctl 5.42 2011-10-20 r3458 [x86_64-linux-3.2.12-gentoo] (local build)
 Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
 
 === START OF INFORMATION SECTION ===
 Model Family: Western Digital RE3 Serial ATA
 Device Model: WDC WD5002ABYS-02B1B0
 Serial Number:WD-WCASYA846988
 LU WWN Device Id: 5 0014ee 2042c3477
 Firmware Version: 02.03B03
 User Capacity:500,107,862,016 bytes [500 GB]
 Sector Size:  512 bytes logical/physical
 Device is:In smartctl database [for details use: -P show]
 ATA Version is:   8
 ATA Standard is:  Exact ATA specification draft version not indicated
 Local Time is:Thu May 10 11:45:45 2012 PDT
 SMART support is: Available - device has SMART capability.
 SMART support is: Enabled
 
 === START OF READ SMART DATA SECTION ===
 SMART overall-health self-assessment test result: PASSED
 
 General SMART Values:
 Offline data collection status:  (0x84) Offline data collection activity
 was suspended by an
 interrupting command from host.
 Auto Offline Data Collection:
 Enabled. Self-test execution status:

Re: [gentoo-user] Are those green drives any good?

2012-05-12 Thread Volker Armin Hemmann
Am Samstag, 12. Mai 2012, 10:34:12 schrieb Mick:
 On Thursday 10 May 2012 19:51:14 Mark Knecht wrote:
  On Thu, May 10, 2012 at 11:13 AM, Norman Invasion
  
  invasivenor...@gmail.com wrote:
   On 10 May 2012 14:01, Mark Knecht markkne...@gmail.com wrote:
   On Thu, May 10, 2012 at 9:20 AM, Norman Invasion
   
   invasivenor...@gmail.com wrote:
   On 9 May 2012 04:47, Dale rdalek1...@gmail.com wrote:
   Hi,
   
   As some know, I'm planning to buy me a LARGE hard drive to put all my
   videos on, eventually.  The prices are coming down now.  I keep
   seeing
   these green drives that are made by just about every company
   nowadays. When comparing them to a non green drive, do they hold up
   as good? Are they as dependable as a plain drive?  I guess they are
   more efficient and I get that but do they break quicker, more often
   or no difference?
   
   I have noticed that they tend to spin slower and are cheaper.  That
   much I have figured out.  Other than that, I can't see any other
   difference. Data speeds seem to be about the same.
   
   They have an ugly tendency to nod off at 6 second intervals.
   This runs up 193 Load_Cycle_Count unacceptably: as many
   as a few hundred thousand in a year  a million cycles is
   getting close to the lifetime limit on most hard drives.  I end
   up running some iteration of
   # hdparm -B 255 /dev/sda
   every boot.
   
   Very true about the 193 count. Here's a drive in a system that was
   built in Jan., 2010 so it's a bit over 2 years old at this point. It's
   on 24/7 and not rebooted except for more major updates, etc. My tests
   say the drive spins down and starts back up every 2 minutes and has
   been doing so for about 28 months. IIRC the 193 spec on this drive was
   something like 30 max with the drive currently clocking in at
   700488. I don't see any evidence that it's going to fail but I am
   trying to make sure it's backed up often. Being that it's gone 2x at
   this point I will swap the drive out in the early summer no matter
   what. This week I'll be visiting where the machine is so I'm going to
   put a backup drive in the box to get ready.
   
   Yes, I just learned about this problem in 2009 or so, 
   checked on my FreeBSD laptop, which turned out to be
   at 40.  It only made it another month or so before
   having unrecoverable errors.
   
   Now, I can't conclusively demonstrate that the 193
   Load_Cycle_Count was somehow causitive, but I
   gots my suspicions.  Many of 'em highly suspectable.
  
  It's part of the 'Wear Out Failure' part of the Bathtub Curve posted
  in the last few days. That said, some Toyotas go 100K miles, and
  others go 500K miles. Same car, same spec, same production line,
  different owners, different roads, different climates, etc.
  
  It's not possible to absolutely know when any drive will fail. I
  suspect that the 300K spec is just that, a spec. They'd replace the
  drive if it failed at 299,999 and wouldn't replace it at 300,001. That
  said, they don't want to spec thing too tightly, and I doubt many
  people make a purchasing decision on a spec like this, so for the vast
  majority of drives most likely they'd do far more than 300K.
  
  At 2 minutes per count on that specific WD Green Drive, if a home
  machine is turned on for instance 5 hours a day (6PM to 11PM) then
  300K count equates to around 6 years. To me that seems pretty generous
  for a low cost home machine. However for a 24/7 production server it's
  a pretty fast replacement schedule.
  
  Here's data for my 500GB WD RAID Edition drives in my compute server
  here. It's powered down almost every night but doesn't suffer from the
  same firmware issues. The machine was built in April, 2010, so it's a
  bit of 2 years old.  Note that it's been powered on less than 1/2 the
  number of hours but only has a 193 count of 907 vs  70!
  
  Cheers,
  Mark
  
  
  c2stable ~ # smartctl -a /dev/sda
  smartctl 5.42 2011-10-20 r3458 [x86_64-linux-3.2.12-gentoo] (local build)
  Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
  
  === START OF INFORMATION SECTION ===
  Model Family: Western Digital RE3 Serial ATA
  Device Model: WDC WD5002ABYS-02B1B0
  Serial Number:WD-WCASYA846988
  LU WWN Device Id: 5 0014ee 2042c3477
  Firmware Version: 02.03B03
  User Capacity:500,107,862,016 bytes [500 GB]
  Sector Size:  512 bytes logical/physical
  Device is:In smartctl database [for details use: -P show]
  ATA Version is:   8
  ATA Standard is:  Exact ATA specification draft version not indicated
  Local Time is:Thu May 10 11:45:45 2012 PDT
  SMART support is: Available - device has SMART capability.
  SMART support is: Enabled
  
  === START OF READ SMART DATA SECTION ===
  SMART overall-health self-assessment test result: PASSED
  
  General SMART Values:
  Offline data collection status:  (0x84) Offline data collection activity
  
  was 

Re: [gentoo-user] What to use for Flash?

2012-05-12 Thread Mick
On Saturday 12 May 2012 02:17:04 Dale wrote:
 Mick wrote:
  The latest stable www-plugins/adobe-flash-11.2.202.235 includes the
  sse2check flag and warnings about it - I take it that you have taken hid
  of these?
  
  $ euse -i sse2check
  global use flags (searching: sse2check)
  
  no matching entries found
  
  local use flags (searching: sse2check)
  
  [-  ] sse2check
  
  www-plugins/adobe-flash: This flag, enabled by default, will check
  for sse2 support on your cpu and die if not found. If you are
  remote-building this package, you can disable this flag but you have
  been warned
  
10.3.183.18 [gentoo]
  
  [+ B] 11.2.202.228 [gentoo]
  [+ B] 11.2.202.233 [gentoo]
  [+ B] 11.2.202.235 [gentoo]
 
 I checked on this when it was mentioned, I guess in the other thread.
 It appears it got changed when I did my upgrade.  At least it doesn't
 crash now.  It was enabled tho so I fixed that.
 
 New problem tho.  I have Seamonkey's web browser on desktop 1.  The
 email is on desktop 2.  My local radar from NOAA uses flash.  When I
 load it, I can see the image from flash on both desktop 1 and 2.
 Everything else is updated except the flash part.  If I switch a couple
 times, it gets really weird looking.  Looks like someone slipped LSD in
 my drink or something.  Just weird colors and such.
 
 What's up with that?  I'm going to try rebuilding a couple things to
 make sure everything is in sync.  Maybe that will fix it.
 
 While I am at it.  Is HTML5 going to replace flash?  I don't mean in the
 next week but over a period of time.  While researching this, I ran
 across posts that suggest HTML5 will render flash outdated.  Just curious.

If you speak to adobe, they'll say no.

If you speak to apple they'll say yes.

Mobile devices have mostly moved away from flash.  Youtube already serves 
html5 videos, if only as a trial:

  http://www.youtube.com/html5

Unless flash provides something that html5 or other code (e.g. JavaScript, 
CSS, etc.) can't, I think flash is on its slow way out.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] What to use for Flash?

2012-05-12 Thread Dale
Mick wrote:

 If you speak to adobe, they'll say no.
 
 If you speak to apple they'll say yes.
 
 Mobile devices have mostly moved away from flash.  Youtube already serves 
 html5 videos, if only as a trial:
 
   http://www.youtube.com/html5
 
 Unless flash provides something that html5 or other code (e.g. JavaScript, 
 CSS, etc.) can't, I think flash is on its slow way out.


That's the way I understood the articles I was reading as well.  I seems
HTML5 is fairly powerful and rich in features.  Read that as, you can
watch videos, show gif, jpegs and such and have other animated thingys.

I would also add, I bet it is going to be more secure too.  From what I
have read on this list and the notices I get from the US Government
alerts, Adobe Flash is about the most insecure thing there is.  The only
thing that may beat it is windoze 95.  ROFL

I read about Youtube and it's testing.  I have not tried it on a
permanent basis but I did do a one session test a while back.  I
couldn't SEE any difference.  I think that is a good thing myself.  I'm
not sure what all changes there was tho.  It may not make enough of a
difference for me to notice, yet.

Here's to hoping HTML5 gets rid of flash, sooner the better.

Thanks for the info and the fix.

Dale

:-)  :-)

-- 
I am only responsible for what I said ... Not for what you understood or
how you interpreted my words!

Miss the compile output?  Hint:
EMERGE_DEFAULT_OPTS=--quiet-build=n



Re: [gentoo-user] merging or fitting images together

2012-05-12 Thread Philip Webb
120511 Dale wrote:
 The biggest things about hugin, 1)  learning to use the thing
 2) patience.  The more control points you get, the better it will turn out.
 Whatever you do, don't leave a control point that is not matched up.
 Talk about a weird picture.  It only takes one too.

I was careful to make sure there was an overlap in the negatives,
so these are parts of the same image a/a separate shots of the same scene.
That should make matching much more straightforward.
Corbet explained in detail how he made a panorama for separate shots
of a scene in Colorado, where he lives, so that wb my starting-point.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] Active Directory Based Authentication?

2012-05-12 Thread Pandu Poluan
On May 12, 2012 7:13 AM, Alecks Gates aleck...@gmail.com wrote:

 On Fri, May 11, 2012 at 5:30 PM, Stroller
 strol...@stellar.eclipse.co.uk wrote:
 
  On 11 May 2012, at 04:36, Pandu Poluan wrote:
  ...
  I just want to know, what is your recommendation(s) to implement
Active Directory authentication on Gentoo?
 
  I want to use AD not only for logins, but also for running
daemons/services.
 
  *Ideally*, it would also allow me to manage my boxen using GPO, but I
can live without that.
 
 
  Not sure about Active Directory, but I have used Samba's winbind to
authenticate Windows domain users on a Linux box.
 
  It was remarkably easy and basically boiled down to adding a couple of
lines to the service's /etc/pam.d file; when a user logged in for the first
time a ~ would be created for them on the Linux box.
 
  Stroller.
 
 

 Perhaps you should check out Calculate Directory Server?  I don't
 think it's very popular outside of Russia but some of it looks rather
 promising.


At a glance, it looks more like a Domain Controller replacement instead of
AD-based authentication for 'member servers'.

However, it *does* look interesting; if it can provide the features my
company needs, I can see us cutting down the number of Win2008 licenses :-)

Rgds,


Re: [gentoo-user] I want to play movies without hangs [SOLVED, sort of]

2012-05-12 Thread Norman Invasion
On 11 May 2012 21:40, Alex Schuster wo...@wonkology.org wrote:
 Finally, I found something. It's Dolphin!

 I've done some longer testing, always playing the same video parallel
 with a dd if=/dev/zero of=/tmp/10G bs=1M count=1, in mplayer, for a
 minute, several times. When I do this by opening the file in Dolphin, I
 get about 15 interruptions, some for longer than a second. Started on the
 command line, there are very few, I can play the video for minutes
 without a gap. Hooray!

 In KDE, I usually play videos by opening them in Dolphin. I exchanged
 'mplayer %U' by 'xterm -T MPLAYER -e mplayer %U' in the settings, now
 mplayer runs in a terminal, and all is fine. I created a window rule so
 the terminal automatically minimizes. Cool!

 It only happens in mplayer and mplayer2. Other players work fine, but I
 like mplayer best, and prefer to run it without any window decoration.

 Now, would this be an MPlayer problem, or one of Dolphin?


Apologies: I haven't followed this thread from the beginning,
but do you have any advanced power management features
enabled (especially hard drive related)?
When I pull the power cord on my lap-top, it goes into all kinds
of nutty power-saving and mplayer has long pauses while
the drive spins back up.



Re: [gentoo-user] I want to play movies without hangs [SOLVED, sort of]

2012-05-12 Thread Alex Schuster
Norman Invasion writes:

 On 11 May 2012 21:40, Alex Schuster wo...@wonkology.org wrote:
  Finally, I found something. It's Dolphin!
[...]
 Apologies: I haven't followed this thread from the beginning,

Which was quite long ago :)

 but do you have any advanced power management features
 enabled (especially hard drive related)?

My drives spin down after 30 minutes of idle time, but this never happens
for the system drive. The CPU is set to throttle down from 3600 MHz to
1400 MHz with the ondemand governor, but changing to performance governor
makes no change.

 When I pull the power cord on my lap-top, it goes into all kinds
 of nutty power-saving and mplayer has long pauses while
 the drive spins back up.

Yeah, but those pauses are much longer than the small interruptions that
are a fraction of a second mostly, and do not happen 15 times per minute.
And it only happens when MPlayer is started from Dolphin. Well, mainly,
when there is much system load, I also had small interruptions when I run
mplayer from the command line, but they are much much less frequent, and
do not happen under normal circumstances, like when doing emerges while
playing videos.

Wonko



Re: [gentoo-user] I want to play movies without hangs [SOLVED, sort of]

2012-05-12 Thread Norman Invasion
On 12 May 2012 11:05, Alex Schuster wo...@wonkology.org wrote:
 Norman Invasion writes:

 On 11 May 2012 21:40, Alex Schuster wo...@wonkology.org wrote:
  Finally, I found something. It's Dolphin!
 [...]
 Apologies: I haven't followed this thread from the beginning,

 Which was quite long ago :)

 but do you have any advanced power management features
 enabled (especially hard drive related)?

 My drives spin down after 30 minutes of idle time, but this never happens
 for the system drive. The CPU is set to throttle down from 3600 MHz to
 1400 MHz with the ondemand governor, but changing to performance governor
 makes no change.

 When I pull the power cord on my lap-top, it goes into all kinds
 of nutty power-saving and mplayer has long pauses while
 the drive spins back up.

 Yeah, but those pauses are much longer than the small interruptions that
 are a fraction of a second mostly, and do not happen 15 times per minute.
 And it only happens when MPlayer is started from Dolphin. Well, mainly,
 when there is much system load, I also had small interruptions when I run
 mplayer from the command line, but they are much much less frequent, and
 do not happen under normal circumstances, like when doing emerges while
 playing videos.


I'm just recalling that I get stuttering audio in freebsd, which is caused
by what-I-don't-know, but only happens when the CPU load is low.
Firing up burncpu or doing useless recompiles ameliorates it.



Re: [gentoo-user] What to use for Flash?

2012-05-12 Thread ny6p01
On Fri, May 11, 2012 at 08:07:54AM +0100, Mick wrote:
 On Thursday 10 May 2012 12:47:51 Dale wrote:
  Hi,
  
  There was a thread a while back that talked about flash.  Well, I let
  mine upgrade and now it crashes, badly.  I unmerged adobe-flash then
  tried lightspark and gnash.  Neither of those work on sites I tried,
  which is sites I go to a good bit.
  
  Since Adobe is dropping Linux flash, that's what I read anyway, what is
  everyone using for flash now?
  
  Things I tried so far:
  
  www-plugins/adobe-flash-10.3.183.18
  www-plugins/adobe-flash-11.2.202.233
  www-plugins/adobe-flash-11.2.202.235
  gnash-0.8.10-r2
  lightspark-0.5.6
  
  The version that worked last is:
  
  www-plugins/adobe-flash-11.1.102.55
  
  It's no longer in the tree of course.   sighs 
  
  Ideas?
 
 The latest stable www-plugins/adobe-flash-11.2.202.235 includes the sse2check 
 flag and warnings about it - I take it that you have taken hid of these?
 
 $ euse -i sse2check
 global use flags (searching: sse2check)
 
 no matching entries found
 
 local use flags (searching: sse2check)
 
 [-  ] sse2check
 www-plugins/adobe-flash: This flag, enabled by default, will check 
 for sse2 support on your cpu and die if not found. If you are 
 remote-building this package, you can disable this flag but you have 
 been warned
   10.3.183.18 [gentoo]
 [+ B] 11.2.202.228 [gentoo]
 [+ B] 11.2.202.233 [gentoo]
 [+ B] 11.2.202.235 [gentoo]
 -- 
 Regards,
 Mick


I usu just dl the linux flash glob from the Adobe site and put it in
.mozilla/.../plugins.

Terry


pgpRBKc06LPzL.pgp
Description: PGP signature


Re: [gentoo-user] What to use for Flash?

2012-05-12 Thread ny6p01
On Fri, May 11, 2012 at 08:17:04PM -0500, Dale wrote:
 Mick wrote:
 
  The latest stable www-plugins/adobe-flash-11.2.202.235 includes the 
  sse2check 
  flag and warnings about it - I take it that you have taken hid of these?
  
  $ euse -i sse2check
  global use flags (searching: sse2check)
  
  no matching entries found
  
  local use flags (searching: sse2check)
  
  [-  ] sse2check
  www-plugins/adobe-flash: This flag, enabled by default, will check 
  for sse2 support on your cpu and die if not found. If you are 
  remote-building this package, you can disable this flag but you have 
  been warned
10.3.183.18 [gentoo]
  [+ B] 11.2.202.228 [gentoo]
  [+ B] 11.2.202.233 [gentoo]
  [+ B] 11.2.202.235 [gentoo]
 
 
 I checked on this when it was mentioned, I guess in the other thread.
 It appears it got changed when I did my upgrade.  At least it doesn't
 crash now.  It was enabled tho so I fixed that.
 
 New problem tho.  I have Seamonkey's web browser on desktop 1.  The
 email is on desktop 2.  My local radar from NOAA uses flash.  When I
 load it, I can see the image from flash on both desktop 1 and 2.
 Everything else is updated except the flash part.  If I switch a couple
 times, it gets really weird looking.  Looks like someone slipped LSD in
 my drink or something.  Just weird colors and such.
 
 What's up with that?  I'm going to try rebuilding a couple things to
 make sure everything is in sync.  Maybe that will fix it.
 
 While I am at it.  Is HTML5 going to replace flash?  I don't mean in the
 next week but over a period of time.  While researching this, I ran
 across posts that suggest HTML5 will render flash outdated.  Just curious.
 
 Dale
 
 :-)  :-)
 
 -- 
 I am only responsible for what I said ... Not for what you understood or
 how you interpreted my words!
 
 Miss the compile output?  Hint:
 EMERGE_DEFAULT_OPTS=--quiet-build=n
 

I hope not. HTML5 runs like crap here. I think it may need a faster dl speed
than I've got. If everything does migrate I might have to upgrade my
internet speed.

Terry


pgpFz0j9q6X28.pgp
Description: PGP signature


[gentoo-user] Re: make of gentoo-sources-3.2.12 fails

2012-05-12 Thread walt
On 05/10/2012 07:20 AM, Michael Scherer wrote:
   LD  init/mounts.o
 ls -Al -m elf_x86_64 -r -o init/mounts.o init/do_mounts.o
   init/do_mounts_initrd.o init/mounts.o: No such file or directory

Maybe that step is correct but it sure looks strange to me.  Looks
like 'ls' is being substituted for 'ld', maybe?  Is that a cut-and-
paste error?









Re: [gentoo-user] Are those green drives any good?

2012-05-12 Thread Frank Steinmetzger
On Thu, May 10, 2012 at 12:20:57PM -0400, Norman Invasion wrote:
 On 9 May 2012 04:47, Dale rdalek1...@gmail.com wrote:
  Hi,
 
  As some know, I'm planning to buy me a LARGE hard drive to put all my
  videos on, eventually.  The prices are coming down now.  I keep seeing
  these green drives that are made by just about every company nowadays.
   When comparing them to a non green drive, do they hold up as good?
  Are they as dependable as a plain drive?  I guess they are more
  efficient and I get that but do they break quicker, more often or no
  difference?
 
  I have noticed that they tend to spin slower and are cheaper.  That much
  I have figured out.  Other than that, I can't see any other difference.
   Data speeds seem to be about the same.
 
 
 They have an ugly tendency to nod off at 6 second intervals.
 This runs up 193 Load_Cycle_Count unacceptably: as many
 as a few hundred thousand in a year  a million cycles is
 getting close to the lifetime limit on most hard drives.  I end
 up running some iteration of
 # hdparm -B 255 /dev/sda
 every boot.

I bought my current internal laptop disk for Christmas 2008.  It's a Samsung
HM500JI (with 500 GB).  Early on I noticed that, according to smartctl, its
Load_Cycle_Count is increasing every 2 or 3 seconds.  I even asked Samsung
about this, but they either couldn't give any clue or didn't want to, b/c the
Serial Number is from Turkey, so not from the European market.

Anyhoo... I just checked the values:
Power on hours:11500
Start/stop count:   2797
Power cycle count:  2197

But the load cycle count is at almost 12.3 million(!).  That just can't be
right.  I stopped believing that number a good while ago.


OTOH, I just became a bit nervous when looking at smartctl's output...
Reallocated sectors:7 (threshold 10)
Calibration retry count: 1631
Load retry count:1631
-- 
Gruß | Greetings | Qapla'
Please do not share anything from, with or about me with any Facebook service.

Humans lose most of their time trying to gain time.



Re: [gentoo-user] merging or fitting images together

2012-05-12 Thread Michael Mol
On Sat, May 12, 2012 at 9:22 AM, Philip Webb purs...@ca.inter.net wrote:
 120511 Dale wrote:
 The biggest things about hugin, 1)  learning to use the thing
 2) patience.  The more control points you get, the better it will turn out.
 Whatever you do, don't leave a control point that is not matched up.
 Talk about a weird picture.  It only takes one too.

 I was careful to make sure there was an overlap in the negatives,
 so these are parts of the same image a/a separate shots of the same scene.
 That should make matching much more straightforward.
 Corbet explained in detail how he made a panorama for separate shots
 of a scene in Colorado, where he lives, so that wb my starting-point.

Chiming in late, I know, but I also wanted to recommend Hugin. I've
used it extensively for panoramas.

Also, Hugin has excellent overlap detection algorithms for generating
control points, and its UI for Celeste is good at removing control
points on clouds.

-- 
:wq



Re: [gentoo-user] What to use for Flash?

2012-05-12 Thread Mick
On Saturday 12 May 2012 17:42:34 ny6...@gmail.com wrote:

 I hope not. HTML5 runs like crap here. I think it may need a faster dl
 speed than I've got. If everything does migrate I might have to upgrade my
 internet speed.

Have you tried increasing the cache on your video player that html5 uses?

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] less file.html

2012-05-12 Thread Stroller
I want to view the html source of a webpage.

When I run `less file.html` the rendered webpage is shown, not the source. It 
is as if lynx had been invoked, rather than less. 

`more file.html` and `most file.html` both work fine, but this is annoying - it 
takes an effort to prevent my fingers from typing `less`.

How do I disable less from parsing html source, please?

The matter appears to be addressed in neither the manpage nor the info file. 
Google doesn't seem to have any results, probably because less is such a 
common word used in other contexts.

Stroller.




[gentoo-user] Re: less file.html

2012-05-12 Thread Remy Blank
Stroller wrote:
 When I run `less file.html` the rendered webpage is shown, not the source. It 
 is as if lynx had been invoked, rather than less. 

As a workaround, you can use:

  less file.html

-- Remy



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] less file.html

2012-05-12 Thread Alex Schuster
Stroller writes:

 I want to view the html source of a webpage.
 
 When I run `less file.html` the rendered webpage is shown, not the
 source. It is as if lynx had been invoked, rather than less. 
 
 `more file.html` and `most file.html` both work fine, but this is
 annoying - it takes an effort to prevent my fingers from typing `less`.
 
 How do I disable less from parsing html source, please?

You can set LESSIGNORE='*.htm*'. This environment variable is used by the
lesspipe command, which is invoked by less and filters the input file
before giving it to less itself.
The is, if LESSOPEN='|lesspipe %s', which is set for me as such
in /etc/env.d/70less.

Wonko



Re: [gentoo-user] Re: less file.html

2012-05-12 Thread Canek Peláez Valdés
On Sat, May 12, 2012 at 4:48 PM, Remy Blank remy.bl...@pobox.com wrote:
 Stroller wrote:
 When I run `less file.html` the rendered webpage is shown, not the source. 
 It is as if lynx had been invoked, rather than less.

 As a workaround, you can use:

  less file.html

Another one; unset LESSOPEN:

LESSOPEN= file.html

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] less file.html

2012-05-12 Thread Stroller

On 12 May 2012, at 22:49, Alex Schuster wrote:
 ...
 I want to view the html source of a webpage.
 
 When I run `less file.html` the rendered webpage is shown, not the
 source. It is as if lynx had been invoked, rather than less. 
 ...
 How do I disable less from parsing html source, please?
 
 You can set LESSIGNORE='*.htm*'. This environment variable is used by the
 lesspipe command, which is invoked by less and filters the input file
 before giving it to less itself.

That's great! Thanks!

Searching the manpage for lessopen I find that I can use this shortcut 
instead:

less -L file.html

Stroller.




Re: [gentoo-user] less file.html

2012-05-12 Thread Stroller

On 12 May 2012, at 23:39, Stroller wrote:

 
 On 12 May 2012, at 22:49, Alex Schuster wrote:
 ...
 I want to view the html source of a webpage.
 
 When I run `less file.html` the rendered webpage is shown, not the
 source. It is as if lynx had been invoked, rather than less. 
 ...
 How do I disable less from parsing html source, please?
 
 You can set LESSIGNORE='*.htm*'. This environment variable is used by the
 lesspipe command, which is invoked by less and filters the input file
 before giving it to less itself.
 
 That's great! Thanks!
 
 Searching the manpage for lessopen I find that I can use this shortcut 
 instead:
 
less -L file.html
 
 Stroller.

Oooops! Damnit!

I replied to the wrong message. Please ignore the above.


Re: [gentoo-user] less file.html

2012-05-12 Thread Stroller

On 12 May 2012, at 22:50, Canek Peláez Valdés wrote:
 ...
 Another one; unset LESSOPEN:
 
 LESSOPEN= file.html

That's great! Thanks!

Searching the manpage for lessopen I find that I can use this shortcut 
instead:

   less -L file.html

Stroller.



Re: [gentoo-user] less file.html

2012-05-12 Thread Stroller

On 12 May 2012, at 22:49, Alex Schuster wrote:
 … 
 I want to view the html source of a webpage.
 
 When I run `less file.html` the rendered webpage is shown, not the
 source. It is as if lynx had been invoked, rather than less. 
 ...
 How do I disable less from parsing html source, please?
 
 You can set LESSIGNORE='*.htm*'. This environment variable is used by the
 lesspipe command, which is invoked by less and filters the input file
 before giving it to less itself.

Contrary to my previous email, sent in error, that does NOT work.

Did you check this yourself?

$ LESSOPEN= less file.html# works fine
$ LESSIGNORE='*.htm*' less file.html#does not

I've also tried `export LESSIGNORE='*.htm*'` (for what difference that makes?) 
and tried running the `less` command on a separate line.

What version of less are you using, please? I have =sys-apps/less-444 installed 
here.

As per my previous reply to Canek's suggestion, I now have a working solution. 
LESSOPEN is the keyword that works for me, here. So I only make this reply to 
you now for completeness, as part of the eternal quest for deeper understanding 
and for the benefit of those searching in the future. LESSIGNORE seems even 
more poorly documented than LESSOPEN - I'm afraid I never think to use `info`, 
only `man` in the first instance.

Stroller.






Re: [gentoo-user] less file.html

2012-05-12 Thread Alex Schuster
Stroller writes:

 On 12 May 2012, at 22:49, Alex Schuster wrote:
[...]
  How do I disable less from parsing html source, please?
  
  You can set LESSIGNORE='*.htm*'. This environment variable is used by
  the lesspipe command, which is invoked by less and filters the input
  file before giving it to less itself.
 
 Contrary to my previous email, sent in error, that does NOT work.
 
 Did you check this yourself?

Yes. I did not know about this mechanism before, but 'env|grep -i less'
showed the LESS and LESSOPEN environment variable, so I learnt about the
lesspipe command. lesspipe -h gives a little info, LESSIGNORE is shown
there.

 $ LESSOPEN= less file.html# works fine

It should, for any type of file.

 $ LESSIGNORE='*.htm*' less file.html#does not

Working fine here.

 I've also tried `export LESSIGNORE='*.htm*'` (for what difference that
 makes?) and tried running the `less` command on a separate line.

There is no difference, but it's more convenient to export the variable as
you do not have to set it every time then.

 What version of less are you using, please? I have =sys-apps/less-444
 installed here.

445-r1, but I just downgraded to 444, and it behaves the same. I have the
pcre and unicode USE flags set, but don't assume they make any
difference. Weird, no idea why it it not working for you.

Wonko



Re: [gentoo-user] I want to play movies without hangs

2012-05-12 Thread Alex Schuster
Dale writes:

 Is there a way to find out what is using swap?  Maybe something related
 to the video is on swap which at times can be slow, certainly slower
 than ram.
 
 I have always wondered how to find this out myself.

Me too, so when I had this sudden swap problem for the first time, I
searched for a method to do this and found a script here:
http://northernmost.org/blog/find-out-what-is-using-your-swap/

There's lots of information for all processes in /proc/pid/. Trying to
read /proc/pid/mem (I think it was this file) in mc was not such a good
idea, the system froze with lots of HD activity, and after half an hour I
rebooted with Alt-SysRq-{K,E,I,S,U,B}.

I improved the script a little, it allows sorting by PID, size and name,
and can restrict the output to specific processes or show only those
using more swap than specified. If interested you can download it here:
http://www.wonkology.org/utils/getswap
You need to be root to see processes you do not own.

But of course, I forgot to run it after the sudden swap problem happened
lately. So I still do not know what was going on there. I'll wait for the
next time it happens.

Wonko



[gentoo-user] fsck separate /usr

2012-05-12 Thread Alex Schuster
Hi there!

I'm using the new udev with a separate /usr partition. It was encrypted,
and it seems there is no solution yet for this, so I moved it over to an
unencrypted volume - no problem, /usr is one partition where encryption
does not make that much sense anyway. Works, but after an unclean shutdown
(reading files in /proc/pid/ was not a good idea) /usr wants to be
fsck'ed. But it is already mounted at that stage.

The boot process just continues, but I wonder what one should do to make
the fsck run. Except for using a live cd.

Maybe I should just enlarge my root partition and move /usr there, at
least this would avoid all the trouble. But I'm used to many separate
partitions, and like it that way.

Wonko



Re: [gentoo-user] I want to play movies without hangs

2012-05-12 Thread Michael Mol
On Sat, May 12, 2012 at 8:34 PM, Alex Schuster wo...@wonkology.org wrote:
 Dale writes:

 Is there a way to find out what is using swap?  Maybe something related
 to the video is on swap which at times can be slow, certainly slower
 than ram.

 I have always wondered how to find this out myself.

 Me too, so when I had this sudden swap problem for the first time, I
 searched for a method to do this and found a script here:
 http://northernmost.org/blog/find-out-what-is-using-your-swap/

 There's lots of information for all processes in /proc/pid/. Trying to
 read /proc/pid/mem (I think it was this file) in mc was not such a good
 idea, the system froze with lots of HD activity, and after half an hour I
 rebooted with Alt-SysRq-{K,E,I,S,U,B}.

 I improved the script a little, it allows sorting by PID, size and name,
 and can restrict the output to specific processes or show only those
 using more swap than specified. If interested you can download it here:
 http://www.wonkology.org/utils/getswap
 You need to be root to see processes you do not own.

 But of course, I forgot to run it after the sudden swap problem happened
 lately. So I still do not know what was going on there. I'll wait for the
 next time it happens.

        Wonko


sys-process/htop

-- 
:wq



Re: [gentoo-user] fsck separate /usr

2012-05-12 Thread Canek Peláez Valdés
On Sat, May 12, 2012 at 7:43 PM, Alex Schuster wo...@wonkology.org wrote:
 Hi there!

 I'm using the new udev with a separate /usr partition.

How do you create your initramfs? The new udev (= 182, I believe)
requires the use of an initramfs if you have a separated /usr.

 It was encrypted,
 and it seems there is no solution yet for this.

dracut has two modules, crypt and crypt-gpg, that maybe do what you are needing.

 so I moved it over to an
 unencrypted volume - no problem, /usr is one partition where encryption
 does not make that much sense anyway. Works, but after an unclean shutdown
 (reading files in /proc/pid/ was not a good idea) /usr wants to be
 fsck'ed. But it is already mounted at that stage.

That's the reason you need an initramfs.

 The boot process just continues, but I wonder what one should do to make
 the fsck run. Except for using a live cd.

With an initramfs.

 Maybe I should just enlarge my root partition and move /usr there, at
 least this would avoid all the trouble. But I'm used to many separate
 partitions, and like it that way.

You can have every directory under / on a different partition (even
/etc), if you use an initramfs.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] I want to play movies without hangs

2012-05-12 Thread Alex Schuster
Michael Mol writes:

 On Sat, May 12, 2012 at 8:34 PM, Alex Schuster wo...@wonkology.org
 wrote:
  Dale writes:
 
  Is there a way to find out what is using swap?  Maybe something
  related to the video is on swap which at times can be slow,
  certainly slower than ram.
 
  I have always wondered how to find this out myself.
 
  Me too, so when I had this sudden swap problem for the first time, I
  searched for a method to do this and found a script here:
  http://northernmost.org/blog/find-out-what-is-using-your-swap/
 
  There's lots of information for all processes in /proc/pid/. Trying
  to read /proc/pid/mem (I think it was this file) in mc was not such
  a good idea, the system froze with lots of HD activity, and after
  half an hour I rebooted with Alt-SysRq-{K,E,I,S,U,B}.
 
  I improved the script a little, it allows sorting by PID, size and
  name, and can restrict the output to specific processes or show only
  those using more swap than specified. If interested you can download
  it here: http://www.wonkology.org/utils/getswap
  You need to be root to see processes you do not own.
 
  But of course, I forgot to run it after the sudden swap problem
  happened lately. So I still do not know what was going on there. I'll
  wait for the next time it happens.
 
         Wonko
 
 
 sys-process/htop

Huh? I only see the total amount of swap being used, but no entry per
process.

Wonko



Re: [gentoo-user] I want to play movies without hangs

2012-05-12 Thread Michael Mol
On Sat, May 12, 2012 at 8:58 PM, Alex Schuster wo...@wonkology.org wrote:
 Michael Mol writes:

 On Sat, May 12, 2012 at 8:34 PM, Alex Schuster wo...@wonkology.org
 wrote:
  Dale writes:
 
  Is there a way to find out what is using swap?  Maybe something
  related to the video is on swap which at times can be slow,
  certainly slower than ram.
 
  I have always wondered how to find this out myself.
 
  Me too, so when I had this sudden swap problem for the first time, I
  searched for a method to do this and found a script here:
  http://northernmost.org/blog/find-out-what-is-using-your-swap/
 
  There's lots of information for all processes in /proc/pid/. Trying
  to read /proc/pid/mem (I think it was this file) in mc was not such
  a good idea, the system froze with lots of HD activity, and after
  half an hour I rebooted with Alt-SysRq-{K,E,I,S,U,B}.
 
  I improved the script a little, it allows sorting by PID, size and
  name, and can restrict the output to specific processes or show only
  those using more swap than specified. If interested you can download
  it here: http://www.wonkology.org/utils/getswap
  You need to be root to see processes you do not own.
 
  But of course, I forgot to run it after the sudden swap problem
  happened lately. So I still do not know what was going on there. I'll
  wait for the next time it happens.
 
         Wonko
 

 sys-process/htop

 Huh? I only see the total amount of swap being used, but no entry per
 process.

Hit F2, and go down to 'columns'. Anything per-process found under
/proc can be added as a column.

-- 
:wq



Re: [gentoo-user] What to use for Flash?

2012-05-12 Thread Dale
ny6...@gmail.com wrote:
 On Fri, May 11, 2012 at 08:07:54AM +0100, Mick wrote:
 On Thursday 10 May 2012 12:47:51 Dale wrote:
 Hi,

 There was a thread a while back that talked about flash.  Well, I let
 mine upgrade and now it crashes, badly.  I unmerged adobe-flash then
 tried lightspark and gnash.  Neither of those work on sites I tried,
 which is sites I go to a good bit.

 Since Adobe is dropping Linux flash, that's what I read anyway, what is
 everyone using for flash now?

 Things I tried so far:

 www-plugins/adobe-flash-10.3.183.18
 www-plugins/adobe-flash-11.2.202.233
 www-plugins/adobe-flash-11.2.202.235
 gnash-0.8.10-r2
 lightspark-0.5.6

 The version that worked last is:

 www-plugins/adobe-flash-11.1.102.55

 It's no longer in the tree of course.   sighs 

 Ideas?

 The latest stable www-plugins/adobe-flash-11.2.202.235 includes the 
 sse2check 
 flag and warnings about it - I take it that you have taken hid of these?

 $ euse -i sse2check
 global use flags (searching: sse2check)
 
 no matching entries found

 local use flags (searching: sse2check)
 
 [-  ] sse2check
 www-plugins/adobe-flash: This flag, enabled by default, will check 
 for sse2 support on your cpu and die if not found. If you are 
 remote-building this package, you can disable this flag but you have 
 been warned
   10.3.183.18 [gentoo]
 [+ B] 11.2.202.228 [gentoo]
 [+ B] 11.2.202.233 [gentoo]
 [+ B] 11.2.202.235 [gentoo]
 -- 
 Regards,
 Mick
 
 
 I usu just dl the linux flash glob from the Adobe site and put it in
 .mozilla/.../plugins.
 
 Terry


But if you do that, portage won't update it or anything else outside
portage.  I VERY rarely install anything outside of portage.  Right now,
I have nothing installed on my system that is not taken care of by
portage.  I keep it that way to make sure everything is updated and
bugs/fixes are taken care of even I forget.

Dale

:-)  :-)

-- 
I am only responsible for what I said ... Not for what you understood or
how you interpreted my words!

Miss the compile output?  Hint:
EMERGE_DEFAULT_OPTS=--quiet-build=n



Re: [gentoo-user] fsck separate /usr

2012-05-12 Thread kwkhui
On Sat, 12 May 2012 19:54:24 -0500
Canek Peláez Valdés can...@gmail.com wrote:

 On Sat, May 12, 2012 at 7:43 PM, Alex Schuster wo...@wonkology.org
 wrote:
  Hi there!
 
  I'm using the new udev with a separate /usr partition.
 
 How do you create your initramfs? The new udev (= 182, I believe)
 requires the use of an initramfs if you have a separated /usr.
 
  It was encrypted,
  and it seems there is no solution yet for this.
 
 dracut has two modules, crypt and crypt-gpg, that maybe do what you
 are needing.
 
  so I moved it over to an
  unencrypted volume - no problem, /usr is one partition where
  encryption does not make that much sense anyway. Works, but after
  an unclean shutdown (reading files in /proc/pid/ was not a good
  idea) /usr wants to be fsck'ed. But it is already mounted at that
  stage.
 
 That's the reason you need an initramfs.

No, that's the reason you want the filesystem's fsck to be included in
the initramfs.

  The boot process just continues, but I wonder what one should do to
  make the fsck run. Except for using a live cd.
 
 With an initramfs.

Using initramfs is necessary but itself not sufficient.

One can create an initramfs (from scratch) that does nothing but
mount /usr (with only busybox and a few /dev nodes, plus whatever other
tools needed to find /usr, viz. lvm, cryptsetup and friends, assuming
the necessary drivers are built in the kernel and not as modules ---
see e.g. the old gentoo wiki at
http://www.gentoo-wiki.info/HOWTO_Custom_Initramfs_From_Scratch ).

The initramfs needs to have the relevant fsck tools (plus dependencies)
if it was to perform fsck.

Kerwin.


signature.asc
Description: PGP signature


Re: [gentoo-user] less file.html

2012-05-12 Thread Stroller

On 13 May 2012, at 00:22, Alex Schuster wrote:
 … 
 You can set LESSIGNORE='*.htm*'. This environment variable is used by
 the lesspipe command, which is invoked by less and filters the input
 file before giving it to less itself.
 
 Contrary to my previous email, sent in error, that does NOT work.
 
 Did you check this yourself?
 
 Yes. I did not know about this mechanism before, but 'env|grep -i less'
 showed the LESS and LESSOPEN environment variable, so I learnt about the
 lesspipe command. lesspipe -h gives a little info, LESSIGNORE is shown
 there.

I have here now:

$ env | grep -i less
PAGER=/usr/bin/less
LESS=-R -M --shift 5
LESSOPEN=|lesspipe %s
LESSIGNORE=*.htm*
$ 

And still the same thing.

 What version of less are you using, please? I have =sys-apps/less-444
 installed here.
 
 445-r1, but I just downgraded to 444, and it behaves the same. I have the
 pcre and unicode USE flags set, but don't assume they make any
 difference. Weird, no idea why it it not working for you.

Thanks for your help.

`less -L file.html` works for me - I've got a way of dealing with this, and I'm 
busy with other stuff right now, so I'm just going to forget worrying about 
LESSIGNORE.

I post the above output showing my less environment only for the benefit of 
anyone else encountering this in the future - perhaps it gives them something 
to go on.

I appreciate your assistance, 

Stroller.




Re: [gentoo-user] fsck separate /usr

2012-05-12 Thread Canek Peláez Valdés
On Sat, May 12, 2012 at 10:54 PM,  kwk...@hkbn.net wrote:
 On Sat, 12 May 2012 19:54:24 -0500
 Canek Peláez Valdés can...@gmail.com wrote:

 On Sat, May 12, 2012 at 7:43 PM, Alex Schuster wo...@wonkology.org
 wrote:
  Hi there!
 
  I'm using the new udev with a separate /usr partition.

 How do you create your initramfs? The new udev (= 182, I believe)
 requires the use of an initramfs if you have a separated /usr.

  It was encrypted,
  and it seems there is no solution yet for this.

 dracut has two modules, crypt and crypt-gpg, that maybe do what you
 are needing.

  so I moved it over to an
  unencrypted volume - no problem, /usr is one partition where
  encryption does not make that much sense anyway. Works, but after
  an unclean shutdown (reading files in /proc/pid/ was not a good
  idea) /usr wants to be fsck'ed. But it is already mounted at that
  stage.

 That's the reason you need an initramfs.

 No, that's the reason you want the filesystem's fsck to be included in
 the initramfs.

  The boot process just continues, but I wonder what one should do to
  make the fsck run. Except for using a live cd.

 With an initramfs.

 Using initramfs is necessary but itself not sufficient.

 One can create an initramfs (from scratch) that does nothing but
 mount /usr (with only busybox and a few /dev nodes, plus whatever other
 tools needed to find /usr, viz. lvm, cryptsetup and friends, assuming
 the necessary drivers are built in the kernel and not as modules ---
 see e.g. the old gentoo wiki at
 http://www.gentoo-wiki.info/HOWTO_Custom_Initramfs_From_Scratch ).

 The initramfs needs to have the relevant fsck tools (plus dependencies)
 if it was to perform fsck.

Dracut (and I believe genkernel, but I don't use it, so I'm not sure)
does all of that (and more, if so desired) for you.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] less file.html

2012-05-12 Thread Paul Colquhoun
On Sun, 13 May 2012 05:12:59 Stroller wrote:
 On 13 May 2012, at 00:22, Alex Schuster wrote:
  …
  
  You can set LESSIGNORE='*.htm*'. This environment variable is used by
  the lesspipe command, which is invoked by less and filters the input
  file before giving it to less itself.
  
  Contrary to my previous email, sent in error, that does NOT work.
  
  Did you check this yourself?
  
  Yes. I did not know about this mechanism before, but 'env|grep -i less'
  showed the LESS and LESSOPEN environment variable, so I learnt about the
  lesspipe command. lesspipe -h gives a little info, LESSIGNORE is shown
  there.
 
 I have here now:
 
 $ env | grep -i less
 PAGER=/usr/bin/less
 LESS=-R -M --shift 5
 LESSOPEN=|lesspipe %s
 LESSIGNORE=*.htm*
 $


On my system, I get this as the lesspipe help message:

#
[paulcol@bluering ~]
[Sun May 13 10:26:09]$ lesspipe --help
lesspipe: preproccess files before sending them to less

Usage: lesspipe file

lesspipe specific settings:
  LESSCOLOR env - toggle colorizing of output (no/yes/always)
  LESSCOLORIZER env - program used to colorize output (default:
  code2color)
  LESSIGNORE- list of extensions to ignore (don't do anything
 fancy)

You can create per-user filters as well by creating the executable file:
  ~/.lessfilter
One argument is passed to it: the file to display.

To use lesspipe, simply add to your environment:
  export LESSOPEN=|lesspipe %s

Run 'less --help' or 'man less' for more info
#

I would interpret the don't do anything fancy caveat on LESSIGNORE to mean 
that wildcards may not work.  Some experimenting on my system shows me that 
this version seems to do what you want:

LESSIGNORE=htm html

I don't normally have LESSOPEN set, so I havn't seen this situation before.

-- 
Reverend Paul Colquhoun, ULC.http://andor.dropbear.id.au/~paulcol
 Before you criticize someone, you should walk a mile in their shoes.
Then, when you do, you'll be a mile away, and you'll have their shoes.