Re: 64 bit C question

2009-02-17 Thread mike ledoux
On Tue, Feb 17, 2009 at 05:30:00PM -0500, bruce.lab...@autoliv.com wrote:
> Is there some way to to compile a C or C++ program that will output a 
> 64bit hex value correctly?  This is what I have so far...
[...]
>   printf("long int   N = %16x\n", N);   // x8  correct
>   printf("long long NN = %16x\n", NN);  // prints 0 which is incorrect
>   printf("long long NN = %li\n",  NN);  // prints 4294976296, which is 
[...]
> Any suggestion to fix this?  The compile command I am using is really 

Try:

  printf("long long NN = %16llx\n", NN);

For longs, long longs, etc. you should specify the correct length
modifier to printf, so the three lines quoted above should be
written as:

  printf("long int   N = %16xx\n", N);
  printf("long long NN = %16llx\n", NN);
  printf("long long NN = %lli\n",  NN);

-- 
mwl+gnh...@alumni.unh.edu  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
"We can easily forgive a child who is afraid of the dark.
 The real tragedy of life is when men are afraid of the light."  Plato

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: GNHLUG in 2008, a retrospective by the numbers

2009-01-06 Thread mike ledoux
On Tue, Jan 06, 2009 at 08:36:58PM +, virgins...@vfemail.net wrote:
> > From: Paul Lussier 
> > Date: Tue, 06 Jan 2009 14:47:06 -0500
> 
> > My question is this:
> > 
> >   What did his Administrator do to deserve being put in a box, and was
> >   he (or she) ever let out?
> 
> The Administrator in the Box both alive AND dead until the box is
> opened, right?

Only if the box doesn't have 'net access.

-- 
mwl+gnh...@alumni.unh.edu  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
Great things can be reduced to small things,
 and small things can be reduced to nothing.  -Chinese Proverb

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Upgrade guidance

2008-10-21 Thread mike ledoux
On Tue, Oct 21, 2008 at 04:53:22PM -0400, Jarod Wilson wrote:
> > > I borked it pretty hard trying to yum upgrade from fc8->9 yesterday;
> > > some of the packages on a fully up-to-date fc8 system have higher
> > > version numbers than the same packages in the fc9 repositories, which
> > > made things interesting.  At least it is back up and running multi-user
> > > now, I just need to figure out what is causing gdm to crash.  I'm sure
> > > there are some "old" libraries hanging around causing the issue.
> > 
> > Oh, yeah, I hit this issue too.  Wasn't TOO hard to deal with manually,
> > but still quite annoying to have to.
> 
> Packager error when you encounter that. Shouldn't ever happen, newer
> distro should always have a higher NVR.

In that case, something odd is happening here, because this was literally
hundreds of packages, including the kernel-* packages.  fc8 was on
kernel-2.6.26.5-28, fc9 has kernel-2.6.25-14.  I'm not 100% sure, but I
think some of the problem here is the 'newkeys' repos.  I'm still digging
out from under the mess, but at least I've got X mostly working again.

-- 
[EMAIL PROTECTED]  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
"Life is pleasant. Death is peaceful. It's the transition
 that's troublesome."  Isaac Asimov

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Upgrade guidance

2008-10-21 Thread mike ledoux
On Tue, Oct 21, 2008 at 12:40:50PM -0400, Derek Atkins wrote:
> But I always go one step at a time.  Most recently I took one
> machine from F7 -> 8 -> 9.   Unfortunately I suspect I'll have
> a hard time bringing my FC3 system up to date that way. ;)

Maybe less trouble than you think, the machine I'm sitting at right now
was yum upgraded from fc2->3>4>5>6>7>8 not all that long ago, with little
trouble.  The yumupgradefaq saved me finding the pitfalls myself.  :)

I borked it pretty hard trying to yum upgrade from fc8->9 yesterday;
some of the packages on a fully up-to-date fc8 system have higher
version numbers than the same packages in the fc9 repositories, which
made things interesting.  At least it is back up and running multi-user
now, I just need to figure out what is causing gdm to crash.  I'm sure
there are some "old" libraries hanging around causing the issue.

-- 
[EMAIL PROTECTED]  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
There is absolutely no substitute for a genuine lack of preparation.
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Serial admin console program

2008-10-08 Thread mike ledoux
On Wed, Oct 08, 2008 at 09:46:24AM -0400, Alan Johnson wrote:
> device is a Coyote Point E350si Equalizer and the servers are HP Proliant
> 300 series servers.  Turns out, there is a known problem with serial ports
> on HP servers with ILO that is causing all my problems:
> http://h2.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&taskId=115&prodSeriesId=408482&prodTypeId=15351&objectID=c01187465
> 
> Of course, early on, I though it might be a bad serial port, and moved the
> connection to a different machine, but they were all HPs with ILO.  I
> figured I just had to be doing something wrong.  I am confident that I can
> get it working again by having the serial connection moved to a non-HP.
> Some day, I'll turn off the serial console ILO access on all those HPs, as
> described in that link, but I'm not going to reboot the machines just for
> that.

FWIW, you don't have to reboot the machine to fix this, though you
may have to reset the iLO processor if your iLO firmware is too old
(0 impact on the managed server, OS, apps, etc.).  Log in to the
iLO web interface, click on the "Administration" tab, click on the
"Global Settings" link, change "Serial Command Line Interface" to
"Disabled", cilck "Apply".  Problem gone.

-- 
[EMAIL PROTECTED]  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
 When in doubt, mumble.
 When in trouble, delegate.
 When in charge, ponder.  -James Boren

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Price/Performance of time

2008-09-30 Thread mike ledoux
On Tue, Sep 30, 2008 at 07:14:40PM -0400, Ric Werme wrote:
> We used to make comparisons like "If the automobile industry had improved
> at the same rate as computers"  It's been a long time since that made
> any sense - a car would travel at Mach 10, seat 1,500, get 500 mpg, and fold
> up and fit in your shirt pocket.

You mean you didn't get yours yet?  Mine was delivered in the mail
last week, I almost didn't see it at the bottom of the mailbox.
Great car, but yesterday it fell out of my pocket and I haven't been
able to find it since!

-- 
[EMAIL PROTECTED]  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
"Only two things are infinite, the universe and human stupidity,
 and I'm not sure about the former."  Albert Einstein

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Fedora

2008-09-18 Thread mike ledoux
On Thu, Sep 18, 2008 at 12:54:27PM -0400, Ben Scott wrote:
> > Can one "relatively painlessly" upgrade from Fedora 9 to 10?
> 
>   The official upgrade path for Fedora is to download disc images for
> the latest release, burn and boot from disc, and follow the prompts to
> upgrade.
> 
>   I've read several reports about upgrading the running system
> in-place, using yum, but they always come with big warnings about how
> they're unofficial, not supported, here there be dragons, etc.

I've done several of these in-place yum upgrades, with little
trouble, from FC2->FC8, running each intermediate version for a
while.  There were some gotchas I wouldn't expect a typical home
user to be able to work around, but anyone with basic *nix admin
skills should be able to handle.  The version that turned SELinux
on by default (5?  6?) caused me the most trouble, until I realized
what the real problem was and turned SELinux off, the way Bob
intended.

-- 
[EMAIL PROTECTED]  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
"Moderation is a fatal thing; nothing succeeds like excess."  Oscar Wilde
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Questions about Ubuntu

2008-09-18 Thread mike ledoux
On Thu, Sep 18, 2008 at 09:32:43AM -0400, Mark Komarinski wrote:
> Here's the things that Ubuntu gets right, at least on the desktop:
[...]
> - no need for root.  There's almost no need to log in as root.  You're 
> automatically set up with sudo access and everything goes through that.  
> For a desktop that's perfect for me.  Fedora still had some areas where 
> you needed the root password, some you could do via sudo.

What do you need the root password to do in Fedora?  The
workstation I'm sitting at right now is FC8, 'yum upgraded' from
FC2->3->4->5->6->7, and the only time I've ever used the root
password was the very first login after installing FC2, to run
'visudo' and add my user account to wheel.  I'm not even 100% sure I
know what the root password on this box is anymore.

-- 
[EMAIL PROTECTED]  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
"The only things that are real are things which never change."  Parmenides
"Everything changes."  Heraclitus

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Laptop external power from batteries (DC/DC)

