Re: Periodic deletion of old subdirectories

2003-10-06 Thread Steven W. Orr
On Tuesday, Oct 7th 2003 at 09:35 +1000, quoth Michael Mansour:

=>Hi,
=>
=>Just a general scripting question.
=>
=>I have a need to delete subdirectories in a particular
=>directory tree if the directories in the tree are
=>older than a certain time (say one month). I'd like to
=>cron this script to work in the background and clean
=>that diretory tree up.
=>
=>What the best way/technique to do this?

man tmpwatch

-- 
-Time flies like the wind. Fruit flies like a banana. Stranger things have -
-happened but none stranger than this. Does your driver's license say Organ
-Donor?Black holes are where God divided by zero. Listen to me! We are all-
-individuals! What if this weren't a hypothetical question?
steveo at syslang.net


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: EMail virus?

2003-09-23 Thread Steven W. Orr
On Monday, Sep 22nd 2003 at 09:25 -0700, quoth Simran Hansrai:

=>
=>--040605030502010208030107
=>Content-Type: text/plain; charset=us-ascii; format=flowed
=>Content-Transfer-Encoding: 7bit
=>
=>Yup,
=>
=>I have been adding rules to sendmail all day yesterday and today 
=>blocking the spam...
=>
=>

Then I very much want to know what recipes you have to offer. I don't care 
about filtering the mail after it comes in. I'm already doing that. I want 
to reject the mail before it comes in. Tell me what you have.

-- 
-Time flies like the wind. Fruit flies like a banana. Stranger things have -
-happened but none stranger than this. Does your driver's license say Organ
-Donor?Black holes are where God divided by zero. Listen to me! We are all-
-individuals! What if this weren't a hypothetical question?
steveo at syslang.net


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Recreating stock kernel

2003-07-08 Thread Steven W. Orr
On Tuesday, Jul 8th 2003 at 09:52 -0700, quoth Greg Bell:

=>
=>Hi List Folks,
=>
=>First, let me point out that I am fairly seasoned at kernel recompiling...
=>I have done dozens successfully, so please don't let the naive question
=>below cause you to send me to the Howto :)
=>
=>With my new RH9 install, I figured it'd be best to recreate the stock
=>kernel, as a starting point.  I thought I should be able to:
=>
=>1) cp /boot/config-2.4.20-8 .config
=>2) make dep && etc etc
=>
=>However, this results in a gcc error and an aborted compile.  Shouldn't I
=>be able to use that config?
=>
=>Second, if I run make xconfig, and don't do anything but "save and exit",
=>it drastically changes the .config I copied from /boot.  Not just the
=>order... new options there, etc.
=>
=>What critical piece of RedHat knowledge am I missing?
=>
=>Thanks,
I went through the whole thing myself and noone was really helpful. So I 
shall look down you mere mortals and give you the answer ;-)

There are a number of 'config' targets: config, menuconfig, xconfig and 
oldconfig. If you want to use an old config file with no changes, you 
should run oldconfig to make sure that all the stuff that's in there 
is good and that all the stuff that isn't gets added. But the point is 
that all of the config targets do more than just set up the .config file. 
There are other mysterious things that happen as well. The real proper 
way to do it is to unpack your src (whatever feels best) and then run make 
mrproper. (BTW, mrproper is apparently from the German version of Mr. 
Clean in this country.) Then you must run *one* of the config targets to 
end up with the proper pre-build setup. Note that if you have a good 
.config and you run mrproper, it *will* delete your .config file.

Zat help?

-- 
-Time flies like the wind. Fruit flies like a banana. Stranger things have -
-happened but none stranger than this. Does your driver's license say Organ
-Donor?Black holes are where God divided by zero. Listen to me! We are all-
-individuals! What if this weren't a hypothetical question?
steveo at syslang.net


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: unsubscribe

2002-12-08 Thread Steven W. Orr
On Sun, 8 Dec 2002, Ted Mahoney wrote:

=>SPAM:  Start SpamAssassin results --
=>SPAM: This mail is probably spam.  The original message has been altered
=>SPAM: so you can recognise or block similar unwanted mail in future.
=>SPAM: See http://spamassassin.org/tag/ for more details.
=>SPAM: 
=>SPAM: Content analysis details:   (7.00 hits, 5 required)
=>SPAM: X_LOOP (-0.2 points) Found a X-Loop header
=>SPAM: HTML_70_90 (0.9 points)  BODY: Message is 70-90% HTML tags
=>SPAM: SPAM_PHRASE_00_01  (0.8 points)  BODY: Spam phrases score is 00 to 01 (low)
=>SPAM:[score: 0]
=>SPAM: MAILTO_WITH_SUBJ   (0.4 points)  URI: Includes a link to send a mail with a 
subject
=>SPAM: SIGNATURE_SHORT_DENSE (-0.3 points) Short signature present (no empty lines)
=>SPAM: RAZOR2_CHECK   (3.9 points)  Listed in Razor2, see http://razor.sf.net/
=>SPAM: KNOWN_MAILING_LIST (-0.1 points) Email came from some known mailing list 
software
=>SPAM: RCVD_IN_MULTIHOP_DSBL (0.8 points)  RBL: Received via a relay in 
multihop.dsbl.org
=>SPAM:[RBL check: found 241.28.13.206.multihop.dsbl.org]
=>SPAM: RCVD_IN_UNCONFIRMED_DSBL (0.8 points)  RBL: Received via a relay in 
unconfirmed.dsbl.org
=>SPAM:[RBL check: found 241.28.13.206.unconfirmed.dsbl.org]
=>SPAM: 
=>SPAM:  End of SpamAssassin results -
=>
=>This is a multi-part message in MIME format.
=>
=>--=_NextPart_000_0019_01C29EAD.16CB53B0
=>Content-Type: text/plain;
=>  charset="Windows-1252"
=>Content-Transfer-Encoding: 7bit
=>
=>unsubscribe
=>
=>--=_NextPart_000_0019_01C29EAD.16CB53B0
=>Content-Type: text/html;
=>  charset="Windows-1252"
=>Content-Transfer-Encoding: quoted-printable
=>
=>xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
=>xmlns=3D"http://www.w3.org/TR/REC-html40";>
=>
=>
=>charset=3DWindows-1252">
=>
=>
=>
=>
=>
=>cid:[EMAIL PROTECTED]";>
=>
=>
=>
=>
=>
=>
=>
=>style=3D'tab-interval:.5in'>
=>
=>
=>
=>style=3D'font-size:10.0pt;
=>font-family:Arial;mso-bidi-font-family:Arial'>unsubscriben>
=>
=>
=>
=>
=>
=>
=>
=>--=_NextPart_000_0019_01C29EAD.16CB53B0--
=>
=>
=>
=>
From: "Dr. Bryan Bledsoe" <[EMAIL PROTECTED]>
To: "prehospitalcare List Member"  <[EMAIL PROTECTED]>
Subject: [prehospitalcare] How To Remove Yourself From The List
Date: Sat, 10 Aug 2002 20:55:52 -0500
X-Mailer: Microsoft Outlook Express 6.00.2600.
X-MDRemoteIP: 207.217.120.50
Sender: [EMAIL PROTECTED]
X-Return-Path: [EMAIL PROTECTED]
List-Unsubscribe: 
X-MDMailing-List: [EMAIL PROTECTED]
X-MDSend-Notifications-To: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
X-MDaemon-Deliver-To: [EMAIL PROTECTED]

Phil:
   
You are WRONG.  Here is how to unsubscribe from [EMAIL PROTECTED]:
How to unsubscribe (as you requested)

First, ask your Internet Provider to mail you an Unsubscribing
Kit. Then follow these directions. The kit will most likely be
the standard no-fault type. Depending on requirements,   
System A and/or System B can be used. When operating System A,
depress lever and a plastic dalkron unsubscriber will be dispensed
through the slot immediately underneath. When you have fastened the
adhesive lip, attach connection marked by the large "X" outlet
hose. Twist the silver- coloured ring one inch below the connection
point until you feel it lock.

The kit is now ready for use. The Cin-Eliminator is activated by the
small switch on the lip. When securing, twist the ring back to its
initial condition, so that the two orange lines meet. Disconnect.

Place the dalkron unsubscriber in the vacuum receptacle to the
rear. Activate by pressing the blue button. 

The controls for System B are located on the opposite side. The red
release switch places the Cin-Eliminator into p

Re: shell script

2002-09-10 Thread Steven W. Orr

On Tue, 10 Sep 2002, alexis Vasquez wrote:

=>need to assign the TERM variable depending on if user
=>is on console TERM=scoansi, but if it's on terminal
=>'pts/#'  then TERM=vt100.. 
=>In .bash_profile I saw this.
=>
=>if [ -f ~/.bashrc ]; then
=>. ~/.bashrc
=>fi
=>
=>so I did 
=>get the value for command 'tty' "Don't know how to do
=>this" to the variable tty-type. 
=>
=>if tty-type in 'tty[1,2,#]' ; then
=> TERM=scoansi
=>else
=> TERM=vt100
=>fi

