[Home] "minicom.runscript": syntax error in line 00 (word contains ESC or quote)

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"
blog comments powered by Disqus Updated at