A simple serial/tcp comm program intended for use with (and on) embedded systems. Supports telnet and high-character locale mapping. -------------------------------------------------------------------------------- Usage: nanocom [options] /dev/ttyX|host:port Connect current tty to specified target, which is either a serial device (if target contains a '/') or a TCP host (if target contains a ':'). Options: -b - backspace key sends DEL instead of BS -d - toggle serial port DTR high on start -e - enter key sends LF instead of CR -f file - log console output to specified file -h - display unprintable characters as hex -H - display all characters as hex -i - display high-bit characters as CP437 -I charset - character set for -i, instead of CP437 ('iconv -l' for list) -l mS - flush characters after first connect until idle for specified mS -L mS - also flush on reconnect -n - don't force target tty to 115200 N-8-1 -r - try to reconnect target if it won't open or closes with error -s - display timestamps -S - display date+timestamps -t - enable telnet in binary mode -T - enable telnet in ASCII mode (handles CR+NUL) -x command - execute FX command after first connect -X command - also execute on reconnect