Skip to content
Tcl Source Code History Of Ticket 219402
Login

History Of Ticket 219402

Artifacts Associated With Ticket 219402

  1. Ticket change [681429cf87] (rid 103004) by nobody on 2000-10-26 05:12:29:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 6294 Bug
      Version: 8.3
      SubmitDate: '2000-09-21'
      LastModified: '2000-10-25'
      Severity: MED
      Status: UnAssn
      Submitter: techsupp
      OS: Windows 95
      FixedDate: '2000-10-25'
      ClosedDate: '2000-10-25'
      
      
      Name:
      Schrödter
      
      Comments:
      Please check the man-syntax of the patch, because I do not have a 
          completely featured man-formatter on my Win95 system.
      
      ReproducibleScript:
      set chan [open com1: r+]
      fconfigure $chan -mode 19200,n,8,1 -buffering none -blocking 1
      read $chan     ;# blocks forever, because there is no end-of-file
      
      ObservedBehavior:
      This behaviour has been discussed in comp.lang.tcl with Jeffrey Hobbs.
      The conclusion was that the documentation on reading serial ports 
      should be improved.
      
      Patch:
      *** read.nTue May 04 18:19:42 1999
      --- read.n.newThu Sep 21 09:48:58 2000
      ***************
      *** 51,56 ****
      --- 51,74 ----
        See the \fBfconfigure\fR manual entry for a discussion on ways in
        which \fBfconfigure\fR will alter input.
      
      + .SH "SERIAL COMMUNICATIONS"
      + For most applications a serial port should be configured as nonblocking:
      + \fBfconfigure \fIchannelId \fB\-blocking \fI0\fR. Then \fBread\fR behaves
      + much like described above.
      + .PP
      + Care must be taken when using \fBread\fR on blocking serial ports:
      + .TP
      + \fBread \fIchannelId numChars\fR
      + .
      + In this form \fBread\fR blocks until \fInumChars\fR are received from the 
      + serial port.
      + .TP
      + \fBread \fIchannelId\fR
      + .
      + In this form \fBread\fR blocks until the reception of the end-of-file 
      + character, see \fBfconfigure -eofchar\fR. If there is no end-of-file character 
      + specified, then \fBread\fR may block forever.
      + 
        .SH "SEE ALSO"
        eof(n), fblocked(n), fconfigure(n)
      
      PatchFiles:
      read.n
      
      
      
      
      
    4. foundin initialized to: "obsolete: 8.3"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "69. Other"
    10. title initialized to:
      read may block forever on serial ports - needs to be documen
      
    11. type initialized to: "Bug"
  2. Ticket change [241232f253] (rid 131047) by dkf on 2000-11-15 22:13:10:

    1. subsystem changed to: "62. (unused)"
  3. Ticket change [e8986001ee] (rid 104671) by dkf on 2001-02-05 04:02:10:

    1. assignee changed to: "dkf"
    2. icomment:
      (Must convert to a patch, and check to see whether it applies cleanly to the current doc tree - this change looks good in principle to me.)
      
      
    3. login: "dkf"
    4. mimetype: "text/plain"
    5. username: "dkf"
  4. Ticket change [a44e76bc78] (rid 110189) by dkf on 2001-03-23 22:10:39:

    1. icomment:
      Logged In: YES 
      user_id=79902
      
      Gone through the wording for increased clarity, and
      converted to a UniDiff.  Applies against version 1.5 of
      doc/read.n
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  5. Add attachment "read.patch" [a171dc0607] (rid 109710) by dkf on 2001-03-23 22:10:40.

  6. Ticket change [3a154a0ee6] (rid 112504) by dkf on 2001-03-23 22:10:40:

    1. icomment:
      
      
      File Added - 4560: read.patch
      
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  7. Ticket change [1274ffa897] (rid 95305) by dgp on 2001-04-03 06:18:32:

    1. subsystem changed to: "24. Channel Commands"
  8. Ticket change [bd6c78773a] (rid 101901) by dkf on 2001-04-06 21:28:55:

    1. closedate changed to: "2001-04-06T14:28:55"
    2. closer changed to: "dkf"
    3. resolution changed to: "Fixed"
    4. status changed to: "Closed"