Linux-Misc Digest #410, Volume #18               Wed, 30 Dec 98 16:13:12 EST

Contents:
  Re: Deleting /var/log/messages... ([EMAIL PROTECTED])
  Re: X-Window, Motif, Window Manager (Gary Momarison)
  Re: Printing Questions ("J. S. Jensen")
  Re: Help with kernel compilation for SMP (Christopher Mahmood)
  Re: How to make something siud root? (Christopher Mahmood)
  Re: Use for a 386SX box.. (Gary Momarison)
  Re: Anti-Linux FUD (Evan Carew)
  Re: PATH not working! (Norman Elliott)
  Re: Linux and BeOS on one hard drive?? (Kerry Saylor)
  Re: hylafax and print to fax (Frank McKenney)
  Re: SMP Question (Jim Shaffer, Jr.)
  Re: Anti-Linux FUD (Evan Carew)
  Using Linux for business? (Reid Goldsborough)
  Re: Trouble with talk. (Christopher Mahmood)
  Netscape NewsReading from Win95 or Linux? (burk)
  Re: PATH not working! ("Julien Mills")
  Re: Iomega ZIP & Red Hat 5.1 (Leonard Evens)
  Re: glibc 2.0.108 breaks "make menuconfig" (Bruno Barberi Gnecco)
  Re: Library questions! (Christopher Mahmood)
  Re: Ghost / Drive Image functionality under Linux (Stephen R. Savitzky)

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

From: [EMAIL PROTECTED]
Subject: Re: Deleting /var/log/messages...
Date: Wed, 30 Dec 1998 17:53:42 GMT


> I made the mistake of rm ing the thing once.  Not pretty.  Fortunatly
> there was a Unix guru handy to help me out.  He told me the proper way
> was to truncate the file to zero length.  Now if I just knew how to do
> that...
>

Pardon my ignorance, but why is it a bad idea to simply rm
the file?  I do it all the time on my slackware box, and
have never had any problems.  What distro do you use, and
what were the problems associated with rm'ing the log
file?

Thanks...


============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

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

From: Gary Momarison <[EMAIL PROTECTED]>
Subject: Re: X-Window, Motif, Window Manager
Date: 30 Dec 1998 11:11:23 -0800

"S=E9rgio Vale e Pace" <[EMAIL PROTECTED]> writes:

> I'm with a question (newbee probably) about the relation and function of
> the X; motif, gnome, etc; and the windows managers, where one ends and
> the other starts, somekind of an overview of an X system structure.

There are links to X introductions in Gary's Encyclopedia at

http://www.aa.net/~swear/pedia/x.html

In brief, X is a set of very low-level subroutine libraries that
handle screen drawing and client-server communication, etc.
There's a slightly higher level of libraries (eg xlib) I'm
not sure about (probably simple window drawing, sizing, etc.).
Higher yet is Motif, gtk+, Qt, etc, that handle complicated things
like menus, radio buttons, sliders, etc. Then there's gnome,
kde, fvwm, etc, that are libraries and/or programs that do things
like putting borders around windows, putting up a toolbar and
desktop icons, etc.


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

From: "J. S. Jensen" <[EMAIL PROTECTED]>
Subject: Re: Printing Questions
Date: Wed, 30 Dec 1998 10:56:47 -0700

Michael Powe wrote:

> lp|PostScript|DJet|HPDeskJet694C:\
> :lp=/dev/lp1:sd=/var/spool/lpd/lp1:\
> #:if=/usr/local/bin/dj550c-filter:
> I thought that the # in front of the last line would comment it out.

It should, however, you have put a `\' at the end of the line which means it
will continue looking for futher lines.  What is probably happening is that
`if' is defined further along in your printcap file and the lp queue is picking
it up.  Take the \ off the line and see if it still runs the filter.

--
J. S. Jensen
mailto:[EMAIL PROTECTED]
http://www.paramin.com



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

From: Christopher Mahmood <[EMAIL PROTECTED]>
Subject: Re: Help with kernel compilation for SMP
Date: Wed, 30 Dec 1998 11:45:06 -0800
Reply-To: [EMAIL PROTECTED]

if your kernel works otherwise, there's really nothing to do to enable
smp other than uncommenting the 'SMP=1' line in the top-level makefile
(/usr/src/linux/Makefile) and enable real-time clock support (it's one
of the last options in the config).  yes, you need to remake the
modules and install them as well as run 'depmod -a'.  not too hard, is
it?
-ckm

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

