Hey! I'm available for hire (and I appreciate tips)  



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

Was this useful to you? Share it!

Also, you can give me a tip or hire me.


Published

2010-4-16

Categories


Tags