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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.