<i>Notification when there's no data</i> status still Open with 4 other changes
by
.
D 2001-09-19T00:08:59
J icomment Logged\sIn:\sYES\s\nuser_id=75003\n\nHuh,\scomplicated\sscript\s...\sI\shaven't\sdone\smuch\sexpect\sso\sI\s\nhope\sthis\squestion\sis\snot\sstupid:\sdo\syou\sbelieve\sit\sis\s\npossible\sto\suse\s[after]\sinstead\sof\smanaging\sthe\stimeouts\son\s\nyour\sown\s?\s(This\sis\san\saside\squestion\shopefully\snot\s\nconnected\sto\sthe\sproblem).\n\nAs\sfor\slooking\sinto\sthe\sTcl\sbuffers\sthere\s\nis\s'Tcl_Inputbuffered'\sreturning\sthe\snumber\sof\sbytes\sof\s\ninput\scurrently\sbuffered\sin\sthe\scommon\sinternal\sbuffer\sof\sa\s\nchannel.\sThere\sis\salso\s'Tcl_InputBlocked'\swhich\sreturns\s1\s\nif\sinput\sis\sblocked\son\sthis\schannel,\s0\sotherwise.\sLast\swe\s\nhave\s'Tcl_Eof'\swhich\sreturns\s1\sif\sthe\schannel\sis\sat\sEOF,\s0\s\notherwise.\sBeyond\sthat\syou\shave\sto\squery\sthe\sdatastructures\s\ndirectly.\n\nRegarding\s"The\schannel\sis\sthe\spipe\sto\sa\schild\sof\nexpect,\sand\sas\sfar\sas\sI\sknow,\sthere's\nno\scontrol\sat\sthe\sscript\slevel\sabout\nblocking\sthat.",\sI\sassume\sthis\sto\smean\sthat\swe\shave\sno\s\ndirect\saccess\sto\sthe\schannel\sallowing\sus\sto\sperform\s\n[fconfigure\s$channel\s-blocking\s0].\n\n
J login andreas_kupries
J mimetype text/plain
J username andreas_kupries
K 462317ffffffffffffffffffffffffffffffffff
U andreas_kupries
Z 840631042924815afa857870e03800b3