From: Christopher Mahmood <[EMAIL PROTECTED]>
Crossposted-To: pl.comp.os.linux
Subject: Re: How to make something siud root?
Date: Wed, 30 Dec 1998 11:48:44 -0800
Reply-To: [EMAIL PROTECTED]

well, the 'u' is there by default.
-ckm

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

From: Gary Momarison <[EMAIL PROTECTED]>
Subject: Re: Use for a 386SX box..
Date: 30 Dec 1998 11:45:47 -0800

ishwar rattan <[EMAIL PROTECTED]> writes:

> Hello,
>  
> Just got a 386SX (14 Mb RAM) machine. Can it be used fruitfully?
>  
> Wish list is:
>       - ppp/telnet/ftp from home to ISP/School?

Sure. For all of that. Most would find X11 too slow on it.

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

From: Evan Carew <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.x,uk.comp.os.linux
Subject: Re: Anti-Linux FUD
Date: Wed, 30 Dec 1998 19:45:17 +0000

Martin,

Actually RPM does support gzip'ed tar balls. A good book to get is "Maximum
RPM" (I forget the publisher) that explains how to use RPM internal
scripting language. It looks like you have done some M$ programming in the
past, so you will be familiar with Install Shield. This product has a
"language" associated with it that allows logical decision making
capability when putting together a roll-up. RPM has a similar system and
having used both, I would say that they are comparable products. "Maximum
RPM" can be found at your local Border Book Store or at Amazon.com.
Whichever GUI you choose to use with this product is of course your
personal preference.

> Neither support tar.gzipped files, which was what at least I was
> discussing. Besides, glint is pretty awful in my humble opinion.
>
> M.




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

From: Norman Elliott <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: PATH not working!
Date: Wed, 30 Dec 1998 19:46:58 +0000

Steve,
I use Slackware and so do not recognise  rc.sysinit. I am guessing that it is
Redhat or Debian file.
You need to look at the files used at boot time. One of them will be setting the
path you mention.
Work your way through the files which are run after that. I expect you will then
find the one which is causing the problem.
Find out the path you are now getting and just add on the ones you originally had.

HTH
Norm

[EMAIL PROTECTED] wrote:

> Ok everyone,
>
> I have a weird problem. For whatever reason, the PATH that is listed in the
> rc.sysinit is not working! It was working for a long time, and then one day,
> all of a sudden it didn't work. I am not sure what I did to the system because
> I installed a bunch of software. Anyway, this is what SHOULD be listed as a
> Path:
> # Set the path
> PATH=/bin:/sbin:/usr/bin:/usr/sbin:/scripts
> export PATH
>
> If I type this in manually in bash, it seems to work, but not automatically
> like it used to. i assume this is because it is being changed somehwere else
> in the startup, but where? How can I check?
>
> I am somehwat new to this (used to having just one autoexec in DOS), so i need
> some help.
>
> - Steve
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own


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

From: Kerry Saylor <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.sys.be.help,comp.sys.be.misc
Subject: Re: Linux and BeOS on one hard drive??
Date: Wed, 30 Dec 1998 11:26:36 -0500

I've got, not only Linux and BeOS R4 on the same system, but also have
Win98 and BeOS 3.2 as well!  All 4 operating systems seem to be getting
along quite nicely!

I don't understand what all your problems are!?  I had Win98 installed
initially with the box.  Then, I installed BeOS in some freespace on my
existing drive.  Bought a new WD 6.4 gig drive and installed another Win
FAT32 partition (~3 GB), a Linux Native (~2 GB), a Linux Swap (128 MB),
and BeOS R4 partition (~1 GB).  It was quite simple!

I created the R4 partition with Linux's fdisk and set the type to 
"eb UNKNOWN".  Began the installation of R4, initialized the partition
and away I went!  

Now problems at all!!

- Kerry


Nicholas Leippe wrote:
> 
> Dave Feldman wrote:
> 
> > Hey everyone,
> >         I have a problem here concerning hard drives with BFS (Be File
> > System) partitions.  I have Win98 and BeOS installed on my first IDE
> > drive.  Then I was going to reinstall linux on two logical partition (one
> > for the swap disk, other for the root directory).  Then, as I have done
> > before, I was going to put the /usr directory on a logical parition on my
> > SCSI drive.  I'm trying to install RedHat 5.1 which I've done several
> > times before no problem.  Only this time, when I get into fdisk, upon
> > starting up the redhat installation from the boot floppy, it says my
> > partition table is screwed... it reports the /hda1 partition fine (the
> > win98, then it starts getting crazy with the BeOS partition, and then it
> > just goes nuts with the 228 megs of free space in the extended partition
> > of that drive reporting it starting on block 230984098398 and ending 7
> > billion blocks later, etc...  I suppose I can get the exact printout of
> > that screen if necessary.  Only thing is, I need to be able to initialize
> > a linux (ext2) and linux swap partition on that drive, but I don't know
> > if that's possible with the current fdisk.  Is there a newer one out
> > there that recognizes BFS, or even some hack to let me do this?  Two
> > operating systems just aren't enough for one person...  Or rather, one
> > and a half considering win98 is a piece of shit.  Thanks in advance.
> >
> > Sincerely,
> > Dave Feldman
> > [EMAIL PROTECTED]
> 
> Hello,
>     How big is your hard drive?  The reason I ask is that I just got an
> 8.4Gb and put win98 and Linux on it, with some difficulty.  In my case,
> because DOS is so stupid and only sees the 1024 cylinders that the bios
> could report- and then chose of all things 240 heads to do the remapping of
> the CHS parameters (255 would have spared me a lot of grief over the last
> 410Mb) - I had to explicitly tell Linux fdisk 240 heads so they'd agree on
> the partition boundaries.  I then had to tell Linux fdisk 1085 cylinders -
> and even though fdisk was even a little fidgety with it, (It seems as though
> fdisk also reports what the bios says - but works according to the kernel's
> capacity) I got it all partitioned - even the last 410MB that DOS would have
> liked to pretend didn't exist.  I remember that in this process I got some
> really screwy reports from fdisk a time or two, kind of like what you
> mentioned.
>     Don't know if this is anywhere in the ballpark of your situation - but
> one never knows...
> 
> Nick
> 
> nick(@)byu.edu
> http://www2.et.byu.edu/~leippen/

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

From: [EMAIL PROTECTED] (Frank McKenney)
Subject: Re: hylafax and print to fax
Date: 30 Dec 1998 17:33:00 GMT
Reply-To: [EMAIL PROTECTED]

In <76bi6a$j45$[EMAIL PROTECTED]>, [EMAIL PROTECTED] (John Meissen) writes:
>
>In article <[EMAIL PROTECTED]>, Patrick O'Neil 
><[EMAIL PROTECTED]> writes:
--snip--
>>How do you fax a file anyway?  What would the result of faxing a 
>>staroffice file to someone be?  A bunch of ascii garbage, I would think, 
>>and it could well run to MANY pages with the formatting information 
>>also being included, making the result unintelligable.
--snip--
>Fax machines send pictures. Period. You technically don't fax a file.
>A receiving fax machine takes an incoming stream of dots, represented
>by bits, and puts them on a paper. That's all it does. The sending
>machine usually has an integrated scanner that takes a picture and
>scans it, converting it into rows of little, tiny dots, and sends the
>dots to the other side.
>
>If you throw a computer on the receiving side it can take the dots and
>save them as an image file. If you have intelligent software and a really
>good image you might be able to examine the picture and try to turn it
>back into text, and save that as a document file. That doesn't mean the
>transaction fax'ed a file.

Diverging slightly from the original question, it _is_ possible to "FAX"
a file (in the sense referred to above) from one computer to another.
Back when 9600 baud dedicated internal FAX-Modems were popular, at least
one supplier provided software for this purpose.

The key is that, to a computer transmitting FAX protocol, "bits is bits"
and the content is irrelevant.  A set of bits representing an image, a
set of bits representing a length attribute and an executable file,
whatever.  And if the receiving computer is "told" how to extract a
binary file from a "received FAX file", it can do so.

If one's data modem is 2400 Baud, this is great (even given the
possibility of transmission errors (;-).  OTOH, if you have an
error-checked-and-corrected TCP/IP link at 9600 Baud or better, it's
probably not worth doing.

As always, it's a question of available alternatives in a given
situation.  Tin cans and a string, anyone?  (;-).


Frank McKenney, McKenney Associates / OS2BBS OS/2 Advisor          
Richmond, Virginia   (804) 320-4887
Internet: [EMAIL PROTECTED] / TalkLink: WZ01123        


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

From: [EMAIL PROTECTED] (Jim Shaffer, Jr.)
Subject: Re: SMP Question
Date: Wed, 30 Dec 1998 19:52:32 GMT
Reply-To: [EMAIL PROTECTED]

On Wed, 30 Dec 1998 03:42:57 GMT, [EMAIL PROTECTED] (Bill) wrote:

> It was pointed out in a SMP FAQ that you have to uncomment the SMP=1 line of 
>the /usr/src/linux/Makefile. That seemed simple enough, except I don't have a 
>/Makefile in that directory. I haven't found Makefile anywhere yet.

Install the kernel source.

Edit the Makefile.

Compile the kernel.

-- 
"Withdraw in disgust is not the same thing as apathy."  --R.E.M.

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

From: Evan Carew <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.advocacy,comp.os.linux.x,uk.comp.os.linux
Subject: Re: Anti-Linux FUD
Date: Wed, 30 Dec 1998 19:56:48 +0000

Victor Danilchenko wrote:

It might be a small point to you, however, It has been a huge point to the networked
community for quite some time. The source of the problem is that it is always cheaper 
to
share networked resources than to duplicate them on each user's node. In any large 
network
I'm aware of, any time the server goes down, the user is down, even if we are only 
talking
M$ products.

The question should be "How can we hide server outages from the user?" instead of 
"What is
still working after the server dies?" . I don't know about your LAN, but If my servers
were ever unreachable, my users would not be able to print, share files, or use
application servers. Given those shortcommings, editing a local spreadsheet seems like 
a
waste of time.

Remember, the network is the computer.

>         <sigh> Dude, reliability of your environment won't mean diddly squat
> when the switch dies... What you will then need is ability to operate
> without the network, until the switch is replaced.
>
>         Anyway, this is all totally besides the point.




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

From: [EMAIL PROTECTED] (Reid Goldsborough)
Crossposted-To: alt.os.linux
Subject: Using Linux for business?
Date: Wed, 30 Dec 1998 16:32:48 GMT

I'm writing an article on Linux, focusing on how people are using it
in general business settings (not university or ISP settings). More
people should know about this.

Anybody here (from the U.S. or Canada) running Linux and products such
as Corel WordPerfect 8 in  an office setting and want to share your
experiences?

All that would be involved is a ten-minute phone call. If you're
interested, please leave me email with your phone number, where you
are, and a good time for me to phone.

My deadline is Monday, January 4. Thanks.

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

From: Christopher Mahmood <[EMAIL PROTECTED]>
Subject: Re: Trouble with talk.
Date: Wed, 30 Dec 1998 12:00:44 -0800
Reply-To: [EMAIL PROTECTED]

the users probably have mesg set to 'n'...tell them to add 'mesg y' to
their approp. login file.  Also, the other machine may have talk
disabled (very common, at least on campuses.)
-ckm

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

From: burk <[EMAIL PROTECTED]>
Subject: Netscape NewsReading from Win95 or Linux?
Date: Wed, 30 Dec 1998 11:41:52 -0500

Hi folks,

I have a dual booting (Win95/Redhat 5.2) box.
I use Netscape 4.5 to read news from the Win95 side, but I'd like to
able to read news from both linux as well (without loosing track of read
messages). I can use slrn to do this, but I prefer NS for news reading.
Anybody have any ideas of how to go about this?

Thanks for your help,
 -Chuck 
-- 
[EMAIL PROTECTED] -  No Spam Please! - http://www.pobox.com/~burk
My Linux File Manager Page: http://www.pobox.com/~burk/LinuxFile.html

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

From: "Julien Mills" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: PATH not working!
Date: Wed, 30 Dec 1998 15:26:39 -0500

Steve,

I'm not sure what a rc.sysint is, but on normal UNIX systems, your path
is set by /etc/profile.  Then it can be altered by the .profile in your home
directory, which would be for things specific for a particular user.  And
then, of course, you can alter it at a command prompt.
Look in these two places.

Julien

[EMAIL PROTECTED] wrote in message <76dtru$60b$[EMAIL PROTECTED]>...
>Ok everyone,
>
>I have a weird problem. For whatever reason, the PATH that is listed in the
>rc.sysinit is not working! It was working for a long time, and then one
day,
>all of a sudden it didn't work. I am not sure what I did to the system
because
>I installed a bunch of software. Anyway, this is what SHOULD be listed as a
>Path:
># Set the path
>PATH=/bin:/sbin:/usr/bin:/usr/sbin:/scripts
>export PATH
>
>If I type this in manually in bash, it seems to work, but not automatically
>like it used to. i assume this is because it is being changed somehwere
else
>in the startup, but where? How can I check?
>
>I am somehwat new to this (used to having just one autoexec in DOS), so i
need
>some help.
>
>- Steve
>
>-----------== Posted via Deja News, The Discussion Network ==----------
>http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own



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

From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: Iomega ZIP & Red Hat 5.1
Date: Wed, 30 Dec 1998 11:32:47 -0600

Teo Chun Lip wrote:

> I had a parallel port ZIP attach to lpt1 of the printer port.
>
> I do not know how to install or get Red Hat 5.1 to recognise it.
>
> Mounting /dev/lp1 is not possible as it said lp1 is not a block device.
>
> In Redhat 5.1 I access the installation floppy of Iomega
>
> but the only file/dir is lost+found;
> What does it mean? lost+found
>
> Hope somebody can guide me to install this ZIP drive
> because I read some where that ZIP can be used in Linux
>
> What is it file system?
>
> Thank you for any reply and suggestion.
> Will appreciate if you could e-mail me straight

You have already got one response which goes into great detail about how
to
do it.   But if you want to save yourself a lot of time and trouble,  get
a SCSI
adapater and a SCSI zip disk.   It is much easier to set up under Linux.

--

Leonard Evens      [EMAIL PROTECTED]      847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208




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

From: Bruno Barberi Gnecco <[EMAIL PROTECTED]>
Crossposted-To: comps.os.linux.development.system
Subject: Re: glibc 2.0.108 breaks "make menuconfig"
Date: 30 Dec 1998 11:56:05 -0600
Reply-To: [EMAIL PROTECTED]

[EMAIL PROTECTED] wrote:
> 
> Hi,
> 
> After upgrading to glibc 2.0.108, I noticed that
> doing "make menuconfig" in the kernel source tree
> doesn't work anymore. It works fine with glibc 2.0.7.

        Probably is because some incompatibility with ncurses. Try to 
recompile ncurses with the new glibc.

-- 
Did you *REALLY* check that interface between the chair and the keyboard?
Bruno Barberi Gnecco <[EMAIL PROTECTED]> ICQ #1383173 - PGP 5.0i user 
[I'm running Linux] -=-=- Electric Engineering at Politechnic School, USP
Check my homepage at http://graphx.home.ml.org * C, 3D graphics, and more

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

From: Christopher Mahmood <[EMAIL PROTECTED]>
Subject: Re: Library questions!
Date: Wed, 30 Dec 1998 12:55:36 -0800
Reply-To: [EMAIL PROTECTED]

Merzinger Markus wrote:

> 
> 1) What is a good indice that the error-msg on my screen is because of a
> wrong library?
none specifically AFAIK.  If you use a package manager (such as rpm or
the
debian one) you'll get complaints when trying to install a package. 
otherwise, bus errors and core dumps.  anything you install should
list what libraries it requires in a README.

> 
> 2) Has "ld.so.conf + ldconfig" the same effect as setting
> LD_LIBRARY_PATH ( some problems I really solved only this way)
yes, it should.

