Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: cd7d9082bffaea555b7359cf7556c6321a77fe66
Ticket: 218617ffffffffffffffffffffffffffffffffff
fconfigure -mode option does not allow configuration of my s
User & Date: nobody on 2000-10-26 01:03:12
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 1461 Bug
    Version: 8.0.5
    SubmitDate: '1999-03-05'
    LastModified: '1999-11-29'
    Severity: MED
    Status: Released
    Submitter: pat
    ChangedBy: hobbs
    OS: Linux-Red Hat
    OSVersion: RedHat 5.2
    Machine: Other
    FixedDate: '1999-11-29'
    FixedInVersion: 8.2
    ClosedDate: '2000-10-25'
    
    
    Name: J.Brett Austin
    
    ReproducibleScript:
        set tty [open "/dev/modem" r+]
        fconfigure $tty -mode 2400,n,8,1
        fconfigure $tty
    
    ObservedBehavior:
        I was attempting to access a serial device from Tcl as per the
        instructions in Brent Welch's Practical Programming in Tcl and Tk (pages
        181-184) and found that I could not affect the mode of the serial port.
        I was running the script as "root" so I should have had the privelges
        necessary.  When I looked at the man page for fconfigure it does not
        list -mode as an option.  Does this mean that this feature has not been
        implemented yet?  Will it be at some future time?
        
    
    
    
    DesiredBehavior:
        Expected fconfigure to change the serial device mode.
        fconfigure $tty -mode 2400,n,8,1
        fconfigure $tty -mode
        =>2400,n,8,1
        
    
    
    
    
    This works as expected in 8.2 (which has improved on the
    serial stuff). 
    -- 11/29/1999 hobbs
    
  4. foundin changed to: "final: 8.0.5"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "63. (unused)"
  10. title changed to:
    fconfigure -mode option does not allow configuration of my s
    
  11. type changed to: "Bug"