Linux-Misc Digest #299, Volume #24               Fri, 28 Apr 00 02:13:02 EDT

Contents:
  Re: About Yesterday's attack. (Lima Lima)
  Re: How Microsoft inhibits competition & innovation (Todd Knarr)
  NEW LILO, NO More 1024 cylinders limit. :-) (Alex)
  Kneeling Chair? (Dan Star)
  windows on linux? ("Rescue9")
  Re: Floppy format problem. ("Charles Sullivan")
  Re: How the blank do I use .dif (.diff) files?
  Re: windows on linux? (Dances With Crows)
  Re: windows on linux? (Dowe Keller)
  Re: Can't boot SuSE Linux anymore (Dances With Crows)
  Linux modem
  Re: How Big Will X Grow Today? (Steven Yap)
  Re: Kneeling Chair? (Michael Hofmann)
  Re: How the blank do I use .dif (.diff) files? (Matthew Haley)

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

From: Lima Lima <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,alt.linux,redhat.general
Subject: Re: About Yesterday's attack.
Date: Fri, 28 Apr 2000 00:05:14 -0300

[EMAIL PROTECTED] wrote:
> In article <[EMAIL PROTECTED]>,
>   Buck Rogers <[EMAIL PROTECTED]> wrote:
> > > Yesterday I posted a message reguarding an attack on my system and
> yet
> > > removed it after I was able to contact the person in control of the
> > > problem.
> >
> > How do you remove a post? I've always wanted to know the
> > answer to this one.
> 
>      You can't, while some news servers allow cancelations
> (www.deja.com does this), which do get sent out, not every news server
> will respect those cancellation requests. The post will still be
> present in many of the archives around the net. Once you post on usenet
> it's there forever. TTYL

 I don't think it's forever, because all servers expire their articles..
well.. am I right?

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

From: Todd Knarr <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.ms-windows.nt.advocacy,comp.os.ms-windows.advocacy,comp.lang.java.advocacy
Subject: Re: How Microsoft inhibits competition & innovation
Date: 28 Apr 2000 03:24:07 GMT

In comp.os.linux.misc <[EMAIL PROTECTED]> Se�n � Donnchadha 
<[EMAIL PROTECTED]> wrote:
> Heh. At this point I'd like to remind the reader that you haven't
> bothered responding to any of my examples of Unix directory structure
> madness, nor have you provided even a single example of Windows

Actually, someone has. Your 'examples' are an indication of a sane
layout: program executables, libraries, program data and configuration
information are all seperated from each other. This allows for backup
of the configuration information ( dynamic, typically stored in or
under /etc ) while skipping program executables ( normally static,
stored under /bin ( needed for startup ) or /usr/bin ( the rest ) ).

> I see. So why does GCC put its data in /usr/lib/<app> and X11 in
> /usr/<app>/lib? Besides, if being "stock" makes it OK to be in one of
> the OS directories, then what's your problem with fonts and screen
> savers being somewhere under C:\WINDOWS?

X11R6 stores things in /usr/X11R6 because X11R6 isn't part of the
required system. /usr/X11R6 could easily be a seperate mount point,
mounted only on systems that actually needed the X11R6 programs.
Desktops could mount a complete X11 system, while servers might
not mount it at all ( having no need for a GUI themselves ) or mount
a smaller clients-only version.

One reason that GCC installs libraries in /usr/lib ( and an app-specific
directory under it used _only_ by GCC ) is standardization: libc.so is
_always_ found in either /lib or /usr/lib, and applications are expected
to use the version(s) there. Actually it's a slight misnomer to say
that GCC installs libraries there. The libraries belong to glibc2.x
typically, libc5 on older systems, and are used by both GCC and EGCS as
the standard C library.

And unlike Windows, Unix apps that install under /usr/lib typically don't
overwrite existing libraries and such belonging to other packages. They
install into their own directories, or use unique library names and version
numbers, and tell the package management system ( when one is used ) what
files they own so the admin can quickly ask 'Which package does this file
belong to?' or 'What files does this package own?'. For an app, an
attempt to overwrite an existing file not owned by a previous version of
itself is a fatal error during installation and almost always causes the
installation to fail without having installed anything.

