Tcl/Tk 8.1.1 cannot handle COM ports higher than 9 in Window
Closed / Fixed218839ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:06:24
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
welch Closed ticket [218839ffff].
[History diff]2000-10-26 08:30:13
dgp Ticket [218839ffff]: 3 changes
[History diff]2001-04-23 03:18:25
Log in (anonymous is fine) to add a comment.