2008-08-20 Thread mike ledoux
Probably more than you wanted to know, but you asked.  :)

On Mon, Aug 18, 2008 at 06:24:32PM -0400, Ben Scott wrote:
>   Looking quickly, I can't seem to find amp-hour ratings from car
> battery makers/sellers.  Google finds various third-party claims, but
> they're all over the map (25 to 100 Ah on the first page alone).
> Assuming 7.5 A, and again doing the math, that is anywhere from 3 to
> 13 hours of operation at full power.

Car battery manufacturers don't typically advertize amp-hour ratings
because you don't really care about that for a starting battery; all
you really care about there is the CCA rating.

Also, the math really isn't as simple as what you are doing.  Those
amp-hour ratings are at a specific current draw--if you are drawing
at a higher rate, you'll get less out of the battery (Peukert
Effect).  Typically for a deep-cycle battery the amp-hour rating is
for 100% discharge over 20 hours, though some manufacturers rate
over 100 hours to make their batteries look better.

So, presuming your 100Ah battery above is a 20-hour rating, it will
provide 100Ah at a constant discharge of 5A.  Since you want to
draw more than that, you'll get noticibly less than 100Ah.  Without
seeing specifications for that battery, I'd anticipate a 10-20% drop
in capacity for the 50% higher discharge rate.  So, ~10-11 hours,
not 13.  That's to 100% discharge, which does damage the battery.

Of course, that presumes your equipment will operate on the battery
at all states of charge, which is likely not to be the case.  Below
about 50% charge on any 12V LA battery, the voltage will be <12V,
and your adapter (which was probably designed with the expectation
of being attached to a runing car, at ~14V for the nominal 12V
system) may not be able to cope.  So, presuming your adapter needs
>=12Vdc to operate, that 10-11 hours becomes more like 5 hours.

So far, all of these numbers are based on 100% efficiency, which
isn't realistic.  A good (and sadly, expensive) DC-DC voltage
converter is only about 85% efficient, so to get the 19.5Vdc @ 4.62A
you need, you will draw ~8.63A @ 12Vdc.  ~5 hours becomes ~4.5.

>   I know if one was planning on doing this on a regular basis, a deep
> cycle battery would be highly recommended.  For a one-shot, though,
> pulling the battery from a car might be feasible (?).

I wouldn't do it.  Definitely don't do it if you need that battery
to start the car to get you home after the event.

Car batteries are designed to supply a very large current for a short
period of time.  They are not designed for continuous draw, or to be
deeply discharged; doing either will severely reduce the lifespan of
the battery, and may kill it outright.  The thin lead sponge used in
these batteries to maximize surface area (and therefore current) is
easily damaged by deep discharge. For maximum battery cycles, don't
discharge more than 5-10%.

Deep cycle batteries have much thicker solid lead plates, which
gives less surface area (and lower maximum current), but these
plates will not crumble on deep discharge.  You can discharge a good
deep-cycle battery to 50-80% without harming the battery.


If you're going to do this, save yourself a lot of headache and
buy/borrow a deep cycle battery & charger.  You'll need a pretty
big one for the load you're talking about, one rated for 250-300Ah.
More if you need to use an inverter, to account for the extra
efficiency losses there.  A portable generator might be easier, if a
long outdoor extension cord is not possible.

-- 
[EMAIL PROTECTED]  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
"There is nothing useless in nature; not even uselessness itself."
 Michel de Montaigne


___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: automatic hard linking

2008-07-23 Thread mike ledoux
On Wed, Jul 23, 2008 at 03:39:07PM -0400, Ben Scott wrote:
> On Wed, Jul 23, 2008 at 3:01 PM, mike ledoux <[EMAIL PROTECTED]> wrote:
> > (fscking scalix
> > requires a complete copy of the mail store to extract even a single
> > message for restore, which is nothing if not a massive PITA)
> 
>   Wow, it really does work just like Microsoft Exchange... ;-)

No, I've admined Exchange, this is worse.  HHOS.

-- 
[EMAIL PROTECTED]  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
Beware of and eschew pompous prolixity.

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: automatic hard linking

2008-07-23 Thread mike ledoux
On Wed, Jul 23, 2008 at 05:48:10PM +, [EMAIL PROTECTED] wrote:
> One of the cool features it offered was a series of hourly, nightly and
> a monthly backup of files.  We kind of surmised that it was some sort of
> hard linking of the same file name in a different directory...  i.e.
> 
> ~/foo.txt
> 
> hourly.0/~/foo.txt

If it was a NA, that isn't how they do it, what they do is closer to
how LVM snapshots work (copy on write), but at a filesystem level.
That said, you can approximate the result by playing games with hard
links.  Without real copy-on-write support in the FS, you do need to
keep an entire second copy of the data on-disk, though, or some file
changes will modify your 'backups'.

I use this method for keeping daily snapshots of our mail store
around for a few weeks, to make restores easier (fscking scalix
requires a complete copy of the mail store to extract even a single
message for restore, which is nothing if not a massive PITA).  All
of my filesystems are on LVM, which makes it easier.

The basic procedure is:

  1) briefly supsend filesystem writes
  2) make an LVM snapshot of the source filesystem
  3) resume filesystem writes
  4) mount the LVM snapshot
  5) use rsync with the --link-dest option to make your new snapshot copy
  6) umount the LVM snapshot
  7) remove oldest rsync snapshot copy
  8) I forget what 8 was for

If you've never used the rsync --link-dest option, here's an example:

 Say you have two filesystems, mounted as /data and /snapshots.
 /snapshots is a bit larger than /data, to allow for storage of
 multiple snapshots.  Snapshots are taken hourly, kept for 7 days,
 stored in subdirectories of /snapshots named with a timestamp in
 -MM-DD-hh format.  Your last snapshot was taken at 1400h on
 2008-07-23, so to run the snapshot at 1500h you could use a command
 like:

  rsync -oa --stats --delete --link-dest=/snapshots/2008-07-23-14 /data/ 
/snapshots/2008-07-23-15

 This command will create the directory /snapshots/2008-07-23-15,
 and run an rsync copy from /data/ using /snapshots/2008-07-23-14
 for comparision.  Any files that are unchanged from 
 /snapshots/2008-07-23-14 will be stored in
 /snapshots/2008-07-23-15 as hard links to the copy already stored
 for /snapshots/2008-07-13-14, while new or changed files will be
 stored normally.

That should achieve most of what you're looking for, using as little
additional storage as possible.  How big to make /snapshots (best
to keep it on a separate filesystem, IME--I also like to put the
/snapshots filesystem on cheap SATA NAS (iSCSI) disk, instead of on
the fast SAN disk we use for primary storage), depends on how much
of your data changes, how often it changes, and how many snapshots
you want to keep around.  In my case for a ~1.5TB mail store with
about 50GB of changes daily, I'm comfortably storing a months worth
of snapshots on a 3.2TB filesystem.

-- 
[EMAIL PROTECTED]  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
History doesn't repeat itself -- historians merely repeat each other.

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Adding a new drive / fstab

2008-07-10 Thread mike ledoux
On Wed, Jul 09, 2008 at 11:50:46AM -0400, Labitt, Bruce wrote:
> In the endless pursuit of upgrading this machine I have added a hard
> drive to my computer.  I have used fdisk to create a linux partition to
> the whole disk.  I made the disk use the ext3 file system.
> 
> So now for fstab.  What is the philosophy for creating an entry?  At
> this point I'm not sure what the mount point should be.  /home sounds

