Re: [newbie] PS2 wheelmouse

2005-04-05 Thread Russ Kepler
On Tuesday 05 April 2005 04:09 pm, Charles A Edwards wrote:
 On Mon, 4 Apr 2005 07:04:18 -0400

 Lee Wiggers wrote:
  Is anyone else having trouble with the logitech optical mouse in
  10.1?
 
  I have used it, and am using it now on 4 boxes through a Belkin kvm
  switch.

 Mine exhibits the same behaviour.

 The workaround I use is that each time I change to a different system I
 disconnect and then reconnect the mouse from the kvm switch.
 Mines on an extension cable so that I can keep it within easy reach

I solved the same problem by adding psmouse.proto=bare to the append in the 
lilo.conf.  After remember to 'lilo' to reset the boot things worked with the 
KVM.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] various issues

2005-03-01 Thread Russ Kepler
On Tuesday 01 March 2005 01:17 pm, Duncan Anderson wrote:
 What a pain! Editing text files is particularly
 irritating because my fingers operate in vi mode reflexively.

Get vim for Windows.  A decent vi emulator, heck, I use it under Mandrake and 
on Sun instead of vi.

 I also find myself cursing over Windows' apparent lack of consistency in
 terms of where it decides to save things. I could go on...

There is a decent shell toolkit for Windows, the name escapes me at the moment 
but it has ksh and most of the simple command line stuff.  MKS Toolkit, 
perhaps?

 My main impression of Windows is that it makes a lot of things
 unnecessarily difficult!

Some, certainly, other outright dangerous (registry editing, anyone?).  If you 
ever have to write stuff at the system level it's downright schizophrenic 
with something like 3 sets of system calls for file I/O (as compared to the 
UNIX norm of 1 set).  True pain on Windows is writing something that's to run 
like a cron job on UNIX.  On UNIX you make it work then toss it into cron, on 
Windows you basically have to write a service around it, a completely 
different run environment, and it's impossible to test.  Bah!


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] various issues

2005-03-01 Thread Russ Kepler
On Tuesday 01 March 2005 01:46 pm, Duncan Anderson wrote:

 I used to use the MKS toolkit version of vi on DOS as well as the Korn
 shell and awk, grep, sed, et al. It was one of the reasons I never
 learned DOS properly! vim is cool, though.

I don't think there's a 'proper' way to learn MS-DOS.  My first conputer was 
an IBM 360/65 running a timeshare simulator called RAX, heck, the first 
programming test I ever took was to see if I could hold a 1401 punchboard at 
arms length, so I'm a proper dinosaur.  

 Eek! (He makes the sign to ward off demons!)

I still do most of my software development (bioinformatics in Java, mostly) on 
my Linux box and move things to the Windows box only for integration testing.  
The Linux box tends to feel a little slower than the Windows box but 
development is faster as I don't crash it near as often.  While working hard 
on the Windows platform I'll crash the development environment 2-3 times a 
day, losing anywhere from 15 minutes to an hour's work each time.  At least 
it's not my money, if they want me to work there they can pay my rates for 
the time.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] various issues

2005-03-01 Thread Russ Kepler
On Tuesday 01 March 2005 01:54 pm, Julie Sloan wrote:
 On Tuesday 01 March 2005 03:17 pm, Duncan Anderson wrote:
  Editing text files is particularly irritating because my fingers operate
  in vi mode reflexively.

 I am looking forward to some day soon being able to say the same thing.  :)

As long as you don't invoke the dreaded emacs you're all right with me.  
(There's something wrong with an editor that hauls around an eliza in every 
instance).


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] various issues

2005-03-01 Thread Russ Kepler
On Tuesday 01 March 2005 07:21 pm, Julie Sloan wrote:
 On Tuesday 01 March 2005 05:01 pm, Russ Kepler wrote:
  As long as you don't invoke the dreaded emacs you're all right with me.
  (There's something wrong with an editor that hauls around an eliza in
  every instance).

 Ok.  Would you please repeat that, more slowly this time, and in newbie
 English?  Thanks.

Emacs is a honkin' big program that initially was intended to be an editor.  
The vi crowd always thought that the name stood for Eighty Megabytes And 
Constantly Swapping.  I was making fun of the propensity of the emacs crowd 
to cram about everything they can into emacs.  It's got a lisp environment, 
and in there it has a program that simulates a non-directive psychologist.  
The latter program's name is eliza, some folks know it as doctor.  All it 
really does is a simple word analysis of your statements and regurgitates it 
back at you (or the generic response H if it can't figure out what to 
say). 


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



