1. ed problem

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.

new topic     » topic index » view message » categorize

2. Re: ed problem

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

new topic     » goto parent     » topic index » view message » categorize

3. Re: ed problem

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,  smile

new topic     » goto parent     » topic index » view message » categorize

4. Re: ed problem

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

new topic     » goto parent     » topic index » view message » categorize

5. Re: ed problem

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

new topic     » goto parent     » topic index » view message » categorize

6. Re: ed problem

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

new topic     » goto parent     » topic index » view message » categorize

7. Re: ed problem

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.

new topic     » goto parent     » topic index » view message » categorize

8. Re: ed problem

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

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu