Linux-Misc Digest #865, Volume #26 Sat, 20 Jan 01 09:13:03 EST
Contents:
Re: what is the "daemon" in /etc/rc.d/init.d/* (Sean)
Re: pkgadd, pkginfo, ... (ozetechnology)
Re: Linux not free anymore? (Jean-David Beyer)
Re: what is the "daemon" in /etc/rc.d/init.d/* (Jean-David Beyer)
bad printing quality ([EMAIL PROTECTED])
Re: audio tape to mp3 (Uwe Malzahn)
Re: cups printing and staroffice (and gv) (Ralf Rinne)
Re: What - no WYSIWYG HTML editors?? (Michael Heiming)
XFree86 4.0.2 and gnome with no fonts ("Jason M. LaPenta")
CDROM "Appears Confused" ???... ("Meron Lavie")
Re: What - no WYSIWYG HTML editors?? ("Flacco")
Re: VMWare: Problem installing guest OS Win98 ("Sri Panyam")
Re: Linux on a 64MB flash disk (fledermaus)
Re: I need more info and here are some hints. Re: Linux not free anymore? (Jerry
Kreps)
Re: .forward & ntpd (separate q's) (David. E. Goble)
Re: The Future of Corel Linux (Jerry Kreps)
Re: What - no WYSIWYG HTML editors?? (Robert Heller)
----------------------------------------------------------------------------
From: Sean <[EMAIL PROTECTED]>
Subject: Re: what is the "daemon" in /etc/rc.d/init.d/*
Date: Sat, 20 Jan 2001 11:55:30 +0000
Hiya,
You will notice at the start of these scripts you will have the
following line at the start of the script
. /etc/init.d/functions
This basically imports a script which defines functions such as daemon
which can be used from the calling script.
If you look at that file and understand shell scripts you will see what
it does.
My shell scripting isn't upto much but what I can figure out, I think
the daemon function starts a program and does various other small things
such as checking if the program is already funning and printing a nice
message to the standard output etc.
Sean
Raymond Li wrote:
>
> Hello,
> When I try to setup or amend scripts in /etc/rc.d/init.d/ to let my
> program startup automatically, I found the scripts there often use
> "daemon foo". I tried to man the daemon, but found nothing. And it
> doesn't seem to be a command. What is it? Is it an alias?
>
> Thanks!
>
> Yours,
> Raymond
------------------------------
From: ozetechnology <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: pkgadd, pkginfo, ...
Date: Sat, 20 Jan 2001 11:57:22 GMT
Not seen this for anything other than solaris. If the apps use these command
they could be solaris binaries which will not work on your RH box anyway.
In article <[EMAIL PROTECTED]>,
Diether De Praetere <[EMAIL PROTECTED]> wrote:
> This is a multi-part message in MIME format.
> --------------FBB1DDF8AE879CF746B40F1F
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
>
> Hello,
>
> I've got a question realted to installing packages with pkgadd,
> pkginfo, etc... (no (s)rpm's)
>
> We have here shell scripts to install some in-house software and
> apparently they use pkgadd. But my Redhat doesn't have these commands
> available... I did some searches on the web, but they seem to be hard to
> find for linux.
>
> OK, I know Sol. supports this, but I need them on linux.
>
> Thx,
> Diether
> --------------FBB1DDF8AE879CF746B40F1F
> Content-Type: text/x-vcard; charset=us-ascii;
> name="diether.de_praetere.vcf"
> Content-Transfer-Encoding: 7bit
> Content-Description: Card for Diether De Praetere
> Content-Disposition: attachment;
> filename="diether.de_praetere.vcf"
>
> begin:vcard
> n:De Praetere;Diether
> tel;fax:++.32.3.2409989
> tel;work:++.32.3.2409445
> x-mozilla-html:FALSE
> org:<HTML><B>ALCATEL TELECOM</B><BR>NGN</HTML>
> adr:;;;Francis Wellesplein 1;2018 Antwerpen;Belgium;
> version:2.1
> email;internet:[EMAIL PROTECTED]
> x-mozilla-cpt:;-17984
> fn:Diether De Praetere
> end:vcard
>
> --------------FBB1DDF8AE879CF746B40F1F--
>
>
Sent via Deja.com
http://www.deja.com/
------------------------------
From: Jean-David Beyer <[EMAIL PROTECTED]>
Subject: Re: Linux not free anymore?
Date: Sat, 20 Jan 2001 07:10:04 -0500
Peter Mitchell wrote:
>
> Moving off-topic a bit..
>
> In England a few centuries back you had to pay rent (to the Crown) on
> all freehold properties. The point of a freehold was that it could be
> inherited or sold. (Land owned in some other ways could not be sold).
> There have been taxes on many things in the past - even windows (in
> buildings, not computers).
>
> The BIG question - what makes a tax fair?
I suppose a larger question would be: fair to whom? To the individual?
Or to society at large? In some cultures, the main tax is a wealth tax.
I do not know the rate, but it might be something like 1% of your total
wealth (irrespective of income). Thus those with the most pay the most
in taxes. For example, if you had wealth to the value of $1,000,000,
your tax would be $10,000/year. If you had no income or expenses, your
wealth the next year would be $990,000 and your tax that year would be
$9,900/year, etc.
Something like this obtains here in New Jersey and many other states,
but not to the extent of other places. You pay a wealth tax on real
estate. It is called a real-estate tax. In one town that I know of, you
also pay a tax on personal property, but they enforce it only when you
move out of the town. It is assessed on the value of your physical
possessions. We also pay an income tax and a sales tax and an end-use
tax here in New Jersey, and a tax on telephone service. We pay Federal
income tax, some of us pay Federal Excise tax, and on and on and on.
If the purpose of a tax is to ensure that the wealthy take care of the
less fortunate, there are many religions that consider this not only
fair, but your moral duty. Members of the capitalist religion, and
especially of the sect called Libertarian, consider that to be
completely unfair. Their view seems to be that, while they should be
allowed to use some of their wealth to take care of the unfortunate, it
should be solely at their own discression, and that if the unfortunate
suffer, that it is their own fault.
Since governments are considered the only agencies that can legitimately
employ the use of force, and this force, ultimately, is the only
mechanism by which taxes can be collected, taxes are often felt by the
taxpayer to be unfair, whatever the purpose. It feeling like stealing.
But not all feel that way if the taxes are paid disproportionately by
others and for things they favor.
--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ Registered Machine 73926.
/( )\ Shrewsbury, New Jersey
^^-^^ 6:55am up 4 days, 17:58, 2 users, load average: 2.12, 2.11, 1.98
------------------------------
From: Jean-David Beyer <[EMAIL PROTECTED]>
Subject: Re: what is the "daemon" in /etc/rc.d/init.d/*
Date: Sat, 20 Jan 2001 07:19:26 -0500
Raymond Li wrote:
>
> Hello,
> When I try to setup or amend scripts in /etc/rc.d/init.d/ to let my
> program startup automatically, I found the scripts there often use
> "daemon foo". I tried to man the daemon, but found nothing. And it
> doesn't seem to be a command. What is it? Is it an alias?
>
daemon, and many other functions, is defined in
/etc/rc.d/init.d/functions. These definitions are yanked into the
individual scripts by the line:
# Source function library.
. /etc/rc.d/init.d/functions
--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ Registered Machine 73926.
/( )\ Shrewsbury, New Jersey
^^-^^ 7:15am up 4 days, 18:18, 2 users, load average: 2.15, 2.13, 2.04
------------------------------
From: [EMAIL PROTECTED]
Subject: bad printing quality
Date: Sat, 20 Jan 2001 12:08:31 GMT
Hi,
I have a printing problem with Suse 7.0 distro. When I want to print a
picture, the generated postscript file is in a very bad quality. Very low
resolution and maybe 16 different colors, and this is not enough :-). The
printer resoltion is not the problem (I tried it with 720x720 as with
1440x720, nearly the same results). So my question is: where can I change the
quality of the generated postscript file? As far as I undestood the Linux
printing concept, the file is send to a2ps. There it will be converted to an
.ps file, then it is send to gs, to change it to the appropriate printer
language. After this, lpr sends it to the printer. Is this correct?
tia
-j
Sent via Deja.com
http://www.deja.com/
------------------------------
From: [EMAIL PROTECTED] (Uwe Malzahn)
Subject: Re: audio tape to mp3
Date: Sat, 20 Jan 2001 12:09:26 +0100
In article <[EMAIL PROTECTED]>,
Kae Verens <[EMAIL PROTECTED]> writes:
> Alessandro Magni wrote:
>> > How can I automagically recognize when one song ends and another begins? <
>> I know in the Win world there is some program able to do it, and in Linux???
>
> what's the windows one?
>
>
> I've been converting my vinyls to CD, and have been splitting the songs
> by hand...
>
Have a look at gramofile. It does the splitting and has several filters.
Cheers,
Uwe
------------------------------
Date: Sat, 20 Jan 2001 13:44:25 +0100
From: Ralf Rinne <[EMAIL PROTECTED]>
Subject: Re: cups printing and staroffice (and gv)
Gerald Pollack schrieb:
>
> I've installed CUPS printing (version 1.1.4) on my system, and now I can
> only print from some applications. My printer is a deskjet 842c,
> parrallel port, and it's installed in CUPS as 'lp'. Printing works fine
> from netscape, nedit, and scilab , and command-line printing of text files
> is fine ('lp file.name' and 'lpr file.name' both work).
> I can print from acroread (version 4.0), but not from gv (3.5.8), nor
> from StarOffice (5.2). For the latter, I've run spadmin as root, and
> set up the default printer as "Generic Printer in queue lp (/usr/bin/lp -d
> lp)" - I've also tried omitting the '-d lp', as well as lpr instead of lp.
> At present the only way I can get hardcopy from SO is to print to a file,
> convert that to pdf with ps2pdf, and then print from acroread - not very
> convenient!
>
> I'd be immensely grateful for any pointers on how to get this working.
>
> Thanks
hi gerald,
i don't know the applications 'gv' and 'staroffice' (shame on me), but
i've had several troubles with printing with cups...
maybe you should try the following print-command:
lp (or lpr) <your options> -oraw [-l]
this options cause the lp(r) not to filter the printjob, but send it
directly to the printer.
hope to help you
Ralf
------------------------------
Date: Sat, 20 Jan 2001 13:34:06 +0100
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: What - no WYSIWYG HTML editors??
Flacco wrote:
> I seem to have no luck finding a decent WYSIWYG HTML editor for Linux. In
> particular, it must be good with frames and tables (so Mozilla's out).
>
> Any recommendations?
>
> Thanks
Hello,
I don't want to offend you, but why not use something nice with all those
coloured <TAG> like webmaker, or do it like a
"real man" and create your HTML with vi, this way your HTML gets much more
clean and you learn about HTML.
There are only very few sites I saw made with WYSIWYG editor, that:
a.) where not totally bloated with those silly 1x1 invisible gifs
b.) where I couldn't see on the first view, which sw was used...
This NS-Crashicator thing has a somehow WYSIWYG HTML Editor, but the browser
itself can't even handle big tabels
right....:-(
Try http://www.htmlworks.com/ and have fun with Dr. GoudaechTeahmel if you
don't know him allready...
Good luck
Michael Heiming
------------------------------
From: "Jason M. LaPenta" <[EMAIL PROTECTED]>
Crossposted-To: de.alt.comp.gnome
Subject: XFree86 4.0.2 and gnome with no fonts
Date: Sat, 20 Jan 2001 08:14:15 -0600
Hello,
I just upgraded from XFree 86 4.0.0 to 4.0.2 and the fonts that GNome
uses for all the buttons and menus and stuff no longer appears. I.E. all
menus pop up with nothing. I did not have this problem with 4.0.0. In
reading the docs for X11 I saw that not all fonts are supported, in
particular on my system Type1 and Speedo fonts are not getting loaded.
Is there someway I can change the font that gnome is using so I can see
the menus. I tried to do this under the control panel for gnome theme
manager, but the custom font there didn't change the fonts I'm talking
about. Or better yet, anybody know a work-a-round for fixing the Xft so
I can load my Type1 and Speedo fonts?
Thanks
Jason
------------------------------
From: "Meron Lavie" <[EMAIL PROTECTED]>
Crossposted-To:
alt.os.linux,alt.uu.comp.os.linux.questions,aus.computers.linux,comp.os.linux,comp.os.linux.setup,thenet.support.linux
Subject: CDROM "Appears Confused" ???...
Date: Fri, 19 Jan 2001 18:18:40 +0200
I have instaled RH 7.0
Every once in a while, I start getting the following message on the console:
"hdd: cdrom_pc_intr: The drive appears confused (ireason = 0x 1)"
What is going on here???
--
Meron Lavie
[EMAIL PROTECTED]
NOTE: THERE ARE NO NUMBERS IN MY REAL EMAIL ADDRESS HOST NAME: ANTI-SPAM!
------------------------------
From: "Flacco" <[EMAIL PROTECTED]>
Subject: Re: What - no WYSIWYG HTML editors??
Date: Sat, 20 Jan 2001 08:12:05 -0500
> I don't want to offend you, but why not use something nice with all those
> coloured <TAG> like webmaker, or do it like a
> "real man" and create your HTML with vi, this way your HTML gets much more
> clean and you learn about HTML.
I appreciate the thought, but I'm looking for a Linux-based WYSIWYG HTML
editor.
Thanks.
------------------------------
From: "Sri Panyam" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.security,comp.os.linux.setup
Subject: Re: VMWare: Problem installing guest OS Win98
Date: Sun, 21 Jan 2001 00:47:47 +1100
Hi
I am not sure about this but i thought windows always "insisted" on
being on the first sector of your disk. at least when i tried to have it
the other way around, it didnt work for me.
Sri
Subba Rao <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
>
> I have been trying to install Win98 as a guest host on my Linux system.
> The partition I plan to use for Win98 is /dev/hda3. I have tried toggling
the
> partition id to FAT16, ext2 and FAT12.
>
> I am trying to install the Win98 on a virtual disk and not to a raw
partition.
>
> FATXX id
> ========
>
> (0)root@myhost:~# fdisk /dev/hda
>
> Command (m for help): p
>
> Disk /dev/hda: 255 heads, 63 sectors, 524 cylinders
> Units = cylinders of 16065 * 512 bytes
>
> Device Boot Start End Blocks Id System
> /dev/hda1 1 357 2867571 83 Linux native
> /dev/hda2 358 383 208845 82 Linux swap
> /dev/hda3 384 524 1132582+ 6 FAT16
>
> Command (m for help): q
>
> (0)root@myhost:~#
>
> At this point, when I try to poweron the virtual machine. I get the
following
> error message box
> -------------
> "Failed to open disk /windows98/win98.dsk. No such file or directory.
> Failed to configure ide0:0.
>
> The virtual machine cannot be powered on with an unconfigured disk."
> -------------
>
> When I do a listing of the /windows98 directory, I can see only these
files.
>
> (0)root@myhost:~# ls /windows98
> ./ ../ win98.cfg* win98.log*
>
> (0)root@myhost:~# mount
> /dev/hda3 on /windows98 type msdos (rw)
>
>
> EXT2 id
> ========
>
> Now, I have even toggled the partition ID to ext2.
>
> (0)root@myhost:~# fdisk /dev/hda
>
> Command (m for help): p
>
> Disk /dev/hda: 255 heads, 63 sectors, 524 cylinders
> Units = cylinders of 16065 * 512 bytes
>
> Device Boot Start End Blocks Id System
> /dev/hda1 1 357 2867571 83 Linux native
> /dev/hda2 358 383 208845 82 Linux swap
> /dev/hda3 384 524 1132582+ 6 Linux native
>
> Command (m for help): q
>
> If I do a mount command:
> /dev/hda3 on /windows98 type ext2 (rw)
>
> Now, I try to poweron the virtual machine, I get the following message,
>
> "Windows 98 has detected that drive C does not contain a valid FAT or
FAT32
> partition. There are several possible causes. ......"
>
> I have even tried to do a mkdosfs to the /dev/hda3 and that did not help.
>
> Currently, I have a NT 4 installed as a guest OS on a virtual disk in a
ext2
> partition. I am not successful in installing Win98.
>
> I don't know where I am missing a step. An outside opinion would help.
>
> Thank you in advance for any help.
>
> Subba Rao
> [EMAIL PROTECTED]
> http://pws.prserv.net/truemax/
------------------------------
From: fledermaus <[EMAIL PROTECTED]>
Date: 20 Jan 2001 08:47:15 EDT
Subject: Re: Linux on a 64MB flash disk
> BTW, just in case someone doesn't know, Flash has a limit to the amount of writes or
> erases it can do. If you use ext2fs, your flash will be useless in weeks. I have an
>Agenda
I agree, however, the version I am using also just loads and executes from RAM.
Just playing, to see and possibly find a way of using a flash disk as an
emergency boot. Any idea of the "LI" from LILO?
------------------------------
From: Jerry Kreps <[EMAIL PROTECTED]>
Subject: Re: I need more info and here are some hints. Re: Linux not free anymore?
Date: Sat, 20 Jan 2001 07:51:58 -0600
Reply-To: [EMAIL PROTECTED]
Flacco wrote:
>
> > > They decided the tax to be based on the Windows NT Server ( around
> 1000$) price.
> > > I think that Linux community should react. Polish tax officces should
be
> > > internationally accused.
> > > Rafael
> >
> > Yes, I've heard of it.
> >
> > The idea of the "bright" Polish tax office is to tax, not by its price
> > but for its value.
>
> I had an e-mail exchange with someone in the Ukraine about their utterly
> insane tax policies. I think some of the former Soviet-bloc countries
> simply don't have a clue.
>
> Also, taxes, or enforcement of tax collection, is used as a political
weapon in some of these places.
>
> < ... blessing #4593, blessing #4594, blessing #4595,... >
They adhere to Socialist political principals, which is probably why these
countries remain 'third world', economically, after 10 years of freedom
from USSR domination. Leaders who continue to use discredited socialist
economic theories also explains why California is facing energy
shortages and is rapidly becoming a 'third world' state.
--
Scientific theories, according to Sir Karl Popper, can be "falsified," or
proven wrong, by experiment. Unscientific theories -Marxist dialectical
history and Freudian psychology were Popper's favorites- are formed in such
a way that they cannot be falsified by data.
------------------------------
From: goble@gtech (David. E. Goble)
Subject: Re: .forward & ntpd (separate q's)
Date: Sat, 20 Jan 2001 01:59:34 GMT
Reply-To: goble@gtech
On Wed, 17 Jan 2001 16:54:24 -0500, MC <[EMAIL PROTECTED]> wrote:
>
>##### starting ntpd #####
>
>where would i put ntpd to have it start on boot?
>
Hi mc;
Iam no expert and this is from memory.
You need to use ln to create a link from /sbin/ntpd to
/etc/rc.d/rc#.d/S#ntpd
Where # is a user selected number.
Or you could edit you inet or something like that. However I found it
easier to do the first.
No doubt some one will correct/fill in the gaps :>
------------------------------
From: Jerry Kreps <[EMAIL PROTECTED]>
Subject: Re: The Future of Corel Linux
Date: Sat, 20 Jan 2001 08:03:15 -0600
Reply-To: [EMAIL PROTECTED]
John Hasler wrote:
> cbbrowne writes:
> > At some point, it's liable to be simpler to do a reinstall than an
> > upgrade, when the set of things that break and need to be remedied get
> > extensive enough.
>
> I've been upgrading since Debian 1.1 and see no sign of anything breaking.
> Debian upgrades work.
I've been running Linux since May of 1997. I started with RH 5.0, ugraded
to 5.1, then quickly to 5.2 before switching in Sept of that year to SuSE
5.3. I have sampled RH several times since I left it and find it gets
worse and worse. I also tried Mandrake but noticed that, like RH, it has
begun to be driven by its marketing department and the quality has begun
to deteriorate. Unfortunately, SuSE is showing signs of moving down
the same trail. Too bad. It was SuSE quality that attracted me and it
will be SuSE's adherance to quality that keeps me. For a long time I have
considered FBDS, Debian and SuSE to be the finest distros on the planet.
If the next SuSE upgrade is not in line with the quality I have come to
expect then I shall be moving to Debian.
Market Droids think glitz sells and quality doesn't matter. That is
"M$-Think".
JLK
--
Scientific theories, according to Sir Karl Popper, can be "falsified," orp
roven wrong, by experiment. Unscientific theories -Marxist dialectical
history and Freudian psychology were Popper's favorites - are formed in
such a way that they cannot be falsified by data.
------------------------------
From: Robert Heller <[EMAIL PROTECTED]>
Subject: Re: What - no WYSIWYG HTML editors??
Date: 20 Jan 2001 08:05:15 -0600
"Flacco" <[EMAIL PROTECTED]>,
In a message on Sat, 20 Jan 2001 04:58:56 -0500, wrote :
"> I seem to have no luck finding a decent WYSIWYG HTML editor for Linux. In
"> particular, it must be good with frames and tables (so Mozilla's out).
">
"> Any recommendations?
">
"> Thanks
In a certain sense the very *idea* of a WYSIWYG HTML editor is strange.
HTML is *specificly* designed to NOT be WYSIWYG. HTML is in fact an
anti-WYSIWYG language. All of my experience with pages created with
'WYSIWYG HTML editors' (all from a random web-surfer point of view) have
been really bad. The pages are generally ugly, hard to read, slow to
load, and full of other strange problems, up to and including randomly
crashing Netscape (even more than Netscape's normally random crashing).
These pages generally had really bad fonts, often too small and when I
jacked up my base font size all sorts of other problems happened, mostly
because there where hardwired table sizes where things no longer fit.
In other words, What *you* see is NOT what I see. WYSIWYG web pages (to
me) look silly, *worse* than amateur, and generally are un-readable (to
me). You don't really want to do this.
You would be *far* better off getting a copy of Laura Lemay's "Teach
Yourself Web Publishing with HTML" book and use a good NOT-WYSIWYG HTML
editor. TkHTML is a good one and I believe GNU Emacs has a HTML mode
with syntax highlighting.
">
">
">
">
--
\/
Robert Heller ||InterNet: [EMAIL PROTECTED]
http://vis-www.cs.umass.edu/~heller || [EMAIL PROTECTED]
http://www.deepsoft.com /\FidoNet: 1:321/153
______________________________________________________________________________
Posted Via Binaries.net = SPEED+RETENTION+COMPLETION = http://www.binaries.net
------------------------------
** 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 by posting to comp.os.linux.misc.
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
******************************