[newbie] 64 bit hardware selection

2005-02-07 Thread Russ Kepler
Is there a list of motherboards, etc. that the 64 bit version of Mandrake is 
known to run on?  I'm thinking it's about time to start putting together a 
new box and am considering going whole hog.  My system is currently host to a 
couple of mailing lists and is also used as a development and graphics 
platform, so I am looking for some performance.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Odd mouse behaviour in 10.1

2005-01-21 Thread Russ Kepler
On Thursday 20 January 2005 08:51 pm, A Dude wrote:

 I should mention that my mouse is actually a Logitech cordless Trackman
 Wheel that is connected through a KVM switch.  I don't know if any of
 that's a problem or not, but I've run it that way with every version of
 Mandrake since 9.x without an issue.  I would like to retain the comfort
 and convenience of this set up if at all possible.

Basically, it's the KVM.  I use a Belkin and it had the same problem.  I don't 
use the mouse on the ttys and suspect a big part of the problem is there 
since many suggestions centered on removing the console mouse drivers (gpm).  
You might try stopping and restarting gpm (is it still that on 10.1?) and see 
if the problem goes away, but that's just a workaround to the problem.

I think the long term solution is to replace the KVM.  I haven't gotten around 
to doing the research as I'm also looking for one with a better video - I run 
a high resolution display and the KVM does muddy it noticeably.




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



[newbie] Odd mouse behaviour in 10.1

2005-01-15 Thread Russ Kepler
Yesterday I decided to try and install 10.1 on a Dell C840 laptop that's on my 
desk, connected via a KVM.  The install went well (much better than 10.0 as 
it actually installed in the dock and sees the Ethernet card), but an old 
behaviour came back with the install - the mouse freaks and doesn't resync 
when I switch to and from with the KVM (PS/2 mouse, keyboard works fine).

The normal 'trick' is to force the psmouse module to use one simple config for 
the mouse, but with the new kernel the old psmouse module is not present.  
Anyone know why the psmouse module is missing?


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Odd mouse behaviour in 10.1

2005-01-15 Thread Russ Kepler
On Saturday 15 January 2005 10:47 am, Russ Kepler wrote:

 The normal 'trick' is to force the psmouse module to use one simple config
 for the mouse, but with the new kernel the old psmouse module is not
 present. Anyone know why the psmouse module is missing?

Answered my own question by looking at the kernel config - psmouse is 
configured into the kernel instead of being a module (duh, and I was just 
getting used to the module business.)  Anyway, adding 
append=psmouse.proto=imps to the /etc/lilo.conf (and remembering to reload 
the changed params) and it's back up and running.



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Firefox only lauches on first instance with mdk kde

2005-01-03 Thread Russ Kepler
On Monday 03 January 2005 01:55 pm, Paul wrote:

 browserPath=/usr/bin/mozilla-firefox
 Fox=firefox
 Client=mozilla-xremote-client
 if [ ${1:0:1} = / ]
 then url=file://$@
 else url=$@
 fi

 if [ $(ps aux | grep firefox | wc -l) -ge 4 ]; then
 exec $browserPath$Client -a firefox openURL($url,new-tab)
 else
 $browserPath$Fox $url
 fi
 exit

The browserPath is missing a terminating /, it should be:

browserPath=/usr/bin/mozilla-firefox/

For mozilla I have a more complex invoker named 'mozilla-session':

#!/bin/sh
if /usr/local/mozilla/mozilla -remote ping()
then
  if [ $1 =  ]
  then
/usr/local/mozilla/mozilla -remote xfeDoCommand(openBrowser) 
  else
/usr/local/mozilla/mozilla -remote openURL($1,new-tab) 
  fi
else
  /usr/local/mozilla/mozilla $@ 
fi
exit 0

(Sorry for the hard coded paths, I didn't expect to share it).

This opens links given on the command line as a new tab, starts a session if 
none was running and starts a new browser window if a session is already 
started and nothing is on the command line.

Now if I could just get rid of the blinky when starting from KDE


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] MPAA goes after BitTorrent

