minicom's runscript has a line length character limit of 88

Any send command longer that this:
send "1234567890123456789012468901245678901234567890123456789012345678901234567890123456789012"

results in this error:
"YOUR_SCRIPT.runscript": syntax error in line XX (word contains ESC or quote)

The solution is to use "\c" as the 87th and 88th character and continue on the next line:
send "12345678901234567890124689012456789012345678901234567890123456789012345678901234567890\c"
send "Unfortunately, this is the absolute maximum line length that minicom runscript handles\c"
send "the end"

By AJ ONeal

If you loved this and want more like it, sign up!


Did I make your day?
Buy me a coffeeBuy me a coffee  

(you can learn about the bigger picture I'm working towards on my patreon page )