CoolTerm Linux Automation

If you have specific questions or problems with any of my Freeware applications, post them here.

CoolTerm Linux Automation

Postby chinchilla9 » Fri Nov 13, 2020 4:13 pm


I have a question about automating CoolTerm on Linux.

I would like to run some kind of script that automatically opens CoolTerm, connects to a serial device, sends a number, and then closes CoolTerm. How would I do this on Linux? I am on Ubuntu 18.04.

Thank you very much for the help!

Posts: 1
Joined: Fri Nov 13, 2020 3:41 pm

Re: CoolTerm Linux Automation

Postby roger » Fri Nov 27, 2020 4:05 pm


CoolTerm is scriptable via Python. I suggest you take a look at some of the scripting examples that are included with CoolTerm.

However, if you don't need any particular CoolTerm features, and all you need is to send a string via the serial port, you can use the echo command and route the string to the serial port

Example: sending "Hello World" to the serial port with path /dev/ttyUSB0:

Code: Select all
echo -en "Hello Word" > /dev/ttyUSB0

I hope this helps

User avatar
Site Admin
Posts: 290
Joined: Fri Apr 24, 2009 12:41 am

Return to Support

Who is online

Users browsing this forum: No registered users and 2 guests