2004-12-17 Thread Russ Kepler
On Thursday 16 December 2004 11:47 pm, Erylon Hines wrote:
 On Thursday 16 December 2004 12:13 pm, Russ Kepler wrote:
 | Sorry, but I have to call you on this one.  Coffee makers make coffee by
 | boiling water and putting the boiling water through the coffee grounds.
 | The boiling point of water is pretty much fixed by the altitude (around
 | here it boils at 202 degF) so the temperature of the coffee is going to
 | be the same no matter what percolater it comes out of.

 This is actually not the way it is.  Measure the temperature of your coffee
 makers coffee sometime--mine is 160-165 degrees.  That is set by a
 thermostat inside the maker--and yes, I used to be a repairman for
 commercial cooking equipment, including coffee makers--the type that
 restaraunts use.  The therm is not normally set at 180 degrees, much less
 at boiling.

I've done that, and I get something very close to 180 degrees.  So did a local 
reporter when he went around and tested some of the same places the 
plaintiff's attorney said that he'd tested.  Like I said, water boils at 202 
degF here so the coffee is going to come out at or very near that 
temperature, if it's coming out lower than that you're using very different 
equipment than the rest of us.

The National Coffee Association suggests brewing with water at 195-205 and 
maintaining the brewed coffee at 185 (look for Water Temperature During 
Brewing):

http://www.ncausa.org/public/pages/index.cfm?pageid=71 

What you may be measuring is the temperature of the coffee after sitting on 
the thermostatically controlled plate element.  I brew directly into a 
thermos bottle which maintains the brew temperature for some time after the 
brewing stops.

 The way I remember the case (from a Slashdot discussion, I think), is that
 local McDonald's managers had complained to upper management, in writing,
 that the coffee was being brewed so hot that it was softening the take-out
 cups.  Upper management decreed (in writing, to their later sorrow) that
 the machines would continue to be set at 180 degrees because more cups
 could be brewed from a pound of ground with the hotter water.  This
 correspondence was submitted as evidence.

I suggest that's anecdotal as even the plaintiff's lawyer doesn't put that out 
as part of his case on your cite.

 | I think that McDonalds was being 'burned' by the bad publicity and didn't
 | much defend the case, nor went with an appeal.  The original judgement
 | was reduced considerably in any event, but the final terms are private so
 | we'll likely never know what they were.

 No, they got burned with their own correspondence.  The amount of the
 punitive damages award was a calculation of how much money they made from
 brewing the coffee at a higher temperature.

Without a copy of the trial's transscript and some mind reading we'll never 
know how much McDonalds's input affected the result of the trial.  I'd 
suggest that the evidence was no where near as strong as you say, this 
because there were reductions in the penalty and finally a sealed settlement 
- if the plaintiff's case was as strong as you say none of those reductions 
would have happened, nor the settlement.





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] MPAA goes after BitTorrent

2004-12-16 Thread Russ Kepler
On Thursday 16 December 2004 12:03 pm, Amy wrote:

 Granted a lot of court cases turn into a three ring circus here in the
 states, but the McDonalds coffee case isn't nearly so much of one as
 the media has made it out to be.

Yeah, it was.  It also happened to be at a McDonalds about 1 city block away 
so I'm quite aware of the facts in the case.

 The reason the lady won the case? It wasn't just normally hot coffee,
 she got ~third degree burns~ from the frellin' stuff. McDonalds used
 to serve their coffee extremely hot, so much so that it was way above
 whatever temperature they were legally allowed to. No one ever said
 anything about it before then, because most people don't touch their
 coffee right away, so they'd let it cool down a little bit, and get to
 it later, and it'd be just about perfect.

Sorry, but I have to call you on this one.  Coffee makers make coffee by 
boiling water and putting the boiling water through the coffee grounds.  The 
boiling point of water is pretty much fixed by the altitude (around here it 
boils at 202 degF) so the temperature of the coffee is going to be the same 
no matter what percolater it comes out of. 

 More information about that specific case can be found here:
 http://www.centerjd.org/free/mythbusters-free/MB_mcdonalds.htm

