Shop OBEX P1 Docs P2 Docs Learn Events
SimpleIDE serial terminal in Linux has issues — Parallax Forums

SimpleIDE serial terminal in Linux has issues

pedwardpedward Posts: 1,642
edited 2012-06-12 11:44 in Propeller 1
The serial terminal has 2 issues that jump out at me, the first is the lack of an "Enable" or "Pause" button. I can't pause output temporarily to view the data.

The second issue is the really choppy output, it's very sluggish and inconsistent. I plan on looking into this.

I'm interested in know what work has been done on these fronts thus far. Windows has an "Enable" button, but why is it lacking in Linux?

I assume the sluggishness has something to do with the event loop that updates the terminal screen, with the loops coded differently for Linux and Windows.

Comments

  • jazzedjazzed Posts: 11,803
    edited 2012-06-12 06:35
    pedward wrote: »
    The serial terminal has 2 issues that jump out at me, the first is the lack of an "Enable" or "Pause" button. I can't pause output temporarily to view the data.

    I removed this from Linux/Mac. I've regretted it already, but at the moment have no choice.

    pedward wrote: »
    The second issue is the really choppy output, it's very sluggish and inconsistent. I plan on looking into this.

    Polling is the only reliable method now. Linux/Mac work the same. The main reason for this change is Mac's tendency to ignore HUPCL changes which causes PPDB and possibly other boards like Demoboard to reset.


    These changes are not distributed for general use yet.
  • pedwardpedward Posts: 1,642
    edited 2012-06-12 11:08
    What about using select? I did that in my program.
  • jazzedjazzed Posts: 11,803
    edited 2012-06-12 11:44
    pedward wrote: »
    What about using select? I did that in my program.


    We may be able to rewrite the terminal later to improve that aspect. It's too late right now.
Sign In or Register to comment.