Various platforms supports different baud rates.
To avoid adding platform specific handling generic baud rate detection
tests are introduced in the configure script. Successfully detected baud
rates are automatically enabled. This applies to both the C code and the
bash completion script.
Note:
Baud rates below 57600 are defined by POSIX-1 and supported by most
platforms so only baud rate 57600 and above are tested.
In 9a66de0aff, types of tx/rx counters were changed from "long" to
"unsigned long", but their printf directives remained "%ld".
Change them to "%lu" to match the actual types.
Added titles and indentation to commands output for clearer separation
when firing commands repeatedly.
Also added print of tio version and quit command hint at launch.
A new key command "ctrl-t i" is added to allow the user to display the
various session settings information (baudrate, databits, log file, etc.).
This is usefull in case you have a running session but have forgotten
what the settings are.
To display the total number of bytes transmitted/received simply perform the
'ctrl-t s' command sequence.
This feature can be useful when eg. trying to detect non-printable
characters.
Changed so that the "ctrl-t ctrl-t" sequence is now simply "ctrl-t t" to
send the ctrl-t key code. This is inspired by screen which does similar
to send its command key code (ctrl-a a).
This change also allows to easier add new key commands if needed.
Updated man page accordingly.
Set "tainted" if and only if any character was read from the device.
Ctrl-t is no longer sent to the device on exit, so the trick to avoid
its echo is not necessary.
Characters read from stdin don't directly affect output, so they
shouldn't enable "tainted".