Linux-Misc Digest #425, Volume #21               Mon, 16 Aug 99 17:13:13 EDT

Contents:
  Problems with new user using KDE (Piot Lee)
  Re: [Q]On Linux, How can C program access Database? (akmal b. chaudhri)
  Re: Strange bootup message in RH 6.0 (Jayan M)
  Gnome problem?? (L'Utilisateur d'Linux)
  Re: RH 6.0 and Iomega PP zip driver ([EMAIL PROTECTED])
  Re: help removing linux (Leonard Evens)
  Re: KDE ([EMAIL PROTECTED])
  Re: why not C++? (William Burrow)
  Re: How do I remove a hard drive? (Stefan Ehlen)
  Re: why not C++? (Johan Kullstam)
  Re: /dev/linux (Vilmos Soti)
  tcl (Icculus)
  Re: What I think of linux. ([EMAIL PROTECTED])
  Re: why not C++? (Kaz Kylheku)
  Re: KDE (Carl Fink)
  Gnome problem?? (L'Utilisateur d'Linux)
  Looking for Modem Port Scanner/Sniffer Program ("Young4ert")
  Re: What I think of linux. (Anthony Ord)
  netscape colors (students tobaben)
  Kernel Panic.  Need Help! (Dan Warren)
  Re: netscape colors (Gerald Willmann)
  Re: Netscape mail import (Rod Pike)

----------------------------------------------------------------------------

From: [EMAIL PROTECTED] (Piot Lee)
Subject: Problems with new user using KDE
Date: Mon, 16 Aug 1999 14:24:34 GMT

Just created a new user in my Linux box, with yast (suse 6.1). I made
the new user member of the "user" group. When I now use the KDE I
cannot login as the new user although in the textmode login works.
Any help?

------------------------------

From: akmal b. chaudhri <[EMAIL PROTECTED]>
Crossposted-To: comp.databases,comp.os.linux.development.apps
Subject: Re: [Q]On Linux, How can C program access Database?
Date: Mon, 16 Aug 1999 15:09:47 GMT

In article <7otkq7$2si$[EMAIL PROTECTED]>,
  "Jessica Kim" <[EMAIL PROTECTED]> wrote:
> I had C program on Linux.
> I'd like to access Database at C program.
> Tell me how I can access Database.
>
>

Jessica:

Why not have a look at some embedded SQL in C code? For example, you
could try Wagdy Youssef's City (OLTP) Benchmark code:

http://www.soi.city.ac.uk/~akmal/citybm.dir/citybm.tar

It may or may not work today - it is a few years old now and could do
with some improvements (e.g. better random number generator), etc.

For object databases, database access is more seamless, since the host
language (e.g. C++, Java, ST) is often extended. For some C++ code
examples, try this:

T.J. Halloran (1993) Source code for the OO1 benchmark and the AFIT
simulation benchmark. Technical Report No. AFIT/EN-TR-93-09, US Air
Force Institute of Technology (AETC), 5 November 1993.
[ OO1 benchmark code for Itasca, M.A.T.I.S.S.E., ObjectStore and AFIT
benchmark code for ObjectStore ]

There are some other papers/white papers here:

http://www.soi.city.ac.uk/~akmal/html.dir/benchmarks.html

They are benchmark references, but sometimes source code is also
included - a good way to have a look at how things are done IMO.

Good luck.

akmal

--
akmal at bigfoot dot com | www.bigfoot.com/~akmal/


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

------------------------------

Crossposted-To: alt.os.linux
From: Jayan M <[EMAIL PROTECTED]>
Subject: Re: Strange bootup message in RH 6.0
Date: Fri, 13 Aug 1999 22:42:41 GMT

<<snip>>

> I don't have /etc/sysconfig/net... on my system. But wouldn't that just
> turn the loopback off. You might need the loopback to run certain
> programs.
>

<< snip>>

