Linux-Misc Digest #415, Volume #27 Wed, 21 Mar 01 20:13:04 EST
Contents:
Re: how to install the glibc in /lib ? (Juergen Heinzl)
Re: Newsreader in Linux ? (Alex Fitterling)
Re: Newsreader in Linux ? (Alex Fitterling)
Xterm keys not working. ("David Edwards")
running crontab with relative link in the program ("mingming")
Re: Weird(?) magic word for sh to invoke perl under Linux (Abigail)
*Good* Office software for linux??? (Dan Smith)
Re: I did 'dd if=/boot/mbr.b of=/dev/hda' :-((( (Otavio Exel)
Re: GET RACIST SIPHER42 OUT OF THIS GROUP! ("Brian L. McCarty")
RH 6.2 does'nt recognize 2nd NIC? (Teeitup816)
Re: *Good* Office software for linux??? (Jean-David Beyer)
Re: bash environment (Goodyear)
Any way to redirect a port scan? (Warren Bell)
Installation of RedHat Linux 7 with PartitionMagic 5 (Nuno)
Re: Any way to redirect a port scan? (Robert Lynch)
cdrecord and Yamaha: THANKS ALL! (AJL)
Re: Any way to redirect a port scan? (Warren Bell)
Re: *Good* Office software for linux??? (Carl Fink)
Re: pdf (was: Best E-mail Client?) (Carl Fink)
Upgrading kernal? (hoffmyster)
Apache: links under htdocs directory (Neil Zanella)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Juergen Heinzl)
Subject: Re: how to install the glibc in /lib ?
Date: Wed, 21 Mar 2001 22:11:52 GMT
In article <99aca8$ks8$04$[EMAIL PROTECTED]>, Thomas Weidner wrote:
>Hi NG,
>
>i've downloaded the glibc2.2.2 and want to upgrade my glibc2.1.3. I've done
>the following:
>./configure --prefix=/usr --enable-add-ons
>make
>make install
>
>and "make install" exits with the error "ln: no such file or dictonary"(or
>something like that). AFAIK "make install" deletes /lib/libc.so.6 and then
>wants to copy the new to this position,but after deleting /libc/libc.so.6
>all shared linked programm,include the shell, won't work anymore.
[-]
Jesus no, it does *not* delete athem and it's up to you to remove,
very carefully, any old libraries once you're sure all's working.
>What have i done wrong ? and how can i do it better ?
[-]
You did not remove any files in /lib or /usr/lib ? You could run make
check after the compilation ? ln: no such file or directory is almost
impossible IMHO as it even an empty argument, ln "", results in a slightly
different message.
Ta',
Juergen
--
\ Real name : Juergen Heinzl \ no flames /
\ EMail Private : [EMAIL PROTECTED] \ send money instead /
------------------------------
From: Alex Fitterling <[EMAIL PROTECTED]>
Subject: Re: Newsreader in Linux ?
Date: Wed, 21 Mar 2001 23:08:15 +0100
Thanks...
------------------------------
From: Alex Fitterling <[EMAIL PROTECTED]>
Subject: Re: Newsreader in Linux ?
Date: Wed, 21 Mar 2001 23:09:15 +0100
[EMAIL PROTECTED] wrote:
> You can use scoring to make certain threads appear "first" in the list
> of messages ... that's often what I do when posting a message to a high
> traffic group.
I see... yes this might help...
Thanks,Alex
------------------------------
From: "David Edwards" <[EMAIL PROTECTED]>
Subject: Xterm keys not working.
Date: Wed, 21 Mar 2001 22:19:02 -0000
There are certain keyboard keys (home - end) which are not recognised when
I'm in xterm, xterm-color, Kvt and Konsole and using a command-line editor
(jed). The keys are recognised in rxvt though. I'm sure this is an "old"
problem, but my memory is also "old" and fails me. Any ideas how to get
around this.
Thanks in advance.
Dave E.
------------------------------
From: "mingming" <[EMAIL PROTECTED]>
Subject: running crontab with relative link in the program
Date: Tue, 20 Mar 2001 18:24:57 +0800
*** post for FREE via your newsreader at post.newsfeeds.com ***
Hi,
I have a perl program which collect a bunch of files and tar it with a
relative link:
$path = "../www/docsfiles/";
$tar_files = "$path*.cgi";
$tar_files .= "$path*.cgi";
system ("tar cvf archive/$today.tar $archive_files");
and I want to put it into a cron job. But when the cron run, it return an
error like
tar: can't change directories to ../www/docsfiles/
it run perfectly fine under it's own directory. Seems like cron is taking
the path from
/tmp/ . Can someone tell me how to fix it? I don't want to use fixed path
when tar the files.
thanks for your help.
ming
====== Posted via Newsfeeds.Com, Uncensored Usenet News ======
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
======= Over 90,000 Newsgroups = 16 Different Servers! ======
------------------------------
From: [EMAIL PROTECTED] (Abigail)
Crossposted-To: comp.unix.shell,comp.lang.perl.misc
Subject: Re: Weird(?) magic word for sh to invoke perl under Linux
Date: Wed, 21 Mar 2001 22:26:49 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
* Tong * ([EMAIL PROTECTED]) wrote on MMDCCLIX September MCMXCIII in
<URL:news:[EMAIL PROTECTED]>:
() Hi,
()
() Under Solaris, I always use the following lines in my perl code to
() invoke it:
()
() #!/bin/sh -- # -*- perl -*- -w
() eval 'exec perl $0 ${1+"$@"}'
() if 0;
()
() But after moving to Linux, I got very frustrated with this setting,
() and I can't even get the following to work:
()
() #!/bin/sh -x
() eval 'exec `which perl` $0 ${1+"$@"}' # -*- perl -*- -w
() if 0;
Well, let's see what happens.
0 You fire up the program, handing over control to the kernel.
1 Whatever is in control notices the #! hack, fires up /bin/sh for
you, and feeds the file to the shell.
2 The shell ignore the first line, it being a comment.
3 The shell sees the second line, does the interpolation, and then
execs (replacing itself with) perl, giving it the file name as argument.
4 Perl peeks at the file, sees it starts with the #! hack, not followed
by something Perl like, and decides to impersonate the kernel.
5 Goto 1.
Abigail
--
my $qr = qr/^.+?(;).+?\1|;Just another Perl Hacker;|;.+$/;
$qr =~ s/$qr//g;
print $qr, "\n";
------------------------------
From: Dan Smith <[EMAIL PROTECTED]>
Subject: *Good* Office software for linux???
Date: 21 Mar 2001 17:18:09 -0500
I have tried staroffice, koffice, and wordperfect. Can someone tell me how I am
supposed to get something done in Linux??? All I need is a good word processor like
word, but all the ones I've tried are not that great. I need something that looks
decent on the screen (i.e. not choppy fonts) and allows me to do most of the normal
things I need to do.
I know people get Word working under linux thru wine. Can someone lead me in the
right direction? Do I need to have a working copy of it and windows on my HDD? Does
it need to be Win9x?
Thanks!
--Dan
------------------------------
From: [EMAIL PROTECTED] (Otavio Exel)
Subject: Re: I did 'dd if=/boot/mbr.b of=/dev/hda' :-(((
Date: 21 Mar 2001 22:46:54 GMT
Reply-To: [EMAIL PROTECTED]
> "Otavio Exel" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > everything is fine except that I don't have a master boot record in
Davide Bianchi <[EMAIL PROTECTED]> wrote:
>
> Every disk have a MBR, sometimes it is not initialized (aka: does not
> contain any valid initialization code). If you want to install LILO on
> it, simply run lilo to update the MBR.
really?? that's bad news because I've run lilo more than once and still
can't boot from this HD (QUANTUM FIREBALLlct20 30, ATA DISK); sometimes
the box just freezes after stating that if found a valid boot record in
IDE-0 and sometimes I get the "LI" displayed :-(((
what should I do?
is there any further info I could provide?
thanks!
--
Otavio Exel /<\oo/>\ [EMAIL PROTECTED]
------------------------------
Subject: Re: GET RACIST SIPHER42 OUT OF THIS GROUP!
From: "Brian L. McCarty" <[EMAIL PROTECTED]>
Crossposted-To:
alt.food.wine,rec.autos.makers.ford.mustang,alt.movies,rec.collecting.coins,alt.autos.porsche,alt.tv.sopranos
Date: Wed, 21 Mar 2001 23:13:42 GMT
in article foYt6.156052$[EMAIL PROTECTED],
[EMAIL PROTECTED] at [EMAIL PROTECTED] wrote on 21/3/01
17:04:
> Where are you
> getting this sexist stuff
All anyone has to do is go to your website www.bastardcard.com and the home
page has the most vile sexist photo, and text.
Comparing the website IP address with your POSTING website address proves
it's you.
Sipher42 aka [EMAIL PROTECTED] Proven Racist and Sexist. Dead
Hotmail address.
Adios, muchachos!
------------------------------
From: [EMAIL PROTECTED] (Teeitup816)
Date: 21 Mar 2001 23:18:08 GMT
Subject: RH 6.2 does'nt recognize 2nd NIC?
I've successfully installed Redhat 6.2 on a P75 server. At the time of install,
only one NIC was installed. I've added a second NIC, because I want the Linux
server to act like a router. I believe I've installed the Linux drivers
succesfully on the server, but Linux does not list my second ethernet device.
When I executed "netstat -i" I expected to see eth0 and eth1 listed, but I
only see eth0.
Since I'm fairly new to Linux, I'm sure I missed a step. Can anyone help me
with this problem?
Thank you in advance for responding so quickly.
Vince
------------------------------
From: Jean-David Beyer <[EMAIL PROTECTED]>
Subject: Re: *Good* Office software for linux???
Date: Wed, 21 Mar 2001 18:52:08 -0500
Dan Smith wrote:
>
> I have tried staroffice, koffice, and wordperfect. Can someone tell me how I am
>supposed to get something done in Linux??? All I need is a good word processor like
>word, but all the ones I've tried are not that great. I need something that looks
>decent on the screen (i.e. not choppy fonts) and allows me to do most of the normal
>things I need to do.
>
> I know people get Word working under linux thru wine. Can someone lead me in the
>right direction? Do I need to have a working copy of it and windows on my HDD? Does
>it need to be Win9x?
>
When people send me Microsoft Word documents, I import them into
Applixware if possible. When not possible, I send them back and tell
them to set their Microsoft Word to stop using the FastSave option.
I can then modify the documents and export them as .rtf format and
return them. The stuff in Applix words does not look exactly the same
as it does to the sender because the fonts come out a little
different, so my versions have extra pages with widows at the top of
most of them (except the first, of course). When I send them back,
they get the widows, too. A good educational experience for them, or
at least the opportunity to see what a shitty Word document looks
like.
If I originate a document I prefer a text processor to a word
processor so I can concentrate on the content instead of wasting all
my time on the form. I do it in LaTex or Lyx, and then send them a
snail-mail copy and tough for them. I used to use troff in the old
days, but I have never found the macro definitions (I can find the
files, just not the book on how to use them; it used to be a fat TM at
Bell Labs, but I no longer work there and cannot get a copy. They can
key it in to their machines if they want to. Or scan it these days, I
suppose. I know there is a .ps to .pdf convertor, but when I run that,
the fonts look very crappy. I guess I need to have exactly the same
fonts they have, but I do not.
--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ Registered Machine 73926.
/( )\ Shrewsbury, New Jersey http://counter.li.org
^^-^^ 6:45pm up 19 days, 1:48, 3 users, load average: 3.08, 3.11, 2.78
------------------------------
From: Goodyear <[EMAIL PROTECTED]>
Subject: Re: bash environment
Reply-To: [EMAIL PROTECTED]
Date: Wed, 21 Mar 2001 19:32:05 -0500
Peter T. Breuer wrote:
> >> There is no magic. It is there. Look again. You are probably not
> >> noticing the includes of the contents of directories. Run with set -x
> >> to debug.
>
> > set -x doesn't do anything visible. I couldn/t find a man page for it.
>
> You don't understand. I am talking about bash. Run bash with -x set.
> I.e. put "set -x" in the scripts or on the bash command line, as in
> "bash -x ~/.bash_profile". Yes, it most certainly does do something
> very visible! That's the point. Read the man page again.
>
> Peter
Well...that sure does produce something visible!
I was just entering set -x assuming it was like set which listed out the
environment.
Now that I have added the export statement to every file I could see, it
seems to be okay. Thanks for your help.
--
thanks....Brian
------------------------------
From: Warren Bell <[EMAIL PROTECTED]>
Subject: Any way to redirect a port scan?
Date: Wed, 21 Mar 2001 16:34:42 -0800
Say you have a pesky person that port scans you daily. Is there any
package I can install that will let me redirect all traffic (port scans)
from a certain IP to his/her own ISP so they are scanning thier own
provider? And where it looks like the scans are coming from thier own
client and not from me?
I've heard of people doing this with mail bombs but can it be done with
scanning?
TIA
------------------------------
From: Nuno <[EMAIL PROTECTED]>
Subject: Installation of RedHat Linux 7 with PartitionMagic 5
Date: Thu, 22 Mar 2001 00:30:10 -0000
How do i install RedHat Linux 7 with PartitionMagic 5.
I allready have one partition with Windows NT4 and other with Windows 98
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: Robert Lynch <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: Any way to redirect a port scan?
Date: Wed, 21 Mar 2001 16:36:23 -0800
Warren Bell wrote:
>
> Say you have a pesky person that port scans you daily. Is there any
> package I can install that will let me redirect all traffic (port scans)
> from a certain IP to his/her own ISP so they are scanning thier own
> provider? And where it looks like the scans are coming from thier own
> client and not from me?
>
> I've heard of people doing this with mail bombs but can it be done with
> scanning?
>
> TIA
The MIRROR target of iptables can do this. From the man page:
===
...
MIRROR
This is an experimental demonstration target which inverts
the source and destination fields in the IP header and
retransmits the packet. It is only valid in the INPUT,
FORWARD and PREROUTING chains, and user-defined chains
which are only called from those chains. Note that the
outgoing packets are NOT seen by any packet filtering
chains, connection tracking or NAT, to avoid loops and
other problems.
...
===
Bob L.
--
Robert Lynch Berkeley CA USA [EMAIL PROTECTED]
------------------------------
From: AJL <[EMAIL PROTECTED]>
Subject: cdrecord and Yamaha: THANKS ALL!
Date: Thu, 22 Mar 2001 00:42:30 GMT
Just wanted to thank all that helped me these past 2 days getting things
straightened out: Lyndon Bartels for the effort (problem solved before I
read your post), Davide Bianchi for 'make menuconfig', and David Effland
who gave me my solution.
I had the source for 2.4.2 sitting in /root for a while now, and I wanted
to try David Efflandt's suggestion of compiling SCSI generic support
(CONFIG_CHR_DEV_SG, sg) instead of loading the module, so I thought what
the heck =) It turned out to be a great solution since I was running a
stock 2.2.13 scsi kernel, and loading 10 modules. Now I have
'upgraded' to 2.4.2, plus an empty /proc/modules, /plus/ cdrecord
recognizes my drive, finally. I am a very happy camper =)
Yours toastingly,
Andy
I thought pico was the default UNIX editor!?
root at yggdrasil.27south.com
------------------------------
From: Warren Bell <[EMAIL PROTECTED]>
Subject: Re: Any way to redirect a port scan?
Date: Wed, 21 Mar 2001 16:48:10 -0800
Robert Lynch wrote:
>
> Warren Bell wrote:
> >
> > Say you have a pesky person that port scans you daily. Is there any
> > package I can install that will let me redirect all traffic (port scans)
> > from a certain IP to his/her own ISP so they are scanning thier own
> > provider? And where it looks like the scans are coming from thier own
> > client and not from me?
> >
> > I've heard of people doing this with mail bombs but can it be done with
> > scanning?
> >
> > TIA
>
> The MIRROR target of iptables can do this. From the man page:
> ===
> ...
> MIRROR
> This is an experimental demonstration target which inverts
> the source and destination fields in the IP header and
> retransmits the packet. It is only valid in the INPUT,
> FORWARD and PREROUTING chains, and user-defined chains
> which are only called from those chains. Note that the
> outgoing packets are NOT seen by any packet filtering
> chains, connection tracking or NAT, to avoid loops and
> other problems.
> ...
> ===
>
> Bob L.
> --
> Robert Lynch Berkeley CA USA [EMAIL PROTECTED]
Thanks, but I can't run iptables. I'm running kernel 2.2.17. Is there
any other way to do this? I am running ipchains. Maybe with ipmasqadm?
------------------------------
From: [EMAIL PROTECTED] (Carl Fink)
Subject: Re: *Good* Office software for linux???
Date: 21 Mar 2001 23:45:28 GMT
Reply-To: [EMAIL PROTECTED]
On 21 Mar 2001 17:18:09 -0500 Dan Smith <[EMAIL PROTECTED]> wrote:
Please wrap your lines at under 80 characters.
I don't have any font problems with StarOffice, myself. What's your
X font setup?
>I know people get Word working under linux thru wine. Can someone
>lead me in the right direction?
See http://www.winehq.com and http://www.winecentric.com.
>Do I need to have a working copy of it and windows on my HDD?
No on Windows (if you use Wine), yes on a copy of Word (obviously).
If you use the commercial VMWare, you'd also need a copy of Windows.
(http://www.vmware.com/)
>Does it need to be Win9x?
Does *what* have to be Win9x?
--
Carl Fink [EMAIL PROTECTED]
Manager, Dueling Modems Computer Forum
<http://dm.net>
------------------------------
From: [EMAIL PROTECTED] (Carl Fink)
Subject: Re: pdf (was: Best E-mail Client?)
Date: 21 Mar 2001 23:48:17 GMT
Reply-To: [EMAIL PROTECTED]
I haven't seen a mention in this thread of antiword and catdoc, two
tools that convert MS Word files to ASCII text.
--
Carl Fink [EMAIL PROTECTED]
I-Con's Science and Technology Programming
<http://www.iconsf.org/>
------------------------------
From: hoffmyster <[EMAIL PROTECTED]>
Subject: Upgrading kernal?
Date: Wed, 21 Mar 2001 20:04:03 -0500
I'm pretty new to Linux so please bear with me.
I am using RH5.2 with kernal 2.2.14.
Can anyone please tell me if it is worth my while to upgrade to 2.4.2??
I have already tried to do this and I am running into difficulty.
It appears that possibly I don't have the latest modutils, binutils,
etc.
I do have according to the changes file the correct versions of gcc and
make.
Has anyone out there successfully upgraded from pre 2.2.x to 2.4.2?
If so did you have to do anything beyond just configuring, compiling and
installing?
Thanks,
RLH
------------------------------
From: Neil Zanella <[EMAIL PROTECTED]>
Subject: Apache: links under htdocs directory
Date: Wed, 21 Mar 2001 21:34:44 -0330
Hello,
On Red Hat Linux 6.2 I was able to place a symbolic link under
/home/httpd/html called alldocuments -> / pointing to the root
directory /. Thus accessing the web page http://127.0.0.1/alldocuments/
from the local computer or
http://www.mycomputer.mytopleveldomain/alldocuments/
allows anyone on my network to see all files located under the root
directory with a web browser and download them. This may sound a bit
strange but that is what I needed to do.
I tried doing the same thing from a Win2000 computer running Apache.
I placed the symlink in the htdocs directory but it did not work no
matter if I created the symlink to C: or / or C:\ with DOS or with
cygwin. Apache is running but I could not see the entire filesystem
like on Linux with netscape. Any suggestions?
Netscape reports:
!<symlink>/ or L
or some other error such as Not Found when I try it.
How can I make it work?
Thanks,
Neil
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list by posting to comp.os.linux.misc.
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Misc Digest
******************************