tty_type=$(tty)
if [[ ${tty_type%/*} = /dev/pts ]]
then
TERM=vt100
else
TERM=scoansi
fi

-- 
-Time flies like the wind. Fruit flies like a banana. Stranger things have -
-happened but none stranger than this. Does your driver's license say Organ
-Donor?Black holes are where God divided by zero. Listen to me! We are all-
-individuals! What if this weren't a hypothetical question? [EMAIL PROTECTED]





-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: command to find out my ipaddress?

2000-12-18 Thread Steven W. Orr

ifconfig 

-- 
-Time flies like the wind. Fruit flies like a banana. Stranger things have -
-happened but none stranger than this. Does your driver's license say Organ
-Donor?Black holes are where God divided by zero. Listen to me! We are all-
-individuals! What if this weren't a hypothetical question? [EMAIL PROTECTED]


On Wed, 20 Dec 2000, christopher j bottaro wrote:

=>charset="us-ascii"
=>Reply-To: [EMAIL PROTECTED]
=>
=>is there a command to find out my ipaddress?
=>
=>thanks...=)
=>
=>
=>
=>
=>--__--__--
=>



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



parport0: detected irq 7; use procfs to enable interrupt-drivenoperation.

2000-12-12 Thread Steven W. Orr

I'm just noticing this. I'm running 2.2.18. The whole context at boot time
looks like this:

parport0: PC-style at 0x378 (0x778) [SPP,ECP,ECPPS2]
parport0: detected irq 7; use procfs to enable interrupt-driven operation.
lp0: using parport0 (polling).
cat uses obsolete /proc/pci interface

Anyone know what this means? Can I fix it? Should I?

Thanks.

-- 
-Time flies like the wind. Fruit flies like a banana. Stranger things have -
-happened but none stranger than this. Does your driver's license say Organ
-Donor?Black holes are where God divided by zero. Listen to me! We are all-
-individuals! What if this weren't a hypothetical question? [EMAIL PROTECTED]




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Export variables available to Cron Daemon(no subject)

2000-12-09 Thread Steven W. Orr

The way to answer that question is to try it:

1063 > batch
warning: commands will be executed using /bin/sh
at> env > /tmp/xxx
at> 
job 2 at 2000-12-09 21:57
1064 >

What you will see is that you will go through the entire login process for
that user. Your env will end up being exactly what it is when you log in.

-- 
-Time flies like the wind. Fruit flies like a banana. Stranger things have -
-happened but none stranger than this. Does your driver's license say Organ
-Donor?Black holes are where God divided by zero. Listen to me! We are all-
-individuals! What if this weren't a hypothetical question? [EMAIL PROTECTED]


On 9 Dec 2000, Harry Putnam wrote:

=>
=>[Note: Getting this thread back on track.  It was derailed by my
=>subjectless post sorry ... having some email troubles here]
=>
=>"Brad Doster" <[EMAIL PROTECTED]> writes:
=>
=>> Thanks, Harry.  For the time being, I've incorporated the pieces that define
=>> the variables in the scripts run by cron.  It seems there ought to be a way
=>> to make defined variables globally available though, and I haven't been able
=>> to find out how -- I suppose the 'global availability' is really the crux of
=>> my question -- is it possible, and if so, can anyone help me get it to work?
=>
=>I couldn't find a refernce in the three related man pages, crond,
=>crontab(1) and crontab(2).  But I seem to recall someone telling me
=>once that cron starts with a limited  shell, some of the limitations
=>being $PATH and $ENV
=>
=>I'm definitely not an authority on this, so some of the sharp shooter
=>here will probably know.  Making crontab extact whatever VARS you want
=>from the global environment can be done in the way I described.
=>
=>> As for your script enhancements, I'll have to look at the man pages to see
=>> what you've done .
=>
=>Its no great improvement, just makes fewer system calls.



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Can someone tell me what is up2date?

2000-11-27 Thread Steven W. Orr

I'm running 7.0 and I find that I have something running called rhnsd
which belongs to up2date. There doesn't seem to be a spec of documentation
assocoated with it at all. Also, every two hours I get the following
message in syslog:

messages:Nov 27 09:43:22 syslang rhnsd[966]: /etc/sysconfig/rhn/systemid
does not exist or is unreadable

Anyone know how this works?

-- 
-Time flies like the wind. Fruit flies like a banana. Stranger things have -
-happened but none stranger than this. Does your driver's license say Organ
-Donor?Black holes are where God divided by zero. Listen to me! We are all-
-individuals! What if this weren't a hypothetical question? [EMAIL PROTECTED]




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: output to screen & file

2000-11-22 Thread Steven W. Orr

Use the script command if you don't like

p 2>&1 | tee save.txt

The script command will capture *everything* that appears on the screen.

-- 
-Time flies like the wind. Fruit flies like a banana. Stranger things have -
-happened but none stranger than this. Does your driver's license say Organ
-Donor?Black holes are where God divided by zero. Listen to me! We are all-
-individuals! What if this weren't a hypothetical question? [EMAIL PROTECTED]


On Thu, 7 Feb 2036, Corisen wrote:

=>charset="iso-8859-1"
=>Reply-To: [EMAIL PROTECTED]
=>
=>hi, how can i display a program output to screen AND also to file.
=>
=>if i use "./myprog 1>>file.txt 2>>file.txt", no output will be shown on
=>screen. i would like to see the output during runtime and at the same time
=>capture any output & error to a file.
=>
=>thanks.



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



RE: Bash questions

2000-11-22 Thread Steven W. Orr

Sorry, I forgot to tell you why PS1 will not export: You need to be able
to test it in shell scripts to see if you are in an interactive shell. If
it was exported, that mechanism would not work.

-- 
-Time flies like the wind. Fruit flies like a banana. Stranger things have -
-happened but none stranger than this. Does your driver's license say Organ
-Donor?Black holes are where God divided by zero. Listen to me! We are all-
-individuals! What if this weren't a hypothetical question? [EMAIL PROTECTED]


On Wed, 22 Nov 2000, Bill Carlson wrote:

=>On Tue, 21 Nov 2000, Stan Isaacs wrote:
=>
=>> > The full comment in /etc/bashrc on my machine (RH6.0) is:
=>> >
=>> > # For some unknown reason bash refuses to inherit
=>> > # PS1 in some circumstances that I can't figure out.B
=>> > # Putting PS1 here ensures that it gets loaded every time.
=>> > PS1="[\u@\h \W]\\$ "
=>> >
=>> > Sounds pretty clear to me.
=>>
=>> Thanks for quoting it for me.  That's exactly the question I'm asking:
=>> What is the "unknown reason"?  Has anybody figured out the circumstances?
=>> Then maybe I could decide if it's worth while to pull the setting out of
=>> /etc/bashrc.
=>>
=>
=>I don't have an older box handy, but IIRC that comment has been there for
=>quite a while, it might be an old bug in bash that whomever created the
=>comment worked around rather than figure out. One could try commenting it
=>out in /etc/bashrc and see what happens.
=>
=>Bill Carlson
=>



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



RE: Bash questions

2000-11-22 Thread Steven W. Orr

PS1 is a 'special' variable. If you export it it will not be inherited by
child processes. Just set it in your .bashrc and all will be well.

-- 
-Time flies like the wind. Fruit flies like a banana. Stranger things have -
-happened but none stranger than this. Does your driver's license say Organ
-Donor?Black holes are where God divided by zero. Listen to me! We are all-
-individuals! What if this weren't a hypothetical question? [EMAIL PROTECTED]


On Wed, 22 Nov 2000, Bill Carlson wrote:

=>On Tue, 21 Nov 2000, Stan Isaacs wrote:
=>
=>> > The full comment in /etc/bashrc on my machine (RH6.0) is:
=>> >
=>> > # For some unknown reason bash refuses to inherit
=>> > # PS1 in some circumstances that I can't figure out.B
=>> > # Putting PS1 here ensures that it gets loaded every time.
=>> > PS1="[\u@\h \W]\\$ "
=>> >
=>> > Sounds pretty clear to me.
=>>
=>> Thanks for quoting it for me.  That's exactly the question I'm asking:
=>> What is the "unknown reason"?  Has anybody figured out the circumstances?
=>> Then maybe I could decide if it's worth while to pull the setting out of
=>> /etc/bashrc.
=>>
=>
=>I don't have an older box handy, but IIRC that comment has been there for
=>quite a while, it might be an old bug in bash that whomever created the
=>comment worked around rather than figure out. One could try commenting it
=>out in /etc/bashrc and see what happens.
=>
=>Bill Carlson
=>



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Problem with mounting a cdrom.

2000-11-20 Thread Steven W. Orr

I got a cd in the mail from APPGEN. I mount it using:

mount /mnt/cdrom

and it seems to mount ok.  Then I cd /mnt/cdrom and I see the following:

[root@syslang cdrom]# ls
license  readme  setup.sh  setup~1.kde  zag_init  zag_li~1  zagjava.gif
[root@syslang cdrom]#

The problem is that, according to appgen, the file zag_init is supposed to
be zaG_INIT.  And setup.sh is supposed to be Setup.sh

I checked the man page formount and I don't see anything wrong. My mtab
file sez:

/dev/scd0 /mnt/cdrom iso9660 ro,nosuid,nodev 0 0

and my mount command (with no args) sez

/dev/scd0 on /mnt/cdrom type iso9660 (ro,nosuid,nodev)

I saw that check=strict is the default, so I am out out of ideas. Anybody
have any idea? BTW, APPGEN has no clue at all. "Hey it works for me."

TIA

-- 
-Time flies like the wind. Fruit flies like a banana. Stranger things have -
-happened but none stranger than this. Does your driver's license say Organ
-Donor?Black holes are where God divided by zero. Listen to me! We are all-
-individuals! What if this weren't a hypothetical question? [EMAIL PROTECTED]




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Mail Clients: Reply quoting and vCards

2000-11-18 Thread Steven W. Orr



-- 
-Time flies like the wind. Fruit flies like a banana. Stranger things have -
-happened but none stranger than this. Does your driver's license say Organ
-Donor?Black holes are where God divided by zero. Listen to me! We are all-
-individuals! What if this weren't a hypothetical question? [EMAIL PROTECTED]


On Sat, 18 Nov 2000, Wolfgang Pfeiffer wrote:

=>Tony,
=>thanks for your info -- I am still not sure, whether to move (from
=>now  being a not-very-happy Netscape-Messenger user) to mutt or
=>pine -- I have heard so often, mutt is so good ... so my question
=>to those knowing how mutt works: does mutt have these features Tony
=>was describing for pine ...  ?
IMHO, the choice should be between pine and elm. Personally I use pine and
have for years. But elm is similar but with lots and lots of fine
controls.
 =>
=>I just opened pine in a shell ... seems not very difficult to
=>make it work ...
=>But do I need an additional program to make it work (such as
=>sendmail or so ...) or is it (more or less) enough to simply put the
=>usual email-related values into the pine config file, such as my
=>email-address, my ISP's addresses for his mail-fetching and -bringing
=>machines and so on ...?
Personally, I have my pine set to use my own sendmail server instead of
pointing it to my ISP's sendmail. That way I *know* if mail was sent.
=>
=>Sorry for these perhaps stupid Newbie-questions ... but there are
=>probably so many experienced mutt or pine users on this list ...
=>why not listening to what they say about these programs ...
One thing that I just learned that's useful about mutt is that you can
compose MIME messages from the commandline. Pine can't do it and it's a
real pain to try and craft on your own.
=>
=>Thanks in anticipation.
=>
=>Regards --
=>Wolfgang
=>



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Can't locate module char-major-97

2000-11-12 Thread Steven W. Orr

Nov 12 18:34:15 syslang modprobe: modprobe: Can't locate module char-major-97
Nov 12 18:34:15 syslang last message repeated 3 times

Anyone know what this is and what the magic incantation in modules.conf is
to fix it? I looked at my dev directory and I have 

crw---1 root sys   97,   0 Aug 24 05:00 /dev/pg0
crw---1 root sys   97,   1 Aug 24 05:00 /dev/pg1
crw---1 root sys   97,   2 Aug 24 05:00 /dev/pg2
crw---1 root sys   97,   3 Aug 24 05:00 /dev/pg3

Anyone know what pg is?

Many thanks. :-)

-- 
-Time flies like the wind. Fruit flies like a banana. Stranger things have -
-happened but none stranger than this. Does your driver's license say Organ
-Donor?Black holes are where God divided by zero. Listen to me! We are all-
-individuals! What if this weren't a hypothetical question? [EMAIL PROTECTED]




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: lp module and new parallel port

2000-11-12 Thread Steven W. Orr

You should not have to manually load the module. 

You should have 
alias parport_lowlevel parport_pc
somewhere in your /etc/modules.conf

Any reference to the driver should cause it to be automagically loaded.

Lemme know.

-- 
-Time flies like the wind. Fruit flies like a banana. Stranger things have -
-happened but none stranger than this. Does your driver's license say Organ
-Donor?Black holes are where God divided by zero. Listen to me! We are all-
-individuals! What if this weren't a hypothetical question? [EMAIL PROTECTED]


On Sun, 12 Nov 2000, Juan Martinez wrote:

=>I'm using the latest kernel rpms from updates.redhat.com
=>(2.2.16-3).  Even if it IS compiled into this kernel, why do I
=>have to load the module to get printing to work?
=>
=>
=>Juan
=>
=>On Sun, 12 Nov 2000, Statux wrote:
=>
=>> Date: Sun, 12 Nov 2000 00:19:08 -0500 (EST)
=>> From: Statux <[EMAIL PROTECTED]>
=>> Reply-To: [EMAIL PROTECTED]
=>> To: [EMAIL PROTECTED]
=>> Subject: Re: lp module and new parallel port
=>> 
=>> You don't have the module compiled into the kernel? That would be much
=>> easier...
=>> 
=>> On Sun, 12 Nov 2000, Juan Martinez wrote:
=>> 
=>> > I added a second parallel port to my RH6.2 box for a second
=>> > printer.  When I had one parallel port I could print without
=>> > any problems.  Now I have to make sure that the lp module is
=>> > loaded.  Why is this so?
=>> > 
=>> > What do I need to put in my /etc/conf.modules file to get it
=>> > to load automatically?  In the meantime, I've added 'insmod lp'
=>> > to the end of my rc.local file.



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Stoopid su question.

2000-11-11 Thread Steven W. Orr

Dood! You done it :-) Many thanks.

-- 
-Time flies like the wind. Fruit flies like a banana. Stranger things have -
-happened but none stranger than this. Does your driver's license say Organ
-Donor?Black holes are where God divided by zero. Listen to me! We are all-
-individuals! What if this weren't a hypothetical question? [EMAIL PROTECTED]


On Sat, 11 Nov 2000, Mikkel L. Ellertson wrote:

=>On Sat, 11 Nov 2000, Steven W. Orr wrote:
=>
=>> I need to run a command from su which takes an option. Specifically:
=>> 
=>> su - steveo fetchmail -q
=>> 
=>> I tried all the variations I could e.g.,
=>> 
=>> su -lc steveo fetchmail -q
=>> su -l steveo -c fetchmail -q
=>> 
=>> It just doesn't like the syntax. Anyone know how to do this?
=>> 
=>> TIA
=>> 
=>Try su -c "fetchmail -q" -l steveo



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Bash scripting question

2000-11-11 Thread Steven W. Orr

I'd like something like this also. Please let me know if you find
anything. 

Thanks.

-- 
-Time flies like the wind. Fruit flies like a banana. Stranger things have -
-happened but none stranger than this. Does your driver's license say Organ
-Donor?Black holes are where God divided by zero. Listen to me! We are all-
-individuals! What if this weren't a hypothetical question? [EMAIL PROTECTED]


On Sat, 11 Nov 2000 [EMAIL PROTECTED] wrote:

=>I neet to email a bunch of photos eack week to someone. Is there a way to
=>make a shell script that will look into a particular directory and email
=>every *.jpg file it finds there as an attachment?



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Stoopid su question.

2000-11-11 Thread Steven W. Orr

Almost clever :-)
Except that sudo provides no mechaism for execution of the user's login
environment.

Is this not possible to do with su?

-- 
-Time flies like the wind. Fruit flies like a banana. Stranger things have -
-happened but none stranger than this. Does your driver's license say Organ
-Donor?Black holes are where God divided by zero. Listen to me! We are all-
-individuals! What if this weren't a hypothetical question? [EMAIL PROTECTED]


On Sat, 11 Nov 2000, Chuck Mead wrote:

=>use sudo
=>
=>On Sat, 11 Nov 2000, Steven W. Orr spewed into the bitstream:
=>
=>SWO>I need to run a command from su which takes an option. Specifically:
=>SWO>
=>SWO>su - steveo fetchmail -q
=>SWO>
=>SWO>I tried all the variations I could e.g.,
=>SWO>
=>SWO>su -lc steveo fetchmail -q
=>SWO>su -l steveo -c fetchmail -q
=>SWO>
=>SWO>It just doesn't like the syntax. Anyone know how to do this?
=>SWO>
=>SWO>TIA



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Stoopid su question.

2000-11-11 Thread Steven W. Orr

I need to run a command from su which takes an option. Specifically:

su - steveo fetchmail -q

I tried all the variations I could e.g.,

su -lc steveo fetchmail -q
su -l steveo -c fetchmail -q

It just doesn't like the syntax. Anyone know how to do this?

TIA

-- 
-Time flies like the wind. Fruit flies like a banana. Stranger things have -
-happened but none stranger than this. Does your driver's license say Organ
-Donor?Black holes are where God divided by zero. Listen to me! We are all-
-individuals! What if this weren't a hypothetical question? [EMAIL PROTECTED]




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: how to get rpm file information without having to install

2000-11-07 Thread Steven W. Orr

rpm -qpli 

-- 
-Time flies like the wind. Fruit flies like a banana. Stranger things have -
-happened but none stranger than this. Does your driver's license say Organ
-Donor?Black holes are where God divided by zero. Listen to me! We are all-
-individuals! What if this weren't a hypothetical question? [EMAIL PROTECTED]


On Tue, 7 Nov 2000, Ed Lazor wrote:

=>I have the file apache-1.3.14-3.i386.rpm and I'd like to see what files are 
=>contained in the rpm and read any info that might be available.  I know I 
=>can access this information after I install the rpm.  Is there a way to do 
=>that without having to do the install?
=>
=>Thanks =)
=>
=>-Ed
=>
=>ps... anyone know if apache-1.3.14-3.i386.rpm comes pre-configured with this?
=>
=>./configure --prefix=/opt/apache --enable-shared=max



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: How is rpm upgraded

2000-11-03 Thread Steven W. Orr

Just install it and then run 

rpm --rebuilddb 

to convert your existing rpm databse to the new format.

-- 
-Time flies like the wind. Fruit flies like a banana. Stranger things have -
-happened but none stranger than this. Does your driver's license say Organ
-Donor?Black holes are where God divided by zero. Listen to me! We are all-
-individuals! What if this weren't a hypothetical question? [EMAIL PROTECTED]


On Fri, 3 Nov 2000, Ragnar Wiencke wrote:

=>Hi guys.
=>I'm running RH 6.1 and would like to upgrade the rpm 3.0 to rpm 4.0. Can 
=>anyone tell me how to do it or tell me where I can find some Documentation 
=>on that?
=>
=>Anything is appreciated.
=>Ragnar W.



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Problems with xntpd.

2000-10-27 Thread Steven W. Orr

I need some help trying to figure out why ntp is dying in me. Here's the
symptom:

Oct 25 15:51:36 syslang ntpd: ntpd startup succeeded
Oct 25 15:51:36 syslang ntpd[11148]: ntpd 4.0.99j Wed Aug 23 13:11:23 EDT 
2000 (1)
Oct 25 15:51:37 syslang ntpd[11148]: precision = 17 usec
Oct 25 15:51:37 syslang ntpd[11148]: using kernel phase-lock loop 0041
Oct 25 15:51:37 syslang ntpd[11148]: frequency initialized 46.433 from
/etc/ntp/drift
Oct 25 15:51:37 syslang ntpd[11148]: using kernel phase-lock loop 0041
Oct 25 15:51:37 syslang ntpd[11148]: bind() fd 12, family 2, port 123,
addr 224.0.1.1, in_classd=1 flags=0 fails: Address already in use
Oct 25 15:51:37 syslang ntpd[11148]: ...multicast address 224.0.1.1 using
wildcard socket
Oct 25 15:56:25 syslang ntpd[11148]: time reset 1.228605 s
Oct 25 15:56:25 syslang ntpd[11148]: kernel pll status change 41
Oct 25 15:56:25 syslang ntpd[11148]: synchronisation lost

and here's my ntp.conf:

[root@syslang log]# cat /etc/ntp.conf 
#
# Undisciplined Local Clock. This is a fake driver intended for backup
# and when no outside source of synchronized time is available. The
# default stratum is usually 3, but in this case we elect to use stratum
# 0. Since the server line does not have the prefer keyword, this driver
# is never used for synchronization, unless no other other
# synchronization source is available. In case the local host is
# controlled by some external source, such as an external oscillator or
# another protocol, the prefer keyword would cause the local host to
# disregard all other synchronization sources, unless the kernel
# modifications are in use and declare an unsynchronized condition.
#
#server 127.127.1.0  # local clock
#server dominator.eecs.harvard.edu # 140.247.60.28
dominator.eecs.harvard.edu
#server ntp0.cornell.edu  # 192.35.82.50# ntp0.cornell.edu
server ticktock.wang.com  # 150.124.136.4   #
ticktock.wang.com
server timex.cs.columbia.edu  # 128.59.16.20#
timex.cs.columbia.edu
server tock.cs.unlv.edu   # 131.216.18.4# tock.cs.unlv.edu
server timeserver.cs.umb.edu  # 158.121.104.4
fudge   127.127.1.0 stratum 10

#
# Drift file.  Put this in a directory which the daemon can write to.
# No symbolic links allowed, either, since the daemon updates the file
# by creating a temporary in the same directory and then rename()'ing
# it to the file.
#
driftfile /etc/ntp/drift
multicastclient # listen on default 224.0.1.1
broadcastdelay  0.008

#
# Authentication delay.  If you use, or plan to use someday, the
# authentication facility you should make the programs in the auth_stuff
# directory and figure out what this number should be on your machine.
#
authenticate no

#
# Keys file.  If you want to diddle your server at run time, make a
# keys file (mode 600 for sure) and define the key number to be
# used for making requests.
# PLEASE DO NOT USE THE DEFAULT VALUES HERE. Pick your own, or remote
# systems might be able to reset your clock at will.
#
#keys   /etc/ntp/keys
#trustedkey 65535
#requestkey 65535
#controlkey 65535

I really have no clue what's wrong. Can someone help? I just took the
ntp.conf that came with Red Hat and added a coupld of servers that I
thought were geographically close to me.

Thanks in advance.

-- 
-Time flies like the wind. Fruit flies like a banana. Stranger things have -
-happened but none stranger than this. Does your driver's license say Organ
-Donor?Black holes are where God divided by zero. Listen to me! We are all-
-individuals! What if this weren't a hypothetical question? [EMAIL PROTECTED]





___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: pump vs dhcpcd - pump is busted on 7.0

2000-10-19 Thread Steven W. Orr

There is a third alternative: dhcp-client. It's highly configurable and
I'd like to hear people's experience with it, but I have not yet had the
opportunity to try it out. My circumstances are such that it is highly
non-trivial for me to try it.

Bur it's there to be tried :-)

-- 
-Time flies like the wind. Fruit flies like a banana. Stranger things have -
-happened but none stranger than this. Does your driver's license say Organ
-Donor?Black holes are where God divided by zero. Listen to me! We are all-
-individuals! What if this weren't a hypothetical question? [EMAIL PROTECTED]


On Wed, 18 Oct 2000, John Aldrich wrote:

=>On Wed, 18 Oct 2000, Hal Burgiss wrote:
=>> > Ain't linux wonderful? You've got your choice of clients for this.
=>> > If one works, fine... use it. If it doesn't, use the alternative.
=>> >:-) 
=>> 
=>> I was just thinking the same thing! If this was a windoze list, we
=>> wouldn't even be having this conversation. We would have bigger fish
=>> to fry probably.
=>> 
=>Yeah...too bad we don't have MORE choices... because
=>there's BOUND to be a situation SOMEHWERE where neither of
=>the two choices is acceptable. :-/
=>  John



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: pump vs dhcpcd

2000-10-18 Thread Steven W. Orr

1052 > rpm -q pump
pump-0.8.3-2
1053 > rpm -q dhcpcd
dhcpcd-1.3.18pl8-6
1054 > rpm -qf /sbin/ifup
initscripts-5.49-1
*1055 > rpm -qf /sbin/ifdown
initscripts-5.49-1
1056 > 

I'm running RH 7.0 upgraded from 6.2. Does this help?

-- 
-Time flies like the wind. Fruit flies like a banana. Stranger things have -
-happened but none stranger than this. Does your driver's license say Organ
-Donor?Black holes are where God divided by zero. Listen to me! We are all-
-individuals! What if this weren't a hypothetical question? [EMAIL PROTECTED]


On Tue, 17 Oct 2000, Michael H. Warfield wrote:

=>Cokey de Percin <[EMAIL PROTECTED]>
=>Reply-To: [EMAIL PROTECTED]
=>
=>Steve,
=>
=>  Look...  Give us some credit...  I have asked this before.
=>Will you PLEASE tell use what revs and what distributions you are
=>using so we can tell WTF you are talking about  Almost everything
=>you have posted is version dependent and I can't tell from what you've
=>posted!
=>
=>On Mon, Oct 16, 2000 at 02:28:54PM -0400, Steven W. Orr wrote:
=>> Don't know if you're asking me or not, but here's the relevent line from
=>> ifdown:
=>
=>> #   [ -n "`pidof -x dhcpcd`" ] && dhcpcd -k ${DEVICE}
=>> if [ -n "`pidof -x dhcpcd`" ]
=>> then
=>>ps aux | grep /sbin/dhcpcd | grep -v grep | awk '{print $2}' |
=>> xargs kill -TERM
=>> fi
=>
=>  Well this is NOT in my version of ifdown.  What versions are you
=>running from so we can compare apples and apples instead of apples and
=>oranges.  It may even be dependent on what you have installed, I haven't
=>looked at it this close, by we are no where near THAT level.
=>
=>  For the record...  My gateway is running a heavily (and fully)
=>updated version of RedHat 6.1 with many 6.2 workstations behind it.
=>
=>> And for ifup:
=>
=>>PUMPARGS='-d -R'
=>
=>> and also:
=>
=>> #if /sbin/pump ${PUMPARGS} -i ${DEVICE} ; then
=>> #   echo " done."
=>> #elif /sbin/dhcpcd ${DHCPCDARGS} ${DEVICE} ; then
=>> #   echo " done."
=>> if /sbin/dhcpcd ${DHCPCDARGS} ${DEVICE} ; then
=>> echo " done."
=>
=>  Also does not match my version.  We have to know the versions.
=>RedHat keeps changing these things.  We have to know what you have.
=>
=>> -- 
=>> -Time flies like the wind. Fruit flies like a banana. Stranger things have -
=>> -happened but none stranger than this. Does your driver's license say Organ
=>> -Donor?Black holes are where God divided by zero. Listen to me! We are all-
=>> -individuals! What if this weren't a hypothetical question? [EMAIL PROTECTED]
=>> 
=>> 
=>> On Mon, 16 Oct 2000, Cokey de Percin wrote:
=>> 
=>> =>Would it be possible for you to share those scripts?  I'm just getting 
=>> =>starting with VPN over cable here at home and was looking at automating 
=>> =>some of that, but if you've already hammered it into submission, I'd 
=>> =>greatly appreciate seeing them.
=>> =>
=>> =>Best
=>> =>
=>> =>Cokey 
=>
=>  Mike
=>



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: pump vs dhcpcd

2000-10-16 Thread Steven W. Orr

Don't know if you're asking me or not, but here's the relevent line from
ifdown:

#   [ -n "`pidof -x dhcpcd`" ] && dhcpcd -k ${DEVICE}
if [ -n "`pidof -x dhcpcd`" ]
then
   ps aux | grep /sbin/dhcpcd | grep -v grep | awk '{print $2}' |
xargs kill -TERM
fi

And for ifup:

   PUMPARGS='-d -R'

and also:

#if /sbin/pump ${PUMPARGS} -i ${DEVICE} ; then
#   echo " done."
#elif /sbin/dhcpcd ${DHCPCDARGS} ${DEVICE} ; then
#   echo " done."
if /sbin/dhcpcd ${DHCPCDARGS} ${DEVICE} ; then
echo " done."


-- 
-Time flies like the wind. Fruit flies like a banana. Stranger things have -
-happened but none stranger than this. Does your driver's license say Organ
-Donor?Black holes are where God divided by zero. Listen to me! We are all-
-individuals! What if this weren't a hypothetical question? [EMAIL PROTECTED]


On Mon, 16 Oct 2000, Cokey de Percin wrote:

=>Would it be possible for you to share those scripts?  I'm just getting 
=>starting with VPN over cable here at home and was looking at automating 
=>some of that, but if you've already hammered it into submission, I'd 
=>greatly appreciate seeing them.
=>
=>Best
=>
=>Cokey 



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: pump vs dhcpcd

2000-10-15 Thread Steven W. Orr

I've said it before and I'll say it again. If you have a cable modem do
not use pump. Use dhcpcd. If you are using pump and there is no problem,
it is because you have an extraordinarily long lease time (maybe -1).

I'm on RCN and pump is a disaster. It is not capable of starting a new
lease in the event of the old lease failing to renew. It will abort.

The change to be made to convert over to dhcpcd is in /sbin/ifup.

I am not aware of anything to indicate that this so-called non-busted pump
is capable of starting a new lease if the old one fails to renew.

-- 
-Time flies like the wind. Fruit flies like a banana. Stranger things have -
-happened but none stranger than this. Does your driver's license say Organ
-Donor?Black holes are where God divided by zero. Listen to me! We are all-
-individuals! What if this weren't a hypothetical question? [EMAIL PROTECTED]


On Sat, 14 Oct 2000, Michael H. Warfield wrote:

=>On Sat, Oct 14, 2000 at 09:50:33PM -0400, Charles Galpin wrote:
=>> On a rh6.2 system I use pump-0.7.8-1 with a dsl/dynamic ip connection, and
=>> this sort of thing works for me. You probably need to specify the
=>> interface - 'pump -i eth0 -s'
=>
=>> Mike, Hal is right.  If you use the ability to run a script when the
=>> interface goes up or down, or the lease renews you could dump this info to
=>> a file yourself. If it's the format you don't like, send me an example of
=>> the format you would like to see, and I'll make a script to generate that
=>> for you if you'd like. It sounds useful, although I have found that just
=>> the IP is all I need (which is already provided by pump with having to do 
=>> any scripting)
=>
=>  Trust me on this one...  You would probably have a tough time
=>out scripting me (in any one of SEVERAL languages and shells).  :-)
=>
=>  On that note, however...  What advantages does pump (the current
=>non-BUSTED one, assuming it's stable) have over dhcpcd?  It would SEEM
=>to do very little (the scripting capability is actually a little better
=>with the qualifications) that dhcpcd does not do.  Why bother writing
=>a script when a program already exists which does the job for you in a
=>neat canned AND STABLE configuration?  Pump has changed a lot over the
=>last few revs.  I'm not sure I trust it.  Dhcpcd has been pretty stable.
=>There is only one thing that is giving me troubles, and it's a problem
=>with both...  I need a way to prohibit them from replacing my default
=>route.  Maybe the dhcpclient from the ISC dhcp package will do that for
=>me as well...  I'm still looking into a lot of things.  ;-/
=>
=>> charles
=>> 
=>> On Sat, 14 Oct 2000, Hal Burgiss wrote:
=>> 
=>> > On Sat, Oct 14, 2000 at 07:03:08PM -0400, Michael H. Warfield wrote:
=>> > > 
=>> > > Note...  Right now, dhcpcd still seems to have one feature that
=>> > > I seriously need and pump doesn't seem to have.  It dumps all its lease
=>> > > information into a known file (/etc/dhcpc/dhcpcd-${IFACE}.info) which
=>> > > can be parsed by other scripts and compared with previous values.  It's
=>> > > even in a convention form that can be "sourced" from a script to set
=>> > > environment variables.  If the newer versions of pump support something
=>> > > similar, I haven't found it yet.
=>> > 
=>> > You could conceivably set a script in pump.conf which does a 
=>> > pump -s >> $FILE:
=>> > 
=>> > Device eth0
=>> > IP: 216.78.197.8
=>> > Netmask: 255.255.252.0
=>> > Broadcast: 216.78.199.255
=>> > Network: 216.78.196.0
=>> > Boot server 205.152.133.254
=>> > Next server 0.0.0.0
=>> > Gateway: 216.78.196.1
=>> > Boot file: 005004a87713
=>> > Domain: sdf.bellsouth.net
=>> > Nameservers: 205.152.133.254 205.152.0.5
=>> > Renewal time: Sun Oct 15 05:42:22 2000
=>> > Expiration time: Sun Oct 15 07:12:22 2000
=>> > 
=>> > Is that close? Just trying this with a forced renewal (pump -R), and
=>> > the script does not get run at all :(
=>> > 
=>> > -- 
=>> > Hal B
=>> >  [EMAIL PROTECTED]
=>> >  [EMAIL PROTECTED]
=>> >  [EMAIL PROTECTED]
=>
=>  Mike
=>



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Simple Shell Scripting Question

2000-10-14 Thread Steven W. Orr

Someone suggested that you use killall, but I don't think that really
answers your question.

-- 
-Time flies like the wind. Fruit flies like a banana. Stranger things have -
-happened but none stranger than this. Does your driver's license say Organ
-Donor?Black holes are where God divided by zero. Listen to me! We are all-
-individuals! What if this weren't a hypothetical question? [EMAIL PROTECTED]


On Sat, 14 Oct 2000, Kevin Diffily wrote:

=>I have been unable to create a simple program that will kill a 
=>running ppp connection.  I have tried
=>cat /var/run/ppp0|kill
kill doesn't read from stdin. Use
xargs kill < /var/run/ppp0 # if that indeed contains a pid.

BTW, cat fn | prog is very commonly used when you can simply say prog < fn
and eliminate an unneccesary pipe.

=>echo  /var/run/ppp0|kill
Same problem. Kill doesn't read stdin. i think what you might have meant
here is:
echo `cat /var/run/pppo` | xargs kill

=>killetc.
=>
=>Any help will be appreciated.

The real point I'm trying to make is the value of the xargs command. It
reads from stdin and takes what it read to form the arguments of the
command which it will them execute. Very useful once you get the hang of
it.



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



XFree86-4:Could not init font path element

2000-10-13 Thread Steven W. Orr

I just upgraded to X-4 from RH-7.0 My netscape fonts look ugly as sin and
I think it's because of the messages I get at X startup:

Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing
from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/,
removing from list!

Anyone know what I should do to fix this?

-- 
-Time flies like the wind. Fruit flies like a banana. Stranger things have -
-happened but none stranger than this. Does your driver's license say Organ
-Donor?Black holes are where God divided by zero. Listen to me! We are all-
-individuals! What if this weren't a hypothetical question? [EMAIL PROTECTED]





___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: pump vs dhcpcd

2000-10-12 Thread Steven W. Orr

Your isp is probably always renewing your lease. If they ever actually
expire your lease and not renew, then pump will simply abort.

-- 
-Time flies like the wind. Fruit flies like a banana. Stranger things have -
-happened but none stranger than this. Does your driver's license say Organ
-Donor?Black holes are where God divided by zero. Listen to me! We are all-
-individuals! What if this weren't a hypothetical question? [EMAIL PROTECTED]


On Thu, 12 Oct 2000, Hal Burgiss wrote:

=>On Wed, Oct 11, 2000 at 11:19:38PM -0400, Steven W. Orr wrote:
=>> There is a lot of misinformation floating around here. I just want to try
=>> and clear it up.
=>> 
=>> pump should not be used for a cablemodem or a DSL connection. The reason
=>> is that pump will exit when the lease expires because pump does not know
=>> how to negotiate for a new lease. i.e., pump only knows how to renew an
=>> existing lease.
=>
=>Well, I've used pump 24/7 for 14 months now, and not seen this. Maybe my
=>ISP is smart enough to keep the DHCP servers alive, dunno. And I get a
=>short, 12 hr lease. 
=>
=>



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: pump vs dhcpcd

2000-10-11 Thread Steven W. Orr

There is a lot of misinformation floating around here. I just want to try
and clear it up.

pump should not be used for a cablemodem or a DSL connection. The reason
is that pump will exit when the lease expires because pump does not know
how to negotiate for a new lease. i.e., pump only knows how to renew an
existing lease.

The reason you get consistent ip addresses based on the two different
clients is because they are saving their old addresses and trying to
request the same address at startup.

One final comment: I have heard that dhcp-client is even better than
dhcpcd because it is much more configurabler :-) Can someone tell me if
that is true?

-- 
-Time flies like the wind. Fruit flies like a banana. Stranger things have -
-happened but none stranger than this. Does your driver's license say Organ
-Donor?Black holes are where God divided by zero. Listen to me! We are all-
-individuals! What if this weren't a hypothetical question? [EMAIL PROTECTED]


On Tue, 10 Oct 2000, James C. Bevier wrote:

=>Hello all,
=>
=>I just started using a cable modem that requires me to use
=>DHCP to get an ip address.  I started with the basic pump
=>that is installed on RH 6.2 and is started from ifup.  It
=>receives an address of xxx.xxx.68.118.  I read on the list
=>that dhcpcd was better, so I made the changes to ifup and
=>ifdown to start dhcpcd instead.  Dhcpcd gets an address of
=>xxx.xxx.68.117.  How can this be?  Can someone explain this?
=>Pump always gets the .118 and dhcpcd always gets .117 if I
=>switch back and forth.
=>
=>The second problem is that if I restart the network or the
=>eth0 interface, I get an address of 10.x.x.x and nothing
=>works.  I must shutdown my system/cable modem (3Com 3CR29220)
=>and restart.  Any ideas here?  I think this is the address
=>for the modem and not me.



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Very Basic shell logic question

2000-10-11 Thread Steven W. Orr

No. Use dd to access devices. dd will automatically pick up the native
blocking factor for the device. On;y use blocking factors if you know what
you're doing.

-- 
-Time flies like the wind. Fruit flies like a banana. Stranger things have -
-happened but none stranger than this. Does your driver's license say Organ
-Donor?Black holes are where God divided by zero. Listen to me! We are all-
-individuals! What if this weren't a hypothetical question? [EMAIL PROTECTED]


On Wed, 11 Oct 2000, rpjday wrote:

=>On Wed, 11 Oct 2000, Cameron Simpson wrote:
=>
=>> On Tue, Oct 10, 2000 at 01:45:51PM -0400, rpjday wrote:
=>> | dd if=/dev/hda | gzip > test.gz
=>> | 
=>> | rday
=>> | 
=>> | p.s.  dd if=/dev/hda bs=96k | gzip > test.gz  for efficiency
=>> 
=>> Though of course that still wastes time chucking data through the pipe
=>> between two programs. This:
=>> 
=>> gzip test.gz
=>> 
=>> should win. (Where'd the 96k come from - is it just an arbirary big chunk or
=>> do you have something specific in mind?)
=>
=>i see your first point -- is there any slowdown based on lack of blocking?
=>and the 96k is a throwback when i used to make images of floppies --
=>exactly 15 of them in a 1.44M image.  obviously, any suitably large value
=>will do.



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: BSD & SysV

2000-10-03 Thread Steven W. Orr

Umm, One other major difference. SYSV uses STREAMS. Yeah, all that other
stuff is cosmetic. BSD was the first to implement IP in the kernel (as
well as ethernet). SYSV came up with STREAMS as the way to not be trapped
into IP.

-- 
-Time flies like the wind. Fruit flies like a banana. Stranger things have -
-happened but none stranger than this. Does your driver's license say Organ
-Donor?Black holes are where God divided by zero. Listen to me! We are all-
-individuals! What if this weren't a hypothetical question? [EMAIL PROTECTED]


On Tue, 3 Oct 2000, Selim Jahangir wrote:

=>charset="iso-8859-1"
=>Reply-To: [EMAIL PROTECTED]
=>
=>Dear sir
=>Thank u so much for very good explanation of BSD & SysV . I am really very
=>much happy with write up. It is really a great write up.
=>
=>Thank u very very much.
=>Selim
=>
=>
=>- Original Message -
=>From: "Michael R. Jinks" <[EMAIL PROTECTED]>
=>To: <[EMAIL PROTECTED]>
=>Sent: Tuesday, October 03, 2000 1:06 AM
=>Subject: Re: BSD & SysV
=>
=>
=>> On Sat, Sep 30, 2000 at 01:39:15PM +0600, Selim Jahangir wrote:
=>>
=>> > what is the fundamental diff between BSD and SysV unix ?
=>>
=>> I'm not really qualified to answer this but it looked as though nobody
=>else
=>> has mailed the list about it so I'll have a go.
=>>
=>> The _fundamental_ difference is historical.  For a long time during the
=>70's
=>> and 80's AT&T allowed third parties to write their own versions of Unix,
=>and
=>> one version that caught on was written at the University of California at
=>> Berkeley, hence "BSD" for Berkeley Software Distribution.  System V was
=>the
=>> last in-house AT&T version (which actually incorporated a lot of features
=>of
=>> BSD Unix and previous AT&T-derived versions).
=>>
=>> Both BSD and AT&T/System V Unix spawned a lot of offshoots, and inspired
=>> a lot of imitation in Unix-like OS's which weren't direct offshoots.
=>Sun's
=>> "SunOS" was a BSD offshoot up through the 4.0 series, but at 5.0 they
=>rewrote
=>> it extensively, incorporated a lot of "SysV'isms", and started calling it
=>> "Solaris".  They still make a lot of the BSD-style commands available
=>under
=>> their /usr/ucb directory (ucb == "University of California, Berkeley").
=>>
=>> AIX is a completely independent, from-scratch rewrite of a Unix-like OS,
=>but
=>> it usually gets classed in the System V family because it has more in
=>common
=>> with SysV than with BSD.
=>>
=>> IRIX has some AT&T code in it, but also exhibits some BSD-style behaviors
=>> (though I'd be hard pressed to come up with examples off the top of my
=>head).
=>>
=>> Linux tries to be a sensible hybrid of both systems, to the delight of
=>some
=>> and the frustration of others, but the real lesson I get from it is that
=>the
=>> BSD/SysV distinction is really only useful in a historical context; as
=>Linux
=>> demonstrates, you can mix and match where appropriate.
=>>
=>> The most obvious differences in style have to do with the way each system
=>> handles initialization and service control during runtime.  Under BSD,
=>there
=>> are a few files under /etc which list the services to run at boot time,
=>and
=>> that's about it; there is no such notion as a "runlevel", although I think
=>> that BSD does have a "single user" mode for system maintenance.
=>>
=>> Under System V, things get a little more complex (and, in my opinion, more
=>> elegant).  Most of the system services have their own script
=>(traditionally
=>> stored in /etc/init.d/ or in RedHat under /etc/rc.d/init.d/) which
=>controls
=>> how that service is started and stopped.  SysV also has the notion of
=>> runlevels, different system states which are defined by the list of
=>services
=>> that the system runs in each given state.  The precise behavior of each
=>> runlevel varies a lot among systems, and can be extensively customized by
=>> the system administrator.  (man init for the details on how it all works.)
=>>
=>> There are a lot of differences deeper down as well, but the distinction
=>starts
=>> to get a little blurry.  Most SysV-style systems use Berkeley-style
=>network
=>> sockets, for example.  Printing could be SysV or BSD or both.  And many
=>common
=>> commands will have different behaviors; an obvious example is the "ps"
=>command.
=>> Historically "ps" took different arguments and displayed completely
=>different
=>> behavior under BSD vs. SysV, and each camp thought their ps was the
=>superior
=>> implementation.  Modern Red Hat systems come with a ps that merges the
=>two:
=>> run "ps -[options]" and you get SysV behavior; run "ps [options]" (no
=>dash) and
=>> you get BSD behavior.  Again, the manpage explains the details.
=>>
=>> Well I had to leave this for a couple of hours, and by now somebody has
=>> probably handled this better so I'll stop.  Hope this helps somehow.
=>>
=>> -m
=>>
=>> --
=>> Michael Jinks, IB
=>> Systems Administrator, CCCP
=>> finger [EMAIL PROTECTED] for public key
=>> Vote Duke! http://www.entertaindom.com/page

Re: Cable Modem DHCP & RH 6.1 Problems

2000-09-24 Thread Steven W. Orr

If you have a cable modem, do *not* use pump. Use dhcpcd or
dhcp-client. Pump is the wrong thing to use. When a lease expires, pump
just aborts. It will not renegotiate a new lease for you. The result is
that your ip address will change every few days when you have to erstart
pump.

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-


On Sat, 23 Sep 2000, Hal Burgiss wrote:

=>On Sat, Sep 23, 2000 at 02:23:07PM -0400, Jason Oppel wrote:
=>> I am currently having problems getting my RH 6.1 box to connect to my cable
=>> internet service (Road Runner [Greensboro, NC]).  Supposedly vanilla DHCP
=>> should work ok but I'm having problems.
=>> 
=>> Here's what happens... I try to grab an IP using pump with:
=>> pump -i eth0
=>> shell spits out "Operation Failed."
=>> ifconfig reveals after this that eth0 is not up (of course).
=>
=>Do you have an assigned hostname? If so you need to pass that:
=>
=> pump -h $HOSTNAME
=> 
=>
=>



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: rc? [Was: Booting sequence in Linux]

2000-09-20 Thread Steven W. Orr

A bit of Unix lore buried in antiquity. Until now. The acronym rc stands
for (drum roll please):

Run Command

And somehow, this got tuned into a suffix for almost everything.


1010 > ls -1 .*rc
.Xmodmaprc
.acrorc
.backup.bashrc
.bashrc
.bk2siterc
.colorgccrc
.colorsrc
.displayrc
.enveloperc
.exrc
.fetchmailrc
.fvwm2rc
.gopherrc
.imwheelrc
.inputrc
.kderc
.lyxrc
.missilecommandrc
.mykermrc
.netrc
.newsrc
.oldnewsrc
.pinerc
.procmailrc
.screenrc
.sversionrc
.vimrc
.wmrc
.xfigrc
.xinitrc
.xradiorc

:-)

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-


On -1 xxx -1, it was written:

=>
=>
=>
=>Nice explanation.
=>
=>Can you tell us what 'rc' and 'rc.d' stands for?
=>
=>Or anyone else? Juha?
=>
=>Regards
=>Gustav
=>
=>Michael Butler/CanEast/IBM wrote:
=>> I'll try to explain. After you turn your system on a number of things
=>> occur:
=>
=>> the scripts in /etc/rc.d/rc3.d
=>



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Fixing vi mode in bash

2000-09-19 Thread Steven W. Orr

I'd just like to add that this same issue cost me a few hours years
ago. In my case I didn't want vi mode, but the damned meta key was
broke. The INPUTRC supplied by RH is crap. It specifically disables
the Meta key.

Just so everyone can see what a proper ~/.inputrc looks like:

set horizontal-scroll-mode On
set mark-modified-lines On
set meta-flag On
set input-meta on
set output-meta Off
set convert-meta On
#$if Bash
# edit the path
"\C-xp": "PATH=${PATH}\e\C-e\C-a\ef\C-f"
# prepare to type a quoted word -- insert open and close double quotes
# and move to just after the open quote
"\C-x\"": "\"\"\C-b"
# Quote the current or previous word
"\C-xq": "\eb\"\ef\""
#$endif
"\e[H": "\C-a"
"\e[F": "\C-e"


-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-


On Tue, 19 Sep 2000, Steve Borho wrote:

=>I finally got motivated to make this work this evening...
=>
=>add to .bashrc:
=>if [ -f ~/.inputrc ]
=>then
=>  unset INPUTRC
=>  . ~/.inputrc
=>fi
=>
=>then:
=>echo "set editing-mode vi" > ~/.inputrc 
=>
=>You can probably do okay without putting the 'set' command in the
=>separate file, but you definitely need the unset INPUTRC command.



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Two ethernets in same box question

2000-09-06 Thread Steven W. Orr

You're at the mercy of the BIOS. OTOH, why do you care?

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-


On Tue, 5 Sep 2000, Vidiot wrote:

=>I currently have one LinkSys (Tulip) card in the box and will soon
=>add a second in order to talk to the in-house LAN.
=>
=>When I install the second card, is there anything that can be done beforehand
=>to make sure the current card stays eth0 and the new card becomes eth1?
=>
=>Or am I at the mercy of the BIOS?
=>
=>Thanks.
=>
=>MB
=>



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: which RPM has as86 file?

2000-09-04 Thread Steven W. Orr

[root@syslang log]# which as86
/usr/bin/as86
[root@syslang log]# rpm -qf /usr/bin/as86
dev86-0.15.0-2
[root@syslang log]# 

So much for feeding you for the day. Now you can learn how to feed
yourself.

Insert your cd into the drive and mount it.
cd /mnt/cdrom/RPMS
for i in *.rpm
do
echo $i
rpm -qpl $i | grep as86
done | less

And please disable those damned vcards.

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-


On Mon, 4 Sep 2000, Vikas wrote:

=>Reply-To: [EMAIL PROTECTED]
=>
=>I am trieng to compile the kernel and it gets stuck the make stopps at
=>the location
=>"as86 not found." I though it might be same as 'as' so I created a
=>symling but *fail*.
=>So which RPM file can I find this 'as86' file...
=>
=>Thank you,
=>Vikas



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Pine: Set correct reply-to address?

2000-09-03 Thread Steven W. Orr

Main menu -> Setup -> Config Then at the top there is an option to set
what domain you are in.

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-


On Mon, 4 Sep 2000, Peter Kiem wrote:

=>charset="iso-8859-1"
=>Reply-To: [EMAIL PROTECTED]
=>
=>Hi all,
=>
=>I have a mail user with a login of vh13501 on my mail server
=>raistlin.zordah.net
=>
=>Now when she sends an email it comes from [EMAIL PROTECTED]
=>
=>How can she setup pine to send using her real email address of
=>[EMAIL PROTECTED]?
=>
=>Regards,



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Scripting scp

2000-09-02 Thread Steven W. Orr

Sorry. I didn't understand. You could install something like
perl-Expect.pm-1.07-2

Does this help?

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-


On Sat, 2 Sep 2000, Gene Wilburn wrote:

=>On Fri, 1 Sep 2000, Steven W. Orr wrote:
=>
=>> You need to write your script to run scp in the expect scripting
=>> language. Expect is an extention of tcl. Easy to use and easy learn. Your
=>> problem is that the request for the password is not supposed to come from
=>> stdin; it's supposed to come from /dev/console. Expect starts child
=>> processes which have an attached pair of psuedo terminals whih it has full
=>> control over.
=>
=>As I wrote in the original message, I'm already writing out the scp
=>portion of my Perl script as an expect script and executing that from
=>within Perl. I'd rather do the whole process within Perl itself since the
=>majority of the script does a lot Perlish-oriented admin work that I
=>wouldn't enjoy re-writing in tcl. Ideally I'd like to hear of a way to
=>feed the password to scp via Perl.
=>
=>Has anyone been able to automate an scp script, including feeding it a
=>password, using Perl or Bash?
=>
=>Gene



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Scripting scp

2000-09-01 Thread Steven W. Orr

You need to write your script to run scp in the expect scripting
language. Expect is an extention of tcl. Easy to use and easy learn. Your
problem is that the request for the password is not supposed to come from
stdin; it's supposed to come from /dev/console. Expect starts child
processes which have an attached pair of psuedo terminals whih it has full
control over.

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-


On Fri, 1 Sep 2000, Gene Wilburn wrote:

=>I'm trying to replace an existing Perl script that does auto-FTP with scp
=>(ssh1) instead. The script fetches log files from our ISP and we would
=>like to close the FTP port entirely.
=>
=>The problem I'm having is the absence of a password option to feed
=>scp. I've got past this by having Perl write an Expect script then execute
=>that, but it seems a daft way to go... (I need the Perl script to do a
=>bunch of date and file renaming things).
=>
=>Is there a better option?
=>
=>Thanks,
=>
=>Gene



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: DSL and DHCP

2000-08-30 Thread Steven W. Orr

You need to modify the /sbin/ifup script. Here's my context diff.

[root@syslang /sbin]# diff -c ifup*
*** ifupSun Aug 27 15:00:20 2000
--- ifup.savSun Aug 27 09:53:53 2000
***
*** 52,58 
  fi
  
  if [ "$BOOTPROTO" = bootp -o "$BOOTPROTO" = dhcp ]; then
! DHCPCD=true
  fi
  
  OTHERSCRIPT="/etc/sysconfig/network-scripts/ifup-${DEVICETYPE}"
--- 52,58 
  fi
  
  if [ "$BOOTPROTO" = bootp -o "$BOOTPROTO" = dhcp ]; then
! PUMP=true
  fi
  
  OTHERSCRIPT="/etc/sysconfig/network-scripts/ifup-${DEVICETYPE}"
***
*** 83,95 
 ifconfig ${DEVICE} hw ether ${MACADDR}
  fi
  
! if [ -n "$DHCPCD" ]; then
! DHCPCDARGS='-d -R'
  if [ -n "$DHCP_HOSTNAME" ]; then
!DHCPCDARGS="-h $DHCP_HOSTNAME"
  fi
  echo -n "Determining IP information for $DEVICE..."
! if /sbin/dhcpcd $DHCPCDARGS $DEVICE ; then
echo " done."
  else
echo " failed."
--- 83,95 
 ifconfig ${DEVICE} hw ether ${MACADDR}
  fi
  
! if [ -n "$PUMP" ]; then
! PUMPARGS=
  if [ -n "$DHCP_HOSTNAME" ]; then
!PUMPARGS="-h $DHCP_HOSTNAME"
  fi
  echo -n "Determining IP information for $DEVICE..."
! if /sbin/pump $PUMPARGS -i $DEVICE ; then
echo " done."
  else
    echo " failed."
[root@syslang /sbin]# 

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-


On Tue, 29 Aug 2000, Bret Hughes wrote:

=>"Steven W. Orr" wrote:
=>
=>> Tghis won't directly help you, but keep in mind that you shouldn't use
=>> pump. You should use dhcpcd instead. If you have your machine up 24/7 like
=>> I do then pump will simply abort after it fails to renew it's lease. I'm
=>> on RCN so I get renewed every 2 hours. Expiration happenes afetr about 5
=>> to 7 days. Using dhcpcd will start a new lease as needed.
=>>
=>> --
=>
=>What do you have to do to get dhcpcd to work in place of pump?
=>
=>Bret



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: DSL and DHCP

2000-08-29 Thread Steven W. Orr

Tghis won't directly help you, but keep in mind that you shouldn't use
pump. You should use dhcpcd instead. If you have your machine up 24/7 like
I do then pump will simply abort after it fails to renew it's lease. I'm
on RCN so I get renewed every 2 hours. Expiration happenes afetr about 5
to 7 days. Using dhcpcd will start a new lease as needed.

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-


On Tue, 29 Aug 2000, Bret Hughes wrote:

=>I am in the process of doing a Southwestern Bell DSL self
=>install.  I have the modem/bridge connected and solid lights
=>on the dsl and atm indicators.  According to the docs, I am
=>jammin'.. However when I try to bring up eth0 with dhcp
=>enabled it times out and the interface is dropped.  ifconfig
=>shows eth0 with no ipaddress during this time.  A ping
=>attempt shows trying to ping from 0.0.0.0.  I guess all this
=>makes sense.  The interface comes up fine here at the office
=>using the dhcpd that came with RedHat.
=>
=>Any ideas?  I have a call into tech support but I thought I
=>would try to get a jump on it.  Do I need anything else for
=>this to work?  We have dsl here at the office but it uses
=>static ipaddresses so the dhcp was not an issue.
=>
=>I find a lot of references to problems with pump but few
=>specifics.  What do I need to do to try a dhcp client rather
=>than pump?  /sbin/ifup calls pump directly  Do I have to
=>tweak ifup to get it to call dhcp instead?
=>
=>I assume that I cam manually start the interface using
=>ifconfig -i eth0 up. and then call pump but that does not
=>work either.  I can see the lights on the bridge flicker and
=>tcpdump reports 14 packets recieved but no output.  calling
=>tcpdump -i eth0 gives the error tht the interface is not up
=>even though ifconfig is doing the no ip address thing.  Is
=>there some other tool to sniff the interface so I can see
=>what is happening?
=>
=>Any help appreciated.
=>
=>Bret



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Questions about changing umask setting in /etc/profile

2000-08-21 Thread Steven W. Orr

Setting a umask to 006 is almost certainly not what you want. Not a knock,
but I just wanted to explain it so that the issue is clear.

Technically, yes you are correct that files are created with a mask of
666, unless the files are executable. In that case they would come out
with a mask of 777. So, if you set your umask to 006 and then you go to
link a file, then that file would have a mask of 771 (rwxrwx--x) which is
probably not what you want. This is why common values for each of the
digits of a umask are either 2 to prevent writing, or 7 to prevent all
access.

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-


On Sun, 20 Aug 2000, rpjday wrote:

=>On Sun, 20 Aug 2000, Gary Nielson wrote:
=>
=>> Hi,
=>> 
=>> I need to make a system-wide change so that every user when creating a
=>> file will have it set to rw-rw. So the umask setting would be 007. I
=>> understand that by changing the setting in /etc/profile, it will go into
=>> effect system wide for all current and new users. Is that right? Does this
=>> have the same effect as adding "umask 007" to each user's .bashrc file. Or
=>> if changing it for an individual user, should it be the .bash_profile
=>> file? Finally, when changing /etc/profile, I do not understand what the
=>> following means:
=>> 
=>> if [ `id -gn` = `id -un` -a `id -u` -gt 14 ]; then
=>> umask 002
=>> else
=>> umask 022
=>> fi
=>> 
=>> Since all files are now created on my system with a umask level of 002, I
=>> am *assuming* that I would make the change to 002 in the above if/else
=>> statement, but I am not sure what the above does, so I don't want to
=>> change it without first understanding it.
=>
=>1) setting a umask in /etc/profile doesn't prevent users from
=>  setting it to some other value in their own .bash_profile
=>
=>2) technically, files are created with a starting permission of
=>  rw-rw-rw-, or 666.  so your umask need only take out the final
=>  two permissions, as in "umask 006".



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Copying hidden files with cp

2000-07-07 Thread Steven W. Orr

Once again, I ned to remind people about how this works:

1. To copy all files which begin with a dot to some destination directory:

cp .* destdir

Note that .* will not discriminate between files and directories. Use at
your own discretion.

2. cp .[0-9a-zA-Z]* destdir

Note that this will not get all files that begin with a dot. It will only
get the files that begin with a dot that have a digit or a letter as a
second character.

3. If you wnt to copy all files which begin with a dot but whose second
   character is not a dot, you may use the following construct:

cp .[^.]* destdir

4. You are allowed to use more complex patterns using 

shopt extglob

These are disabled by default because the metacharacters used would
conflict with other bash functionality. See the bash man pages.

5. And finally how do we grab only files from the directory without
   grabbing directories?

find . -maxdepth 1 -type f -name .\* -print | cpio -pdvum destdir

The maxdepth says "Don't dive in, type says only give me files, and name
says only give me file that begin with a period.

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-

On Fri, 7 Jul 2000, rpjday wrote:

=>On Fri, 7 Jul 2000, Brian Wright wrote:
=>
=>> Hi, list!
=>> 
=>> Is there a quick and dirty way to copy all hidden files with cp?  I tried
=>> using cp .* but that also gets ..
=>> 
=>> I would do cp .a* .b* ... .z* but that would be a pain to type. :)
=>
=>cp .[!.]* 
=>cp .[^.]* 
=>
=>  both appear to work in bash, but they will also match any 
=>hidden directories.
=>
=>rday
=>
=>--
=>




-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.




Re: Stupid question about winmodems

2000-07-06 Thread Steven W. Orr

I know! Winabagels! They're wheels that only work on Winnebagos. :-)

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-

On -1 xxx -1, it was written:

=>
=>On Thu, 6 Jul 2000, John Aldrich wrote:
=>
=>> On Thu, 06 Jul 2000, Stephen King wrote:
=>> > Could someone define for me the difference between a winmodem and a
=>regular
=>> > modem?
=>> >
=>> WinModem is missing most of the hardware that makes a modem. It's
=>> replaced by software that EMULATES the missing hardware, thus making
=>> the processor do all the work that used to be done by the missing
=>> hardware.
=>>John
=>
=>one wonders what the next world's dumbest invention will be.  winmonitors?
=>winkeyboards?  wincd-roms?  winhard-drives?  god, i wish i was being
=>facetious.  sigh.
=>
=>rday


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.




Re: GCC compiler problem on RH 6.2

2000-07-05 Thread Steven W. Orr

You should switch to gcc-2.95.2. It is the latest stable version and works
fine. If you are having problems with egcs that should b\not be suprising
as there are a few subtle language issues associated with this.

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-

On Wed, 5 Jul 2000, Gregory Hosler wrote:

=>Hi,
=>
=>I've got a development system I am setting up at work, which will be
=>based upon RH 6.x, probably 6.2
=>
=>in doing some preliminary testing I have learned that the gcc compiler
=>supplied with 6.1/6.2 (have not tried 6.0) fails to compile our C++
=>application (and our application us sufficiently large enough that recoding
=>it is out of the question). RH 6.x uses ecgs 1.1, and the compile problem
=>seems to be specific to ecgs (possibly ecgs 1.1).
=>
=>I know that gcc 2.7.2 works fine, and I have tried compiling under gcc 2.95,
=>ad that seems to work fine as well (though we haven't done any testing at
=>all on the image).
=>
=>Does anyone know what issues might be involved with swapping compilers on
=>a RH 6.x system, either forward to gcc 2.95, or backwards to gcc 2.7.2
=>
=>thanks for any thoughts/feedback,
=>
=>rgds,
=>
=>-Greg


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.




Re: Script Debugger

2000-07-04 Thread Steven W. Orr

There is one thing you can do. Assuming you you are running a bash script,
you can change the shebang to add the -xv switches. Then you can set

export PS4='+${0##*/} line $LINENO: '

It's just like a debugger :-)

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-

On Tue, 4 Jul 2000, SoloCDM wrote:

=>I remember a program that helps assist in debugging scripts . . .
=>does anyone know the name of the program(s)?
=>
=>Note: Detailed Document(s) and Sample(s) are more than welcome!
=>  When you reply to this message, please include
=>  the mailing list and my address.
=>
=>*
=>Signed,
=>SoloCDM
=>
=>--
=>


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.




Re: Commands to create a rescue/boot disk

2000-06-26 Thread Steven W. Orr

Your best best bet is the lubbock project stored on sourceforge. It's a
50M emergency bootable cd image.

My opinion, emergency root boot floppy sets are problematic. The boot
floppy is no problem. The root floppy is very hard.

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-

On Mon, 26 Jun 2000, Stephen Liu wrote:

=>Hi Everybody,
=>
=>I just forgot the commands used in Xterm window to create a rescue/boot
=>disk.  Could anybody throw me some light.
=>
=>Thanks in advance.
=>
=>B.R.
=>Stephen


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.




Re: /bin/sh: cpp: command not found

2000-06-26 Thread Steven W. Orr

Since you haven't gotten the right answer yet, here it is. cpp is the C
PreProcessor. If you gay gcc -v it will tell you what version of the
compiler you are running and what directory its spec file is to be
found. That same directory is where cpp will be found. Note that if the
input to cpp is a file, you can just invoke the preprocessor via gcc
-E. And in fact it's also fine to use gcc -E /dev/fd/0 if you are feeding
stdin. 

Write me if you need more info.

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-

On 25 Jun 2000, Margaretha Sulistyoningsih wrote:

=>Hallo everybody,
=>
=>I tried  to run "make" in order to produce one java class (named IDCT.cla=
=>ss)
=>from a file which  is combination of java and c program(named IDCT.tmpl).=
=> The
=>results  are:
=>
=>  gcc -o expand_const expand_const.o compute.o -lm
=>  rm -f IDCT.java
=>  ./expand_const IDCT.tmpl  | cpp | sed '1d' > IDCT.java
=>  /bin/sh : cpp :command not found
=>
=>I thought I don't have cpp,  so I  try to install cpp-1.1.2-12.i386.rpm f=
=>rom
=>R.H CD, but I got an error message saying  that =
=>
=>   cpp-1.1.2-12 is already installed. =
=>
=>I try to rpm -U, and I also got the same answer.
=>
=>Then I try : =
=>
=>  rpm -ql grep cpp-1.1.2-12 |grep cpp =
=>
=>then I got these results:
=>  /lib/cpp
=>  /usr/info/cpp.info.gz
=>  /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/cpp
=>  /usr/man/man1/cpp.1
=>
=>My questions are:
=>1. Why does it happen (/bin/sh: cpp: command not found)??
=>2. How to solve this problem ?
=>
=>For information : =
=>
=>I  use RedHat 6.0.
=>Processor Intel Pentium II 350.
=>
=>Thank you very much before for your answer.
=>
=>
=>best regards,
=>--Ritha--
=>
=>
=>Get free email and a permanent address at http://www.netaddress.com/?N=3D=
=>1
=>
=>--
=>


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.




Looking to create cd labels for the cd (Not for the jewel case).

2000-06-24 Thread Steven W. Orr

I'm using disc-cover (which I like very much, but I'd like to print to
these sheets of paper that have cd labels on them so I can stick them on
the cds.

Is there such a beast?

TIA

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.




Re: CD recorder software?

2000-06-23 Thread Steven W. Orr

xcdroast which is the layer over cdwrite for copying data. 

One important note: Get cdparanoia if you want to copy audio cds. Just
install both packages and then run xcdroast -usecdparanoia

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-

On Fri, 23 Jun 2000, Ganbold wrote:

=>Hi,
=>
=>What is the best and easy to use CD recording software in Linux?
=>
=>thanks in advance,
=>Ganbold
=>
=>--
=>


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.




Question about Rich Text Format.

2000-06-23 Thread Steven W. Orr

Never had to deal with it before. I just installed the acm package and it
has a doc file in rtf. What do I use to view and/or display rtf?

TIA

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.




Re: Alias Substitution

2000-06-20 Thread Steven W. Orr

This question has already been properly answered by explaining the use of
functions in bash which are used to replace csh style parameterized
aliases. But the particular question begs for one more comment:

You can say

CDPATH='.:~'

in your .bashrc, or you can just say

export CDPATH='.:~'

in your .bash_profile

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-

On Mon, 19 Jun 2000, SoloCDM wrote:

=>"Carey F. Cox" wrote:
=>> 
=>> On Mon, 19 Jun 2000, SoloCDM wrote:
=>> 
=>> > Is it possible to make an alias substitute an item into its command as
=>> > in the following:
=>> >
=>> >   $ alias cdl='cd ~/$@'
=>> >   $ cdl nsmail/Administrator.sbd
=>> 
=>> For bash scripts you will need to use a function as follows...
=>> 
=>> $ function cdl { cd ~/$@ }
=>
=>Thanks, but I'm referring to the command-line -- not a script.


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.




Re: Question about /home and /usr

2000-06-16 Thread Steven W. Orr

That's a very old way of doing things. I won't go into the logistics of
why it's bad. Just suffice it to say that a modern Unix system should be
able to run with the /usr/partition mounted read-only.

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-

On Fri, 16 Jun 2000, Michael J. Glanovsky wrote:

=>Am I correct that other Unixs (such as AIX) frequently don't have a /home
=>directory, putting user accounts in /usr or /usr/local instead?
=>
=>Thanks for any replies,
=>
=>Mike
=>
=>--
=>


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.




Re: Problems with NIS Linux server and either Solaris or SCO asclient.

2000-06-13 Thread Steven W. Orr

This is Red Hat 6.2 with ypserv-1.3.11-2

The problem is not NFS or the automounter. That all works fine. The
problem is that when we start the Linux NIS server, and then start the SCO
or Solaris NIS clients, they both get NIS timeouts. When we make the
Solaris platform be the server, then SCO is perfectly happy.

If anyone has Linux serving a SCO client, I'd love to hear about it.

TIA

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-

On Tue, 13 Jun 2000, Pete Peterson wrote:

=>
=>
=>
=>> From: "Steven W. Orr" <[EMAIL PROTECTED]>
=>> To: Cartman List <[EMAIL PROTECTED]>,
=>> Hedwig List <[EMAIL PROTECTED]>,
=>> redhat-list <[EMAIL PROTECTED]>,
=>> Greater New Hampshire Linux User Group <[EMAIL PROTECTED]>
=>> Subject: Problems with NIS Linux server and either Solaris or SCO as client.
=>> 
=>> 
=>> Both SCO and Solaris would not talk to the Linux platform when I made it a
=>> NIS server. When I made the Solaris platform the server, the SCO box
=>> talked nicely with the Solaris server.
=>
=>What Linux release are you running and what set up have you done?
=> Do you have a /etc/exports with appropriate entries?
=> Have you started nfsd and nfslock, either manually or automagically?
=>  /etc/rc.d/init.d/nfs start
=>  /etc/rc.d/init.d/nfslock start
=>  (or corresponding entries in /etc/rc*.d)
=> You should see something like:
=> [root@redhat60 init.d]# ps axww|grep nfs
=> 7434 ?S  0:00 rpc.mountd --no-nfs-version 3
=> 7445 pts/0SW 0:00 [nfsd]
=> 7446 pts/0SW 0:00 [nfsd]
=> 7447 pts/0SW 0:00 [nfsd]
=> 7448 pts/0SW 0:00 [nfsd]
=> 7449 pts/0SW 0:00 [nfsd]
=> 7450 pts/0SW 0:00 [nfsd]
=> 7451 pts/0SW 0:00 [nfsd]
=> 7452 pts/0SW 0:00 [nfsd]
=> 7489 pts/0S  0:00 grep nfs
=>
=> What does "exportfs -v" show?
=>[root@redhat60 init.d]# exportfs -v
=>/usr/local  (ro,async,wdelay,root_squash)
=>/mnt/cdrom  (ro,async,wdelay,root_squash)
=>/mnt/cdrom  ns2.genrad.com(ro,async,wdelay,root_squash)
=>/usr/local  ultra9.genrad.com(ro,async,wdelay,root_squash)
=>
=>
=>Thankfully I no longer have any contact with SCO, so I can't comment on
=>that one.  The general rule I used to follow, which was valid 99% of the
=>time, is that in any conflict between SCO and anything else, the problem was
=>with SCO.  I used to build programs for about 8 different platforms and SCO
=>was by far the most troublesome.
=>
=>My Solaris 2.6 box, that I'm sitting at, mounts NFS file systems on
=>both RedHat 6.1 and Redhat 6.2 boxen with no problems.  It does complain,
=>but still works, if you don't start the lock daemon.
=>
=>
=>> Does anyone have any clue what's going on here? I have noticed that
=>> this problem has been raised before, but I haven't heard of anyone
=>> solving it. 
=>
=>I don't know where this rumor came from, but I've never seen a problem.
=>A friend of mine had his boss tell him some story like that, claiming
=>that NFS server didn't work on RedHat 6.x boxen (his boss was a Micro$oft
=>FUD brainwashed drone).  It took us all of 5 minutes to prove him wrong.
=>
=>> I *really* need this.
=>
=>It should be easy!  Really!  :-)
=>
=>
=>pete peterson
=>GenRad, Inc.
=>7 Technology Park Drive
=>Westford, MA 01886-0033
=>
=>[EMAIL PROTECTED] or [EMAIL PROTECTED]
=>+1-978-589-7478 (GenRad);  +1-978-256-5829 (Home: Chelmsford, MA)
=>+1-978-589-2088 (Closest FAX); +1-978-589-7007 (Main GenRad FAX)
=> 
=>


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.