The original poster said 'Redhat 6.0', hence..
And about having the loopback on, well, it would not freeze the system,
you can set to initialise it after the modules are loaded
(that guy could prevent another recompile of the kernel)

well, the permanent (good) solution would be to recompile it
though, I agree to whoever said that..

Jayan




------------------------------

From: [EMAIL PROTECTED] (L'Utilisateur d'Linux)
Crossposted-To: comp.os.linux.setup,comp.os.linux.answer
Subject: Gnome problem??
Date: Mon, 16 Aug 1999 16:52:28 GMT

I installed RH6.0 w/t KDE and Gnome as the main window manager. I
configure kppp to dialup to my ISP and sure it works and connection to
my isp can be established. Now this is the problem, after making the
connectin to my isp...in Gnome it seems that all my apps are frozen!!
I can't even specify the proxy server in navigator as it'll prompt an
error message saying that the proxy server is not found.  When i did
the connection in KDE, i can run anything...i can surf the web, irc,
run other apps...so obviously there is something wrong in Gnome...has
anybody ecperienced this too? How di you solve this problem?

------------------------------

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.setup
Subject: Re: RH 6.0 and Iomega PP zip driver
Date: Mon, 16 Aug 1999 17:20:53 GMT

In article <[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] wrote:
> "Maurice Poisson A." wrote:
> >
> > Had the same message in COL 2.2 until I reconfigured my PCs BIOS to
use
> > an ECP or EPP port, but not ECP/EPP.
> > From then on I've been able to use the Zip doing 'insmod ppa' as
root
> > before mounting it.
> >
> > In article <[EMAIL PROTECTED]>, John
Burg
> > <[EMAIL PROTECTED]> wrote:
> >
> > > On Fri, 30 Jul 1999 22:31:12 -0400, Andre Martinez
<[EMAIL PROTECTED]>
> > > wrote:
> > > >Hi,
> > > >    I also have a new install of RH6.0 and I cannot get the PP
Zip working
> > > >either, (even though it works fine on my Debian Linux
Installation on
> > > >another machine).
> > > >I tried 'modprobe ppa' as G-man suggests. The computer responds
with.
> > > >
> > > >    /lib/modules/2.2.5-15/scsi/ppa.0:  init_module: Device or
Resource Busy
> > > >
> > >
> > > Yes, I've had exactly the same experience before. I eventually
gave up, since
> > > I
> > > couldn't get the PP zip drive to work on that machine under NT
either. I just
> > > assumed that the PP was broken or something.
> > >
> > > John Burg
>
> Same problem i had with slackware 4.0.... took me forever to figure
> out.  you must do the following (as root)
> rmmod lp            (put this back in later if you need it)
> insmod parport
> insmod parport_pc   (undocumented as far as i can see)
> insmod ppa          (try imm if you have a newer one)
> mount /dev/sda4 /mnt/zip (assuming /mnt/zip exists)
>
> i spose modprobe will work as well as insmod *shrug*
>
> iomega puts a vfat fs on all of their disks to help ppl who don't know
> how to format it, but they put it on partition 4 for some reason.
feel
> free to partition it however you want (just make sure you fdisk the
zip
> drive and not your hard drive:-p)
>
> Latenar
>

Just wanted to shout out a thanks.  I was having this problem and a
dejanews search (well, that and about 30 minutes of trying different
searches and reading dozens of messages with problems but no solutions),
and this posting solved my problem!  The parport_pc seems to be the
trick, becuase I had done the above sequence without it to no avail.

Thanks.


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

------------------------------

From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: help removing linux
Date: Mon, 16 Aug 1999 09:47:30 -0500

Brett & Regina wrote:
> 
> I had setup Linux RH 5.2 on my system and have decided to remove it but
> cannot remove the second partition on my hard drive since the boot image
> is not working.........I have tried re-imaging a floppy to boot from but
> it did not work.  How do I remove the second partition and get the first
> partition to boot to dos.
> 
> Regina

