Linux-Misc Digest #548, Volume #25               Thu, 24 Aug 00 17:13:02 EDT

Contents:
  Re: lilo make problems (John in SD)
  Re: Distro change: To debian or SuSE ?? (Dances With Crows)
  Re: FYA - Parody: Microsoft Pie (The Day the Servers Died) ("Brash")
  Re: Distro change: To debian or SuSE ?? ("Peter T. Breuer")
  Re: Where to install apps on Linux system? (Dances With Crows)
  Re: Where to install apps on Linux system? (David Dorward)
  Re: Distro change: To debian or SuSE ?? (David Dorward)
  Re: Netatalk and Red Hat 6.2 ([EMAIL PROTECTED])
  Re: NEWBIE-Shell scripting - When to use script variable vs. create tmp file??? 
(-ljl-)
  Vmware: booting os installed on raw disk under VM ("David B. van Balen")
  Programming of continuous exchange on TCP/IP ("Pliev")
  incremental backup with cron (doug edmunds)
  Re: NEWBIE-Shell scripting - When to use script variable vs. create tmp  (Matthew 
Landt)
  Re: shutdown command for a single user (David Dorward)
  Re: Linux, XML, and assalting Windows (Matthias Warkus)

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

From: John in SD <[EMAIL PROTECTED]>
Subject: Re: lilo make problems
Reply-To: [EMAIL PROTECTED]
Date: Thu, 24 Aug 2000 20:02:07 GMT

Your version of as86 is out of date.  This assembler is distributed with the
'bin86' or 'dev86' utility packages.  One upgrade source is the redhat 6.2
distribution, mirrored at: 

  site: ftp://metalab.unc.edu
  dir:  /pub/Linux/distributions/redhat/redhat-6.2/i386/RedHat/RPMS/
  pkg:  dev86-0.15.0-2.i386.rpm

>From a correspondent who had similar troubles with an earlier release:

It would build, but not before I fixed a few things.  Finally, I
tracked down Robert de Bath's bin86-0.15 package at
  http://www.cix.co.uk/~mayday/

--John

On Tue, 22 Aug 2000 13:49:18 -0400, Ryan Tarpine <[EMAIL PROTECTED]> wrote:

>I'm trying to compile the newest version of lilo so I can boot -- without the
>installation disk -- my partition past the 1024th cylinder.  However, when I
>type make, I get
>
><ERRORS>
>cc -E check-config.cpp `( if [ -r $ROOT/etc/lilo.defines ]; then cat 
>$ROOT/etc/lilo.defines; else echo -DM386 -DIGNORECASE -DVARSETUP -DREWRITE_TABLE 
>-DONE_SHOT -DVERSION; fi ) | sed 's/-D/-DLCF_/g'` `[ -r /usr/include/asm/boot.h ] && 
>echo -DHAS_BOOT_H` >/dev/null
>as86 -0 -a -w -l temp2.lis -o temp2.o temp2.s
>00806 0363           74           00>           toNull: je      near null       ! 
>cursor control
>*****                                                                ^junk after 
>operands
>01471 07FB           72           00>                   jb      near doload
>*****                                                                ^junk after 
>operands
>00806 0363           74           00            toNull: je      near null       ! 
>cursor control
>*****                                                           ^unbound label
>*****                                                                ^junk after 
>operands
>01471 07FB           72           00                    jb      near doload
>*****                                                                ^junk after 
>operands
>*****                                                                ^unbound label
>
>00004 errors
>00000 warnings
>make: *** [temp2.o] Error 1
>rm temp2.o
></ERRORS>
>
>What's going on?  I tried installing the newest as86 but it didn't make any
>difference.

You obviously did not get version 14 or 15.



>Ryan


LILO version 21.5 (18-Jul-2000) source at
ftp: brun.dyndns.org   dir: /pub/linux/lilo

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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Distro change: To debian or SuSE ??
Date: 24 Aug 2000 20:02:13 GMT
Reply-To: [EMAIL PROTECTED]