> 
> 3) What�s the diffrence between libc5 and libc6. And is "libc6" only a
> certain  name for "libc 2.0.7"
the only big difference i know of (i'm not a c guy) is that glibc is
thread-safe.

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

From: [EMAIL PROTECTED] (Stephen R. Savitzky)
Subject: Re: Ghost / Drive Image functionality under Linux
Date: 30 Dec 1998 11:10:25 -0800

Antonio Milillo <[EMAIL PROTECTED]> writes:

> How can I make copies of whole partitions (of any OS, ie bit for bit),
> and then restore them? I believe that dd will read from files, but I
> don't know how to read an entire partition.

dd can read and write raw devices, too.  The catch is that if you change
the partition's size, or the drive's geometry, your restored partition
will probably be completely useless.  They _will_ work for mirroring,
i.e. copying the entire contents of a drive onto another, _identical_
drive.  Just use "dd if=hda of=hdb" (for example).

For Linux partitions, the preferred backup techniques are dump/restore,
tar, or cpio.  These save only the data (not the free space) and so are
significantly more efficient.  They also defragment if you restore to a
clean partition, and work even if the destination partition is a
different size from the source.

> The DOS programs Ghost and Drive Image give you this functionality.

They probably have special hacks for dealing with DOS partitions (e.g. 
re-sizing and so on).  

The best thing would be to use a DOS program for DOS partitions, and a
Linux program for Linux partitions, unless your only goal is to churn
out identical copies of a preconfigured drive. 

-- 
 /   Steve Savitzky   \ 1997 Pegasus Award winner: best science song--+  \
/ <[EMAIL PROTECTED]> \     http://www.starport.com/people/steve/    V   \
\  hacker/songwriter:   \   http://www.starport.com/people/steve/Doc/Songs/
 \_ Kids' page: MOVED ---> http://www.starport.com/places/forKids/ ______/

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


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