Werner's Miscellanea
Sign in or create your account | Project List | Help
Werner's Miscellanea Git Source Tree
Root/
| 1 | "neocon" is a simple serial console utility that tries to open a |
| 2 | ttys that may exist on a system until one such open succeeds. It |
| 3 | then passes terminal input and output, until there is a read or |
| 4 | write failure on the tty, in which case it disconnects, and the |
| 5 | process restarts. |
| 6 | |
| 7 | This is mainly intended for serial over USB interfaces that |
| 8 | disappear when the Neo or debug board is restarted. E.g., |
| 9 | neocon /dev/ttyUSB0 /dev/ttyUSB1 |
| 10 | |
| 11 | The option -t delay_ms throttles keyboard input to a rate of |
| 12 | one character every "delay_ms" milliseconds. This can be used to |
| 13 | prevent buffer overruns on the remote end. |
| 14 | |
| 15 | "neocon" can log to a file with the option "-l logfile". Non-ASCII |
| 16 | and non-printable characters are converted to hash signs (#). To |
| 17 | append to an existing logfile, add the option "-a". To add a |
| 18 | timestamp before each line, use the option "-T". |
| 19 | |
| 20 | To leave neocon, type "~.". The escape character (~) can be changed |
| 21 | with the option "-e escape". |
| 22 | |
| 23 | To manually switch to the next device, enter "~n". |
| 24 | |
| 25 | The option -L switches console input from character-by-character |
| 26 | (raw) mode to local line editing (cooked). Edited lines are sent |
| 27 | with \n termination. |
| 28 | |
| 29 | |
| 30 | Known issues |
| 31 | ------------ |
| 32 | |
| 33 | - the escape character is sent to the target |
| 34 |
Branches:
master