> Yeah right, or in whatever directory the builder passed into GCC's
> configuration script.

At least on my system, I can tell the package manager where to root the
GCC ( or EGCS in my case ) tree during install, overriding the default
locations the package builder specified.

> Again, what ISVs support all the package managers that are out there?
> What ISVs support *ANY* vendor-specific package manager?

Well, most of the commercial software I've seen comes as .rpm ( RedHat's
package manager ) or .deb ( Debian's package manager ). I can readily
convert between most of the package formats I've run into, and at least
with RPM I can convert a tarball into a package with not overmuch work
once I understand the app's layout ( a prerequisite for installing it
in the first place ).

-- 
Collin was right. Never give a virus a missile launcher.
                                -- Erk, Reality Check #8

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

From: Alex <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: NEW LILO, NO More 1024 cylinders limit. :-)
Date: Thu, 27 Apr 2000 20:49:53 -0700

In case you haven't notice.

A new LILO, 0.21.4.2 has just been releasded, it supports up to
2Tb HD.

No more 1024 cylinder limit.  Itsn't that wonderful? :)

Get it from
ftp://metalab.unc.edu/pub/Linux/system/boot/lilo/

or other usual mirrors.

Have a lot of fun.

Alex
-- 
-*Linux Rocks. BSD Rules.But both are great.
**RedHat is NOT Linux-Sign the GNU/Linux petition :
  http://www.redhatisnotlinux.org/petition.php4

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

Date: Thu, 27 Apr 2000 22:38:16 -0500
From: Dan Star <[EMAIL PROTECTED]>
Subject: Kneeling Chair?

Anyone know where to get a good quality kneeling chair?  The ones I have
seen in stores are low quality.

--Dan

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

From: "Rescue9" <[EMAIL PROTECTED]>
Subject: windows on linux?
Date: Thu, 27 Apr 2000 23:18:44 -0500

Has anyone developed a PC emu yet, so that Windows can be run from within
Linux?




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

From: "Charles Sullivan" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: Floppy format problem.
Date: Fri, 28 Apr 2000 04:23:22 GMT

Charles Sullivan <[EMAIL PROTECTED]> wrote in message
news:EBoN4.28289$[EMAIL PROTECTED]...
>
> David C. <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > Charles Sullivan writes:
> > > <Regarding formatting a 360K disk on a 1.2M drive.>
> > > It turns out that using fd0h360 (as suggested by David C) instead
> > > of fd0d360 works, and if I then use:
> > >   mkfs -t msdos /dev/fd0h360
> > > I get a diskette which is compatible with DOS/Win 98.
> > >
> > >      the usual 1.2 Meg drives are designed to at least read 360K
> > > double density floppies, and I was able to successfully format one
> > > under DOS/Win 98 (dual boot on the same box).  The drives change speed
> > > and data rate depending on the density.
> > >
> > > What is undoubtedly true is that this diskette will be unreadable in a
> > > standard 360K double density drive with its wider heads.  I think my
> > > 10 year-old drive, a Teac FD55GFR-142, had some sort of dual heads
> > > which allowed writing either wide or narrow tracks, but I can't find
> > > the specs for it on Teac's website.  (I'm pretty sure I used 360K
> > > floppies to move files back and forth between one of the antiques I
> > > used to play with and the PC with the Teac -142.)  The specs for the
> > > new one, FD55GFR-7193, don't mention this.  I trashed my last antique
> > > with a double density 5.25" drive about 5 years ago so can't check it
> > > out.
> >
> > If I remember correctly from my DOS days....
> >
> > A 360K disk in a 1.2M drive is written by double-writing the tracks.
> > That is, the head writes two adjacent identical tracks for each track
> > written by the software.  This way, the result is wide enough for a 360K
> > drive to read.
> >
> > The effect isn't perfect, however, and some 360K drives do have problems
> > reading disks that are formatted in 1.2M drives, but it works most of
> > the time.  (I never had a problem with 360K drives reading disks
> > formatted in my Teac 1.2M drive, but I have had problems with 360K disks
> > formatted in an old IBM PC/AT.)
> >
> > I'm not sure if all this is done by the drive and controller (after
> > receiving some kind of mode-setting command) or by software, though.  I
> > suspect there's a strong hardware component to this, since every BIOS
> > chip made (since the introduction of 1.2M drives) has had support for
> > this mode.
> >
> > As for spindle speed and data rate, the drives were designed for this
> > capability.  The software has merely to program the controller and drive
> > through well-known I/O ports.
> >
> > -- David
>
> You are most likely correct about this.  I went rooting through my
archives
> and found the data sheet on my old Teac 1.2M drive - it says the same
thing
> as the specs for the newer one, i.e., 360K is read-only.  I also found the
> old IBM-AT Users Guide which says that a 360K diskette written with the
1.2M
> drive will thereafter only be readable on the 1.2M drive.  So it's
probable
> that the (later) BIOSes (or DOS?) solved the problem by writing a double
> track - the FD controller looks like a pretty dumb card in itself.
>
> It'd be interesting to determine whether the Linux FD driver does the same
> thing.  It's academic for me at this point as I no longer have a 360K-only
> drive, but it's nice to know what's going on.

Uh, oh...perhaps there's more to this than meets the eye.  I timed the
formatting
of 1.2M and 360K diskettes on the same high-density Teac drive
(FD55GFR-7193-U)
under Linux (RH 6.0) and DOS (with Win 98) on a Pentium II - 450 MHz system.
         Linux  DOS
  1.2M    89 s  68 s
  360K    46 s  33 s

With the factory jumper settings, the drive speed is supposed to be 360 rpm
for both high and double density.  If the tracks on the 360K were written
two-by-two with the same data to emulate the wide head of a double-density
drive, one would expect the times to be approximately the same, but it
looks like only every other track was written.  (The shorter times under
DOS are probably attributable to it verifying each track immediately after
writing, whereas Linux makes a separate verification pass.)

I also checked the jumper settings on my 10 year-old Teac FD55GFR-142-U
and they are the same factory settings, i.e., double-density speed is
360 rpm.  This drive is installed on an old 33 MHz 486 system running
DOS 5.0 and the times for formatting 1.2M and 360K diskettes are
approximately the same as shown above.

The test diskettes were not bulk erased and the 360K diskette had been
previously written on a double-density drive.

Now I'm more confused than ever.

Regards,
Charles Sullivan



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

From: [EMAIL PROTECTED] ()
Subject: Re: How the blank do I use .dif (.diff) files?
Date: Fri, 28 Apr 2000 04:23:33 GMT

That would explain why the diff program doesn't work when I try to use it
for those files....then how does one apply a diff file then? (that being the
main thing I'm concerned with.....)

Thanks for your help :)

On Fri, 28 Apr 2000 01:08:49 GMT, David Waffen <[EMAIL PROTECTED]> wrote:
> diff - find differences between two files
>None of your examples fit the syntax.
>syntax: diff [ options] file1 file2
>
>Read the man pages for the details
># man diff
>
>diff /tmp/file1 /tmp/file2
>
>
>[EMAIL PROTECTED] wrote:
>
>> Ok, I have wondered this for ages, and thought I had figured
>> it out when I had successfully done a:
>> $cat *.diff| diff
>> and had it work
>> But I am running an distribution that has patches for the src files
>> and funny .dif files along with them
>> when I try
>> $diff foo.diff
>> $cat foo.diff|diff
>> $diff <foo.diff
>> none of these work, and just issue usage messages for the diff command...
>>
>> So, how do I
>>         A) apply dif(f) files properly in the first place
>>         B) tell wether or not what I have *are in fact* diff files
>>                 (one would assume they are, given the placement and
>>                  name of them; but I thot that the standard extention
>>                 was 'diff' not 'dif'
>>
>> Does the useage for diff vary from unix distro to unix distro?
>>
>> TIA for your help
>>
>> --
>> /*****************************************************
>> robot minds of robot slaves, lead them to atomic graves
>> plastic flowers melt in sun, fading moon falls upon
>> dying world of radiation, victims of mad frustration
>> ....
>> ELECTRIC FUNERAL! ELECTRIC FUNERAL!
>> ******************************************************/
>


-- 
/*****************************************************
robot minds of robot slaves, lead them to atomic graves
plastic flowers melt in sun, fading moon falls upon
dying world of radiation, victims of mad frustration
....
ELECTRIC FUNERAL! ELECTRIC FUNERAL!
******************************************************/

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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: windows on linux?
Date: 28 Apr 2000 00:26:20 EDT
Reply-To: [EMAIL PROTECTED]

On Thu, 27 Apr 2000 23:18:44 -0500, Rescue9 
<<[EMAIL PROTECTED]>> shouted forth into the ether:
>Has anyone developed a PC emu yet, so that Windows can be run from within
>Linux?

Er, you probably mean "Windows Emulator" unless you're on a {Sparc,
PowerPC, MIPS, S/390} machine.  But try--

http://www.winehq.com  (free!  may not work with everything though)
http://www.vmware.com  (free trial, $100 or so for full version)

To use VMWare effectively, you must have the Other OS installed on a local
hard drive, and you should have a processor > 400MHz and 128M or more RAM
for decent performance.  Lots of folks swear by it.