I generally mount additional "disks" for data storage as /data/n/.
Simple, clean, easy to understand & maintain.  These days, for production 
servers, my typical partitioning is:

 /boot
 /
 /tmp
 /var
 /opt (if I'm going to install much 3rd party software that will use it)
 /data

/home and /usr/local are symlinks into /data, as is /opt if I
haven't given it a separate partition.  If additional data "disks"
are needed, I either use LVM to add space to /data, or mount the
additional volumes as /data/1/, /data/2/, etc.

Ocassionally (usually for Oracle servers) I will create other
application-specific filesystems, but it is getting more and more
rare as app developers gain clue.

-- 
[EMAIL PROTECTED]  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
"Would you rather me stick it in your chicken?"  Richard Jerrell

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Firefox 3 AwesomeBar

2008-06-19 Thread mike ledoux
On Wed, Jun 18, 2008 at 03:04:37AM +, [EMAIL PROTECTED] wrote:
> It seems like it'd be a step forward... maybe an example would help:
> 
>   Say I'm looking for something called "gnhlug", but its URL is
>   http://www.gnhlug.org/
> 
> Typing "gnhl" in the NEW address bar would get me
> "http://www.gnhlug.org/";, among other URLs.  Typing "gnhl" in the OLD
> address bar wouldn't do squat.  You'd have to type "www" into the old
> address bar... and that would return everything starting with "www"
> (i.e., half the universe).  So, you end up having to type "www.gnhl"
> to get where you want to be.  Extra typing.  Bad.

Except that's not the way it works, in FF1.5 on my work machine, or
FF2.0 at home.  In both cases, typing 'gnh' in the address bar pulls
http://www.gnhlug.org out of the history just fine.

-- 
[EMAIL PROTECTED]  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
"The first and wisest of them all professed
 To know this only, that he nothing knew."  John Milton

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: power meters [ was low power linux PC? ]

2008-04-07 Thread mike ledoux
On Mon, Apr 07, 2008 at 11:53:00AM -0400, Paul Lussier wrote:
> Alex Hewitt <[EMAIL PROTECTED]> writes:
> 
> > I believe this item,
> > "http://www.thinkgeek.com/gadgets/travelpower/7657/"; that measures power
> > consumption might have been discussed on the list before but the same
> > folks now offer a more sophisticated model:
> >
> > http://www.thinkgeek.com/gadgets/travelpower/7acf/
> 
> I'm curious what the major differences between these two are.  The
> former costs $129.00, the latter $24.99.  Is it that the Watt's UP!
> model records and stores info whereas the Kill'O'Watt merely displays
> the current stats?

The expensive one has USB so you can offload the data to a PC.  I
have two of the cheap ones that I'd be happy to loan out, if people
are curious but don't necessarily want to buy a device they'll only
use a few times.

-- 
[EMAIL PROTECTED]  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
For perfect happiness, remember two things:
 (1) Be content with what you've got.
 (2) Be sure you've got plenty.

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: iostat strangeness

2008-01-15 Thread mike ledoux
On Tue, Jan 15, 2008 at 04:52:21PM -0500, Michael ODonnell wrote:
> 
> 
> Depending on your versions of kernel and app, iostat
> apparently looks in some combination of these:
> 
>/etc/sysstat/sysstat.ioconf

No file called sysstat.ioconf anywhere on my system.

>/proc/diskstats

This contains useful info, all of the devices I expect are
represented.  This seems to be the problem, the documentation for
/proc/diskstats indicates these are all 32 bit unsigned numbers in
2.6, so they can and do wrap. *grumble*

Still not sure why iostat isn't finding all of the devices with -x,
it finds everything if I run it with -d, which provides most but not
all of the data I'm interested in.  *shrug*

Thanks,

-- 
[EMAIL PROTECTED]  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
"I love the smell of underpants in the morning.
 They smell like... victory."  Peter Rogers

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: iostat strangeness

2008-01-15 Thread mike ledoux
On Tue, Jan 15, 2008 at 04:57:02PM -0500, Bruce Dawson wrote:
> Its been several years (and major kernel versions) since I've played
> with iostat, but perhaps my statements here will goad someone with more
> recent experience to inject more accurate truths...
> 
> * iostat used to "not work well" on SMP systems.

That's unfortunate.  Hopefully that's been fixed. 

> * your "510kB/s average write on dm-5, but only 184.01kB/s average
>   write on the enclosing PV?" observation may be due to "write
>   behinds", caching, and seek/latency optimization.

Caching issues was my first thought, but doesn't apply to the 43+
day average numbers in play here.  I don't think any of those other
optimizations would have such a significant effect over periods this
large, either.  Eventually all of the data written to the LV needs
to be written to the PV, right?

> * iostat essentially just does arithmetic on the counters kept by
>   the kernel.
> * For long uptimes, counters can overflow and produce some *really
>   strange* numbers. I would expect Linux to use 64 bit counters in
>   recent kernels though.

I'd hope there would be some trap to reset all of the counters to 0
if one overflows, but that may just be dreaming on my part.  That
may be what is happening, though, as the numbers look OK on 10
second intervals.  I suppose I'll have to schedule a reboot to get
decent numbers. *grumble*

> Don't you just love documentation written by developers (I'm referring
> to the iostat man page)?

I like it, but that's just me.

-- 
[EMAIL PROTECTED]  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
"I was walking down the street one day when a beautiful bird caught my eye.
 And I had to climb all the way to the top of a tree to get it back."
   Abhishek Gami

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Lower power portable Linux

2007-11-21 Thread mike ledoux
On Tue, Nov 20, 2007 at 06:03:31PM -0500, Ben Scott wrote:
>   A recent review[1] of the Asus Eee PC stated (paraphrased): Power
> management on Linux sucks.

I haven't read the review, but I agree with the statement that power
management on Linux sucks.

> Turning off the CRT was about it.  S3 (suspend-to-RAM) was often
> prevented by drivers.  S4 (suspend-to-disk) was experimental,
> unstable, and/or just plain didn't work.
> 
>   Can anyone who has played with this more recently comment on how a
> modern Linux distro does on today's hardware?

I've had scripts to successfully 'hibernate' (suspend to disk)
my laptops for years, working at least as far back as 2.4-series
kernels.  I have yet to see suspend to RAM work on Linux anywhere.

>   I'm especially interested in how it fares for someone like me, who
> prefers to run a traditional *nix window manager and logon, without
> session management and a desktop environment and a bunch of extra
> daemons and so on.

I fit that description.  If you want my hibernate scripts, let me
know and I'll pack them up when I get home tonight.

-- 
[EMAIL PROTECTED]  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
"If I had but one life to give for my country, I'd pick somebody I really,
 really dislike."  Tidewater Joe

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Gimme that old time interface...

2007-11-15 Thread mike ledoux
On Thu, Nov 15, 2007 at 02:34:52PM -0500, Ben Scott wrote:
> > The "big" problem is that some idiot renamed the 'fvwm2' packages
> > to 'fvwm' in FC5 or 6 ...
> 
>   I couldn't even *find* an FVWM (any version) packagein Fedora 5 or 6
> (or maybe both; I forget).  I think it got removed from the distro,
> and then put back later.

It was definitely there in both fedora 5 and fedora 6 (as 'fvwm'),
but in 'extras' not 'core'.  Extras seems to be missing from a lot
of the mirrors that claim to have it, so it is hit-or-miss if these
packages are going to show up in a 'yum search' or not (one of my
Fedora 6 systems can see them right now, the other can't).

It looks like it was missing entirely from Fedora 4, though.

>   Concurrent versions of the same package is something none of the
> major package managers really handle well.  Embedding a version tag
> into the package name is a kludge at best.  Of course, when that's the
> only option, *un*doing that is worse still.

Indeed.  In this case, I think calling the new package fvwm2 was the
right thing to do.  Given how long that worked just fine, I can't
see any good reason why they would change the name for these more
recent packages.

-- 
[EMAIL PROTECTED]  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
"Why do old people drive so incredibly slow?  You think they would drive
 faster, since they're being chased by the icy cold hand of death."

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Gimme that old time interface...

2007-11-15 Thread mike ledoux
On Wed, Nov 14, 2007 at 10:53:48AM -0500, Ben Scott wrote:
> On Nov 14, 2007 10:27 AM, TARogue <[EMAIL PROTECTED]> wrote:
> > The problem with most of those is that they are FVWM2, which is nothing
> > at all like regular FVWM.
> 
>   The config file syntax was heavily modified in FVWM version 2.x, no
> question.  For the better, I think, but it's certainly a pain to
> migrate a config one has carefully built over time.  But "nothing at
> all like" FVWM 1.x?  I have to beg to differ on that.

I, too, use FVWM, not FVWM2.  IME, FVWM2 is more resource-intensive
than FVWM, for comparable configurations.  That was enough to keep
me from migrating years ago, and now I'm just lazy.

> > I had to restore my laptop to Fedora Core 3, since upgrading to 7
> > also upgraded FVWM to FVWM2.
> 
>   ...?  I'm pretty sure FVWM 1.x still compiles on recent distros.

It will, but it is a minor pain to do.  I've had to write several
minor patches to work with modern libraries.  The "big" problem is
that some idiot renamed the 'fvwm2' packages to 'fvwm' in FC5 or 6,
so if you do a 'yum update' it breaks your window manager until you
figure out what went wrong.  I've since made an 'fvwm1' package that
will happily coexist with fvwm2 on a modern FC system:

  http://www.volta.dyndns.org/~mwl/fvwm1-1.24r-24.src.rpm

Works for me.  Standard disclaimer applies.

-- 
[EMAIL PROTECTED]  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
"Education is an admirable thing, but it is well to remember from time
 to time that nothing that is worth knowing can be taught."  Oscar Wilde

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: A plague of daemons and the Unix Philosophy

2007-11-13 Thread mike ledoux
On Tue, Nov 13, 2007 at 01:46:18PM -0500, Bill McGonigle wrote:
> On Nov 13, 2007, at 11:37, Tom Buskey wrote:
> > Is there a list of what each daemon does?
> 
>  From the "you don't really know how to use a tool until you know  
> three ways to abuse it" department:
> 
> run:
> 
>'/usr/sbin/ntsysv'
> 
> cursor-over the service and hit F1.
> 
> There may be a better way, but that's the one I've found and is  
> sufficient.

I don't know about 'better', but all that is doing is displaying the
"description:" field from the initscript.  If you don't want to use
a special tool, you can get that same info by just looking at the
top of the initscript yourself.

-- 
[EMAIL PROTECTED]  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
"Forget the hug -- give that maple in your backyard some hot
 monkey love."  Rachel Blubaugh

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: A plague of daemons and the Unix Philosophy

2007-11-11 Thread mike ledoux
On Sun, Nov 11, 2007 at 04:46:46PM -0500, Ben Scott wrote:
>   I did go looking for information.  What I found suggests the
> architects just don't get it, and are not interested in getting it.
> 
>   Example: When PulseAudio (which also apparently depends on D-BUS)
> was made the default on Fedora, it was stated that people who didn't
> like sound servers should go back to hiding under their rock.
> 
> http://www.redhat.com/archives/rhl-devel-list/2007-August/msg01196.html

Wow, talk about not getting it:

 "And test your application with PA!  Unfortunately, due to the
  heavy balkanization of Linux audio it is necessary to go through
  this list for each app seperately, and if necessary do some manual
  modifications to each seperately."

So, there is this problem with Linux audio, that there are too many
incompatable audio APIs.  We have this great solution, we'll create
a new one and try to convince everyone to switch to it!  

Idiots.

-- 
[EMAIL PROTECTED]  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
"Good God!  This math is laced with physics.  I said I wanted
 *pure* math!"  B.C. Holmes

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: CPU utilization on a dual-core

2007-11-02 Thread mike ledoux
On Fri, Nov 02, 2007 at 03:16:35PM -0500, Paul Lussier wrote:
> Does anyone know how to determine per-CPU utilization on a
> multi-cpu/core system.  It's a 2.4 kernel, and top doesn't break
> things down per-cpu.  Unless I'm running an ancient version of top...

Even ancient versions of top can do this, IME.  On modern versions,
use '1' to toggle displaying separate CPU states, and 'I' to toggle
between Irix and Solaris style SMP display (Irix displays process
%CPU as % of 1 CPU, Solaris displays as % of all CPUs).

> Also, how can you tell (without opening the box) if a system is
> multi-cpu vs. multi-core?

/proc/cpuinfo on the system I'm looking at now (two dual-core Xeons)
shows info like:

  physical id : 0
  siblings: 2
  core id : 0
  cpu cores   : 2

for each processor.  From that I can make out that in this case
processors 0 and 2 are cores 0 and 1 on CPU 0, and processors 1 and
3 are cores 6 and 7 on CPU 3.  No idea why it isn't cores 0 and 1 on
CPU 1, but that's Intel for you.

-- 
[EMAIL PROTECTED]  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
"After the first death, there is no other."  Dylan Thomas

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Brother, can you spare a couple of SCSI SCA disks?

2007-10-22 Thread mike ledoux
On Mon, Oct 22, 2007 at 04:17:07PM -0400, Ben Scott wrote:
>   If somebody wants to donate sweet new 1U server with dual 500 GB
> SATA disks, that's fine too ;-)

Not new, and not really all that sweet, but I have a couple of old
(PIII-era) 1U servers that I'd be willing to donate to the cause.
If memory serves they've each got SCSI & IDE internally and room for
three or four drives.  No hot-swap, though.

They worked when I turned them off, but that was a few years ago now.

I'll dig them out of the closet tonight and let you know the full specs.

-- 
[EMAIL PROTECTED]  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
"From a certain point onward there is no longer any turning back.
 That is the point that must be reached."  Franz Kafka


___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: List header cancer (was: Lawsuits, Red Hat, yummy....)

2007-10-18 Thread mike ledoux
On Thu, Oct 18, 2007 at 04:10:41PM -0400, Ben Scott wrote:
> On 10/18/07, mike ledoux <[EMAIL PROTECTED]> wrote:
> >>> Au contraire, please send messages to both me and the mailing list.
> >>
> >>   Au contraire contraire, please do not.  Abuse of "Reply All" causes
> >> List Header Cancer!
> >
> > Here's a solution for both of you.  Use a mailer that supports
> > Mail-Followups-To:, set it to do what you think the right thing is,
> > and get what you want.
> 
>   Part of what people are complaining about is how other people's
> behavior affects other other people, not just doing what the one
> person wants.  In other words, some people might think adding everyone
> to the Cc header is a good thing, but if I'm one of the people who
> don't, I'm still getting my address stuffed into a Cc header,
> regardless of what I set my headers to.

In other words, a local configuration problem on the reply end.
Mail-Followups-To is designed to fix this problem, by letting the
sender specify how they want replies to be handled, in a way that
lets the replying client software comply automatically.

Sure, the person generating the reply can still choose to ignore the
original sender's stated preferences, but that is a social problem.

>   Not that I really care *that* much; I just wanted to clarify that
> this is not a "getting software on my computer to do what I want"
> problem.

I'd argue that it is exactly that kind of problem.  Unfortunately,
the solution requires support on both ends.  On the bright side,
neither of those ends is the list software, so arguments about
misdirected replies can be handled privately instead of on-list.

-- 
[EMAIL PROTECTED]  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
Death before decaf.

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: List header cancer (was: Lawsuits, Red Hat, yummy....)

2007-10-18 Thread mike ledoux
On Wed, Oct 17, 2007 at 10:47:19PM -0400, Ben Scott wrote:
> On 10/17/07, Bill McGonigle <[EMAIL PROTECTED]> wrote:
> >> Additionally please send email either to the listserv or to the poster
> >> you are replying to, but not both.
> >
> > Au contraire, please send messages to both me and the mailing list.
> 
>   Au contraire contraire, please do not.  Abuse of "Reply All" causes
> List Header Cancer!

Here's a solution for both of you.  Use a mailer that supports
Mail-Followups-To:, set it to do what you think the right thing is,
and get what you want.

-- 
[EMAIL PROTECTED]  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
"Never believe anything in politics until it has been officially
 denied."  Otto Von Bismark

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Admin horror stories

2007-10-12 Thread mike ledoux
On Wed, Oct 10, 2007 at 04:53:32PM -0400, Ben Scott wrote:
> On 10/10/07, mike ledoux <[EMAIL PROTECTED]> wrote:
> > Did you know the ULTRIX distribution tapes will let you install
> > ULTRIX on a DECStation?
> 
> "ULTRIX is amazingly customizable.  You have to replace a third of it
> to make it usable."
>  -- Marcus J Ranum

Thanks, I couldn't find that quote when I was writing that message.  :)

-- 
[EMAIL PROTECTED]  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
"I used to get really irritated at all of the spam in my email account, until
 I realized if I consolidate my debt and refinance my mortgage, I can invest
 the savings and afford a ton of porn for the rest of my life!"  Gary Tunstall 

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Admin horror stories

2007-10-10 Thread mike ledoux
On Tue, Oct 09, 2007 at 10:33:07PM -0400, Paul Lussier wrote:
> "Ben Scott" <[EMAIL PROTECTED]> writes:
> 
> > On 10/9/07, John Abreau <[EMAIL PROTECTED]> wrote:
> >> ... I looked in /bin for suspicious files, and that was the
> >> first time I ever noticed the file [ . It looked suspicious, so
> >> of course I deleted it.  :-/
> >
> >   Did you know 'rpm' will let you remove every package from the system?
> 
> Did you know tar will let you install Ultrix on a Sun ?
> 
> Of course, it won't work, as SunOS seems to get very ornery when it
> can't read stuff recently "upgraded" to the Ultrix version in
> /usr/lib, etc. :)
> 
> There was PEBCAK bug involved in case it wasn't obvious :)

Did you know the ULTRIX distribution tapes will let you install
ULTRIX on a DECStation?

I found that out the hard way.

There was a poor decision involved, in case it wasn't obvious.  :)

-- 
[EMAIL PROTECTED]  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
"I'm told fatherhood is the ultimate test of a man.
 Of course, none of this would be necessary if that condom manufacturer
 had just come up with a slightly tougher test of its own."  Brad Osberg
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: how to rotate a movie?

2007-08-30 Thread mike ledoux
On Thu, Aug 30, 2007 at 03:45:53PM -0400, Bill McGonigle wrote:
> Now, and this is really rusty, I think there's a way to read the JPEG  
> DCT matrix and rotate a JPEG without recompressing,

There is, provided the image geometry meets certain sensible
parameters that I don't remember off the top of my head.  The
tool I use for this is called 'jpegtran', available from
http://www.ijg.org/ if it isn't included with your distribution of
choice.

> and mencoder _might_ know how to do that, but it would have to be
> special-cased.  If anybody remembers what software could do that,
> and you could somehow split the .mov into its constituent JPEG
> frames and soundtrack, and then re-assemble them... well, major
> geek points and probably unwarranted for a home movie. :)

