Linux-Misc Digest #438, Volume #21 Tue, 17 Aug 99 18:13:13 EDT
Contents:
Re: Printing to the printer from a C-Program (Lew Pitcher)
Re: accessing windows files under linux (Leonard Evens)
Re: Comparing HPFS to ext2fs... (Teonanacatl)
Re: X11amp (Xmms) on Caldera 2.2 (Jeld The Dark Elf)
libavl 1.4 released (Ben Pfaff)
Re: setup kmail to leave messages on server (Brian Jilek)
SCSI error on boot using SMP (Jason Brake)
fwtk Proxy Server (Bert)
Partition problem -- Help! (Jingang Yi)
Re: Savage4 ("Phillip")
Re: why not C++? (Doug DeJulio)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Lew Pitcher)
Subject: Re: Printing to the printer from a C-Program
Reply-To: [EMAIL PROTECTED]
Date: Tue, 17 Aug 1999 17:52:05 GMT
I missed the original question, so I'll have to guess it's contents
from the title of the message.
/dev/lp? can be treated as a file (just as any other device can), so it
is perfectly permissable to do something like...
int printer;
printer = fopen("/dev/lp0","w");
if (printer != -1)
{
fprintf(printer, "This goes to the printer\n");
fprintf(printer, "This line is printed seperately, when it is generated\n");
fclose(printer);
}
However, direct access to the device is not a nice way to do things.
A much better way would be to pipe your output to lpr. For instance...
int printer;
printer = popen("lpr","w");
if (printer != -1)
{
fprintf(printer,"This gets spooled, and written to the printer\n");
fprintf(printer,"And so does this... but not until the fclose is executed\n");
fclose(printer);
}
On 17 Aug 1999 11:31:45 +0100, [EMAIL PROTECTED] (Chris Butler) wrote:
>[comp.os.linux.misc - 16 Aug 1999 05:56:54 GMT] * Robert wrote *
>> Unless I'm missing something, you should be able to use the STDPRN
>> file handle exactly like STDIN, STDOUT, and STDERR.
>
>You're missing the fact that STDPRN is a non-standard DOS-only extension. :)
>
>--
>Chris Butler
><[EMAIL PROTECTED]>
Lew Pitcher
System Consultant, Integration Solutions Architecture
Toronto Dominion Bank
([EMAIL PROTECTED])
(Opinions expressed are my own, not my employer's.)
------------------------------
From: Leonard Evens <[EMAIL PROTECTED]>
Crossposted-To:
alt.os.linux.mandrake,athome.users-unix,comp.os.linux,comp.os.linux.help,comp.os.linux.questions,comp.os.linux.redhat,comp.os.linux.setup
Subject: Re: accessing windows files under linux
Date: Tue, 17 Aug 1999 14:50:29 -0500
Christopher Lu wrote:
>
> 1) Is it possible to access files created under windows 98 and stored in FAT
> 32 partitions?
Yes.
> Would I just have to mount the specific windows partition under linux?
Yes. You mount the Windows partition as type vfat.
>
> 2) Can someone offer some advice on the 539680446 gazillion packages
> available when doing a custom installation in redhat or mandrake? I know
> it's impossible to cover every one but most of that stuff I have no idea
> what it's used for.
When installing, the F1 key gives you a brief description of each
package. After installation, for an installed package, use
one of the gui rpm managers, e.g., GnoRPM, or the command line
interface command
rpm -qi package_name
for the same information. For an uninstalled package, go to
the directory, say on the CD, containing the package and use
rpm -qpi full_package_name_in_directory
As far as choosing, start with the default packages and then
examine all of them and pick and choose. You can also eliminate
packages you feel you don't need using rpm. There are not really
all that many packages, and many of them are obviously things
you won't need, so after a while you will know what you need.
Still every once and a while you will find that some package
you didn't install does exactly what you want.
Installing extra packages takes up disk space, but in most cases
it won't affect the performance of your machine. Just make sure
you don't start things you don't need (using linuxconf) such as
a Novell Netware server.
>
> 3) Any suggestions on the number of and size of partitions to create when
> installing linux on a single user desktop? Have 3.2 gigs available.
>
> Thanks in advance!!!
--
Leonard Evens [EMAIL PROTECTED] 847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208
------------------------------
From: Teonanacatl <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.setup,comp.os.os2.misc
Subject: Re: Comparing HPFS to ext2fs...
Date: Tue, 17 Aug 1999 15:22:32 -0600
I use GNU/Linux with OS/2 all the time. I have two hard drives for my
laptop which both dual/tri boot. One of them uses the IBM boot manager,
and the other one uses System Commander.
I had installed Warp 4 first, and then Linux, and when mounting the
paritions at Linux install time, I specified that I wanted access to the
hpfs partitions on the drives. This has been very handy, as I have
address books, bookmark files in Netscape, which I can access from
Warp4, and also many files, especially on my Warp desktop. I can access
them by merely changing to my /hpfs directory in Linux.
My understanding of the issue of remaining data on a hard drive, is
that the magnetic media must be overwritten, often up to seven times, to
fully eradicate prior existing data, and thus is not a function of the
TYPE of file system. Rather, it is a function of the diligence and
persistence of the computer operator in ensuring complete overwriting of
the drive. So, it is not a matter of "wiping" a drive, it is a matter of
ensuring overwriting.
I'm finding that I use Warp 4 less and less. Linux for me has become
more and more attractive, but I haven't reached the point of giving away
my CD install disks for Warp, nor "wiping" my hpfs partitions. I do
own, among others, an NEC Windows laser printer. Until I replace this
printer, I will undoubtedly own some iteration of win. And as I'm still
learning this OS, it's comforting to know that Ican always boot into
something more familiar in a pinch.
After owning and using several Red Hat versions for Intel and Alpha, I
recently bought a killer version of SuSE 6.1 at a local Hasting's for
29.00. Not only did I get a GREAT manual, but 5 cds worth of programs,
boot disks. The install/ maintenance of the system via YaST is smooth,
and the KDE environment is spectacular. I'm sold. It'll take a
bulldozer to get me back to Red Hat.
Now, when I finally delete the HPFS partition, I'll have room for Star
Office...:-)
Best Regards
--
__ _
/ / (_)__ __ ____ __
/ /__/ / _ \/ // /\ \/ / . . . t h e c h o i c e o f a
/____/_/_//_/\_,_/ /_/\_\ G N U g e n e r a t i o n . . .
Valentin Guillen
[EMAIL PROTECTED]
--------------------
remove capitalized letters to email me
remueve mayusculas para enviarme email
------------------------------
From: Jeld The Dark Elf <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Re: X11amp (Xmms) on Caldera 2.2
Date: Tue, 17 Aug 1999 18:17:30 GMT
Don't bother with binaries, get source RPM and rebuild it. Check RPM
mand page to find out how. If you still get problems post exactly what
happens.
In article <[EMAIL PROTECTED]>,
"jaws" <[EMAIL PROTECTED]> wrote:
> Can anyone help me install X11amp on Caldera 2.2? I keep running into
> problems. Are there binaries already compiled for Caldera 2.2
floating
> around somewhere that work?
>
>
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: [EMAIL PROTECTED] (Ben Pfaff)
Crossposted-To: gnu.announce,gnu.utils.bug,alt.sources.d
Subject: libavl 1.4 released
Date: Mon, 16 Aug 1999 16:50:00 -0400
Reply-To: [EMAIL PROTECTED]
Version 1.4 of libavl is now available at
ftp://ftp.gnu.org/pub/gnu/avl/avl-1.4.0.tar.gz
The big news in this version is newly implemented support for
red-black trees. In addition, there are now better ways to initialize
traversers.
The libavl README is included below:
This is version 1.4 of libavl, a library in ANSI C for manipulation of
balanced binary trees. Functions for use with three varieties of AVL
tree and one type of red-black tree are included. There is full
documentation, including an explanation of what AVL and red-black
trees are and why you'd use them, in Texinfo, Info, HTML, and plain
text formats.
The library is divided into four parts, described in more detail
below. You need only include the files for the types of trees that
you are using.
- avl.h, avl.c: Unthreaded AVL tree library.
- avlt.h, avlt.c: Threaded AVL tree library.
- avltr.h, avltr.c: Right-threaded AVL tree library.
- rb.h, rb.c: Unthreaded red-black tree library.
Each .c file in the library has a self-test routine built in, which
can be invoked by compiling it with SELF_TEST set to 1. In addition,
there is a separate program thread-test.c that tests the functions
that convert among types of AVL trees. To automatically run these
tests, type `make check' after you have configured the library with
`configure'. For more information on how to configure and compile
libavl, see the file INSTALL included in this directory.
libavl is licensed under the GNU General Public License (GPL), which
should be included in this directory in file COPYING. This is not the
same as GNU Library General Public License (LGPL). Please read the
license and become familiar with its terms.
Please send bug reports and enhancement requests for libavl to Ben
Pfaff <[EMAIL PROTECTED]>.
--
Peter Seebach on managing engineers:
"It's like herding cats, only most of the engineers are already
sick of laser pointers."
[ Most GNU software is compressed using the GNU `gzip' compression program.
Source code is available on most sites distributing GNU software.
Executables for various systems and information about using gzip can be
found at the URL http://www.gzip.org.
For information on how to order GNU software on CD-ROM and
printed GNU manuals, see http://www.gnu.org/order/order.html
or e-mail a request to: [EMAIL PROTECTED]
By ordering your GNU software from the FSF, you help us continue to
develop more free software. Media revenues are our primary source of
support. Donations to FSF are deductible on US tax returns.
The above software will soon be at these ftp sites as well.
Please try them before ftp.gnu.org as ftp.gnu.org is very busy!
A possibly more up-to-date list is at the URL
http://www.gnu.org/order/ftp.html
thanx [EMAIL PROTECTED]
Here are the mirrored ftp sites for the GNU Project, listed by country:
United States:
California - labrea.stanford.edu/pub/gnu, gatekeeper.dec.com/pub/GNU
Hawaii - ftp.hawaii.edu/mirrors/gnu
Illinois - uiarchive.cso.uiuc.edu/pub/gnu (Internet address 128.174.5.14)
Kentucky - ftp.ms.uky.edu/pub/gnu
Maryland - ftp.digex.net/pub/gnu (Internet address 164.109.10.23)
Massachusetts - aeneas.mit.edu/pub/gnu
Michigan - gnu.egr.msu.edu/pub/gnu
Missouri - wuarchive.wustl.edu/systems/gnu
New Mexico - ftp.cs.unm.edu/mirrors/gnu
New York - ftp.cs.columbia.edu/archives/gnu/prep
Ohio - ftp.cis.ohio-state.edu/mirror/gnu
Virginia - ftp.uu.net/archive/systems/gnu
Washington - ftp.nodomainname.net/pub/mirrors/gnu
Africa:
South Africa - ftp.sun.ac.za/gnu
The Americas:
Brazil - ftp.unicamp.br/pub/gnu
Brazil - master.softaplic.com.br/pub/gnu
Brazil - linuxlabs.lci.ufrj.br/gnu
Canada - ftp.cs.ubc.ca/mirror2/gnu
Chile - ftp.inf.utfsm.cl/pub/gnu (Internet address 146.83.198.3)
Costa Rica - sunsite.ulatina.ac.cr/GNU
Mexico - ftp.uaem.mx/pub/gnu
Australia:
Australia - archie.au/gnu (archie.oz or archie.oz.au for ACSnet)
Australia - ftp.progsoc.uts.edu.au/pub/gnu
Australia - mirror.aarnet.edu.au/pub/gnu
Asia:
Japan - tron.um.u-tokyo.ac.jp/pub/GNU/prep
Japan - ftp.cs.titech.ac.jp/pub/gnu
Japan - mirror.nucba.ac.jp/mirror/GNU/
Korea - cair-archive.kaist.ac.kr/pub/gnu (Internet address 143.248.186.3)
Saudi Arabia - ftp.isu.net.sa/pub/mirrors/prep.ai.mit.edu/
Taiwan - ftp.edu.tw/UNIX/gnu/
Taiwan - ftp.nctu.edu.tw/UNIX/gnu/
Taiwan - ftp1.sinica.edu.tw/pub3/GNU/gnu/
Thailand - ftp.nectec.or.th/pub/mirrors/gnu (Internet address - 192.150.251.32)
Europe:
Austria - ftp.univie.ac.at/packages/gnu
Austria - gd.tuwien.ac.at/gnu/gnusrc
Belgium - ftp.be.gnu.org/
Austria - http://gd.tuwien.ac.at/gnu/gnusrc/
Czech Republic - ftp.fi.muni.cz/pub/gnu/
Denmark - ftp.denet.dk/mirror/ftp.gnu.org/pub/gnu
Denmark - ftp.dkuug.dk/pub/gnu/
Finland - ftp.funet.fi/pub/gnu
France - ftp.univ-lyon1.fr/pub/gnu
France - ftp.irisa.fr/pub/gnu
Germany - ftp.informatik.tu-muenchen.de/pub/comp/os/unix/gnu/
Germany - ftp.informatik.rwth-aachen.de/pub/gnu
Germany - ftp.de.uu.net/pub/gnu
Greece - ftp.forthnet.gr/pub/gnu
Greece - ftp.ntua.gr/pub/gnu
Greece - ftp.aua.gr/pub/mirrors/GNU (Internet address 143.233.187.61)
Hungary - ftp.kfki.hu/pub/gnu
Ireland - ftp.esat.net/pub/gnu (Internet address 193.120.14.241)
Italy - ftp.oasi.gpa.it/pub/gnu
Netherlands - ftp.eu.net/gnu (Internet address 192.16.202.1)
Netherlands - ftp.nluug.nl/pub/gnu
Netherlands - ftp.win.tue.nl/pub/gnu (Internet address 131.155.70.19)
Norway - ftp.ntnu.no/pub/gnu (Internet address 129.241.11.142)
Poland - ftp.task.gda.pl/pub/gnu
Portugal - ftp.ci.uminho.pt/pub/mirrors/gnu
Portugal - http://ciumix.ci.uminho.pt/mirrors/gnu/
Portugal - ftp.ist.utl.pt/pub/gnu
Russia - ftp.chg.ru/pub/gnu/
Slovenia - ftp.arnes.si/pub/software/gnu
Spain - ftp.etsimo.uniovi.es/pub/gnu
Sweden - ftp.isy.liu.se/pub/gnu
Sweden - ftp.stacken.kth.se
Sweden - ftp.luth.se/pub/unix/gnu
Sweden - ftp.sunet.se/pub/gnu (Internet address 130.238.127.3)
Also mirrors the Mailing List Archives.
Sweden - ftp.chl.chalmers.se/pub/gnu/
Switzerland - ftp.eunet.ch/mirrors4/gnu
Switzerland - sunsite.cnlab-switch.ch/mirror/gnu (Internet address 193.5.24.1)
United Kingdom - ftp.mcc.ac.uk/pub/gnu (Internet address 130.88.203.12)
United Kingdom - unix.hensa.ac.uk/mirrors/gnu
United Kingdom - ftp.warwick.ac.uk (Internet address 137.205.192.14)
United Kingdom - SunSITE.doc.ic.ac.uk/gnu (Internet address 193.63.255.4)
]
------------------------------
From: Brian Jilek <[EMAIL PROTECTED]>
Subject: Re: setup kmail to leave messages on server
Crossposted-To: alt.os.linux
Date: Tue, 17 Aug 1999 22:36:33 GMT
>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<
On 8/17/99, 12:46:15 PM, [EMAIL PROTECTED] (Frank v Waveren) wrote=20
regarding Re: setup kmail to leave messages on server:
> In article <[EMAIL PROTECTED]>,
> "jaws" <[EMAIL PROTECTED]> writes:
> > Is there a way to setup kmail so it leaves a copy of messages on you=
r=20
pop
> > server so you can receive them at another location, but does not=20
download
> > the messages again in kmail. I like to receive my email at home and=
=20
at
> > work, and it is easy to setup Outlook/Express to leave a copy of=20
messages on
> > server. However, when I checked that option in Kmail, everytime I=20
check for
> > messages it downloads the same messages again.
> Please, try at least looking before you scream help. This isn't=20
windows country.
> Flie>Settings>Network>Select inbox entry>Modify>Delete Mail from=20
server.
Uncheck the "retrieve all mail from server".
This will get only the new messages.
------------------------------
From: [EMAIL PROTECTED] (Jason Brake)
Crossposted-To:
alt.linux.slakware,alt.os.linux.slackware,alt.os.linux,comp.os.linux.setup
Subject: SCSI error on boot using SMP
Date: Tue, 17 Aug 1999 21:07:04 GMT
Hello--
I am installing Slack 4.0 on a Dual-Pentium-233 machine. I have an
Adaptec 3940UW scsi card with a Quantum Viking II harddrive on Channel
A. I also have an Intel PRO100+ Management Adapter. The install went
fine and everthing was good. I then tried to recompile the kernel and
make it do SMP. It crashed.
So I then left all of the same things selected in the kernel except
for SMP and everything worked fine. I then tried upgrading to the
2.2.11 kernel and tried with SMP and without, and once again the
non-SMP kernel worked fine. Same error too. I tried lowering the
Adaptec 3940UW to run at 5MB/s, turned off Sync Negotiation, disabled
disconnection, turned off reset at IC init, and anything else I could
find (one at a time and all together) and still the same error. The
Uni-processor kernel always works and the SMP kernel always crashes,
same error. I turned on verbose logging and here are the error
messages:
(scsi1) Downloading sequencer code...362 instructions downloaded
(scsi1) Resetting channel B
scsi0 : Adaptec AHA 274x/284x/294x (EISA/VLB/PCI-Fast SCSI)
5.1.19/3.2.4
<Adaptec AIC-7895 Ultra SCSI host adapter>
scsi1 : Adaptec AHA 274x/284x/294x (EISA/VLB/PCI-Fast SCSI)
5.1.19/3.2.4
<Adaptec AIC-7895 Ultra SCSI host adapter>
scsi : 2 hosts
(scsi0:0:0:0) Sending WDTR message.
(scsi0:0:0:0) Using Wide(16bit) transfers.
(scsi0:0:0:0) Sending SDTR 12/8 message.
(scsi0:0:0:0) Synchronous at 40.0 MByte/sec, offset 8.
Vendor: QUANTUM Model: VIKING II 4.5WLS Rev: 5520
Type: Direct-Access ANSI SCSI revision: 02
Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
scsi : aborting command due to timeout : pid 16, scsi1, channel 0, id
0, lun 0 Test Unit Ready 00 00 00 00 00
(scsi0:0:0:0) Aborting scb 0, flags 0x6
(scsi0:0:0:0) SCB found on waiting list and aborted.
(scsi0:0:0:0) Aborting scb 0
(scsi0:-1:-1:-1) 1 commands found and queued for completion.
scsi : aborting command due to timeout : pid 16, scsi1, channel 0, id
0, lun 0 Test Unit Ready 00 00 00 00 00
(scsi0:0:0:0) Abort called with bogus Scsi_Cmnd pointer.
By the way, I am using the aic7xxx driver included with the 2.2.11
kernel with "aic7xxx=extended,vebose:0x1ffff" as kernel parameters.
Thanks!
Jason
------------------------------
From: Bert <[EMAIL PROTECTED]>
Subject: fwtk Proxy Server
Date: Tue, 17 Aug 1999 13:29:51 -0500
Hi:
When I do a make on my fwtk files I get the following output. Anyone
seen the error about crypt_r before? Any help welcome.
Bert
[EMAIL PROTECTED]
[root@linux7 fwtk]# make
for a in lib auth smap smapd netacl plug-gw ftp-gw tn-gw rlogin-gw
http-gw x-gw;
do \
( cd $a; echo all: `pwd`; make all ); \
done
all: /usr/src/fwtk/lib
make[1]: Entering directory `/usr/src/fwtk/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/fwtk/lib'
all: /usr/src/fwtk/auth
make[1]: Entering directory `/usr/src/fwtk/auth'
cc -g -static -o authsrv authsrv.o proto.o db.o pass.o srvio.o
../libauth.a
../libfwall.a -lgdbm -lcrypt
/usr/lib/libcrypt.a(crypt-entry.o): In function `crypt_r':
/usr/src/glibc-2.0/md5-crypt/../crypt/sysdeps/unix/crypt-entry.c:125:
undefined
reference to `__eh_pc'
/usr/lib/libcrypt.a(crypt-entry.o): In function `crypt':
/usr/src/glibc-2.0/md5-crypt/../crypt/sysdeps/unix/crypt-entry.c:139:
undefined
reference to `__eh_pc'
/usr/lib/libcrypt.a(md5-crypt.o): In function `md5_crypt_r':
/usr/src/glibc-2.0/md5-crypt/md5-crypt.c:203: undefined reference to
`__eh_pc'
/usr/lib/libcrypt.a(md5-crypt.o): In function `md5_crypt':
/usr/src/glibc-2.0/md5-crypt/md5-crypt.c:226: undefined reference to
`__eh_pc'
/usr/lib/libcrypt.a(md5.o): In function `md5_finish_ctx':
/usr/src/glibc-2.0/md5-crypt/md5.c:124: undefined reference to `__eh_pc'
/usr/lib/libcrypt.a(md5.o):/usr/src/glibc-2.0/md5-crypt/md5.c:180: more
undefine
d references to `__eh_pc' follow
make[1]: *** [authsrv] Error 1
make[1]: Leaving directory `/usr/src/fwtk/auth'
all: /usr/src/fwtk/smap
make[1]: Entering directory `/usr/src/fwtk/smap'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/fwtk/smap'
all: /usr/src/fwtk/smapd
make[1]: Entering directory `/usr/src/fwtk/smapd'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/fwtk/smapd'
all: /usr/src/fwtk/netacl
make[1]: Entering directory `/usr/src/fwtk/netacl'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/fwtk/netacl'
all: /usr/src/fwtk/plug-gw
make[1]: Entering directory `/usr/src/fwtk/plug-gw'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/fwtk/plug-gw'
all: /usr/src/fwtk/ftp-gw
make[1]: Entering directory `/usr/src/fwtk/ftp-gw'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/fwtk/ftp-gw'
all: /usr/src/fwtk/tn-gw
make[1]: Entering directory `/usr/src/fwtk/tn-gw'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/fwtk/tn-gw'
all: /usr/src/fwtk/rlogin-gw
make[1]: Entering directory `/usr/src/fwtk/rlogin-gw'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/fwtk/rlogin-gw'
all: /usr/src/fwtk/http-gw
make[1]: Entering directory `/usr/src/fwtk/http-gw'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/fwtk/http-gw'
all: /usr/src/fwtk/x-gw
make[1]: Entering directory `/usr/src/fwtk/x-gw'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/fwtk/x-gw'
------------------------------
From: Jingang Yi <[EMAIL PROTECTED]>
Subject: Partition problem -- Help!
Date: Tue, 17 Aug 1999 12:12:49 -0700
Hi, there,
I tried to install Win95 and Linux on my PII 8.4GB HD. By using Win95
fdisk, I partitioned the disk only one for Win95 and then installed
Win95.
Then I used Linux fdisk to partioned 3 partitions for rest of HD.
1. If I partitioned the rest of HD into 7 partitions, the installation
has error said: mount point error. Does anyone have any idea why
this happened?
2. So I have to restrict the partition to 4, and then installed the
Linux, afterthat, how can I use fdisk to give more partitions? I
just did, but cannot mounted, it seems that they are never formated
and systems cannot read them. Since I want to give another
partition to Win95 in the extended partitions, how can I do it and
then mount to Linux?
Thanks very much!
Jingang
--
=================================================================
Jingang Yi (Graduate Student)
Department of Mechanical Engineering, University of California
2167C Etcheverry Hall, Berkeley, CA 94720-1740
Home: 1503 Oxford Street, Apt#1, Berkeley, CA 94709
Tel: 510-642-5109(O) 510-548-0626(H)
Fax: 510-642-5599 510-548-0626
Email: [EMAIL PROTECTED] or [EMAIL PROTECTED]
URL: http://scorpio.me.berkeley.edu/~jgyi
=================================================================
------------------------------
From: "Phillip" <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.hardware,comp.os.linux.setup,linux.dev.newbie,linux.dev.svgalib,linux.dev.x11
Subject: Re: Savage4
Date: Tue, 17 Aug 1999 21:54:08 +0100
I have downloaded the Savage4 pro drivers from Creative, followed the
instructions to the case sensitive letre and still no joy. A chunky 640x480
on a 17" monitor is no fun. On the same theme, according to the instructions
it says in the readme file, and I quote:
a: Before trying to to install the Server, make sure that your VGA device is
Savage4 and that you have root access privilages.
unquote: For those who are interested, I have tried that on SuSE 5.2, RedHat
5.2 with both on kernels 2.2.10. Here is the origianl XF86Config file. If
anyone out there can tell where in this file do I put that info:
# XF86Config auto-generated by XF86Setup
#
# Copyright (c) 1996 by The XFree86 Project, Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
# OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# Except as contained in this notice, the name of the XFree86 Project shall
# not be used in advertising or otherwise to promote the sale, use or other
# dealings in this Software without prior written authorization from the
# XFree86 Project.
#
# See 'man XF86Config' for info on the format of this file
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
EndSection
Section "ServerFlags"
EndSection
Section "Keyboard"
Protocol "Standard"
XkbRules "xfree86"
XkbModel "microsoft"
XkbLayout "gb"
EndSection
Section "Pointer"
Protocol "PS/2"
Device "/dev/mouse"
Resolution 200
Buttons 3
EndSection
Section "Monitor"
Identifier "Primary Monitor"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 31.5-64.3
VertRefresh 50-90
Modeline "640x480" 28.32 640 696 752 832 480 481 484
509 -hsync -vsync
EndSection
Section "Device"
Identifier "Primary Card"
VendorName "Unknown"
BoardName "None"
Clocks 25.04 28.32 25.04 8.59
EndSection
Section "Screen"
Driver "Accel"
Device "Primary Card"
Monitor "Primary Monitor"
DefaultColorDepth 8
SubSection "Display"
Depth 8
Modes "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "640x480"
EndSubSection
SubSection "Display"
Depth 32
Modes "640x480"
EndSubSection
EndSection
Section "Screen"
Driver "SVGA"
Device "Primary Card"
Monitor "Primary Monitor"
DefaultColorDepth 8
SubSection "Display"
Depth 8
Modes "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "640x480"
EndSubSection
SubSection "Display"
Depth 32
Modes "640x480"
EndSubSection
EndSection
Section "Screen"
Driver "VGA16"
Device "Primary Card"
Monitor "Primary Monitor"
SubSection "Display"
Depth 4
Modes "640x480"
EndSubSection
EndSection
Section "Screen"
Driver "VGA2"
Device "Primary Card"
Monitor "Primary Monitor"
SubSection "Display"
Depth 1
Modes "640x480"
EndSubSection
EndSection
Section "Screen"
Driver "Mono"
Device "Primary Card"
Monitor "Primary Monitor"
SubSection "Display"
Depth 1
Modes "640x480"
EndSubSection
EndSection
------------------------------
From: [EMAIL PROTECTED] (Doug DeJulio)
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: why not C++?
Date: 17 Aug 1999 16:53:00 -0400
In article <[EMAIL PROTECTED]>,
Warren Young <[EMAIL PROTECTED]> wrote:
>Cocheese wrote:
>> *Why Is linux done primarily in the C programming language rather than
>> C++?*
>
>I've seen many points brought up in this thread, but there's one that's
>absolutely critical, and it goes beyond all the reasons rooted in
>anti-C++ biases: C++ requires name mangling.
If the "why C" question is asking about libraries, your point applies.
It's possible to work around this C++ problem by declaring your
external interfaces via 'extern "C" { }' constructs, but that takes
discipline which many developers lack. For the reason you state, I
consider it really important that any widely-used open-source library
be written in C and not C++.
If the "why C" question is asking about the kernel, this issue is less
relevant. Programming libraries and user-space applications access
the kernel via a system call mechanism that has nothing to do with
symbol names (start reading the source code for the "open()" or
"ioctl()" function and see if you can detect the point where control
passes from user space to kernel space to see what I mean). The
symbol name conventions used by the kernel are *only* relelvant to
code that runs in kernel space (eg. the kernel itself, modules loaded
into the kernel, an interactive kernel debugger, et cetera).
Also, in this small and restricted domain (kernel hackers), the
discipline in enforcing 'extern "C" { }' interfaces would in theory be
easier to maintain.
In other words, I don't think people have refrained from mentioning
name mangling because nobody thought of it, but because the assumption
has been that the kernel is what's under discussion, and it's actually
*not* a major issue for the kernel.
(And I'm not saying this because I'd like things to switch to C++ -- I
would not. I'm one of the people the author would probably consider
to have "anti-C++ biases". I'd just like the decision to stick with C
to rest on more firm ground.)
--
Doug DeJulio | mailto:[EMAIL PROTECTED]
HKS, Incorporated | http://www.hks.net/~ddj/
------------------------------
** 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
******************************