-- 
Matt G / Dances With Crows              \###| Programmers are playwrights
There is no Darkness in Eternity         \##| Computers are lousy actors
But only Light too dim for us to see      \#| Lusers are vicious drama critics
(Unless, of course, you're working with NT)\| BOFHen burn down theatres.

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

From: [EMAIL PROTECTED] (Dowe Keller)
Subject: Re: windows on linux?
Date: 27 Apr 2000 21:40:30 -0700

On Thu, 27 Apr 2000 23:18:44 -0500, Rescue9 <[EMAIL PROTECTED]> wrote:
>Has anyone developed a PC emu yet, so that Windows can be run from within
>Linux?

I believe that's what VM ware does.

-- 
dowe                                            [EMAIL PROTECTED]
---
prototype, n.:
        First stage in the life cycle of a computer product, followed by
        pre-alpha, alpha, beta, release version, corrected release version,
        upgrade, corrected upgrade, etc.  Unlike its successors, the
        prototype is not expected to work.

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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Can't boot SuSE Linux anymore
Date: 28 Apr 2000 00:32:51 EDT
Reply-To: [EMAIL PROTECTED]

On Thu, 27 Apr 2000 22:56:54 -0400, George Bell 
<<[EMAIL PROTECTED]>> shouted forth into the ether:
>This is a multi-part message in MIME format.

<h1><blink>Configure your newsreader properly!</blink></h1>

>I changed the size and order of the partitions and added some new ones,
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>but the original partions were all reinstalled.  But when I
>try to boot Linux, I get:
>Warning: unable to open an initial console
>Kernal panic: No init found.  Try passing init=option to kernal.
>
>I have gone back in with a rescue system and updated the fstab file to
>correctly reflect the new configuration of the hard drive.  I have also
>verified that /sbin/init is there!
>
>Now I face the prospect of having to reinstall Linux again from scratch
>just because I have changed some of the partitions.  This was no problem
>at all with windows.

Sounds like the root partition has moved.  Try entering
linux root=/dev/hdXY
where X is the drive letter and Y the partition number of your Linux root
partition.  Or since you have a rescue system available, get in and edit
/etc/lilo.conf so the "root=" line for your kernel image points to the
right partition, then re-run LILO.

-- 
Matt G / Dances With Crows              \###| Programmers are playwrights
There is no Darkness in Eternity         \##| Computers are lousy actors
But only Light too dim for us to see      \#| Lusers are vicious drama critics
(Unless, of course, you're working with NT)\| BOFHen burn down theatres.

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

From: <[EMAIL PROTECTED]>
Subject: Linux modem
Date: Fri, 28 Apr 2000 05:30:04 GMT

I have a Zoom 56k v90 internal faxmodem when I try to set the modem up in 
Linux it wont work I have selected /dev/modem Linux says can not find 
modem  I then set it for /dev/ttys1 then I get sorry modem busy it is not 
selected as a plug and pray and it is set for com2 any suggestions as to 
how I can get the modem working also com 2 in cmos is disabled so there is 
no conflict there 

--
Posted via CNET Help.com
http://www.help.com/

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

Subject: Re: How Big Will X Grow Today?
From: Steven Yap <[EMAIL PROTECTED]>
Date: Fri, 28 Apr 2000 05:44:39 GMT

[EMAIL PROTECTED] (Stewart Honsberger) writes:

> On Thu, 27 Apr 2000 19:06:32 BST, Lack Mr G M wrote:
> >xdm-config "terminateServer" option set to false.  If set to true then
> >when you logout xdm will restart the X server, hence any memory leaks
> 
> What is it you mean by 'log out'? Are you talking about somebody with a GUI
> logon for their Linux machine?

That is what it means (practically).  Your distribution should have an
initlevel where the system boots into a graphical login screen.  The
text consoles are still available, but the xdm login screen is what
you'll see after the system has finished booting.  On my Debian box,
initlevel 3 gives me the xdm login.  I know RedHat uses initlevel 5
last I check, and so does Slackware I believe.  I don't know about the
rest.

I believe gdm (GNOME), kdm (KDE), and Login Manager (CDE) are all
derived from xdm, and operate the same way.  The nice thing is, if
you're on network, xdm and friends allows you to choose to start an X
session on any machine on the network that is willing serve it up.

> I use the console to log on, and only have X loaded when I'm going to be here
> to use it. When finished, I close X and log out of that TTY. Would this
> feature benefeit me in any way?

Most "sane" xdm et al. setups will kill the X server and start up a
new one everytime a session ends (the user logs out), allowing the OS
to reclaim any leaked memory.  Since you're start x manually from the
command line, using xdm and friends won't be of much benefit,
especially if you spend most of your time in text consoles.

Steven

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

From: Michael Hofmann <[EMAIL PROTECTED]>
Subject: Re: Kneeling Chair?
Date: Fri, 28 Apr 2000 07:37:43 +0200

Dan Star wrote:
> 
> Anyone know where to get a good quality kneeling chair?  The ones I have
> seen in stores are low quality.

Yes, here in Regensburg just around the corner at Hiendl's.
Meaning to say
- are you even aware this is an international NG, getting read from and
written to from all over the Planet?
- Does this have anything to do with Linux?

Wake up, and then go away.

X-no-archive=yes

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

From: [EMAIL PROTECTED] (Matthew Haley)
Subject: Re: How the blank do I use .dif (.diff) files?
Date: Fri, 28 Apr 2000 06:00:09 GMT

On Fri, 28 Apr 2000 04:23:33 GMT,
 [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>That would explain why the diff program doesn't work when I try to use it
>for those files....then how does one apply a diff file then? (that being the
>main thing I'm concerned with.....)


man diff; man patch

Or:

$ cat file1
This is file one
$ cat file2
This is file two
This is file two
$ diff -c file1 file2 > patchfile
$ cat patchfile
*** file1   Thu Apr 27 22:56:11 2000
--- file2   Thu Apr 27 22:56:19 2000
***************
*** 1 ****
! This is file one
--- 1,2 ----
! This is file two
! This is file two
$ patch file1 < patchfile
patching file file1
$ cat file1
This is file two
This is file two

You should really read the man pages for the two programs also.



-- 
Matthew Haley <[EMAIL PROTECTED]>
Now showing... Mandrake Linux 7.02
10:50pm up 6 days, 7:20, 3 users, load average: 0.01, 0.14, 0.34

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


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