1. ed problem
- Posted by Jules <jdavy at dsl?pip?x.com> May 04, 2008
- 660 views
ed on Linux crashes with this error message when I try to save a file in DOS format: "attempt to move cursor off the screen to line 1, column 89" Normally I get asked whether I want to save the file in DOS or Linux format, but for some reason this prompt is being bypassed. Can anyone help? Thanks.
2. Re: ed problem
- Posted by don cole <doncole at pacbe?l.ne?> May 04, 2008
- 639 views
- Last edited May 05, 2008
Jules wrote: > > ed on Linux crashes with this error message when I try to save a file in DOS > format: > > "attempt to move cursor off the screen to line 1, column 89" > > Normally I get asked whether I want to save the file in DOS or Linux format, > but for some reason this prompt is being bypassed. Can anyone help? > Thanks. hello Jules, Use Edita or some other editor. Pete Lomax has dissappeared I uploaded what I have of his files. Unfortunately they are all Windows versions. I'm sure someone has the Linux version out there some place. There are other free editors available. I hear Crimson is good you could also try Mike's Editor in the Archives. That ED seems to me to be very clumsy when I use it. It comes stock with Euphoria but I don't much care for it. Check the Archives for Editors Linux. Also TextPad (you have to set it up for Euphoria) is free. Don Cole
3. Re: ed problem
- Posted by Kenneth Rhodes <ken_rhodes30436 at ya?oo.com> May 04, 2008
- 645 views
- Last edited May 05, 2008
don cole wrote: > > Jules wrote: > > > > ed on Linux crashes with this error message when I try to save a file in DOS > > format: > > > > "attempt to move cursor off the screen to line 1, column 89" > > > > Normally I get asked whether I want to save the file in DOS or Linux format, > > but for some reason this prompt is being bypassed. Can anyone help? > > Thanks. > > hello Jules, > > Use Edita or some other editor. Pete Lomax has dissappeared I uploaded what > I > have of his files. Unfortunately they are all Windows versions. I'm sure > someone > has the Linux version out there some place. There never was a Linux version of Pete Lomax's Edita. At one point there was some discussion on the forum of trying to port Edita to Linux; however, if I recall correctly, there was a problem due to some aspect of Pete's Edita license. All of which underscores the value of using programs with true open sourced code. >There are other free editors available. > I hear Crimson is good you could also try > Mike's Editor in the Archives. That ED seems to me to be very clumsy when I > use it. It comes stock with Euphoria but I don't much care for it. Check the > Archives for Editors Linux. Also TextPad (you have to set it up for Euphoria) > is free. > > Don Cole Greg Habarek has recently initiated a new wxEuphoria editor project. There is a wxEuphoria editor which Matt Lewis included with the wxEuphoria distribution, I believe. It is the only true cross platform GUI editor written in Euphoria. I'm wondering if Rob introduced a bug in the ed.ex code when he dropped ncurses. I recall encountering problems with "attempt to move the cursor off the screen" errors when I was trying to implement my version of ed.ex in the Euphoria 3.0 code which uses ascii codes to position the curser. One of ed.ex's neat features was it's ability to save files in either Linux or DOS line ending formats. Ken Rhodes Folding at Home: http://folding.stanford.edu/ 100% MicroSoft Free SuSE Linux 10.0 No AdWare, SpyWare, or Viruses! Life is Good,
4. Re: ed problem
- Posted by Jeremy Cowgar <jeremy at cowg?r?com> May 04, 2008
- 634 views
- Last edited May 05, 2008
For the fun of it, I tried EE in the archives since it has both a DOS and Linux version. Problem is, the DOS version will no longer run with newer versions of Windows (Vista) due to it not really having DOS (i.e. things like free_low, dos_interrupt, vga modes, full screen DOS consoles, etc... do not work). So, it seems now that going forward ed is the only cross platform editor that currently exists and is written in Euphoria. There are many editors that are cross platform that support Euphoria, see the recent thread about editors. Now, I've tried ed in Linux and Windows and have had no problems with it. Since it is still distributed w/Euphoria, I think if a problem exists, we should probably try to figure it out. We do not want to distribute a broken ed w/Euphoria knowingly. -- Jeremy Cowgar http://jeremy.cowgar.com
5. Re: ed problem
- Posted by Matt Lewis <matthewwalkerlewis at gmai??com> May 05, 2008
- 634 views
Jeremy Cowgar wrote: > > > For the fun of it, I tried EE in the archives since it has both a DOS and > Linux version. Problem is, the DOS version will no longer run with newer > versions of Windows (Vista) due to it not really having DOS (i.e. things > like free_low, dos_interrupt, vga modes, full screen DOS consoles, etc... do > not work). So, it seems now that going forward ed is the only cross platform > editor that currently exists and is written in Euphoria. Well, there's wxIDE, which, admittedly isn't the greatest editor ever, but it does run under Windows, Linux and FreeBSD. Matt
6. Re: ed problem
- Posted by Jeremy Cowgar <jeremy at ?owgar.c?m> May 05, 2008
- 652 views
Matt Lewis wrote: > > Well, there's wxIDE, which, admittedly isn't the greatest editor ever, but > it does run under Windows, Linux and FreeBSD. > Ah, that's right. Sorry to leave that out Matt. -- Jeremy Cowgar http://jeremy.cowgar.com
7. Re: ed problem
- Posted by Jules <jdavy at dsl.pip?x.co?> May 05, 2008
- 641 views
Well, I'm making some progress on this, Both the location of the file and it's MIME type are affecting whether ed crashes or not. If I try to save a file of of MIME type text/x-vhdl AND it's in the eu directory, ed prompts me to convert the file and doesn't crash (the same file will crash ed if trying to save it when it's NOT in the eu directory). BUT, another file (which IS in the eu directory) and is of MIME type text/plain, WILL crash ed. Both files have the .exw file extension.
8. Re: ed problem
- Posted by Jeremy Cowgar <jeremy at cow?ar.co?> May 06, 2008
- 647 views
- Last edited May 07, 2008
Jules wrote: > > Well, I'm making some progress on this, Both the location of the file and it's > MIME type are affecting whether ed crashes or not. If I try to save a file of > of MIME type text/x-vhdl AND it's in the eu directory, ed prompts me to > convert > the file and doesn't crash (the same file will crash ed if trying to save it > when it's NOT in the eu directory). BUT, another file (which IS in the eu > directory) > and is of MIME type text/plain, WILL crash ed. Both files have the .exw file > extension. Because of this, I decided to use ed today in Linux. I've been using it all day today w/o an issue. I created some DOS files and when I go to save, it asks about line endings and I have no problem with it. I've created them both inside and outside the eu dir (EUDIR I assume is what you mean?). How do you set the mime-type of a file? -- Jeremy Cowgar http://jeremy.cowgar.com