Shop OBEX P1 Docs P2 Docs Learn Events
Text Editor on Propeller? — Parallax Forums

Text Editor on Propeller?

User NameUser Name Posts: 1,451
edited 2014-05-07 04:43 in Propeller 1
I'm trying to get away from TeraTerm on a Windows7 laptop as my primary terminal for <something>. Keyboard entry, video display, cut/paste, load/save, and Xon/Xoff serial transfer are all that would be needed. Have these features ever been integrated on the Prop? Do any of the FORTH implementations offer this capability? (I suppose the ultimate fall-back would be CP/M on a Z-80 emulation, but it would be lovely to have something more au courant.)

Comments

  • jazzedjazzed Posts: 11,803
    edited 2014-05-04 15:31
    Check Dave Hein's work. Spinix has a few different editors and some forth stuff.

    ... Roundabout ....
  • User NameUser Name Posts: 1,451
    edited 2014-05-04 19:14
    Thanks. I'll check it out.
    ... Roundabout ....

    Yup. :-)
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2014-05-06 17:16
    User Name wrote: »
    I'm trying to get away from TeraTerm on a Windows7 laptop as my primary terminal for <something>. Keyboard entry, video display, cut/paste, load/save, and Xon/Xoff serial transfer are all that would be needed. Have these features ever been integrated on the Prop? Do any of the FORTH implementations offer this capability? (I suppose the ultimate fall-back would be CP/M on a Z-80 emulation, but it would be lovely to have something more au courant.)

    There's no problem with doing a text editor for a Forth, it's just that the Prop is a microcontroller with 32k RAM both for program and data, where do we fit everything? :) However I have an implementation that use a small VGA text mode and assumes you have SD etc. I was intending to wait until I released the target resident OBEX where modules could be loaded from EEPROM/SD at runtime.
  • prof_brainoprof_braino Posts: 4,313
    edited 2014-05-06 21:39
    User Name wrote: »
    I'm trying to get away from TeraTerm on a Windows7 laptop as my primary terminal for <something>. Keyboard entry, video display, cut/paste, load/save, and Xon/Xoff serial transfer are all that would be needed. Have these features ever been integrated on the Prop? Do any of the FORTH implementations offer this capability? (I suppose the ultimate fall-back would be CP/M on a Z-80 emulation, but it would be lovely to have something more au courant.)

    The propforth jupiter ace code has keyboard, vga, two terminal sessions. We could connect the SD card and have multiple gig of storage but I never got around to doing it, it should be straight forward. Ron Sutcliffe was doing a text editor specifically, but he dropped from sight a while back.

    I am leaning more toward using an android device for screen and key board. All you need is HC05 bluetooth on the prop serial pins and you're good to go. And you can talk directly to forth on the prop, or use the prop to talk to whatever device. The prop has to be physically connected to the device, but then the connection is wireless to the android. I use blue term, its free. I use this to talk to the SF02, when demoing it stand alone on batteries away from the PC or bot.
  • Dave HeinDave Hein Posts: 6,347
    edited 2014-05-07 04:06
    Jazzed mentioned the text editors in spinix, but I don't think it would meet your requirements. I've never built a completely stand-alone version of spinix with a keyboard driver and VGA display. The 32K hub RAM gets pretty full when adding VGA, keyboard and then trying to do a text editor. It can be done, and has been done, but the remaining system is somewhat limited.

    If you're still interested in trying spinix it contains 4 text editors -- vi, ed, ted and pfth ted. vi and ed are the standard unix editors. ted is a tiny version of ed with a limited command set. pfth ted is a Forth implementation of ted. I normally run spinix using a terminal program on a PC. If you want to be untethered from the PC you would need a dumb terminal.
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2014-05-07 04:43
    IDBruce mentioned the idea of putting a second Propeller on a Propeller Proto Board. With the second 40pin DIP Propeller, you can easily have a text editor and a VGA with keyboard on one board.

    I love the whole concept of SPINIX as it allows a Forth platform with a file system on SDcard storage and interactive programing with an interpreted language instead of a compile, load, and run cycle.

    In my case, I used two Propeller Proto Boards and one is simply an VT100 emulating dumb terminal with PocketTerm firmware and the other board is a generic ProtoBoard with a MAX232 added. You could go further and drive a serial compatible printer if you really need printout.
Sign In or Register to comment.