Linux-Development-Sys Digest #799, Volume #7 Tue, 25 Apr 00 12:15:17 EDT
Contents:
Ext2Fs questions (Gabrielo)
Re: MICROSOFT IT THRU! MICROSOFT IS THRU! (Alun Jones)
Re: GLIBC 2 - Which version. (Markus Kossmann)
Re: MICROSOFT IT THRU! MICROSOFT IS THRU! (Sean LeBlanc)
Re: What does this mean? (Paul Kimoto)
System.map vs. /proc/ksyms (Dana Echtner)
How legal is it??? (_Steven Chang)
Re: System.map vs. /proc/ksyms (Dana Echtner)
Re: How legal is it??? ([EMAIL PROTECTED])
cross-compile for SPARC? on x86? (Ronnie Corny)
Re: How legal is it??? (Blue Shadow)
File formats for bitmap and vector data?
My experience installing red hat from CD-ROM
Re: MS caught breaking web sites (Hexdump)
Re: How compatible is Linux with .. Linux (Nix)
Re: MS caught breaking web sites (Aaron Kulkis)
Re: MS caught breaking web sites (Aaron Kulkis)
Re: Allocating memory at a specific physical locaation (Mathias Waack)
Re: SB drivers ("Luke Bond")
serial/parallel port programming... ("Luke Bond")
Re: install problems ("Ng, Choon Hooi")
Re: Any validating XML Parsers? (M Sweger)
Re: cross-compile for SPARC? on x86? (Johan Kullstam)
Re: Porting our compiler to Linux (Michel Dagenais)
Re: serial/parallel port programming... (Martin Kahlert)
----------------------------------------------------------------------------
From: Gabrielo <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development,comp.os.linux.development.apps
Subject: Ext2Fs questions
Date: Mon, 24 Apr 2000 21:29:50 +0300
Hi
I want to add a mechanism to separate the block allocation for file from
writing to it i.e. it will be possible to allocate a file of size X
without writing anything to it and no other file will ever get the same
blocks
( unless the file was remove of-course).
As far as i understood, the current implementations try to do the opposite
for example if a process seeks ahead 1MB and than performs write, it would
result with a file with "hole" inside.
The problem is that some high-performance application( like the one I'd
involve with ) would like sometimes to allocate the file first without
writing any data to it just to occupy the blocks, and later access it
directly, knowing that those blocks belong to their file.
To do this i must intervene with the ext2fs block allocator. so i need to
know some things
First how can i lock the blocks bitmap before taking control, to make sure
that
no other file tries to get the same blocks ?
Is it possible to lock only Block-Group block-bitmap or that i must lock the
whole superblock?
Second I saw that the block allocation function always writes zeros to the
block
before it returns its address.
This looks like a redundant action for my case which involves huge files
what
can results with big unnecessary slowdown for the system.
Is this really necessary or that it was only done to ensure that user won't
get
access to old data of other user ?
Is there a way to avoid the zero fillings or that i must write my own
allocation code?
Thanks in advance
Benhanokh Gabriel
=============================================================================
"If you think C++ is not overly complicated, just what is a
protected abstract virtual base class with a pure virtual private
destructor,
and when was the last time you needed one?"
-- Tom Cargil, C++ Journal, Fall 1990. --
------------------------------
From: [EMAIL PROTECTED] (Alun Jones)
Crossposted-To:
comp.os.linux.advocacy,comp.os.ms-windows.advocacy,comp.os.ms-windows.nt.advocacy,comp.os.linux.networking,comp.os.linux.security,comp.os.ms-windows.networking.tcp-ip,alt.conspiracy.area51
Subject: Re: MICROSOFT IT THRU! MICROSOFT IS THRU!
Date: Tue, 25 Apr 2000 01:15:29 GMT
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
> On Sun, 16 Apr 2000 02:05:50 GMT,
> >But the reason they're telling you to delete it is completely unrelated to
> >this crazy "back door" nonsense.
>
> oh really? then why have you delete it? the buffer overflow was announced
> after the delete suggestion by M$ yes?
Hey, if someone were to publicise claims of a back door in a DLL in my own
software, and I noticed that the DLL wasn't even necessary for distributing
the software, my first response would be "sure, delete it - you don't need
it anyway".
I wonder if you've bothered to see if your web server is even _loading_ the
DLL (simple test - try and delete the DLL while the server is running;
complex test - create your own DLL under that name that logs when it runs).
Alun.
~~~~
--
Texas Imperial Software | Try WFTPD, the Windows FTP Server. Find us
1602 Harvest Moon Place | at web site http://www.wftpd.com or email
Cedar Park TX 78613 | us at [EMAIL PROTECTED] VISA / MC accepted.
Fax +1 (512) 378 3246 | NT-based ISPs, be sure to read details of
Phone +1 (512) 378 3246 | WFTPD Pro, NT service version - $100.
------------------------------
From: Markus Kossmann <[EMAIL PROTECTED]>
Subject: Re: GLIBC 2 - Which version.
Date: Tue, 25 Apr 2000 04:29:50 +0200
[EMAIL PROTECTED] wrote:
[...]
> But I used glibc-2.1.3.tar.gz, glibc-crypt-2.1.tar.gz,
> glibc-linuxthreads-2.1.3.tar.gz, and glibc-localedata-2.0.6.tar.gz (most
> recent listed) and configure seemed to like that. We'll see how that
> goes with a fixed make.
>
Don't use glibc-localedata-2.0.6.tar.gz. The localedata was integrated
into the standard glibc-2.1 sources.
--
Markus Kossmann
[EMAIL PROTECTED]
------------------------------
Crossposted-To:
comp.os.linux.advocacy,comp.os.ms-windows.advocacy,comp.os.ms-windows.nt.advocacy,comp.os.linux.networking,comp.os.linux.security,comp.os.ms-windows.networking.tcp-ip,alt.conspiracy.area51
Subject: Re: MICROSOFT IT THRU! MICROSOFT IS THRU!
From: Sean LeBlanc <[EMAIL PROTECTED]>
Date: Tue, 25 Apr 2000 03:17:22 GMT
Or run listdlls.exe.
[EMAIL PROTECTED] (Alun Jones) writes:
> In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
> > On Sun, 16 Apr 2000 02:05:50 GMT,
> > >But the reason they're telling you to delete it is completely unrelated to
> > >this crazy "back door" nonsense.
> >
> > oh really? then why have you delete it? the buffer overflow was announced
> > after the delete suggestion by M$ yes?
>
> Hey, if someone were to publicise claims of a back door in a DLL in my own
> software, and I noticed that the DLL wasn't even necessary for distributing
> the software, my first response would be "sure, delete it - you don't need
> it anyway".
>
> I wonder if you've bothered to see if your web server is even _loading_ the
> DLL (simple test - try and delete the DLL while the server is running;
> complex test - create your own DLL under that name that logs when it runs).
>
> Alun.
> ~~~~
>
> --
> Texas Imperial Software | Try WFTPD, the Windows FTP Server. Find us
> 1602 Harvest Moon Place | at web site http://www.wftpd.com or email
> Cedar Park TX 78613 | us at [EMAIL PROTECTED] VISA / MC accepted.
> Fax +1 (512) 378 3246 | NT-based ISPs, be sure to read details of
> Phone +1 (512) 378 3246 | WFTPD Pro, NT service version - $100.
------------------------------
From: [EMAIL PROTECTED] (Paul Kimoto)
Subject: Re: What does this mean?
Date: 24 Apr 2000 23:41:56 -0500
Reply-To: [EMAIL PROTECTED]
In article <pe5N4.117$[EMAIL PROTECTED]>, Michael wrote:
> I found this in a piece of Solaris code, can anyone tell me what it means:
This would likely mean the same thing on Linux as on Solaris,
although it is still probably off-topic for c.o.l.d.SYSTEM.
> typedef thing {
> .
> .
> .
> } identifier, newidentifier __attribute__ ((packed));
>
> What does "__attribute__ ((packed))" mean?!?!?
This is a gcc extension documented in the gcc info pages; see the node
called "Specifying Attributes of Variables".
--
Paul Kimoto <[EMAIL PROTECTED]>
------------------------------
From: [EMAIL PROTECTED] (Dana Echtner)
Subject: System.map vs. /proc/ksyms
Date: 25 Apr 2000 04:16:02 GMT
I'm trying to compile a module which intercepts the unlink system call.
So far so good but I'm stuck on one point.
By using struct dentry I can get the id of the filesystem that my file
being deleted is on. How can I convert this id to the name of the mount
point?
I found lookup_vfsmnt but when I try to use it I get
./syscall.o: unresolved symbol lookup_vfsmnt
Now lookup_vfsmnt is in my System.map but not in /proc/ksyms
So my question is, what can I do to be able to use lookup_vfsmnt? If I
can't use it, what can I use instead to convert a filesystem ID into its
current mount point.
Thanks!
Dana
--
Dana Echtner \ Unix Systems Administrator
[EMAIL PROTECTED] / IITS, Concordia University, Montreal, Canada
rw-rw-rw-: The file protection of the beast
------------------------------
From: _Steven Chang <[EMAIL PROTECTED]>
Crossposted-To:
alt.comp.lang.learn.c-c++,comp.lang.asm.x86,comp.lang.c++,comp.os.linux.development.apps,microsoft.public.windowsnt.protocol.tcpip,microsoft.public.win32.programmer.tools
Subject: How legal is it???
Date: 25 Apr 2000 04:35:15 GMT
Hi there,
I'm thinking of creating a stealth application that will automatically
launch itself when the OS starts. I would like the application to
record the keystrokes made by users, and possibly the mouse movements as
well. Then, probably buffer these data and have them sent to a server
over the internet periodically.
Assuming that the user has provided consent for having this program
installed on one's computer, how legal will it be for such program to be
running under
a) Linux?
b) Windows 98/NT/2000?
I would expect this not such a big deal with LINUX, but what about the
privacy issue?
Any help or referral is appreciated.
Thanks a lot,
Steven
--
Remove nospam
------------------------------
From: [EMAIL PROTECTED] (Dana Echtner)
Subject: Re: System.map vs. /proc/ksyms
Date: 25 Apr 2000 04:44:24 GMT
In article <8e3662$ur1$[EMAIL PROTECTED]>,
Dana Echtner <[EMAIL PROTECTED]> wrote:
>Now lookup_vfsmnt is in my System.map but not in /proc/ksyms
Well, naturally, 10 minutes after I posted this my husband found
ksyms.c. We added the symbol lookup_vfsmnt for exporting and now I can
load my module.
So my question is now
Instead of having to rebuild the kernel with the extra symbol exported,
is there a different way to convert a system ID to its mount point?
Thanks
D.
--
Dana Echtner \ Unix Systems Administrator
[EMAIL PROTECTED] / IITS, Concordia University, Montreal, Canada
rw-rw-rw-: The file protection of the beast
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To:
alt.comp.lang.learn.c-c++,comp.lang.asm.x86,comp.lang.c++,comp.os.linux.development.apps,microsoft.public.windowsnt.protocol.tcpip,microsoft.public.win32.programmer.tools
Subject: Re: How legal is it???
Date: 25 Apr 2000 05:13:48 GMT
On 2000-04-25 [EMAIL PROTECTED] said:
>Hi there,
>I'm thinking of creating a stealth application that will
>automatically launch itself when the OS starts. I would like the
>application to record the keystrokes made by users, and possibly
>the mouse movements as well. Then, probably buffer these data and
>have them sent to a server over the internet periodically.
>Assuming that the user has provided consent for having this program
>installed on one's computer, how legal will it be for such program
>to be running under
>a) Linux?
>b) Windows 98/NT/2000?
>I would expect this not such a big deal with LINUX, but what about
>the privacy issue?
>Any help or referral is appreciated.
No problem with any of this, as long as you have written consent.
Many businesses and Guvvermint offices are already using programs
similar to what you propose, and have used them for years...often
surreptitiously.
It's a paranoid/megalomaniac dream come true: "spying" on the peons.
------------------------------
From: [EMAIL PROTECTED] (Ronnie Corny)
Crossposted-To: comp.os.linux.advocacy,comp.os.linux.development.apps
Subject: cross-compile for SPARC? on x86?
Date: Tue, 25 Apr 2000 05:38:33 GMT
I want to set up my sparcstation 10 as a pure server (running redhat 6.2) and
so would prefer not to put compilers and dev tools on it, however, I do need
to be able to update the kernel and other apps... what's the best solution?
Is there a way to compile the sparc-bins on my x86 computers running
slackware... if so, are there any faqs or docs for me to consult? I've
searched around the faqs and don't see this mentioned at all... maybe people
who use ppc or alphas would have similar situation?
or should I just rely on rpms from redhat?
thanks
rgds,
- ron
------------------------------
From: Blue Shadow <[EMAIL PROTECTED]>
Crossposted-To: comp.lang.c++,comp.os.linux.development.apps
Subject: Re: How legal is it???
Date: Tue, 25 Apr 2000 06:30:05 GMT
It is very legal. The corps have been doing it for years. It's
called 'productivity software'. It's a legal way to spy on your
employees. Now, in a more mainstream aspect, as long as your 'target'
gives you the ok to run this little app, no problem. If they don't, then
you could get into some problems. As for the privacy issue, it violates
every point of that, but hey! As long as Big Brother and the Corps are
doing it, why can't you? If you can write it, and package it without
letting the LUser know about it, then what's the worry?
Under Linux it's OK, but harder, as you may run into firewalls, and other
server side issues.
Under Win 9x you may get into problems with Micro$oft, but who doesn't.
If you even look at the licensing agreement wrong you violate it. "Click
yes to sign over you firstborn, or else the program will not work!"
Micro$oft sucks.
-Blue Shadow
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: <[EMAIL PROTECTED]>
Subject: File formats for bitmap and vector data?
Date: Mon, 24 Apr 2000 23:34:01 -0700
I am writing a small application which verifies the format of graphics
files,
which students then upload to our web site (www.LaserEnlighten.com) for
laser-cutting. This application needs to import only the most common
formats of vector and bitmapped graphics on each platform - BMP, compressed
BMP, and DXF on windoze, PICT and PICT vector on the mac (actually anything
that QuickTime can read, which is a lot)... and ??? and ??? on Linux (please
fill in the ???'s!)
Also, if you know of any source code for reading these formats, that would
be appreciated. I want to make my laser cutting/engraving service, which is
designed for craftspersons and Industrial Arts/Fine Arts students, available
to all the major OS's, incl Linux.
Thank you,
Scott Clough
[EMAIL PROTECTED]
www.LaserEnlighten.com - Burning to Learn!
------------------------------
From: <[EMAIL PROTECTED]>
Subject: My experience installing red hat from CD-ROM
Date: Mon, 24 Apr 2000 23:30:53 -0700
Maybe this will save someone some headaches - I tried on two PC's to install
red hat 6.1 from the CD-ROM after booting each with a minimal MS-DOS floppy,
just enough to access the CD-ROM with MSCDEX and the CD driver... and
neither Linux install could find the CD-ROM controller (one of which was
SCSI, and one Creative Labs/Panasonic). So I was quietly cursing Linux,
when I decided to make a boot floppy from the Linux CD, boot that, and try
the install - and it WORKED PERFECT ON BOTH MACHINES. (Sorry to yell.)
So even though installing from MS-DOS is outlined in the red hat docs as the
next best thing if you can't boot from the CD or from the floppy they give
you (BTW - my in-box Linux floppy was bad, which is what started this whole
adventure), I would not recommend it - make yourself a Linux boot floppy, I
think you'll be happier.
Scott Clough
Clough Labs, LLC
www.LaserEnlighten.com - Burning to Learn!
------------------------------
From: [EMAIL PROTECTED] (Hexdump)
Crossposted-To:
comp.os.linux.advocacy,comp.os.ms-windows.advocacy,comp.os.ms-windows.nt.advocacy,comp.os.linux.networking,comp.os.linux.security,comp.os.ms-windows.networking.tcp-ip
Subject: Re: MS caught breaking web sites
Date: 25 Apr 2000 07:26:34 GMT
Reply-To: [EMAIL PROTECTED]
On Mon, 24 Apr 2000 21:51:03 GMT, Mike Marion wrote:
[snip]
>My mom still calls the whole case the CPU, I can't convince her that the CPU is
>just the chip.
[snip]
She's not the only one. CompUSA's Technology Assurance Program Owner's
Manual (from 1997) on page 14, under the section titled "Preventive
Maintenance for CPUs, Laptops, & Printers" continuously refers to a PC as
a CPU.
My favorite line is the one where they state they will "Remove dust/debris
from inside the CPU." ;)
--
Hexdump
Registered Linux User # 168737
------------------------------
From: Nix <$}xinix{[email protected]>
Crossposted-To: comp.os.linux.development.apps
Subject: Re: How compatible is Linux with .. Linux
Date: 24 Apr 2000 22:13:23 +0100
[EMAIL PROTECTED] (Klamer Schutte) writes:
> We were under the impression that glibc 2.1 should be a minor
> increment to glibc 2.0 -- well not. So much for this reasoning.
glibc-2.1 *is* a minor increment. Formally it breaks binary
compatibility, as it locks away internal-only library interfaces, but
that only broke a few very badly behaved programs.
> And yes, that is my reason for still running a glibc2.0 system
> with a fairly old egcs and glibc version -- if it ain't broken
> don't fix it!
>
> (interpretating ain't broken as: works for me without problems.)
You don't use threads or mozilla, do you? ;)
--
Root beer --- the drink of the BOFH.
------------------------------
From: Aaron Kulkis <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.advocacy,comp.os.ms-windows.advocacy,comp.os.ms-windows.nt.advocacy,comp.os.linux.networking,comp.os.linux.security,comp.os.ms-windows.networking.tcp-ip,alt.conspiracy.area51
Subject: Re: MS caught breaking web sites
Date: Tue, 25 Apr 2000 05:20:52 -0400
Reply-To: [EMAIL PROTECTED]
Gary Connors wrote:
>
> in article [EMAIL PROTECTED], laugh at [EMAIL PROTECTED] wrote on
> 4/16/00 1:07 AM:
>
> > Robert,
>
> > And with Linux growing to 35% of all servers and 10% of desktops this year
> > alone
> > (half of those being NT replacements), there won't be much of an audience
> > for any future releases of windows when and if they do make it out.
>
> If its a "NT replacement" is not on the desktop. In the real world, NT is
> not a desktop OS.
Of course not. Microsoft keeps user's expectations low...
--
Aaron R. Kulkis
Unix Systems Engineer
ICQ # 3056642
H: Knackos...you're a retard.
A: The wise man is mocked by fools.
B: "Jeem" Dutton is a fool of the pathological liar sort.
C: Jet plays the fool and spews out nonsense as a method of
sidetracking discussions which are headed in a direction
that she doesn't like.
D: Jet claims to have killfiled me.
E: Jet now follows me from newgroup to newsgroup
...despite (D) above.
F: Neither Jeem nor Jet are worthy of the time to compose a
response until their behavior improves.
G: Unit_4's "Kook hunt" reminds me of "Jimmy Baker's" harangues against
adultery while concurrently committing adultery with Tammy Hahn.
------------------------------
From: Aaron Kulkis <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.advocacy,comp.os.ms-windows.advocacy,comp.os.ms-windows.nt.advocacy,comp.os.linux.networking,comp.os.linux.security,comp.os.ms-windows.networking.tcp-ip,alt.conspiracy.area51
Subject: Re: MS caught breaking web sites
Date: Tue, 25 Apr 2000 05:22:34 -0400
Reply-To: [EMAIL PROTECTED]
Jianmang Li wrote:
>
> Gary Connors wrote:
> >
> > in article [EMAIL PROTECTED], laugh at [EMAIL PROTECTED] wrote on
> > 4/16/00 1:07 AM:
> >
> > > Robert,
> >
> > > And with Linux growing to 35% of all servers and 10% of desktops this year
> > > alone
> > > (half of those being NT replacements), there won't be much of an audience
> > > for any future releases of windows when and if they do make it out.
> >
> > If its a "NT replacement" is not on the desktop. In the real world, NT is
> > not a desktop OS.
> I'm always puzzled when people calling Desktop and server. From software
> point of view, what is the different. MS had difficulties to let Windows9x
> offering network services so it call it Desktop. In Unix world, if you got the
> right hardware nobody stop you offering network services from your "Desktop" -
> they are the same.
Because people from Microsoft land can't imagine the peer-peer model.
> --
> Jianmang Li
> Stachanov
> Phone: +31-72-5646664 +31-6-22977904
> Fax: +31-72-5627410
--
Aaron R. Kulkis
Unix Systems Engineer
ICQ # 3056642
H: Knackos...you're a retard.
A: The wise man is mocked by fools.
B: "Jeem" Dutton is a fool of the pathological liar sort.
C: Jet plays the fool and spews out nonsense as a method of
sidetracking discussions which are headed in a direction
that she doesn't like.
D: Jet claims to have killfiled me.
E: Jet now follows me from newgroup to newsgroup
...despite (D) above.
F: Neither Jeem nor Jet are worthy of the time to compose a
response until their behavior improves.
G: Unit_4's "Kook hunt" reminds me of "Jimmy Baker's" harangues against
adultery while concurrently committing adultery with Tammy Hahn.
------------------------------
From: Mathias Waack <[EMAIL PROTECTED]>
Subject: Re: Allocating memory at a specific physical locaation
Date: Tue, 25 Apr 2000 11:26:41 +0200
Hi,
Timur Tabi wrote:
> I'm writing a device driver that needs to be able to allocate a chunk
> (about 4-8KB) of physical memory. That is, I know the true physical
> address of this memory block, and I need the kernel to give it to me.
> Obviously, the kernel will need to allocate some virtual memory and map
> it to the physical block first.
Use the "mem=x" command line switch for your kernel, to reserve some
space for you. After that you can use the remap_page_range function
to map the space. So you can use only the highest part of memory. If you
need other parts, write you own nopage-handler which maps this pages.
> Ideally, I need to be able to grab this memory block even if it is
> currently used. That is, if some virtual memory area is mapped to this
> physical block, the kernel will need to copy the data to some other
> physical memory block, and remap the virtual area to the new block, and
> then let me have the physical block.
This is possible if you are really very familar with the internal of
the kernel. But in this case, you would'nt ask such questions;)
I'm not an expert, I can't help you with this.
> In addition, I need to be able to alter the "cacheability" of the memory
> block. For these blocks, caching needs to be disabled, and
> write-combining needs to be turned on.
Use the mtrr_add and mtrr_del funtions for this purpose.
Mathias
--
Mathias Waack | [EMAIL PROTECTED]
Tel.: +49 621 181 2717 Fax.: +49 621 181 2713
------------------------------
From: "Luke Bond" <[EMAIL PROTECTED]>
Subject: Re: SB drivers
Date: Tue, 25 Apr 2000 20:01:04 +1000
check out www.alsa-project.org and download the drivers there.
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]...
> Hi,
> I'm relatively new to the Linux platform and I was wondering if anyone
> could tell me where I'd find drivers for my SB Awe 64? I don't know if
> it makes any difference, but I'm running Slackware.
> Thanks,
>
> Briano.
>
------------------------------
From: "Luke Bond" <[EMAIL PROTECTED]>
Subject: serial/parallel port programming...
Date: Tue, 25 Apr 2000 20:06:02 +1000
hi all,
i'm beginning a project for which i want to develop a little circuit with
some switches and buttons and dials, etc. and connect it up to the serial or
parallel port to use the components as triggers for part of my program.
what i'm wondering is: am i better off using the serial or parallel port?
where do i look for help? has anyone had success with this kinda thing? and
am i posting to the right newsgroup?
thanks in advance,
-Luke
------------------------------
From: "Ng, Choon Hooi" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux
Subject: Re: install problems
Date: Tue, 25 Apr 2000 18:02:01 +0800
Reply-To: [EMAIL PROTECTED]
hmmm, this is hard to say what exactly is the prob. Why dont u try making
a boot disk and boot it from drive a: instead? depends on the distros,
some come with setup utility that guide u thro the installation process. i
know RH does have.
go back to dos/windozz and look at the content of the RH cd. i believe
there is a directory something like 'dosutils'. in there u can find dos
utilities to make the bootdisk.
customer wrote:
> When I am trying to install linux redhat 6.1 off of a single cd from
> cheapbytes.com, the install program boots off of the cd and begins the
> hardware check. After this though the screen goes completley white,
> and freezes. Can someone please help me with this problem.
------------------------------
From: [EMAIL PROTECTED] (M Sweger)
Crossposted-To: comp.os.linux.development.apps
Subject: Re: Any validating XML Parsers?
Date: 25 Apr 2000 11:07:46 GMT
Reply-To: [EMAIL PROTECTED]
Will this tool validate the xml tree structure to insure that the tags appear
in the order expected? Most validating parsers seem to make sure that:
1) there is a begin and end tag, 2) that the nested tags are ok i.e. has
and end tag. But they don't make sure that tags appear in a certain order.
So if I have
< book>my book
< title> my title</title>
<chapter>My chapter
<paragraph> my para </paragraph>
</chapter>
</book>
that the tag names appear in this tree strutured order and not some other
variation.
I can see that the tool(s) may validate the data in the tag agains't the
data type in the DTD, but not agains't the rigid tree structured order.
Unless I've missed something. The same applies to schemas.
What I'm trying to figure out is how they do the tree structure validation.
SAX doesn't create a tree ( it is event based). Thus, one must create the
tree which must be validated for structure.
[EMAIL PROTECTED] wrote:
: In comp.os.linux.development.apps M Sweger <[EMAIL PROTECTED]> wrote:
: > I'm looking for a "validating" free XML parser which validates agains't
: > the DTD or the XML schema. I know about SAX, but it isn't a validating one;
: > nor are any of the Perl ones I've come across.
: nsgmls is a free, validating SGML parser which supports XML 1.0. See
: http://www.jclark.com and follow the link named SP. I think you'll
: find all of Mr Clark's tools to be the best of the lot.
: > Thanks for any info and leads to one.
: I'd also try comp.text.sgml, where all the experts hang out, and Robin
: Cover's web page, www.oasis-open.org/cover, which links to everything
: you could ever want.
: --
: Matt Gauthier <[EMAIL PROTECTED]>
--
Mike,
[EMAIL PROTECTED]
------------------------------
Crossposted-To: comp.os.linux.advocacy,comp.os.linux.development.apps
Subject: Re: cross-compile for SPARC? on x86?
From: Johan Kullstam <[EMAIL PROTECTED]>
Date: Tue, 25 Apr 2000 11:21:31 GMT
[EMAIL PROTECTED] (Ronnie Corny) writes:
> I want to set up my sparcstation 10 as a pure server (running redhat
> 6.2) and so would prefer not to put compilers and dev tools on it,
> however, I do need to be able to update the kernel and other apps...
> what's the best solution? Is there a way to compile the sparc-bins
> on my x86 computers running slackware... if so, are there any faqs
> or docs for me to consult? I've searched around the faqs and don't
> see this mentioned at all... maybe people who use ppc or alphas
> would have similar situation?
you can build a cross compiler. do web search on "gcc cross compiler"
on google. to build anything useful, you'll need all the sparc
libraries on your x86 machine too. also afaik you won't be able to
generate 64 bit code from a 32 bit platform.
cross-compilers are for when your target has some problem supporting a
native compiler. most of the time it's for an embedded system which
barely has an operating system, too little memory and no disk, weak
I/O to a user and therefore cannot support editing files let alone
compiling. the other case is where you want to generate binaries for
windows and cygwin is painfully slow on NT.
however, i would what everyone else does. just break down and install
a compiler. it won't steal resources when you're not using it. (well,
except for disk space but that's cheap enough these days.)
--
J o h a n K u l l s t a m
[[EMAIL PROTECTED]]
Don't Fear the Penguin!
------------------------------
Crossposted-To: comp.os.linux.development.apps
Subject: Re: Porting our compiler to Linux
From: Michel Dagenais <[EMAIL PROTECTED]>
Date: Tue, 25 Apr 2000 12:42:33 GMT
> It would be nice to have an object oriented M2 compiler that produced
> Windows and Unix code from the same source, but I'm not sure if that is
> a goal Mr. Black has in mind.
I would think that this is what Modula-3 is all about (http://m3.polymtl.ca/m3)
------------------------------
From: [EMAIL PROTECTED] (Martin Kahlert)
Subject: Re: serial/parallel port programming...
Date: 25 Apr 2000 12:59:37 GMT
Reply-To: [EMAIL PROTECTED]
[Posted and mailed]
In article <[EMAIL PROTECTED]>,
"Luke Bond" <[EMAIL PROTECTED]> writes:
> hi all,
>
> i'm beginning a project for which i want to develop a little circuit with
> some switches and buttons and dials, etc. and connect it up to the serial or
> parallel port to use the components as triggers for part of my program.
> what i'm wondering is: am i better off using the serial or parallel port?
> where do i look for help? has anyone had success with this kinda thing? and
> am i posting to the right newsgroup?
http://www.linuxdoc.org/HOWTO/mini/IO-Port-Programming.html
I would use parallel port, since that should be easier for
your hardware part.
Hope that helps,
Martin.
--
The early bird gets the worm. If you want something else for
breakfast, get up later.
------------------------------
** 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.development.system) 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-Development-System Digest
******************************