Re: [Oberon] Port of XML to Native/Plugin Oberon (was Re: Antwort: DAV porting question)
John Drake <jmdrake_98@yahoo.com>:
Ok. Here's the code. http://freezope2.nipltd.net/jmdrake/Oberon/xmlport.zip Thanks John, I will give it a try on the weekend.
Regards, Edgar -- edgar@edgarschwarz.de "http://www.edgarschwarz.de" "http://www.edgar-schwarz.de/forum/oberon" Running Active Oberon Make it as simple as possible, but not simpler. Albert Einstein
Hi, I've been using Oberon and BlackBox on and off for several years now. This week I installed Native Oberon 2.3.6 on bare hardware on a dedicated PC (IBM Thinkpad 760ED). The compiler is detecting errors, and listing them in the log, but it isn't marking them in the source. I've looked for clues in the documentation, but have found none. Can somebody tell me what I have to do/undo to get the compiler to mark the errors in the source, please? Thanks, Bob Walkden
Hi, Sunday, July 6, 2003, 7:08:30 PM, you wrote:
I've been using Oberon and BlackBox on and off for several years now. This week I installed Native Oberon 2.3.6 on bare hardware on a dedicated PC (IBM Thinkpad 760ED). The compiler is detecting errors, and listing them in the log, but it isn't marking them in the source. I've looked for clues in the documentation, but have found none. Can somebody tell me what I have to do/undo to get the compiler to mark the errors in the source, please?
Thanks,
Bob Walkden
Oops! Forget I asked that. Just after I sent the message I realised what I was doing wrong. I was expecting the compiler to mark them automatically. Instead I have to ask it to do that. -- Cheers, Bob mailto:bob@web-options.com
I have BlueBottle and Linux on a laptop. Each has their own hard disk, which means I sacrificed my floppy drive slot for the extra hard drive. To be able to move files between these two OS's, I created a DOS partition (type 11: Win95/Win98, Fat32) in Linux using fdisk, and then formatted it using the command mkdosfs. That worked. I can move files to/from this partition in Linux, and in BlueBottle I can read files off of this partition (after it is mounted, of course). However, when I try to write from my AOS partition into my DOS partition in BlueBottle using System.CopyFiles AOS:file.name => DOS:file.name ~ I get the error message: AOS:file.name => DOS:file.name copying failed Any ideas on what is wrong? Thanks, Al -- Alan D. Freed, Ph.D. E-mail: Alan.D.Freed@nasa.gov (Tuesdays & Thursdays) Polymers Branch FreedA@bme.ri.ccf.org (Mondays) NASA's Glenn Research Center AlFreed@ohio.net (Wednesdays & Fridays)
I can move files to/from this partition in Linux, and in BlueBottle I can read files off of this partition (after it is mounted, of course). However, when I try to write from my AOS partition into my DOS partition in BlueBottle using System.CopyFiles AOS:file.name => DOS:file.name ~ I get the error message: AOS:file.name => DOS:file.name copying failed
Any ideas on what is wrong?
Maybe the FAT32 file system has the "cleanly unmounted" flag not set. This can happen if the system crashed before. I don't know if Linux will set the flag, or if it just ignores it. Check the kernel log for suspicious messages like "mounted read-only". In this case you could force Bluebottle to mount the partition as r/w, using ",X" at the end of the mount command. This will then ignore the flag. If cleanly unmounted, the flag will be restored, so the next mount should work, even without the ,X . The safe way would be to run a scavenger like scandisk. The Bb scavenger is work in progress, not to be expected before the 31.12.03 release ;-) --Thomas
I can move files to/from this partition in Linux, and in BlueBottle I can read files off of this partition (after it is mounted, of course). However, when I try to write from my AOS partition into my DOS partition in BlueBottle using System.CopyFiles AOS:file.name => DOS:file.name ~ I get the error message: AOS:file.name => DOS:file.name copying failed
Any ideas on what is wrong?
Maybe the FAT32 file system has the "cleanly unmounted" flag not set. This can happen if the system crashed before. I don't know if Linux will set the flag, or if it just ignores it. Check the kernel log for suspicious messages like "mounted read-only". In this case you could force Bluebottle to mount the partition as r/w, using ",X" at the end of the mount command. This will then ignore the flag. If cleanly unmounted, the flag will be restored, so the next mount should work, even without the ,X .
I mount my DOS partition via the Oberon.Text System = { InitCommands = { ... { OFSTools.Mount DOS FatFS IDE2#05 ~ } The System.Log reports this event as DOS: mounted I changed the command to read as { OFSTools.Mount DOS FatFS IDE2#05 , X ~ } The outcome is the same, and in both cases I get failed file copying from the AOS to DOS partitions. I thought the file manager might have something to do with this so I removed it from my InitCommands string. What I can say is that when I had the file manager being installed, that when I closed Oberon and the file manager the mouse was frozen on the BlueBottle screen - even Ctrl-Alt-Del did nothing. Not loading the file manager fixed this problem, so there must be a bug in the file manager somewhere. While I'm on the topic of the file manager, may I suggest adding two capabilities to the manager. It already has buttons for: open, delete and rename. Can buttons be added for copy and move (which are handy when you want to handle files across partitions).
The safe way would be to run a scavenger like scandisk. The Bb scavenger is work in progress, not to be expected before the 31.12.03 release ;-)
Sounds like a useful tool. Al
--Thomas
-- Oberon@inf.ethz.ch mailing list for ETH Oberon and related systems http://www.lists.inf.ethz.ch/mailman/listinfo/oberon
-- Alan D. Freed, Ph.D. E-mail: Alan.D.Freed@nasa.gov (Tuesdays & Thursdays) Polymers Branch FreedA@bme.ri.ccf.org (Mondays) NASA's Glenn Research Center AlFreed@ohio.net (Wednesdays & Fridays)
The System.Log reports this event as Call System.OpenKernelLog to open the kernel log. (The mount error is logged on the system level, not in Oberon)
While I'm on the topic of the file manager, may I suggest adding two capabilities. Yes... some work is needed :-(
For now you can use Ctrl-C to copy a file and Ctrl-V to place it at the new place. It is also possible to open two managers and drag&drop inbetween. --Thomas
Call System.OpenKernelLog to open the kernel log. (The mount error is logged on the system level, not in Oberon)
Yes, the log stated that the partition was not cleanly unmounted.
Instead of OFSTools.Mount DOS FatFS IDE2#05 , X ~ try OFSTools.Mount DOS FatFS IDE2#05,X without spaces. You can start it by hand (first unmounting the Read-Only mounted DOS with OFSTools.Unmount DOS ~) --Thomas
I got it. Apparently there can be no spaces around the ",X". Changing { OFSTools.Mount DOS FatFS IDE2#05 , X ~ } to { OFSTools.Mount DOS FatFS IDE2#05,X ~ } fixed the problem and I can now write to my DOS partition. Thanks, Al
I can move files to/from this partition in Linux, and in BlueBottle I can read files off of this partition (after it is mounted, of course). However, when I try to write from my AOS partition into my DOS partition in BlueBottle using System.CopyFiles AOS:file.name => DOS:file.name ~ I get the error message: AOS:file.name => DOS:file.name copying failed
Any ideas on what is wrong?
Maybe the FAT32 file system has the "cleanly unmounted" flag not set. This can happen if the system crashed before. I don't know if Linux will set the flag, or if it just ignores it. Check the kernel log for suspicious messages like "mounted read-only". In this case you could force Bluebottle to mount the partition as r/w, using ",X" at the end of the mount command. This will then ignore the flag. If cleanly unmounted, the flag will be restored, so the next mount should work, even without the ,X .
I mount my DOS partition via the Oberon.Text
System = { InitCommands = { ... { OFSTools.Mount DOS FatFS IDE2#05 ~ }
The System.Log reports this event as
DOS: mounted
I changed the command to read as
The outcome is the same, and in both cases I get failed file copying from the AOS to DOS partitions. I thought the file manager might have something to do with this so I removed it from my InitCommands string. What I can say is that when I had the file manager being installed, that when I closed Oberon and the file manager the mouse was frozen on the BlueBottle screen - even Ctrl-Alt-Del did nothing. Not loading the file manager fixed this problem, so there must be a bug in the file manager somewhere. While I'm on the topic of the file manager, may I suggest adding two capabilities to the manager. It already has buttons for: open, delete and rename. Can buttons be added for copy and move (which are handy when you want to handle files across partitions).
The safe way would be to run a scavenger like scandisk. The Bb scavenger is work in progress, not to be expected before the 31.12.03 release ;-)
Sounds like a useful tool.
Al
--Thomas
-- Oberon@inf.ethz.ch mailing list for ETH Oberon and related systems http://www.lists.inf.ethz.ch/mailman/listinfo/oberon
-- Alan D. Freed, Ph.D. E-mail: Alan.D.Freed@nasa.gov (Tuesdays & Thursdays) Polymers Branch FreedA@bme.ri.ccf.org (Mondays) NASA's Glenn Research Center AlFreed@ohio.net (Wednesdays & Fridays)
It depends whether you are compiling with Compiler.Compile or with Builder.Compile. Only Builder automatically marks the errors in the source code. -Patrik ----- Original Message ----- From: "Bob Walkden" <bob@web-options.com> To: <oberon@inf.ethz.ch> Sent: Sunday, July 06, 2003 8:08 PM Subject: [Oberon] Native Oberon: compiler not marking errors
Hi,
I've been using Oberon and BlackBox on and off for several years now. This week I installed Native Oberon 2.3.6 on bare hardware on a dedicated PC (IBM Thinkpad 760ED). The compiler is detecting errors, and listing them in the log, but it isn't marking them in the source. I've looked for clues in the documentation, but have found none. Can somebody tell me what I have to do/undo to get the compiler to mark the errors in the source, please?
Thanks,
Bob Walkden
-- Oberon@inf.ethz.ch mailing list for ETH Oberon and related systems http://www.lists.inf.ethz.ch/mailman/listinfo/oberon
participants (5)
-
Alan Freed -
Bob Walkden -
Edgar@EdgarSchwarz.de -
Patrik Reali -
Thomas Frey