Linux-Misc Digest #575, Volume #20 Thu, 10 Jun 99 16:13:13 EDT
Contents:
Hello World Segfaults... (Sean Melody)
Re: AutoInstall is for experts, not beginners!!! (Jeremy Crabtree)
Re: finding files with words that may be on differ
write Bat file (edward)
Re: Mosaic: is it dead? ([EMAIL PROTECTED])
How can I test my modem? ("TwoSheds")
Re: Mosaic: is it dead? ([EMAIL PROTECTED])
Re: Basic setup? What do I need ? (Johan Kullstam)
Re: finding files with words that may be on different lines (Marc Mutz)
Re: Virtual Private Disk ? (Robert Franco)
Q: Is Oracle8 for Linux Free (Frank Smith)
sound module (Sravanthi Cheruku)
Re: KDE-GNOME-X Switcher (Marc Mutz)
Re: LD_LIBRARY_PATH for glib-1.2.1.tar.gz (hihihi)
Leafnode and inode problem (R. Denoire)
what's better? Suse 6.1 or redhat 6.0? (aurant)
Re: Copy entire hard drive? ("Art S. Kagel")
Re: Swap file limit? (Art Berggreen)
----------------------------------------------------------------------------
From: Sean Melody <[EMAIL PROTECTED]>
Crossposted-To: redhat.general
Subject: Hello World Segfaults...
Date: Thu, 10 Jun 1999 12:45:20 -0500
Ok, you probably won't believe this...but...
I upgraded from a patched up version of Redhat 5.1 to Redhat 6.0 two
days ago and ever since then, iostream linked files compile, but then
segfault. Here is the code (for those who doubt me...)
#include <iostream.h>
int main () {
cout << "Hello World\n";
return 0;
}
The GDB run:
(gdb) run
Starting program: /home/phaze/b30/a.out
Program received signal SIGSEGV, Segmentation fault.
0x4008d7b2 in __overflow (f=0x8053b20, ch=-1) at genops.c:197
genops.c:197: No such file or directory.
(gdb) where
#0 0x4008d7b2 in __overflow (f=0x8053b20, ch=-1) at genops.c:197
#1 0x4008c6b0 in _IO_new_file_xsputn (f=0x8053b20, data=0x80524c8,
n=12)
at fileops.c:802
#2 0x804e83c in filebuf::xsputn (this=0x8053b20, s=0x80524c8 "Hello
World\n",
n=12) at filebuf.cc:205
#3 0x804be3b in ostream::operator<< (this=0x8053c20,
s=0x80524c8 "Hello World\n") at iostream.cc:784
#4 0x804a4f2 in main ()
#5 0x4004fcb3 in __libc_start_main (main=0x804a4e0 <main>, argc=1,
argv=0xbffffa74, init=0x8049f40 <_init>, fini=0x8052494 <_fini>,
rtld_fini=0x4000a350 <_dl_fini>, stack_end=0xbffffa6c)
at ../sysdeps/generic/libc-start.c:78
ldd says that older files compiled are linked like this:
/lib/libNoVersion.so.1 => /lib/libNoVersion.so.1 (0x40014000)
libstdc++.so.2.8 => /usr/lib/libstdc++.so.2.8 (0x4001e000)
libm.so.6 => /lib/libm.so.6 (0x4005f000)
libc.so.6 => /lib/libc.so.6 (0x4007c000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2
(0x40000000)
but now they are linked like this:
libm.so.6 => /lib/libm.so.6 (0x4001c000)
libc.so.6 => /lib/libc.so.6 (0x40038000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2
(0x40000000)
I don't know what's wrong...I have ideas, but no idea how to fix it. If
you have any idea, please let me know. This is really bugging me :)
------------------------------
From: [EMAIL PROTECTED] (Jeremy Crabtree)
Crossposted-To: alt.os.linux,uk.comp.os.linux
Subject: Re: AutoInstall is for experts, not beginners!!!
Date: 10 Jun 1999 18:15:37 GMT
Reply-To: [EMAIL PROTECTED]
Mr S A Penny allegedly wrote:
>In article <[EMAIL PROTECTED]>,
> Jason Clifford <[EMAIL PROTECTED]> writes:
>
>>I have a 486, 20MB RAM, 256K video card, etc here that runs Definite Linux
> ^^^ ouch
>
>>6 and Gnome 1.0. It is not fast(!) but it does run it.
>
>I've mentioned windowmaker in another post, it's apparently quite gentle on
>the resources and might be worth a try...?
Not on a 256k video board, WMaker just uses too many colors. WMX would
probably be a better bet.
(or, $DEITY forbid, TWM)
http://www.all-day-breakfast.com/wmx/
--
"Being myself a remarkably stupid fellow, I have had to unteach myself
the difficulties, and now beg to present to my fellow fools the parts
that are not hard" --Silvanus P. Thompson, from "Calculus Made Easy."
------------------------------
From: <[EMAIL PROTECTED]>
Date: Thu, 10 Jun 99 12:39:12 -0600
Subject: Re: finding files with words that may be on differ
PH>Sorry I should have been more specific. I got the OR case, I'm trying
PH>to get the AND case to work. Normal combining of paterns doesn't seem
PH>to work. ex:
PH>egrep '(pat1)(pat2)(pat3)' *.txt
PH>I need to match all pat's and they are all on different lines.
PH>> grep -E 'pattern1|pattern2|pattern3' file_list (or egrep, if it's
PH>there)
PH>>
PH>> finds all lines in file_list containing one of the three patterns.
Hmmmm, I know next-to-nothing in Linux. If I were doing this in DOS you
could grep (I use greps ported to DOS) for the first pat, output those
filenames file, grep THOSE files for the 2nd pattern ouput THOSE
filenames to another file and grep THOSE files, ouput to a 3rd file.
And THAT file would have your answers.
Sorta clumsy, unless there AINT a utility to do it, then it would woik.
[EMAIL PROTECTED]
Galileo Informatica - St. Louis, Missouri USA
telnet: bbs.galilei.com
WWW: http://www.galilei.com
------------------------------
From: edward <[EMAIL PROTECTED]>
Subject: write Bat file
Date: Fri, 11 Jun 1999 14:04:00 +0800
Just like window95 *.bat file. I want to write a BAT file in linux to
common a series of command. What should i do? Can anyone teach me how
to do it? Thanks!
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Mosaic: is it dead?
Date: Thu, 10 Jun 1999 15:22:26 GMT
In article <Pine.OSF.3.91.990609180019.30064A-
[EMAIL PROTECTED]>,
Neil Zanella <[EMAIL PROTECTED]> wrote:
>
> On Wed, 9 Jun 1999, John Hong wrote:
>
> > NCSA stopped development on Mosaic (totally - Mac/Windows/Unix) back
> > in 1997.
>
> Why did NCSA take this decision?
>
> Both IE and Netscape have lots of built in bugs.
>
> It seems to me that Mosaic was very stable at the time.
>
> Does the last release of Mosaic support HTML 3.2?
>
> What does it not support besides not supporting IE and Netscape HTML
>
> extensions?
>
> Thanks,
>
> Neil
NSCA made the foundation reasearch which www was built up on. Now that
www has grown up it can take care of itself, and NSCA can do other
kinds of reaserch projects.
It you want a webbrowser, which is faster and less buggy, take a look
at www.operasoftware.com, it costs $30/students$15, but you might feel
that is money well spent when you see how fast and reliable it is.
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: "TwoSheds" <[EMAIL PROTECTED]>
Subject: How can I test my modem?
Date: Fri, 11 Jun 1999 00:50:58 +0100
I want to connect to my ISP with RH6. I have a SupraMax modem. I think I've
configured my PPP interface, etc, but I don't get any sort of sound out of
my modem when I try to connect, although no error messages are reported
(I've already told it which port my modem's on in the Control Panel).
How do I test my modem. I have tried to use minicom, but to be honest, don't
understand what I'm supposed to do with it. If I could just send some AT
commands to my modem, or anything else someone can suggest then it'd be a
start.
Is kermit the key to this? I don't seem to have it on my system, and I can't
download it from the net, cos my modem's not working :)
Can anyone suggest anything?
TIA
-Kev
------------------------------
Subject: Re: Mosaic: is it dead?
From: [EMAIL PROTECTED]
Date: Thu, 10 Jun 1999 18:38:56 GMT
[EMAIL PROTECTED] writes:
>
> It you want a webbrowser, which is faster and less buggy, take a look
> at www.operasoftware.com, it costs $30/students$15, but you might feel
> that is money well spent when you see how fast and reliable it is.
>
Does anyone know when the Linux version of Opera will be available?
Its supposed to be soon, according to their web site, but as of a few
days ago, http://www.operasoftware.com/ didn't mention when.
Thanks,
John
BTW, Opera is fast, it supports the standards, and it works. Well
worth $30 to replace the code bloat currently available.
--
John Conover, 631 Lamont Ct., Campbell, CA., 95008, USA.
VOX 408.370.2688, FAX 408.379.9602, whois '!JC154'
[EMAIL PROTECTED], http://www2.inow.com/~conover/john.html
------------------------------
From: Johan Kullstam <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.networking
Subject: Re: Basic setup? What do I need ?
Date: 10 Jun 1999 13:03:59 -0400
[EMAIL PROTECTED] (David M. Cook) writes:
> On Wed, 02 Jun 1999 22:22:52 GMT, Lee Sharp <[EMAIL PROTECTED]> wrote:
>
> >questionable reviews, like Pump,
> AFAIK, the pump that is shipped with 6.0 only has problems with
> non-standard DHCP servers.
the biggest problem with pump is that there is no way to get it re-run
your firewall configuration script when the dhcp lease runs out and
you get new ip numbers.
having a highly capable operating system like linux and using a
cable-modem 24/7 without some kind of firewall protection is
foolhardy.
my advice is to retreat back to dhcpcd.
--
johan kullstam
------------------------------
Date: Thu, 10 Jun 1999 20:26:52 +0200
From: Marc Mutz <[EMAIL PROTECTED]>
Subject: Re: finding files with words that may be on different lines
[EMAIL PROTECTED] wrote:
>
> I'm trying to use grep to find files containing keywords.
> Unfortunately these keywords are not all on the same line so grep won't
> find all the correct files. Is there a way I can do this?
>
Use perl!
The following will do
(suppose you search for regexp_1,...,regexp_n)
#!/usr/bin/perl
undef $/; # make <> read whole file in one go
while (<>) {
next unless ( /regexp_1/omi ); # remove 'i' for case-insensitive
# matching
next unless ( /regexp_2/omi ); # the o is for speed only
# ...
next unless ( /regexp_n/omi );
print "$ARGV\n"
};
__END__
Save the file and execute with
perl -x <filename>
Marc
------------------------------
From: Robert Franco <[EMAIL PROTECTED]>
Subject: Re: Virtual Private Disk ?
Date: Wed, 09 Jun 1999 20:37:04 -0700
I am using VPDisk to replace TCFS. The software is so easy
to use and very reliable. I am waiting for the next release that
works with Linux 2.2.x.
Robert
Mike Hamilton wrote:
> Has anyone tried Virtual Private Disk from http://www.vpdisk.com ?
> Their website sounds compelling and the test drive copy seems to live
> up to their claims. I am considering getting a production copy before
> their offer ends. But like to hear from someone who has experience with
> their product.
>
> MH
------------------------------
From: Frank Smith <[EMAIL PROTECTED]>
Crossposted-To: comp.database.oracle.misc,comp.database.oracle.server
Subject: Q: Is Oracle8 for Linux Free
Date: Thu, 10 Jun 1999 14:37:29 -0400
Hi,
I downloaded Oracle 8 from Oracle web site and installed it. But I
found that at Oracle price site, it says that the price for Oracle 8
server is about US$1400 and Enterprice version is about $14,000.
I am confused. Is Oracle for Linux FREE. Or I just download a trial
version.
Thanks in advance.
frank
------------------------------
From: Sravanthi Cheruku <[EMAIL PROTECTED]>
Subject: sound module
Date: Wed, 09 Jun 1999 22:33:52 -0500
Hi:
I have loaded redhat 6.0 on my compaq. I have Aureal interactive A3D
soundcard. I don't know any more than that. I can't get my sound to work
(while using mpegtv). However it works when playing a cd. What could be
the problem. What module do I load. Please help.
Thanks
Gopal
------------------------------
Date: Thu, 10 Jun 1999 20:35:21 +0200
From: Marc Mutz <[EMAIL PROTECTED]>
Subject: Re: KDE-GNOME-X Switcher
[EMAIL PROTECTED] wrote:
>
> I would like a little text based utility, from which I can at system
> startup choose between KDE, Gnome, Or standard x with whatever
> windowmanager I have choosen.
>
> An option to exit to the linux prompt shall also be there, preferable
> select shall be done with arrows and enter or pressing 1-4.
> Like:
>
> 1) KDE
> 2) GNOME
> 3) Plain X
> 4) Plain prompt
>
> Are there such utility ? Name ? URL ?
>
- You can select the windowmanager with the KDE login manager (session
type).
- You won't want to use *plain* X, won't you?
If you want to use *plain* X, use fvwm and issue a 'killall fvwm2' in
the xterm.
- Press CTRL-ALT-F1 to switch to console (= plain prompt). If you want
to get rid of X sitting in
your RAM, then (as root) '/<your init dir here>/xdm stop'.
You could easily write a script for that. (see 'select' entry in bash
manpage)
Marc
------------------------------
From: hihihi <[EMAIL PROTECTED]>
Crossposted-To: redhat.config,comp.os.linux,linux.redhat.misc,uk.comp.os.linux
Subject: Re: LD_LIBRARY_PATH for glib-1.2.1.tar.gz
Date: Thu, 10 Jun 1999 15:51:38 +0200
Ted Sikora wrote:
> > I need to set the LD_LIBRARY_PATH for glib-1.2.1.tar.gz in
> > /etc/profile
> > Can anyone tell me exactly what that path should be ??
>
> There is no need to unless you put it in an odd place.
> It should be installed in /usr/lib or /usr/local/lib
> both of which should be in your /etc/ld.so.conf
That was the solution :-)
/usr/local/lib was NOT in /etc/ld.so.conf
But when i do ./configure for gtk+, i get the message that it had
found 2 versions of glib.
Glib version 1.2.1 and 1.2.3.
In the messages is the advice to remove the oldest version, glib
1.2.1.
But how do i uninstall a glib ???
And i belief i have found a DOS/WINDOWS habbit of me, that causes
problems..
In dos/windows i extract a zip file to C:/TEST/
>From there i do C:/TEST/INSTALL
Install in dos/windows makes C:/PROGRAM/ and puts al the needed files
there..
Then i do ERASE C:/TEST/*.*
I get the impression that it does not work this wat for linux and
glib..
Should i extract in to /usr/local/lib directly ???
And install from there ??
And not from /home/hihihi/test
Could be that this has been causing a lot of the problems if have..
I really hope that someone can answer this question.. :-)))
--
Een paar praktische LINUX Red Hat 5.1 antwoorden
http://www.casema.net/~hihihi/linux.htm
------------------------------
From: [EMAIL PROTECTED] (R. Denoire)
Subject: Leafnode and inode problem
Date: Thu, 10 Jun 1999 19:08:00 GMT
Reply-To: [EMAIL PROTECTED]
Is there a way to avoid that the news server leafnode writes a file
for EACH AND EVERY message (even for empty ones!) it gets on its local
database?
I find this very annoying and uneffective. Perhaps one could use a
loopback file system with just one file containing all messages, or
just keep the database compressed in some way?
Even Agent manages the news database much better.
I know that Linux grew up in the internet news, so I would think that
specially for Linux there would exist excellent software for this
service, but I am a little bit disappointed. Except for this inode
problem, leafnode seems to be quite appropriate. But again: where are
the really good news clients for Linux?
================
------------------------------
From: aurant <[EMAIL PROTECTED]>
Subject: what's better? Suse 6.1 or redhat 6.0?
Date: Thu, 10 Jun 1999 21:18:44 +0200
Hi my name is Aurant.
Im wondering whats better?
Suse 6.1 or redhat 6.0.
I already know that redhat is much more expensive, but is it worth it?
------------------------------
From: "Art S. Kagel" <[EMAIL PROTECTED]>
Subject: Re: Copy entire hard drive?
Date: Thu, 10 Jun 1999 15:08:56 -0400
Reply-To: [EMAIL PROTECTED]
Charles Wilkins wrote:
>
> On Fri, 4 Jun 1999 17:35:34 -0700, "J�rgen Exner"
> <[EMAIL PROTECTED]> wrote:
>
> I've seen cp -axv used . . .
>
> >Teri <[EMAIL PROTECTED]> wrote in message
> >news:[EMAIL PROTECTED]...
> >> Is there a way to copy (partitions, links and all) an entire
> >> hard drive to another hard drive, such that you can then take
> >> the second drive and place it in a machine with identical
> >> hardware and have it come up without error? Any suggestions would
> >> be appreciated... thanks!
> >
> >Copying the whole hard drive: "dd". Of course the source and target drives
> >must be identical.
> >Copying all the files individually: "cp -a", some people recommend a pipe or
> >"tar". More details can be found in the famous harddrive Upgrade HOWTO.
Some controller firmware has a copy drive function.
Art S. Kagel
------------------------------
From: Art Berggreen <[EMAIL PROTECTED]>
Subject: Re: Swap file limit?
Date: Thu, 10 Jun 1999 11:28:43 -0700
"Kerry J. Cox" wrote:
>
> Marc,
> I'm using the RedHat 6.0 release and that comes with the 2.2.5 kernel.
> However, it's looking more and more like RedHat can't handle the 10GB
> harddrive. I have tried every possible combination and may just have to go
> with Solaris 7 for i86 unless I can get the swap bootable. Any additional
> ideas would be appreciated.
> KJ
Well, I'm running RH-6.0 on a 17GB HD. I kept W98 in a 2GB partition
just in case I need it. I gave root 500MB (probably more than it will
ever need), 500MB for swap (256MB RAM doing large compiles),
2GB for /usr, and the rest for development files. Just got to insure
that /boot lives below the 1024 cylinder limit.
Disk /dev/hda: 255 heads, 63 sectors, 2100 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 255 2048256 b Win95 FAT32
/dev/hda2 256 2089 14731605 5 Extended
/dev/hda5 256 321 530113+ 83 Linux
/dev/hda6 322 387 530113+ 82 Linux swap
/dev/hda7 388 642 2048256 83 Linux
/dev/hda8 643 2089 11622996 83 Linux
Art
------------------------------
** 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
******************************