Linux-Misc Digest #73, Volume #19 Wed, 17 Feb 99 15:13:18 EST
Contents:
Re: big endian -> little endian converter (Thomas Boggs)
Re: Novice Help: Modem Gone Undetected? (Duncan Simpson)
Suse 5.2 and glibc2 (Len Cuff)
Re: ps/2 mouse don't work - help ("David Z. Maze")
Re: where to learn down'n'dirty character mode / graphics (Kurt Wall)
Re: Mail client for Linux (Richard Cohen)
Re: Kernel 2.2.1 parallel port problem (Timothy Murphy)
Re: Mail client for Linux (Patrick Lanphier)
SAMBA - smb_shm_open ("Eric Webster")
Re: linux and fault tolerance (xcitor)
Re: Bunch of pretentious Wankers ("Eric Peterson")
Re: netscape for Alpha Linux ([EMAIL PROTECTED])
Re: Received Castlewood ORB! But... ("Doug Wheeler")
Re: Europarlement wishes to ban Proxy servers
([EMAIL PROTECTED])
----------------------------------------------------------------------------
From: Thomas Boggs <[EMAIL PROTECTED]>
Crossposted-To: cern.linux
Subject: Re: big endian -> little endian converter
Date: Wed, 17 Feb 1999 14:02:03 -0500
Michael Meissner wrote:
> Thomas Boggs <[EMAIL PROTECTED]> writes:
>
> > Right. So it doesn't solve the problem of reading float values from a BINARY file,
> > especially when the file uses a different floating point representation.
>
> Geez, doing the conversion is simple, since both host and target use IEEE
> floating point:
>
> double read_double (int fd) {
> union {
> double d;
> char c[sizeof (double)];
> } u, u2;
>
> if (read (fd, (char *) &u, sizeof (u)) == sizeof (u)) {
> int i;
> for (i = 0; i < sizeof (double); i++)
> u2.c[ sizeof (double) - i ] = u.c[i];
>
> return u2.d;
>
> } else {
> /* handle error */
> return 0.0;
> }
> }
>
i386 machines use 11 bit exponents for a double (real*8) whereas VAX doubles use an 8
bit exponent, so your method would not work. Further more, your array will be out of
bounds when i==0 since u2.c[8] is the 9th element of an 8 element array (for an 8 byte
double). Also, if your function receives a 4 byte int (by value) and manipulates it as
an 8 byte double, then you're in even more trouble.
-thomas
------------------------------
From: [EMAIL PROTECTED] (Duncan Simpson)
Subject: Re: Novice Help: Modem Gone Undetected?
Date: 17 Feb 1999 19:18:57 GMT
In <7aen2m$nvp$[EMAIL PROTECTED]> David Klecha <[EMAIL PROTECTED]> writes:
>In comp.os.linux.misc Rob Clark <[EMAIL PROTECTED]> wrote:
><snip my original>
>: 1. Linux does support ISA PnP, but it's not fun for newbies. It's
>: only mildly enjoyable for the rest of us. ;)
>Crap.
The latest kernels 2.2.x do support PnP. I do not have any PnP
hardware to test it though. Those using older kernels need the
isapnptools packages which will configure your ISA PnP devices and
consistent works according the the vibes (again I have not had
anything PnP to test).
>: 2. Winmodems do not support Linux. Winmodems, HCF, HSP, soft-, etc.
>: modems require software to do some of the things real modems do.
>: This "modem emulation" software is provided by the Winmodem
>: manufacturer as Windows software, thus "Winmodem."
>Gotcha.
Assuming you want to support these get some documentation and then
write a driver yourself or pay someone to it for you. So far nobody
has managed to get any programming information out of any
manufacturer on GPL compatible terms, period.
>: 3. The modems in Compaq Presarios are _consistently_ Winmodems.
>Crap again. So, the question goes, should I go for an ISA non-PnP modem?
>Or just go external? And for both questions, has anyone any
>recommendations (think: inexpensive...)?
External modems are very strongly recommended. Modem lights are useful
and they consistent work with everything---all known are real modems
and do not require special drivers (despite what windows thinks about
this issue). The ability to power cycle the modem when my software is
not hanging up the line is a useful safety feature too.
Hayes commands are understood by everything and completely standard. I
can say "ATDT 123456789" to dail 123456789 on any vaguely current
modem.
Duncan (-:
--
Duncan (-:
"software industry, the: unique industry where selling substandard goods is
legal and you can charge extra for fixing the problems."
------------------------------
From: Len Cuff <[EMAIL PROTECTED]>
Subject: Suse 5.2 and glibc2
Date: Wed, 17 Feb 1999 16:46:00 +0000
Reply-To: Len Cuff <[EMAIL PROTECTED]>
I have just installed StarOffice 5 on my SuSe 5.2 installation. I needed
to install the glibc2 libraries which were supplied on the PCPLUS CD.
StarOffice runs fine. Question is that now I've got the libraries I
would have thought that other apps which need them would also work ? I
copied the library files to /lib but when I try to rpm things like
webalize, it complains that the glib bits are installed. Where should I
have put them ?
Cheers,
Len
------------------------------
From: "David Z. Maze" <[EMAIL PROTECTED]>
Subject: Re: ps/2 mouse don't work - help
Date: 17 Feb 1999 14:20:45 -0500
Andre Doehn <[EMAIL PROTECTED]> writes:
AD> i've upgraded my S.u.S.E Linux 5.3 to ver. 6.0
AD> the 2.0.36 kernel supports the psaux device (no module) but the device
AD> /dev/psaux don't exist's.
AD> any hints?
Look up the major and minor numbers for the device in
/usr/src/linux/Documentation/devices.txt, and create it with mknod(1).
--
David Maze [EMAIL PROTECTED] http://donut.mit.edu/dmaze/
"Hey, Doug, do you mind if I push the Emergency Booth Self-Destruct Button?"
"Oh, sure, Dave, whatever...you _do_ know what that does, right?"
------------------------------
From: [EMAIL PROTECTED] (Kurt Wall)
Crossposted-To: comp.os.linux.development.apps
Subject: Re: where to learn down'n'dirty character mode / graphics
Date: 17 Feb 1999 19:15:01 GMT
Reply-To: [EMAIL PROTECTED]
On Tue, 16 Feb 1999 22:59:28 GMT, steve mcadams <[EMAIL PROTECTED]> wrote:
>Developer looking for some pointers. I know basically nothing about
>the actual video architecture of x86 systems and how code communicates
>with monitors at a low level. I want to learn from the most basic
>interface on up. Not interested in X at the moment as I have
>references for X and may not need to make it that far up the
>food-chain.
>
>Basically what I'm looking for is,
>- Info about how monitors work from a hardware/software interface
>viewpoint
Can't help you here. In user-space, such code will be non-portable. This
is best left to the kernel or device drivers.
>- Info about how to write character-mode code
At a high level, curses/ncurses and or slang. At a lower level, termcap and
terminfo (you sure you want to do this?).
>- Info about how to do graphics without X
SVGAlib (obsolete) and libggi.
>Knowing which libs and headers apply would be a great start, anything
>would help. I'm not a programming newbie, just a Linux newbie who
>has written serious GUI apps on MS platforms.
Headers - curses.h, ncurses.h, termcap.h, terminfo.h, slang.h (I think)
man pages - /usr/man/man3/curs_*; termcap, terminfo
Kurt
--
Informix on Linux FAQ
http://www.xmission.com/~kwall/iolfaq/english/iolfaq.html
http://www.xmission.com/~kwall/iolfaq/spanish/iolfaq.html (Spanish)
http://www.xmission.com/~kwall/iolfaq/romanian/iolfaq.html (Romanian)
------------------------------
From: [EMAIL PROTECTED] (Richard Cohen)
Crossposted-To: uk.comp.os.linux,alt.os.linux
Subject: Re: Mail client for Linux
Date: 16 Feb 1999 17:05:47 GMT
Reply-To: [EMAIL PROTECTED]
http://freshmeat.net is a very good site for announcements of software
releases. It also has a very good software list, basically, all the
software which has ever been announced on the site.
Freshmeat, Slashdot and Linuxtoday and/or LWN make a good combination of
site to check (daily or so) for news.
Cheers
Richard
On Tue, 16 Feb 1999 17:00:41 +0000, Steve D. Perkins <[EMAIL PROTECTED]> wrote:
>> I'm using xfmail (check out freshmeat for a link)
>
> What's "freshmeat"?
>
>Steve
>
>
------------------------------
From: [EMAIL PROTECTED] (Timothy Murphy)
Subject: Re: Kernel 2.2.1 parallel port problem
Date: 17 Feb 1999 18:05:25 -0000
"A.I. van Berkel" <[EMAIL PROTECTED]> writes:
>Everything seemed to work flawlessly, until I wanted to print something.
>It seems the parallel port driver is broken. I could deduce from the
>logfiles that it searches for a parport_lowlevel module. And indeed, I have
>no such module, nor could I find it somewhere in the kernel sources.
I had a similar problem,
which went away when I updated all the auxiliary programs,
as listed in Documentation/Changes .
I'm not sure which one had the desired effect.
[Make sure you have the correct lp0/lp1 in /etc/printcap first,
as many have advised.
However, that wasn't my problem.]
--
Timothy Murphy
e-mail: [EMAIL PROTECTED]
tel: +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
------------------------------
From: Patrick Lanphier <[EMAIL PROTECTED]>
Crossposted-To: uk.comp.os.linux,alt.os.linux
Subject: Re: Mail client for Linux
Date: Tue, 16 Feb 1999 12:12:06 -0500
Make it simple just use Netscape unless you have needs it can not meet.
Patrick Lanphier
Richard Lewin wrote:
>
> Can anyone recommend a good mail client for Linux. I would like one
> which supports multiple POP3 accounts and which allows you to leave the
> messages on the server. I am currently using kmail which does allow
> multiple POP3 accounts but the leave mail on server feature is broken.
> Each time you check for mail it downloads everything regardless of
> whether you've got it already. This feature works fine in Netscape but
> it can only support one POP3 account.
>
> I was thinking about trying to install balsa (the GNOME mail client) -
> does anyone know if it is any good and if it supports these features?
> Or are there any other good mail clients out there?
>
> I would appreciate replies by email. Thanks very much in advance.
>
> Richard Lewin
------------------------------
From: "Eric Webster" <[EMAIL PROTECTED]>
Subject: SAMBA - smb_shm_open
Date: Wed, 17 Feb 1999 11:23:31 -0600
I am using Samba 2.0.0-beta1, which when I installed worked like a charm,
once. Until I rebooted Linux. Now I get:
[elwebst@rivendell elwebst]$ smbstatus
Samba version 2.0.0-beta1
Service uid gid pid machine
==============================================
ERROR smb_shm_open : open failed with code No such file or directory
ERROR: Failed to initialise share modes!
Can't initialise shared memory - exiting
I can't help but feel I have done something wrong somewhere - can anyone
point me in the right direction?
Eric
------------------------------
From: [EMAIL PROTECTED] (xcitor)
Subject: Re: linux and fault tolerance
Date: Mon, 15 Feb 1999 19:47:20 -0500
Reply-To: [EMAIL PROTECTED]
On Mon, 15 Feb 1999 22:32:18 -0000,
Paul Davies wrote
from <[EMAIL PROTECTED]>
in message <[EMAIL PROTECTED]>:
>Does anyone know if Linux can be used to run fault tolerant systems?
Check out the High Availability (HA) HOWTO:
http://metalab.unc.edu/pub/Linux/ALPHA/linux-ha/High-Availability-HOWTO.html
--
[EMAIL PROTECTED]
Linux - the choice of a GNU generation.
1024/A883405D 1998/06/16 xcitor <[EMAIL PROTECTED]>
Key fingerprint = E6 30 57 68 E9 3E 4B 79 5E B7 DE EF F8 DF 90 8F
Public Key: http://pgp5.ai.mit.edu:11371/pks/lookup?op=get&search=0xA883405D
------------------------------
From: "Eric Peterson" <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.os.linux,comp.os.linux.advocacy
Subject: Re: Bunch of pretentious Wankers
Date: 17 Feb 1999 14:42:23 GMT
> I think we all have opinions about subjects read in the newspapers.
> None of those opinions have force of law. Without being on a jury and
> hearing the evidence presented in a courtroom, there's no way to
> accurately judge what he did or didn't do. His involvement with the
> Paula Jones lawsuit was as a citizen, not as President. All his
> conduct in that case, right or wrong, was as a citizen, not as
That's a dangerous way of looking at it. He is the leader of the USA. As
such EVERYTHING he does reflects on the USA and his position. You can't
simply seperate his actions into "citizen" and "presidential" so
conveniently.
> President. There is no resemblance whatever to the Watergate case, in
> which the President and his employees used their government positions
> to cover up the illegal activities of some 2-bit morons who happened
> to work for them.
Agreed. Watergate was a MUCH more serious abuse of power. I just believe
that letting the president get away with perjury and obstruction of justice
is bad, no matter what the mitigating circumstances are.
> I've been listening to this crap for six years and I'm sick of it.
> Republicans have never been able to come to grips with the fact that
> they are the Party of the Corrupt
I agree completely. Reagan presided over the most corrupt (by the count of
scandals reported in the papers) administration in decades, perhaps ever.
Yet he was a very popular president. Clinton's administration has been
much better. This does not excuse his actions.
> $50 million down the drain. My prediction of the
> outcome of this psychodrama is that the Democrats will regain control
> of at least one house of Congress in the 2000 elections.
Probably. Although I believe Clinton's impeachment was justified, I
realize I am in the minority.
> People will
> not forget the expensive hypocrisy of the plutocrats in charge of the
> Republican Party. The Republicans aren't just "out of touch with the
> people" -- they've moved and left no forwarding address.
Hypocrisy? Maybe. I think Clinton beat the rap because he persuaded the
people that the whole thing was "simply about sex," which is simply untrue.
Starr, and then the Republicans, failed to get the message across that
Clinton was attempting to deprive a woman of evidence she was entitled to
by law. This is obstruction of justice, and is a serious matter. Frankly,
if the whole thing had been simply about sex, it would never have happened.
Instead we have perjury, witness tampering, and a host of other crimes.
This is only about sex? I don't think so.
> If a jury hears testimony & convicts Clinton of a crime, fine. Let
> him pay his dues. Until then, everything everyone says against him or
> for him is just speculation. Fun and games, but otherwise worthless.
Not so. Just because a crime isn't brought to trial doesn't mean it isn't
a crime. Just because Clinton wasn't convicted it doesn't mean what he did
was acceptable. The tragedy of this whole affair is that it turned into
partisan politics, and the real issues were ignored as a result.
Anyway, this will be my final post on this subject. After all, Linus
newsgroups are hardly the best place to debate this.
--
Eric F. Peterson
Politically Incorrect and Proud!
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: netscape for Alpha Linux
Date: Wed, 17 Feb 1999 13:43:44 +0000
Yon Han CHONG <[EMAIL PROTECTED]> wrote:
: Is there a netscape for Alpha Linux? If there is where can I find it?
Well, there are a number of "aledged" working mozillas for Alpha Linux.
Some are more stable than others, but none is really stable enough to not be
annoying WHEN RUN ON MY SYSTEM, YMMV!!!
I use KFM (part of KDE) most of the time, whilst I wait for the Mozilla guys
to get it sussed (yes, I would love to help fix Mozilla for Alpha, but
unfortunately all my spare programming time is devoted to IDE and CDROM
device driver issues).
I hope that this helps.
--
============================================================================
Richard Simpson
Farnborough, Hants, Uk Fax: 01252 392976
[EMAIL PROTECTED]
I am not aware of any views shared by myself and my employers.
------------------------------
From: "Doug Wheeler" <[EMAIL PROTECTED]>
Crossposted-To:
comp.sys.ibm.pc.hardware.storage,comp.periphs.scsi,comp.os.linux.hardware
Subject: Re: Received Castlewood ORB! But...
Date: Wed, 17 Feb 1999 08:34:31 -0600
Apparently only the EIDE version is currently shipping. The drive costs $200
and the media is $30 for each 2.2 GB disk. I'm not sure about Linux
support - I suspect the drive can be used as a generic removable media IDE
drive (although Castlewood's documentation says you must install the ORB
Tools to properly configure and use the drive).
--Doug
Baseball <[EMAIL PROTECTED]> wrote in message
news:01be5a50$31dfb2e0$520b5e18@mycompnt...
>Don't they make a SCSI version too?
>How much does it cost and how much is the media?
>
>Does Linux kernel 2.2 support this thing? I know it's been hyped by
>CmdrTaco on Slashdot.org lately, I really want one of these...
>
>
>Doug Wheeler <[EMAIL PROTECTED]> wrote in article
><[EMAIL PROTECTED]>...
>> Quick follow-up: Removing the ZIP drive allows the ORB drive to work.
>Apparently there's some
>> compatibility problem having them both installed.
>>
>> --Doug
>>
>>
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Europarlement wishes to ban Proxy servers
Date: Wed, 17 Feb 1999 14:03:24 +0000
Michael Schmeing <[EMAIL PROTECTED]> wrote:
: You have to EXPORT encryption to USE it in INTERNATIONAL commerce as
: all partners have to use the same protocoll. So the law forbidding
: export of encryption-SW as well forbids the USE of it when at least
: one partner is inside and at least one outside the US (and Canda I
: think).
No it doesn't. It only causes a problem if the software starts life in the
USA. So, for example, if I wish to send encrypted files to my friend in the
USA. First, I either obtain some software from a non-US source or write my
own. Nothing illegal so far. Next I send one copy to my US friend. Still
all perfectly legal. Finally we both use the code to encrypt and decrypt
our files. We are now communicating securely and legally, Voila!!
The observant amongst you will note that if I wish to use commercial code in
this example I have to buy software made by a non-US company. The US export
restrictions therefore help software companies based in places like Europe
at the expense of those in the USA. Good isn't it :-).
:> There is also an attempt by law enforcement types to
:> require "key recovery" in encryption systems.
--
============================================================================
Richard Simpson
Farnborough, Hants, Uk Fax: 01252 392976
[EMAIL PROTECTED]
I am not aware of any views shared by myself and my employers.
------------------------------
** 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
******************************