Linux-Misc Digest #315, Volume #26 Wed, 15 Nov 00 09:13:02 EST
Contents:
i815E + AGP Riva TNT2 ? ("Jacek M. Holeczek")
attn: [EMAIL PROTECTED] (oDDmON oUT)
Re: attn: [EMAIL PROTECTED] (Andreas =?iso-8859-1?Q?K=E4h=E4ri?=)
Debian 2.2, VT320 and screen (Tatu Saily)
How to change boot sector? (Sung Y. Hong)
Re: Error - No such pid? (Mike Dowling)
Re: Limiting the bandwidth (Rainer Krienke)
Re: mail notification? ("Simon Oosthoek")
Re: True GTK+ will eliminate Qt in next few years? (Donovan Rebbechi)
Re: True GTK+ will eliminate Qt in next few years? (Donovan Rebbechi)
script (Andrew Neiderer)
Re: True GTK+ will eliminate Qt in next few years? (Rasputin)
Re: True GTK+ will eliminate Qt in next few years? (Rasputin)
Re: script (Andreas =?iso-8859-1?Q?K=E4h=E4ri?=)
Re: Restoring RH 6.2 /usr/src/linux tree (Lee Allen)
signals and C++ (Markus Kremer)
Re: attn: [EMAIL PROTECTED] (Robert Kiesling)
rc.local editing ([EMAIL PROTECTED])
Re: Restoring RH 6.2 /usr/src/linux tree ("Paul Steckler")
Dang those KDE rpms ([EMAIL PROTECTED])
Re: HELP!! Partition Magic Error 105. PartitionInfo inside: Please look!! (Eric)
----------------------------------------------------------------------------
From: "Jacek M. Holeczek" <[EMAIL PROTECTED]>
Subject: i815E + AGP Riva TNT2 ?
Date: Wed, 15 Nov 2000 12:12:04 +0100
Hi,
I am considering buying a new i815E based motherboard.
I would like to use TWO displays. One (lower resolution) using the
build-in i815 graphics, the other one (high resolution) using an
additional NVIDIA Riva TNT2 AGP card.
Is it possible ? Can I use an AGP graphics card AND the build-in graphics
card of i815 simultaneously ? Or will plugging an AGP graphics card switch
off the build-in graphics card of i815 automatically ?
Thanks in advance,
Jacek.
------------------------------
From: oDDmON oUT <[EMAIL PROTECTED]>
Subject: attn: [EMAIL PROTECTED]
Date: 15 Nov 2000 05:19:10 -0600
Reply-To: Delete _ and knock yerself out!
Could you please repost Linux FAQ with Answers (Part 6 of 6)? Somehow
I missed that one.
TIA~
--
Just my 2� worth ~ oDDmON oUT
------------------------------
From: [EMAIL PROTECTED] (Andreas =?iso-8859-1?Q?K=E4h=E4ri?=)
Subject: Re: attn: [EMAIL PROTECTED]
Date: 15 Nov 2000 12:24:29 +0100
In article <[EMAIL PROTECTED]>, oDDmON oUT wrote:
>Could you please repost Linux FAQ with Answers (Part 6 of 6)? Somehow
>I missed that one.
>TIA~
>--
> Just my 2� worth ~ oDDmON oUT
Please see
<URL:http://www.faqs.org/faqs/by-newsgroup/comp/comp.os.linux.misc.html>.
Also of interest, the LDP: <URL:http://www.linuxdoc.org/>.
/A
--
Andreas K�h�ri, Uppsala University, Sweden (until 1:st of Dec. 2000)
========================================================================
"If you leave now, you're going to miss the real experience."
-- Richard M. Stallman, Stockholm 1986. Visit www.gnu.org
------------------------------
From: [EMAIL PROTECTED] (Tatu Saily)
Subject: Debian 2.2, VT320 and screen
Date: Wed, 15 Nov 2000 11:19:24 +0000 (UTC)
I have a VT320 text terminal connected to my PC running Debian GNU/Linux 2.2.
The problem is that if I use 'screen', the programs seem to think that my
terminal supports colors. That makes some programs like 'lynx' and 'jed'
look a bit strange or even unusable.
According to the documentation this could be fixed by creating a terminfo
entry with no color support called screen.vt320. I created it, and when i
started 'screen' using the VT320, $TERM indeed was "screen.vt320", but that
didn't change anything: programs still offered me colors. To make sure that
there was nothing wrong with my screen.vt320 file, I changed $TERM to
"screen.vt320" when I wasn't running 'screen', and there was no colors.
Any suggestions?
--
Tatu S�ily - http://www.jyu.fi/~tssaily/
------------------------------
From: Sung Y. Hong <[EMAIL PROTECTED]>
Subject: How to change boot sector?
Date: Wed, 15 Nov 2000 11:30:04 -0000
After installing windows and linux, I made a boot disk under linux system.
Before I moved the harddrives to connectors controlled by HPT370, I edited
lilo.conf in etc directory as follows:
hda (where lilo is located) -> mda
hdc5 (where linux root is installed) -> mdc5
hda1 (where windows is installed) -> mda1
I ran lilo to activate but failed because the harddrives were not connected
to HPT370 controller at that time.
After i connected the harddrives to HPT370 controller, I boot the system
with the boot disk.
I am wondering what I have to type at the prompt 'Boot:' to boot the linux
system.
If I do not response, some error messages appeared after starting boot.
The error messages are follows.
Kmod: failed to exec /sbin/modprobe -s -k block-major-22, errno=2
VFS: Cannot open root device 16:05
Kernel panic: VFS: Unable to mount root fs on 16:05
These messages are understandable because the harddrives were moved.
Is there anyone who could tell me what I have to type at the 'Boot:' prompt
to indicate that the root directory is moved to mdc5?
Thank you in advance.
Sung Y. Hong
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: [EMAIL PROTECTED] (Mike Dowling)
Crossposted-To:
comp.os.linux,comp.os.linux.admin,comp.os.linux.help,comp.os.linux.networking,comp.os.linux.questions
Subject: Re: Error - No such pid?
Date: 15 Nov 2000 11:33:59 GMT
On Wed, 15 Nov 2000 06:12:05 GMT, Lamar Thomas <[EMAIL PROTECTED]> wrote:
>I am running RH 6.2. I am connected to the Internet with a cable modem.
>When I shutdown my system tonight using the following command: (shutdown -h
>now) every service failed with a msg. like:
>
>"[FAILED]"
>"...Kill: (549) - No such pid"
When redhat boots your system, it starts various daemons, and stores the
pid of these processes, it I remember rightly (I don't use redhat) in
/var/lock/subsys. On shutting down, it kills these processes one by
one.
I can happen, for example, by doing something like
# kill -1 <pid for sendmail>
that sendmail restarts, and gets a new pid that sysvinit does not know
about. During the shutdown procedure, it tries to kill the old pid, but
cannot.
Cheers,
Mike
--
My email address [EMAIL PROTECTED] above is a valid email
address. It is a mail alias. Once spammed, the alias is deleted, and
the integer 'N' incremented. Currently, mike[35,36] are valid. If
email to mikeN bounces, try mikeN+1.
------------------------------
From: [EMAIL PROTECTED] (Rainer Krienke)
Subject: Re: Limiting the bandwidth
Date: 15 Nov 2000 11:47:16 GMT
In article <[EMAIL PROTECTED]>,
David <[EMAIL PROTECTED]> writes:
> Hi folks
>
>
> I was wondering if there is any tool in Linux for reducing the network
> bandwidth or generating random losses for testing the protocols ?
>
> Any help will be appreciated
>
> Thanks David
>
>
>
You can use the QOS (Quality of Service) package for this. We used this once to
simulate a low bandwith like isdn lines or modems have over a 100Mbit net. A
linux machine with QOS configured was used as a router between the two machines
communicating over the "slow" line. Worked fine, but the setup was not that
easy. Here are some urls to start with:
http://www.linuxdoc.org/HOWTO/Adv-Routing-HOWTO.html
http://snafu.freedom.org/linux2.2/docs/howto-qos/node3.html
Regards
Rainer
--
=====================================================================
Rainer Krienke [EMAIL PROTECTED]
Universitaet Koblenz, http://www.uni-koblenz.de/~krienke
Rechenzentrum, Voice: +49 261 287 - 1312
Rheinau 1, 56075 Koblenz, Germany Fax: +49 261 287 - 1001312
=====================================================================
------------------------------
From: "Simon Oosthoek" <[EMAIL PROTECTED]>
Subject: Re: mail notification?
Date: Wed, 15 Nov 2000 12:49:41 +0100
In article <8ut5mn$[EMAIL PROTECTED]>, "Tim" <[EMAIL PROTECTED]> wrote:
> anyone know of a good way to be alerted when you have received mail?
> I'm running KDE 2.0, and I seem to remember the old red hat distros
> (maybe it was gnome though) had a good alert.. .any ideas?
>
how about xbuffy (can handle multiple mailboxes)
Simon
------------------------------
From: [EMAIL PROTECTED] (Donovan Rebbechi)
Crossposted-To: comp.os.linux.advocacy,comp.os.linux.x,comp.unix.solaris
Subject: Re: True GTK+ will eliminate Qt in next few years?
Date: 15 Nov 2000 12:06:52 GMT
On Tue, 14 Nov 2000 15:40:47 GMT, Rasputin wrote:
>[EMAIL PROTECTED] <mlw> wrote:
>So use Gtk--.
Gtk-- does not ship with GNOME. And GNOME's CORBA architecture does not
work with C++.
Gtk-- looks like a reasonably nice toolkit, but the problem is that it
doesn't seem as well supported as the C version of GNOME, and the GNOME
project still seem to be pushing the line that C is the language that
"should be used" by GNOME developers.
If C++ had better support in the GNOME community, I'd seriously consider
using gtk--.
>I agree - Gtk macros are no substitute for a good
>object model. But then I'm a Java boy originally, so from
>my point of view C++ is an equally horrible kludge.
>
>But then I go for Gtk because I like eye candy,
>(KDE themes being a little weak) so what do I know?
Have you used KDE 2.x yet ? The themeing there looks pretty good to me.
--
Donovan
------------------------------
From: [EMAIL PROTECTED] (Donovan Rebbechi)
Crossposted-To: comp.os.linux.advocacy,comp.os.linux.x,comp.unix.solaris
Subject: Re: True GTK+ will eliminate Qt in next few years?
Date: 15 Nov 2000 12:09:41 GMT
On 14 Nov 2000 09:16:56 -0600, [EMAIL PROTECTED] wrote:
>In comp.os.linux.advocacy Craig Kelley <[EMAIL PROTECTED]> wrote:
>
>> I hope that the two projects merge in the future in a language less
>> sucky than either C or C++.
>
>Agreed. They should write it in Java. That way, KDE and GNOME could run on
... a quad CPU 2 Ghz Xeon with 1.5 gig of memory.
--
Donovan
------------------------------
From: [EMAIL PROTECTED] (Andrew Neiderer )
Subject: script
Date: Wed, 15 Nov 2000 11:06:59 GMT
I just installed Mandrake 7.1 on my Dell but I can't
get "script" to work.
When I start script, it immediately stops with nothing
going to typescript.
Is there an environment variable that needs to be set ?
Or maybe there is a bug I am not familiar with.
Any help is appreciated. Thank you.
- Andrew M. Neiderer
US Army Research Lab
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Rasputin)
Crossposted-To: comp.os.linux.advocacy,comp.os.linux.x,comp.unix.solaris
Subject: Re: True GTK+ will eliminate Qt in next few years?
Reply-To: [EMAIL PROTECTED]
Date: Wed, 15 Nov 2000 12:22:26 GMT
[EMAIL PROTECTED] <Matthias Warkus> wrote:
>It was the 14 Nov 2000 09:16:56 -0600...
>...and [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>> In comp.os.linux.advocacy Craig Kelley <[EMAIL PROTECTED]> wrote:
>>
>> > I hope that the two projects merge in the future in a language less
>> > sucky than either C or C++.
>>
>> Agreed. They should write it in Java. That way, KDE and GNOME could run on
>> an array of embedded applications (such as the Palm pilot).
>
>They already do without Java (essentially, all you need is a platform
>that runs Linux, and most embedded systems do).
I think the ideal goal of any desktop environment should be language
independance. Java has bindings to CORBA, as does almost everything else.
Sure, you take a performance hit, but for GUIs that's a bit of a non-issue.
Any CPU-intensive stuff can be written in C/C++/ whatever seems
appropriate.
The idea of One True Language / One True Toolkit has been touted for a
looong time now, as part of the 'let's beat BillG' philosophy.
Diversity is what separates us form Visual Basic coders.
--
Rasputin.
Jack of All Trades - Master of Nuns.
------------------------------
From: [EMAIL PROTECTED] (Rasputin)
Crossposted-To: comp.os.linux.advocacy,comp.os.linux.x,comp.unix.solaris
Subject: Re: True GTK+ will eliminate Qt in next few years?
Reply-To: [EMAIL PROTECTED]
Date: Wed, 15 Nov 2000 12:23:43 GMT
[EMAIL PROTECTED] <James Hutchins> wrote:
>In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
>
>> In comp.os.linux.advocacy Craig Kelley <[EMAIL PROTECTED]> wrote:
>>
>> > I hope that the two projects merge in the future in a language less
>> > sucky than either C or C++.
>>
>> Agreed. They should write it in Java.
<snip>
>Java? Please, NO! I have a NEED for SPEED!! I don't think even hotspot can
>make up for the performance hit I'd take with java. When doing complex
>analyses on up to 10 gigs of byte-sized time series data, even a 15% speed
>hit is significant. So why accept it when you can just use C++?
For that matter, why are you using GUI toolkits to do
complex analyses at all?
--
Rasputin.
Jack of All Trades - Master of Nuns.
------------------------------
From: [EMAIL PROTECTED] (Andreas =?iso-8859-1?Q?K=E4h=E4ri?=)
Subject: Re: script
Date: 15 Nov 2000 13:24:01 +0100
In article <[EMAIL PROTECTED]>, Andrew Neiderer wrote:
>I just installed Mandrake 7.1 on my Dell but I can't
>get "script" to work.
>
>When I start script, it immediately stops with nothing
>going to typescript.
>
>Is there an environment variable that needs to be set ?
>Or maybe there is a bug I am not familiar with.
>
>Any help is appreciated. Thank you.
$ script scriptfile.txt
$ ls -la
$ exit
$ less scriptfile.txt
Does this produce a file called 'scriptfile.txt' containing a listing
of all files in the current directory?
/A
--
Andreas K�h�ri, Uppsala University, Sweden (until 1:st of Dec. 2000)
========================================================================
"If you leave now, you're going to miss the real experience."
-- Richard M. Stallman, Stockholm 1986. Visit www.gnu.org
------------------------------
From: [EMAIL PROTECTED] (Lee Allen)
Crossposted-To: comp.os.linux.redhat,comp.os.linux.setup
Subject: Re: Restoring RH 6.2 /usr/src/linux tree
Reply-To: [EMAIL PROTECTED]
Date: Wed, 15 Nov 2000 12:45:04 GMT
On Tue, 14 Nov 2000 22:57:28 -0600, "Paul Steckler"
<[EMAIL PROTECTED]> wrote:
>In an attempt to install a kernel patch for the Onstream DI30 tape drive,
>I deleted my /usr/src/linux-2.2.14 directory in a RedHat 6.2 installation.
>I have a tar.gz for the 2.2.14 kernel, but apparently RH6.2 ships with a
>slightly patched kernel.
>
>So how can I get back the original RH version of this directory, and
>especially
>the original .config file?
The previous post (mount the CD and re-install the kernel source using
RPM) was right on.
But I don't think this results in a /usr/src/linux/.config file.
I think you must grab one of the files from /usr/src/linux/configs and
copy it to /usr/src/linux/.config.
-Lee Allen
------------------------------
From: Markus Kremer <[EMAIL PROTECTED]>
Subject: signals and C++
Date: Wed, 15 Nov 2000 13:45:28 +0100
Reply-To: [EMAIL PROTECTED]
Is it possible to catch a division by zero error in a C++ manner?
I want to do
try {
i=a/0;
}
catch (...)
{
cerr<<"My fault";
}
Where can i get more information about C++ and signals?
bye
Markus
------------------------------
Subject: Re: attn: [EMAIL PROTECTED]
From: Robert Kiesling <[EMAIL PROTECTED]>
Date: Wed, 15 Nov 2000 13:02:59 GMT
oDDmON oUT <[EMAIL PROTECTED]> writes:
> Could you please repost Linux FAQ with Answers (Part 6 of 6)? Somehow
> I missed that one.
> TIA~
I've e-mailed it to you. I can only post once per week, or the
archive servers for *.answers gets confused. The complete, latest
text version is at the URL in the .sig. The one on the right.
Thanks.
--
Robert Kiesling
Linux FAQ Maintainer
[EMAIL PROTECTED]
http://www.mainmatter.com/linux-faq/toc.html http://www.mainmatter.com/
------------------------------
From: [EMAIL PROTECTED]
Subject: rc.local editing
Date: Wed, 15 Nov 2000 13:01:10 GMT
Hi,
I wanted to find out how some people might do this because im fairly new
to editing scripts or even writing scripts. What i want to do is with
this machine is setup using dhcp i want it to on boot mail its newly
leased IP address. I would normally just add in a mail command with the
lease file but i cant seem to find it. I also made my own little script
but couldnt get it to execute out of rc.local. So does anyone have any
suggestions?
Thanks
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: "Paul Steckler" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.redhat,comp.os.linux.setup
Subject: Re: Restoring RH 6.2 /usr/src/linux tree
Date: Wed, 15 Nov 2000 07:11:38 -0600
> rpm -U --force kernel-source-2.2.14-5.0.i386.rpm
Thanks, works great.
-- Paul
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: linux.redhat,linux.redhat.install,alt.os.linux
Subject: Dang those KDE rpms
Date: Wed, 15 Nov 2000 13:54:44 GMT
I have been fighting tooth and nail to install the new KDE 2.0 rpms on
my Redhat 7.0 Box.
Anytime I install the KDE rpms (any rpms really) I usually install them
with
rpm -Uhiv kdewhatever.rpm
but then it complains that it doesn't have a certain lib****.so
then I was told to just force them in using
rpm -ivv kde*.rpm
THAT completely screwed my system up. Now, I guess the only way to
install the new KDE 2.0 is to uninstall the kde 1.*** and then try to
reinstall the 2.0 while praying that it will work.
HAS ANYBODY INSTALLED THE NEW KDE 2.0 RPM's and did it sucessfully? If
so.. p.p.please let me know how to do it :-(
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: Eric <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.questions,comp.os.linux.setup
Subject: Re: HELP!! Partition Magic Error 105. PartitionInfo inside: Please look!!
Date: Wed, 15 Nov 2000 15:01:20 +0100
Reply-To: [EMAIL PROTECTED]
> I don't know Partition Magic. I would suggest that you try to run a rescue
> disk first before reinstalling. I know the RedHat cdrom will run as a
> rescue disk; so try that with your mandrake disk. type 'linux rescue' at
> the boot prompt unless it gives some different instructions on your disk.
> If that doesn't work, use Windows to download and install tomsrtbt on a
> floppy. http://www.toms.net/rb/ . That's good to have around anyway.
>
> Once you have linux in RAM, which is what the rescue disk does, you can run
> a couple of things.
>
> fdisk -l /dev/hda - this will give you a partition table and possibly the same
> information as you got with
>
> e2fsck /dev/hda? where ? is the partition number of your root (/boot) for
> linux. If you have a separate /boot partition, be sure to run it on that
> too. It doesn't look like you do. I see that you have that OS/2 partition
> at the start, and I don't know what that is. I just inherited a server that
> has a small partition like that at the start of the drive and it is a sort
> of bios; so you better not destroy that partition. If e2fsck fixes things,
> good. If not, and you want to reinstall linux, you do not need to
> repartition to do it. You just reinstall and use that same partition that
> is already there.
>
> I would not use PM for partitioning, but then I've never used it. I just
> read all the problems from people who do. There are probably lots of folks
> using it successfully though.
>
*REMOVED IRRELEVANT AND NON-EXISTING NG'S*
I feel that I have to reply to you again, Anita
PM is hardly ever the cause of problems. Most problems you've read about
are merely found after using PM, instead of being created by it. I've
seen several bad/corrupt partition tables, of people, that never had a
problem with their PC. Or at least so it appears, but eventually a bad
partition table is the ticket to trouble.
If you would *only* use PM it would be very unlikely that you have a
partition table problem. Use multiple fdisk programs or other programs
that manipulate your partition table is far more dangerous. I myself
always use linux fdisk, and no other program to create a table. But I
try to be (almost) as strict as PM when setting up a partition table.
For manipulating existing partition tables I use PM. (But am willing to
give parted a try too once)
PM is good software (and up till recently the only choice) that will not
corrupt your partition table (Maybe it can, but I've never heard of it)
It will fail on lots of existing tables due to either errors in this
table, or due to the strict rules it follows.
Be aware that partition tables are very difficult, since they are the
only thing OS's really must share and agree upon.
Eric
------------------------------
** 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
******************************