Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2021-05-27
12:23 • Ticket [06ba3489ed] open command documentation says too much about serial port h... artifact: cc89d0940b user: jan.nijtmans
2021-05-26
20:56 • Ticket [06ba3489ed]: 4 changes artifact: dc600b7829 user: chrstphrchvz
12:56 • Ticket [06ba3489ed]: 4 changes artifact: 92057162b9 user: jan.nijtmans
12:53
Suggestion for [06ba3489ed]: open command documentation says too much about serial port hardware closed check-in: 7f2cc845c0 user: jan.nijtmans tags: rfe-06ba3489ed
2021-05-25
07:02 • Ticket [06ba3489ed] open command documentation says too much about serial port h... artifact: 5a19bc3b1f user: oehhar
2021-05-23
22:13 • New ticket [06ba3489ed]. artifact: b62d55e567 user: chrstphrchvz

open command documentation says too much about serial port hardware

Open06ba3489ed2e9a33369899a13c7834f2655de201Created 6 years agoUpdated 6 years ago
Descriptionwiki2021-05-23 22:13:30
The “Serial port signals” section of the documentation for the open command (and possibly elsewhere) says quite a bit about the electrical specifications of serial port hardware, which I think is dated and unnecessary. There may still be plenty of serial port communications in use, but it is not uncommon for it to only resemble RS-232 logically and not electrically, e.g. serial over 5V/3.3V/USB/Bluetooth/emulation. I think Tcl is better off either not discussing this authoritatively, or prefacing it with something like “Historically, …”.
Referenced by1
  • 7f2cc845c0Suggestion for [06ba3489ed]: open command documentation says too much about serial port hardware check-in2021-05-26 12:53:50
oehharwiki2021-05-25 07:02:47

Christopher,

thank you for the opinion. I can only say that I have used it last week and it is quite helpful for me. Hardware was a Windows 10 PC.

Thank you, Harald

P.S.: I love that you as great expert requires a moderator aproval on submitting tickets ;-). You may apply for commit rights on tcl core...

jan.nijtmanswiki2021-05-26 12:56:05

Is [this] what you mean (together with some other doc fixes) ?

I think that - indeed - this information is not so useful for Tcl.

chrstphrchvzwiki2021-05-26 20:56:55

Adjusted description slightly; I don’t disagree that actual RS-232 compliant serial hardware may still be in use.

The -ttycontrol and -ttystatus options for fconfigure both say to “see below” for descriptions of serial port signals, so those may need to be kept.

I was mainly referring to verbiage like

RS-232 is the most commonly used standard electrical interface for serial communications. A negative voltage (-3V..-12V) define a mark (on=1) bit and a positive voltage (+3..+12V) define a space (off=0) bit (RS-232C).
and
BREAK

… Normally a receive or transmit data signal stays at the mark (on=1) voltage until the next character is transferred.

So I would wonder how to refer to things like mark/space—if those are important to mention—without needing to describe what they correspond to electrically.

jan.nijtmanswiki2021-05-27 12:23:17

@chrstphrchvz can you provide a patch with your specific suggestion? I agree we shouldn't remove that much.

Log in (anonymous is fine) to add a comment.