On Thu, 24 Aug 2000 19:40:15 GMT, Kyle Parfrey wrote:
>First of all I don't want to know what the "best" distribution is, so
>don't start on that :)!  I am currently using Caldera 2.4, but am
>considering changing distro due to some problems. I am by no means an
>experienced linux user, having only about 3 weeks use time but am
>thinking of trying debian , partly because I hear it has a program that
>eradicates the annoying dependancy problems with rpms.
>Is debian as hard as they say?
>Does the apt-get program work?
>Can debian use rpm and is it easy to get .deb packages?
>General: is it good?

The initial Debian install can be a bit tricky--read the documentation,
and avoid dselect as much as possible as apt is a much better program.
apt-get works very well according to the people on this and other NGs.
Debian cannot use RPMs directly, but there's a small tool called "alien"
that can convert RPM to DEB.  DEB packages are pretty darn easy to find;
just connect to the Net somehow and enter "apt-get $PACKAGENAME".
Bingo.

>Other than that I see that SuSE are about to launch a new version.
>Thinking of that also.

I've been extremely happy with SuSE.  Their distro comes with 6 CDs full
of stuff--a lifesaver if your Net drop is slow or you have to pay
through the nose for Net time.  There are "annoying dependency problems"
but just about every RedHat RPM I've seen will install and work fine,
provided you use "--nodeps".

>I want to use my computer for internet stuff, java development, all the
>normal things.

Java development is normal?  AIEEE!  RUN!  HIDE!  "Write once, crash
frequently, debug everywhere."  Maybe I've just been unlucky, what with
Netscape's hideous JVM and Oracle's wretched installer, but I'd sooner
trust important data to my own wretched C hacks than anything written in
Java.  :-]

-- 
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /  Those who do not understand Unix are
http://www.brainbench.com     /   condemned to reinvent it, poorly.
=============================/           ==Henry Spencer

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

From: "Brash" <[EMAIL PROTECTED]>
Crossposted-To: rec.music.filk,alt.2600,rec.humor
Subject: Re: FYA - Parody: Microsoft Pie (The Day the Servers Died)
Date: Thu, 24 Aug 2000 16:08:09 -0400


<[EMAIL PROTECTED]> wrote in message
news:l8ap5.15315$[EMAIL PROTECTED]...
> Coud someone post that again?
> My news server seems to have missed it.
>
> TIA
>

Use Deja.

Brash
--
0h y0rdshch!

>
> Mike Van Pelt <[EMAIL PROTECTED]> wrote in message
> news:8nvsuu$7na$[EMAIL PROTECTED]...
> > In article <8nmeun$4io$[EMAIL PROTECTED]>,  <[EMAIL PROTECTED]> wrote:
> > >Microsoft Pie - To the tune of "American Pie" by Don McClean
> >
> > Marvelous!  Good stuff.
> >
> > >I can't remember if I cried
> > >When I read about Win NT "5", (1)
> > >But management made me take the ride
> > >The day the servers died.
> >
> > I keep trying to fend this off at work...
> >
> > --
> > Yes, I am the last man to have walked on the moon,    | Mike Van Pelt
> > and that's a very dubious and disappointing honor.    | [EMAIL PROTECTED]
> > It's been far too long.     -- Gene Cernan            | KE6BVH
>
>



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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Distro change: To debian or SuSE ??
Date: 24 Aug 2000 20:09:58 GMT

Kyle Parfrey <[EMAIL PROTECTED]> wrote:
: only about 3 weeks use time but am thinking of trying debian , partly because
: I hear it has a program that eradicates the annoying dependancy problems
: with rpms.

: Is debian as hard as they say?

Impossible to answer. I find all istros easy (except redhat, which I
find easily too annoying .. suse has a bit of that too, but at least
they have Real Engineers working for them, and they keep the fluff
out).

: Does the apt-get program work?

Nooooo .. what do YOU think? All of us are pretending that it works,
and it's really a sham?

: Can debian use rpm and is it easy to get .deb packages?

Any distribution can use rpm, since you can convert rpm to anything 
or just compile and install rpm.

I've never tried to get rpm packages, so I don't know how easy or
difficult they are to get (or why anyone would want them). There
are about 3GB of binary .deb packages on my mirror.

: General: is it good?

In what sense? It's as good as I can make it. I have no way of telling
how one distribution may be better than another.

: A review in kclinux.com talks of a "commercial version" including 3 cd's
: and a book. Where can this be got, a vendor in europe is needed as I