Note particularly the 'facts' are According to Stella Liebeck's attorney, S. 
Reed Morgan - hardly someone expected to be unbiased and as I recall many of 
these pointe were disputed in the case.  As an example the plaintiff's lawyer 
claimed to have tested the temperature of coffee at various places here in 
town, finding all other coffee temperatures to be lower than the McDonalds 
coffee.  Had he checked the temperature of the coffee fresh from the maker it 
would be close to the boiling point of water - as it would have to be since 
no one I know has a policy of putting fresh coffee aside to cool.

 So yeah, a lot of the cases in our court system are insane, but that
 one is hardly what the media has presented it as.

 Sorry about the side tracking of the thread, but this incorrect
 coverage of that case and it's outcome is a bit of a hot button issue
 for a friend of mine, and he's kinda got me started on it too.

I think that McDonalds was being 'burned' by the bad publicity and didn't much 
defend the case, nor went with an appeal.  The original judgement was reduced 
considerably in any event, but the final terms are private so we'll likely 
never know what they were.



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] java problem

2004-09-19 Thread Russ Kepler
On Sunday 19 September 2004 02:57 am, Thereidos wrote:

  Unfortunately that code doesn't have the same meaning.  JAVA_HOME isn't
  defined or exported (I'm assuming that you meant JAVA_HOME in the first
  line), and the JAVA_HOME bin directory is now at the end of PATH.

 Yes, I meant JAVA_HOME. As for the order of appearing in PATH: The point
 was to first declare and then export. The order was irrelevant. But
 thanks for pointing me out.

I believe you missed the meaning in the second sentence of the paragraph, 
here's the original that was posted:


Unfortunately that code doesn't have the same meaning.  JAVA_HOME isn't 
defined or exported (I'm assuming that you meant JAVA_HOME in the first 
line), and the JAVA_HOME bin directory is now at the end of PATH.  The 
problem could very well be from a early version of Java that's expecting 
CLASSPATH and so the new directory should be placed at the start of the PATH 
if you want to be sure.  Putting it at the end is a better solution, but only 
after making sure that nothing earlier in the PATH will affect it.


Perhaps I wasn't as clear as I could have been - I often skip over things when 
I reply, it's a bad habit when the question/answer cycle is a long one.  

The problem as originally expressed was that the java executable was being 
found but the Swing jars weren't being located.  In my experience this was 
likely because older Java versions would expect the jar files (sort of like 
.so for C or .pm for Perl) to be specified in a CLASSPATH env variable.  
Later versions of Java have used JAVA_HOME; Java 1.4.2 (at least) seems happy 
to use whatever path in which the java executable was found and not to 
require either CLASSPATH or JAVA_HOME (at least on my current installation).  
So Java was being found, just not the version of Java that he expected.  
Putting the new path at the end of the PATH variable would have left him 
looking at the old java executable and one that might not have been 
compatible with the newer jar files pointed to by JAVA_HOME.

The other point was that once EXPORTed a variable does not have to be 
reEXPORTed, so the export PATH is unnecessary.  Some folks get into the 
habit of using an EXPORT in front of a variable assignment, I try to avoid it 
as each variable exported fractionally increases the cost of starting a new 
shell or command.  The only variables that you want to export are those you 
want the child processes to get.  But the main point was that the PATH 
assignment doesn't need to be reEXPORTed.

I hope I explained my reasoning better in this reply.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] java problem

2004-09-18 Thread Russ Kepler
On Saturday 18 September 2004 07:13 am, Thereidos wrote:

 There should be no spaces between variables and '='. It should look like
 this :
 export JAVA_HOME=/usr/java/j2re1.4.2_05
 export PATH=$JAVA_HOME/bin:$PATH

That looks correct.

 But I would do it this way :

 JAVA=/usr/java/j2re1.4.2_5
 PATH=$PATH:$JAVA_HOME/bin
 export PATH

Unfortunately that code doesn't have the same meaning.  JAVA_HOME isn't 
defined or exported (I'm assuming that you meant JAVA_HOME in the first 
line), and the JAVA_HOME bin directory is now at the end of PATH.  The 
problem could very well be from a early version of Java that's expecting 
CLASSPATH and so the new directory should be placed at the start of the PATH 
if you want to be sure.  Putting it at the end is a better solution, but only 
after making sure that nothing earlier in the PATH will affect it.

As a note I'm sure that only the JAVA_HOME will have to be exported as PATH 
already will be exported.  So the final would be:

export JAVA_HOME=/usr/java/j2re1.4.2_05
PATH=$JAVA_HOME/bin:$PATH



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Occasional email signature

