Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4a0bb4dee9af605f1250ddee6ddc9854fadda41c
Ticket: 218839ffffffffffffffffffffffffffffffffff
Tcl/Tk 8.1.1 cannot handle COM ports higher than 9 in Window
User & Date: nobody on 2000-10-26 01:06:24
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 2337 Bug
    Version: 8.1.1
    SubmitDate: '1999-07-07'
    LastModified: '1999-07-22'
    Severity: MED
    Status: Released
    Submitter: techsupp
    ChangedBy: redman
    OS: Windows NT
    OSVersion: 4, service pack 3
    Machine: X86
    FixedDate: '1999-07-22'
    FixedInVersion: 8.2b2
    ClosedDate: '2000-10-25'
    
    
    Name:
    Andrea Zuccollo
    
    Extensions:
    8.1.1, no extensione
    
    CustomShell:
    none
    
    Comments:
    it would be a pity to give up on tcl/tk, as our project was really speed
        up by your tool; however, in the short term we'll need to use all  of
        the 16 ports on the digiboard device, so a fix or patch would really be
        appreciated
    
    ReproducibleScript:
    Hello,
        
        We are running tcl/tk 8.1.1 under win/nt; we connected a digiboard
        multi-serial port, with 16 extra com ports; when trying to open, say,
        COM10: we get an error: 
        
            couldn't open "COM10:": no such file or directory
        
        for ports from COM1: to COM9: we have no problems at all
        
        to replicate:
        
        dos> tclsh81
        % set f [open "com10:" "r"]
        couldn't open "com10:": no such file or directory
        %
    
    ObservedBehavior:
    see above
    
    DesiredBehavior:
    we expect tcl/tk to support all the com ports defined on the system;
        when opening an 'high' port, say COM11:, with a terminal program, we
        have no problems
    
    
    
    Comments from Rolf Schroedter:
    I did a search at Deja for 
            "com-ports com10" in comp.os.ms-windows.programmer.win32
    The suggestion there was to use a special notation for a filename
    >com9:
            set chan [open {\\.\com10} r]
    or
            set chan [open \\\\.\\com10 r]
    should work.
    
    Unfortunately I cannot test this on my system, so please give 
    a message whether it works.
    
    IMO Tcl should not implement any work around for this Win32 "feature".
    
    Regards,
    Rolf. 
    -- 07/16/1999 redman
    
    Verified that this works, added to documentation in open.n
     
    -- 07/22/1999 redman
    
  4. foundin changed to: "final: 8.1.1"
  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: "69. Other"
  10. title changed to:
    Tcl/Tk 8.1.1 cannot handle COM ports higher than 9 in Window
    
  11. type changed to: "Bug"