Isn't this just the normal stuff. 3CDs would only be 2.1GB, so they
can't have included source code. I would have thought it would have
been a 6-8 CD set for the full distro.

: live in Ireland. I would be looking for Debian 2.2

I've always installed off the net.

: Other than that I see that SuSE are about to launch a new version.
: Thinking of that also.

It's different. More emphasis on commecialism, less on robustness, but
really good at installing and comes with germanic thoroughness
embedded.

: I want to use my computer for internet stuff, java development, all the
: normal things.

: Expecting a wave of replies..

I doubt if you'd get anything sensible. Debian and SuSE are different,
but probably comparable in size, but with different aims. I like debian
myself, but I have suse on one laptop and one server. I have slackware
on another laptop and on my workstation, and several labs full of
debian machines.

Peter

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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Where to install apps on Linux system?
Date: 24 Aug 2000 20:18:10 GMT
Reply-To: [EMAIL PROTECTED]

On Thu, 24 Aug 2000 18:13:11 GMT, Luc Van Bogaert wrote:
>I'm a newbie Linux user and I'm having some difficulty getting used to
>the directory structure as it is being used by this os. More
>specifically, I'm wondering what the recommended place would be to
>install applications on my system.
>Now, here's the problem : I haven't got a clue about what those
>different Linux directories mean and how much they're related to the
>Linux system itself.

/bin and /sbin : essential system utilities needed for booting and/or
rescuing damaged systems.  /sbin has commands in it that are usually
executed only by the superuser.
/usr/bin : standard command-line utilities and programs
/usr/X11R6/bin : standard location for X binaries
/usr/games/bin : obvious :-)
/usr/local/bin : place for things which you compiled or installed
yourself, not things that came with the distro.
/home/username/bin : programs you compiled yourself that are not
necessarily available to the general userbase

/opt is often a symlink to /usr/local/opt, since that allows you to keep
local and optional things all in one place.  Though it may not look like
it at first glance, the directory structure of Linux is laid out in a
logical fashion and there are some definite rules about what can go
where--search for "Linux Filesystem Hierarchy Standard".

-- 
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /  Those who do not understand Unix are
http://www.brainbench.com     /   condemned to reinvent it, poorly.
=============================/           ==Henry Spencer

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

From: David Dorward <[EMAIL PROTECTED]>
Subject: Re: Where to install apps on Linux system?
Date: Thu, 24 Aug 2000 20:00:28 +0100

Luc Van Bogaert wrote:
> 
> Hi,
> 
> I'm a newbie Linux user and I'm having some difficulty getting used to
> the directory structure as it is being used by this os. More
> specifically, I'm wondering what the recommended place would be to
> install applications on my system.
> 
> If this is anything like OS/2, it actually doesn't make any difference
> where you install an application, but I know I would never install an
> app like StarOffice in one the OS/2 system directories.
> 
> Now, here's the problem : I haven't got a clue about what those
> different Linux directories mean and how much they're related to the
> Linux system itself.

Take a look at this http://www.pathname.com/fhs/ it should answer some
of your questions.

> Does it make sense to install StarOffice in the root directory? Does it
> make sense to install it in my home directory? If I want the app to be
> used by all users on my system, does that require some special
> installation directory?

The root directory is really the home directory of the root user. If you
want something available to all users it should go in a directory they
all have access to. I would suggest /usr/local/soffice52 (depending on
the version of soffice).

> Any advice would be much appreciated.
> 
> Thanks.
> 
> Luc Van Bogaert

-- 
David Dorward
http://www.dorward.co.uk/

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

From: David Dorward <[EMAIL PROTECTED]>
Subject: Re: Distro change: To debian or SuSE ??
Date: Thu, 24 Aug 2000 21:25:20 +0100

Kyle Parfrey wrote:
[snip]
> Some questions:
> Is debian as hard as they say?

Once you get used to a system, any different systems looks hard by
comparison.

> Does the apt-get program work?

All the reports I have read say that it is wonderful.

> Can debian use rpm and is it easy to get .deb packages?

You can install rpm (the program that deals with .rpm files) on any
Linux system, debian included.
You can also get a script called alien (IIRC) that will convert RPM
packages to DEB packages.

> General: is it good?

> A review in kclinux.com talks of a "commercial version" including 3 cd'=
s
> and a book. Where can this be got, a vendor in europe is needed as I
> live in Ireland. I would be looking for Debian 2.2