2004-09-10 Thread Russ Kepler
On Friday 10 September 2004 04:14 pm, Margot wrote:

 I haven't done much with scripts yet, so this is a whole new
 learning experience - but it's for a worthy cause,  I'm sure it
 will come in useful for other things too!

Try putting a |  in front of the scripts name, Mozilla might recognize it as 
a pipe and execute the command, reading the output.  

If that doesn't work you could put the command at the end of a named pipe.  
The link below shows an outline of how to go about doing that.

http://jez.hancock-family.com/archives/27_Email_signatures_using_FIFO.html

If Mozilla won't accept the name of the pipe it's likely testing it to see if 
it's a file, and the only remaining option is to refresh the file via. cron 
as someone else has suggested.

Hope this helps.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Existential Linux Question

2004-08-28 Thread Russ Kepler
On Saturday 28 August 2004 05:14 pm, Greg Meyer wrote:

 But then how was the first UNIX system created?

On a PDP-11, likely using RSTS or RSX-11.

It's really a 'bootstrapping' process (called so because you're lifting 
yourself by your bootstraps).  From bare iron you write a loader that loads 
from something simple - old times it was paper tape.  On the first paper tape 
you have a very simple control program, all it might do is execute other 
programs and manage devices a bit.  Using that you write the machine language 
code to write an assembler, then use the assembler to write better programs 
(maybe a disk driver and a file system), then use the improved tools to write 
a better control program, then an operating system, etc.  

With outside hardware you can write a lot of the system on another computer 
and have the advantage of terminals, editors, compilers, linkers - file 
systems!  Build things and put then to a floppy or hard disk, them boot it on 
the new system.  Once in place start putting the tools and such together - 
for Linux it was nice because there was a whole bunch of GNU stuff that could 
run.

The old term of bootstrapping lives - you 'boot' your system up when it powers 
up.  First the BIOS runs, then it loads a better loader from the hard drive, 
then the loader load the operating system.  (In the old days I had to use the 
front panel switches to load a simple paper tape loader, then load a loader 
from paper tape and then tell it to load things from the hard drive.  Yup, 
men were *men* and computers were made of *iron* in those days.)


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Existential Linux Question

2004-08-28 Thread Russ Kepler
On Saturday 28 August 2004 06:25 pm, Russ Kepler wrote:
 On Saturday 28 August 2004 05:14 pm, Greg Meyer wrote:
  But then how was the first UNIX system created?

 On a PDP-11, likely using RSTS or RSX-11.

Damn - missed the model by this:  much.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Number of occurrences of each word in a text file

2004-08-19 Thread Russ Kepler
On Thursday 19 August 2004 06:45 am, Todd Slater wrote:

 2. Get unique words to count from masterwordlist.

uniq masterwordlist  uniqwords

 3. Count the number of times a word in uniqwords appears in
masterwordlist.

for line in `cat uniqwords` ; do echo $line : `grep -c $line
masterwordlist`  countedwords ; done

(that should all be one line)

You might consider combining these steps with uniq -c 

 There's probably more n better ways to do it, but that should work.
 Modify to suit your needs, like if you want to distinguish between A and
 a.

Toss a 'tr [A-Z] [a-z]' into the mix for that.  You end up with something like 
this:

tr ' \011' '\012\012'  text.txt | tr [A-Z] [a-z] | sort | uniq -c

There's still punctuation in the mix.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Number of occurrences of each word in a text file

2004-08-19 Thread Russ Kepler
On Thursday 19 August 2004 07:43 am, Todd Slater wrote:

 I did that in step 1. I suppose you could also just use the -i switch to
 uniq to ignore case, so we might end up with

 tr ' \011' '\012\012'  text.txt | tr -d [:punct:] | sort | uniq -ic

That's a new one for me - never noticed the -i in uniq.  Thanks.

 Now, how to sort the results of that so it's as we would expect, i.e. 1,
 2, 3, 4, etc. instead of the computer way?

Toss a 'sort -n' on the end of the pipe, 'sort -nr' if you want the high count 
to show up at the top of the list.  I still have the old habit (from glass 
tty days) of letting the high value stuff show at the bottom of the output 
and tend to use the first form (and automatically add -r to a lot of ls() 
commands).




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



[newbie] SCSI Tape drive tuning

