Linux-Misc Digest #918, Volume #19 Wed, 21 Apr 99 08:13:10 EDT
Contents:
Re: free-agent (William Adderholdt)
Xconfiguration file (Siegfried Johannes Sengl)
Re: Opening RTF, HTML and DOC documents from C++ code (Mark Levis)
Re: Sound in Linux? (Michel)
Re: Access Problem ([EMAIL PROTECTED])
Problem printing on Intel Netport Express 100 ("Ray")
Problem compiling Imlib-1.9.4 (Tom Hall)
Re: What does it mean: Runlevel (Jon Haugsand)
Re: What does it mean: Runlevel (Jon Haugsand)
Re: What does it mean: Runlevel (Jon Haugsand)
Re: Yesterday's Date (Glen Turner)
Re: Is NT really 3.7 times faster than Linux ? ("Ming98")
Re: saving program state with core files (Maciej Golebiewski)
New Freeciv is out, but... ("Andy Piper")
rsync instead of mirror? (jackie chong)
Re: Process at 7% cpu usage? ("D. Vrabel")
backup : HDD or stramer (David Dubreu Stagiaire Info)
Re: How to create linux cd-rom from ftp sites (Janos Ero)
Re: problems w/ tar (gus)
Root FS + swap mounted from a DOS file... (Jim Howes)
Re: Problems getting APM to work with 2.2.5 ("Andre Malafaya Baptista")
Re: X Programming (Olaf Jahn)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (William Adderholdt)
Subject: Re: free-agent
Reply-To: [EMAIL PROTECTED]
Date: Wed, 21 Apr 1999 06:04:55 GMT
On Wed, 21 Apr 1999 07:19:54 +0200, celeborn <[EMAIL PROTECTED]> wrote:
> Hi,
> does everybody know a program to read news off-line like free agent
> under windows ?
There are a few.
Right now I use slrnpull to read news off-line. It comes with slrn, but my
distribution (Red Hat) doesn't include it with the binary RPM, so you may
have to dig up the sources and compile it yourself. It has the
disadvantage that you can only use it with slrn.
There is also leafnode, which sets up a mini-NNTP server that allows you
to use any newsreader you want. (I haven't managed to get it to work
perfectly with some newsreaders, though.)
Then there is suck, which, if I recall correctly, is sort of a proxy
between the remote NNTP server and a local one that you have to set up,
such as INN. This is obviously rather complicated.
Hope this helps.
William Adderholdt
--
To reply by e-mail, remove the garbage from my domain.
------------------------------
From: [EMAIL PROTECTED] (Siegfried Johannes Sengl)
Subject: Xconfiguration file
Date: 21 Apr 1999 05:56:39 GMT
Hopefully someone can help me with this. I have setup RedHat 5.2 on my
second drive a number of times. Whenever I go through the xwindow setup
however it is always trial and error before I get it right. It is ok
right now, but I was wondering where the file exists which this setup
creates, so that I can copy down the parameters that work, so that I can
reinstall it easier.
thankyou
sigi
--
Siegfried J. Sengl (sigi)
UCS Operations 5445
[EMAIL PROTECTED]
------------------------------
From: Mark Levis <[EMAIL PROTECTED]>
Crossposted-To: comp.lang.c++
Subject: Re: Opening RTF, HTML and DOC documents from C++ code
Date: Mon, 19 Apr 1999 17:14:50 -0400
Reply-To: [EMAIL PROTECTED]
try comp.sources.wanted this is off topic here
maybe www.wotsit.?
Miguel Ortu~o wrote:
>
> Hello Everybody
>
> I need a library or tool able to open RTF HTML and MS Word DOC
> documents, runing in a linux machine.
>
> This tool or libray must be called from my C++ software,
> for example via CORBA or something like that.
>
> Somebody knows any?
>
> Thanks,
> Miguel Ortu�o
------------------------------
From: Michel <[EMAIL PROTECTED]>
Subject: Re: Sound in Linux?
Date: 19 Apr 1999 21:34:20 -0500
This is a multi-part message in MIME format.
==============D8F2FFFC45709CB2368D50DF
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Ewan Dunbar wrote:
>
> On Tue, 6 Apr 1999, Michael O'Malley wrote:
>
> > Forgive if this is not the place to ask this question. I have run
> > Slackware and Red Hat for quite a while and actually never bothered to
> > get sound working. I recently bought the $1.95 Linux Mandrake disk from
> > Linux Central ... great deal BTW. It has KDE on the disk and was a
> > breeze to install. Problem is, despite selecting sound in the setup, I
> > am getting none. "ps" shows the sound process running but nothing is
> > coming out (wav, mp3, nothing...) KDE is so cool (and I think really
> > could open up the desktop for Linux) that I feel compelled to get sound
> > going too in this install.
>
> I don't know much about Mandrake Linux. But if it uses a 2.0 kernel,
> you'll need to recompile the kernel sound module (really, not as daunting
> a task as it might sound) to get the settings all right. If it uses a 2.2
> kernel, just edit your /etc/modules.conf (or conf.modules -- whatever
> RedHat calls it).
>
Not true, it is just that sndconfig screws up on certain cards and put garbage
in the conf.modules
Look at my previous conf.modules file, sound was working with this
You have to run the sndconfig program first and for the ESS1869 it gives an error
but who cares, fixing the conf.modules
I have since bought 4-Front driver which solve most of the sound problems.
Wait till you find out that sound is broken under kernel 2.2.x
--
use OS/2 for a crash proof work environment
use Linux for safe and quick internet access
use Winblows to test the latest viruses
http://www.netonecom.net/~bbcat/
We have software, food, music, news, search,
history, electronics and genealogy pages.
==============D8F2FFFC45709CB2368D50DF
Content-Type: text/plain; charset=us-ascii;
name="conf.modules.with.sound"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="conf.modules.with.sound"
alias sound sb
options sb io=0x220 irq=5 dma=1 dma16=-1 mpu_io=0x330
options opl3 io=0x388
alias ppp-compress-1 off
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 slhc
alias net-pf-3 off
alias net-pf-4 off
alias net-pf-5 off
==============D8F2FFFC45709CB2368D50DF==
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.help,comp.os.linux.networking,comp.os.linux.setup
Subject: Re: Access Problem
Date: Wed, 21 Apr 1999 05:40:48 GMT
In article <JaXS2.37988$[EMAIL PROTECTED]>,
"Ray" <[EMAIL PROTECTED]> wrote:
> I have a problem.
>
> I have to replace a NT - Server with a Linux Server. So far so god. My
> problems are the access rights.
>
> I use Samba 2.0.3 to share a Directory to NT - Clients
> I use SuSE Linux V6.0 with Kernel 2.0.36.
>
> How do i set the access rights correct?
>
> i have a share which 5 User have their data on.
>
> User A have to access all directorys
> User B only the first tho
> User C,D,E have access to the all but the first two directorys
>
> In my mind this must go so:
>
> I have 3 Groups
>
> Groups Users
> Secretary A, B
> Data1 C
> Data2 D,E
>
> If i want that User A can Access the Data1 and Data2 share, i have him to be
> in the Group Data1 and Data2, but if he is in that group, the Users C,D and
> E get Access to the Secretary Directory, which they don�t be allowed to.
>
> Is there a mistake in my Main Brain???????
>
> Don�t I know something?
> What is this sticky Bit?
>
> Hoping on Help...
>
> Regards
> The Ray
>
> Where i work http://www.ultrasonic.at
>
> Hi Ray,
All of what you need can be handled by the script 'smb.conf'. There should be
a samba HOW-TO in your docs directory that can explain what happens. There
are also plenty of comments in the file it'self that will give you a clue to
what the various directives do. The various file accesses in the samba
directories you have set are manipulated by this script file. A good
description of the access rights to files and directories is found in the man
page for 'chmod' (the command for changing rights)......the sticky bit is
referenced in that man page as well. Hope this helps Brent
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: "Ray" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.os.linux.networking,comp.os.linux.setup
Subject: Problem printing on Intel Netport Express 100
Date: Tue, 20 Apr 1999 13:52:07 GMT
Hi, Could anyone help me on this one:
If i go in the NT Network Browser on the Intel Netport i see 3 Printers, the
first is PR_LPT1, PR_LPT2, PR_COM1.
I made 3 entry�s in the PrintCap with remote printer on 193.100.100.120 and
the rp=PR_LPT1 and 2 and com1
But if i print, i get all documents on the PR_LPT1 Printer????
What i made wrong?
Regards
The Ray
Where i work http://www.ultrasonic.at
------------------------------
From: Tom Hall <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x
Subject: Problem compiling Imlib-1.9.4
Date: Wed, 21 Apr 1999 11:42:51 +0100
I'm trying to install gnome from source into the directory /opt/gnome
the procedure for this is described in the gnome FAQ at;
http://www.gnome.org/gnomefaq/html/x385.html
This all seems to work ok, so I then start compiling the packages by
doing
./configure --prefix=/opt/gnome
make
make install
ldconfig
for each package, and doing that in the order recommend in th egnome
FAQ. This all works fine till I get to gnome-libs, which give an error
claiming that imlib is not installed. Now when I ran Imlib it didn't
seem to give any errors, but its didn't take very long to run either...
After doing this I tried installing the whole lot into /usr, just to
check I wasn't doing something stupid, and that worked fine.
Anyone got any ideas, am I doing something stupid, anyone done this
successfully
Many thanks
--
tom
------------------------------
From: Jon Haugsand <[EMAIL PROTECTED]>
Subject: Re: What does it mean: Runlevel
Date: 21 Apr 1999 12:40:28 +0200
* Benjamin Hillman
> all works fine, but what does "Runlevel" mean ???
It tells you how complicated and how many system programs that are
started. The different runlevels may vary from distribution to
distribution. I guess that 0, 1 and 6 are the same on all Linuxes:
0 halt
1 single user mode
6 reboot
All the other are for normally running. On a RedHat system 3, is for
user level without X, and 5 is for user level with X. Runlevel 4 is
not used I guess, and 2, I don't know.
Try a 'man init' and look.
(If you are familiar with Win95 system you can imagine run levels
there too. All levels are single user modes of course, but you still
have DOS level, Secure level and Normal level.)
--
Jon Haugsand
Norwegian Computing Center, <http://www.nr.no/engelsk/>
<mailto:[EMAIL PROTECTED]> Pho: +47 22852608 / +47 22852500,
Fax: +47 22697660, Pb 114 Blindern, N-0314 OSLO, Norway
------------------------------
From: Jon Haugsand <[EMAIL PROTECTED]>
Subject: Re: What does it mean: Runlevel
Date: 21 Apr 1999 12:40:02 +0200
* Benjamin Hillman
> all works fine, but what does "Runlevel" mean ???
It tells you how complicated and how many system programs that are
started. The different runlevels may vary from distribution to
distribution. I guess that 0, 1 and 6 are the same on all Linuxes:
0 halt
1 single user mode
6 reboot
All the other are for normally running. On a RedHat system 3, is for
user level without X, and 5 is for user level with X. Runlevel 5 is
not used I guess, and 2, I don't know.
Try a 'man init' and look.
(If you are familiar with Win95 system you can imagine run levels
there too. All levels are single user modes of course, but you still
have DOS level, Secure level and Normal level.)
--
Jon Haugsand
Norwegian Computing Center, <http://www.nr.no/engelsk/>
<mailto:[EMAIL PROTECTED]> Pho: +47 22852608 / +47 22852500,
Fax: +47 22697660, Pb 114 Blindern, N-0314 OSLO, Norway
------------------------------
From: Jon Haugsand <[EMAIL PROTECTED]>
Subject: Re: What does it mean: Runlevel
Date: 21 Apr 1999 12:38:26 +0200
* Benjamin Hillman
> all works fine, but what does "Runlevel" mean ???
It tells you how complicated and how many system programs that are
started. The different runlevels may vary from distribution to
distribution. I guess that 0, 1 and 6 are the same on all Linuxes:
0 halt
1 single user mode
6 reboot
All the other are for normally running. On a RedHat system 3, is for
user level without X, and 5 is for user level with X. Runlevel 5 is
not used I guess, and 2, I don't know.
Try a 'man init' and look.
--
Jon Haugsand
Norwegian Computing Center, <http://www.nr.no/engelsk/>
<mailto:[EMAIL PROTECTED]> Pho: +47 22852608 / +47 22852500,
Fax: +47 22697660, Pb 114 Blindern, N-0314 OSLO, Norway
------------------------------
Date: Wed, 21 Apr 1999 18:46:54 +0930
From: Glen Turner <[EMAIL PROTECTED]>
Subject: Re: Yesterday's Date
> Is it possible to get yesterday's date on linux? Subtracting 1 from
> today's date is OK unless today is the 1st of the month.
Typing
info date
leads to
date -d '1 days ago'
------------------------------
From: "Ming98" <[EMAIL PROTECTED]>
Subject: Re: Is NT really 3.7 times faster than Linux ?
Date: Wed, 21 Apr 1999 10:47:12 +0100
The place to look is in the group comp.os.linux.advocacy
Gordon
Jim Hill wrote in message ...
>In <[EMAIL PROTECTED]>,
>Reyn EagleStorm <[EMAIL PROTECTED]> wrote:
>>Jacek Radajewski wrote:
>>>
>>> I quickly browsed this group, and didn't find any threads which talk
>>> about [the Mindcraft "benchmarks"]:
>>
>>no doubt during their test NT was indeed faster than linux. why?
>>
>>d) they didn't tweak linux, not even the basics.
>
>To the contrary; they took the out-of-the-box Red Hat binaries and
>recompiled them using options that are stated in the documentation to
>hamper performance. Negative tweaking is nonetheless tweaking.
>
>
>Jim
>--
>[EMAIL PROTECTED]
http://www.swcp.com/~jimhill/
>
> "People have grown used to thinking of computers as unreliable,
> and it doesn't have to be that way." -- Linus Torvalds
------------------------------
From: Maciej Golebiewski <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: saving program state with core files
Date: Wed, 21 Apr 1999 10:20:06 +0200
Markus Wandel wrote:
>
> In article <[EMAIL PROTECTED]>,
> dementen <[EMAIL PROTECTED]> wrote:
> >Hi,
> >
> >I want to be able to save the state of a program (like a game for
> >example) during its running and after to be able to load this state to
> >continue the process at another time.
[snip]
> I don't _believe_ this can work (I'd be happy to be refuted by someone who
> knows better.) Based on my understanding, a core file saves the memory image
> and register contents, but it does not save kernel data associated with the
> process. So open files, IPC structures, running timers, etc. cannot be
> preserved. This includes current audio driver settings (if open), connections
> to the X server (not even considering the data only the X server knows, like
> configuration of the windows etc.), network connections, as well as plain old
> disk files.
There is a software package called Condor for migrating Unix processes
between workstations. I have impression that they are doing this by
generating coredumps and then resuming on another machine from a core
dump. It should be good idea to see what they have done. On the other
hand I have impression that there are some restrictions on the programs
that can be migrated by Condor: even if they are able to restore
(on resume) the file descriptors properly, I don't think this will be
possible with e.g. sockets etc. So resuming from a core-dump should
work,
but only for some applications (e.g. number crunchers should be OK,
games probably not).
Regards,
Maciej
------------------------------
From: "Andy Piper" <[EMAIL PROTECTED]>
Subject: New Freeciv is out, but...
Date: Wed, 21 Apr 1999 11:28:23 +0100
Reply-To: "Andy Piper" <[EMAIL PROTECTED]>
Well, Freshmeat reports that Freeciv 1.8.0 has finally been released, but:
can anyone actually GET it?
I can't for the life of me get into either the website at
http://www.freeciv.org, or the ftp site at ftp://ftp.freeciv.org. I did,
eventually, manage to find an alternative to the main web site at
http://www.ultraviolet.org/freeciv/html_docs/, but that doesn't give me any
access to the ftp site so that I can download the file!
If anyone has a *reliable* mirror that they can point me at, I'd be very
grateful.
Cheers
Andy
--
Andy Piper
Technical Analyst, Middleware Development Group
phone: (01252) 528957 or (0780) 109 1431
e-mail: [EMAIL PROTECTED] or [EMAIL PROTECTED]
** speaking personally...
------------------------------
From: jackie chong <[EMAIL PROTECTED]>
Crossposted-To: comp.sys.sun.admin
Subject: rsync instead of mirror?
Date: Wed, 21 Apr 1999 16:13:31 +0900
hi,
I heard rsync 2.3.1(currently) is better than mirror 2.9 for some reason
and have been trying to configure rsync for this anonymous ftp server
that we are running.
I am curious if the remote server also needs to have rsynce installed in
order for me to mirror the site in the remote site.
Also, if you have successfully configured rynsc on solaris 2.6, some
tips on configration (rsyncd.conf) would be very resourceful.
Thank you for your time.
Jackie
------------------------------
From: "D. Vrabel" <[EMAIL PROTECTED]>
Subject: Re: Process at 7% cpu usage?
Date: Wed, 21 Apr 1999 11:29:49 +0100
On 20 Apr 1999, Globule wrote:
> Why my perl process would use 7% of the cpu when 90% is idle?
>
> This process waits for nothing, he have to build a list of words from
> text files. The only thing I see is that it takes up to 50% of RAM.
Waiting for file I/O doesn't count. ie. a process waiting for I/O to
finish uses none of the CPU.
David
--
David Vrabel
Engineering Undergraduate at University of Cambridge, UK.
------------------------------
From: David Dubreu Stagiaire Info <[EMAIL PROTECTED]>
Subject: backup : HDD or stramer
Date: Tue, 13 Apr 1999 14:35:59 +0200
I have to backup users's files (/hom). It must be done every day and
the archive will never reach 8 Go.
Should I do that with a streamer or with several hard drives with
the same copy of the archive on each of them (Raid1) ?
Indeed, if one local hard drive is out, users must find his previous
day's work in the worth case.
Could you suggest something to me ?
Thanks a lot
Dux
------------------------------
From: Janos Ero <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.setup,comp.os.linux.x
Subject: Re: How to create linux cd-rom from ftp sites
Date: Wed, 21 Apr 1999 12:37:49 +0200
CyberMaster wrote:
>
> Ftp into ftp.sunet.se/pub8/os/Linux/distributions/redhat.iso/ and
> download the redhat
> .iso to your hard drive. Make sure you don't use netscape or a html
> browser to d-load it for I have found it somehow messes up my files? Use
> and ftp prog. Took me bout 2 hours to d-load by dsl. (Almost 600 megs).
> Open Ezcd creator, click on new, highlight from iso image, and burn. I
> had no problem at all. Just inserted the cd afterwards and rebooted to
> the cd as it will boot for install if your bios supports it, and away
> you go! :-)
I did this process, but unsuccessfully: the start directory on the
CD seems to be incorrect. Unfortunately RedHat installation does not
allow to define another start directory on CD. Where it should be?
(Until I know this for sure I don't want to burn another CD :-))
Janos Ero
------------------------------
From: gus <[EMAIL PROTECTED]>
Subject: Re: problems w/ tar
Date: Wed, 21 Apr 1999 12:54:58 +0100
Yeah, yeah, yeah .... I see the errors in my ways ... ;-)
gus wrote:
>
[snip]
------------------------------
From: Jim Howes <[EMAIL PROTECTED]>
Subject: Root FS + swap mounted from a DOS file...
Date: Wed, 21 Apr 1999 12:16:44 +0100
Thinking aloud here.. Comments appreciated..
Using the loopback driver, you can mount a filesystem from a disk
file.
Ideally, I'd like to use it for the root filesystem. This is hard
because you'd have to have a filesystem mounted in order to see the
file to mount, so I started thinking...
How involved would it be to mount a partition from an initial RAM disk,
and mount a loopback filesystem using /dev/loop0?
Failing that, could I write a new init that runs the normal init
chroot'ed into a directory.
My plan here is to make a system that can install into a large
file on the user's FAT (or VFAT/FAT32) formatted hard disk, thus
saving all that dangerous mucking about with partition tables..
I'd have to load the kernel/initrd with loadlin.
I'd treat swap in pretty much the same way.
Anyone out there actually tried this?
Regards,
Jim
export
PATH=.:/bin:/usr/bin:/drawer:/desktop:/pocket:/boxincloset:/boxunderdesk
------------------------------
From: "Andre Malafaya Baptista" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.development.system,comp.os.linux.setup
Subject: Re: Problems getting APM to work with 2.2.5
Date: Wed, 21 Apr 1999 13:04:59 +0100
Dear Eric:
I was/am having the same problem.
I posted this same problem on one of this Linux-related newsgroups and a
reply popped up.
The author of the message was the responsible for the APM on Linux (Michael
Wagner, if I recall correctly). He said that that feature was missing on
2.2.x kernels because of lack of time before the 2.2.x release. If you
really want that feature you might take the risk and go on to the 2.3.x
kernels.
HTH,
Andr�
Eric <[EMAIL PROTECTED]> wrote in message
news:cvcT2.2199$[EMAIL PROTECTED]...
> I've recently tried upgrading to Kernel 2.2.5, but am running into a
couple
> of problems. I'm running RH5.0, with all the upgrades as per the 2.2
> changes doc.
>
>
> My is with the APM. I am upgrading from 2.0.32. I'm running
> this on a PII (ATX motherboard), but for some reason, the "poweroff on
> shutdown" feature doesn't work with 2.2.5. Under kernel 2.0.32, it would
> automatically poweroff my PC, but 2.2.5 just displays the "System halted"
> message. The system is running on an Asus P2B motherboard. Are there any
> special things I have to do to get 2.2.5 to auto-powerdown the system?
>
> I've installed the new syslogd and klog daemons, as well as the new
sysvinit
> toolkit (which has the new halt -p functionality, etc), but they don't
seem
> to make any differences.
>
> Does anyone know what I can check or do to get my PC to auto-power-off
upon
> a halt -p or a shutdown -h command?
>
> Thanks!
>
> Eric
> [EMAIL PROTECTED]
>
>
>
>
------------------------------
From: Olaf Jahn <[EMAIL PROTECTED]>
Subject: Re: X Programming
Date: 21 Apr 1999 14:04:39 +0200
[EMAIL PROTECTED] (David M. Cook) writes:
> On Tue, 20 Apr 1999 18:26:24 GMT, Steve D. Perkins <[EMAIL PROTECTED]> wrote:
>
> I suggest looking at Gtk (www.gtk.org) or Qt (www.troll.no).
Hello Steve,
Please be aware of the fact that there is almost no documentation for
GTK+, just a small tutorial. Very soon you have to look into the
source code (fortunately it's freely available), which in turn is
almost not documented at all. So if you like to program using GTK+ a
good knowledge of libX and the concepts of libXt is very helpful.
Qt and Motif (both are not freely available or -- in the case of Qt --
free only for private use) are *much* better documented.
Olaf
--
Olaf Jahn [EMAIL PROTECTED]
http://www.math.tu-berlin.de/~jahno
PGP public key available on request.
------------------------------
** 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
******************************