Linux-Misc Digest #821, Volume #23 Sun, 12 Mar 00 12:13:06 EST
Contents:
Re: C++ in Linux (James Silverton)
Re: Telnet to Unix box ("Mike McDade")
Re: Adding new HDD to existing partition (Dances With Crows)
Re: New to linux - need firewall/nat (Bit Twister)
Re: Leaving the mail on the Imap mail server (Dances With Crows)
Re: Isn't ldconfig supposed to ... ("Andrew Higgs")
Re: Mouse cursor and non-standart windows (Dances With Crows)
Re: Compiling RHIDE-1.4.7 (help with gpr2mak) (Anthony)
Re: Do you hate vi? vi or vim? Deathmatch! (Dances With Crows)
help partitioning 13.2 g with part magic ("Kevin")
Re: Good Linux Books - Cheap (was - I need Linux for Morons (MaryP)
Re: cdrecord read from ide => scsi ?? (Dave Thompson)
Red Hat install problem (John Zumsteg)
Re: Netscape Bookmarks in Linux and Windows????? (Ollie Acheson)
Re: QSeeMe ?? ("A Favored Son")
Laptop problem (Chris Davis)
----------------------------------------------------------------------------
From: James Silverton <[EMAIL PROTECTED]>
Subject: Re: C++ in Linux
Date: Sun, 12 Mar 2000 10:14:21 -0500
Jean-David Beyer wrote:
>
> James Silverton wrote:
>
> > Some years ago, I was fairly competent in the C language. I have been
> > away from it for a while and I am presently interested in learning C++.
> > I know Bjarne Stroustrup maintains that going from C to C++ is not the
> > ideal way but there it is!
> >
> > I'd be grateful for suggestions about books and web pages about learning
> > C++ under Linux and also for ideas about other newsgroups to post this
> > question.
>
> I like "C++ Primer" by Lippman and Lajoie; I have the Third Edition.
> You might also want Peggy Ellis and Bjarne Stroustrup's "The Annotated
> C++ Reference Manual, ANSI Base Document" if you are reallly serious.
> If running Linux, you might need "Using and Porting GNU CC" by Richard M.
> Stallman; I have Version 2.8. "Programming with GNU Software" by Loukides
> and Oram will be useful, too.
> "The C++ Programming Language" by Bjarne Stroustrup is a useful reference;
> I have the Second Edition, but I believe that at least the Third Edition is
As the original poster, may I say thanks to everyone for their
suggestions. There seems to be a fair bit of agreement on the C++ Primer
by Lippman and Lajoie. I have owned the "The C++ Programming Language",
2nd ed. and "The Annotated C++....." for quite a long time and they are
both fascinating books which bring out the elegance (IMHO) of C++. I
might mention that I have been programming successfully for longer than
I care to admit in many languages but not in C++.
I think I can also take it that C++ is not broken under Linux! My
initial test unfortunately failed. I have tried to check that all the
given files concerning C++ in SuSE 6.2 have been installed but I am
still having a problem. Possibly, I am doing something dumb but here is
the output that seems relevant. I'd be grateful for any suggestions. I
might mention that gcc does work on the appropriately modified C
version.
............This is hello.C (using the extension C to select g++)
#include <iostream>
int main()
{
cout << "Hello, world!\n";
return 0;
}
............Trying to compile
> gcc hello.C
/tmp/ccELhCir.o: In function `main':
/tmp/ccELhCir.o(.text+0x9): undefined reference to `cout'
/tmp/ccELhCir.o(.text+0xe): undefined reference to
`ostream::operator<<(char const *)'
collect2: ld returned 1 exit status
...........This is the only reference to cout in the preprocessor
output:
extern _IO_ostream_withassign cout, cerr;
TIA,
Jim.
James V. Silverton
Potomac, Maryland.
------------------------------
From: "Mike McDade" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux,comp.os.linux.networking
Subject: Re: Telnet to Unix box
Date: Sun, 12 Mar 2000 10:29:39 -0500
a simple fix is to emulate a terminal the UNIX box probably knows
such as a vt220
as soon as you log in do this (put them in a .profile, .kshrc, or whatever)
TERM=vt220
export TERM
look in the TERMCAPS on the host machine to find out what kind
of terminals it likes
Mike
[EMAIL PROTECTED]
Matheus Cunha Torres <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I have a Slack 7 box and a SCO 5.05 box in the same network. When I
> telnet from the Linux box to Unix box, the function keys and many other
> keys don't work properly. For example, backspace is the interrupt key.
> I tried to turn the TERM to ansi after connecting to Unix, but the prob
> continues...
>
> Any ideas ???
>
> TIA,
>
> Matheus C. Torres.
>
>
>
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Adding new HDD to existing partition
Date: 12 Mar 2000 10:33:55 EST
Reply-To: [EMAIL PROTECTED]
On Sun, 12 Mar 2000 13:02:50 GMT, Andreas Kahari
<<8ag4hp$ug8$[EMAIL PROTECTED]>> shouted forth into the ether:
>In article <[EMAIL PROTECTED]>,
> [EMAIL PROTECTED] (Arash) wrote:
>> since one of my partitions (and my hdd) is near full, i would
>> like to add a second HDD to my linux box. But i would like to a add
>> the entire new hdd to the old (existing) partition with the same name.
>> So, one partition would cover two hdds (a bit of the first and the
>> entire second one).
>As far as I know, a partition has to reside on one single HD.
>Someone may prove me wrong (but I doubt it).
I believe RAID-0 (linear append mode) can do this. At least, that was the
impression I got from glancing at the docs. RedHat may even have tools to
make it relatively simple, as it seems software RAID of some sort is built
right into the stock RH kernel. I could be wrong.
--
Matt G / Dances With Crows \ In the MS-DOStrix,
There is no Darkness in Eternity \----\ there is no fork().
But only Light too dim for us to see \
===== Usenet: ceci n'est pas une guerre des flammes =====
------------------------------
From: [EMAIL PROTECTED] (Bit Twister)
Subject: Re: New to linux - need firewall/nat
Reply-To: The news group
Date: Sun, 12 Mar 2000 15:42:08 GMT
This built me a tight ipchain firewall rule set
http://linux-firewall-tools.com/linux/firewall/index.html
I used DENY, hardcoded external addresses, logged everything.
As part of the instruction and if you read the script, it will
give several suggestions as to where you install the firewall.
http://cart.cheapbytes.com/cgi-bin/cart
contains linux Install cds for ~2 and up + shipping
On Thu, 9 Mar 2000 22:12:18 GMT, Tim Hicks <[EMAIL PROTECTED]> wrote:
>I guess that subject line says it all. I have never even seen a machine
>running linux, but I have an old 486dx2 66 / 24Mb ram / 424Mb HD. I also
>need to be able to run a proxy server so that I can share access to a cable
>modem connection on my lan.
>
>Questions:
>
>1) What is the most appropriate distribution for my needs? I have heard
>that Corel is designed with ease of use in mind. I know that RedHat seems
>to be the most widely recognised.
>
>2) With my non-existent experience of linux, will I be able to setup the
>services that I require on my own (or perhaps, if I'm lucky, with some help
>from you guys here!)?
>
>3) Is my 486 up to the task of running this service for a lan that will
>normally have just 2 computers, but may need to take up to 4.
>
>tia
>
>tim
>
>
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Crossposted-To: comp.mail.imap
Subject: Re: Leaving the mail on the Imap mail server
Date: 12 Mar 2000 10:42:09 EST
Reply-To: [EMAIL PROTECTED]
On Sun, 12 Mar 2000 09:30:12 -0500, Ralph C. Blach
<<[EMAIL PROTECTED]>> shouted forth into the ether:
>I want to use Linux and netscape when accessing an imap server. When I
>view a peice of mail using netscape/linux, Can netscape under linux be
>told to leave the mail messages files on the server?
IMAP servers always leave the messages on the server until you explicitly
delete them. POP3 servers always delete messages from the server unless
you explicitly tell them to leave a copy on the server. The relevant
settings for either kind of server are under Edit->Preferences->Mail and
Newsgroups in Netscape. HTH,
--
Matt G / Dances With Crows \ In the MS-DOStrix,
There is no Darkness in Eternity \----\ there is no fork().
But only Light too dim for us to see \
===== Usenet: ceci n'est pas une guerre des flammes =====
------------------------------
From: "Andrew Higgs" <[EMAIL PROTECTED]>
Subject: Re: Isn't ldconfig supposed to ...
Date: Sun, 12 Mar 2000 17:44:06 +0200
But /etc/ld.so.conf tells ldconfig where to look for additional libs.
/etc/ld.so.cache is the file ldconfig creates.....
Are you using ldconfig -v.
Kind regards
Andrew Higgs
Andrew Purugganan wrote in message <8aeuvu$[EMAIL PROTECTED]>...
|pause and then spit out all this lib stuff? SOmetimes it seems not to
do
|anything but redisplay the last output it gave, without even a split
|second hesitation, even after I delete etc/ld.so.conf
|I am using Mandrake 6.0 Venus, has anybody seen this problem?
|
|--
|jazz annandy AT dc DOT seflin DOT org
|Registered linux user no. 164098-88940
|Doesn't it bother you, that we have to search for intelligent life
|--- OUT THERE??
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Mouse cursor and non-standart windows
Date: 12 Mar 2000 10:47:56 EST
Reply-To: [EMAIL PROTECTED]
On Sun, 12 Mar 2000 14:05:48 GMT, Arik Solomon
<<[EMAIL PROTECTED]>> shouted forth into the ether:
>1. Is there a way to create non rectangular windows in Linux ? (like
>round , or free shaped). I know there's such capability in Windowz,
>and I'm quite sure Linux can too...
>2. Is it possible to change the mouse cursor ? (what I mean is
>something like using a theme to change the cursor image as well as the
>wallpaper etc.)
The Enlightenment Window Manager can do number 1 for sure. If your distro
included GNOME, then it has Enlightenment as well--try it out, it can be
very cool, but it's a resource hog. I'm pretty sure 2 can be done as
well, but individual applications often have control of how the cursor
looks when the cursor is within their windows. The window manager
controls how the cursor looks within the root window (usually, it's set to
be a black X.) HTH,
--
Matt G / Dances With Crows \ In the MS-DOStrix,
There is no Darkness in Eternity \----\ there is no fork().
But only Light too dim for us to see \
===== Usenet: ceci n'est pas une guerre des flammes =====
------------------------------
From: [EMAIL PROTECTED] (Anthony)
Subject: Re: Compiling RHIDE-1.4.7 (help with gpr2mak)
Date: 12 Mar 2000 15:51:56 GMT
<[EMAIL PROTECTED]> wrote:
>My system is an i486 Linux RH6.0 Kernel 2.2.9, and will like to
>install the rhide (Borland TC++3.1 IDE clone) package.
>
>The .rpm archives all arround the mirrors I've found are 0bytes,
>and only the source form are available.
>
>I've placed and configured the gdb 4.18-10 sources with ./configure
>also placed the GDB_SRC environment pointing to them, the
>TV2_ZIP to the turbovision sources, and the linux sources are
>in place. (I've recompiled the kernel a lot of times).
>
>I can't understand the error generated, that seems that are looking
>for the gpr2mak executable but still haven't been compiled.
>
>I've searched the web and the usenet archives without luck. Please
>could someone point me to the right way?
>
>[root@eb7gwl rhide-1.4.7]# make needed
>/bin/sh: syntax error near unexpected token `(/'
>/bin/sh: -c: line 1: `which: no gpr2mak in
>(/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin/X11:/usr/X11R6/bin:/root/bin)
...extra error messages snap...
I got the same error. I got the package for a while and I forgot
why I did not set it up, now I know.
First, the "latest" rhide RPM is 1.3.1 and I cannot find anything
newer than that. Second, rhide was ported from DOS, a djgpp
environment, apparently this package has not been test compile
on any Unix system. Thirdly, the "gpr2mak" program is suppose
to convert a rhide project file to a makefile, however the
program gpr2mak does not exists in the rhide tar ball or anywhere
on the web - it is a no go.
Another thing is, rhide rely on TurboVision which use a lot of
fancy ascii characters - it might work on a console, but if you
run it under any xterm, you will find xterms and it fonts might
display the wrong alternate character set. I have tried to configure
TurboVision to work correct under a few xterms without success,
its either run it under console or the xterm, not both - it will
look terrible either way.
Besides, the biggest benefit of rhide is the debugger integration -
which is not so important. Look for Code Crusader and many others
under X instead.
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Crossposted-To: uk.comp.os.linux,comp.editors,comp.unix.misc
Subject: Re: Do you hate vi? vi or vim? Deathmatch!
Date: 12 Mar 2000 10:59:31 EST
Reply-To: [EMAIL PROTECTED]
On Sun, 12 Mar 2000 12:08:24 +0000, [EMAIL PROTECTED]
<<[EMAIL PROTECTED]>> shouted forth into the ether:
>
>Considering the fact that VIM is normally the only editor available on
>rescue disks, I should hope so too...
>
>(Personally, I'd love a rescue disk that had Joe on it)
>How easy is it to put together a rescue disk?
Not that hard. You need a kernel with RAM disk support, and you need a
compressed filesystem image to be your initial RAMdisk, and you need to
mutter the correct incantations to get everything to fit on a floppy.
The entire process is explained rather well at the URL below; if you
installed the full documentation on your box, it's probably somewhere
below /usr/doc/howto.
http://www.linuxdoc.org/HOWTO/Bootdisk-HOWTO.html
People who are Lazy can just go to http://www.toms.net/rb and follow the
directions there for a very nifty rescue disk...
--
Matt G / Dances With Crows \ In the MS-DOStrix,
There is no Darkness in Eternity \----\ there is no fork().
But only Light too dim for us to see \
===== Usenet: ceci n'est pas une guerre des flammes =====
------------------------------
From: "Kevin" <[EMAIL PROTECTED]>
Subject: help partitioning 13.2 g with part magic
Date: Sun, 12 Mar 2000 10:59:42 -0500
I have a pIII 450 with a 13.2 g quantum fireball kpa 7200
It has one partition with win98 using 3g of space
I defragged and used linux prep partition magic to create a 4,096mg linux
partiion.
when i installed boot magic i got error message saying
there are no fat16 or fat32 primary partitions completely below cy 1024 on
the 1st hard drive
any suggestions please. Thanks
Kevin
------------------------------
From: [EMAIL PROTECTED] (MaryP)
Crossposted-To: comp.os.linux.advocacy,comp.os.linux.setup
Subject: Re: Good Linux Books - Cheap (was - I need Linux for Morons
Date: Sun, 12 Mar 2000 09:50:40 -0600
In article <8ag9bd$je8$[EMAIL PROTECTED]>, "Frank Adler"
<[EMAIL PROTECTED]> wrote
something useful even if you don't read German.
> Wirf mal einen Blick auf meine Seite:
(take a look at my site)
> !!! Kostenlos !!!
> www.computer-literatur.de
> Computer-B�cher online lesen !
(!!! Free !!!
www.computer-literatur.de
Read computer books on line!)
Go to the site and click the top option in purple on the left, and he
shows you a menu. Some items are in English so even if you can't read
Frank's posted message you can read his library, which is pretty
wide-ranging. How handy. MKP
------------------------------
From: Dave Thompson <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: cdrecord read from ide => scsi ??
Date: Sun, 12 Mar 2000 16:22:07 GMT
Thanks for your help -- it's working with cdparanoia, wasn't working before
but I found that I had a jumper problem with my ide cdrom that is now fixed.
However, I'm still looking for the convenience and the speed of the windows
adaptec software setup, i.e.
1) copy all the tracks at once, with disk-at-once, i.e. no two second gap,
unattended
2) balanced read and write priorities (with linux I'm getting buffer
underruns even with a 24mb buffer at 8x, where with windows 8x was working
fine) -- and yes, they are the same CD drives
I suppose that I could just setup a script, checking number of tracks and
then executing the copy n times
any ideas would be appreciated.
I tried the dd copy for data -- I had tried mkisofs because that was the
example in the man cdrecord -- dd is giving me a "no space left on device" --
the linux machine I'm playing with has very little free disk space, is dd
creating a temporary file and then dying ? -- it dies in the same place no
matter how large I make the cdrecord buffer.
thanks.
Dave
------------------------------
Date: Sun, 12 Mar 2000 08:23:21 -0800
From: John Zumsteg <[EMAIL PROTECTED]>
Subject: Red Hat install problem
I cannot get Red Hat 6.0 to install and boot. I've installed trying the
standard workstation and server selections, as well as several different
custom configurations. The install goes fine, but when I boot, it does a
bunch of stuff, then the following:
INIT: version 2.74 booting
INIT: No inittab file found (although the install shows inittab being
copied)
Enter runlevel: (I enter 1)
INIT: Entering runlevel 1
INIT: No more processes left in the runlevel
At which point, the machine is completely locked up; nothing works.
This occurs whether I boot from the harddrive, or from a rescue disk or
from a boot floppy.
I have installed from this CDROM to another machine, without difficulty.
The machine is:
P2 - 266mhz
64mb RAM
4.3GB Seagate ultra-wide SCSI
Adaptec AHA 2940 SCSI card
As I said, this is a consistent result, over probably 8-10 installs now.
Any help will be greatly appreciated.
John
------------------------------
From: Ollie Acheson <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: Netscape Bookmarks in Linux and Windows?????
Date: 12 Mar 2000 11:10:54 -0500
Here's what I did that works:
1) Realized that the win95 copy of the bookmarks file had to be the "master" since
win95 can't read my linux partitions.
2) Made sure that the win95 directory structure was mounted and the permissions were
right (i.e., I owned the bookmark file and I had "write" rights to it.
3) looked at the linux netscape preferences file (~/.netscape/preferences.js) has
an entry that points at the win95 bookmark file. Mine has:
user_pref("browser.bookmark_file", "/mnt/win95/Program
Files/Netscape/Users/oacheson/bookmark.htm");
as its entry.
It works like a charm. Entries to bookmarks from either linux or win95 end up in the
same file.
Hope this helps.
Ollie Acheson
HW <[EMAIL PROTECTED]> writes:
> Spectre schrieb:
>
> > 1)Keep one copy of the bookmark in a disk area that both linux and
> > windows can see.
> >
> > 2)Make a symlink in your .netscape folder (in your home dir) to that
> > bookmark.
> >
> > 3) In windows, change your bookmarks settings to use THAT bookmark.
> >
> > Now, no matter what changes you make to the bookmark file (which is
> > just
> > html) in EITHER
> > operating system will be seen in the other as well.
> >
> > Peace.
> > -Spectre
>
> Hi Spectre,
>
> thanks for your mail. That's exactly what I have been trying for hours
> and hours and no matter what I change it allways fails in Linux:
>
> 1) When I make a symlink for the file "bookmarks.html" in the .netscape
> dir, Netscape does use it but as soon as I add a new bookmark, and leave
> Netscape, it removes the symlink and places a COPY of the linked FILE,
> with the added bookmark in .netscape instead!
>
> 2) When I move the whole .netscape dir to the other partition and make a
> symlink to that dir, Netscape refuses starting, complaining that there
> was a lock file in the .netscape, but there definitetly isn't!
>
> I am using Linux 2.2.7, Netscape Linux 4.51, Netscape Win 4.5, The
> shared partition is a vfat type (not fat32) and mounted as vfat. The
> mount umask does rwxrwxr-x and oid=root, gid=users. Netscape is started
> as normal user.
>
> Gerhard
>
> >
>
--
|---------------------------|
| Ollie Acheson |
| Morristown, NJ |
|---------------------------|
------------------------------
From: "A Favored Son" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.mandrake
Subject: Re: QSeeMe ??
Date: Sun, 12 Mar 2000 08:52:46 -0800
The ports for cuseeme are:
tcp 7648
tcp 1720
tcp 1503
udp 7648
udp 24032
Then you want to edit /etc/services, the file that turns on or off ftp,
www services, telnet, etc. You might want to consider turning these
off if you're not running a service, to keep nosy people from trying to
read your files. Turn off netbios too. To turn them off, just put a
"#" at the beginning of the line you want to disable (comment it out-
don't use the quotes around the #) If you want to turn the ports on,
remove the "#".
If the cuseeme ports aren't listed, add them. Computers are dumb.
They won't know.
Regards and good luck. Qseeme is far superior, IMHO to CU.
Rick wrote in message <[EMAIL PROTECTED]>...
>Which ports would those be, and how do I enable them? Is that explained
>in some documentation?
>
>A Favored Son wrote:
>>
>> yes, I've used it. It works just fine.
>> Perhaps you're don't have the cuseeme ports enabled?
>> M'kay?
>>
>> Rick wrote in message <[EMAIL PROTECTED]>...
>> >Has anyone goten QSeeMe to work? I can get it to start, but it wont
>> >connect to anything. Im using a Compaq 1270, and audio doesnt work at
>> >the moment.
>> >
>> >Any and all help appreciated.
>> >--
>> >
>> >Rick
>> >To reply by email remove NOSPAM from my address.
>
>--
>
>Rick
>To reply by email remove NOSPAM from my address.
>
------------------------------
From: Chris Davis <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.setup,comp.os.linux.help
Subject: Laptop problem
Date: Sun, 12 Mar 2000 11:46:26 -0500
This is a multi-part message in MIME format.
==============3AED724070EBCB802F16161D
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Anyone out there running RH6.0 on a laptop with a Trident CyberBlade i7
video interface?
My system is a Compaq Presario 1277.
I'm having trouble with XF86 and would greatly appreciate some help. X
server crashes reporting problems with "ModeLine" entries.
Perhaps an XF86Config file?
I'm new to the laptop scene so bear with me.
TIA,
chris
==============3AED724070EBCB802F16161D
Content-Type: text/x-vcard; charset=us-ascii;
name="cdavis.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Chris Davis
Content-Disposition: attachment;
filename="cdavis.vcf"
begin:vcard
n:Davis;Christopher
x-mozilla-html:FALSE
org:Embedded Systems Design, Inc.
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Embedded Specialist
x-mozilla-cpt:;0
fn:Christopher Davis
end:vcard
==============3AED724070EBCB802F16161D==
------------------------------
** 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
******************************