2003-11-19 Thread Russ Kepler
I have an HP SureStore 12000e tape drive I use for backup, and while it should 
be capable of 1MB/s it generally performs lower than that, most of the time 
at or around the 400KB/s rate (using 'dd bs=1M' to time things).  Is there 
someplace I could look for tuning ideas?

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] A new virus for ALL platforms...

2003-10-16 Thread Russ Kepler
On Thursday 16 October 2003 08:25 am, Chris Blake wrote:
 Greetings MDK users,

 Is Pandasoft a reliable virus package to install...there appears to be a
 new virus out that affects ALL systems..

 http://www.pandasoftware.com/virus_info/encyclopedia/overview.aspx?lst=vis;
idvirus=41263

 Or is this an attempt to get ignorant Linux users (who I doubt exist) to
 buy their software...

I don't know if it's deliberate but they're mistaken in saying that it would 
affect any non-Microsoft system (their tech details list only MS details, 
none of which would work anywhere else, so I suspect the primary page was 
just set wrong).


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] load average

2003-09-22 Thread Russ Kepler
On Monday 22 September 2003 10:46 am, [EMAIL PROTECTED] wrote:
 Ricardo's signature wrote this in a message on Saturday morning (00:50:14):
 =-=-=
 Sat, 20 Sep 2003 00:45:00 -0300
  00:45:00 up 2 days, 13:35,  3 users,  load average: 1.86, 1.72, 1.37
 =-=-=
 What is this load average?  I thought that it was a percentage of CPU use,
  but then he's at 186%, so that's obviously wrong (unless he typed this as
  a joke . . .).  Also, what are the other 2 values?  They seem related to
  the first, I'm thinking [avg last minute], [avg last hour]

A load average of 2 means that there are 2 jobs ready to run whenever the CPU 
is ready to run one.  A load average of .5 means that half the time there is 
a job to run.  Nothing wrong with 1, on my system I run setiathome and use 
it to consume my spare cycles, giving me uptimes around 1.25 or so most of 
the time.

The numbers reported by uptime are for 1 minute, 5 minutes and 15 minutes.

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Background execution

2003-08-14 Thread Russ Kepler
On Tuesday 12 August 2003 10:56 am, Dan Jones wrote:
 On Mon, 2003-08-11 at 21:57, Miark wrote:
  Since you have to press Enter after any command, I guess I'm still not
  clear on the problem. Do you mean you have to press Enter _twice_ before
  getting the prompt back?

 Yes.  I enter

 ./POPFile 

 on the command line and press ENTER.  POPFile starts up, spits out a few
 lines of text (Loading (blah) ... Initializing (blah) ... Starting
 (blah) ... POPFile Engine running) and then displays a blank line.

If you look closely at the text on the lines following the command you'll see 
the command prompt - it usually gets in before the first line of output.  
Here's a quicky from a shell:

[EMAIL PROTECTED] russ]$ ls -ld .mozilla 
[1] 5170
[EMAIL PROTECTED] russ]$ drwxr-xr-x3 russ russ 4096 Aug  9 13:39 
.mozilla/

You can see the job stuff from the shell [1] 5170 followed on the next line 
with the prompt [EMAIL PROTECTED] russ]$ followed by the output of ls.  So far as 
the shell is concerned it's already sent the prompt, it's just that the 
background job stomped the tty output a bit and you don't see it.



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[newbie] KDE desktop cruft

2003-07-30 Thread Russ Kepler
I've got a couple of icons on my desktop that I can't get rid of (and don't 
appear in the Desktop directory).  I suspect that they're artifacts from an 
automount or something, but I can't remove the /mnt entries, either.  The 
icons appear as CD-ROM mounted at /mnt/cdrom2 and CD-ROM mounted at 
/mnt/cdrom2 and appear as a cd-rom image with a small green triangle in the 
lower right corner.  The entries in /mnt have odd permissions:

drwxrwxrwx1 root root0 Jul 29 19:13 cdrom2/
drwxrwxrwx1 root root0 Jul 29 19:13 cdrom3/

These entries are not removable. either.  

I'd really prefer to have the second cd-rom drive use manual mounting as the 
first and to clean up my desktop by removing these.  Suggestions?



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] kde 3.1 problem, no mouse

2003-06-18 Thread Russ Kepler
On Tuesday 17 June 2003 10:32 pm, David E Fox wrote:

 I have stuff I need to keep running. Short of restarting KDE, is
 there a way to restore the mouse?

