Linux-Misc Digest #487, Volume #21 Sat, 21 Aug 99 07:13:12 EDT
Contents:
Re: XWindows Emulators (Johan Kullstam)
Re: How to activate mod_perl on Apache... ("Faisal Nasim")
Re: Zip 100 under Linux-Mandrake (Michael McConnell)
Re: Compiling Sound support for Sounder Blaster 16bit PnP (Michael McConnell)
Help with bttv and tuner options for Hauppauge card (James A. Stockel)
Re: Kernel Rebuild Fails (To tired to swap) (Paul Kimoto)
LILO for the Linux newbie. . . (Josh Washburne)
Re: Requesting comments on new strategy. (Michael Fowler)
Re: why not C++? (Nix)
Re: why not C++? (Nix)
Re: Interested in using Linux (Julian Regel)
Re: *nix vs. MS security (Tim Smith)
Re: *nix vs. MS security (Tim Smith)
Re: *nix vs. MS security (Tim Smith)
----------------------------------------------------------------------------
From: Johan Kullstam <[EMAIL PROTECTED]>
Subject: Re: XWindows Emulators
Date: 19 Aug 1999 09:40:42 -0400
[EMAIL PROTECTED] (Peter.vanHelden) writes:
> Johan Kullstam ([EMAIL PROTECTED]) wrote:
> : "simon" <[EMAIL PROTECTED]> writes:
>
> : > what you are after is termed (no pun intended) an X client for Windows...
> : > 'cos it isn't an emulator.
> : > At work we use a piece of software called "RelectionsX" which is probably
> : > horrendously expensive.
>
> : what he is after is known as an X *server* for windows.
>
> : xterm and rxvt are X clients. (yes, i know you can run rxvy on NT and
> : get it to display elsewhere.)
>
> : yes, the names are backwards or simply misleading. however, we are
>
> Oh no. The X server is called a server because it bloody well is a server.
> It's just that tons of people think they understand client/server terminology;
> client: the thing that is nearby, server: the thing that is far away. This
> is wrong. A server is an entity that provides a service, a client is an entity
> that makes use of a service. Physical location is irrelevant.
i know that.
however too many people get it wrong. nearly everyone i know got it
wrong the first time they encountered it. this leads me to believe the
words were poorly chosen in the first place.
it'd have been much easier to say
server = display
client = application
and then use the words display and application everywhere instead of
server client. on the other hand, made up non-sense words without any
preconceived meaning would probably be just as good. you would learn
them quickly enough anyway.
--
johan kullstam
------------------------------
From: "Faisal Nasim" <[EMAIL PROTECTED]>
Subject: Re: How to activate mod_perl on Apache...
Date: Sat, 21 Aug 1999 14:37:57 +0500
: I installed mod_perl and mod_php3 on my Apache server. I updated
: httpd.conf, access.conf, and srm.conf. Now, I am able to parse files end
in
: php3 before it is showed to a browser. However, I tried to do the same
: thing with files end in .pl for perl scripts. But, it only shows the
: source. When I am in an Xterm, I can execuate the perl script. Does anyone
: know how to make the registry handle all perl files? Thanks in Advance.
Add this:
<Files *.pl>
SetHandler perl-script
PerlHandler Apache::Registry
PerlSendHeader On
</Files>
------------------------------
From: Michael McConnell <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: Zip 100 under Linux-Mandrake
Date: Sat, 21 Aug 1999 09:41:29 +0100
Add 'modprobe ppa' to the end of your /etc/rc.d/rc.local file.
On Fri, 20 Aug 1999 [EMAIL PROTECTED] wrote:
> "modprobe ppa" works just fine for me, then I can mount the drive as
> before. I would like to get the modprobe to work at boot so that all I
> have to do is mount the drive when ready. Thanks for your help,
> appreciate it.
>
> In article
> <[EMAIL PROTECTED]>,
> Michael McConnell <[EMAIL PROTECTED]> wrote:
> > On Thu, 19 Aug 1999, Joseph L. Davis wrote:
> >
> > > I have found a strange problem and am not sure the best way to fix.
> > > After upgrading to Linux-Mandrake (RedHat 6.0) my Parallel Port Zip
> will
> > > only allow me to insmod ppa after I have tried to print to my
> printer on
> > > lp. If I try to insmod lp or insmod ppa I will get error messages :
> >
> > Try modprobe instead of insmod. Insmod JUST tries to load a module,
> failing
> > as you describe if there are unresolved symbols. Modprobe loads every
> module
> > that is required to make sure all symbols are present, and only
> complains if
> > a module is completely missing.
> >
> > -- Michael "Soruk" McConnell
> > Eridani Star System -- The Most Up-to-Date Red Hat Linux CDROMs
> Available
> > Email: [EMAIL PROTECTED] http://www.amush.cx/linux/ Fax:
> +44-8701-600807
> > Eridani: Your PC doesn't need Windows or Gates.
> >
> >
>
>
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.
>
>
-- Michael "Soruk" McConnell
Eridani Star System -- The Most Up-to-Date Red Hat Linux CDROMs Available
Email: [EMAIL PROTECTED] http://www.amush.cx/linux/ Fax: +44-8701-600807
Eridani: Your PC doesn't need Windows or Gates.
------------------------------
From: Michael McConnell <[EMAIL PROTECTED]>
Subject: Re: Compiling Sound support for Sounder Blaster 16bit PnP
Date: Sat, 21 Aug 1999 09:29:39 +0100
On Sat, 21 Aug 1999, Mark Buckle wrote:
> Mark Buckle wrote:
>
> PS, The thing's in an old ISA 486 motherboard with no PnP support.
That in itself isn't a problem.
>> Hi, since I switched my old 16bit Value SB card for a new PnP model,
>> sound has refused to work for me on Linux, on any version of the kernel
>> from 2.0.27 up to present 2.0.37. I've used the IRQ, and I/O addresses
>> and DMA values etc from my Win95 installation which dual boots with
>> Linux, as I have no other info to rely on for these values when
>> compiling the kernel. Any-one any ideas, or can point me towards tools
>> to probe the sound-card. The damn-thing won't work under NT3.51 either,
>> but I'm not looking for help for that here :)
You need to set the PnP stuff with isapnptools. Do: man isapnp and man
pnpdump. You do not need to make sure the settings for Linux are the same for
Windoze, as the PnP settings will set the card accordingly. Just make sure
the sound settings in the kernel match the isapnp settings - and compile the
sound as modules.
>> PS Pls mail replies if possible as well as posting.
Done.
-- Michael "Soruk" McConnell
Eridani Star System -- The Most Up-to-Date Red Hat Linux CDROMs Available
Email: [EMAIL PROTECTED] http://www.amush.cx/linux/ Fax: +44-8701-600807
Eridani: Your PC doesn't need Windows or Gates.
------------------------------
From: [EMAIL PROTECTED] (James A. Stockel)
Subject: Help with bttv and tuner options for Hauppauge card
Date: Fri, 20 Aug 1999 16:05:24 GMT
Hi all
I am having trouble getting bttvgrab to work on my RH6.0 system with a
Hauppauge WinTV board. When I try to grab an image, all I get is a
blue screen or static. I suspect I haven't selected the options for
the bttv and tuner kernel modules. I'm installing the following
modules
insmod videodev
insmod i2c verbose=1 scan=1 i2c_debug=0
insmod tuner debug=0 type=6
insmod bttv radio=0 card=15
which produces the following output in the syslog.
--
Aug 18 10:37:50 surf kernel: Linux video capture interface: v1.00
Aug 18 10:37:50 surf kernel: i2c: initialized (i2c bus scan enabled)
Aug 18 10:37:50 surf kernel: i2c: driver registered: tuner
Aug 18 10:37:50 surf kernel: bttv0: Brooktree Bt878 (rev 2) bus: 0, devfn: 120,
irq: 3, memory: 0xf4009000.
Aug 18 10:37:50 surf kernel: bttv: 1 Bt8xx card(s) found.
Aug 18 10:37:50 surf kernel: bttv0: model: BT878
Aug 18 10:37:50 surf kernel: i2c: bus registered: bt848-0
Aug 18 10:37:50 surf kernel: i2c: scanning bus bt848-0: found device at
addr=0xa0
Aug 18 10:37:50 surf kernel: i2c: scanning bus bt848-0: found device at
addr=0xc2
Aug 18 10:37:50 surf kernel: i2c: device attached: tuner (addr=0xc2,
bus=bt848-0, driver=tuner)
--
Any ideas what I am doing wrong? All suggestions are appreciated.
Thanks a bunch, jim
--
______________________________________________________________________
Jim Stockel Oceanography Department, Code OC/SL
[EMAIL PROTECTED] Naval Postgraduate School
Phone: (831) 656-3256 Monterey, CA 93943
______________________________________________________________________
------------------------------
From: [EMAIL PROTECTED] (Paul Kimoto)
Subject: Re: Kernel Rebuild Fails (To tired to swap)
Date: 21 Aug 1999 00:47:33 -0500
Reply-To: [EMAIL PROTECTED]
In article <7p0mvd$7ol$[EMAIL PROTECTED]>, Johan Hartzenberg wrote:
> I'm running Red Hat 6.0 with Kernel 2.2.5
> # gcc -v
> reading specs from /usr//lib/gcc-lib/i586-pc-linux-gnulibc1/2.8.1/specs
> gcc version 2.8.1
Red Hat 6.0 is a libc6 system. This is some sort of libc5 (== gnulibc1)
compiler.
The gcc 2.8.x versions have never been well-liked by Linux. You should
use the standard version provided by Red Hat. The may package it under
the name "egcs" or "egcc" (just to confuse you).
> /usr/include/ctype.h:0: numeric constant with no digits
> /usr/include/ctype.h:0: warning: unrecognized text at end of #line
This is probably a sign that your binutils (or dynamic loader -- some
part of the development chain, in any case) is not compatible with your
compiler binaries.
--
Paul Kimoto <[EMAIL PROTECTED]>
------------------------------
From: Josh Washburne <[EMAIL PROTECTED]>
Subject: LILO for the Linux newbie. . .
Date: 20 Aug 1999 23:49:52 PDT
Reply-To: [EMAIL PROTECTED]
Hello
I'm completely new to Linux. Infact, I'm 15 years old and my father
helped me through a Linux install to my own machine. We have a small
problem though. Linux will not boot unless we put in the boot disk.
Here's the bio. . .
I have:
1 = IDE Hard Drive ~1.2 gig
2 = SCSI Hard Drives ~2.0 gig
The 2 SCSI drives are connected to a Soundblaster 16 SCSI-2 card. The
IDE HD and one SCSI HD is used for Win95 (ick!). The other SCSI is for
Linux. The SB16 SCSI-2 board DOES NOT have a boot prom, so we found a
line we could enter into LILO to find the SCSI-2 controller and boot off
the second drive. This line was:
aha152x=0x340,11,7,1,1
These were the right settings for the built-in controller and it found
both drives. So we made the second SCSI drive a "Linux native" and we
also made .2 of the IDE HD as "Linux swap". Everything was going well,
we installed everything, set up which protocals to run, etc. Then, I
forgot to set up Win95 as the thing to boot up first instead of Linux.
(sorry...I'm only native to Win95 for now.) So we rebooted the machine
and when LILO printed on the screen, all of a sudden, all these "BB"s
were popping up on the screen and kept going and it wouldn't stop until
we used Ctrl-Alt-Del. The only way to get into Linux is to use a boot
disk. Any suggestions to a Linux newbie?????? Please respond! Not
knowing the problem is very painful :-) Thanks!
Josh Washburne
[EMAIL PROTECTED]
------------------------------
From: Michael Fowler <[EMAIL PROTECTED]>
Subject: Re: Requesting comments on new strategy.
Date: 20 Aug 1999 23:15:06 -0800
Mario Miyojim <[EMAIL PROTECTED]> writes:
This is an interesting idea. However, how do you propose going about
properly compensating each of the developers on a given project? You
propose each be given a set amount ($15,000 in your example). What
about developers that contribute much more? Were I to contribute the
majority of each day to the project, I would feel a little miffed if
someone who had fixed one typo in the documentation received the same
amount of money.
I can also see this getting abused. People registering multiple
times, people submitting small changes simply to get paid the full
amount, etc.
I don't mean to discourage the idea, but it does have to work in The
Real World, and The Real World is full of Bad People.
Michael
--
There isn't a mome rath alive that can outgrabe me.
--
------------------------------
From: Nix <$}xinix{$@esperi.demon.co.uk>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: why not C++?
Date: 21 Aug 1999 00:43:37 +0100
[EMAIL PROTECTED] (Kaz Kylheku) writes:
> In C++, when you start using multiple inheritance together with polymorphism,
> things get very ugly at the compiler level. Depending on the vtable
> implementation, you start seeing things like thunk code whose only job it is to
> adjust an object pointer's value and then branch to some other code. Such
> overheads exist even if you only use a subset of the full capabilities, such as
> restricting yourself only to pure abstract base classes to create a single
> concrete object. In actual object oriented programming, this sort of interface
> inheritance is frequently all that you need, but C++ compilers make you pay
> for the features you are not using.
Er, this is definitely wrong ;) one thing that was adhered to very
closely throughout the design of C++ was the dictum `you don't pay for
what you don't use'.
It *is* possible to implement MI such that you don't pay for its
overheads when it is not being used --- in fact, given the comparative
rarity of use of MI versus SI[1], it would be downright stupid to
design a compiler any other way.
And g++ is designed such that MI's overhead (minimal) is not paid when
it is not being used, and that virtual base classes' overhead
(significant) is not paid when it is not being used.
I've used MI w/o virtual bases for mixins in time-critical simulation
modelling code before. I tried a mixinless implementation first, to see
how much of a speed impact the MI involved in the mixins had. At least
in this case, the overheads due to MI were lost in the noise (and there
is always noise, especially in distributed simulations).
[1] Stroustrup describes MI as a `parachute' in that it is rarely
useful, but when it is useful it is a godsend...
--
'- I can't believe my room doesn't have Ethernet! Why wasn't it wired
when the house was built?
- The house was built in 1576.' --- Alex Kamilewicz on the Cambridge
breed of `conference American'.
------------------------------
From: Nix <$}xinix{$@esperi.demon.co.uk>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: why not C++?
Date: 21 Aug 1999 01:28:21 +0100
Bjorn Reese <[EMAIL PROTECTED]> writes:
> Furthermore, using virtual functions in constructors/destructors can
> result in member functions being executed on uninitialized objects.
No. If this is the case, then you have a *very* buggy compiler.
>From the C++ Standard (OK, from public comment draft CD2):
: 12.7 Construction and destruction [class.cdtor]
:
: 3 Member functions, including virtual functions (_class.virtual_), can
: be called during construction or destruction (_class.base.init_).
: When a virtual function is called directly or indirectly from a con-
: structor (including from the mem-initializer for a data member) or
: from a destructor, and the object to which the call applies is the
: object under construction or destruction, the function called is the
: one defined in the constructor or destructor's own class or in one of
: its bases, but not a function overriding it in a class derived from
: the constructor or destructor's class, or overriding it in one of the
: other base classes of the most derived object (_intro.object_). If
: the virtual function call uses an explicit class member access
: (_expr.ref_) and the object-expression refers to the object under con-
: struction or destruction but its type is neither the constructor or
: destructor's own class or one of its bases, the result of the call is
: undefined. [Example:
: class V {
: public:
: virtual void f();
: virtual void g();
: };
:
: class A : public virtual V {
: public:
: virtual void f();
: };
: class B : public virtual V {
: public:
: virtual void g();
: B(V*, A*);
: };
: class D : public A, B {
: public:
: virtual void f();
: virtual void g();
: D() : B((A*)this, this) { }
: };
: B::B(V* v, A* a) {
: f(); // calls V::f, not A::f
: g(); // calls B::g, not D::g
: v->g(); // v is base of B, the call is well-defined, calls B::g
: a->f(); // undefined behavior, a's type not a base of B
: }
: --end example]
Conceptually, during base construction the derived class does not
`exist' yet, and none of its data members have been initialized, so it
would make no sense whatsoever to call its virtual functions. (As the
excerpt above states, the same is true during destruction.)
--
'- I can't believe my room doesn't have Ethernet! Why wasn't it wired
when the house was built?
- The house was built in 1576.' --- Alex Kamilewicz on the Cambridge
breed of `conference American'.
------------------------------
From: [EMAIL PROTECTED] (Julian Regel)
Crossposted-To: uk.comp.os.linux
Subject: Re: Interested in using Linux
Date: Sat, 21 Aug 1999 10:41:07 GMT
"Noah Roberts (jik-)" <[EMAIL PROTECTED]> wrote:
>Daniel O'Connell <[EMAIL PROTECTED]> writes:
>
>> While I have been using a PC for Years and the Net and e-mail for 4 or 5
>> years
>> I must confess I know very little about Linux but am very interested
>> .What version is best i.e. is it Redhat or Gnu or Mandrake ?.Where do I
>> get the software etc.?
>
>I like Slackware best, and it will also save you room.
Slackware's not really the best choice for a new Linux user. I'd
recommend either Caldera, Red Hat or Suse. There's not much between
them. I think Caldera's probably the easiest to setup going from the
reviews (I haven't used it), Red Hat's the most popular but is also
the most expensive when bought boxed. Suse includes more software than
you'll probably ever need, but should save you significant download
time.
Julian
------------------------------
From: [EMAIL PROTECTED] (Tim Smith)
Crossposted-To: comp.os.linux,comp.os.linux.questions,comp.os.linux.security
Subject: Re: *nix vs. MS security
Date: 21 Aug 1999 03:56:10 -0700
John Girash <[EMAIL PROTECTED]> wrote:
>No offence, but unless he's worked at one of the closed shops (MS's Windows
>division, DEC's VMS etc) and seen the code, how can an OS prof make any
>statement about that OS, or deal with it in an academic environment? It'd
>be like teaching biology without ever having studied internal anatomy,
>neurology, endocrinology etc, and going on nothing but behavioural and
>clinical drug studies, i.e. all you have to go on are surface phenomena.
>
>So, unless he's worked at MS and seen the source code, your prof doesn't know
>anything more about WindowsXX than anyone else and has no business making
>such statements. (Now, if he had actual research to back up an empirically-
Why do you assume his school doesn't have an NT source license?
--Tim Smith
------------------------------
From: [EMAIL PROTECTED] (Tim Smith)
Crossposted-To: comp.os.linux,comp.os.linux.questions,comp.os.linux.security
Subject: Re: *nix vs. MS security
Date: 21 Aug 1999 03:57:29 -0700
Roger <[EMAIL PROTECTED]> wrote:
>Forgot to mention - there are thousands of NT viruses but, AFAIK, no
>Unix viruses at all. Unix file permissions make it very difficult for
Name five.
------------------------------
From: [EMAIL PROTECTED] (Tim Smith)
Crossposted-To: comp.os.linux,comp.os.linux.questions,comp.os.linux.security
Subject: Re: *nix vs. MS security
Date: 21 Aug 1999 03:52:20 -0700
Roger <[EMAIL PROTECTED]> wrote:
>NT is reasonably easy to crack - NTFSDOS.EXE will get you into any file
>on the HDD if you boot from a floppy - most sys admins don't bother
>setting the BIOS to boot from C only. There are other stupid holes like
The same thing works with Linux and most Unix systems.
------------------------------
** 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
******************************