Problems with NIS Linux server and either Solaris or SCO as client.

2000-06-12 Thread Steven W. Orr

Both SCO and Solaris would not talk to the Linux platform when I made it a
NIS server. When I made the Solaris platform the server, the SCO box
talked nicely with the Solaris server.

Does anyone have any clue what's going on here? I have noticed that
this problem has been raised before, but I haven't heard of anyone
solving it. 

I *really* need this.

TIA

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.




Re: CRON Question - Help Please

2000-06-08 Thread Steven W. Orr

The broken pipe message can safely be ignored. What's happening is that
the find command is finishing before the cpio command has processed th
eend of file. It's normal. Just ignore it.

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-

On Thu, 8 Jun 2000, Kirk Whiting wrote:

=>Im trying to do a backup job to my Jaz Drive with cron and Im having
=>difficulty. The command Im using is:
=>
=>38 08 * * 1 find /home/* -print | cpio -orcvdumB > /mnt/jaz
=>
=>I keep getting  " broken pipe "
=>
=>Any help would be greatly appreciated
=>
=>Kirk
=>
=>--
=>


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.




Need a hand with groff

2000-05-31 Thread Steven W. Orr

I got a document that needs to be groff'd and it's failing. Here's what
happens when I run it:

1061 > make
groff -p -t -mm -Wall -Tps draft.mm > fhs.ps
troff: fatal error: can't find macro file m
make: *** [fhs.ps] Error 1

I thought that m was a standard package. Anyone know what I should do?

TIA

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.




Re: How do I edit my PATH?

2000-05-08 Thread Steven W. Orr

I have a program I've been using for years that I really like called
envv. I put it up at http://logsoft.com/steveo/envv-1.2p4.tar.gz It's
nice. It's written in C, has a man page and it works well.

The way it works is that I set my PATH variable in a seperate file
called ~/.bash_path

As you can see, envv takes a command, like add or delete, and a
directory path and a possible position. Then it produces as output a
string that if executed will set your PATH variable the way you want
it.

Just make sure that your default PATH is enough to locate where envv is.

# System wide bash_path file. This is used to set up the global PATH variable.
function i_check_exist()
{
if [[ -d $1 ]]
then
eval `envv add PATH $1 $2`
fi
}

sav=$SHELL
export SHELL=/bin/bash
i_check_exist . 1   # Put it first.
i_check_exist ~/bin 2   # Put it first.
i_check_exist /usr/games# Put it last.
i_check_exist /usr/local/office52   # Put it last.
i_check_exist /usr/local/jdk/jdk1.2/bin # Put it last.
SHELL=${sav}
unset i_check_exist sav

# Local Variables:
# mode: shell-script
# End:


-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-

On Sun, 7 May 2000, rpjday wrote:

=>On Sun, 7 May 2000, Bruce A. Mallett wrote:
=>
=>> While on the PATH manipulation subject, I find the following function
=>> handy when using ksh.  It eliminates duplicates in a PATH style string.
=>> This is useful when one has a lot of things like:
=>> 
=>>export PATH="$PATH;/some/new/stuff"
=>> 
=>> These tend to accumulate a lot of duplicate entries which can be eliminated
=>> using this function by:
=>> 
=>>RemoveDups "$PATH"
=>>export PATH="$_RemoveDups"
=>
=>i'm nervous about the technique of returning arbitrary values from
=>functions by assigning those values to a global variable.  an
=>alternative technique is to have the function return the value
=>by printing it, and getting that value using command substitution:
=>
=>PATH=$(RemoveDups $PATH)
=>
=>  the RemoveDups function itself would then, as the last statement,
=>simply
=>
=>print 
=>
=>  comments?
=>
=>rday
=>
=>--
=>


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.




Re: How to upgrade kernel?

2000-05-03 Thread Steven W. Orr

I keep the following script called compile is /usr/src
#!/bin/bash

mv /root/.kernel /root/.kernel.old
mv /root/.kernel_modules /root/.kernel_modules.old
echo " = `date` = " > ~/.kernel
echo " = `date` = " > ~/.kernel_modules
echo "###" >> ~/.kernel
echo "# makedep #" >> ~/.kernel
echo "###" >> ~/.kernel
make  dep 2>&1|tee -a ~/.kernel
echo "##" >> ~/.kernel
echo "# make clean #" >> ~/.kernel
echo "##" >> ~/.kernel
make clean 2>&1|tee -a ~/.kernel
echo "##" >> ~/.kernel
echo "# make bzImage #" >> ~/.kernel
echo "##" >> ~/.kernel
make bzImage 2>&1|tee -a ~/.kernel &
echo "" >> ~/.kernel_modules
echo "# make modules #" >> ~/.kernel_modules
echo "" >> ~/.kernel_modules
make modules 2>&1|tee -a ~/.kernel_modules
echo "" >> ~/.kernel_modules
echo "# make modules_install #" >> ~/.kernel_modules
echo "" >> ~/.kernel_modules
make modules_install 2>&1|tee -a ~/.kernel_modules
echo "###" >> ~/.kernel
echo "# END #" >> ~/.kernel
echo "###" >> ~/.kernel
echo "###" >> ~/.kernel_modules
echo "# END #" >> ~/.kernel_modules
echo "###" >> ~/.kernel_modules

It's ugly and primitive but it works. Just configure your kernel and then
run this. Afterwards, copy the new kernel and the System.map to /boot, add
a lilo entry, run lilo and then init 6. Easy peasy.


-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-

On Tue, 2 May 2000 [EMAIL PROTECTED] wrote:

=>Is there a doc that tells the proper way to upgrade the kernel. I've never done
=>this before but would like to as safely as possible.
=>
=>TIA
=>Steve
=>
=>--
=>

On Tue, 2 May 2000, Hal Burgiss wrote:

=>On Tue, May 02, 2000 at 07:08:20PM -0400, [EMAIL PROTECTED]
=>wrote:
=>> Is there a doc that tells the proper way to upgrade the kernel. I've
=>> never done this before but would like to as safely as possible.
=>
=>If you mean by RPM, this is on RH's website. Go to
=>www.redhat.com/support (IIRC) and fish around. There is a HOWTO there
=>somewhere. 
=>
=>The key steps are:
=>
=> rpm -ivv .rpm  (note the 'i', do not use '-U')
=>
=> Use text editor and edit /etc/lilo.conf, and add a new stanza for the
=>new kernel. Make sure to leave at least one, known good kernel -- just
=>in case.
=>
=> Run 'lilo -v', and watch for sneaky little error messages.
=>
=> Reboot.
=>
=>


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.




Re: scroll mouse

2000-05-02 Thread Steven W. Orr

http://www.inria.fr/koala/colas/mouse-wheel-scroll/

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-

On Tue, 2 May 2000, erik wrote:

=>Hi,
=>
=>I have a Logitech FirstMouse+, and it has a scroll wheel.  Has anyone
=>got the scroll to work successfully  under x?  If so, is there a good
=>howto or webpage on how to make it work?
=>
=>Thanks,
=>
=>-e
=> 
=>


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.




Need an serial port for a digital camera.

2000-05-01 Thread Steven W. Orr

Can someone please recommend a PCI card for an extra serial port or two? I
looked on buy.com and saw only USB cards. My understanding is that USB is
not yet fully supported in kernel 2.2.14.

TIA

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.




Re: Arguments too long

2000-04-30 Thread Steven W. Orr

Just wanted to point out this minor inaccuracy:

You will never get a command line overflow from
ls | xargs rm

By definition, xargs will run as many comands as it needs to without
generating a command line overflow ever. The only time that -n is needed
is if you're running a command which only takes a limited number of
arguments. Also, ten is a very small number for what the linux commandline
is capable of.

cd /usr/bin
ls | xargs echo | wc 

The result is 2 2044 17281. This means that for xargs to print out all of
the  filenames, it automatically generated 2 command lines. OTOH, you can
also say

ls | xargs -n 3000 | wc -l
and the command succeeds and prints out a 1. 

:-)

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-

On Sun, 30 Apr 2000, Todd A. Jacobs wrote:

=>On Sat, 29 Apr 2000, Jon Nichols wrote:
=>
=>> sometimes, in directories with hundreds of thousands of files
=>> i'll try a big glob rm and get an error like 'Arguments too long'.
=>
=>man xargs. Note the -n option. Then try something like:
=>
=>  ls *March* | xargs -n 10 rm
=>
=>This will remove the files in chunks of ten, instead of building a command
=>line that is potentially too large. 
=>
=>


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.




LCP error on ppp when switching from kernel-2.2.14 to 2.3.99pre6

2000-04-29 Thread Steven W. Orr

I'm running ppp-2.3.10-3. When I tried to go from 2.2.14 of linux to
2.3.99pre6, everything seemed to be ok until I tried to connect to my
ISP. Then I get the following snippet:

Apr 28 20:16:02 localhost connect: Initializing Modem
Apr 28 20:16:02 localhost connect: Dialing 4299300
Apr 28 20:16:27 localhost connect: chat:  Apr 28 20:16:26 CONNECT
115200
Apr 28 20:16:27 localhost connect: Protocol started
Apr 28 20:16:27 localhost diald[352]: Running pppd (pid = 738).
Apr 28 20:16:27 localhost kernel: PPP generic driver version 2.4.1
Apr 28 20:16:27 localhost pppd[738]: pppd 2.3.10 started by root, uid
0
Apr 28 20:16:27 localhost pppd[738]: Using interface ppp0
Apr 28 20:16:27 localhost pppd[738]: Connect: ppp0 <--> /dev/ttyS0
Apr 28 20:16:57 localhost pppd[738]: LCP: timeout sending Config-Requests
Apr 28 20:16:57 localhost pppd[738]: Connection terminated.
Apr 28 20:16:57 localhost pppd[738]: Exit.

This problem has to be fixed. I checked dejanews and there are people
getting this problem, but no answer on how to fix it. Here's my
/etc/ppp/options file:

1010 > cat options 
lock noauth
user steveo

I'd also like to add one more comment to the mix: I have two
modems. One is a Motorola VoiceSURFER. The other is on my wife's
identical computer. Her's is a USR V.90. Both are external. I tried
to move her modem onto my computer a while back and had the same
error. It went away when I restored my Motorola.

I really don't even know how to start debugging this.

Anyone have  a clue?

Many thanks in advance.

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.




Re: bash question

2000-04-22 Thread Steven W. Orr

As this is a bash question and not a Bourne shell question, I'd like to
offer A Better Way.

Instead of referring to $0, just use ${0##*/}

