Skip to content
Tcl Source Code Artifact [0876e82b04]
Login

Artifact [0876e82b04]

Artifact 0876e82b0467f5b18742ec58e5f33377a1fb4299:

Ticket change [0876e82b04] - Ticket [714d37c3aa71d087|714d37c3aa] <i>Cannot access COM10: and above in Windows</i> status still Open with 3 other changes by twylite on 2014-09-09 14:35:10.
D 2014-09-09T14:35:10.973
J icomment "Windows\snever\sallows\snames\sending\sin\scolon"\r\n\r\nThat\sis\stechnically\sincorrect.\s\sA\scolon\sin\sa\sfile\sname\sindicates\saccess\sto\san\salternate\sNTFS\sstream\swithin\sthe\sfile,\sand\sCreateFile()\ssupports\san\slpFileName\sending\sin\sa\scolon\sin\sat\sleast\ssome\scircumstances.\r\n\r\nModifying\sthe\sfilesystem\simplementation\simposes\san\soverhead\s(albeit\ssmall)\son\sall\suse\sto\ssimplify\san\suncommon\suse\scase\sthat\sis\salready\splatform\sspecific\s(i.e.\syou\sdon't\sopen\s*nix\sserial\sports\susing\sthe\s"COMx:"\sname)\sand\soutdated\s(the\s"COMx:"\sx=1..9\sDOS\sdevices\sare\ssupported\sin\sWindows\sfor\sbackwards\scompatibility).\s\sIntroducing\sa\sTcl-specific\snotion\sof\sa\s"COM10:"\sDOS\sdevice\ssounds\swrong\sto\sme.\r\n\r\nThe\scorrect\sapproach\sis\sto\supdate\sthe\sTcl\sdocumentation\sto\sreflect\sthe\scorrect\snames\sfor\sCOM\sdevices\son\sWindows,\si.e.\s{\\\\.\\COMx},\srather\sthan\sreferring\sto\sthe\slegacy\sDOS\sdevice\snames\s"COM1:",\setc.\s\s\r\n\r\nWhen\sother\sapplication\s(like\sPutty)\sshow\syou\sa\s"COM10:"\sthey\sare\susing\s{\\\\.\\COM10}\sinternally;\sthat\sis\sa\sUI\sissue.
J login twylite
J mimetype text/plain
K 714d37c3aa71d087cc35afcc59edd5667d4048db
U twylite
Z 0d7cbaa248a7aa96b3d1459dc914e2ed