Rework toggle and pulse feature to support all lines
Replace existing toggle and pulse key commands with the following generalized key commands which allows to toggle or pulse all serial port lines:
ctrl-t g
Toggle serial port line
ctrl-t p
Pulse serial port line
When used, user will be asked which serial line to toggle or pulse.
Also introduce --line-pulse-duration
option for setting specific pulse duration in milliseconds for each serial line using a key value pair format. Each key represents a serial line. The following keys are available: DTR, RTS, CTS, DSR, DCD, RI.
Example: $ tio /dev/ttyUSB0 --line-pulse-duration DTR=200,RTS=300,RI=50
Likewise, the pulse duration can also be set via configuration file using the line-pulse-duration variable:
line-pulse-duration = DTR=200,RTS=300,RI=50
Upgrade inih wrap to r56
Optimization
Add example configuration file
Please login to add feedback.
This update has been submitted for testing by robert.
This update's test gating status has been changed to 'ignored'.
This update has been pushed to testing.
LGTM
This update has been submitted for stable by bodhi.
This update has been pushed to stable.