Typically, the start of most bash or ksh scripts will say:

prog=${0##*/}

Then later on refer to ${prog}

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-

On Fri, 21 Apr 2000, Gustav Schaffter wrote:

=>Hi,
=>
=>In a bash script I can look at $0 to find the name of the current script
=>file, but if it's started with a full path, I will find the full path
=>and filename in $0. 
=>
=>How can I find only the name of the script file even if it's started
=>with the full path?

On Sat, 22 Apr 2000, Mikkel L. Ellertson wrote:


=>Check out basename.


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.




Re: Shorten Bash Script

2000-04-20 Thread Steven W. Orr

Sorry. Not legal bash syntax. Only valid if you use the external test
program in /bin a la

if /bin/test ...

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-

On Thu, 20 Apr 2000, Steve Feehan wrote:

=>On Wed, 19 Apr 2000, SoloCDM wrote:
=>
=>> Can the following bash script "if" statement be shortened/condensed?
=>> 
=>>  if [ "$MANS" = "y" ] || [ "$MANS" = "Y" ]
=>> 
=>> *
=>> Signed,
=>> SoloCDM
=>> 
=>
=>  if [ $MANS = 'y' -o $MANS = 'Y' ]
=>
=>It's a bit shorter. I'm assuming that $MANS is a variable and if so you
=>don't want the qoutes around it. Although ${MANS} would be correct.
=>
=>Steve


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.




Re: Shorten Bash Script

2000-04-20 Thread Steven W. Orr

Not legal bashsyntax unless you're testing for a filename to be globbed.

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-

On Thu, 20 Apr 2000, rpjday wrote:

=>On Wed, 19 Apr 2000, SoloCDM wrote:
=>
=>> Can the following bash script "if" statement be shortened/condensed?
=>> 
=>>  if [ "$MANS" = "y" ] || [ "$MANS" = "Y" ]
=>
=>[ $ANS = [Yy] ]
=>
=>or if you want to check if the response just STARTS with Y or y,
=>
=>[ $ANS = [Yy]* ]
=>
=>rday

=>


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.




Re: imwheel problems

2000-04-20 Thread Steven W. Orr

Add the following line before the end of your .xinitrc:

imwheel &

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-

On Wed, 19 Apr 2000, Scarlett wrote:

=>Hi all!
=>
=>Can someone tell me how to get imwheel to run everytime I go into
=>XWindows?


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.




Re: Shorten Bash Script

2000-04-20 Thread Steven W. Orr

The answer is yes. :^)
 if [ "$MANS" = y ] || [ "$MANS" = Y ]

