Linux-Setup Digest #556, Volume #20 Fri, 2 Feb 01 16:13:11 EST
Contents:
Re: Stupid question! (Eggert Ehmke)
Syslog setup ("Rama S. Vykunta")
Re: rmcobol and terminfo (Martin Gregorie)
gnome+fvwm+multihead? (Peter Bismuti)
Avermedia and Kernel 2.4.1 (Luis Angel Fdez. Fdez.)
Re: Lilo boot over cyl 1024 (Clark L. Coleman)
Re: newbie startx problem (Marc Ulrich)
simple aggrivation (Marc Ulrich)
Re: newbie startx problem ("flipper")
Mandrake Live Update doesn't work? (Peter Bismuti)
Zip command (Anna Gori)
Re: Zip command ("Simon P")
Re: Zip command (David)
Re: simple aggrivation (David)
Re: simple aggrivation (Thomas Hedden)
Help!! Apache ("petro")
Network Support? ("Wade Lindsey")
Re: Zip command ("Peter T. Breuer")
Trouble with Installation Tree (Willy)
Re: simple aggrivation (Marc Ulrich)
Re: newbie startx problem ("ne...")
Re: KDE/Redhat 7 problems due (?) to upgrade from 1.1.3/6.2 (zoot)
([EMAIL PROTECTED])
How to Kill News ("David Peavey")
sending mail from shell w/o sendmail ([EMAIL PROTECTED])
Suse 6.4 to 7.1 (future) upgrade. ([EMAIL PROTECTED])
Re: HOW ABOUT LINUX (John)
----------------------------------------------------------------------------
From: Eggert Ehmke <[EMAIL PROTECTED]>
Subject: Re: Stupid question!
Date: Fri, 02 Feb 2001 18:24:40 +0100
Reply-To: [EMAIL PROTECTED]
On Fri, 02 Feb 2001 15:05:35 GMT, arse <[EMAIL PROTECTED]> wrote:
>what is the difference between c and c++? is c++ just like a newer
>version or is it a graphical version?
Here are some references:
http://www.geocities.com/SiliconValley/Hills/1317/
http://www.vb-bookmark.com/CppTutorial.html
The main difference is, C++ has objects. Objects are cute. Let's say, you
have an object 'vehicle'. All vehicles can move, so there is a method
'move', maybe with a parameter speed. So you can have a statement in C++:
myvehicle.move (100);
Now you have bicycles, cars, ships, they all move by different techniques.
So you can derive new objects from the object 'vehicle' and reimplement
their 'move' method. When you have a particular vehicle, you don't have to
know whether its a ship or a plane. If you know it is derived from vehicle,
you know it can move.
That's the basic idea. You can get tons of documentation, if you really want
to know the details. C++ is used for most gui applications because objects
fit perfectly to screens, windows, buttons, menus... all what you see are
objects.
Have fun.
Eggert
--
Eggert Ehmke
Email: [EMAIL PROTECTED]
------------------------------
From: "Rama S. Vykunta" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.admin
Subject: Syslog setup
Date: Fri, 02 Feb 2001 11:51:44 -0600
Hi All,
I would like to setup the syslogd for a distributed application I am
building. Multiple machines are used by the application and the
components on each of these machines does logging. I want to know if
there is a way to log both to the local system as well as to the remote
system. If so can some one tell me how the syslog.conf file looks. Any
help is appreciated
Thanks,
-Rama.
------------------------------
From: [EMAIL PROTECTED] (Martin Gregorie)
Subject: Re: rmcobol and terminfo
Date: Fri, 02 Feb 2001 17:49:08 GMT
On Fri, 2 Feb 2001 14:59:49 -0000, "Paulo" <[EMAIL PROTECTED]>
wrote:
>Hi !
>
>Using the 'linux' terminfo i do have my special caracters (portuguese and
>other special ones), but only on X11 (Kde2 and Konsole w/kb in linux mode),
>because on the real console i have graphic caracters in the place of my
>special caracters ... any idea why ? terminfo is the same ? X11
>configuration ? even BACKSPACE key has diferent beaviour ...
>Any Suggestion ?
>
>Thanks in advance
>
>Any special terminfo for rmcobol, out there ? :)
>
Why special terminfo?
Doesn't RM COBOL provide a native calling mechanism to let you call C
library functions from COBOL? Most COBOL implementations permit this,
though you might have to write a minimal C interface layer if the
terminfo functions require parameter types that COBOL doesn't support.
Remember that a parameter passed BY REFERENCE corresponds to a pointer
and that COBOL records and alphanumerics are both passed as strings
without any length information or null terminators.
HTH
--
gregorie | Martin Gregorie
@logica | Logica Ltd
com | +44 020 76379111
------------------------------
From: [EMAIL PROTECTED] (Peter Bismuti)
Subject: gnome+fvwm+multihead?
Date: 2 Feb 2001 17:55:27 GMT
I run AcceleratedX and would like to run gnome on top of FVWM. My
understanding is that Gnome cannot run on multihead setups. Is this
because of the underlying Window manager, or is it because of gnome itself?
If it is beause of gnome, when is this going to be fixed?
Thanks
------------------------------
From: [EMAIL PROTECTED] (Luis Angel Fdez. Fdez.)
Subject: Avermedia and Kernel 2.4.1
Date: 2 Feb 2001 19:25:55 +0100
Reply-To: [EMAIL PROTECTED]
=====BEGIN PGP SIGNED MESSAGE=====
Hash: SHA1
Hi!
I've compiled the kernel 2.4.1, and I can't change the TV-channel on my
Avermedia TV-Capture 98. With the 2.2.18 kernel it was fine.
# i2c
alias char-major-89 i2c-dev
options i2c-core i2c_debug=1
options i2c-algo-bit bit_test=1
# bttv
alias char-major-81 videodev
alias char-major-81-0 bttv
options bttv card=13 radio=0 tuner=5
options tuner debug=1 type=5
This is what I have in my /etc/modules.conf. The values for card and
tuner, and type (for tuner options) are those worked on 2.2.18 kernel.
Any idea?
Thanks in advance. CU
- --
|> Luis Angel Fdez. Fdez. mailto:[EMAIL PROTECTED] - ICQ #5881541
|> Linux 2.4.1 - AMD Athlon - Linux User #99754
|> Clave GPG: http://www.telecable.es/personales/muxin/miKey.asc
=====BEGIN PGP SIGNATURE=====
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE6evw5srzbHhG/hp8RAjIZAKDhxiNwKVc7se2tDN4lq/vAH1ig1wCfT7Vx
VOH+6j2oN2tIyAWvG/ivpv8=
=FSaO
=====END PGP SIGNATURE=====
------------------------------
From: [EMAIL PROTECTED] (Clark L. Coleman)
Subject: Re: Lilo boot over cyl 1024
Date: 2 Feb 2001 18:21:32 GMT
In article <[EMAIL PROTECTED]>,
Manuel Stesycki <[EMAIL PROTECTED]> wrote:
>Hi...
>I am trying to install linux on my athlon-pc.I have several partition:
>1 GB for Win98 + 6 GB for Win data (dont't blame me :-) )
>6 GB for Linux( last on the drive)
>The installation was successful (Suse 7.0) but lilo returns an
>error-message that my root-partition(the Kernel) is located over the
>1024 cylinder and not bootable.
>So what can i do? buy an new HDD ?
>
No, don't buy another hard drive. Just re-install as follows:
/ mount point gets a few hundred MB of disk, startign at the 7GB point
on your hard drive. This is a bootable Linux partition type.
swap partition gets the next few hundred MB on the disk.
/home mount point gets a few hundred MB partition.
These three partitions all fit in first 8GB of hard drive (i.e. inside
the first 1023 cyclinders.)
/usr mount point comes next, needs several GB to itself, as a lot of
software installations over time will go here, and you can put data in
here, too. Cylinder numbers, LILO, etc., only matter for the first
mount point above ("/", the bootable partition). It does not matter
what the starting cylinder number or last cylinder number are for any
of these other partitions.
Your problem comes from only having ONE partition for Linux, which
contains everything (/, swap, /home, /usr).
------------------------------
From: Marc Ulrich <[EMAIL PROTECTED]>
Subject: Re: newbie startx problem
Date: Fri, 02 Feb 2001 12:58:05 -0500
Rerun the Xconfiguration & tell it which video card that you have. It
should let you do that. I've also seen some good help in books on how to
manually set video modes by editing a configuration file, but have never
done it. I'm a newbie myself -- that's why I don't remember what the
configuration file is!
Marc
flipper wrote:
>
> Hi - hope you can help me...
>
> I have recently installed RedHat 6.1 (first-time Linux user) and cannot get
> startx to work. (I've only got v6.1 because I got it a while ago and
> couldn't get it to install on my old computer and have been hanging on to it
> until I upgraded ;-))
>
> I suspect that it's because when I went through the custom install and it
> got to the X configuration page it correctly identifies my monitor but says
> no video card found. It's a S3 Trio3D/2x Rev C.
>
> When installation is complete and I log in as root, I type startx and get a
> message that "execve failed for /etc/X11/X (errorno 2)"
>
> Pls can someone tell me how I can get startx to work.
> Cheers
> Andy
------------------------------
From: Marc Ulrich <[EMAIL PROTECTED]>
Subject: simple aggrivation
Date: Fri, 02 Feb 2001 12:56:02 -0500
What causes bash not to recognize executables? I can compile a program,
double check that the executable bit(s) are set, and then try to run it
from an xterm. But, bash quaintly returns:
bash: command not found.
Now, how can that be? I know it is something simple to fix, but I just
don't know where to look.
Thanks!
Marc
------------------------------
From: "flipper" <[EMAIL PROTECTED]>
Subject: Re: newbie startx problem
Date: Fri, 2 Feb 2001 18:55:43 -0000
Marc Ulrich <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Rerun the Xconfiguration & tell it which video card that you have. It
> should let you do that. I've also seen some good help in books on how to
> manually set video modes by editing a configuration file, but have never
> done it. I'm a newbie myself -- that's why I don't remember what the
> configuration file is!
>
I tried running Xconfigurator, Marc. I tried a few different cards,
primarily the S3 Trio3D, and each time it says error server does not exist.
I've even reinstalled Linux from scratch a few times to ensure I've selected
X windows and gnome and kde to be installed. Still no joy.
Cheers
Andy
------------------------------
From: [EMAIL PROTECTED] (Peter Bismuti)
Subject: Mandrake Live Update doesn't work?
Date: 2 Feb 2001 18:50:01 GMT
Anyone know how to get Mandrake's Live Update working? It runs and runs and
runs, but then when I start it over it shows that none of the packages have
been updated.
Thanks
------------------------------
From: Anna Gori <[EMAIL PROTECTED]>
Crossposted-To:
alt.os.linux,de.comp.os.unix.linux.misc,comp.os.linux.misc,comp.os.linux.help
Subject: Zip command
Date: Fri, 02 Feb 2001 20:10:17 +0100
Hello,
coult you tell me what packet I have to install on my linux 6.4 to get
the command zip?
Or where can I find information about the find of the right packet for
the zip command?
thanks
bye
------------------------------
From: "Simon P" <[EMAIL PROTECTED]>
Crossposted-To:
alt.os.linux,de.comp.os.unix.linux.misc,comp.os.linux.misc,comp.os.linux.help
Subject: Re: Zip command
Date: Fri, 2 Feb 2001 19:13:32 -0000
man gzip
Simon
Anna Gori <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Hello,
>
> coult you tell me what packet I have to install on my linux 6.4 to get
> the command zip?
>
> Or where can I find information about the find of the right packet for
> the zip command?
>
> thanks
> bye
>
>
------------------------------
From: David <[EMAIL PROTECTED]>
Crossposted-To:
alt.os.linux,de.comp.os.unix.linux.misc,comp.os.linux.misc,comp.os.linux.help
Subject: Re: Zip command
Date: Fri, 02 Feb 2001 19:17:24 GMT
Anna Gori wrote:
>
> Hello,
>
> coult you tell me what packet I have to install on my linux 6.4 to get
> the command zip?
>
> Or where can I find information about the find of the right packet for
> the zip command?
>
> thanks
> bye
For a redhat 6.2 system it would be zip-2.3-4.
--
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter. http://counter.li.org
ID # 123538
Completed more W/U's than 99.036% of seti users. +/- 0.01%
------------------------------
From: David <[EMAIL PROTECTED]>
Subject: Re: simple aggrivation
Date: Fri, 02 Feb 2001 19:19:51 GMT
Marc Ulrich wrote:
>
> What causes bash not to recognize executables? I can compile a program,
> double check that the executable bit(s) are set, and then try to run it
> from an xterm. But, bash quaintly returns:
>
> bash: command not found.
>
> Now, how can that be? I know it is something simple to fix, but I just
> don't know where to look.
>
> Thanks!
> Marc
If you are trying to run it from the same directory try.
./file-name
or /path/to/file-name
--
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter. http://counter.li.org
ID # 123538
Completed more W/U's than 99.036% of seti users. +/- 0.01%
------------------------------
Date: Fri, 02 Feb 2001 14:23:57 -0500
From: Thomas Hedden <[EMAIL PROTECTED]>
Subject: Re: simple aggrivation
Your current directory (`.') might not
be in your search path. If it's not,
then the shell won't find the command.
That is, instead of this:
$ my_command
Try this:
$ ./my_command
Some OSes (I believe on HP-UX does,
if memory serves) require the following
syntax to execute something in `.':
$ . ./my_command
This is really a shell question, not a
setup question. You should read up a
little on the Linux/UNIX shell.
Tom
[EMAIL PROTECTED]
==========
Marc Ulrich wrote:
>
> What causes bash not to recognize executables? I can compile a program,
> double check that the executable bit(s) are set, and then try to run it
> from an xterm. But, bash quaintly returns:
>
> bash: command not found.
>
> Now, how can that be? I know it is something simple to fix, but I just
> don't know where to look.
>
> Thanks!
> Marc
------------------------------
From: "petro" <[EMAIL PROTECTED]>
Subject: Help!! Apache
Date: Fri, 2 Feb 2001 20:12:25 +0100
My Pearl script is working just fine, but when it has to write something
in file-an error occures (the file can`t be open).
Please, help me!
Thanx.
------------------------------
From: "Wade Lindsey" <[EMAIL PROTECTED]>
Subject: Network Support?
Date: Fri, 2 Feb 2001 14:25:00 -0500
Hi there.
I just installed RH6.2 on a partitionless install, and apparently I have no
network support. I read throught the RH Installation Guide and Getting
Started Guide, and all they mention is dialup PPP access to the web. How
can I get Linux to recognize my network card and access the internet that
way? THank
Wade
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Crossposted-To:
alt.os.linux,de.comp.os.unix.linux.misc,comp.os.linux.misc,comp.os.linux.help
Subject: Re: Zip command
Date: Fri, 2 Feb 2001 20:14:25 +0100
In comp.os.linux.help Anna Gori <[EMAIL PROTECTED]> wrote:
> coult you tell me what packet I have to install on my linux 6.4 to get
> the command zip?
What distribution?
> Or where can I find information about the find of the right packet for
> the zip command?
Your distros list of files.
I presume you are talking about infozip as opposed to gzip? One is for
the dos archive format, the other is for compression of data.
Peter
------------------------------
From: Willy <[EMAIL PROTECTED]>
Subject: Trouble with Installation Tree
Date: Fri, 02 Feb 2001 19:30:13 -0000
I am a Windows 98SE user and I have two hard disk, a 13GB and a 5GB. For
the 13GB, it is partitioned into two seperated drives (c: and e:) and as
for the 5GB, it is also partitioned into two serperate drives (d: and f:).
I have one free drive (d:) ready to install Linux in. All 4 drives are
FAT32. I downlaoded Linux RedHat 7.0 into c: and had a bootable floppy
disk. I inserted the dootdisk and the linux installation program is up.
But, when it asked where is the RedHat/RPMS or RedHat/base are found in
the parition, I don't know what to do. I choose all the options avaiable,
eg: drv/hda1 (shld be this, not too sure abt it) and all left saying that
they couldn't find the installation tree. What should I do???
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: Marc Ulrich <[EMAIL PROTECTED]>
Subject: Re: simple aggrivation
Date: Fri, 02 Feb 2001 14:33:11 -0500
Hmm.. It works, but why?
I have another Linux system that doesn't need a ./ to run programs.
Marc
Thomas Hedden wrote:
>
> Your current directory (`.') might not
> be in your search path. If it's not,
> then the shell won't find the command.
> That is, instead of this:
> $ my_command
> Try this:
> $ ./my_command
> Some OSes (I believe on HP-UX does,
> if memory serves) require the following
> syntax to execute something in `.':
> $ . ./my_command
> This is really a shell question, not a
> setup question. You should read up a
> little on the Linux/UNIX shell.
> Tom
> [EMAIL PROTECTED]
> ----------
> Marc Ulrich wrote:
> >
> > What causes bash not to recognize executables? I can compile a program,
> > double check that the executable bit(s) are set, and then try to run it
> > from an xterm. But, bash quaintly returns:
> >
> > bash: command not found.
> >
> > Now, how can that be? I know it is something simple to fix, but I just
> > don't know where to look.
> >
> > Thanks!
> > Marc
------------------------------
From: "ne..." <[EMAIL PROTECTED]>
Subject: Re: newbie startx problem
Date: Fri, 02 Feb 2001 19:52:22 GMT
On Feb 2, 2001 at 18:55, flipper eloquently wrote:
>
>Marc Ulrich <[EMAIL PROTECTED]> wrote in message
>news:[EMAIL PROTECTED]...
>> Rerun the Xconfiguration & tell it which video card that you have. It
>> should let you do that. I've also seen some good help in books on how to
>> manually set video modes by editing a configuration file, but have never
>> done it. I'm a newbie myself -- that's why I don't remember what the
>> configuration file is!
>>
>I tried running Xconfigurator, Marc. I tried a few different cards,
>primarily the S3 Trio3D, and each time it says error server does not exist.
>I've even reinstalled Linux from scratch a few times to ensure I've selected
>X windows and gnome and kde to be installed. Still no joy.
I suspect the version of X you are using does not support
your card. You could try upgrading X to version 3.3.6 or
4.0.2.
--
Registered Linux User # 125653 (http://counter.li.org)
I read Playboy for the same reason I read National Geographic. To see
the sights I'm never going to visit.
2:49pm up 22 days, 17:47, 5 users, load average: 0.00, 0.00, 0.00
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.questions,comp.os.linux.portable,aus.computers.linux
Subject: Re: KDE/Redhat 7 problems due (?) to upgrade from 1.1.3/6.2 (zoot)
Date: 02 Feb 2001 12:17:03 -0800
Laurence John Oliver <[EMAIL PROTECTED]> writes:
> Have been racking my brains and searching the net for the answer to a
> couple of KDE 2.0.1 problems and thought I'd ask you guys...
>
> I finally managed to sort out most of my upgrade-related KDE problems -
> got rid of 1.1.3 or whatever it was and upgraded to 2.0.1 successfully -
> but THEN (a few days back) upgraded to Redhat 7 - after this KDE 2.0.1
> wouldn't run - so I uninstalled it and installed it again - NOW it does
> run - the
> outstanding/weird problems I still have - and can't resolve are:
...
> Would really appreciate any help/ideas on these problems - very annoying
> and hard to work out.
>
> Thanks in advance,
>
> John.
I can't help you with your RedHat 7 problems, but I will point out
that Mandrake 7.2 is very similar to (and based on) RedHat, and comes
standard with KDE 2, and works very well for me. You might try that.
--
Eric Backus <[EMAIL PROTECTED]>
http://labejb.lks.agilent.com/
(425) 335-2495
------------------------------
From: "David Peavey" <[EMAIL PROTECTED]>
Subject: How to Kill News
Date: Fri, 2 Feb 2001 12:38:27 -0800
For reasons too detailed to discuss here, I would like for News NOT to run
on my Linux box. But I haven't figured out how to kill it. I get the
following messages in my /var/log/messages file.
Feb 1 07:01:00 kenny PAM_pwdb[1878]: (su) session opened for user news by
(uid=9)
Feb 1 07:01:00 kenny PAM_pwdb[1878]: (su) session closed for user news
Feb 1 08:01:01 kenny PAM_pwdb[1912]: (su) session opened for user news by
(uid=9)
Feb 1 08:01:01 kenny PAM_pwdb[1912]: (su) session closed for user news
Feb 1 09:01:00 kenny PAM_pwdb[1946]: (su) session opened for user news by
(uid=9)
Feb 1 09:01:01 kenny PAM_pwdb[1946]: (su) session closed for user news
Please help!
Thanks
David Peavey
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED]
Subject: sending mail from shell w/o sendmail
Date: Fri, 02 Feb 2001 20:36:44 GMT
I don't want to have postfix/sendmail running on my linux
system that's hooked up to the DSL modem.
But I would like to send emails to MY EXTERNAL email-address from
cron jobs. Currently all email just sits in the
spool directory in obviously machine-readable format.
elm, mutt, pine, etc... are all graphical tools.
Way too big.
Mail/mail has no concept of 'smtphost' (right?), since it sends to
localhost only ?
rmail wasn't any better.
Alternatively how do I use masquarade to cheat Mail
(so that when it connects to localhost:24, it actually
goes to the official SMTPserver that my ISP gave me).
[end]
Sent via Deja.com
http://www.deja.com/
------------------------------
From: [EMAIL PROTECTED]
Subject: Suse 6.4 to 7.1 (future) upgrade.
Date: Fri, 02 Feb 2001 20:49:38 GMT
Hi!
I have been running Suse 6.4 for a while now, and I'm very happy, but I
would like to get kernel 2.4 + Nautilus on my desktop, so I think
upgrading to Suse 7.1 would be in order. Can anyone tell me how safe it
is to upgrade? I would prefer upgrade, without reinstalling, because I
have a few VMWare virtual machines set up and backing up would be real
pain... Would 7.1 perform automatic upgrade?
Thanks for any help!!!
Peter
P.S. I realize that 7.1 is not out there yet, but maybe someone is
closer to the developers and knows....
Sent via Deja.com
http://www.deja.com/
------------------------------
From: John <[EMAIL PROTECTED]>
Subject: Re: HOW ABOUT LINUX
Date: Fri, 02 Feb 2001 20:49:40 GMT
1. See what version works for you. I prefer Red Hat, but others here
will recommend Suse, Debian, etc. I recommend if you have any
friends running Linux, use what they use. You get good help that
way.
2. Obtain the version of Linux you chose. Either download it or buy
it. Unless you have a good Internet connection, a CD burner, and
patience, I recommend you buy it. If you buy it, you usually get a
book that tells you how to install and set it up.
3. Go to the Linux Documentation Project (http://www.linuxdoc.org/)
and read HOWTO articles when you need further help.
4. Read this newsgroup and post questions here if you can't find
the answer there. Also, the information you find here will often be
more recent (and relevant) than the HOWTOs.
I learned Unix from installing Linux and then running it. It will be a
challenge, but it's worth it. No one was born knowing Linux. We all
had to learn it some time. Have fun!
Sent via Deja.com
http://www.deja.com/
------------------------------
** 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.setup.
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-Setup Digest
******************************