Linux-Misc Digest #102, Volume #25 Tue, 11 Jul 00 02:13:05 EDT
Contents:
Re: How to run Lview under Wine (Dances With Crows)
Re: fonts problem in Netscape (Bev)
help with ipmasq icq shell script - please (Jeff Canar)
Re: Java JDK Install Question ([EMAIL PROTECTED])
New HDD and Partion Magic or second PC. ("G-Man")
Re: Really large hard drive ("Todd Lasman")
Weird, really weird??? (Davis Eric)
Re: kdm and redhat 6.1 (muzh)
Re: gnome question ("Kevin Vandersloot")
Re: wuftp patch (gLiTcH)
Re: wuftp patch (gLiTcH)
Re: Application required - Word Processor (Richard Slobod)
Re: 1280x1024 Resolution ([EMAIL PROTECTED])
Re: the "i hate it when that happens" dept. (brian moore)
Re: Inaccurate access_log file ("Andrew N. McGuire ")
Re: linux frame buffering with matrox g400 (brian moore)
FREEWARE - portable Unix utility shell scripts (Richard Anderson)
glibc for corel Photopaint (Juergen Leeb)
Re: Inaccurate access_log file (brian moore)
Re: Identd Server help please ("Andrew N. McGuire ")
Re: Weird, really weird??? (brian moore)
ftp uploading prob (Flounder)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: How to run Lview under Wine
Date: 10 Jul 2000 21:28:56 EDT
Reply-To: [EMAIL PROTECTED]
On Tue, 11 Jul 2000 00:52:02 GMT, [EMAIL PROTECTED]
<<[EMAIL PROTECTED]>> shouted forth into the ether:
>Karl Garrison wrote:
>In my experience Lview is much better then xv or gimp.
>Anyway, I never saw a Linux graphic program that uses
>"thumbnails" (very small pictures created from original
>pictures, that let us to see to all pictures in one shot).
Huh? Then what is this directory called ".xvpics" that I see in those
directories where I use xv to browse images? It seems to contain
thumbnails to me, and not just xv, but ee, kfm (with the "Icon View" and
"View Thumbnails" options selected) and of course xv use this.
kfm is actually not bad for doing this sort of thing... set the options as
indicated; single-click on the right image displays it full-size in
kview. ee or xv may be more to your taste, of course.
--
Matt G / Dances With Crows /\ "Man could not stare too long at the face
\----[this space for rent]-----/ \ of the Computer or her children and still
\There is no Darkness in Eternity \ remain as Man." --David Zindell "So did
But only Light too dim for us to see\ they become Gods, or Usenetters?" --/me
------------------------------
From: Bev <[EMAIL PROTECTED]>
Subject: Re: fonts problem in Netscape
Date: Mon, 10 Jul 2000 19:10:58 -0700
brian moore wrote:
>
> On 5 Jul 2000 17:51:12 GMT,
> James Lee <[EMAIL PROTECTED]> wrote:
> > [EMAIL PROTECTED] wrote:
> > > The fonts in the Netscape browser are messed up. They are either very
> > > small or don't display the correct fonts. How can I rectify this? If I
> > > need to install the proper fonts, what are they and how to get them?
> >
> > You can also modify the netscape.ad file and add it to your .Xdefaults.
>
> Yep, and specifically the value to change is this one:
>
> ! There are 7 font sizes, 1 thru 7. The default font is 3, and the others
> ! are based on this. The default increment is 20%, which means that the 4
> ! is 20% larger than the 3, the 5 is 40% larger, and so on.
>
> *documentFonts.sizeIncrement: 20
>
> Adding 'Netscape*documentFonts.sizeIncrement: 05' to your .Xresources
> (or however you want to do it) makes a HUGE difference. Someone should
> slap Netscape folks around for the HUGE default increment.
Just changed to 08. Be nice if they'd give you some goddam HINT about the
range of numbers that goes here, wouldn't it? Anyway, the cnn story font
was still obscenely small (I use 1280x1024) until I switched to 'use my
fonts all the time.'
You can slap the Netscape folks silly and it still won't do any good...
--
Cheers, Bev
xoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoo
"There are only two reasons to sit in the back row of an airplane:
Either you have diarrhoea, or you're anxious to meet people who do."
-- Rich Jeni
------------------------------
From: [EMAIL PROTECTED] (Jeff Canar)
Subject: help with ipmasq icq shell script - please
Date: Tue, 11 Jul 2000 02:23:38 GMT
I have a sun sparc classic running redhat 6.2 (kernel 2.2.14),
functioning as a server for my internal lan. I have all the firewall
rules specified, and most of the client machines (win95 machines) can
connect to the internet without a problem. I now want to get ICQ
working. I don't think i can use the existing icq module cause i have
sparc architecture, and i guess the thing was compiled for a i86
architecture.
Anyway, from the ipmasq howto, the following example is given using
port forwarding (substituting ipvsadm for ipportfw) to get icq working
the manual way. I use ipvsadm cause ipportfw also is not available
for sparcs (i am not at all proficient with compiling yet).
#!/bin/sh
port=2000
while [ $port -le 2020 ]
do
/sbin/ipvsadm -A -t xxx.xxx.xxx.xxx:$port
port=$((port+1))
done
When i try to execute this script to initialize the virtual ports, it
gives me an error something like:
Missing: [ missing']'
Not knowing anything about shell scripts, i have no idea what is wrong
with the command structure. I copied it exactly from the ipmasq
how-to. Can someone please tell what is wrong?
thanks in advance,
jeff
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Java JDK Install Question
Date: Tue, 11 Jul 2000 02:34:43 GMT
In article <tOda5.1844$[EMAIL PROTECTED]>,
"miles zarathustra" <[EMAIL PROTECTED]> wrote:
> Don't use the one from blackdown.org. Get it from sun instead. It's
> blackdown's anyway.
>
> I not sure how blackdown's version got fouled up, but it did and they
> haven't fixed it for some months now.
>
> http://java.sun.com/products/jdk/1.2/
Well I downloaded the sun version and discovered that my problem was a
typo in my .bash_profile. I had /usr/local/jdk1.1.2/bin instead of
/usr/local/jdk1.2.2/bin. Aaaaaaaaahhhhhhhhhh....
> One of these days I'm going to figure out how to get it to use my
windows
> true-type fonts, since I think they're prettier.
Getting X to use True Type fonts is very nice :)
Brian E. Seppanen
from AREA 54 the secret government disco labs in
Provo Utah
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: "G-Man" <[EMAIL PROTECTED]>
Subject: New HDD and Partion Magic or second PC.
Date: Tue, 11 Jul 2000 02:56:24 GMT
I want to install Mandrake 7.0. I am trying to decide if I should get a
second hard drive and partition magic and run a Windows98 C: Drive and a
dedicated second HDD for Mandrake 7.0. Or, do I save the $$$ and buy a
233MHZ Pentium or similar AMD system and install it there? I can probably
get an inexpensive system for around $400.00 with monitor. I figure with 2
systems, I can use one to access linuxdoc.org or linux-mandrake.com and get
help if needed without having to reboot all the time. FWIW I run a PII 266
with 6.4 GB HDD 192 MB SDRAM.
Thanks for the help,
=G=
------------------------------
From: "Todd Lasman" <[EMAIL PROTECTED]>
Subject: Re: Really large hard drive
Date: Mon, 10 Jul 2000 20:21:10 -0700
I'm using System Commander to repartition the drive. And to answer the
second part of your question, the boot sequence doesn't see the hard drive
at all. It complains that there's no valid drive on which to install the
filesystem (or something like that).
William Burrow <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> On Sun, 9 Jul 2000 18:48:09 -0700,
> Todd Lasman <[EMAIL PROTECTED]> wrote:
> >I'm trying to install Redhat 6.2 on my new 38 gig Maxtor hard drive.
I've
>
> Oh, I thought you meant one of the 70 gig drives coming out....
>
> >partitioned the disk into suitably smaller partitions, but the
installation
>
> Using what exactly?
>
> >program refuses even to recognize that I have a disk at all! Please
don't
>
> During the boot sequence for the install, do you see that your drive is
> recognized by Linux?
>
> >refer me to the Large Drive Mini Howto -- I've looked at it, and it's
quite
> >unhelpful.
>
> In what way? Perhaps the important step is getting Linux to recognize
> the drive at all. I believe the trick with smaller drives was to set the
> BIOS to treat the drive as an 8G model -- Linux doesn't care but LILO
> has to be able to boot somehow.
>
>
> --
> William Burrow -- New Brunswick, Canada o
> Copyright 2000 William Burrow ~ /\
> ~ ()>()
>
------------------------------
From: Davis Eric <[EMAIL PROTECTED]>
Subject: Weird, really weird???
Date: Tue, 11 Jul 2000 03:25:07 GMT
Hi, there,
I met a really weird thing on my machines.
I have two linux servers. And also, I have some files. I put these files
on both of these two servers, under different directories. I am a usual
user, i.e. not the root for both of these two servers. After that, I
wrote a bash shell script on server A to make some symbolic links to the
files I put. The following is the simple shell script I wrote:
#!/bin/sh
ln -s /the directory in server A/filename linkfilename
Then I put this script to bin of my home directory. Then issue the
script filename, it worked. Then I ftp this script to server B and also
put it to the bin of my home directory. After change the content of the
script according to the file locations of server B, I change the mode of
the script to user executable. Then the first weird thing happend. When
I issued script filename, the shell told me that it can not find the
script. Yes, it was. After checking all the modes and the file locations
in the script, I typed again. The shell still told me that it can not
find the script. Then I used ./scriptfilename. The shell still could not
find the script. Then I used "sh scriptfilename", it worked. I also
tried re-login, the shell still could not find the script by
"scriptfilename" or "./scritpfilename". I can say that the mode of the
file is ok.
Then I ftp again from server A to server B to get the script on A. The
more weird thing happend again. I just typed the name of the old script
after I changed its mode, then it worked. After changeing the contents
of the file according to the file location on server B, it still worked.
I really could not understand why the first time of changing failed
although the mode and the file locations are the same.
Any suggestion? Hope I say my problems clearly.
Thanks.
Davis
--
I do not feel shameful if I was and am an idiot; I
will feel shameful if I haven't realized it.
--Myself
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: muzh <[EMAIL PROTECTED]>
Subject: Re: kdm and redhat 6.1
Date: Tue, 11 Jul 2000 15:41:02 +1200
Stephen Inkpen wrote:
>
> I need to get rid of the redhat logo in the top left corner of the X kdm logon
> screen. How would I go about doing this?
>
> please cc any responses to the mailing address..... thank you
>
> Stephen Inkpen
> [EMAIL PROTECTED]
I don't know about Red Hat, but in SuSE you can change many aspects of
kdm (including background, pics etc) by selecting (as root) Settings ->
Applications -> Login Manager.
Hope this helps --
--
Never trust a man in a suit --
cll
------------------------------
From: "Kevin Vandersloot" <[EMAIL PROTECTED]>
Subject: Re: gnome question
Date: Tue, 11 Jul 2000 04:23:03 GMT
In article <8k611i$gs3$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> Hi all, I'm using gnome with enlightment and I
> would like to lauch the programs from my desktop
> with only one mouse click (just as in KDE). Does
> anyone know how (if) can I do that? Thanks,
> Alexandre
You have to edit the source of mc. I did a little hack
to bind the launching to a single click of the middle
button. Here's how I did it ( mc version 4.5.43 )
if you are feeling ambitious. All of this is in the
file 'gdesktop.c' in the gnome directory of the mc
source directory:
first in the routine 'setup_icon_dnd_actions'
I changed the line
GDK_BUTTON1_MASK | GDK_BUTTON2_MASK,
to read
GDK_BUTTON1_MASK,
this just prevents the middle mouse button from
being able to drag and drop
next in the routine 'icon_event' I changed the line
if (event->button.button == 1 || event->button.button == 2) {
to read
if (event->button.button == 1 ) {
next I added the lines:
} else if (event->button.button ==2) {
if (!dii->selected)
select_icon (dii, event->button.state);
retval = TRUE;
before the line:
} else if (event->button.button == 3) {
Next right after it says 'case GDK_BUTTON_RELEASE:'
I have:
if(event->button.button ==1)
{
if (on_text && icon_select_on_text)
{
icon_select_on_text = FALSE;
retval = TRUE;
}
if (dnd_select_icon_pending)
{
select_icon (dii, dnd_select_icon_pending_state);
dnd_select_icon_pending = FALSE;
dnd_select_icon_pending_state = 0;
retval = TRUE;
}
}
else if(event->button.button == 2)
{
gtk_idle_add (idle_open_icon, dii);
icon_select_on_text = TRUE;
retval = TRUE;
}
break;
Now recompile and use the middle button
to launch icons on your desktop.
------------------------------
Date: Tue, 11 Jul 2000 00:30:37 -0500
From: gLiTcH <[EMAIL PROTECTED]>
Subject: Re: wuftp patch
Eric Headley wrote:
> I installed wuftp patch from
> ftp://ftp.slackware.com/pub/slackware/slackware-7.1/patches/
> on to my Slackware 4.0 system. Now I can't log in via ftp. I keep
> getting the message:
> 421 Service not available, remote server has closed connection
> I checked for a patch in the Slackware 4.0 directory but there wasn't
> any. What should I do now ?
I believe this stems from wuftp not being spawned when your connection is
detected. Inetd is not spawning wuftp, or at least it is trying to but
can't. Haven't you checked /var/log/messages for errors?
Brandon
P.S. Quit using html
>
>
> Eric Headley
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
------------------------------
Date: Tue, 11 Jul 2000 00:31:22 -0500
From: gLiTcH <[EMAIL PROTECTED]>
Subject: Re: wuftp patch
Eric Headley wrote:
> I installed wuftp patch from
> ftp://ftp.slackware.com/pub/slackware/slackware-7.1/patches/
> on to my Slackware 4.0 system. Now I can't log in via ftp. I keep
> getting the message:
> 421 Service not available, remote server has closed connection
> I checked for a patch in the Slackware 4.0 directory but there wasn't
> any. What should I do now ?
I believe this stems from wuftp not being spawned when your connection is
detected. Inetd is not spawning wuftp, or at least it is trying to but
can't. Haven't you checked /var/log/messages for errors?
Brandon
>
>
> Eric Headley
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
------------------------------
From: Richard Slobod <[EMAIL PROTECTED]>
Crossposted-To: comp.os.msdos.apps
Subject: Re: Application required - Word Processor
Date: Tue, 11 Jul 2000 00:56:51 -0400
[EMAIL PROTECTED] (Andrew Onifer) wrote:
>On Mon, 10 Jul 2000 13:29:38 -0400, Richard Slobod
>>Microsoft Word for DOS 5.5 is available directly from Microsoft's
>>website:
>
>This is just an update for Word for DOS 5.0 users. I doubt it will run by
>itself (unless you have Word for DOS 5.0).
Microsoft never released any 5.0 to 5.5 upgrade of that type (although I
believe there was a special upgrade _price_) and I can't imagine them going
to the trouble of putting one together now; I'm sure that download contains
the complete set of Word 5.5 install files. It's certainly large enough.
Ironically enough, that would mean that there's actually a complete copy of
Word 5.0 included as well (run "SETUP 5.0" instead of simply "SETUP"),
although I wouldn't suggest using it given its file-corrupting Y2K bug.
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: 1280x1024 Resolution
Date: Tue, 11 Jul 2000 05:00:14 GMT
Homer Jay wrote:
[...]
In my experience, if XF86Setup can't automatically set up
the resolution
you are left with manually hacking your XF86Config, *including* the
video timings. I found this next-to-impossible given my
monitor manufacturer,[...]
Someone pointed out to me that I didn't use XF86Setup correctly. I went
to the ``Modeline'' tab at the top where I saw a list of resolutions,
each with its own button. I clicked on the 1280x1024 button, then
``Done'', and the result was messed up. What's the correct way to do
it? And if I have no choice but to modify XF86Config (I doubt it, my
monitor is considered `good', it should do 1280x1024 with no problem)
what _exact_ info should I look for in my manual?
Thanks a lot!
-- John
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED] (brian moore)
Subject: Re: the "i hate it when that happens" dept.
Date: 11 Jul 2000 05:11:18 GMT
On Mon, 10 Jul 2000 16:27:56 GMT,
mindglow <[EMAIL PROTECTED]> wrote:
> He said: "good work, mindglow, you did good. really. now go and fix the
> other server."
> I said: "but it'll go down again tomorrow. it's not ment to be a cdrom
> server and the cdtower app. totally bites wind."
> He said: "if it downs then too bad, but you're not putting that untried,
> untested linux configuration who no one else can administer but yourself
> into production."
>
> And you know what? Even though i hated it when it happened, he's right.
So a "tried and failed" system is better than even a "this should
probably work" system?
--
Brian Moore | Of course vi is God's editor.
Sysadmin, C/Perl Hacker | If He used Emacs, He'd still be waiting
Usenet Vandal | for it to load on the seventh day.
Netscum, Bane of Elves.
------------------------------
From: "Andrew N. McGuire " <[EMAIL PROTECTED]>
Subject: Re: Inaccurate access_log file
Date: Tue, 11 Jul 2000 00:15:37 -0500
On 10 Jul 2000, Jason Rotunno quoth:
[]
[] How good are linux's logging facilities? I have a website which has a
[] counter from thecounter.com. Every once in a while a hit shows up on
[] thecounter that isn't in the access_log file. I think I remember that
[] linux's logs aren't 100% and sometimes leave stuff out, but I wanted
[] other people's opinions.
That is an Apache log, if I understand what you are saying. Also
How can you be sure that your counter is 100% accurate?
Regards,
anm
--
/*------------------------------------------------------------------------.
| Andrew N. McGuire |
| [EMAIL PROTECTED] |
| perl -le'print map?"(.*)"?&&($_=$1)&&s](\w+)]\u$1]g&&$_=>`perldoc -qj`' |
`------------------------------------------------------------------------*/
------------------------------
From: [EMAIL PROTECTED] (brian moore)
Subject: Re: linux frame buffering with matrox g400
Date: 11 Jul 2000 05:18:56 GMT
On Mon, 10 Jul 2000 17:03:59 GMT,
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hello I'm encountering a
> problem with the frame buffering and I can't solve it.
>
> I'm willing to use frame buffering with my desktop with a matrox G400
> 32Mb installed in it. Using the vesa 2.0 fb I've reached the maximum
> resolution of 800x600 as the graphic board seems not to support natively
> the vesa standard 1240x768 but only with its proprietary drivers.
> With matroxfb the situation doesn't seem to change. I've followed the
> instructions in the various howtos but I didn't manage to reach that
> resolution and I thought that the support guaranteed for millenium,
> mystique and g100,g200 is not guaranted for g400. Where am I making a
> mistake?
Dunno, I use matroxfb on my G200 and G400 (mainly for prettier consoles:
I still use the SVGA X server, since fb access doesn't get you
acceleration and the SVGA server does do quite a bit of acceleration on
the Matrox cards).
What works for the G200 should work fine on the G400: the chips are
virtually identical except for speed.
With the matroxfb, just boot normally (nothing special needed in your
lilo options), and use 'fbset' to set the resolution. This lets you
fiddle with it on the fly, and why VESA fb's should really only be used
by people who -must- use them: you can't change the resolution on the
fly.
--
Brian Moore | Of course vi is God's editor.
Sysadmin, C/Perl Hacker | If He used Emacs, He'd still be waiting
Usenet Vandal | for it to load on the seventh day.
Netscum, Bane of Elves.
------------------------------
From: [EMAIL PROTECTED] (Richard Anderson)
Date: Mon, 10 Jul 2000 22:08:25 -0500
Subject: FREEWARE - portable Unix utility shell scripts
The software product Typhon (www.unixscripts.com) contains over 100 portable
Korn shell scripts for text processing, file and directory processing,
customizing your login environment, disk space management, performance
analysis, system monitoring and system security. It includes generalized
login environment files for the Korn shell, bash and the C shell.
Some of the functions of Typhon:
* Substitute one text string for another in all files in a directory tree,
skipping non-text files. The substitution strings can be regular expressions
or plain text.
* Display all subdirectories as a visual directory tree.
* Copy a file to multiple remote hosts, with disk backup of the target file on
each host.
* List all subdirectories in one or more directories, including symbolic links
to directories.
Part of Typhon is distributed as freeware, part as a commercial product. You
can download the freeware or purchase the product at www.unixscripts.com.
Richard Anderson, Ph.D.
Chief Technology Officer, Raycosoft
------------------------------
From: Juergen Leeb <[EMAIL PROTECTED]>
Subject: glibc for corel Photopaint
Date: Tue, 11 Jul 2000 07:16:24 +0200
Dies ist eine mehrteilige Nachricht im MIME-Format.
==============917E08CBE05BCF3E876C604E
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
recently I downloaded Corel Photopaint for Linux.
I am using Suse 6.4.
But Glibc delivered with suse doesn' t work for Photopaint.
Where Can I get the latest glibc for Suse?
==============917E08CBE05BCF3E876C604E
Content-Type: text/x-vcard; charset=us-ascii;
name="juergen.leeb.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Visitenkarte f�r Juergen Leeb
Content-Disposition: attachment;
filename="juergen.leeb.vcf"
begin:vcard
n:Leeb;Juergen
x-mozilla-html:TRUE
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
fn:Juergen Leeb
end:vcard
==============917E08CBE05BCF3E876C604E==
------------------------------
From: [EMAIL PROTECTED] (brian moore)
Subject: Re: Inaccurate access_log file
Date: 11 Jul 2000 05:20:14 GMT
On Mon, 10 Jul 2000 20:35:34 GMT,
Bob Hauck <[EMAIL PROTECTED]> wrote:
> On 10 Jul 2000 19:58:42 GMT, Jason Rotunno <[EMAIL PROTECTED]> wrote:
>
> >How good are linux's logging facilities? I have a website which has a
> >counter from thecounter.com. Every once in a while a hit shows up on
> >thecounter that isn't in the access_log file.
>
> I have not ever seen Apache fail to log a hit in the access_log. I
> would suspect that something or someone is hitting your offsite counter
> without going through your web site. An indexing bot maybe?
Or more likely, the meta data for the web page doesn't forbid caching,
while the meta data for the counter image does and someone is browsing
through a proxy server that honors such tags.
--
Brian Moore | Of course vi is God's editor.
Sysadmin, C/Perl Hacker | If He used Emacs, He'd still be waiting
Usenet Vandal | for it to load on the seventh day.
Netscum, Bane of Elves.
------------------------------
From: "Andrew N. McGuire " <[EMAIL PROTECTED]>
Subject: Re: Identd Server help please
Date: Tue, 11 Jul 2000 00:19:43 -0500
On Mon, 10 Jul 2000, Curtman quoth:
[] Hi there,
[]
[] A simple issue that's driving me kind of nuts here so I need to ask it. I
[] have a network with 2 windows machines sharing an ADSL connection through a
[] linux box running Mandrake 6.1. I use IRC on the windows machine and the
[] linux machine but regardless if I'm using the windows machine or the linux
[] system it tells me that my ident server is not responding. I'll be honest
[] I'm quite new at linux and I'm not too familliar with ident. I looked
[] through the man for it and it wasn't too helpfull and I've gone through all
[] kinds of documentation and it dosen't seem to help. I've edited the
[] inetd.conf file to have the proper ident line in there but I still can't get
[] a response from port 113.
[]
[] Could someone please give me a link to a site that explains ident in great
[] detail so I could get this working or possibly email me to let me know how
[] to correct this please?
http://www.google.com
anm
--
/*------------------------------------------------------------------------.
| Andrew N. McGuire |
| [EMAIL PROTECTED] |
| perl -le'print map?"(.*)"?&&($_=$1)&&s](\w+)]\u$1]g&&$_=>`perldoc -qj`' |
`------------------------------------------------------------------------*/
------------------------------
From: [EMAIL PROTECTED] (brian moore)
Subject: Re: Weird, really weird???
Date: 11 Jul 2000 05:24:30 GMT
On Tue, 11 Jul 2000 03:25:07 GMT,
Davis Eric <[EMAIL PROTECTED]> wrote:
> Hi, there,
>
> I met a really weird thing on my machines.
>
> I have two linux servers. And also, I have some files. I put these files
> on both of these two servers, under different directories. I am a usual
> user, i.e. not the root for both of these two servers. After that, I
> wrote a bash shell script on server A to make some symbolic links to the
> files I put. The following is the simple shell script I wrote:
>
> #!/bin/sh
> ln -s /the directory in server A/filename linkfilename
>
> Then I put this script to bin of my home directory. Then issue the
> script filename, it worked. Then I ftp this script to server B and also
> put it to the bin of my home directory. After change the content of the
> script according to the file locations of server B, I change the mode of
> the script to user executable. Then the first weird thing happend. When
> I issued script filename, the shell told me that it can not find the
> script. Yes, it was. After checking all the modes and the file locations
> in the script, I typed again. The shell still told me that it can not
> find the script. Then I used ./scriptfilename. The shell still could not
> find the script. Then I used "sh scriptfilename", it worked. I also
> tried re-login, the shell still could not find the script by
> "scriptfilename" or "./scritpfilename". I can say that the mode of the
> file is ok.
>
> Then I ftp again from server A to server B to get the script on A. The
> more weird thing happend again. I just typed the name of the old script
> after I changed its mode, then it worked. After changeing the contents
> of the file according to the file location on server B, it still worked.
>
> I really could not understand why the first time of changing failed
> although the mode and the file locations are the same.
>
> Any suggestion? Hope I say my problems clearly.
Because on 'Server B', the directory is in a file system that is mounted
'noexec'. See the man page for mount.
--
Brian Moore | Of course vi is God's editor.
Sysadmin, C/Perl Hacker | If He used Emacs, He'd still be waiting
Usenet Vandal | for it to load on the seventh day.
Netscum, Bane of Elves.
------------------------------
From: Flounder <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.mandrake
Subject: ftp uploading prob
Date: Tue, 11 Jul 2000 00:21:16 -0500
I am running Mandrake 7.0 and I am haveing trouble with ftp uploading.
I can upload small files (<3-5k) but when I try to upload a .gif file
I have 16k it gets about 9k uploaded and stalls. What it is doing is
it starts uploading at about 2k sec and then slowly winds down and
stalls a doesnt finish uploading and I have to disconnect and
reconnect to the internet to doing anything else on the net. I have
tried uploading through 3 programs (ftp, gFtp, netscape) and they all
do the same thing. I have also tried a text file that was around 16k
and that did not work either. I tried the same files on Redhat 6.2 and
they uploaded no prob. I was wondering if maybe I would need to
upgrade the kernal or what would I have to do to fix this.
Thanks
--
Flounder
>+++++++[<++++++++++>-]<++++.---------.+.++++.++.
------------------------------
** 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 (and comp.os.linux.misc) via:
Internet: [EMAIL PROTECTED]
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
******************************