If each frame in the .mov file is really a full JPEG image, you'll
almost certainly want to recode it into a better format for video
anyway.

-- 
[EMAIL PROTECTED]  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
"Knowledge speaks, but wisdom listens."  Jimi Hendrix

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: postfix

2007-08-30 Thread mike ledoux
On Wed, Aug 29, 2007 at 11:54:15AM -0400, Ben Scott wrote:
> > In fact, we discovered the theoretical possibility of a mail message doing
> > figure-8s between our sendmail/cyrus server and the Exchange server!
> 
>   I used to work at UNH.  Imagine hundreds of computers, used by
> faculty/staff, running anything from DOS to MacOS to NetWare to doze
> to nix.  Many of them processing mail for their primary user.
> Sometimes mail hopped between four or five systems before end-user
> delivery.  One scenario I saw was [EMAIL PROTECTED] ->
> [EMAIL PROTECTED] -> [EMAIL PROTECTED] ->
> [EMAIL PROTECTED] ->
> [EMAIL PROTECTED]  You can imagine what mail
> loops were like in that environment...

You forgot the -> [EMAIL PROTECTED] -> [EMAIL PROTECTED]
bit at the end of all that. :)

The really scary bit is that some of those addresses still work
today, 7+ years after I left.

-- 
[EMAIL PROTECTED]  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
The walls here are so very soft, and I just love all the buckles on my
 new coat.

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: [OT] Charging UPS batteries outside the UPS

2007-08-09 Thread mike ledoux
On Wed, Aug 08, 2007 at 09:24:40PM -0400, Ben Scott wrote:
> On 8/8/07, mike ledoux <[EMAIL PROTECTED]> wrote:
> >> I've checked the voltage on the battery, and it's less than 2 volts DC.
> >
> > In that case, there is almost certainly at least one internal short
> > in the battery, and no amount of charging is likely to fix it.  It
> > takes some serious work to get a 12V battery down to 2V.
> 
>   Even better: That was for each of the 24V packs.  Your comment made
> me curious, so I pulled all the wiring off the individual units and
> measured each one.  Each unit is giving between 0.5 and 0.7 volts DC.
> So either each unit has the same "internal short", or they really are
> drained (or something else).

There is almost no chance that you'll get those batteries to take a
charge at all, if they were drained that low.  As you're probably
aware, each of those 12V batteries is made of 6 2V cells.  Fully
charged each of those 2V cells is good for about 2.15V, fully
discharged is about 1.75V (for good, working cells).

Generally speaking, if a 12V battery with no load is reading
below ~10V, something is pretty badly wrong with the battery,
usually a short across one or more of the cells.

>From what you're saying, you're reading less from the entire battery
than a single "discharged" cell should provide, so I'm going to go
out on a limb and guess that these batteries are pretty old, and
heavily sulphated.  You may be able to salvage the battery well
enough to start the UPS by running an equalization cycle on it, but
that is somewhat tricky/dangerous with a sealed battery as you're
*trying* to overcharge in order to boil the electrolyte to break up
the sulphation on the plates.

>   Te battery was sitting, hooked-up, inside the UPS for I dunno how
> long.  You can cold-start this UPS model (turn it on without AC
> input), so I expect it is always drawing at least a little power from
> the battery (since the UPS front panel is microprocessor controlled).
> Maybe that would do it?

Yeah, PbA batteries do not store well when not kept fully charged.

>   According to a doc on Panasonic website, these are, indeed,
> "absorbed glass mat with calcium grids".  Another doc does have dire
> warnings about charging, though.  The short version is that without
> "constant voltage control" (whatever that means), the electrolyte
> breaks down and the battery performance is shot.  Maybe they were
> overcharged and that's why their voltage is so low.

It is perfectly safe to use any *quality* 12V PbA charger on an
AGM battery.  The only thing to "worry" about is that you don't
try to charge too quickly, as that can generate excessive heat in
the battery, causing the electrolyte to boil, which is a bit of a
problem in a sealed battery.  For batteries as small as typically
used in a UPS I wouldn't charge at anything over 2A.

-- 
[EMAIL PROTECTED]  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
"At first I thought, 'How could women be from Venus?  It's got
 an atmosphere of poisonous gas!'  And then I made the connection:
 potpourri!"  Larry Hollister


___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: [OT] Charging UPS batteries outside the UPS

2007-08-08 Thread mike ledoux
On Mon, Aug 06, 2007 at 10:10:30PM -0400, Ben Scott wrote:
>   Off-topic but still techie question: Does anyone know anything about
> charging the batteries from a UPS using external equipment (i.e., not
> the charger built-in to the UPS)?

Yes.

>   I've got an APC Smart-UPS 3000 (P/N SU3000RM3U) which I picked up
> for free (someone was getting rid of it).  It looks like it's in good
> condition, but it won't start[1].  I've checked the voltage on the
> battery, and it's less than 2 volts DC.  An aggravating quirk with

In that case, there is almost certainly at least one internal short
in the battery, and no amount of charging is likely to fix it.  It
takes some serious work to get a 12V battery down to 2V.

>   The battery consists of eight smaller units, wired together.  The
> wiring is easily disconnected.  Each unit is labeled "12 V, 7.2
> Ah/20HR".  Anyone if I can just hook each unit up to a regular
> automotive battery charger (one at a time) and charge them that way?

As others of mentioned, that depends on the battery chemistry.  Note
well that "sealed lead acid" doesn't necessarily mean "Gel".  It
could be an AGM battery, which will charge just fine with any decent
PbA battery charger.  OTOH, it sounds like the battery is already
pretty well fscked, so even if it is a Gel battery you aren't likely 
to make things worse (using a standard charger on a Gel battery will
not charge very well, and will certainly reduce the lifespan of the
battery, but it isn't likely to explode unless something else is wrong).

I have a few different chargers kicking around in my garage, I'd bet
at least one of them supports the charge mode your battery needs, if
you want to borrow one.

-- 
[EMAIL PROTECTED]  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
"Software which OpenBSD uses and redistributes must be free to all (be they
 people or companies), for any purpose they wish to use it, including
 modification, use, peeing on, or even integration into baby mulching
 machines or atomic bombs to be dropped on Australia."  Theo de Raadt


___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Syslog Analyzer