I used to lose the mouse with my KVM, and always went to a session using 
CTRL-ALT-1, logged in as root and ran mousedrake.  That'll reset the driver 
and resync, and that's what I needed with my problem.  Maybe that'll do 
something for you as well.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] crontab -e doesn't work

2003-03-14 Thread Russ Kepler
On Friday 14 March 2003 09:08 pm, Andy Davidson wrote:
 On Fri, Mar 14, 2003 at 10:43:08PM -0500, Miark wrote:
  Although I can't explain why, I know that crontab -e has a problem with
  eMacs. I use MicroEmacs and experience the same thing. Hmm, I should have
  brought that up in Bugzilla.

 I just tried 'crontab -e' after changing my EDITOR shell variable to
 vi.  And it worked!  Can anybody explain this?  Emacs works fine for
 crontab in both 8.1 and 8.2.  Are we into holy war here?

This rings a bell for me.  I ran into something like it and if it's similar 
it's the exit value from emacs - check by editing a file using 

ls test; emacs test; echo $?

Betcha the exit value is non-zero.

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Mandrake and Belkin KVM

2003-03-11 Thread Russ Kepler
On Tuesday 11 March 2003 03:22 pm, you wrote:

  Anyone have any suggestions?

 It is highly mouse-dependent--signal-strength wise.  With a high quality
 KVM most mice work acceptably, and with a strong mouse signal, the Belkin
 (which I use) works acceptably.

It doesn't seem mouse dependent, more timing dependent.  If I have the 
problem I can switch away, then switch back, and the problem is gone.  It's 
just that initial wild control that gives me the problem.

 But your solution is a bit of overkill.  The actual solution is to hit the
 penguin key (or the one with that wavy window trailing some melted paint)
 and use your arrow keys to select terminals and start your favorite term,
 su to root and

 # mousedrake

No go, key isn't active.  Googling for 'penguin-key doesn't seem to pop 
anything up - got any pointers?  In the meantime I'll CTL-ALT-1, login and 
fix with mousedrake unless there's a faster mouse reset.

 On 8.1 you could also go to configuration and use Mndrake Control Center to
 get there, but some of the newer GUI interfaces for MCC do NOT allow
 keyboard navigation by any method I have tried.

I'd go to configuration if I have any control, the only control I have is the 
keyboard, so a logout through CTL-ALT-DEL (shudder) is about the only thing I 
could find to reset the mouse.

At the login screen there's apparently little I can do to screw up the mouse 
pointer... it's always OK after a switch (at least in my limited testing).

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] normal user can delete root owned files!

2003-03-07 Thread Russ Kepler
On Friday 07 March 2003 04:03 am, you wrote:
 I am running MDK9.0 with msec 3, vanilla kernel. I just noticed that, as
 a normal user, I am able to delete root-owned files (with -rw-r--r--
 rights). I don't know when it started, I am almost sure it was not this
 way last time I tried.

 Does anybody have a similar issue?

The permission to delete a file depends on the permissions on the directory 
the file lives in, not on the permissions on the file itself.  Just as you 
can link a file that you don't have read permissions to into a directory you 
have write permissions in you can also unlink it from that directory.

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] normal user can delete root owned files!

2003-03-07 Thread Russ Kepler
On Friday 07 March 2003 08:27 am, you wrote:
 This is a good explanation, thanks! After your comment I checked man
 chmod, I guess the explanation below is what you are referring to:

 STICKY DIRECTORIES
 When  the sticky bit is set on a directory, files in that directory may
 be unlinked or renamed only by root or their owner.  Without the sticky
 bit,  anyone able to write to the directory can delete or rename files.
 The sticky bit is commonly found on directories, such as /tmp, that are
 world-writable.

No, that's a way around a particular permissions problem.  