You should be able to boot DOS from the first partition---assuming
it resides there---by running the DOS fdisk (which you should have
on some disk or CD somewhere).  The command is
fdisk /mbr
This restores the master boot record.

If you want to recover the other partitions for DOS, you may be
able to do that also using the DOS fdisk.   Otherwise, you can
use the installation floppy and CD for Linux, do a custom
install, and proceed to the point at which the disk partitioning
is done.  Choose to do it with fdisk and then use fdisk to
delete the Linux partitions, write the new partition to the
disk, and then reboot without proceeding further in the Linux
installation.   Then you ought to be able to use the DOS fdisk
to create additional partition(s) for DOS.
-- 

Leonard Evens      [EMAIL PROTECTED]      847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208

------------------------------

From: [EMAIL PROTECTED]
Crossposted-To: redhat.x.general,redhat.general
Subject: Re: KDE
Date: Mon, 16 Aug 1999 17:04:14 GMT

Run Xconfigurator to try helping it. If it doesn't help (like mine),
edit the /etc/X11/XF86Config file. You might be able to comment out the
Virtual line, but I edit the area that says Modes:

Modes "640x480" "800x600" "1024x768"

This starts X with 1024x768, but in the 640x480 screen. I usually end
up changing to look like:

Modes "1024x768"

Make sure your graphics card/monitor can handle those resolutions.
Check http://www.xfree86.org/FAQ/#virtual for details.

TomN

In article <[EMAIL PROTECTED]>,
  Robert r. <[EMAIL PROTECTED]> wrote:
> I use the KDE Desktop. All the windows I open are too big for the
screen.
> Is there a way to edit the size of the windows. I can't find any
options
> for that. I am really new to Linux.
>
> ------------------  Posted via CNET Linux Help  ------------------
>                     http://www.searchlinux.com
>


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

------------------------------

From: [EMAIL PROTECTED] (William Burrow)
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: why not C++?
Date: 16 Aug 1999 18:16:56 GMT
Reply-To: [EMAIL PROTECTED]

On Mon, 16 Aug 1999 13:38:25 GMT,
Christopher B. Browne <[EMAIL PROTECTED]> wrote:
>>I also noticed in this thread posits like "because g++ is not up to the
>>task" etc, etc. But I am sure that the developers of the Linux kernel
>>uncovered more then 1 bug in gcc!
>
>GCC has represented a stable C compiler for many years now, and may
>be considered mature.

True, but for sure bugs were found in gcc -- look for comments in the
kernel source about these!  There are also source optimizations to get
around limitations in the gcc optimizer.  There are few comments in
Linux kernel source, but some of them are mighty interesting. :)

>If you want to have an OS written in C++, then it makes sense to start
>designing a C++-based OS kernel.

There are kernels designed in C++ no doubt.  I think the Tune OS page
has a listing of various kernels.  Memory fades....

>It would make more sense to me to design such in something a bit less
>egregariously complex, perhaps in Modula 3.  This would have the clear
>merit that people wouldn't make the Bad Mistake of assuming that they
>could just fiddle with the C code and turn it into M3 as seems to be
>the case with attempts to misdirect Linux kernel development to C++.

Could we start with a C library done in a Wirthian language?  Ack, the
horror.... :)

-- 
William Burrow  --  New Brunswick, Canada             o
Copyright 1999 William Burrow                     ~  /\
                                                ~  ()>()

------------------------------

From: [EMAIL PROTECTED] (Stefan Ehlen)
Crossposted-To: comp.os.linux.setup
Subject: Re: How do I remove a hard drive?
Date: 16 Aug 1999 17:13:07 GMT

In article <[EMAIL PROTECTED]>,
        [EMAIL PROTECTED] writes:
