My test232.c program can be used instead of minicom.
all chars from stdin to /dev/ttyS0
all chars from /dev/ttyS0 to stdout
Note: the program can be stopped w/ Ctrl-C;
sends what you type to XSB and prints what comes from XSB; same as minicom
cat file | ./test232
sends file to XSB and prints what comes from XSB
./test232 | while true; do time read a; echo $a; done
useful for timing
let's say you execute the code:
... interesting code
You'll see how much time does the interesting code take.