The problem comes up in a couple of ways, the simple one here where multiple 
people have write access to a common directory.  Having the ability to create 
a file in a directory means that you also have the ability to remove a file 
(properly, the link to the inode) from that directory - thus *anyone's* 
files.  The 'sticky bit' (properly the 'set user id on execute' or 'set 
groupd id on execute' function didn't have a use on a directory, since it's 
not directly executable (and the execute bit is already used for 'ability to 
search') so the BSD folks set this up some years ago and it migrated into 
Linux.  

Where this is particularly handy is in the mail directories - common areas 
where you want to manage your files but not let others read or delete them, 
unless they're a member of the mail group.

File permissions and handling are critical to a number of applications and 
the very best reason to never, ever, run with root permissions as a regular 
user.  I used to run into that all the time - folks would get tired of 
permission issues and start running printer demons as root and get all 
screwed up because there it blew away the printer and queue arbitration as it 
used the creation of read-only files as an atomic semaphore (the only one 
available in NFS).

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] System attack Recovery Question

2001-12-26 Thread Russ Kepler

On Wednesday 26 December 2001 12:47 pm, you wrote:
 This particular server is running RH 6.  They changed /bin/ps to something
 that is totally different than what we had on there before and created a
 hard link so that it can't be deleted or updated until we find the hard
 link.  My question is how do I trace this link so I can delete it, and then
 reinstall the rpm

Get the inum of /bin/ps using 'ls -i' and then find it using 'find / -mount 
-inum number -print'.  



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] Crash after applying updates

2001-12-24 Thread Russ Kepler

A couple of days ago I updated my Mandrake 8.1 from the mirrors at 
ftp://ftp.sunet.se/pub/Linux/distributions/mandrake/updates/8.1/RPMS using 
the Mandrake Update selection in the software manager.  Nothing in the kernel 
was changed as I was putting that off until later, but all the other updates 
were accepted.  

Since then, and possibly connected with that action, my system has become 
unstable, crashing 3 times since the update (as compared 0 times with 1.5 
months runtime before).  No hardware changes were applied aside from screwing 
in the video connector.  The crash is hard, nothing to do but reboot.  I've 
put a sync() in the background to sync the disks on a 5 second interval to 
minimize damage and to try and get *something* in the syslog, but nothing 
comes up.

If I could find the logs from the update I'll try and reverse the upgrades 
applied - anyone know where they're kept?  Short of that, anyone have any 
ideas?  It's a pretty standard MSI K7T mob with an Athlon 1.4 processor and 
an old Diamond Viper video - it's possible something's happened here but 
fairly unlikely to be intermittent.  I'd like to get the system stable before 
I leave on business, I'd hate to ask my wife to reboot the system daily while 
I'm gone...



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] Mozilla 0.9.4?

2001-12-16 Thread Russ Kepler

On Sunday 16 December 2001 10:45 am, you wrote:
 Has anybody done this - updated to 0.9.6 from Cooker, with associated
 libpng upgrade? And if so, has it broken any applications? I'm thinking
 specifically of things like Evolution, Konqueror, Opera, GIMP, etc.

I used rpmfind to grab all the required rpms to go with the cooker version of 
Mozilla 0.9.6 and updated the whole kit  kaboodle at one time.  No problems 
as yet and it's been about a week.  It did clean up several problems that I 
was seeing - broken display of pages with html showing in the middle, etc.  
It feel a little bit faster as well, but that could be perception.



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] loadable modules in 8.1

2001-10-24 Thread Russ Kepler

On Wednesday 24 October 2001 03:59 am, you wrote:
 Kernel modules to be loaded at boot time belong to
 /etc/modules and their settings to /etc/modules.conf
 My configuration entries for a scsi adapter

 In /etc/modules

 scsi_hostadapter


 In /etc/modules.conf

 probeall scsi_hostadapter aic7xxx
 alias scsi_hostadapter aic7xxx

Thanks, that did the trick.  I now have in /etc/modules

scsi_hostadaptor

and in /etc/modules.conf I have (among other things)

probeall scsi_hostadaptor advansys
alias scsi_hostadaptor advansys

That seems to deal with things appropriately on boot.  Thanks, all, for the 
pointers.  




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] loadable modules in 8.1

2001-10-23 Thread Russ Kepler

All,

I'm an old hand to UNIX as well as Linux, but after not updating my system 
for 6+ years have now replaced my old hardware with new and grabbed a 
Mandrake 8.1 to go with.  Most things are working OK, but one issue I'm 
having is that loading of scsi modules is somewhat spotty.  After manually 
loading the scsi-mod it's now automatically loading on boot, but that's not 
happening with the advansys module - I have had to place a line in 
/etc/rc.local to load it, and even that's not reliable.  Before I replace 
that line with (sleep 10; insmod advansys)  tell me where I'm going wrong, 
please.

Once that's solved I'll pester folks to help me understand why device 
permissions and owners keep changing on boot as well, and how to pin 'em down.

-- Russ



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com