Linux-Misc Digest #817, Volume #23 Sat, 11 Mar 00 22:13:02 EST
Contents:
Re: No sound with KDE desktop (Ron Gibson)
Re: Netscape Bookmarks in Linux and Windows????? (Arjan Drieman)
OSS lpd for windows or( how to filter print jobs thru windows drivers) (Chetan Ahuja)
Re: Tyan S1837UANG Thunderbolt (LhD Administrator)
Re: Suggestions for SMP motherboard... (GarbMan)
Re: Do you hate vi? vi or vim? Deathmatch! (Ralf Arens)
Netscape can't find libXt.so.6 (Brent McMillan)
Re: Looking for code/libraries to interpret HTML (glen vajcner)
Redirection in bash... (John Doe)
Re: Looking for code/libraries to interpret HTML ("Douglas Moyes")
QSeeMe ?? (Rick)
Re: Redirection in bash... (Paul Kimoto)
Re: Netscape can't find libXt.so.6 (Paul Kimoto)
Isn't ldconfig supposed to ... (Andrew Purugganan)
Re: Netscape Bookmarks in Linux and Windows????? ("Matt O'Toole")
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Ron Gibson)
Crossposted-To: comp.os.linux.setup
Subject: Re: No sound with KDE desktop
Date: 12 Mar 2000 00:17:21 GMT
Patricia <[EMAIL PROTECTED]> stated with conviction:
> On Fri, 10 Mar 2000, Ron Gibson wrote:
> >How do I setup sounds for the KDE desktop. I'm using a sblive and can't
> >get a peep out of the desktop system sounds.
> If the other sounds work fine
> as root
> type ln -s /etc/sysconfig/soundcard /etc/sysconfig/sound
This is Slackware I'm using and I have no /etc/sysconfig directory. I
compiled the sblive from Creatives Open Source code and it is installed
as a module. OSS can not be used. The module is loaded at boot time
with /etc/config.modules.
I play sounds fine from the command line etc, but nothing under KDE in
the way of system sounds.
It's not a big deal, but I like the annoying bells clangs and boos that
I use with OS/2 and W98.
This is Kernel 2.2.14 with the ATA66 patch.
Email: [EMAIL PROTECTED]
ICQ: 56576008
------------------------------
From: [EMAIL PROTECTED] (Arjan Drieman)
Crossposted-To: comp.os.linux.networking
Subject: Re: Netscape Bookmarks in Linux and Windows?????
Date: 12 Mar 2000 00:19:14 GMT
Reply-To: [EMAIL PROTECTED]
On Fri, 10 Mar 2000 21:47:04 +0100, HighwayWizard
<[EMAIL PROTECTED]> wrote:
>has anybody have a good solution for using the same bookmarks file in
>Windows and Linux?
Yes, at the moment i use this:
1> mount my windows partition though fstab as /windows, with the right
user ID:
/dev/hda3 /windows vfat uid=1000 0 0
2> I wrote a small boot script to copy the bookmarks from my windows
partition to my linux .netscape dir when I boot linux, and the other
way around when I reboot/halt linux:
---- bookmarks script
#!/bin/sh
# Exchange bookmarks between linux and windows partition.
# Written by Arjan Drieman <[EMAIL PROTECTED]>
# Use, modify, distribute any way you like
test -f /windows/Program\ Files/Netscape/Users/duckie/bookmark.htm || exit 1
test -f /home/duckie/.netscape/bookmarks.html || exit 1
case "$1" in
start) echo -n "Restoring netscape bookmark file from windows partition"
cp /windows/Program\ Files/Netscape/Users/duckie/bookmark.htm
~duckie/.netscape/bookmarks.html
chown duckie.duckie ~duckie/.netscape/bookmarks.html
echo "."
;;
stop) echo -n "Writing netscape bookmark file to windows partition"
cp ~duckie/.netscape/bookmarks.html /windows/Program\
Files/Netscape/Users/duckie/bookmark.htm
echo "."
;;
*) echo "Usage: $0 start|stop"; exit 1
;;
esac
exit 0
----
3> saved this script as /etc/init.d/bookmarks
4> symlinked it in rc2.d, my default runlevel to copy the bookmarks to
my .netscape directory at boot time:
ln -s /etc/init.d/bookmarks /etc/rc2.d/S99bookmarks
5> symlinked it in rc6.d, the runlevel used for reboot to copy the
bookmarks to my windows partition:
ls -s /etc/init.d/bookmarks /etc/rc6.d/K10bookmarks
The location of your init.d and rcN.d directories may be different if
you have a different distribution. I think RedHat places them under
the /etc/rc.d/ directory. Make sure to change the script to suit your
usernames/paths/whatevers.
Since I'm the only person using my pc, this works fine. If more people
use your pc (you have multiple accounts on your pc), you can extend the
script for use of multiple accounts.
It's also possible to use the roaming user stuff in netscape
communicator 4.x if you have a linux gateway running the apache
webserver:
On the gateway:
mkdir /var/roaming
chown www-data.www-data /var/roaming
(or whatever user and group id apache uses, check the User and Group
command in httpd.conf)
In httpd.conf :
LoadModule roaming_module /usr/lib/apache/1.3/mod_roaming.so
RoamingAlias /roaming /var/roaming
(Check the path to the apache modules)
Create /var/roaming/.htaccess :
AuthUserFile /var/roaming/roaming-htpasswd
AuthType Basic
AuthName "Roaming Access"
require valid-user
Create /var/roaming/roaming-htpasswd :
<user>:<encrypted password>
(for example duckie:3OHt/rs6sdPlg)
Then have your netscapes use roaming access with your gateway as server.
It's not a good idea to use the same password as you use to log on
normally.
There's a bug in the roaming access stuff for linux Netscape, i think
font size 32132344.131 is quite odd. My guess is that they messed up a
pointer or two somewhere. It works fine for bookmarks and such.
Hope this helps :)
By the way, can you please refrain from posting HTML on usenet?
Edit --> Preferences --> Mail & Newsgroups --> Formatting, enable
"Use the plain text editor to compose messages" and
"Ask me what to do if the message has HTML formatting, otherwise send
plain text"
Thanks,
Arjan
--
Donating food to the hungry only costs you one
click and 20 seconds of your time on this site:
http://www.thehungersite.com/
------------------------------
From: Chetan Ahuja <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: OSS lpd for windows or( how to filter print jobs thru windows drivers)
Date: 12 Mar 2000 00:18:01 GMT
Hi,
My problem is this. I recently bought a Canon BJC 6000 as I got it
very cheap and in my past experience with epson, inkjet printers
don't work very well with ghostscript drivers even when they are
supposed to according to docs. But anyway, I have a windows machine
always running here on the network for contingencies (like opening
other people's word documents etc.) So I can connect the canon to
that computer and my plan is to use it as a sort of print
server. Only-- I need to use the widows driver supplied with the
printer to actually get the printout. So my plan is to send the
printouts from my linux machines as postscript files and then filter
them thru the ghostscript's winpr(or something) filter
automatically. My question is, is there an open source lpd daemon for
win32 available somewhere which I could hack to do such a thing ( I
know there's a microsoft provided lpd daemon but it's crippled in such
a way as to not allow any processing of the print jobs before
being sent to the printer. Please correct me if I'm wrong) Or
if not, is such a thing possible using the regular SMB protocol
( i.e. somehow hack window's remote printing mechanism to insert a
filter between the network interface where the printjobs are
accepted and the final windows output to the printer) Maybe the
following drawing will make my question clearer:
This is what I want to happen:
Linux Box Windows Box
________ ___________________
| | shared folder etc.
| samba |
(ps file)------------>|(shared printer)-->Ghostscript_to_win_printing_filter--->Printer
________| |_________________
Any pointers, tips, hints etc would be highly appreciated.
Thanks
Chetan
------------------------------
From: LhD Administrator <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: Tyan S1837UANG Thunderbolt
Date: Sun, 12 Mar 2000 00:30:45 GMT
John Hasler wrote:
>
> In comp.os.linux.misc [EMAIL PROTECTED] wrote:
> > Has anyone tried to implement a Linux server class machine on this
> > motherboard?
> I'm using one right now, with two PIII-500's, 384MB of RAM, and an IBM
10k
> RPM LVD-SCSI drive. I have Debian potato installed with a 2.2.14 kernel.
http://www.linhardware.com/db/dispproduct.cgi?DISP?21
LhD Administrator
Linux Hardware Database
http://www.linhardware.com
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: GarbMan <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.hardawe,comp.os.linux.questions,comp.os.linux.setup,linux.redhat.install,linux.redhat.misc
Subject: Re: Suggestions for SMP motherboard...
Date: Sat, 11 Mar 2000 18:41:24 -0600
Jim Morrissey wrote:
>
> Anyone have suggestions for purchasing a dual to quad processor (any
> speed..$$ are important) motherboard that is comaptible with RH 6.0 or
> greater??? Thanks,
>
> -Jim
Just a heads-up, since you said that "$$ are important". You may already
know this, but... If you are planning on using celerons, you're limited
to 2, and if they're slot 1's, they'll have to be modified (or you can
use PPGA celerons and the slocket adapters, some of which don't need to
be modified to run dual celerons).
http://kikumaru.w-w.ne.jp/pc/celeron/index_e.html
Unfortunately, I wasn't aware of this until I got my ASUS P2B-D in the
other day, and thought I'd read the SMP-HOWTO before setting it up. It
mentioned the need to modify slot 1 celerons. So tonight I'll be either
working on my SMP box, or staring at a couple of fried celerons :-/
------------------------------
From: [EMAIL PROTECTED] (Ralf Arens)
Crossposted-To: uk.comp.os.linux,comp.editors,comp.unix.misc
Subject: Re: Do you hate vi? vi or vim? Deathmatch!
Date: Sat, 11 Mar 2000 17:09:59 +0100
Adam C. Emerson <[EMAIL PROTECTED]> wrote:
> In comp.os.linux.misc s. keeling <[EMAIL PROTECTED]> wrote:
[...]
>> New topic: vi or vim? Go ahead, fight it out to the death!
> vim has nice things like color highlighting, but vanilla nvi
> (the most viish of the vi clones I've seen) is nice and compact.
> (And doesn't come linked to the X libraries by default.)
Strange, my Vim comes by default linked to nothing as source code. ;-)
Ciao,
Ralf
--
Is your homepage Y2K compliant? Pipe it through "tr 'yY' 'kK'" to make sure.
------------------------------
From: Brent McMillan <[EMAIL PROTECTED]>
Subject: Netscape can't find libXt.so.6
Date: Sat, 11 Mar 2000 19:54:53 -0500
Having given up on trying to find the right combinations of *.deb
packages that will install communicator, I've downloaded the more generic
tared and gzipped file from netscape. It was all going well until I tried
to run it for the first time. I got an error message telling me that it
couldn't find "libXt.so.6" . Since I have this library and even put a
symbolic link to it in netscape/lib, I'm wondering where netscape is
looking and how I can point it in the right direction. Any help would be
greatly appreciated. :)
Brent.
------------------------------
From: glen vajcner <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.os.linux.questions
Subject: Re: Looking for code/libraries to interpret HTML
Date: Sun, 12 Mar 2000 01:33:12 GMT
You may want to check out http://www.hwaci.com/sw/tkhtml/ . it's hooks to Tcl
progs can display html stuff. This may or may not help, but it's worth a shot..
cheers
glen
Juergen Heinzl wrote:
> In article <[EMAIL PROTECTED]>, me wrote:
> >Juergen Heinzl wrote:
> >
> >> In article <[EMAIL PROTECTED]>, me wrote:
> >> >hi
> >> >
> >> >i'm looking for any freely distributable code or any libraries i can use
> >> >to interpret HTML documents. Ideally, something where i can pass
> >> >the HTML as input, and have the code generate the output without me
> >> [...]
> >> What code ? HTML *is* the code.
> >> [...]
> >
> >what i mean is:
> >
> >suppose i have a HTML document. i want some C/C++ code that's able to
> >interpret the HTML code and give me some nice output, kinda like what a web
> >browser does. But......i'm writing a little program....and i need it to be
> >able to interpret HTML docs.....so....is there any C/C++ libraries or
> >something that i can use?
>
> Some nice output as ... what ... graphics, text, PDF, PS, FAX, ...
>
> Since the HTML grammer is not that complicated writing a lexer / parser
> combo is going to be the easy task, but after that you are in big trouble.
>
> Now there is the w3c lib, although I am not sure right now regarding its
> licence (!!) or take a look at some simple browser like links. It is a text
> browser and very handy to view HTML text on a text terminal.
>
> For Java there was a HTML applet already at the time I last bothered about
> Java; commercial IIRC. It really depends on what kind of output device you're
> having in mind; HTML itself is childs play compared to that.
>
> A real mini browser is XmHTML, a Motif Widget to view, well, HTML documents,
> e.g. for a builtin help function.
>
> Cheers,
> Juergen
>
> --
> \ Real name : J�rgen Heinzl \ no flames /
> \ EMail Private : [EMAIL PROTECTED] \ send money instead /
------------------------------
Date: Sun, 12 Mar 2000 01:45:07 +0000
From: John Doe <[EMAIL PROTECTED]>
Subject: Redirection in bash...
Can someone explain to me (in plain English) the sequence of events
represented by:
2>&1
I understand > to mean standard output, and < to mean standard input,
but I'm a bit confused by this syntax. I understand, for example:
ls > filename 2>&1
will generate a file with name "filename" (in the local directory)
containing a list of the (local) directory's contents and any errors
associated with processing the command "ls". Is this accurate? What is
the significance/meaning of &1? I thought "&" identified a variable,
for example &PATH.
------------------------------
From: "Douglas Moyes" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help
Subject: Re: Looking for code/libraries to interpret HTML
Date: Sun, 12 Mar 2000 02:07:40 GMT
Well, I think I may be able to give you some USEFULL advice. check out
http://www.w3.org I remeber seeing a mention of freely avaliable www
libraries. Also, you will find the OFFICIAL HTML spec on that site, along
with source code to Amaya- a web brouser, and Arena - a web broser (not a
very good one).
"me" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]...
> hi
>
> i'm looking for any freely distributable code or any libraries i can use
> to interpret HTML documents. Ideally, something where i can pass
> the HTML as input, and have the code generate the output without me
> having to do much.....or something of the sort.
>
> the code/libraries must preferably be for C/C++ but java/perl are OK as
> well.
>
> know of anything?
> ali
> [EMAIL PROTECTED]
>
>
------------------------------
From: Rick <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.mandrake
Subject: QSeeMe ??
Date: Sat, 11 Mar 2000 21:21:03 -0500
Has anyone goten QSeeMe to work? I can get it to start, but it wont
connect to anything. Im using a Compaq 1270, and audio doesnt work at
the moment.
Any and all help appreciated.
--
Rick
To reply by email remove NOSPAM from my address.
------------------------------
From: [EMAIL PROTECTED] (Paul Kimoto)
Subject: Re: Redirection in bash...
Date: 11 Mar 2000 21:31:01 -0500
Reply-To: [EMAIL PROTECTED]
In article <[EMAIL PROTECTED]>, John Doe wrote:
> 2>&1
>
> I understand > to mean standard output, and < to mean standard input,
> but I'm a bit confused by this syntax. I understand, for example:
>
> ls > filename 2>&1
>
> will generate a file with name "filename" (in the local directory)
> containing a list of the (local) directory's contents and any errors
> associated with processing the command "ls". Is this accurate? What is
> the significance/meaning of &1?
Excerpted from Kernighan & Pike 1984:
: The construction 2>filename (no spaces are allowed between the 2 and
: the >) directs the standard error into the file; it's syntactically
: graceless but it does the job.
***
: It is also possible to merge the two output streams:
[example elided]
: The notation 2>&1 tells the shell to put the standard error on the same
: stream as the standard output. There is not much mnemonic value to the
: ampersand; it's simply an idiom to be learned. You can also use 1>&2 to
: add the standard output to the standard error.
The small integers are the "file descriptors" used by the program. The
standard input is 0, the standard output is 1, and the standard error is 2.
So actually ">" does not mean "standard output", but rather tells the shell
to redirect some output stream somewhere else. Redirecting the standard
output explicitly would be "1> somewhere", but ">" standing alone is
defined to mean the same thing. The "&" tells the shell that you are not
referring to a filename, but rather to some (numbered) stream.
> I thought "&" identified a variable,
> for example &PATH.
No, that would be "$PATH".
--
Paul Kimoto <[EMAIL PROTECTED]>
------------------------------
From: [EMAIL PROTECTED] (Paul Kimoto)
Subject: Re: Netscape can't find libXt.so.6
Date: 11 Mar 2000 21:33:26 -0500
Reply-To: [EMAIL PROTECTED]
In article
<[EMAIL PROTECTED]>,
Brent McMillan wrote:
> Having given up on trying to find the right combinations of *.deb
> packages that will install communicator, I've downloaded the more generic
> tared and gzipped file from netscape. It was all going well until I tried
> to run it for the first time. I got an error message telling me that it
> couldn't find "libXt.so.6" . Since I have this library and even put a
> symbolic link to it in netscape/lib, I'm wondering where netscape is
> looking and how I can point it in the right direction.
It's not the program itself that's looking, but rather the dynamic linker.
In Debian 2.* (i.e., any libc6-aware version), there are two libXt.so.6
that you can install. One is for libc5 binaries, and is in the xlib6 .deb;
the other is for libc6 binaries, and is in the xlib6g .deb ("g" for
"glibc", presumably).
--
Paul Kimoto <[EMAIL PROTECTED]>
------------------------------
From: [EMAIL PROTECTED] (Andrew Purugganan)
Subject: Isn't ldconfig supposed to ...
Date: 12 Mar 2000 02:21:50 GMT
pause and then spit out all this lib stuff? SOmetimes it seems not to do
anything but redisplay the last output it gave, without even a split
second hesitation, even after I delete etc/ld.so.conf
I am using Mandrake 6.0 Venus, has anybody seen this problem?
--
jazz annandy AT dc DOT seflin DOT org
Registered linux user no. 164098-88940
Doesn't it bother you, that we have to search for intelligent life
--- OUT THERE??
------------------------------
Reply-To: "Matt O'Toole" <[EMAIL PROTECTED]>
From: "Matt O'Toole" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: Netscape Bookmarks in Linux and Windows?????
Date: Sat, 11 Mar 2000 18:26:22 -0800
A simpler solution for the less technically inclined is to upload your
preferences, addresses, etc., to the Netscape site, where you can then
download/synch them with whatever copy of Netscape you happen to be using.
Matt O.
"Arjan Drieman" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> On Fri, 10 Mar 2000 21:47:04 +0100, HighwayWizard
> <[EMAIL PROTECTED]> wrote:
>
> >has anybody have a good solution for using the same bookmarks file in
> >Windows and Linux?
>
> Yes, at the moment i use this:
>
> 1> mount my windows partition though fstab as /windows, with the right
> user ID:
> /dev/hda3 /windows vfat uid=1000 0 0
>
> 2> I wrote a small boot script to copy the bookmarks from my windows
> partition to my linux .netscape dir when I boot linux, and the other
> way around when I reboot/halt linux:
>
> ---- bookmarks script
> #!/bin/sh
> # Exchange bookmarks between linux and windows partition.
> # Written by Arjan Drieman <[EMAIL PROTECTED]>
> # Use, modify, distribute any way you like
>
> test -f /windows/Program\ Files/Netscape/Users/duckie/bookmark.htm || exit
1
> test -f /home/duckie/.netscape/bookmarks.html || exit 1
>
> case "$1" in
> start) echo -n "Restoring netscape bookmark file from windows partition"
> cp /windows/Program\ Files/Netscape/Users/duckie/bookmark.htm
~duckie/.netscape/bookmarks.html
> chown duckie.duckie ~duckie/.netscape/bookmarks.html
> echo "."
> ;;
> stop) echo -n "Writing netscape bookmark file to windows partition"
> cp ~duckie/.netscape/bookmarks.html /windows/Program\
Files/Netscape/Users/duckie/bookmark.htm
> echo "."
> ;;
> *) echo "Usage: $0 start|stop"; exit 1
> ;;
> esac
> exit 0
> ----
>
> 3> saved this script as /etc/init.d/bookmarks
>
> 4> symlinked it in rc2.d, my default runlevel to copy the bookmarks to
> my .netscape directory at boot time:
> ln -s /etc/init.d/bookmarks /etc/rc2.d/S99bookmarks
>
> 5> symlinked it in rc6.d, the runlevel used for reboot to copy the
> bookmarks to my windows partition:
> ls -s /etc/init.d/bookmarks /etc/rc6.d/K10bookmarks
>
>
> The location of your init.d and rcN.d directories may be different if
> you have a different distribution. I think RedHat places them under
> the /etc/rc.d/ directory. Make sure to change the script to suit your
> usernames/paths/whatevers.
>
> Since I'm the only person using my pc, this works fine. If more people
> use your pc (you have multiple accounts on your pc), you can extend the
> script for use of multiple accounts.
>
> It's also possible to use the roaming user stuff in netscape
> communicator 4.x if you have a linux gateway running the apache
> webserver:
>
> On the gateway:
> mkdir /var/roaming
> chown www-data.www-data /var/roaming
>
> (or whatever user and group id apache uses, check the User and Group
> command in httpd.conf)
>
>
> In httpd.conf :
> LoadModule roaming_module /usr/lib/apache/1.3/mod_roaming.so
> RoamingAlias /roaming /var/roaming
>
> (Check the path to the apache modules)
>
>
> Create /var/roaming/.htaccess :
> AuthUserFile /var/roaming/roaming-htpasswd
> AuthType Basic
> AuthName "Roaming Access"
> require valid-user
>
> Create /var/roaming/roaming-htpasswd :
> <user>:<encrypted password>
>
> (for example duckie:3OHt/rs6sdPlg)
>
> Then have your netscapes use roaming access with your gateway as server.
>
> It's not a good idea to use the same password as you use to log on
> normally.
>
> There's a bug in the roaming access stuff for linux Netscape, i think
> font size 32132344.131 is quite odd. My guess is that they messed up a
> pointer or two somewhere. It works fine for bookmarks and such.
>
> Hope this helps :)
>
>
> By the way, can you please refrain from posting HTML on usenet?
> Edit --> Preferences --> Mail & Newsgroups --> Formatting, enable
> "Use the plain text editor to compose messages" and
> "Ask me what to do if the message has HTML formatting, otherwise send
> plain text"
>
>
> Thanks,
> Arjan
> --
> Donating food to the hungry only costs you one
> click and 20 seconds of your time on this site:
> http://www.thehungersite.com/
------------------------------
** 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
******************************