Not the answer you're looking for, but the constant has no interpolation
and so does not even need to be quoted.

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-

On Wed, 19 Apr 2000, SoloCDM wrote:

=>Can the following bash script "if" statement be shortened/condensed?
=>
=> if [ "$MANS" = "y" ] || [ "$MANS" = "Y" ]
=>


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.




Re: Sendmail setup for home use - how ?

2000-04-17 Thread Steven W. Orr

There's a wonderful utility called install-sendmail. Look for it at
freshmeat.

It asks a bunch of rude questions and then spits out the appropriate
sendmail config files. Just install them, restart sendmail and you're
done. :-)

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-

On Fri, 14 Apr 2000, Mikkel L. Ellertson wrote:

=>At 09:17 AM 4/13/00 +0800, you wrote:
=>>I have, what seems to me, to be a common setup.
=>>
=>>I have a home linux box (and a local home lan).
=>>My box has a local name, but no domain name. I get my incoming mail from
=>>other sources (mostly uucp, but it could also be ipop). The point is that I
=>>don't need sendmail for incoming mail services (except for local delivery).
=>>
=>>I would like to set up sendmail for outgoing mail services though. My ISP's
=>>sendmail is an open relay, and if I use that as my MTA's delivery agent,
=>>there are some places I mail to that will get rejected because the mail
=>>comes from an open relay.
=>>
=>>I used to use smail on my old linux box (running rh 4.1), and it is this box
=>>that is getting upgraded to rh6.2. I decided to use linuxconf to configure
=>>sendmail, but for the life of me can't seem to figure some things out.
=>>
=>>it seems that sendmail really want a domain name. I suppose that this is for
=>>incoming mail, but 1) I do not have a domain name, 2) I don't feel like lying
=>>and making one up (mostly because I am unsure of the consequences of telling
=>>that particular lie to sendmail/linuxconf), and 3) I really don't care about
=>>incoming sendmail anyways - I won't be getting any, unless it comes from my
=>>wife's machine, and she can just forward to my uucp/ipop address if she
=>wants.
=>>
=>>so, how do I set up sendmail for out-going support only? Or is there
=>something
=>>different I should be doing (aside from using qmail, smail - I really want
=>the
=>>sendmail knowledge) ? (directions using linuxconf/sendmail configure would be
=>>appreciated.
=>>
=>>thank you, and regards,
=>>
=>>-Greg
=>>
=>Greg,
=>  Sendmail needs a domain name so it can tell other systems who is
=>sending the mail.  One way to set it up for a home system is to give
=>it a made up name, and then tell it to masquerade as your ISP.  This
=>will not work in your case because of the open relay problem.  But I
=>am not sure how you can get around it because a lot of systems that
=>filter out open relays also filter out dialup IP's, as well as
=>systems that don't have valid DNS records.  With no MX record for your
=>system, your mail will probably get rejected by the same systems that
=>reject mail from your ISP.
=>  One thing you may be able to do is to set up sendmail to send
=>messages out using the uucp through the same link as you get your
=>mail.  It depends on the system you get your mail from.  Will they
=>accept mail from you that way?  Is that system an open relay, or
=>will mail from them be acceptable?
=>  Maybe someone else on the list know of another way around the
=>problem.  Changing to another mail program will not help unless you
=>can get someone to relay outgoing mail for you that is not an open
=>relay...
=>
=>I wish I could be of more help...
=>Mikkel
=>
=>--
=>Do not meddle in the affairs of dragons,
=> for you are crunchy and taste good with ketchup.
=>
=>--
=>


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.




Re: Mouse cursor size

2000-04-16 Thread Steven W. Orr

Read the man page on xsetroot. The -cursor_name option can be used for
standard cursors. Otherwise you can install custom cursors with 
-cursor cursorfile maskfile

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-

On Wed, 12 Apr 2000, Morse wrote:

=>I am running RH 6.2 and have installed everything. I am using a Logitech 
=>mouse with the Mouseman PS2+ driver. Is there any way to increase the mouse 
=>cursor size ?
=>TIA
=>
=>--
=>


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.




Looking for a script.

2000-04-13 Thread Steven W. Orr

I used to have a script and I seem to no longer have it. :-(

It has the syntax of rsh or rcmd and will execute a command on a remote
machine. The difference is that it returns the exit status of the
command. This is different from the way rsh works, which always returns a
0 (success) if it was able to execute the command on the remote
machine. The only time that rsh returns a 1 (failure) is if the command
was not even allowed to run. It did something with awk to somehow extract
the exit code.

Anyone have it or something like it?

TIA

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.




Re: making [options] work with STDIN/STDOUT

2000-04-06 Thread Steven W. Orr

There's a directory /dev/fd which contains files 0, 1 and 2.

They corresponmd to stdin, out and err.

Try this:

echo Hello | cat /dev/fd/0

Get it?

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-

On Thu, 6 Apr 2000, Pete Peterson wrote:

=>Some commands understand "-" as meaning STDIN in place of input file or
=>STDOUT instead of output file.  Other than making temp files, is there
=>some easy way to make a command that DOESN'T have this convention read
=>from STDIN and/or write to STDOUT.
=>
=>In my particular case, I'd like to convert Postscript files to PDF files.
=>
=>I can do"
=>  ps2pdf -r300 -g3300x5100 infile.ps outfile.pdf
=>
=>But I'd really like to have a FILTER that might do something like:
=>
=>program_making_ps | postscript2pdf [opts] | uuencode widget.pdf | mail whoever
=>
=>Obviously, I could make "postscript2pdf" be a script that wrote STDIN to a
=>temp file, ran ps2pdf to create another temp file, output that to STDOUT,
=>and deleted the temp file, but I thought I remembered there was some less
=>ugly way to accomplish that with a wrapper that didn't involve creating
=>temporary files.
=>
=>
=>  pete peterson
=>
=>--
=>


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.




Re: Multiple dump(s) on single /dev/st0 tape

2000-04-05 Thread Steven W. Orr

You need to look at the mt command. There are control commands for the
tape drive.

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-

On Wed, 5 Apr 2000, Steven Hildreth wrote:

=>So I write the first dump like this:
=>
=># dump -0u -b 126 -d 141000 -s 11500 -L hda1 -f /dev/nst0 /dev/hda1
=>
=>then:
=>
=># dump -0u -b 126 -d 141000 -s 11500 -L hda5 -f /dev/nst0 /dev/hda5
=>
=>then rewind it? Is this needed? I am just going to backup the partitions and
=>then change the tape for the next day. I suppose so, so I would rewind it
=>like this:
=>
=># mt -f /dev/st0 rewind
=>
=>then how to restore files from the second dump?
=>
=># restore -i ?
=>
=>Seems that I can only access the first dump, and non after that??
=>
=>Thanks for your help.
=>
=>Regards,
=>Steven Hildreth
=>Information Technology Manager
=>Aprotex Corporation, http://www.aprotex.com
=>"Proven Property Protection Since 1952"
=>
=>
=>
=>
=>- Original Message -
=>From: "Steven W. Orr" <[EMAIL PROTECTED]>
=>To: "Steven Hildreth" <[EMAIL PROTECTED]>
=>Cc: <[EMAIL PROTECTED]>
=>Sent: Wednesday, April 05, 2000 3:33 PM
=>Subject: Re: Multiple dump(s) on single /dev/st0 tape
=>
=>
=>> Just write to /dev/nst0 instead of st0. n is the Norewind device.
=>>
=>> --
=>> -Time flies like the wind. Fruit flies like a banana.
=>[EMAIL PROTECTED]
=>> -Stranger things have happened but none stranger than this. Steven W. Orr-
=>> Does your driver's license say Organ Donor?Black holes are where God \
=>> ---divided by zero. Listen to me! We are all individuals!-
=>>
=>> On Wed, 5 Apr 2000, Steven Hildreth wrote:
=>>
=>> =>Could someone tell me how to create multiple dump's on a single tape.
=>> =>
=>> =>I would like to backup all my hard drive(s) to a single tape.
=>> =>
=>> =># dump -0u -b 126 -d 141000 -s 11500 -f /dev/st0 /dev/hda1
=>> =>
=>> =>Then continue with /dev/hda5, /dev/hda7, /dev/hdb1, etc.
=>> =>
=>> =>Thanks. Havents found squat about it, but the
=>http://www.backupcentral.com
=>> =>comparison guide says that the dump will do multiple dumps to a single
=>tape.
=>> =>
=>> =>p.s. I have a 4gig Travan 4 SCSI tape drive and only about 1.5 gig of
=>data
=>> =>on the two drives.
=>>
=>>
=>> --
=>> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
=>> as the Subject.
=>>
=>
=>--
=>


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.




Re: Multiple dump(s) on single /dev/st0 tape

2000-04-05 Thread Steven W. Orr

Just write to /dev/nst0 instead of st0. n is the Norewind device.

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-

On Wed, 5 Apr 2000, Steven Hildreth wrote:

=>Could someone tell me how to create multiple dump's on a single tape.
=>
=>I would like to backup all my hard drive(s) to a single tape.
=>
=># dump -0u -b 126 -d 141000 -s 11500 -f /dev/st0 /dev/hda1
=>
=>Then continue with /dev/hda5, /dev/hda7, /dev/hdb1, etc.
=>
=>Thanks. Havents found squat about it, but the http://www.backupcentral.com
=>comparison guide says that the dump will do multiple dumps to a single tape.
=>
=>p.s. I have a 4gig Travan 4 SCSI tape drive and only about 1.5 gig of data
=>on the two drives.


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.




Re: storing rpms and tarballs

2000-04-05 Thread Steven W. Orr

I have a /usr/src/redhat/NON-RPMS

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-

On Wed, 5 Apr 2000, Gustav Schaffter wrote:

=>Alan,
=>
=>I'd suggest /usr/local/whatever
=>
=>Regards
=>Gustav
=>
=>Alan Mead wrote:
=>> 
=>> I have a dumb question:  Let's suppose I like to keep the RPMs and
=>> occasional tarballs that I DL.  Where is the "right" place to keep them?
=>> 
=>> I've just been putting them in my home directory, but I want to move them
=>> off of the /home partition.


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.




Re: Annoying color features in RH6.2

2000-03-31 Thread Steven W. Orr

   By default, color is not  used  to  distinguish  types  of
   files.   That  is equivalent to using --color=none.  Using
   the --color option without the optional WHEN  argument  is
   equivalent  to  using  --color=always.  With --color=auto,
   color codes are output only if  standard  output  is  con
   nected to a terminal (tty).

I suspect that you have an alias that is predefined. Look in /etc/bashrc.
Delete the alias of just 
unalias ls
should fix you up.


-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-

On Fri, 31 Mar 2000, Allen Bolderoff wrote:

=>try putting 
=>
=>alias ls='ls'
=>
=>and put in into your ~/.bashrc
=>
=>
=>> Does anyone know how to turn off the annoying color feature for the man pages
=>> in RH 6.2?
=>> 
=>> I renamed the colorls.* files in /etc/profile.d and changed 
=>> 
=>> COLOR tty
=>> to
=>> COLOR none
=>> 
=>> in /etc/DIR_COLOR, but the man pages are still in color making them practically
=>> unreadable, especially against the black background I prefer for my terminals
=>> windows. I can't find any documentation for diabling this feature for the
=>> manpages.
=>> 
=>> IMHO, this feature is completely unnecessary and extremely annoying. RH should
=>> have left this feature turned off by default and documented how to turn it *on*
=>> instead. 


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.




Re: Red Hat 6.2?

2000-03-27 Thread Steven W. Orr

I'm not sure this is a Red Hat issue. Is it?

Red had is a packaging agent if you will. They take all the components
that are available on the 'net and just package them. 

I just remember back in The Bad Olde Days when SCO did a whole lot of
enhancing to the point where working on a SCO system was fundamentally
different than working on an SVR3 system. Maybe the point that I'm *not*
trying to make was that Interactive went out of business, leaving us with
SCO.

On the whole, if RH wants to develop open source software that does what
you want, I'm happy, but I'm terrified that RH will end up developing
something commercial to provide for your requirements and then stop
supplying the standard sendmail install. Let's also not forget that SCO
switched over MMDF. :-)

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-

On Mon, 27 Mar 2000, Brian wrote:

=>On Sat, 25 Mar 2000, Toby A. Rider wrote:
=>
=>Yes, these are good for the enterprise and the user alike.
=>
=>One thing I would like to see, which Redhat does not have, is a hashed
=>mail spool.  If they aren't going to store messages in maildir format, or
=>some other high load friendly format, then they should imho, hash the
=>mailspool, or allow it to be hashed without having to patch and recompile
=>procmail and the popper.
=>
=>I would also like to see them use cucipop instead of qpopper, since its a
=>perfect match for procmail
=>
=>A traditional mail spool does not scale well above say 2500 users.
=>


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.




Re: OT: IPC Book

2000-03-25 Thread Steven W. Orr

The classics are Unix Network Programming by Stevens and Advanced
Programming in the Unix Environment also by Steven. 

RIP

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-

On Sat, 25 Mar 2000, Ahbaid Gaffoor wrote:

=>Hi All,
=>
=>can you recommend a good book for IPC programming under UNIX in general?
=>
=>It will be mostly on HP-UX and RH Linux based machines.
=>
=>thanks,
=>
=>Ahbaid.


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.




Re: Tape Drive Woes

2000-03-25 Thread Steven W. Orr

This is not your problem, but when giving commands, you shoudl re
referencing nst0 instead. That's the norewind device.

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-

On Fri, 24 Mar 2000, Stephen E. Hargrove wrote:

=>Bigdog wrote:
=>> 
=>> Have you tried some of the simple commands to check that the drive
=>> itself is OK, such as:
=>> 
=>> mt -f /dev/st0 status
=>> 
=>
=>Here's the feedback I'm getting.  It's all the same, and quite immediate.
=>
=>[root@linux Stephen]# mt -f /dev/st0 rewind
=>/dev/st0: Input/output error
=>
=>[root@linux Stephen]# mt -f /dev/st0 retension
=>/dev/st0: Input/output error
=>
=>[root@linux Stephen]# mt -f /dev/st0 erase
=>/dev/st0: Input/output error
=>
=>[root@linux Stephen]# mt -f /dev/st0 tell
=>/dev/st0: Input/output error
=>
=>[root@linux Stephen]# mt -f /dev/st0 load
=>/dev/st0: Input/output error
=>
=>--
=>steve
=>
=>--
=>


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.




RE: Keyboard mappings with game

2000-03-20 Thread Steven W. Orr

No idea. I just notice that it works.

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-

On Tue, 21 Mar 2000, Juha Saarinen wrote:

=>Seriously? Why would that be?
=>
=>I've been wondering about this incredibly annoying issue for ages.
=>
=>-- Juha
=>
=>%-> -Original Message-
=>%-> From: Steven W. Orr [mailto:[EMAIL PROTECTED]]
=>%-> Sent: Tuesday, 21 March 2000 2:45 a.m.
=>%-> To: Brian Schneider
=>%-> Cc: Red Hat List
=>%-> Subject: Re: Keyboard mappings with game
=>%->
=>%->
=>%-> Turn Num Lock off. That should fix your problem.
=>%->
=>%-> --
=>%-> -Time flies like the wind. Fruit flies like a banana.
=>%-> [EMAIL PROTECTED]
=>%-> -Stranger things have happened but none stranger than this.
=>%-> Steven W. Orr-
=>%-> Does your driver's license say Organ Donor?Black holes are where God \
=>%-> ---divided by zero. Listen to me! We are all individuals!-
=>%->
=>%-> On Sun, 19 Mar 2000, Brian Schneider wrote:
=>%->
=>%-> =>I want to play XGalaga, and I cannot use the keyboard controls. I then
=>%-> =>played a game with the mouse and I could not use the keyboard
=>%-> to type my
=>%-> =>name in. I am using Gnome, is this a keyboard map issue or what?


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.




Re: Mozilla src.rpm segfaulting

2000-03-20 Thread Steven W. Orr

rpm -ba
Wait a night and it works fine.

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-

On Sun, 19 Mar 2000, Hal Burgiss wrote:

=>Has anyone had any luck getting Bero's Mozilla src.rpm to fly? After
=>several attemtps, the best I can do are segfaults when starting it. I
=>am using 686 opt_flags, is that a problem with c++? This is a fairly
=>lengthy build so any pointers would be appreciated.
=>
=>


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.



Re: Keyboard mappings with game

2000-03-20 Thread Steven W. Orr

Turn Num Lock off. That should fix your problem.

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-

On Sun, 19 Mar 2000, Brian Schneider wrote:

=>I want to play XGalaga, and I cannot use the keyboard controls. I then
=>played a game with the mouse and I could not use the keyboard to type my
=>name in. I am using Gnome, is this a keyboard map issue or what?
=>
=>TIA


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.



Re: Anyone know if there's a space invaders game for Linux?

2000-03-19 Thread Steven W. Orr

I have a Matrox Millenium II video card. Will this work with that game?

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-

On Sun, 19 Mar 2000, Maziar Mahzari wrote:

=>Steven;
=>Have you tried QuakeII? Quake is the only game having a howto in RHL CD!
=>I think you're gonna like it. QuakeIII for linux has been released too.
=>If you are a fan of 3D games, that's the best.
=>Cheers and happy new year for Iranins
=>Maziar
=>
=>On Sun, 19 Mar 2000, Steven W. Orr wrote:
=>
=>> Something that works pretty well. I just developed a need to play.
=>> 
=>> Thanks.


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.



Anyone know if there's a space invaders game for Linux?

2000-03-19 Thread Steven W. Orr

Something that works pretty well. I just developed a need to play.

Thanks.

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.



Re: SCCS

2000-03-16 Thread Steven W. Orr

If you compare functionality of RCS vs. SCCS you will see that RCS is much
more powerful than SCCS.

* SCCS is proprietary software and is not an option.

Advantages of RCS over SCCS:

* Deltas are stored in reverse order. To get the most recent version is
  cheap. To get the first version in SCCS is cheap.

* Key words expand on checkout with RCS. SCCS keywords only expand when
  the file is unlocked. This means that you cant tell if what you have in
  SCCS if the file is not checked out.

* SCCS only allows a one line comment at checkin. RCS is not limited.

* RCS branching is done in pairs of rev numbers. SCCS is not.

* RCS allows the $Log$ keyword. SCCS has no such construct so it's
  not possible to see the history in the src file.

* There are many other advantages, but I can't put my finger on them
  right now.

The only advantage that SCCS has is that it allows concurrent locking
of the same revision of the file. RCS does not support
this. Personally, in a project small enough to use RCS or SCCS, I
claim you don't *want* cuncurrent locking.

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-

On Thu, 16 Mar 2000, Michael George wrote:

=>On Mar 16, [EMAIL PROTECTED] wrote:
=>> Is SCCS available on Red Hat Linux 6.1 ?
=>> If not, is there any other alternative utility available for configuration
=>> management?
=>
=>Check out RCS.  I don't think it's as powerful as SCCS, but I hear it's easier
=>to use.  It is in its own package: rcs-5.7-10
=>
=>-Michael
=>
=>


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.



Re: F****ng fed up with Netscape 4.6x!

2000-03-09 Thread Steven W. Orr

I wonder how many lockups occur because of porno sites :-) That's where
the real fng bad java is happening.

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-

