Re: [Flightgear-devel] Better way to edit XML files
Hi Christian although I might seem a died-in-the-hole windows follower... I grew up with CP/M and DOS command-lines... my memory of vi was from my discussions with my boss/colleague who was experimenting with Unixabout 20 years ago I seem to remember CP/M had a similarly obscurely named text editor No flame war about *nix from me we have a saying in Godzone (New Zealand) about one-eyednesshas the eye sight of a Cantebrian Rugby supporter ... some comments/by-lines from *nix users remind me of this saying :-) But I love rugby so take it all in stride Anything to improve the breed eh? Cheers and thanks for your comments :-D ene From: Christian Mayer [EMAIL PROTECTED] Reply-To: flightgear-devel@lists.sourceforge.net To: flightgear-devel@lists.sourceforge.net Subject: Re: [Flightgear-devel] Better way to edit XML files Date: Thu, 04 May 2006 00:35:16 +0200 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 dene maxwell schrieb: Very interested in VI ...IIRC it is *nix based? ...after quick google search, is VIM VI iMproved? Is there a windows based version of VI(M)? as I would like to see the XML syntax feature you mentioned. http://www.vim.org/ There's also the Windows version. Vim is the successor to vi, so you can safely use it. BTW: it's allways important to know the basic vi commands. You might have to log in remote on a machine and fix something - if at least something works, vi will also work... To stop a holy war: The whole world knows that insert favourite editor the best in the whole mulitverse, and everybody who doesn't believe it is an idiot. CU, Christian -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (MingW32) iD8DBQFEWTAjlhWtxOxWNFcRAuXOAJ91maZV9+AhLkcOk/2/gg1QK3xklQCfV1o1 jYM3gKYgphs/XG9FaiDQ4X0= =7kMI -END PGP SIGNATURE- --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel _ Find the coolest online games @ http://xtramsn.co.nz/gaming --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Better way to edit XML files
From: Curtis L. Olson And of course, every experienced unix professional knows the original vi was already perfect. Not every. Some switched to emacs and thereafter would install emacs first before doing anything with a new machine. :-) These so called improvements in vim are simply a bunch of dumb bandaids and cruches to help out those lazy people who don't have 6 months to learn *real* vi and who think every editor ought to work like notepad in windows. For those who don't know...vim works NOTHING like notepad. ;-) So what happens if you have to access a system remotely and the terminal emulation is broken so you can't do a full screen visual edit of a file. You better be able to find your way around in ed ... at least well enough to reconstruct an ascii terminfo file by hand from scratch! From any laptop with terminal emulation: cat ansi and then paste into the emulator. Better yet, these days it is almost (not completely) reasonable to refuse to work with equipment lacking either an ethernet port or a command line ftp/httpd client. Best, Jim -- Jim Wilson Kelco Industries PO Box 160 Milbridge, ME 04658 207-546-7989 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
RE: [Flightgear-devel] Better way to edit XML files
From: Curtis L. Olson And of course, every experienced unix professional knows the original vi was already perfect. Not every. Some switched to emacs and thereafter would install emacs first before doing anything with a new machine. :-) As mentioned here before, there are several commercial and some free XML editors that are very good. I've only really used OxygenXML much. If you are really serious about XML, I highly recommend it. If you are a FlightGear developer and are using it for only an open source project, I think you could negotiate the academic pricing level - especially if you give them some kind of notice, somehow. As an example of what a good XML editor can do for you: I have a schema set up for the JSBSim aircraft configuration files. When editing a JSBSim aircraft file in OxygenXML (for instance, c172r.xml), you can type in an element name, the editor will add the closing element tag, and if you right-click you can get a list of valid elements or attributes that can go inside the type element. If I was to add a pure_gain element, if I was to right-click in the tag I would see that name is a valid attribute that can be added to the pure_gain element tag. I would see that output is an optional element that can appear inside the pure_gain element. With the coming of JSBSim Commander, that approach to editing XML files may be going by the wayside, but for XML files that have (or will have) no GUI editor, it's a great way to go. An editor will give you syntax checking, se well. Jon --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid0709bid3057dat1642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Better way to edit XML files
On Wednesday 03 May 2006 23:44, Curtis L. Olson wrote: Christian Mayer wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 dene maxwell schrieb: Very interested in VI ...IIRC it is *nix based? ...after quick google search, is VIM VI iMproved? Is there a windows based version of VI(M)? as I would like to see the XML syntax feature you mentioned. http://www.vim.org/ There's also the Windows version. Vim is the successor to vi, so you can safely use it. BTW: it's allways important to know the basic vi commands. You might have to log in remote on a machine and fix something - if at least something works, vi will also work... To stop a holy war: The whole world knows that insert favourite editor the best in the whole mulitverse, and everybody who doesn't believe it is an idiot. And of course, every experienced unix professional knows the original vi was already perfect. These so called improvements in vim are simply a bunch of dumb bandaids and cruches to help out those lazy people who don't have 6 months to learn *real* vi and who think every editor ought to work like notepad in windows. So what happens if you have to access a system remotely and the terminal emulation is broken so you can't do a full screen visual edit of a file. You better be able to find your way around in ed ... at least well enough to reconstruct an ascii terminfo file by hand from scratch! Curt. vi !!! Monty-Python 'Luxury' sketch When I started out in computers it was all teletypewriters. In those days 32K (words) was state o'art. Ferrite core store and none o' yer fancy transistor memory. Mercury delay lines...blah blah blah./Monty-Python 'Luxury' sketch ;) LeeE --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Better way to edit XML files
Torsten Dreyer wrote: Is there a better way to edit FG XML files than using a text editor? There is also an syntax definition for XML in VI. Josh --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Better way to edit XML files
Christian Mayer wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 dene maxwell schrieb: Very interested in VI ...IIRC it is *nix based? ...after quick google search, is VIM VI iMproved? Is there a windows based version of VI(M)? as I would like to see the XML syntax feature you mentioned. http://www.vim.org/ There's also the Windows version. Vim is the successor to vi, so you can safely use it. BTW: it's allways important to know the basic vi commands. You might have to log in remote on a machine and fix something - if at least something works, vi will also work... To stop a holy war: The whole world knows that insert favourite editor the best in the whole mulitverse, and everybody who doesn't believe it is an idiot. And of course, every experienced unix professional knows the original vi was already perfect. These so called improvements in vim are simply a bunch of dumb bandaids and cruches to help out those lazy people who don't have 6 months to learn *real* vi and who think every editor ought to work like notepad in windows. So what happens if you have to access a system remotely and the terminal emulation is broken so you can't do a full screen visual edit of a file. You better be able to find your way around in ed ... at least well enough to reconstruct an ascii terminfo file by hand from scratch! Curt. -- Curtis Olsonhttp://www.flightgear.org/~curt HumanFIRST Program http://www.humanfirst.umn.edu/ FlightGear Project http://www.flightgear.org Unique text:2f585eeea02e2c79d7b1d8c4963bae2d --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Better way to edit XML files
Curtis L. Olson wrote: And of course, every experienced unix professional knows the original vi was already perfect. These so called improvements in vim are simply a bunch of dumb bandaids and cruches to help out those lazy people who don't have 6 months to learn *real* vi and who think every editor ought to work like notepad in windows. So what happens if you have to access a system remotely and the terminal emulation is broken so you can't do a full screen visual edit of a file. You better be able to find your way around in ed ... at least well enough to reconstruct an ascii terminfo file by hand from scratch! Curt. Ed is for noobs. If you are a real programmer you will know that all you need is a redirect and a working shell. Write access to /dev/mem is handy too :) Josh --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
RE: [Flightgear-devel] Better way to edit XML files
Is there a better way to edit FG XML files than using a text editor? Possibily something that helps with syntax and keywork selection? Regards :-D ene There are several very good XML editors available. I use OxygenXML. If there exists a schema for the XML file being edited, there are even more possibilities. For JSBSim files, we will shortly have available JSBSim Commander, which is a GUI editor for JSBSim files. Jon --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel