Serial Ascii Editor

This is a discussion on Serial Ascii Editor within the Forth forums in Programming Languages category; I have figForth in an embedded system. I am looking for a serial line screen editor with ascii control sequences for an embedded forth system. These existed for the VAX, PDP-11 and LSI-11. However, I cannot find the source. Any ideas? tomdean...

Go Back   Application Development Forum > Programming Languages > Forth

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 09-03-2008, 02:27 PM
Thomas D. Dean
Guest
 
Default Serial Ascii Editor

I have figForth in an embedded system.

I am looking for a serial line screen editor with ascii control
sequences for an embedded forth system.

These existed for the VAX, PDP-11 and LSI-11. However, I cannot find
the source.

Any ideas?

tomdean
Reply With Quote
  #2  
Old 09-05-2008, 12:59 AM
cac
Guest
 
Default Re: Serial Ascii Editor

Thomas D. Dean wrote:
> I have figForth in an embedded system.
>
> I am looking for a serial line screen editor with ascii control
> sequences for an embedded forth system.
>
> These existed for the VAX, PDP-11 and LSI-11. However, I cannot find
> the source.
>
> Any ideas?
>
> tomdean


Wow. TECO. Are you thinking of TECO? I hvaen't used TECO since the late
70's.

Quick googling shows a port to modern OS's at http://almy.us/teco.html

Wikipedia has a page, with a bunch of links.

The original TECOs were assembly language; it looks like TECOC was a
port to C, might be a better starting point then porting from MACRO-11.
(of course, it would probably be easy to write a PDP-11 emulator in
forth, and run the TECO binary in the emulator in the embedded system....).

There must have been a simpler editor then TECO for RT-11, but it's gone
from my mind. I would guess at EDIT-11.

-- Charles


I suspect TECO might be overkill for your needs.
Reply With Quote
  #3  
Old 09-05-2008, 02:30 AM
Roger Ivie
Guest
 
Default Re: Serial Ascii Editor

On 2008-09-03, Thomas D. Dean <tomdean@speakeasy.org> wrote:
> I have figForth in an embedded system.
>
> I am looking for a serial line screen editor with ascii control
> sequences for an embedded forth system.


Not sure what you have in mind by "screen editor", but I recently
created a simplified clone of the CP/M ED editor in C. Took all of about
two weeks. This was for vxWorks and I can't share the source. But
recreating something like ED from scratch is likely to be less work than
you think it is; ED is really simple.

You might try RED; sounds like it might be up your alley. I haven't used
it (and the editor I thought I would find when googling for RED was
something else entirely). It's written in STOIC.

http://en.wikipedia.org/wiki/Red_(text_editor)

The RED I was looking for was printed as source code in one of the
computer magazines in the early '80s. A friend of mine typed it in and
used it for quite a while. I forget what language it was written in.

Sources to the CP/M ED editor can be found online at the unofficial CP/M
archive, http://cpm.z80.de/, but the license prohibits commercial use.
--
roger ivie
rivie@ridgenet.net
Reply With Quote
  #4  
Old 09-05-2008, 09:57 PM
cac
Guest
 
Default Re: Serial Ascii Editor

cac wrote:
> Thomas D. Dean wrote:
>> I have figForth in an embedded system.
>>
>> I am looking for a serial line screen editor with ascii control
>> sequences for an embedded forth system.
>>
>> These existed for the VAX, PDP-11 and LSI-11. However, I cannot find
>> the source.
>>
>> Any ideas?
>>
>> tomdean

>


Some stuff I wrote about TECO deleted.

I now realize that my brain elided the word "screen" when I read the
original message. So, to correct myself, TECO is not a screen editor, it
is a line editor. Sorry for any confusion I may have caused. Please
return to your regularly scheduled Forth discussion.

I don't remember a screen editor for RT-11, but I used either Decwriters
ir Tektronix Green Screens, so I lacked the requisite technology. I seem
to recall that UCSD Pascal had a screen editor. RSX-11 had EDT, and VMS
had EDIT, which I remember as being pretty much the same, at least in
the early versions of EDIT.

-- Charles
Reply With Quote
  #5  
Old 09-05-2008, 11:58 PM
Roger Ivie
Guest
 
Default Re: Serial Ascii Editor

On 2008-09-06, cac <cac@inbox.com> wrote:
> I don't remember a screen editor for RT-11


RT-11 had KED and K52. KED was kind of a limited EDT (change mode only,
essentially) for the VT-100. K52 was a VT-52 version of KED.

TECO had some limited screen abilities. Macro collections to pretty them
up were pretty popular. One such was VTEDIT.
--
roger ivie
rivie@ridgenet.net
Reply With Quote
  #6  
Old 09-07-2008, 06:25 PM
Thomas D. Dean
Guest
 
Default Re: Serial Ascii Editor

Thanks for the reply.

The editor I was looking for was written in forth for editing screens.
It was written at Stanford in the early 1980's.

The editor allowed editing figForth screens, maintaining screen
boundaries and allowing lines to be pushed to the next screen when a
line was inserted. You had to remember to go to the next screen and
delete the --> line!

tomdean
Reply With Quote
  #7  
Old 09-10-2008, 04:10 PM
Jerry Avins
Guest
 
Default Re: Serial Ascii Editor

Thomas D. Dean wrote:
> I have figForth in an embedded system.
>
> I am looking for a serial line screen editor with ascii control
> sequences for an embedded forth system.
>
> These existed for the VAX, PDP-11 and LSI-11. However, I cannot find
> the source.


I wrote on that I used with POLYforth. I can't be sure that the disks
can still be read, and I'd have to hook up a 5-1/4 inch drive to find
out. Are you desperate?

Jerry
--
Engineering is the art of making what you want from things you can get.
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 02:56 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.