Linux-Misc Digest #777, Volume #26 Thu, 11 Jan 01 00:13:03 EST
Contents:
How to copy many index.html in one directory to today's file name at one time
(Daisuke Kanzaki)
Re: MP3 to wav or audio cd ([EMAIL PROTECTED])
Re: kill 'n cat ([EMAIL PROTECTED])
Re: Help! Printer doesn't stop printing!!! ([EMAIL PROTECTED])
Re: Swap Partition Size (Jean-David Beyer)
Re: Palm data to gnome-cal, gnome-card? (Cathy Gramze)
Re: PPP and a Palm IIIxe? (Cathy Gramze)
Re: How to I set ipchains live with ICQ? (Edwin Johnson)
Which version of XFree86 am I running ? ("Arctic Storm")
Re: question: deleting/undeleting disk partitions ("cr88192")
help with running X-win32 with RedHat 7.0 (Hung Ngoc Lai)
Re: Swap Partition Size ("Arctic Storm")
Please Help! Can't load XKB Keymap! ("Jason Bond")
Re: Which version of XFree86 am I running ? (Alex)
Re: Backup software for Linux? (Dave Brown)
Re: [OT] - AntiTrust comes out this Friday! ("Ken Carriere")
Re: question: deleting/undeleting disk partitions (Dances With Crows)
need NAT help please................ ([EMAIL PROTECTED])
Animated Gif Viewer (Brian & Colleen)
changing window managers & .Xclients (Steve Connet)
----------------------------------------------------------------------------
From: Daisuke Kanzaki <[EMAIL PROTECTED]>
Subject: How to copy many index.html in one directory to today's file name at one time
Date: Thu, 11 Jan 2001 12:09:20 +0900
Hello,
There is many many index.html files in /nki of a directory.
I am at a loss how the index.html should be copied or renamed
today's file name at one time.
In case of creating today's name, I know the following command
should be used. touch `date '+%y%m%d'`.html
Then, I know the way of looking for index.html in one directory
as shown below.
find . -name "index.html"
For example, if index.html exist in /nki/abc,
cp index.html `date '+%y%m%d'`.html
I would like to do this action in one directory at a one time.
But I don't imagine how these command should be combined at all.
Does anyone have a good idea to solve this problem.
Daisuke Kanzaki
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: MP3 to wav or audio cd
Date: Wed, 10 Jan 2001 13:22:46 GMT
Bill Unruh <[EMAIL PROTECTED]> wrote:
: In <[EMAIL PROTECTED]>
: [EMAIL PROTECTED] (Dances With Crows) writes:
: The man page does not mention any -w option. for mpg123. Is this an
: undocumented feature?
Like far too often, the manpage hasn't been updated in ages! :-(
Try: mpg123 without any arguments (the author alone knows why
mpg123 -h doesn't work) or mpg123 --longhelp and voila; there it
is. :-)
Regards,
Friedhelm
--
Microsoft is NOT the answer. Microsoft is the Question.
The answer is: "NO!"
===================================================================
Friedhelm Mehnert, Berliner Allee 42, 22850 Norderstedt, Germany
phone + fax: +49-40-5236562 email: [EMAIL PROTECTED]
===================================================================
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: kill 'n cat
Date: Wed, 10 Jan 2001 13:40:54 GMT
Brian V. Smith <[EMAIL PROTECTED]> wrote:
: In article <[EMAIL PROTECTED]>, "Lion" <[EMAIL PROTECTED]> writes:
: |> kill -HUP 'cat /var/run/xxx.pid'
: Those should be ` not ' (backquotes, not apostrophes)
Another way of doing it is:
kill -HUP $(cat /var/run/xxx.pid).
Regards,
Friedhelm
--
Microsoft is NOT the answer. Microsoft is the Question.
The answer is: "NO!"
===================================================================
Friedhelm Mehnert, Berliner Allee 42, 22850 Norderstedt, Germany
phone + fax: +49-40-5236562 email: [EMAIL PROTECTED]
===================================================================
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Help! Printer doesn't stop printing!!!
Date: 10 Jan 2001 22:12:30 -0500
Kill the lpd daemon, then empty out the printer spool directory then run
"checkpc -f"? (assuming you are on as root)
------------------------------
From: Jean-David Beyer <[EMAIL PROTECTED]>
Subject: Re: Swap Partition Size
Date: Wed, 10 Jan 2001 22:13:05 -0500
Bob Simon wrote:
>
> When I originally installed RH7, I had 16MB RAM and allocated 32MB to
> the swap partition. I've just installed another 32MB RAM for a total
> of 48MB.
>
> I've read that the swap partition should be at least as large as the
> total amount of memory. Why? What are the consequences of not having
> as much swap space as real memory?
>
> After DOS, /boot, and Linux swap, the root partition is allocated the
> balance of my drive space. If I need to increase my swap partition, how
> do I do so at the expense of the root partition?
>
IMAO, adding real memory should not increase your need for swap space.
If anything, you might need less swap space. If you were Bill Gates or
someone, you could put 256 Gigabytes of main memory in your machine
(perhaps not on a 32-bit machine, but he could get an Alpha machine or
something, if he did not insist on running his own corporate software on
it). I bet it would never need to swap.
I have 512 Megabytes on this machine (I remember when you could not even
get hard drives that big, and they went only 2400 rpm), and I think it
swaps every once in a while just to prove it can do it. While I have
about 270Megabytes of swap space, it is using only 9.9 Megabytes of
swap. Furthermore, it is using 13 Megabytes of buffers and 379 Megabytes
of cache. It could obviously move those paltry 9.9 megabytes back into
main memory if it wanted to. There are over 11 Megabytes free memory,
too.
--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ Registered Machine 73926.
/( )\ Shrewsbury, New Jersey
^^-^^ 10:05pm up 1 day, 23:15, 3 users, load average: 2.13, 2.17, 2.09
------------------------------
From: Cathy Gramze <[EMAIL PROTECTED]>
Subject: Re: Palm data to gnome-cal, gnome-card?
Date: Thu, 11 Jan 2001 03:41:11 GMT
In article <RE676.3314$[EMAIL PROTECTED]>, "lenny"
<[EMAIL PROTECTED]> wrote:
> In article <MP%66.8189$[EMAIL PROTECTED]>, "Cathy Gramze"
> <[EMAIL PROTECTED]> wrote:
>
>> I have my Palm synching, but it simply backs up to a backup directory.
>> How can I get the PALM data to go into gnome-cal and gnome-card??? I am
>> using gnome-pilot to synch.
>>
> You might try the Gnome configuration tool.
> Should be in the bottom panel.
> This has a section just for pilot/cal/card configuration.
No, it doesn't. It has conduits for backup, expense, memo, file and sendmail. Nothing
for cal or address. This is what I have configured already to get it to synch. I know
I'm supposed to be able to do this!
cathyy
------------------------------
From: Cathy Gramze <[EMAIL PROTECTED]>
Subject: Re: PPP and a Palm IIIxe?
Date: Thu, 11 Jan 2001 03:47:21 GMT
In article <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
wrote:
> Has anyone ever tried to get a Linux box and a Palm Pilot talk to each
> other via PPP (or SLIP) for that matter? This is definitely not anything
> critical, I just think it would be cool if I could do it.
My IIIxe lets me choose a direct serial or modem connection. When the modem connection
is selected it asks for the phone number. So you need to have a Palm modem to do it,
but the capability appears to be built in.
cathyy
------------------------------
From: [EMAIL PROTECTED] (Edwin Johnson)
Subject: Re: How to I set ipchains live with ICQ?
Reply-To: [EMAIL PROTECTED]
Date: 11 Jan 2001 03:52:19 GMT
I've been looking at Seattle Firewall to use in the future with a stand
alone system and perhaps a LAN. They talk about using icq in their
documentation, so it might help to look at that.
...Edwin
On Thu, 11 Jan 2001 10:39:07 +0800, Carfield Yim <[EMAIL PROTECTED]>
wrote:
>After I setup my ipchains rule, everything fine except ICQ client.
>I find that every Linux icq client can't connect to ICQ server, even I
>allow all request from the server ip, but icq still can't connect.
>How can I set it??
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ Edwin Johnson ....... [EMAIL PROTECTED] ~
~ http://www.shreve.net/~elj ~
~ ~
~ "Once you have flown, you will walk the ~
~ earth with your eyes turned skyward, ~
~ for there you have been, there you long ~
~ to return." -- da Vinci ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
------------------------------
From: "Arctic Storm" <[EMAIL PROTECTED]>
Subject: Which version of XFree86 am I running ?
Date: Thu, 11 Jan 2001 03:58:28 GMT
How do I know which version of XFree66 I'm running ?
Is there a command that I can issue to display the version number?
If it's not 4.0.2, the lastest, I want to upgrade.
Thanks.
------------------------------
From: "cr88192" <[EMAIL PROTECTED]>
Crossposted-To: alt.solaris.x86,comp.os.misc,comp.unix.solaris
Subject: Re: question: deleting/undeleting disk partitions
Date: Wed, 10 Jan 2001 18:59:35 -0800
on pc type systems with the dos partition scheme the mbr can only define 4
partitions and each extended partition (dos format anyways) was restricted
to 4 additional.
this would allow up to 16 usable partiotions and 4 extended ("real")
partitions. this in concept allows 20 partitions with the first 4 allways
used as extended.
it would be concievably possible to have extended within extended to get
more, however I don't know if this is possible.
comment?
------------------------------
From: Hung Ngoc Lai <[EMAIL PROTECTED]>
Subject: help with running X-win32 with RedHat 7.0
Date: 11 Jan 2001 03:53:07 GMT
Hi Everyone,
I am having problem with running X-win32 on Microsoft Windows
connecting to my RedHat Linux 7.0 kernel version 2.4. I also have
another RedHat 6.1 machine with kernel 2.2.18 and I do NOT have
problem connecting to this RedHat 6.1 machine using X-win32.
First, let me describe the steps that I use to connect to the RedHat
6.1 box:
1) On the Linux box, I edit the file /usr/X11R6/lib/X11/xdm/Xaccess
file by putting in the IP address of the Microsoft windows
machine the will use X-win32 to connect to the linux box to run
X,
2)Start xdm in the linux using root account and xdm starts with
With a nice GUI,
3)On the Microsoft windows machine, I set X-config to connect
to the linux box using XDMP,
4)Start X-win32 and everything works like a charm.
On the RedHat 7.0 box, I perform the same step that I did with the
RedHat 6.1 box. I also perform the same procedure with X-config
on Microsoft windows machine with the exception of changing the
IP address for XDMP because both Linux boxes have different IP
addresses. This time X-win32 does not work with RedHat 7.0 box.
I notice that the xdm GUI interface for RedHat 7.0 is different. It
comes with the Xfree86 Project banner. Anyone has run into similar
situations, please help me with this one. I would like to install
RedHat 7.0 so that I can compile kernel 2.4 with it. It seems that I would
have to upgrade a few things (modutils module comes to mind) before I
can compile kernel 2.4 for RedHat 6.1. I would rather install RH7.0 and
then compile kernel 2.4; however, I need to have this issue resolved.
Many thanks.
David
------------------------------
From: "Arctic Storm" <[EMAIL PROTECTED]>
Subject: Re: Swap Partition Size
Date: Thu, 11 Jan 2001 04:13:26 GMT
> When I originally installed RH7, I had 16MB RAM and allocated 32MB to
> the swap partition. I've just installed another 32MB RAM for a total of
> 48MB.
>
> I've read that the swap partition should be at least as large as the
> total amount of memory. Why? What are the consequences of not having
> as much swap space as real memory?
>
> After DOS, /boot, and Linux swap, the root partition is allocated the
> balance of my drive space. If I need to increase my swap partition, how
> do I do so at the expense of the root partition?
First, the easiest, although not the most elegant, way to increase your
swap space is to remove the *linux* partitions, repartion, and reformat. I know
this sucks, but trust me, it'll give you less headache.
Second, the swap space is needed if what you're doing requires more memory than
what's available. When you're running multiple applications
simultaneously, you usually need more memory than what's
physically available, so swap is used as a virtual memory, to accommodate
for the lack of physical memory. The size of the swap space is a personal
choice, and ranges from 50% to 150% of physical memory. If you need a
swap space (the virtual memory) that is twice as large as your physical
memory, than you probably need more physical memory.
16 MB doesn't cut it, and you're wise to expand to 48 MB,
although greater than 64 MB would be better.
Because you have such a little physical RAM, use a large swap; use 150%
of physical RAM.
------------------------------
From: "Jason Bond" <[EMAIL PROTECTED]>
Subject: Please Help! Can't load XKB Keymap!
Date: Wed, 10 Jan 2001 20:29:29 -0800
I find this line in my /var/log/XF86CONFIG0 (or something named close to
that):
Error: Cannot open "compiled/server-0.xkm" to write keyboard description
Couldn't load XKB keymap, falling back to pre-XKB keymap
And it doesn't load any of my key-swapping or repeat rate info...what is
wrong? Thanks,
Jason
------------------------------
From: Alex <[EMAIL PROTECTED]>
Subject: Re: Which version of XFree86 am I running ?
Date: Wed, 10 Jan 2001 23:41:04 -0500
Arctic Storm wrote:
>
> How do I know which version of XFree66 I'm running ?
> Is there a command that I can issue to display the version number?
> If it's not 4.0.2, the lastest, I want to upgrade.
> Thanks.
This should help
xdpyinfo | less
Alex.
--
============================================
The Search for Extraterrestrial Intelligence
http://www.seti.org/
Registered with the Linux Counter. ID# 175126
http://counter.li.org/index.html
------------------------------
From: [EMAIL PROTECTED] (Dave Brown)
Subject: Re: Backup software for Linux?
Reply-To: [EMAIL PROTECTED]
Date: 10 Jan 2001 23:04:35 -0600
In article <3a5c6b13.15616603@news>, Martin Gregorie wrote:
>I'll second that. What have you got against letting the drive do the
>compression, though?
Personal opinion: it depends on the reliability of the media. A single
media error destroys the ability to continue the decompress, so you
lose everything past that point. If uncompressed, you only lose that
file corrupted by the bad spot. At least that's been my experience.
(And why I store backups on CDRs, using compression, but checking
them after writing.)
--
Dave Brown Austin, TX
------------------------------
From: "Ken Carriere" <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.misc,rec.arts.movies.current-films
Subject: Re: [OT] - AntiTrust comes out this Friday!
Date: Thu, 11 Jan 2001 04:40:44 GMT
"tim" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> http://us.imdb.com/Title?0218817
>
> Looks to be a hot movie, especially for Linux afficionados!
I just saw this. It's really good. Not because of the Bill Gates angle,
which I don't care about either way, but just because it was really well
done. Thrilling and interesting.
IMHO
--Ken
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Crossposted-To: alt.solaris.x86,comp.os.misc,comp.unix.solaris
Subject: Re: question: deleting/undeleting disk partitions
Date: 11 Jan 2001 04:43:20 GMT
Reply-To: [EMAIL PROTECTED]
On Wed, 10 Jan 2001 18:59:35 -0800, cr88192 staggered into the Black Sun
and said:
>on pc type systems with the dos partition scheme the mbr can only
>define 4 partitions and each extended partition (dos format anyways)
>was restricted to 4 additional. this would allow up to 16 usable
>partiotions and 4 extended ("real") partitions. this in concept allows
>20 partitions with the first 4 allways used as extended. it would be
>concievably possible to have extended within extended to get more,
>however I don't know if this is possible.
>
>comment?
Uh-uh. There can only be one extended partition, but said extended
partition can contain any number of logical partitions[0]. The first
extended partition in the MBR points to a certain sector on the drive,
which contains another 446-byte boot record and a 64-byte partition
table.
The partition table in this sector contains an entry describing a
logical partition, and a pointer to the next 512-byte sector that
contains the next logical partition.[1] This is the standard in the x86
world; other architectures have very different ways of doing things, and
certain x86 OSes like *BSD can use a "whole disk" way of doing things
that is incompatible with a standard PC partition table. The standard
is there so that the x86 BIOS can find a valid partition and start a
bootloader without straining its little mind.
[0] Sort of. In Linux, an IDE disk with more than 63 partitions will
have all partitions after the 63rd unusable. The limit is 15 for SCSI
disks. Most people find they can live with these limits.
[1] The details may be wrong here; it's late and I can't find my
technical reference on this crud.
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / Workin' in a code mine, hittin' Ctrl-Alt
http://www.brainbench.com / Workin' in a code mine, whoops!
=============================/ I hit a seg fault....
------------------------------
From: [EMAIL PROTECTED]
Subject: need NAT help please................
Date: Thu, 11 Jan 2001 04:39:42 GMT
I am trying to add the following NAT to my redhat 6.2 linux server:
ip route add nat 10.1.20.207 via 10.1.50.207
I get the following error:
RTNETLINK answers: Invalid argument
Can someone please tell me what I am doing wrong here? All I want to do
is to be able to access a server (ip 10.1.50.207) which is behind the
linux box using the ip 10.1.20.207 from the outside of the linux box.
thanks.
PS: I have ip fowarding enabled.
Sent via Deja.com
http://www.deja.com/
------------------------------
From: Brian & Colleen <[EMAIL PROTECTED]>
Subject: Animated Gif Viewer
Date: Wed, 10 Jan 2001 20:55:42 -0800
Are any of the graphics programs on the Mandrake 7.1 distribution able
to display animated gif files?
Thanks.
--
Brian & Colleen Smith
[EMAIL PROTECTED]
http://mypage.direct.ca/g/greybria
------------------------------
Subject: changing window managers & .Xclients
From: Steve Connet <[EMAIL PROTECTED]>
Date: Thu, 11 Jan 2001 05:01:49 GMT
Hi... I am new to linux and really do not know what I am doing.
In order to change window managers, before I run startX, I edit my
.Xclients file and uncomment the one I want. It looks like this:
# always start these
xclock -geometry 100x100-5+5 &
Eterm --geometry 80x50-50+150 -O &
ymessenger&
aim&
Esetroot -scale /usr/share/Eterm/pix/wasteland.jpg
# various window managers and desktops
# exec startkde
# exec startxfce
# exec blackbox
# exec sawfish
exec twm
# exec vtwm
# exec blackbox
Is this the *right* way to do it? It works.. but not sure if it is
"appropriate." Should these be in another file? .xinitrc perhaps? I do
not have an .xinitrc.
Please tell me if I am on track or way off here.
--
Steve Connet ([EMAIL PROTECTED])
------------------------------
** 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
******************************