-
Notifications
You must be signed in to change notification settings - Fork 0
Choosing a Terminal Program
Nick Tracy edited this page Jul 18, 2026
·
1 revision
ANSITerm draws using ANSI control codes and UTF-8 box characters. A good terminal program makes everything look sharp. The Arduino IDE Serial Monitor is handy for plain text, but it often does not show colors, boxes, or mouse clicks correctly.
| Program | Platform | Notes |
|---|---|---|
| PuTTY | Windows | Reliable for serial. Use UTF-8. Mouse over COM ports usually does not work — use arrow keys + Enter (see Buttons example). |
| VS Code / Cursor Serial Monitor | Windows / Mac / Linux | Convenient if you already use the editor. Check that UTF-8 and ANSI colors are enabled. |
| screen or minicom | Mac / Linux | Classic serial terminals; set baud to match the sketch. |
| TiTTY / other xterm-like | Varies | Prefer apps that advertise “xterm” or “ANSI” support. |
| telnet (or any raw TCP client) | All | For network examples on port 23 — not encrypted. |
- Baud rate — Must match the sketch. Most examples use 9600. The ESP Wi‑Fi control example uses 115200.
- UTF-8 — Turn this on so box-drawing characters look correct.
- Local echo — Usually off (the board draws the UI; you do not need the PC to reprint keys).
- COM port — Same port the Arduino IDE used for upload. Close the IDE Serial Monitor first.
Mouse support needs the terminal to send special “mouse report” codes (SGR / mode 1006).
- Many USB-serial terminals (including PuTTY in serial mode) do not send mouse clicks.
- Use arrow keys + Enter (and sometimes Space) instead — the newer examples are written for that.
- Network/telnet clients and some advanced terminals may support mouse.
Details: Keyboard and Mouse.
- Download PuTTY.
- Connection type: Serial.
- Serial line: your
COMxport. - Speed: 9600 (or 115200 for the ESP control example).
- Window → Translation → Remote character set: UTF-8.
- Open the session after the sketch has finished uploading.
Only one program can open the serial port. Close:
- Arduino Serial Monitor
- Other terminal windows
- Sometimes the IDE itself right after upload (then reopen the terminal)
ANSITerm is open source under the LGPL-3.0 license. · Repository · Issues