If you visit the debian website ( http://www.debian.org ) you will find
a list of vendors in different countries. I picked up the 3 Debian 2.2
source CDs for =A310 from Linux Emporium in the UK

> Other than that I see that SuSE are about to launch a new version.
> Thinking of that also.

SuSE is a very good beginners distro, it has some great autodetection of
hardware.

> I want to use my computer for internet stuff, java development, all the=

> normal things.
> =

> Expecting a wave of replies..
> =

> Kyle
> =

> public void thanks {
> word.thanks();
> }

-- =

David Dorward
http://www.dorward.co.uk/

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

From: [EMAIL PROTECTED]
Subject: Re: Netatalk and Red Hat 6.2
Date: Thu, 24 Aug 2000 20:17:34 GMT

By any chance have you not inserted the appletalk module .. which can
be done so by typing 'insmod appletalk'????

Barry


In article <[EMAIL PROTECTED]>,
  Stephen Gilbert ([EMAIL PROTECTED]) wrote:
> Has anyone managed to get netatalk to work under Red Hat 6.2?  I found
> and installed many tarballs and rpms with the source, but could never
> get any of them to compile.  Then, I finally found a binary
> distribution on contribs.redhat.com, but it gives errors whenever
> atalkd starts.
>
> # /usr/sbin/atalkd
> socket: Invalid argument
> socket: Invalid argument
> atalkd: can't get interfaces, exiting.
>
> I know my NIC is fine, I'm using it right now to send this message.
>
> Any ideas anyone?
>
> - Steve
>


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: -ljl- <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.aix,comp.unix.misc,comp.unix.shell
Subject: Re: NEWBIE-Shell scripting - When to use script variable vs. create tmp 
file???
Date: Thu, 24 Aug 2000 20:20:07 GMT

In article <8o3pe3$fcg$[EMAIL PROTECTED]>,
  "Ken Abrahamsen" <[EMAIL PROTECTED]> wrote:
> When doing shell scripting and needing to manipulate (sed, grep, etc)
file
> contents, what are generally accepted good shell programming practices
> determining when to assign the contents of a file to a shell variable
versus
> creating a tmp file and using the tmp to do all the work in?
>
> Avoiding tmp files means avoiding duplicate tmp file naming problems,

I not an expert by any sense of the word but this can be solved by
using the "PID of the current process", reserved shell variable $$.
Each process is unique.
  tmp=sort$$
  sort table > $tmp
  mv $tmp table
This is an example from "Portable Unix".  Of course the last line
could delete '$tmp', or whatever.

> bad idea to use a shell variable if the data is over xxxx kilobytes,
but OK

I've looked at lot of other peoples work and large amounts of data went
into files and < 100 (or so) characters went into variables.

> I'm trying to do better scripting, but find no information on these
> type of 'style' guidelines.

I've never seen this question raised before.  Also, I presume variables
are faster than files.

--
Louis-ljl-{ Louis J. LaBash, Jr. }


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: "David B. van Balen" <[EMAIL PROTECTED]>
Subject: Vmware: booting os installed on raw disk under VM
Date: Thu, 24 Aug 2000 15:42:23 -0500


I'm currently running Windows off of a virtual disk under Vmware. Recently
I decided it would be nice if I could install Windows onto the raw disk
so that I could dual boot as well as running it in a VM.
After doing some research on vmware's web site, I found out that while
this is technically possible, a windows installation made from a virtual
machine probably won't be directly bootable... it doesn't, however, say 
why, which I found annoying.
I doubt that I'd be able to install windows (95/98, anyway) onto that
partition at this stage without wiping out my Linux install, so being able
to do the above would be very convenient for me.

My question: has anyone been able to do the above? i.e. install windows on
a raw disk using vmware and then boot it directly. If so, does anything
need to be done other than adding the windows partition to lilo?

TIA


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

From: "Pliev" <[EMAIL PROTECTED]>
Subject: Programming of continuous exchange on TCP/IP
Date: Fri, 25 Aug 2000 00:45:19 +0400

Programming of continuous exchange on TCP/IP

Do somebody can to send to me simple examples of programm on C,
client and server for exchange on TCP/IP, which (exchange) is continuous.
I want to realize the next algorithm:

Server  - socket                        Client
        - bind           - socket
       - listen                         - connect
  ----------------------------------------------------------------------
Then waiting "connect"  from client

After connect:

continuous loop:  server  - "send"
                  client  -  "read"
============================================================================
-

I attempted to use functions "accept-connect", but  I can't to call the
function
"connect" on loop, I may  to call this function may one time only.
But "accept" make "send" in reply "connect".  But "connect" I can't to call
on
loop. And I can't to make  continuous exchange client-server.
I think, there is need to use other algorithm, but I don't know how.
Give me, please,  one idea only, and little example.
Thanks! Dima.





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

Subject: incremental backup with cron
From: [EMAIL PROTECTED] (doug edmunds)
Date: 24 Aug 2000 14:02:15 PST

I want to set up a cron job that
copies only new files from directory 1 
into directory2. I don't want to copy 
every file every time.

How do I do this?
Thanks.

-- 
Doug Edmunds
Vancouver, Washington USA
edmunds::at::pacifier::dot::com

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

From: Matthew Landt <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.aix,comp.unix.misc,comp.unix.shell
Subject: Re: NEWBIE-Shell scripting - When to use script variable vs. create tmp 
Date: Thu, 24 Aug 2000 15:56:31 -0400

Ken Abrahamsen wrote:
> 
> When doing shell scripting and needing to manipulate (sed, grep, etc) file
> contents, what are generally accepted good shell programming practices
> determining when to assign the contents of a file to a shell variable versus
> creating a tmp file and using the tmp to do all the work in?
> 
> Avoiding tmp files means avoiding duplicate tmp file naming problems, and
> the cleanup of these tmp files but what type of problems would be created by
> using shell variables, especially if the contents of these shell variables
> were loaded from a 'large' file. If there are size thresholds (i.e., it's a
> bad idea to use a shell variable if the data is over xxxx kilobytes, but OK
> if under this), what do people find these thresholds to be? Any other
> pointers / recommendations would be appreciated.
> 
> I'm trying to do better scripting, but find no information on these type of
> 'style' guidelines.
> 
> Thanks for your comments!
> ken

The use of temp files is good to avoid.  You can get around the uniqueness a
by using $$ (the PID of the current shell) as part of the temp file's name.
But using a temp file, means doing disk I/O.  Memory access is hundreds if not
thousands of times faster than magnetic media.  If the data isn't huge, stick
it in a variable.  If it is huge, it is probably already in a file.  If not
(like a `find /` type command), avoid both variables and temp files and use
pipes.  If the data has to be accessed time and time again, and is large,
a temp file might be the way to go.  My general rule is to keep a variable
witin the arg limit (32K) or within some editors max line size limit (2048).

 - Matt
-- 
_______________________________________________________________________
Matthew Landt -  AIX and HACMP Cert. Specialist  - [EMAIL PROTECTED]
   << Comments, views, and opinions are mine alone, not IBM's. >>

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

From: David Dorward <[EMAIL PROTECTED]>
Subject: Re: shutdown command for a single user
Date: Thu, 24 Aug 2000 21:21:18 +0100

Josef Zellner wrote:
> 
> Hi all!
> How can I give a single user the rights to use the shutdown command?
> Thx

http://freshmeat.net/projects/sudo
-- 
David Dorward
http://www.dorward.co.uk/

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

From: [EMAIL PROTECTED] (Matthias Warkus)
Crossposted-To: alt.os.linux,comp.text.xml,comp.os.linux.setup,comp.os.linux.advocacy
Subject: Re: Linux, XML, and assalting Windows
Date: Thu, 24 Aug 2000 20:21:43 +0200
Reply-To: [EMAIL PROTECTED]

It was the 24 Aug 2000 10:43:56 -0600...
...and Craig Kelley <[EMAIL PROTECTED]> wrote:
> Take a look at MacOS X Bundles:
[schnipp] 
> Linux is halfway there already with RPM and deb; but the ultimate goal
> is to just get rid of them.

Uh-oh, I feel another flamewar coming up on NeXTish .app encapsulation
vs. the classic Unix way of spreading an application out over bin,
lib, share etc...

mawa
-- 
In real love you want the other person's good.  In romantic love you
want the other person.
                -- Margaret Anderson

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


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