On Thu, 9 Mar 2000, Zoki wrote:

=>I'm really, really, really entirely fed up with this garbage! The only
=>thing I want is to get information from the Net. I don't want to be forced
=>to choose which site to visit because this damn thing will probably choke
=>on one or other Javascript. Why the hell don't they take out the Java
=>support until it works properly!?? I even had to create a script to kill
=>Netscape, rm the lock file and restart in order to have some sort of
=>continuity while Webbing. I mean, that is really too
=>much
=>
=>God, I hate that crap so much. Fu**!


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.



Re: fetchmail setup help

2000-03-05 Thread Steven W. Orr

There's an excellent package called install-sendmail. Find it via
freshmeat.net. It ask a few rude questions and then spits out all of the
correct sendmail files plus a .fetchmailrc

I recommend it heartily.

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-

On Sun, 5 Mar 2000, wild bill wrote:

=>I setup fetchmail  and got it to work.  I also setup PINE as my reader.  The
=>problem I have is that when fetchmail is invoked, it connects to my isp
=>mailserver and downloads the messages,then .So far I haven't been
=>able to figure out how to read it.  It is like it is deleted.  
=>Here is the ./fetchmail file
=>---poll [EMAIL PROTECTED] proto pop3 password 1234567 
=>---username myname fetchall
=>I am sespecting that I need to set something else up.  What is it??
=>
=>--
=>


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.



