On Wed, Mar 11, 2015 at 03:55:32PM -0400, Collin Kidder wrote:
> It seems to have been suggested by some people in the past, and
> recently to me, that maybe it would be cool if the built-in Arduino
> terminal could interpret ANSI console commands. This way it becomes
[...]
> Arduino or would I be wasting my time? Has anyone ever tried to do
> something like this? It seems like it could be a nice thing to have. I
Back when I was starting my BasicTerm library for controlling ANSI
terminals (
http://github.com/nottwo/BasicTerm), I looked into what it
would take to extend the Arduino SerialMonitor to support ANSI control
sequences.
It turns out there are a few FOSS pure-java libraries that implement an
ANSI/VT100 terminal and I had some success in integrating them into the
SerialMonitor.
This was back in the 1.0.2 days. I've been able to bring one
implementation up-to-date for the ide-1.0.x branch, but ran into some
merge conflicts trying to integrate with ide-1.5.x.
Evaluating the two implementations today, the JTA branch is the more
robust. The JCTerm branch tends to hang the Arduino SerialMonitor & IDE
when changing serial port parameters.
I've only tried the code on Linux.
Anyway, take a look.
https://github.com/nottwo/Arduino/tree/jta-1.0.x
https://github.com/nottwo/Arduino/tree/jcterm-1.0.2
trannie