Linux-Misc Digest #340, Volume #21 Mon, 9 Aug 99 13:13:08 EDT
Contents:
Re: helping the Third World (Jeff)
Re: guaranteed annual income (Jeff)
Re: C structure size inconsitency (Gergo Barany)
Re: test (Gergo Barany)
Re: Web Browsing without X ("Ralph Allan Rice")
Re: Have I been hacked? (Luca Scattin)
Re: Java Colors on Red Hat Linux 6.0 ("Martin")
Re: GCC and GCC++ (Roman Fietze)
Re: System copy to new harddisk (Norman Levin)
Re: .tar.bz2 file extensions (William Burrow)
Re: Red Hat 6.0 Installation problem (Tan)
Re: boot without fsck? (Niel Markwick)
Re: Abit BP6 + ultra ATA 66 + RIVA TNT2 + SBlive (Jayan M)
Re: guaranteed annual income ("A.T.Z.")
Re: Web Browsing without X (Albert Ulmer)
Re: Linux assembly, etc (Johan Kullstam)
Re: C structure size inconsitency (Konrad Hambrick)
Recomendation for FTP and News reader (Paul Blum)
Re: NT & Linux - dual boot (Leonard Evens)
----------------------------------------------------------------------------
Crossposted-To: comp.os.linux.advocacy,gnu.misc.discuss
From: [EMAIL PROTECTED] (Jeff)
Subject: Re: helping the Third World
Date: Mon, 09 Aug 1999 11:46:24 GMT
In article <[EMAIL PROTECTED]>
John M Dow <[EMAIL PROTECTED]> wrote:
> Anthony DeRobertis wrote:
>> OTOH, you have a country that has been on the balance more libratarian
>> than any other. And it is one of the most prosperous on Earth. Draw your
>> own conclusions.
>
> The Jerry Springer show is evidence enough of your country's properity,
> thankyouverymuch.
Actually, when you think about it, it is. It proves that right now, even the blind
squirrels are getting nuts.
------------------------------
Crossposted-To: comp.os.linux.advocacy,gnu.misc.discuss
From: [EMAIL PROTECTED] (Jeff)
Subject: Re: guaranteed annual income
Date: Mon, 09 Aug 1999 11:48:32 GMT
In article <rFyr3.666$[EMAIL PROTECTED]>
"Otto" <[EMAIL PROTECTED]> wrote:
>> You don't know what you're talking about.
>>
>
> The social security system Europe is totally different from the US system.
> In the US it's generally associated with retirement, while in Europe
> everybody is eligible regardless of the age. One could say, that if you
> combine the welfare with social security, that would be the europian social
> security system. The benefits are also more generous, when compared to the
> states. In some respect, there's no such system in place in the US.
What you're saying is that eveyone is eligible to sit on their butt and do nothing
if they so desire.
No thanks, I'll pass.
------------------------------
From: [EMAIL PROTECTED] (Gergo Barany)
Subject: Re: C structure size inconsitency
Date: 9 Aug 1999 12:15:44 GMT
Larry Ozarow <[EMAIL PROTECTED]> wrote:
>Gergo's response is a little on the harsh side, but compiler related
>questions really don't belong in a linux news group. Try a group
>dedicated to gcc or comp.lang.c. A week or so ago one of the linux
If my respose was considered harsh, I apologize; but as a comp.lang.c
regular let me point out that compiler-specific questions don't belong
there either. But a general question about what the Standard says about
padding between struct members does.
Gergo
--
We're fighting against humanism, we're fighting against liberalism...
we are fighting against all the systems of Satan that are destroying
our nation today...our battle is with Satan himself.
- Jerry Falwell
GU d- s:+ a--- C++>$ UL+++ P>++ L+++ E>++ W+ N++ o? K- w--- !O !M !V
PS+ PE+ Y+ PGP+ t* 5+ X- R>+ tv++ b+>+++ DI+ D+ G>++ e* h! !r !y+
------------------------------
From: [EMAIL PROTECTED] (Gergo Barany)
Subject: Re: test
Date: 9 Aug 1999 12:18:23 GMT
Ron Tucker <[EMAIL PROTECTED]> wrote:
>test
>
In the Newsgroups: line, you misspelled alt.test.
Gergo
--
We're fighting against humanism, we're fighting against liberalism...
we are fighting against all the systems of Satan that are destroying
our nation today...our battle is with Satan himself.
- Jerry Falwell
GU d- s:+ a--- C++>$ UL+++ P>++ L+++ E>++ W+ N++ o? K- w--- !O !M !V
PS+ PE+ Y+ PGP+ t* 5+ X- R>+ tv++ b+>+++ DI+ D+ G>++ e* h! !r !y+
------------------------------
From: "Ralph Allan Rice" <[EMAIL PROTECTED]>
Subject: Re: Web Browsing without X
Date: Mon, 9 Aug 1999 08:24:41 -0400
Daniel,
I think you misunderstood me. I previously known about lynx, but lynx is not
a graphical browser (i.e. Netscape). Are there any others?
Ralph
Dan Cave <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
>
>Ralph
>
>Try using a tool called lynx, part of the standard linux distribution.
>
>http://lynx.browser.org/
>
>Kind Regards
>
>Daniel Cave,
>SGI Consulting,
>1530 Arlington Business Park
>Theale, Reading, RG7 4SB.
>DDI: 0118 925 7584
>Fax: 0118 925 7680
>email: [EMAIL PROTECTED]
>>
>>Does anyone out there know of any command-line graphical web browsers that
>>use graph libraries (libSVGA or others) instead of depending on X? This
is
>>just for evaluation to determine if a thin Linux client could be used for
>>our kiosks instead of Windows, and it does not matter if it is freeware or
>>commercial.
>>Thanks for responding,
>>Ralph
>>______________________________________________________________
>>Ralph Allan Rice
>>Computer Science, University of Akron
>>
>
>>
>>
>>
>>
>
>
>
------------------------------
From: no.spam&[EMAIL PROTECTED] (Luca Scattin)
Subject: Re: Have I been hacked?
Date: Mon, 09 Aug 1999 12:33:45 GMT
On Wed, 4 Aug 1999 09:17:46 -0400, "Dan Loomis" <[EMAIL PROTECTED]>
wrote:
>Here's a strange one...
>
>I have a RH6 linux box at home running IP Masq and a pegged PPP connection
>to my local ISP. Every now and again the link permanently goes down. After
>looking at /var/log/messages, it shows that a shutdown and subsequent reboot
>has been initiated. This is the second time this has happened.
>
>Three questions:
>
>1. Is it possible that my machine can spontaneously start a shutdown/reboot
>all by itself?
>1. How do I find out the cause?
>2. Is it possible that I'm getting hacked by bored engineers at my ISP?
>
>--
>
>Dan Loomis
>
>
I had the same strange shutdown/reboot last night.
I have a linux box running a fax server (mgetty) and i look in
/var/log/messages strange messages about the phone line one moment
before the shutdown.
This is a bug?
------------------------------
From: "Martin" <[EMAIL PROTECTED]>
Crossposted-To: comp.lang.java.help
Subject: Re: Java Colors on Red Hat Linux 6.0
Date: Mon, 9 Aug 1999 15:05:40 +0200
Are you sure the tree will use the same Graphics object
you set the colour on?
/Martin
------------------------------
From: [EMAIL PROTECTED] (Roman Fietze)
Subject: Re: GCC and GCC++
Date: 9 Aug 1999 13:54:13 GMT
In article <[EMAIL PROTECTED]>,
Steve Thomas <[EMAIL PROTECTED]> writes:
> Hi there.
> I'm really new to Linux and I've recently installed Caldera OpenLinux
> 2.2 and I would like to know how to install and configure gcc and
> gcc++. These packages don't seem to come with the base install.
Allthough I am using SuSE I cannot believe gcc is not on the
distribution. That's almost like buying a car without a motor. Try
"gcc --version". This should give you something like "gcc-..." or
"egcs-...". Maybe g++ is not installed by default, but it should come
with the distribution as well.
Roman
--
Roman Fietze (Mail Code 5023) Heidelberg Digital/Germany
[EMAIL PROTECTED]
------------------------------
Date: Mon, 09 Aug 1999 09:01:24 -0400
From: Norman Levin <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.hardware
Subject: Re: System copy to new harddisk
If your really wanted to 'clone' one disk to another, the 'dd' command
should let you do it. Something like:
dd if=/dev/hda if=/dev/hdb
where hda and hdb are the device files for the entire source and
target drives.
--
Norman Levin
vm/dynAmIX inc.
------------------------------
From: [EMAIL PROTECTED] (William Burrow)
Subject: Re: .tar.bz2 file extensions
Date: 9 Aug 1999 13:38:46 GMT
Reply-To: [EMAIL PROTECTED]
On 8 Aug 1999 04:36:02 -0500,
A Guy Called Tyketto <[EMAIL PROTECTED]> wrote:
> Why do this, when you can add the proper flag to tar?
>
> the version of tar that Slackware, from 3.6 up to 4.0 uses (now
>implimented in GNU tar), has the -y flag, which you can pass to tar, to
>filter through bzip2, to uncompress it on the fly, just as you would
>with -z for gzip and -Z for compress. i.e.:
>
> tar -yzvf <filename>.tar.bz2
Debian 2.1 tar does not seem to support this. What you can use instead
is the --use-compress-program= option:
tar xvf <filename>.tar.bz2 --use-compress-program=bzip2
> This should also help you save on disk space. The only setback
Only if you are compressing with bzip2, mind you.
--
William Burrow -- New Brunswick, Canada o
Copyright 1999 William Burrow ~ /\
~ ()>()
------------------------------
From: #[EMAIL PROTECTED] (Tan)
Subject: Re: Red Hat 6.0 Installation problem
Date: Mon, 09 Aug 1999 14:31:47 GMT
Reply-To: [EMAIL PROTECTED]
On Sun, 08 Aug 1999 11:21:55 -0500, Leonard Evens <[EMAIL PROTECTED]>
wrote:
>I assume you want to install Linux in the unused space on the
>second disk. I would suggest using the DOS (Windows) fdisk
>to remove the extended partition on the second disk. Then
>do a custom install of Linux. You will get the opportunity
>to use the Linux fdisk (where it let you edit the partition
>information). This will still warn you that the second disk
>has more than 1024 cylinders. But you will still be okay
>if you set up one partition of about 20 MB under the 1024
>cylinder limit on which you will mount /boot. The other
>partitions need not be below this limit. At the end of
>the installation specify the master boot record
>of the first disk for lilo. If it doesn't let you make
>that choice, or if you want to be absolutely
>safe about Windows, put lilo elsewhere and boot using your
>---snip----
What do you meant by one partition under the 1024 cylinder limit?
How do i do that?
How if I need all my current files that stored in my pri dos partition
on the second disk? Any other alternative?
------------------------------
From: Niel Markwick <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Re: boot without fsck?
Date: Mon, 09 Aug 1999 16:38:47 +0200
> Robert Grimm ([EMAIL PROTECTED]) wrote:
> : I need a system in a place where there is not always a constant
> : power supply. (The trunk of a car)
Have a look at:
http://www.chaos.org.uk/~altman/mp3mobile/
He uses the PC permenantly connected to the battery with a small circuit
monitoring the ignition-controlled power. When the ignition is switched
off, the circuit tells the PC to shutdown.
(he is also developing a commercial in-car MP3 player)
Niel.
--
Niel Markwick
Kontich, Belgium.
------------------------------
Crossposted-To: comp.os.linux.hardware,comp.os.linux.x
From: Jayan M <[EMAIL PROTECTED]>
Subject: Re: Abit BP6 + ultra ATA 66 + RIVA TNT2 + SBlive
Date: Mon, 9 Aug 1999 15:50:16 GMT
remember though that 2.3.12 is the development kernel and might
have more bugs than you might want to handle..so take care, and
have the 2.2 kernel handy as a backup.. or wait till 2.4 is released
(Q4 1999) - I read somewhere, it has even support for Winmodems
.. and on similar lines, a company called PC-TEL is making LinModems
now.. software modems for Linux- Jeez, doesn't these people have
anything better to do..!
Jayan
Peter Lubke wrote:
> Hi, didn't get that far - but I do have a similar system except that my hard
> drive is a Fujitsu 13 Gb - and I had no other hard drive in the machine.
> I was booting from Red Hat 6, and tried from SuSE 6.1 but neither could
> detect the ATA66 - so thanks for the tip re: 2.3.12
> (my system also fried itself - why is unknown yet - but eventually I'll be
> ready to try again)
>
> Anyway - please keep me informed as to how you get on at email
> [EMAIL PROTECTED]
>
> Peter
>
> zitang wrote:
>
> > anyone try to install linux on this board ?
> >
> >
> >
> > my system ...
> >
> > celeron 400
> >
> > Micron 128MB
> >
> > SBLive Value
> >
> > PCI NE2000
> >
> > Monitor 15' Mag DX15T
> >
> > -> Creative RIVA TNT2 Value 16MB
> >
> > -> IBM 13.5 GB 7200rpm ATA66
> >
> > -> Fujisu 2.5 GB 5400rpm Mode 4
> >
> > when i connect the IBM hardisk on the ATA66 IDE ...
> >
> > when i try to install Redhat 6.0
> >
> > i got Error in the FDISK
> >
> > (Fujisu it detect - Cyc.. 1024 Head...128 Sec...63)
> >
> >
> >
> > after i disconnect the IBM ... then it can detect it "fine"(better) ...
> >
> > (Fujisu it detect - Cyc.. 4952 Head...16 Sec...63)
> >
> >
> >
> > i can install it but i cant boot it using the LILO ...
> >
> > only can boot by Floopy ...
> >
> > finally all done ...
> >
> > but the X window got problem ...
> >
> > so i think i really need to install XFree86 3.3.4 maybe 3.9.15 ...
> >
> > about the SBlive ...
> >
> > is it only can work on Kernel 2.2.5-15 ?
> >
> > if i patch the kernel to 2.3.12 then should it possible to work on it ?
> >
> > coz i need to try kernel 2.3.12 to test the Ultra ATA66 to be work ...
> >
> > so anyone got same question like me ?
> >
> >
> >
> > zitang - ^Devil Evil^ -
> >
> >
> >
> > ------------------ Posted via SearchLinux ------------------
> > http://www.searchlinux.com
------------------------------
From: "A.T.Z." <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy,gnu.misc.discuss
Subject: Re: guaranteed annual income
Date: Mon, 09 Aug 1999 17:44:29 +0200
Otto schreef:
> A.T.Z. <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]...
> > Richard Kulisz schreef:
> >
> > > In article <[EMAIL PROTECTED]>, Jo <[EMAIL PROTECTED]> wrote:
> > > >The both of you are talking about two different social systems. Social
> > > >security in countries like Holland and Belgium is totally different
> from
> > > >social security in the States,
> > >
> > > What the hell are you talking about? We are *both* talking about
> > > Europe since there isn't any social security in the States.
> >
> > You don't know what you're talking about.
> >
>
> The social security system Europe is totally different from the US system.
True.
> In the US it's generally associated with retirement,
Is it??
> while in Europe
> everybody is eligible regardless of the age.
Not completely true.
> One could say, that if you
> combine the welfare with social security, that would be the europian social
> security system. The benefits are also more generous, when compared to the
> states. In some respect, there's no such system in place in the US.
>
> Otto
I know, but Richard Kulisz says it's not half as good as it sounds. He keeps on
yelling at me I'm .... whatever he gets in his mind.
------------------------------
From: Albert Ulmer <[EMAIL PROTECTED]>
Subject: Re: Web Browsing without X
Date: Mon, 09 Aug 1999 15:02:59 GMT
> Ralph Allan Rice <[EMAIL PROTECTED]> wrote:
> >Does anyone out there know of any command-line graphical web browsers=
=20
that
> >use graph libraries (libSVGA or others) instead of depending on X? =20
This is
> >just for evaluation to determine if a thin Linux client could be used=
=20
for
> >our kiosks instead of Windows, and it does not matter if it is=20
freeware or
> >commercial.
> Why not X? You don't have to use a big window manager.
If it=B4s a thin client for browsing he=B4s looking for, he might consid=
er=20
OpenDOS and its DOS-based browser.
------------------------------
From: Johan Kullstam <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: Linux assembly, etc
Date: 09 Aug 1999 10:09:19 -0400
JC <[EMAIL PROTECTED]> writes:
> Hello,
> (This is probably for those ex-DOS assembly language programmers.)
> I've been writing programs in linux and I've been wanting to
> port many of DOS programs, mainly graphics-based.
> In DOS, you use OS calls extensively, for example, in printing
> a character....
> .
> .
> .
> mov ah,02
> mov dl,'J'
> int 21h ;DOS call to print 'J' using function 2 in ah register
> int 20h ;DOS call to exit the program
> .
> the equivalent in linux would probably be:
> asm ("movb $2, %ah");
> asm ("movb $9, %dl");
> asm ("int $0x21");
> asm ("int $0x20");
> (in inline assembly, which I intend to use)
>
> I know that these calls are totally useless in linux and I was
> wondering if these calls have equivalents in linux.
system calls in linux are C function calls. you could look at the
kernel as a low-level shared library. the linker/loader will set up
the appropriate hooks.
the int 21h with register loading is just an alternate system of
calling routines. (it's a lousy way to do it, since it ties you to a
particular architechure. look how piss poor microsoft is at porting
anything to new arches. it took them the better part of a decade to
move to 32 bit mode.)
> I'm not just
> talking about those two calls, I'm talking about OS calls in general.
> Where can I find them? Also, where can I find a decent assembly
> language tutorial for linux?
>
> I also know that many of you would discourage me from using bios calls
> like int 10h but I do need to access certain bios calls. Any
> workarounds?
besides using ms-dos?
all the int 21h and int 10h stuff is real-mode 16 bit code. linux
works in 32bit mode. you can check the source to dosemu for hints on
how to do this. i don't recommend it.
> I need to access mode 'X' you see. (Game developers would know
> this.) Is the svgalib up to the task so I don't need to resort to
> assembly?
video cards have a bios to give a consistent interface to 16-bit
programs. 32 bit protected mode (like linux) doesn't have access to
this bios. you have to write your own video driver. svgalib does
this for some video chipsets. maybe yours is covered? you may want
to check out XFree86 and their X servers.
there is also the frame-buffer device built into recent kernels. that
may offer something too.
hope this helps.
--
johan kullstam
------------------------------
From: [EMAIL PROTECTED] (Konrad Hambrick)
Subject: Re: C structure size inconsitency
Date: 9 Aug 1999 15:37:03 GMT
In article <7okrlr$[EMAIL PROTECTED]>,
Floyd Davidson <[EMAIL PROTECTED]> wrote:
>Konrad Hambrick <[EMAIL PROTECTED]> wrote:
>>
>> struct Test2 {
>> time_t X0;
>> char X1;
>> char X2;
>> char X3;
>> char X4;
>> char X5;
>> char X6;
>> } __attribute__((packed)) T2;
>>
>>This should assure the compiler ignores optomized alignment
>>and the members are packed head-to-tail in the three struct's.
>
>But it does not necessarily insure that it matches whatever
>alignment might be found on other platforms, and hence does not
>solve his portability problem. It might make for a much smaller
>file if a large number of such structures are written to a disk
>file. But the file will be no more portable across platforms
>than the larger version not using packed structs.
>
>It has the additional disadvantage of being non-Standard code
>which will compile only on a specific platform using a specific
>family of compilers.
>
> Floyd
Floyd --
This is true and I said much the same in my post as well.
However the it is sometimes necessary to read data from
a foreign binary file ( Andre said his data file was
created on a DOS box ).
When that is the case, the gcc __attribute__((packed))
precompiler directive is there to be used.
Other compilers will have similar directives, either on
the command line or as cpp directives.
I did not say it was a good thing to do, but if your
mission is to read someone else's data file and you
know that data struct is packed head-to-tail, the only
alternative would be to allocate a char array, define
offsets for the data elements, read the data into the
char buffer and use (a lot of) type casting all over
the place.
IMHO, the __attribute__((packed)) feature is a lot less
error prone and even more portable, in the event you do
need to do so.
-- kjh
--
============================================================
Konrad J. Hambrick | email: [EMAIL PROTECTED] |
1111 Seacoast Dr. Unit 41 | home: (619) 423-4451 |
Imperial Beach, CA 91932 | |
------------------------------
From: [EMAIL PROTECTED] (Paul Blum)
Subject: Recomendation for FTP and News reader
Date: Mon, 09 Aug 1999 15:27:38 GMT
I have installed Caldera 2.2 and KDE. Is there any FTP application
similar to ws_ftp in Windows 98 for Linux. Also, Is there any
newsreader similar to Free Agent. These are the programs I use in
Windows and would like something similar for Linux.
==================================================
= Paul Blum Pacific Grove, CA
= Email [EMAIL PROTECTED]
= Home Page http://www.pblum.com
==================================================
------------------------------
From: Leonard Evens <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: NT & Linux - dual boot
Date: Mon, 09 Aug 1999 11:11:58 -0500
"Stephen S." wrote:
>
> Windows will not boot linux directly bacause the NT boot loader
> doesn't understand the ext2 partition format. There was a third party
> utility that you could use that would patch the NT boot.ini and the
> loader files to get it to work correctly. I used to use it all the
> time. I think the name of it is BOOTPART. A search on google turned
> up this site: http://www.winimage.com/bootpart.htm
>
> Good luck
>
> www.mass-pc.com
This is not quite correct. The NT boot loader does not have to know
anything about the ext2 file system. But you do need to put
a copy of the loader code in the NT partition. This is all
described in the Linux+NT-loader mini HOWTO.
>
> On 2 Aug 1999 15:30:33 GMT, Nev <[EMAIL PROTECTED]> wrote:
>
> >I am a newcomer to Linux (SUSE 6.1) and I have the following question.
> >
> >
> >
> >I wish to install NT on my primary master IDE (IDE0 - hda) and Linux on the
> >
> >secondary master (IDE1 - hdc). I have got NT running OK on IDE0 and Linux
> >
> >can only be booted from floppy. I have tried the "copy 512 bytes and save
> >
> >as bootsek.lin to the root directory of NT etc" but this didn't work.
> >
> >
> >
> >I cannot boot from Linux by swapping boot order in the BIOS getting error
> >
> >message "LIL-" to both attempts. My hdc is structured as follows -
> >
> >hdc1=boot, hdc2=swap & hdc3=root as per standard install. The LILO I
> >
> >believe is in the hdc1.
> >
> >
> >
> >Are there any suggestions as to what procedure I can follow to achieve the
> >
> >"dual boot" of NT & Linux?
> >
> >------------------ Posted via SearchLinux ------------------
> > http://www.searchlinux.com
--
Leonard Evens [EMAIL PROTECTED] 847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208
------------------------------
** 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
******************************