Miscellaneous

Serial Line I/O

The serial line drivers were converted to use threads so you can wait for I/O with fileevent when using serial devices. There is no API change here, but this was a limitation that was annoying in previous Tcl releases.

tcl_platform(user)

The tcl_platform(user) array element records the currently logged in user. This masks difference in environment variables and system calls used to get this information on different platforms.

Get Practical Programming in Tcl & Tk, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.