> I have installed RedHat 6.0
> I have 3 hard drives in my machine.
> hda1 is the Win98 drive
> hdb1 is unused
> hdc1 has RedHat 6.0 on it.
> 
> I've installed lilo. I can boot to Windoze or Linux.
> Here's the problem. I want to remove hdb1 so I can stick it in another
> machine. If I go into the BIOS and tell the system that this drive
> does not exist then lilo will not boot the system. It displays a bunch
> of L1 and L0 characters but won't boot.
> hdb1 is not listed in fstab or lilo.conf.

If you only remove the drive from the BIOS, this might confuse LILO, for it
doesn't care too much for BIOS entries. Take the drive from the cable and
try again.


CU
Stefan

------------------------------

From: Johan Kullstam <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: why not C++?
Date: 16 Aug 1999 09:32:15 -0400

Cocheese <[EMAIL PROTECTED]> writes:

> Dear Linux Community;
> 
>      There has been a puzzling question on my mind for some time. First, I 
> admit i am no Linux Guru so this may be off the wall.
> 
> 
> *Why Is linux done primarily in the C programming language rather than 
> C++?*

oh dear god no.  not *this* thread again.

<URL:http://deja.com/>

browse to your hearts content.

>      Again I admit it would take a little extra work and put a minor set 
> back in the evolution for a month or 2, but if C++ is so much faster, 
> easier, and stable- WHY NOT?

well, it's not.  at least if you are comparing C++ to C.  C++ is equal
at best.  C++ has a library which is constantly being revised.  (i've
now got *5*, count 'em, *5* incompatible versions of libstc++.so on my
system.)  C has libc which also changes, but it changes much more
slowly.  

for kernel work, this library is not really an issue, since *you don't
have a library* and that make C++ somewhat less of a win.

>      I have been a RH 6.0 user since the first week it was first released 
> and since then i have loved it. I am struggling with it a bit but as i 
> continue to learn this from an "other leading brand OS" and a full time 
> programmer for a large company.
> 
>   There are many differences Between the two programming languages and 
> there are huge advantages to C++.

this is a matter of opinion.  it also depends heavily on your target
program.  applications in C++ is a good idea.  for kernel and vital
utilities, i would say C++ is a bad idea.
 
>  The downside is "linux has always been a C based Program so it will always 
> be."   

hey UTSL.  get back to us when you've got something.

> *** BUT THEN AGAIN - ISN'T LINUX ALL ABOUT CHANGE? ***

no.  it's not.  it's about cloning a 30 year old operating system.
admittedly it's a fairly good operating system.  deviations are still
frowned upon.

-- 
johan kullstam

------------------------------

From: Vilmos Soti <[EMAIL PROTECTED]>
Subject: Re: /dev/linux
Date: Mon, 16 Aug 1999 18:57:16 GMT

Waldemar Kocjan wrote:
> 
> I've got on my computer one partion running Windows98 and one running
> RH6. It's not a problem to access files on Win partition from Linux but
> I would like to make it to work also other way around : access files on
> Linux partion from Windows98. Anyone got an idea how to do it ???
> 

Hi,

Look arount ftp://metalab.unc.edu/pub/linux/utils/dos

Vilmos

-- 
Looking for a job in British Columbia.
http://members.home.net/vilmossoti/resume.html

------------------------------

From: Icculus <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.setup
Subject: tcl
Date: Mon, 16 Aug 1999 16:31:02 GMT

2 questions:

Does anyone know of any online tutorials for the tcl scripting language?

Does anyone know of any sound drivers being developed for the Turtle Beach 
Montego 2 sound card?  It supports A3D and I haven't found anyhting yet 
that will un this under linux.

thanks,
Icculus -- a new gu

==================  Posted via CNET Linux Help  ==================
                    http://www.searchlinux.com

------------------------------

From: [EMAIL PROTECTED]
Crossposted-To: alt.linux,alt.linux.sux,alt.os.linux,comp.os.linux.advocacy
Subject: Re: What I think of linux.
Date: Mon, 16 Aug 1999 16:38:08 GMT

>My first computer was an Acorn A4000 which didn't crash once.

have heard of Acorn but don't know what it is.

What is it? <G>

=========
John