2007-07-18 Thread mike ledoux
On Wed, Jul 18, 2007 at 03:10:09PM +, [EMAIL PROTECTED] wrote:
> As part of search to monitor the internet usage of our branch
> office, I am looking for a manager-friendly syslog analyzer. The
[...]
> Does anyone know a a good, granular syslog analyzer for this
> purpose? Open Source is always prefered, of course.

I've been using sawmill[1] for this for the past few years.  I
personally find the interface cumbersome, but it is trivially easy
to install, configure, and maintain, and management loves it.  Not
free, but cheap and easy.

-- 
[EMAIL PROTECTED]  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
"Leadership is the capacity to translate vision into reality."  Warren G. Bennis

[1] http://www.sawmill.net/
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: authoring math documents (tex?)

2007-06-11 Thread mike ledoux
On Mon, Jun 11, 2007 at 06:38:47PM -0400, Lloyd Kvam wrote:
> My daughter is heading back to school and will need to write Math
> papers.  She is now running Fedora 6.  (The conversion from Windows to
> Fedora happened after graduation.)  She asked me what software she
> should use for writing her Math papers, and being an old ascii text guy,
> I did not know what to tell her.  

Learning LaTeX and editing it directly is still the best solution, IMO.

-- 
[EMAIL PROTECTED]  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
"One touch of nature makes the whole world kin."  William Shakespeare

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: [OT] Re: Request: Take Off-Topic Off-List

2007-05-25 Thread mike ledoux
On Fri, May 25, 2007 at 11:37:44AM -0400, Thomas Charron wrote:
> On 5/25/07, Ben Scott <[EMAIL PROTECTED]> wrote:
> > DISCLAIMER: Opinions expressed in the below are the personal opinions of the
> > author, and do not necessarily represent the views or policy of GNHLUG.
> > On 5/25/07, Ted Roche <[EMAIL PROTECTED]> wrote:
> > > ... I don't think there's anything wrong with a "little" OT ...
> >   What Ted said.
> 
>   Obviously, the take it offlist conversation needs to be taken offlist.  :-P

Can we take the requests to take these conversations offlist offlist please?

-- 
[EMAIL PROTECTED]  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
"Dude, it's the pen that is mightier than the sword. Not a crayon."  Zoethe

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Pentium 805D has an interesting surprise

2007-04-25 Thread mike ledoux
On Wed, Apr 25, 2007 at 02:15:55PM -0400, Paul Lussier wrote:
> <[EMAIL PROTECTED]> writes:
> 
> > There are also a few dual cores with hyperthreading, Xeon was one
> > product line I noticed had such models.
> 
> Yeah, I just checked one of our new machines which is a dual
> dual-core.  It reports 4 "GenuineIntel" CPUs in /proc/cpuinfo, all of
> which have the 'ht' flag set. 
> 
> So, in theory, if I were to enable HT in my kernel, I might well see 8 CPUs ?

Unless the 'ht' flag is set on dual-core CPUs that don't actually
support it, yes. /proc/cpuinfo on the system I'm working on now (two
3.0GHz Xeon dual-core hyperthreading CPUs) reports 8 CPUs.

-- 
[EMAIL PROTECTED]  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
"Fnord is neither a particle nor a wave."

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Dell 690 only seeing 3 GB RAM (was: slow last 128MB...)

2007-04-19 Thread mike ledoux
On Thu, Apr 19, 2007 at 03:06:52PM -0400, Ben Scott wrote:
> On 4/19/07, Michael ODonnell <[EMAIL PROTECTED]> wrote:
> >We have a number of Dell Precision 690 boxes with 4 1Gb DIMMs
> >installed but our RHAT WS3 kernel ...
> 
>  RHEL 3 is pretty old.  I think it might be old enough that you need
> to install a separate, special kernel package for systems which "large
> memories".

A little old, but not /that/ old.  You do need to install RH's
'hugemem' kernel if you have more than 16GB of memory, but less
than that works fine with the stock kernels.  The RHEL3 box I just
checked here in the office is running the standard SMP kernel and
sees and uses all 6GB of its memory just fine.

-- 
[EMAIL PROTECTED]  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
"Reality is merely an illusion, albeit a very persistent one."  Einstein

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Subject Lines on the Mailing list: [WAS: Looking for a NH mail list talking about Linux]

2007-03-27 Thread mike ledoux
On Tue, Mar 27, 2007 at 01:50:56PM -0400, Jerry Feldman wrote:
> basically, IMHO, the GNHLUG is low volume enough that it probably would
> not need to be split into 3 lists, as Maddog suggested, though it would
> not be difficult to create the 2 additional lists, and use the main
> discuss list as a target of both. 

Say you have three sub-lists: gnhlug-chat, gnhlug-politics, and
gnhlug-tech. If gnhlug-discuss is subscribed to all three, postings
to any of the lists also get posted to -discuss.  All of these lists
are restricted to only allow posting from subscribed addresses, to
cut down on abuse.  So far, so good, that *seems* to be what we
want.

Joe User finds GNHLUG, and decides that he wants to read all of the
mail, so he takes the shortcut and subscribes only to -discuss

Ben posts a message to gnhlug-tech.  Joe User tries to reply to
list.  One of two things happens:

  Joe's mail client reply to gnhlug-discuss.  Ben never sees
  Joe's reply, because Ben is only subscribed to gnhlug-tech.

  Joe's mail client tries to reply to gnhlug-tech.  Ben never sees
  Joe's reply, because Joe's mail is stuck in an approval queue for
  unsubscribed postings.

Joe has a question, which he posts to gnhlug-discuss since that
is what he has subscribed to.  Unfortunately for Joe, most of the
GNHLUG community never sees his question as they have subscribed to
the sub-lists they are interested in.

Everyone loses.

If we are going to break up gnhlug-discuss into smaller lists,
we need to just do it, and make everyone subscribe to whatever
lists they want.  Trying to have it both ways with sub-lists and a
combined list is just a recipe for disaster.

-- 
[EMAIL PROTECTED]  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
"Profanity is the inevitable linguistic crutch of the inarticulate
 motherfucker."  Bruce Sherrod
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Dividing The List Considered Harmful [Was: Re: Subject Lines on the Mailing list: [WAS: Looking for a NH mail list talking about Linux]]

2007-03-27 Thread mike ledoux
On Tue, Mar 27, 2007 at 11:52:01AM -0400, Ben Scott wrote:
[...]
>  I'm not just arguing to be argumentative (that's room 12A); these
> are questions that would need to be answered for anything like a list
> charter to be drawn up.
> 
> >... (and then ignore them later with the proper subject line).
> 
>  Your parenthetical remark is one of my main points.  We still have
> the off-topic, endless debate, and discipline issues.  Moving the
> traffic around doesn't make those issues go away.
[...]
> >You could join "discuss" and get both.
> 
>  What happens when someone posts to -social, but I (subscribed to
> -discuss) reply to -discuss?
> 
> >We could try it, and if it does not work what have we really lost?
> 
>  Depends on the transition grief.
> 
>  For example, who do we subscribe to which list?  Or do we start both
> lists empty?

I have been through this a few times in the past, with different
groups, where the decision was eventually made to fragment the list
into multiple lists with more focused charters.  I have, to date,
never seen it work well.  With one exception, all of the mailing
lists I have seen fragmented this way have either reverted back to
a single main list (sometimes with a separate, often moderated list
for announcments, like we have), or gone away entirely.

That one exception had strongly focused charters, very clear lines
on what topics were appropriate on which lists, and a large team of
volunteer list-cops (over 50 when I was in charge of managing them)
to keep things on track and ban chronic offenders.  They did not
have the proposed bad idea of subscribing each of the sub-lists to
another list to form a combined list.

Even there, the off-topic posts remained, and there was the
additional problem of posts being sent to the wrong list, or
crossposted to multiple lists.  They stuck with it, at the cost
of enormous volunteer churn, and lost a large chunk of their
membership, myself included, when the "transition grief" was still
increasing more than a year after the actual transition was made.

I *STRONGLY* believe that this sort of change would be bad for
GNHLUG in the long run.

Consider how successful the various mailing lists for the local
chapters have been.  Consider how troublesome trying to keep the job
postings on the gnhlug-jobs list has been.  Consider how successful
the "linux cafe" list, created in response to exactly this complaint
back in 2005, was.  Does anyone really think this particular
division will be more succesful than either of those?


