Friday, April 16, 2010

"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"


Post a Comment

Subscribe to Post Comments [Atom]

Links to this post:

Create a Link

<< Home