Linux-Misc Digest #805, Volume #21 Tue, 14 Sep 99 06:13:13 EDT
Contents:
Re: How to change /dev/cdrom definition? ("donoli")
Re: General Rant from a Linux Newbie (K. Bjarnason)
Re: General Rant from a Linux Newbie (K. Bjarnason)
"Freeware" vs. GPL ("Steve D. Perkins")
Re: Yggdrassil (was Re: Made my own "live CD" at last! Works great, too :-) (Erik
de Castro Lopo)
Where can i download opl3sa2.o? ("WangGang")
Re: Are tar tapes OS dependent? (Leslie Mikesell)
Re: Best CD writers....? (Michael McConnell)
Re: General Rant from a Linux Newbie (Todd Knarr)
Re: One more Stupid C question (Wolfgang Denk)
Re: Favorite Editor? (Henrik Becker)
Help - can't access cdrom...! (Timothy)
Re: Raising window follows mouse moving? (Jon Skeet)
Re: MP3 players (Kent Carpenter)
Re: "Freeware" vs. GPL (DeAnn Iwan)
Re: Q: Sun accounts, iBCS and SCO (Mike Jagdis)
Re: Help - can't access cdrom...! ([EMAIL PROTECTED])
sscape.o (ENSONIQ driver) not functioning as a module (Gerd B�rger)
Re: Swapping harddrives, this is confusing, I need help (fred smith)
Re: Turn off Virtual desktop? (Ian Barwick)
Re: General Rant from a Linux Newbie (Leslie Mikesell)
Re: Best CD writers....? (Albert Ulmer)
Re: STUPID C question (Jon Skeet)
----------------------------------------------------------------------------
From: "donoli" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: How to change /dev/cdrom definition?
Date: Tue, 14 Sep 1999 03:01:57 -0400
Edmond wrote in message <7qkD3.36614$[EMAIL PROTECTED]>...
>When I installed my Linux Mandrake 6.0, I only had an IDE CDROM. And the
>system configured the /dev/cdrom to my /dev/hdc. Now, I purchased an CD
>Writer and put it in /dev/hdc and moved the old CD ROM drive to /dev/hdd.
>After the ide-scsi module is loaded, the device /dev/hdc becomes /dev/rsd0
>and /dev/hdc is no longer accessible. The definition of /dev/cdrom is not
>correct in my system. How do I change it to /dev/rsd0 or /dev/hdd?
>
>Thanks,
>Edmond
>
Wasn't it /dev/hdc to /mnt/cdrom? Then the new one would be /dev/hdc1
donoli.
>
------------------------------
From: K. Bjarnason <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy
Subject: Re: General Rant from a Linux Newbie
Date: Mon, 13 Sep 1999 23:53:40 -0700
In article <7rjdn4$vpq$[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
> In article <[EMAIL PROTECTED]>,
> K. Bjarnason <[EMAIL PROTECTED]> wrote:
> > In article <7rc27j$3rp$[EMAIL PROTECTED]>,
> > [EMAIL PROTECTED] says...
>
> -- snip --
>
> > > And on the flip side, Linux GUIs are getting more sophisticated,
> > > just like a modern car has a much more sophisticated interface than
> > > the Model Ts of yesteryear. I for one am not sure that I *want* a
> > > clone of the Windows GUI on the Next big Thing, be it Linux or
> > > FreeBSD or something else entirely.
> >
> > There seems to be a blind spot in *nix user thinking. They seem to
> > think that to be as user friendly as Windows - in terms of the typical
> > end-user, not the system hacker - that it has to *be* Windows.
>
> No, on the contrary, it's the Unwashed Windows Masses who adopt that
> view,
" I for one am not sure that I *want* a clone of the Windows GUI on the
Next big Thing"
Why would it be? Simple: because your myopic view encompasses that as
the only option. I mention consumer friendly, *you* conclude "Windows
clone".
Since you can't follow your *own* arguments (see the 'installing
software is not using a computer' nonsense) it's not surprising you
can't follow anyone else's.
I suggest you take a day away from the machine, sit in the sun, read a
book, whatever. Just do something to clear your mind; you're not
tracking very well.
------------------------------
From: K. Bjarnason <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy
Subject: Re: General Rant from a Linux Newbie
Date: Mon, 13 Sep 1999 23:53:30 -0700
[snips]
In article <7rju7v$bce$[EMAIL PROTECTED]>, [EMAIL PROTECTED]
internet.fr says...
> I don't think it's advocating ignorance because Microsoft knows what's best
> for them. It's advocating the "computers are complex machine which can be
> made to be used by minimal effort [which implies of course great effort on
> the part of the programmer], so that many people can use it, so it becomes a
> commodity, drop of prices...
One wonders what he'd do if confronted with a serious application aimed
at, oh, I don't know, teaching quantum theory or analyzing particle
decay - but which had a very simple, intuitive, easy-to-use installation
and interface.
I suspect he'd explode, trying to cope with the notions that it must be
"advocating ignorance" while simultaneously being used for education or
research.
------------------------------
From: "Steve D. Perkins" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: "Freeware" vs. GPL
Date: Tue, 14 Sep 1999 02:53:12 -0400
I was wondering if anyone could either explain (or point to a web
site URL that does), in brief and consise terms (without having to read
through multi-page legal documents), the jist of the difference between
"freeware" and software covered under the GPL?
For example... if I wanted to distribute an application, make its
source readily available, and give anyone permission to modify and even
profit from it SO LONG AS THEY GIVE ME RECOGNITION AS BEING AN ORIGINAL
SOURCE... would that be a freeware app or an app falling within the
guidelines of the GPL?
Also, is there anything "special" you need to do for covering an
application under the GPL... or simply declare that it is so?
Steve
------------------------------
From: Erik de Castro Lopo <[EMAIL PROTECTED]>
Subject: Re: Yggdrassil (was Re: Made my own "live CD" at last! Works great, too :-)
Date: Wed, 08 Sep 1999 22:53:22 +1000
Sitaram Chamarty wrote:
>
> On 7 Sep 1999 10:00:51 +0800, Terry Porter <[EMAIL PROTECTED]>
> wrote:
>
> >I guess Yggdrassil, should really be the "Redhat" of Linux ?
> >
> >I often get twinges of nostalgia, and want to re run my old Yggdrasil cd, but
> >then this pc, never gets rebooted.
>
> Whatever happened to them? I started with Slackware in early 95,
> but I had heard of them even then...
Yeah my first distribution was Yggdrassil. It was early 1995 and it was
set up for me by a friend. Whatever happedn to them?
Erik
--
+-------------------------------------------------+
Erik de Castro Lopo [EMAIL PROTECTED]
+-------------------------------------------------+
"There are two ways of constructing a software design. One way is
to make it so simple that there are obviously no deficiencies
and the other is to make it so complicated that there are no
obvious deficiencies." -- C A R Hoare
------------------------------
From: "WangGang" <[EMAIL PROTECTED]>
Subject: Where can i download opl3sa2.o?
Date: 14 Sep 1999 07:12:18 GMT
Thank you
------------------------------
From: [EMAIL PROTECTED] (Leslie Mikesell)
Crossposted-To: comp.unix.solaris,comp.unix.questions
Subject: Re: Are tar tapes OS dependent?
Date: 14 Sep 1999 02:24:59 -0500
In article <7rkn19$ts4$[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> wrote:
>Can tar files made on tapes under one architecture/OS be transported to
>another architecture/OS?
>
>Specifically, if I create some far files to tape on a SunSPARC running
>Solaris, can I read them on an Intel box running Linux?
>
>Both machines have a DDS3 DAT drive.
Yes, but you may have to know the physical record blocking used
when the tape was written and use 'mt setblk' to set the Linux drive
to match.
Les Mikesell
[EMAIL PROTECTED]
------------------------------
From: Michael McConnell <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help
Subject: Re: Best CD writers....?
Date: Mon, 13 Sep 1999 23:24:35 +0100
On Mon, 13 Sep 1999, Ray wrote:
> Hello ---
>
> Could someone recommend a good CD writer and/or CD re-writable drive
> to use with Linux? Which brand seems to be the best to use with Linux
> (ie, tends to give the least amount of troubles), or is it pretty much
> the case of one being just as good as another? There are certain
> brand names I'd presonally stay away from (eg, if Acer makes such
> drives. :-) ), but that still leaves a good number of potential
> candidates, and I'm trying to decide on one that people have a good
> track-record with.
I had an Artec EIDE CD-RW. Forget it. I now have a Traxdata CDR4120 (SCSI)
and the only coasters I've made are when either Windows (or X) crashed. (I
now write all my CDs on a text console, or inside screen).
> Additionally, what seems to be the best CD burning software to use
> with the drive(s)?
I use the command-line cdrecord command. Aplications like xcdroast are
graphical front-ends to it.
-- Michael "Soruk" McConnell
Eridani Star System -- The Most Up-to-Date Red Hat Linux CDROMs Available
Email: [EMAIL PROTECTED] http://linux.amush.cx Fax: +44-8701-600807
Eridani: Your PC doesn't need Windows or Gates.
------------------------------
From: Todd Knarr <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy
Subject: Re: General Rant from a Linux Newbie
Date: 14 Sep 1999 07:43:00 GMT
In comp.os.linux.misc <[EMAIL PROTECTED]> K. Bjarnason
<[EMAIL PROTECTED]> wrote:
> I still say the UI needs to become standardized. Envision for the
> moment your next-door-neighbour John running Linux at home and at work.
> At home he's bought distro X and a month later, the office decides to go
> with distro Y - with a completely (or at least significantly) different
> UI. Now he has to either learn both, or throw his out and buy distro Y.
I think you miss a fairly major point: you _don't_ install a GUI on
a Unix system. You install the programs for one or more on the system
and set each account to use at least one. I use Gnome on my system at
home, for instance. You don't know Gnome and want to use KDE, fine,
you use KDE. I don't have to uninstall Gnome or change my setup just
because you've configured your account differently. In fact, I can
select which setup I'm going to use when I log in. I can flip between
Gnome, KDE, Afterstep, fvwm95, twm, icewm and WindowMaker just by
hitting a function key or selecting an item from a menu after I've
entered my username and password. This is the way it should work.
Instead of forcing all users to use one standard GUI, let each user
use the GUI they prefer without interfering with anyone else using
the one _they_ prefer.
Now, Gnome is radically different from, say, the old OpenLook window
manager. Or is it? The root menus work the same in both. Oh, there's
differences in the items and some control functions, but for just
starting programs from the menu they're interchangeable. OpenLook
didn't have Gnome's task bar, but it's just a task bar. I've seen
the same in OS/2 and in fvwm95 and in Windows95/98/NT4. Minor differences,
but nothing that took more than a few seconds to figure out the first
time I started working with the software. Cut/copy/paste work about
the same ( except on Windows where I need to use a few extra keystrokes
instead of the mouse buttons ). Ditto drag-n-drop, the little I use
it ( mostly in file managers ).
So what precisely are we trying to standardize here?
--
If I employed software developers and they gave me something like this,
I'd shoot them.
-- Abby Franquemont
------------------------------
Crossposted-To: comp.os.linux.admin,comp.os.linux.help,comp.os.linux.questions
From: Wolfgang Denk <[EMAIL PROTECTED]>
Subject: Re: One more Stupid C question
Date: Tue, 14 Sep 1999 05:48:29 GMT
Adrian Hands <[EMAIL PROTECTED]> writes:
>-1038473945 = 0x3DE5DAD9 in a 32-bit system
Oops????
0x3DE5DAD9 = 1038473945. -1038473945 = 0xc21a2527
Wolfgang
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: -88 Home: -86 Email: [EMAIL PROTECTED]
Thought for the day: What if there were no hypothetical situations?
------------------------------
From: Henrik Becker <[EMAIL PROTECTED]>
Subject: Re: Favorite Editor?
Date: Tue, 14 Sep 1999 09:35:19 +0200
Richard Aleksandr <[EMAIL PROTECTED]> wrote:
> I am looking for a full screen editor for Linux that doesn't suck.
What about _kwrite_ the Advanced-KDE Editor?
I don�t use it myself, but it�s worth a look.
My favourite still: _joe_
--
Henrik Becker <[EMAIL PROTECTED]> | http://www.chattia.com/Henrik.Becker
> powered by Linux, KDE and WindowMaker | This EMail is 100% Micro$oft FREE <
___________support_FREE_SOFTWARE_______www.kde.org_____www.linux.org_________
The best things in life are free, but the
expensive ones are still worth a look.
------------------------------
From: [EMAIL PROTECTED] (Timothy)
Subject: Help - can't access cdrom...!
Date: Tue, 14 Sep 99 08:16:04 GMT
Hi
I've done something pretty (really!) dumb. I just downloaded the kdiskfree program
and was playing around with it. It showed me that I had 2 cdrom drives while I only
have one, so I tried to fix this up. I deleted the hdd file from /dev and now cannot
access my cdrom at all! Is there any way I can get this file back (ie. undelete) or
can I just get a copy of the file from a friend and put it back in? Thanks....
Tim
------------------------------
From: [EMAIL PROTECTED] (Jon Skeet)
Subject: Re: Raising window follows mouse moving?
Date: Tue, 14 Sep 1999 09:57:55 +0100
[EMAIL PROTECTED] wrote:
> I am running RedHat 6.0 (Gnome, Enlightenment). I was wondering
> how to make a window raise following the mouse moving. Thank
> you in advance.
Go to the Enlightenment Configuration Tool, and under Basic Options
choose "Keyboard focus follows..." and "mouse pointer" or "sloppy
pointer".
Then under "Behavior", go to "Miscellaenous" and set the "Automatic
raising of windows after X seconds" to whatever time you want.
--
Jon Skeet - [EMAIL PROTECTED]
http://www.pobox.com/~skeet/
------------------------------
From: Kent Carpenter <[EMAIL PROTECTED]>
Subject: Re: MP3 players
Date: Tue, 14 Sep 1999 02:40:05 -0500
Reply-To: [EMAIL PROTECTED]
saken wrote:
>
> which mp3layer is the easiest/best 2 use? linuxberg recommended 2
> xmms and mp3studio, are there better ones or are these good or what?
> --saken
IMHO xmms would be the way to go. Although I am not familiar with the
other, xmms (formerly x11amp) is very much like winamp, and has support
for esd (if you're using GNOME) or OSS sound drivers.
Why not just try them both and use the one you like the most??
------------------------------
From: [EMAIL PROTECTED] (DeAnn Iwan)
Subject: Re: "Freeware" vs. GPL
Date: Tue, 14 Sep 1999 09:03:32 GMT
On Tue, 14 Sep 1999 02:53:12 -0400, "Steve D. Perkins"
<[EMAIL PROTECTED]> wrote:
> I was wondering if anyone could either explain (or point to a web
>site URL that does), in brief and consise terms (without having to read
>through multi-page legal documents), the jist of the difference between
>"freeware" and software covered under the GPL?
>
> For example... if I wanted to distribute an application, make its
>source readily available, and give anyone permission to modify and even
>profit from it SO LONG AS THEY GIVE ME RECOGNITION AS BEING AN ORIGINAL
>SOURCE... would that be a freeware app or an app falling within the
>guidelines of the GPL?
>
> Also, is there anything "special" you need to do for covering an
>application under the GPL... or simply declare that it is so?
>
>
>Steve
>
>
What you want to do is more like the BSD licensing than
GPL. GPL basically requires that if someone else distributes code
based on GPL code (or incorporating GPL code) that they also release
that code under a GPL--and GPL includes releasing source code. GPL
code is intended to be a license that keeps both the code and all
derivations of it "publicly available". Freeware, in general, just
allows anyone to use the code however they want. How you release your
code is up to you..
------------------------------
From: [EMAIL PROTECTED] (Mike Jagdis)
Subject: Re: Q: Sun accounts, iBCS and SCO
Date: 14 Sep 1999 09:05:26 GMT
Reply-To: [EMAIL PROTECTED]
In article <7rjgac$cb$[EMAIL PROTECTED]>, Raphael Mankin wrote:
>Does anyone have experience of running Sun Accounts under
>Linux/iBCS?
Nope.
>I get as far as running SSMM (whatever that might be), but it just
>loops apparently doing nothing.
>
>There is, of course, absolutely no documentation.
>
>Helpful suggestions, anyone? I could always buuild a new SCO Unix
>system, but the client would prefer Linux (and so would I).
Use the ibcs_trace program to turn iBCS tracing on and see
where the program is looping.
Mike
--
Failure isn't an option - it's built in to Windows
.----------------------------------------------------------------------.
| Mike Jagdis | Internet: mailto:[EMAIL PROTECTED] |
| Roan Technology Ltd. | |
| 2 Markham Mews, Broad Street | Telephone: +44 118 989 0403 |
| Wokingham ENGLAND | Fax: +44 118 989 1195 |
`----------------------------------------------------------------------'
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Help - can't access cdrom...!
Date: 14 Sep 1999 08:58:37 GMT
You can just say mknod /dev/hdd b 22 64 and the file is there again.
------------------------------
From: [EMAIL PROTECTED] (Gerd B�rger)
Subject: sscape.o (ENSONIQ driver) not functioning as a module
Date: 14 Sep 1999 10:03:51 +0200
Hi,
correct me if I'm wrong, but I have the impression that the driver for
the Ensoniq Soundscape card, sscape.o, is misfunctioning as a module.
Whatever parameter values are passed to the module via modprobe, they
get never recognized and produce the error
kernel: DMA, IRQ, and IO port must be specified.
If sscape.o is directly compiled into the kernel everything works
fine.
Gerd
------------------------------
From: fred smith <[EMAIL PROTECTED]>
Subject: Re: Swapping harddrives, this is confusing, I need help
Date: Mon, 13 Sep 1999 23:41:34 GMT
[EMAIL PROTECTED] wrote:
: Here's what I need to do:
: 1. Copy 95 drive to the 95 partition (all the files should fit in the
: two Gigs.
: 2. Reformat and repartition 8 Gig drive.
: 3. Copy linux to the new 8 Gig drive.
: Here's what I need to know:
: 1. Dos command to copy entire directory sturcture. I've tried the
: normal copy c:\*.* d:\ and it only copies files, not directories
: 2. The linux command to do basically the same thing
: 3. Linux command to make a LILO boot disk.
OK, not hard, just tedious and time-consuming. I've done both relocations
of Linux and of Win95.
With Win 95 the xcopy command has a batch of options to make it copy
hidden/system files and subdirectories, etc. However the options you
need will only show up if you've got a DOS window from a win95 session,
NOT if you boot directly to DOS. I suggest you go to
www.computercraft.com and search around there a bit. Somewhere on there
is a pointer to a document that tells you exactly how to clone a W95
drive using xcopy. I've used it, it works. It doesn't tell you about how
the xcopy options are only available from Win95, though.
For Linux it's simpler, a bit. Once you've got W95 off the drive you
want to use, use the DOS fdisk to delete the partition(s) on that drive,
use Linux's fdisk to create the new partitions, copy everything from the
old partitions to the new ones using 'cp -a'. Check out the man page for
cp in case you want any other options.
Some additional advice: make a plenty big enough swap partition, you've
got lots of disk space there, don't be cheap. Make a small partititon
(10 megs is plenty) for /boot. When you do the copying, copy all the
files from /boot to that partition, then make sure it gets mounted
as /boot. Edit the /lilo.conf (on the copied drive, not the original)
to reflect the new partition setup, adjust any symbolic links you may
have made yourself. This step is is important: MAKE A BOOTABLE FLOPPY
and test it to make sure it works! Last step is to rearrange the drives
if you're going to move them around, then boot from the boot floppy
you made (You did make one, didn't you? ;^) then run /sbin/lilo to
install the boot loader to reflect your new setup.
Fred
--
---- Fred Smith -- [EMAIL PROTECTED] ----------------------------
The eyes of the Lord are everywhere,
keeping watch on the wicked and the good.
============================= Proverbs 15:3 (niv) =============================
------------------------------
From: Ian Barwick <[EMAIL PROTECTED]>
Subject: Re: Turn off Virtual desktop?
Date: Tue, 14 Sep 1999 10:06:35 +0200
On 14 Sep 1999, J. David Eisenberg wrote:
> Soltzer <[EMAIL PROTECTED]> wrote:
> : I'm running redhat 6.0 and have GNOME, KDE, etc installed. While the
> : "virtual desktop" is a nice feature, I'd like to turn it off so that the
> : edge of the viewable screen _is_ actually the edge of the screen. Can
> : someone direct me as to how to accomplish this? Many thanks.
>
> In KDE, choose Setting/Desktop/Borders, and uncheck the
> "Enable active desktop border" checkbox.
>
> I don't have GNOME running at the moment, so I can't tell you
> how to do it there.
Another way might be to change the file /etc/XF86Config , which controls
the virtual desktop at X-Server level. This should save you the bother of
changing the settings in individual windows managers. Open the file (make
a backup first!) and scroll down towards the end, where you should see
something like:
Section "Screen"
Driver "SVGA"
...
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480" "640x400"
Virtual 1280 1024
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "800x600" "640x480" "640x400"
Virtual 1280 1024
EndSubSection
EndSection
The entry "Virtual" defines the size of the virtual desktop. You can
either delete it, comment it out with # or change it to the same values as
the monitor resolution you use.
Note that in the entry "Modes" the first value will be the monitor
resolution actually used by the X-Server. However, if for any reason
this is smaller than the largest resolution possible, and the value for a
larger resolution is included in the entry, X will probably default to a
virtual desktop the same size as the largest entry.
HTH
Ian Barwick
------------------------------
From: [EMAIL PROTECTED] (Leslie Mikesell)
Crossposted-To: comp.os.linux.advocacy
Subject: Re: General Rant from a Linux Newbie
Date: 14 Sep 1999 02:20:34 -0500
In article <[EMAIL PROTECTED]>,
K. Bjarnason <[EMAIL PROTECTED]> wrote:
>
>> I have never met someone who has run a Win9x box for more than 24 hrs without
>> it crashing. By this, I mean that they actually USED the machine; letting it
>> sit there and generate heat doesn't count.
>
[....]
>The apps denoted with "*" are those which typically run all the time -
>as in 24 hours a day, 7 days a week. Do we have to reboot it from time
>to time? Yes. Then again, we're having intermittent hardware failures,
>so that's not too surprising - but our uptime, in spite of the failures,
>is typically 48 hours plus, and will go up considerably when the faulty
>hardware is replaced, probably next week. Prior to the onset of the
>harware failures, the box would remain up for days, even weeks at a
>time, the usual cause for it going down was us installing some new game
>or application which required an update of a locked file.
Days? Weeks? Are you intentionally damning it with faint praise?
If you can't let something run for months at a time it is just
plain broken.
Les Mikesell
[EMAIL PROTECTED]
------------------------------
From: Albert Ulmer <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help
Subject: Re: Best CD writers....?
Date: Tue, 14 Sep 1999 08:38:16 GMT
> I had an Artec EIDE CD-RW. Forget it. I now have a Traxdata CDR4120=20
(SCSI)
> and the only coasters I've made are when either Windows (or X)=20
crashed. (I
> now write all my CDs on a text console, or inside screen).
I used to have an EIDE-burner, too. You're absolutely right, they are=20
a waste of money. Like you I now have a Traxdata CDR4120-SCSI-burner=20
and it's performance so far has indeed been outstanding.
------------------------------
From: [EMAIL PROTECTED] (Jon Skeet)
Crossposted-To: comp.os.linux.admin,comp.os.linux.help,comp.os.linux.questions
Subject: Re: STUPID C question
Date: Tue, 14 Sep 1999 10:20:27 +0100
[EMAIL PROTECTED] wrote:
> Should the problem line not read
>
> fgets(&buffer,80,fp2);
>
> It has been a while since I have done C but I think you need to do this.
Nope - buffer itself is already an array, which is (sort of) equivalent
to char *. (I've never quite got to grips with the difference between the
two, but I know that much :)
If he had declared:
char buffer;
then he'd have needed
fgets (&buffer, 1, fp2);
but that could only read a single character.
--
Jon Skeet - [EMAIL PROTECTED]
http://www.pobox.com/~skeet/
------------------------------
** 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
******************************