If GNHLUG does choose to fragment the list into -social and -tech,
please DO NOT try to create a combined 'discuss' list that is
subscribed to both, the problems with people replying to the wrong
places would be enormous.  People who want both can subscribe to
both easily enough.

-- 
[EMAIL PROTECTED]  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
Remind me again what it is called when one keeps trying the same
thing expecting different results?


___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: off-topic - What happened to the TV series season?

2007-03-27 Thread mike ledoux
On Mon, Mar 26, 2007 at 07:25:02PM -0400, Jeff Macdonald wrote:
> I just watched Battlestar Galactica, which turned out to be the last one for
> the season. The next one won't be till 200 8. Ugh! The networks are giving
> me less and less reason to watch this stuff when it's aired (or in my case,
> within a week of it's airdate, since I'm a happy TiVo user). I just hope
> that by 2008 TiVo will figure a way to include the network shows that are
> available on the internet by then.

TiVo has that right now.  You can purchase content through Amazon
Unbox to watch on your S2 or S3 TiVo, and at least S3 also has the
ability to download (some) internet content directly.  It is part of
their "TiVo Online Services" feature, which, while not particularly
well-integrated into the TiVo experience, is there and does work.

-- 
[EMAIL PROTECTED]  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
"Software which OpenBSD uses and redistributes must be free to all (be they
 people or companies), for any purpose they wish to use it, including
 modification, use, peeing on, or even integration into baby mulching
 machines or atomic bombs to be dropped on Australia."  Theo de Raadt

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Why we can't record our TV shows (was: In case you have not seen it.....Linux Media Center)

