.
D 2000-10-26T05:12:29
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s6294\sBug\nVersion:\s8.3\nSubmitDate:\s'2000-09-21'\nLastModified:\s'2000-10-25'\nSeverity:\sMED\nStatus:\sUnAssn\nSubmitter:\stechsupp\nOS:\sWindows\s95\nFixedDate:\s'2000-10-25'\nClosedDate:\s'2000-10-25'\n\n\nName:\nSchrödter\n\nComments:\nPlease\scheck\sthe\sman-syntax\sof\sthe\spatch,\sbecause\sI\sdo\snot\shave\sa\s\n\s\s\s\scompletely\sfeatured\sman-formatter\son\smy\sWin95\ssystem.\n\nReproducibleScript:\nset\schan\s[open\scom1:\sr+]\nfconfigure\s$chan\s-mode\s19200,n,8,1\s-buffering\snone\s-blocking\s1\nread\s$chan\s\s\s\s\s;#\sblocks\sforever,\sbecause\sthere\sis\sno\send-of-file\n\nObservedBehavior:\nThis\sbehaviour\shas\sbeen\sdiscussed\sin\scomp.lang.tcl\swith\sJeffrey\sHobbs.\nThe\sconclusion\swas\sthat\sthe\sdocumentation\son\sreading\sserial\sports\s\nshould\sbe\simproved.\n\nPatch:\n***\sread.nTue\sMay\s04\s18:19:42\s1999\n---\sread.n.newThu\sSep\s21\s09:48:58\s2000\n***************\n***\s51,56\s****\n---\s51,74\s----\n\s\sSee\sthe\s\\fBfconfigure\\fR\smanual\sentry\sfor\sa\sdiscussion\son\sways\sin\n\s\swhich\s\\fBfconfigure\\fR\swill\salter\sinput.\n\n+\s.SH\s"SERIAL\sCOMMUNICATIONS"\n+\sFor\smost\sapplications\sa\sserial\sport\sshould\sbe\sconfigured\sas\snonblocking:\n+\s\\fBfconfigure\s\\fIchannelId\s\\fB\\-blocking\s\\fI0\\fR.\sThen\s\\fBread\\fR\sbehaves\n+\smuch\slike\sdescribed\sabove.\n+\s.PP\n+\sCare\smust\sbe\staken\swhen\susing\s\\fBread\\fR\son\sblocking\sserial\sports:\n+\s.TP\n+\s\\fBread\s\\fIchannelId\snumChars\\fR\n+\s.\n+\sIn\sthis\sform\s\\fBread\\fR\sblocks\suntil\s\\fInumChars\\fR\sare\sreceived\sfrom\sthe\s\n+\sserial\sport.\n+\s.TP\n+\s\\fBread\s\\fIchannelId\\fR\n+\s.\n+\sIn\sthis\sform\s\\fBread\\fR\sblocks\suntil\sthe\sreception\sof\sthe\send-of-file\s\n+\scharacter,\ssee\s\\fBfconfigure\s-eofchar\\fR.\sIf\sthere\sis\sno\send-of-file\scharacter\s\n+\sspecified,\sthen\s\\fBread\\fR\smay\sblock\sforever.\n+\s\n\s\s.SH\s"SEE\sALSO"\n\s\seof(n),\sfblocked(n),\sfconfigure(n)\n\nPatchFiles:\nread.n\n\n\n\n
J foundin obsolete:\s8.3
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 69.\sOther
J title read\smay\sblock\sforever\son\sserial\sports\s-\sneeds\sto\sbe\sdocumen
J type Bug
K 219402ffffffffffffffffffffffffffffffffff
U nobody
Z 59169c34098562c25a93d4be51dbadb0