Every so often a thread comes up asking how to position text on the SerialMonitor in a consistent place to get away from the pages of scrolling text. The answer is always, "Use VT100/ANSI escapes" and "Use a real terminal emulator instead of SerialMonitor". I'm still looking into upgrading SerialMonitor into a real terminal emulator, but I'd like to announce a convenient way to use VT100/ANSI escapes.
I've implemented a simple library for controlling ANSI/VT100/VT220 terminals over the serial port. It delegates reading & writing to a Stream device, so it should be usable with SoftSerial or even I2C, although it has only been used with HardwareSerial so far. It's in a useful state, but there is still more to be done.
I am writing a emulator for an very old programmable calculator (Olivetti PROGRAMMA 101)
As in and output I need a VT100 emulator running on a IMAC OS 10.7.
Does someone knows a good VT100 Terminal program (free) for the IMac?
I used the library to talk to an old NIXDORF BA63 POS 2x20 VFD customer display, connected to UNO Tx pin. I sent commands to the VFD thru Poderosa terminal emulator, since Arduino Serial Monitor is not VT100 compatible. No problems so far.Many thanks for your share.
baxev2005:
I used the library to talk to an old NIXDORF BA63 POS 2x20 VFD customer display, connected to UNO Tx pin. I sent commands to the VFD thru Poderosa terminal emulator, since Arduino Serial Monitor is not VT100 compatible. No problems so far.Many thanks for your share.
I'm glad you found the library useful!
Do I understand correctly that you used Poderosa while you debugged your application since SerialMonitor doesn't support the VT100 escapes, and that the final application used the BA63 as an output device?
I'm not clear how a terminal emulator could help pass the display output to the BA63.
In any case, I welcome issues or pull requests on Github!