2007-03-26 Thread mike ledoux
On Mon, Mar 26, 2007 at 10:16:05AM -0400, Travis Roy wrote:
> >
> >I download each and every show I wish to watch (and I want for
> >nothing I can't get), getting not only high quality recordings,
> >but with commercials already removed.  Finding new shows is
>
> I'm transition to this solution, but the legality of it is
> debatable.  I'm still trying to figure out a good working solution

The legality isn't even really debatable.  Under current law in the
US, this is illegal.

-- 
[EMAIL PROTECTED]  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
"AOL would be a giant diesel-smoking bus with hundreds of ebola
 victims on board throwing dead wombats and rotten cabbage at the other
 cars, most of which have been assembled at home from kits."

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: a question about GREP

2007-03-26 Thread mike ledoux
On Mon, Mar 26, 2007 at 11:38:31AM -0400, Jerry wrote:
> Lloyd ([EMAIL PROTECTED])'s solution works:
> 
> find -type f -name '*out*' | xargs grep -wli zip > zip.txt
> 
> Question: "-type f" limits to "regular file", does the so-called "regular
> file" strictly mean "plain text files"?

It does not. "regular file" means not a special file, directory,
named pipe, symbolic link, or socket. "plain text files" are a
subset of "regular files".  If you just want to omit non-text files
from the output, something like:

  find . -type f -name '*out*' -print0 | xargs -0 grep -wliI zip > zip.txt

will probably do what you want.  The -I option to GNU grep tells it
to treat binary files as if they contain no matches.  The -print0
to find and -0 to xargs improve handling of file names that contain
whitespace.

> Steven's solution (listed below) only partially works, for reasons I don't
> know. By "partially", I mean his solution can only find SOME files matching
> the search criteria.
> 
> find . -type f -name \*out\* | \
> xargs file | \
> awk '/ASCII/ { sub(/:/, ""); print $1}' | \
> xargs grep -l zip > zip.txt

If you run 'find . -type f -name '*out*' -print0 | xargs -0 file'
I bet some of the files you are calling "plain text files" are not
"ASCII text files", which is what the above is looking for.  For
example, a file 'file' reports as "ISO-8859 English text" will
almost certainly meet *your* critera for "plain text", but doesn't
include "ASCII" anywhere in the output of 'file'.

-- 
[EMAIL PROTECTED]  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
"Working on Megatokyo is a lot like trying to fix the engine on a bus while
 it cruises down a bumpy highway at 75 mph with two monkeys fighting over
 the steering wheel and a brick on the accelerator."  Piro

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: a question about GREP

2007-03-23 Thread mike ledoux
On Fri, Mar 23, 2007 at 05:12:04PM -0400, Steven W. Orr wrote:
> On Friday, Mar 23rd 2007 at 16:33 -0400, quoth Jerry:
> 
> =>Also, doesn't Grep stand for "global regular expression print"?
> 
> General Regular Expression Processor

Jerry is correct.  The name grep comes from the ed command g/regex/p:
(search) global(ly for lines matching the) regular expression(, and) print.

-- 
[EMAIL PROTECTED]  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
"Touch passion when it comes your way Stephen.  It's rare enough as it is,
 don't walk away when it calls you by name."  Marcus Cole

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Handhelds/PDAs - Palm vs Zaurus vs others - Opinions? Experiences?

2007-03-23 Thread mike ledoux
On Thu, Mar 22, 2007 at 09:47:40AM -0400, Paul Lussier wrote:
> Sacha Chua (Cc'ed on this e-mail) who's since become a good friend of
> mine, introduced me to my current PDA/PIM device of choice: The
> Hipster PDA.

When they make a version that includes alarm functionality for
repeating events and to do list entries, I'll switch.  Until then
the Hipster PDA simply doesn't provide critical PDA functionality.

-- 
[EMAIL PROTECTED]  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
This message closed-captioned for the hearing impaired.
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Handhelds/PDAs - Palm vs Zaurus vs others - Opinions? Experiences?

2007-03-20 Thread mike ledoux
On Tue, Mar 20, 2007 at 05:11:00PM -0400, Ben Scott wrote:
>  I'm especially interested in the Sharp Zaurus.  I understand that,
> while it's nominally not sold in the US, it's pretty easy to find
> vendors importing it, and that the manufacturer support picture is
> pretty good (for the immediate future, anyway).
> 
>  One thing I want from a handheld is that it has to be a good PIM
> first -- good calendar, contact, task list, and notepad functionality.
> Not Emacs, but something easily usable with one hand while I've got
> my head stuck inside a computer cabinet.  This is one thing the Palm
> always did *very* well.  What about the Zaurus?

I had a Zaurus (SL-5600).  The PIM software was almost, but not
quite, completely useless.  I tried several of the alternate
software loads, none of them worked anywhere near as well as the
Palm IIIc the Zaurus replaced, certainly not good enough for daily
use.

> Zauruses... Zauri... Zaurus models have built-in keyboards, I guess
> that's moot.  Right?

The built-in keyboard on the SL-5600 was crap, I only used it when I
had to.

>  The Zaurus runs Linux, which is uber-cool, especially for more
> sophisticated things.  Can anyone comment on how Linux software
> translates to the Zaurus platform?  Is it just a recompile, or is it
> mostly incompatible?  Does it use X for graphics, or something else?

Something else, depending on which software load you are using.  You
can get X working, but it isn't particularly usable.

>  What about sync'ing with a desktop Linux PC?  I ass-ume, since it
> runs Linux, that basic interoperability is a no-brainer.  Is there
> anything like jpilot for the Zaurus?

Basic interoperability was pretty much non-existant when I first
tried it, the PIM apps for the Zaurus weren't available in any
desktop form I could identify.  I quickly gave up and just made
regular backups to a spare CF card.


These days I'm using a cheap Palm, which is working reasonably well
for just PIM functions.

-- 
[EMAIL PROTECTED]  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
"If you can't beat your computer at chess, try kickboxing."
 http://bbspot.com/toys/slashtitle/index.html

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: MonadLUG notes, 8-March-2007: Pitch your distro

2007-03-20 Thread mike ledoux
On Tue, Mar 20, 2007 at 03:02:40PM -0500, Bill Freeman wrote:
> mike ledoux writes:
>  > On Tue, Mar 20, 2007 at 01:22:25PM -0400, Tyson Sawyer wrote:
>  > > ...oh crap!
> ...
> 
>  > That is a problem... with your mail reader.  If it bothers you, I
>  > recommend switching to a mail reader that doesn't have that problem,
>  > rather than complaining.
> 
> Then I'd have other things to complain about.

Sure, but finding new things to complain about is at least half of the fun!

-- 
[EMAIL PROTECTED]  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
"Nothing says 'This is serious' like a corpse on the floor."   Michelle Wincek
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: MonadLUG notes, 8-March-2007: Pitch your distro

2007-03-20 Thread mike ledoux
On Tue, Mar 20, 2007 at 01:22:25PM -0400, Tyson Sawyer wrote:
> ...oh crap!  I replied to a message that came from a list, but when I
> was about to click send I see that my reply doesn't go back to where
> the message came from.  Now off to edit the To: field before I can
> click send.

That is a problem... with your mail reader.  If it bothers you, I
recommend switching to a mail reader that doesn't have that problem,
rather than complaining.

-- 
[EMAIL PROTECTED]  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
"Touch passion when it comes your way Stephen.  It's rare enough as it is,
 don't run away when it calls you by name."  Marcus Cole

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Need help with new monitor

2007-01-02 Thread mike ledoux
On Tue, Jan 02, 2007 at 03:39:36PM -0500, Steven W. Orr wrote:
> Brian sent me what the sync rates are supposed to be, but I'm not sure 
> what I'm doing. The manual calls for 1440x900 in either DVI mode or not 
> (whatever that is). The connector from my puter is the plain old video 
> connector with three rows of pins going in, not the mac connector. (Is 
> that the difference between DVI mode and not DVI mode?) Either way, I 

DVI allows you to send a digital signal directly to the panel,
without converting digital to analog and then back to digital.

If you are using a standard d-sub 15 VGA connector (3 rows of 5
pins), you are operating the panel in analog mode.  Nothing wrong
with that, but you are almost certainly introducing some noise in
the analog stage, so the display isn't going to be as crisp as it
could be.

A DVI connector is bigger and more square than a VGA connector and
has more pins.  The various connectors look like:

http://en.wikipedia.org/wiki/Image:DVI_Connector_Types.svg

If you have video hardware capable of DVI, and the monitor accepts
DVI input, you will almost certainly get a better image on the
display using DVI.


Either way, your X configuration doesn't change, unless your video
hardware has multiple connectors and you need to add configuration
to select which one(s) to output on.

Clear as mud, no?

-- 
[EMAIL PROTECTED]  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
Don't hate yourself in the morning -- sleep till noon.


___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Need help with new monitor

2007-01-02 Thread mike ledoux
On Tue, Jan 02, 2007 at 05:26:02PM -0500, Steven W. Orr wrote:
> Lots of good stuff going on. Nothing is working exactly the way I'd like 
> it to. The closest I've gotten is
> 
> http://steveo.syslang.net/XF86Config-4
> 
> which gives me a display of the desired 1440x900 but is for some 
> mysterious reason yielding a virtual display of 1440x1024. I can push the 
> display up and down to see the missing bits. Is there some directive that 
> will lock the virtual display to be the same as physical? The one I put up 
> on the web does use a modeline that I got which is supposed to be right 
> for the 1440x900. I have no idea where the 1024 is coming from.
> 
> Anyone?

It is coming from the "1280x1024" mode you've left in the display
subsection--X.Org uses the largest setting in each dimension from
all of the modes to choose the virtual display size.  Remove it and
your virtual display will be the same dimensions as your physcal.

-- 
[EMAIL PROTECTED]  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
Don't care if you're rich or not, as long as you can live
 comfortably and have everything you want.

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: SPARC Live CD?

2006-12-20 Thread mike ledoux
On Wed, Dec 20, 2006 at 03:04:33PM -0500, Ben Scott wrote:
> On 12/20/06, Paul Lussier <[EMAIL PROTECTED]> wrote:
> >I'm curious what you mean by "painfully lacking modern command line
> >utilities".  What more do you need than various combinations of ...
>
>  Someone who works in a more heterogeneous environment will doubtless
> be used to this, and thus won't be in the habit of using "unportable"
> features, and thus won't even notice.

That.  It has been a few years since I last had to work on a
box that wasn't running either Linux or a modern *BSD, but my
environment and the way I work on a daily basis is still portable at
least as far back as Ultrix.  Granted, $HOME/bin contains some
"helpers" to make this a bit easier on me, particularly on those
older systems which are missing some modern must-haves (gzip, ssh,
etc.), but it works quite well.

*shrug*

-- 
[EMAIL PROTECTED]  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
He who hesitates is sometimes saved.

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: LMV Snapshots

2006-11-16 Thread mike ledoux
On Thu, Nov 16, 2006 at 05:25:47PM +, [EMAIL PROTECTED] wrote:
> I have a RHEL4 system (with all updates applied) that is using LVM. Every six 
> hours, I have script that runs and does an LVM snapshot, mounts the snapshot, 
> and rsyncs the data over to another system. I was looking through the logs, 
> and I noticed some disturbing messgaes that I can't seem to find anything 
> about. The LVM snapshot is created without incident. However, when I mount 
> it, I get this in syslog:
> 
> Nov 16 12:00:04 postal kernel: kjournald starting.  Commit interval 5 seconds
> Nov 16 12:00:04 postal kernel: EXT3 FS on dm-3, internal journal
> Nov 16 12:00:05 postal kernel: EXT3-fs: dm-3: 109 orphan inodes deleted
> Nov 16 12:00:05 postal kernel: EXT3-fs: recovery complete.
> Nov 16 12:00:05 postal kernel: EXT3-fs: mounted filesystem with ordered data 
> mode.

I've seen this sort of thing when the snapshot was made while writes
were happening on that filesystem.  Are you sure nothing is writing
to that FS when the snapshot is taken?

-- 
[EMAIL PROTECTED]  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
"Give a man a fish, and he'll eat for a day.
 Teach a man to fish, and he'll eat for a lifetime.
 Get a man hammered on Jaegermeister at the company Christmas party and you
 can talk him into eating tropical fish from the reception room aquarium."
  Tristan Fabriani

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: resetting saved lines in an Xterm?

2006-11-15 Thread mike ledoux
On Wed, Nov 15, 2006 at 01:10:05PM -0500, Michael ODonnell wrote:
> >> > /usr/bin/reset should do what you want here.
> >> Nope - that doesn't clear the scrollback history.
> >
> > It does on every xterm I've ever used.  It may not if you are using
> > some funky xterm replacement, or if you have TERM set incorrectly
> > as is quite common.
> 
> I'm using "the" xterm (and, no - not in the way that
> Karl Rove had access to "the" poll numbers) and I
> claim that there's nothing funky going on with my rig:
> 
>   fleagle:~ 1468---> xterm -version
>  XFree86 4.3.99.5(179)
>   fleagle:~ 1469---> type xterm
>  xterm is hashed /usr/bin/xterm
>   fleagle:~ 1470---> rpm -qf /usr/bin/xterm
>  xterm-179-6.EL3
>   fleagle:~ 1471---> echo $TERM
>  xterm

Looks good to me, reasonably close to what I see on my systems here.
One has the same version of xterm, and works fine.  That system has:

[EMAIL PROTECTED] mwl]$ rpm -qf /usr/bin/reset
ncurses-5.3-9.4
[EMAIL PROTECTED] mwl]$ rpm -qf /etc/termcap
termcap-11.0.1-17.1

> ...and although that "reset" app (which is basically just
> the "tset" app) does send an escape sequence that clears
> the screen and puts certain things back to their initial
> states, it definitely doesn't clear the scrollback history,
> which is still viewable via Shift+PageUp or the mousewheel
> or the menubar slider thingy as always.

On my systems 'clear' does what you describe, 'reset' does what I
describe.  The scrollback history is definitely gone.  I am unable
to reproduce the behaviour you describe.

> FWIW, I've been using "the" xterm (as opposed to color
> xterm or rcvxt [sp?]  or the Gnome thingy or the KDE
> thingy, etc...)  and this has always been true, AFAIK.

Strange, I've been using xterm for longer than I can remember, on
several platforms, and 'reset' has always worked as I described.

-- 
[EMAIL PROTECTED]  OpenPGP KeyID 0x57C3430B
Holder of Past Knowledge   CS, O-
"The man who listens to reason is lost: reason enslaves all whose minds
 are not strong enough to master her."  George Bernard Shaw

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/