------------------------------

From: [EMAIL PROTECTED] (Kaz Kylheku)
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: why not C++?
Date: Mon, 16 Aug 1999 19:42:54 GMT

On 16 Aug 1999 18:16:56 GMT, William Burrow <[EMAIL PROTECTED]> wrote:
>There are kernels designed in C++ no doubt.  I think the Tune OS page
>has a listing of various kernels.  Memory fades....

But how do these stack up in static web page serving benchmarks? :) :) :)

------------------------------

From: [EMAIL PROTECTED] (Carl Fink)
Crossposted-To: redhat.x.general,redhat.general
Subject: Re: KDE
Date: 16 Aug 1999 14:11:59 GMT
Reply-To: [EMAIL PROTECTED]

On Mon, 16 Aug 1999 05:30:49 GMT Robert r. <[EMAIL PROTECTED]> wrote:
>I use the KDE Desktop. All the windows I open are too big for the screen. 
>Is there a way to edit the size of the windows. I can't find any options 
>for that. I am really new to Linux.

Hit Alt-F3 and a menu will appear that controls the appearance of the
window with the focus.  Press the "z" key (Resize) and you can use
the cursor arrows on your keyboard to set the size of the window to
whatever you like.  As an alternative, Alt-F3, M will maximize the
window -- that is, make it fill the entire usable area of your
screen.
-- 
Carl Fink               [EMAIL PROTECTED]
"This fool wishes to reverse the entire science of astronomy." 
        -Martin Luther on Copernicus' theory that the Earth orbits the sun

------------------------------

From: [EMAIL PROTECTED] (L'Utilisateur d'Linux)
Subject: Gnome problem??
Date: Mon, 16 Aug 1999 16:51:36 GMT

I installed RH6.0 w/t KDE and Gnome as the main window manager. I
configure kppp to dialup to my ISP and sure it works and connection to
my isp can be established. Now this is the problem, after making the
connectin to my isp...in Gnome it seems that all my apps are frozen!!
I can't even specify the proxy server in navigator as it'll prompt an
error message saying that the proxy server is not found.  When i did
the connection in KDE, i can run anything...i can surf the web, irc,
run other apps...so obviously there is something wrong in Gnome...has
anybody ecperienced this too? How di you solve this problem?

------------------------------

From: "Young4ert" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Looking for Modem Port Scanner/Sniffer Program
Date: Mon, 16 Aug 1999 19:37:22 -0400

Can anyone tell me where I can find a program that can sniff the traffic on
a modem or serial port?

--
[EMAIL PROTECTED]

PS. Please remove 4 from the reply address should you decide to reply.



------------------------------

From: [EMAIL PROTECTED] (Anthony Ord)
Subject: Re: What I think of linux.
Date: Mon, 16 Aug 1999 17:01:22 GMT

In article <[EMAIL PROTECTED]>, (13 Aug 1999 16:33:33 
+0100) [EMAIL PROTECTED] says...
>"Robert Churchill" <[EMAIL PROTECTED]> writes:
>
>> Adam JBC wrote in message <01bee431$2c15a8e0$LocalHost@brinleyc>...
>> >> Let me hlep with the average.
>> >
>> hi all
>> well I'm 32, I've been mucking about with computers since I was thirteen. we
>> I got hold of a ZXspectrum with 16K RAM, my first machine - I'll never
>> forget upgrading it to 48K, hammering chips into the MIF sockets (Massive
>> Insertion Force). I managed to get an assembler for it, and wrote a program
>> that would strip the header sections of files, screenstrings, programs etc
><SNIP>
>
>Well I'm 33, my first computer was a ZX81 with the 16Mb RAM pack.  

Well I'm 27, my first computer was a ZX80 (1Kb with shared screen memory) 
with an '81 rom in it. Second computer was a rubber keyed Spectrum 48K. 
Machine after that was Spectrum plus with clicky plastic keys which used 
to stick down if you didn't press them down vertically.

>I
>didn't have an assembler, I used to hand assemble the code 

Been there, done that... Never understood the concept of delay loops 
though. My programs always went a tad fast (on a spectrum's 3.5Mhz Z80b).

>and for
>some sad reason I can still remember so of the hex op codes.
>
>ld hl (400c) 3a 0c 40 ; get screen start addres
>ret          c9       ; return

I can't, thankfully...

>Does anyone have a Z-80 op code manual available to confirm the above?

Not to hand. I do have a ZX81 manual (with the little spaceship sat on 
top of a Blade-Runner ish high-rise building) knocking about *somewhere*. 
It's about an inch and a half thick - compare that with the pamphlets you 
get with modern software.

Next after the Zilog based computers I went Motorola and bought a Atari 
STFM. Learnt C on that, and rewrote part of the broken compiler because 
it was...well...broken.

Then I bought a 486SX-25 computer with 4Mb of RAM and a massive 1Mb 
Trident video card. I was the envy of my friends...;-)

I got into Linux because DOOM ran slow on my machine and there was a 
version of DOOM out for Linux. It did run quicker and I was hooked.

>Robin

Regards

Anthony
-- 
=========================================
| And when our worlds                   |
| They fall apart                       |
| When the walls come tumbling in       |
| Though we may deserve it              |
| It will be worth it  - Depeche Mode   |
=========================================

------------------------------

From: students tobaben <[EMAIL PROTECTED]>
Subject: netscape colors
Date: Mon, 16 Aug 1999 19:02:32 +0200

Hello !
I use Suse linux 6.1 and a matrox mystique card. The buttons of netscape
are colorless. Why ? Is there any solution ?
Thanks !

------------------------------

From: Dan Warren <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.hardware,comp.os.linux.setup,linux.redhat,linux.redhat.misc
Subject: Kernel Panic.  Need Help!
Date: Mon, 16 Aug 1999 11:24:26 -0500

What does this error message mean?:

Kernel Panic: skput:over: 001a5818:110
In swapper task - not syncing

I've received it twice in the last week and it completely locks up my
machine (RedHat 5.2).  Any ideas about this error message and how to fix
it would be greatly appreciated.


Please respond to:  [EMAIL PROTECTED]

Thanks

Dan


------------------------------

From: Gerald Willmann <[EMAIL PROTECTED]>
Subject: Re: netscape colors
Date: Mon, 16 Aug 1999 12:39:22 -0700

On Mon, 16 Aug 1999, students tobaben wrote:

> I use Suse linux 6.1 and a matrox mystique card. The buttons of netscape
> are colorless. Why ? Is there any solution ?

sounds like you are using X with 24 (or maybe 8) bit color - look in your
XF86Config file to check. Change it to 16 or even 32 and that should
take care of it (only if you have enough video memory of course.)

  Gerald  

-- 


------------------------------

From: Rod Pike <[EMAIL PROTECTED]>
Subject: Re: Netscape mail import
Date: Mon, 16 Aug 1999 18:57:05 +0200

Philipp Maier wrote:

> Christopher Conway wrote:
> >
> > I'm trying to move from Netscape Mail on Win98 to
> > Linux, but the Linux version provides no mail import
> > utility. I tried just copying over my mail dir, but
> > the Linux version seems to have a problem with the
> > *.snm files and sub-folders.
> >
> > 1) Does anybody have some advice on making the
> > transition from Netscape Win --> Netscape Linux?
>
> AFAIK both formats are not compatible. Sorry...
>
> PM
>
> --
>
> Psion Serie 5mx Pro, SuSE Linux, Sylt and Maerklin mini-club:
>
> www.crosswinds.net/~pmaier

This is not good news.  I am in a similar position although I would like
to be able to read/compose email from both Win98 and Linux but share the
same file area where messages are saved.   If Netscape cannot do this,
are there other applications that can?

Cheers,
Rod




------------------------------


** 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
******************************

Reply via email to