Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0364ea7669884dbc53870f7d4b03b657e6a97887
Ticket: 227412ffffffffffffffffffffffffffffffffff
fconfigure -mode doesn't appear to work in TCLPro 1.4
User & Date: sgalthof on 2001-01-03 15:28:11
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    On 1/2/2001 I got TCLPro 1.4
    I use prowish83
    
    I enter:
    set port [open /dev/ttya w+]
    fconfigure $port -mode "9600,0,8,1"
    
    In responce I get:
    Error in startup script: bad option "-mode": should be one of -blocking, -buffering, -buffersize, -encoding, -eofchar, or -translation
        while executing
    "fconfigure $port -mode "9600,0,8,1""
        (file "devnet" line 36)
    
    I've seen this error before in the Bug Database, but I couldn't tell from the posts how to fix it.  The previous bug reports say this error has been fixed, but it doesn't seem to have been, in later versions of tcl.
    
    A possible cause of the problem would be that tcl might not recognize /dev/ttya as a serial port.  Maybe open should have a flag so you can explicitly specify that a connection is a serial port or not.
    
  4. foundin changed to: "obsolete: 8.3.2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "sgalthof"
  9. subsystem changed to: "62. (unused)"
  10. title changed to:
    fconfigure -mode doesn't appear to work in TCLPro 1.4
    
  11. type changed to: "Bug"