Overview
| Artifact ID: | 272fb1487e74536a3f72460ec6d0294f5760f03b |
|---|---|
| Ticket: | 3324195fffffffffffffffffffffffffffffffff
ignoring control lines on *nix ttys |
| User & Date: | egavilan on 2011-06-21 19:32:26 |
Changes
- assignee changed to: "andreas_kupries"
- cmimetype changed to: "text/plain"
- comment changed to:
When working with serial ports on *nix is sometimes desirable to disable modem control lines. This is the case when the OS driver expects the DCD line to become active before allowing further IO. Since many commercial cables only have three wires, disabling the DCD checking is desirable. Currently there's no way to do this from Tcl, and the only solution is exec'ing stty with suitable flags. Attached patch adds a new option to tty channels, "-ignoredcd", which can be set to a boolean flag. The option can be set and queried. It should work with any OS that uses the termios interface (linux, *bsd, solaris). The modification was tested on NetBSD and it notably improves the usability of serial ports based channels when the DCD line is absent.
- foundin changed to: "None"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "egavilan"
- subsystem changed to: "25. Channel System"
- title changed to: "ignoring control lines on *nix ttys"
- type changed to: "RFE"