Re: The Awk Programing Language

2000-03-04 Thread Steven W. Orr

Can I suggest instead that you look at the awk info pages. That is more
pertinent to the awk that comes on Linux and is an excellent manual in its
own right.

To view on line, you'll find it as info pages. To print the manual, just
run texi2dvi on the .texinfoi file. Easy peasy.

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-

On Sat, 4 Mar 2000, Toby A. Rider wrote:

=>  Sorry for this being slightly unrelated to Linux, but more of a general
=>Unix question. Does anyone know where I can a copy of "The Awk
=>Programming Language", ISBN 0-201-07981-X for less then $41.00 US? I
=>love that little book and have been borrowing it from one of the other
=>SA's at the office. He paid $25.00 for it a couple of years ago. 
=>  I think $41.00 is just a wee bit too expensive for such a small book
=>(about 150 pages), even though it is an excellent text. Thanks!
=>
=>
=>Toby A. Rider
=>
=>--
=>


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.



Re: Linux Shell Programming

2000-03-03 Thread Steven W. Orr

In my opinion, bash is a superior shell to all others. There are two types
of shells. They are called Bourne flavored and C flavored. csh, tcsh
are C flavored shells. Bash, ksh, and sh are all Bourne flavored
shells. For reasons that I'm not going to cover right now, Bash is quite
superior, but the best book for learning bash is The New Kornshell Command
and Programming Language by Bolsky & Korn from Prentis Hall. The book is
relevent because bash is pretty much compliant with Korn shell.

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-

