Posted to tcl by Emiliano at Wed Jul 15 16:39:31 GMT 2015view pretty
% set fd [open /dev/tty00 r+] file13 % chan configure $fd -mode 9600,n,8,1 % chan configure $fd -mode 19200,n,8,1 -pollinterval 10 bad option "-pollinterval": should be one of -blocking, -buffering, -buffersize, -encoding, -eofchar, -translation, -mode, -handshake, -ignoredcd, -timeout, -ttycontrol, or -xchar % chan configure $fd -mode 19200,n,8,1 % chan configure $fd -pollinterval 10 -mode 9600,n,8,1 bad option "-pollinterval": should be one of -blocking, -buffering, -buffersize, -encoding, -eofchar, -translation, -mode, -handshake, -ignoredcd, -timeout, -ttycontrol, or -xchar % chan configure $fd -mode 19200,n,8,1 It looks like the options passed to [chan configure] are processed while they are being parsed, applying changes for the valid options and stopping at the first error