On Fri, 3 Mar 2000, George Chantzopoulos wrote:

=>Hi there!
=>I have to do a university project and among others I have to use Linux
=>Shell Programming. Are there any good books you have in mind?
=>Chears!
=>
=>--
=>


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.



RE: RPMs - Frustration sets in.

2000-03-01 Thread Steven W. Orr

People people people. I don't have a quick answer to this man's problem,
but I do want to point out this one particular inaccuracy.

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-

On Thu, 2 Mar 2000, Juha Saarinen wrote:

=>%-> I disagree. Using ./configure and make on a source distribution
=>%-> discovers many more errors that RPM can simply miss or gloss over. Each
=>%-> to one's own I guess...such is the power of Linux.
=>
=>Configure and make as you mentioned above are for compiling source code into
=>binary, and you can do that with RPM too. Normally however, RPM is used to
=>install ready-compiled binaries. Not the same thing.
No! You can 'normally' do it this way. I 'normally' always download
.src.rpm files and *then* build the binary rpms via
rpm -i
rpm -ba

and only *then* do I 

rpm -Uvh

I know that the Maximum RPM book is somewhat out of date, but it is still
well worth the read. It's completely downloadable so you don't even have
to pay for it.


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.



Re: Backup program?

2000-03-01 Thread Steven W. Orr

I recommend dump which is free. Also cpio works fine and you can easily
craft up something with a few lines of shell and a cron job. I've heard
lots of talk about amanda as well, which is dump on speed, but provides a
nice ui.

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-

On Wed, 1 Mar 2000, Charles Galpin wrote:

=>search the archives @ http://moongroup.com/redhat.phtml
=>
=>there have been threads on this recently, including products like arkeia,
=>bru, and more
=>
=>On Wed, 1 Mar 2000, Ounsted, Toby wrote:
=>
=>> Hi all,
=>> I'm trying to sort out backing up my RH box to a DLT drive.  What program
=>> should I use?  I vaguely remember seeing something on a SCO box with a nice
=>> X interface etc.  The backup need not be too fancy, just a full backup 5
=>> nights a week with eject at the end and also some kind of notification
=>> process (email) if it all goes horribly wrong.  It has to be able also to
=>> restore selective files etc.
=>
=>--
=>


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.



Re: How do I copy my old drive to a new one?

2000-02-29 Thread Steven W. Orr

Not intending to do a meetoo, but...

my personal favorite is 

find . -print | cpio -pdvum

The advantage of doing it this way is that it's portable. It's true that
tar works fine under linux, but most other tar implementations from other
vendors will refuse to copy device files and empty directories.

If you're going to learn one way, then this will work.

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-

On Tue, 29 Feb 2000, Matt Housh wrote:

=>> I remember seeing a post telling how to do this a few months ago but can't seem
=>> to find it now. Could some one help out?
=>> 
=>> I want to copy my old 4 gig scsi drive to a new 10 gug ide drive
=>
=>  Though it may not be the best way to do it, I'm personally a fan of
=>something like this:
=>
=>  1. create the partition(s) on the new drive
=>  2. mount it somewhere (/mnt/temp)
=>  3. (cd /old/drive/mount/point && tar cvf - .) | (cd /mnt/temp && tar
=>xvf -)
=>  4. unmount the old drive
=>  5. mount the new drive where the old one was.


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.



Re: RPM guru question

2000-02-28 Thread Steven W. Orr

rpm -Uvf control-center-devel-1.0.51-1.i386.rpm  control-center-1.0.51-1.i386.rpm

This way RPM gets to do both needed rpms at the same time.

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-

On Mon, 28 Feb 2000, Vidiot wrote:

=>Witness the following:
=>
=>rpm -Uvh control-center-devel-1.0.51-1.i386.rpm 
=>error: failed dependencies:
=>control-center = 1.0.51 is needed by control-center-devel-1.0.51-1
=>
=>rpm -Uvh control-center-1.0.51-1.i386.rpm 
=>error: failed dependencies:
=>control-center = 1.0.40 is needed by control-center-devel-1.0.40-2
=>
=>Just how are these supposed to install when RedHat's own instructions on the
=>page fail to work?
=>
=>  For each RPM for your particular architecture, run: 
=>  rpm -Uvh filename 
=>  where filename is the name of the RPM. 
=>
=>This isn't the only package that does the above, there are others in the
=>updated pacakges that it is as well.
=>
=>MB
=>
=>--
=>


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.



Re: what's /tmp/printtmp.*

2000-02-24 Thread Steven W. Orr

I'm running RH-6.1 with the 6.1 update lpr-0.48-1. I have the same
printtmp files as well. I don't mind going to rawhide, but I at least like
to hear from *someone* who's using it who doesn't have the problem. There
is a -0.50-3 in rawhide. Anybody using it?

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-

On Thu, 24 Feb 2000, Ron Golan wrote:

=>On Thu, Feb 24, 2000 at 12:05:46PM -0800, Fengping Li wrote:
=>> Hello guys,
=>> 
=>> Under /tmp partition, I found many printtmp.* files: say,
=>> printtmp.4657uC 
=>> printtmp.fwVL9r
=>> 
=>> After deleted them, I saved 600MB space. So, what are they?
=>> How were they produced?
=>
=>These file shouldn't be left behind. You should upgrade your lpr
=>package. Check the Red Hat 6.1 updates or rawhide.
=>
=>


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.



Re: pine chopping off messages

2000-02-06 Thread Steven W. Orr

I think I understand what your problem is, but I hope someone else can explain
it better than me.

I use fetchmail as my pop3 client. When I was first trying to set it up, I
found that I was getting one big message, instead of getting lots of
properly sized messages. The solution for me was to use the following
.fetchmailrc:

poll world.std.com
protocol pop3
username steveo
is steveo
password fatchance
mda procmail

The key was the mda line which ran me through procmail. My
.procmailrc used formail:

:0
| formail >> /var/spool/mail/steveo

It was the formail that broke the messages up.

Since that time, I successfully used a program called
install-sendmail which asks a few rude questions and then emits a few
sendmail configuration files as well as a .fetchmailrc.

Now my .fetchmailrc no longer uses procmail as the mda, but I don't
know why it's no longer needed. My new .fetchmail:

poll world.std.com
proto pop3
user steveo with pass fatchance is steveo
here forcecr smtpaddress localhost

Can someone explain why I needed formail before but now I don't?

The plot thickens!

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-

On Mon, 7 Feb 2000, Chris Dowling wrote:

=>Hey folks.
=>
=>I'm currently using netscape as my mail reader.
=>
=>I want to change this to use pine. The problem is that when I load up a
=>mail file that came from netscape in pine a lot of messages are dropped
=>of, or get bundled into one (huge) message. I will admit that the files
=>in question are quite large.
=>
=>Anyhoo: has anyone else come accross this problem? does anyone know
=>what's causing it? does anyone know how to fix it?
=>
=>Here's my current hypothesis: pine has a header message at the top of
=>the mail file. if it is not there then it will insert it. I believe that
=>this "message" is an idex of sorts. when I just use the file sraight
=>from netscape, pine has troubles indexing the file and screws up the
=>index? I don't really know. maybe there's some arbtrary limit on the
=>file size?
=>
=>Any help is appreciated.
=>
=>Regards,
=>Chris Dowling.
=>


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.



Re: Bash script

2000-01-28 Thread Steven W Orr

If no one minds, I'd just like to amplify on this a little. The solution
below uses the primitive Bourne shell method which uses an external
program (expr) to do the arithmetic. Bash has internal functionality to
perform stuff like this. The hashpling at the beginning specifies which
interpreter is to process the script. By specifying your script to use
/bin/sh, you are explicitly *not* writing a bash script.

The script below can be re-written using internal arithmetic functions:

#! /bin/bash
# addnums - adds two numbers input as args and outputs the result
newval=$(($1+$2))
echo "the sum of $1 and $2 is $newval"


-- 
--Time flies like the wind. Fruit flies like a banana.
Stranger things have happened but none stranger than this.---------
Steven W. Orr  [EMAIL PROTECTED] 
---"Listen to me! We are all individuals."-

On Thu, 27 Jan 2000, Jeff Smelser wrote:

=>this worked great, thanks a lot!
=>
=>
=>On Thu, 27 Jan 2000, Bret Hughes wrote:
=>
=>> Try some thing like this
=>> 
=>> 
=>> #! /bin/sh
=>> # addnums - adds two numbers input as args and outputs the result
=>> newval=`expr $1 + $2`
=>> echo 'the sum of ' $1 ' and ' $2 ' is ' $newval 
=>> 
=>> 
=>> Jeff Smelser wrote:
=>> > 
=>> > Just trying to write a bash script and can't seem to figure out how to
=>> > do addition with variables. If someone could give me a quick example, I
=>> > would appreciate it. Thanks


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.



Re: FTP that will script please

2000-01-26 Thread Steven W Orr

I'm sort of amused at the suggestions that are coming out of this
question. The correct answer is: (drum roll please!)

expect

expect is a scripting language designed for programming interactive
responces, especially for programs that do not do IO on std{in,out}.

Ftp *does* read from stdin but your more elegant solution will be expect.

One person responded with a perl interface called ftp. Looks ok, but the
expect solution is much cleaner.

Hope this helps.

-- 
--Time flies like the wind. Fruit flies like a banana.
Stranger things have happened but none stranger than this.-
Steven W. Orr  [EMAIL PROTECTED] 
---"Listen to me! We are all individuals."-

On Wed, 26 Jan 2000, Jim Baxter wrote:

=>Hi
=>
=>We do not seem to be able to run ftp from a shell script or script ftp.
=>The man page talks about macros but they go away at close.
=>What we need is the ability to start ftp, login and get (or put) a list of
=>files and
=>log off all from a shell script
=>
=>Can some one tell me how to do it or where to get RPM of another version of
=>ftp that
=>will do it?
=>
=>Thanks
=>
=>
=>Jim Baxter
=>MIS
=>Morrison Supply Company
=>


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.



Anyone know how to see Mad Magazine cds under Linux?

2000-01-16 Thread Steven W. Orr

I just bought the 7 cd set, Totally Mad, and I was wondering if anyone knows
what I need to be able to not use WinBloze to see the art.

The pictures are not useable by xv or ee. I get 

mad.m2:  JPEG image data, JFIF standard

I'm open to suggestions :-(

TIA

-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
---divided by zero. Listen to me! We are all individuals!-


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.



  1   2   >