Skip to content
Tcl Source Code Artifact [414be43fcc]
Login

Artifact [414be43fcc]

Artifact 414be43fcc650c0cd98febe80ffc49b0f856367f:

Ticket change [414be43fcc] - New ticket [218331ffffffffff|218331ffff] <i>Communication puts/gets (gets -eol char)</i>. by nobody on 2000-10-26 00:56:18.
D 2000-10-26T00:56:18
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s3924\sRFE\nVersion:\s8.1\nSubmitDate:\s'1999-12-22'\nLastModified:\s'2000-04-03'\nSeverity:\sMED\nStatus:\sClosed\nSubmitter:\stechsupp\nChangedBy:\shobbs\nOS:\sLinux-SuSE\nMachine:\sLinux\s/\sSun-Solaris\nFixedDate:\s'2000-10-25'\nClosedDate:\s'2000-04-03'\n\n\nName:\nAndreas\sOtto\n\nDesiredBehavior:\nI\suse\sa\sclient-server\ssystem\swhich\sconnect\sover\sthe\snetwork.\nI\suse\s"puts\s$FileIO\s$List"\sto\ssend\san\stcl\slist\sover\sthe\snetwork\sand\s"gets\s$FileIO\sList"\sto\sreceive\sthe\slist.\nIf\sinsight\sthe\sList\sare\sstrings\swith\s"newline"\schars,\sthe\ssingle\s"puts"\sproduces\smany\s"gets"\son\sthe\sother\sside.\nThis\sis\snot\sGOOD\s!!!!\s\nbecause\si\sexpect\sa\svalid\stcl\slist,\sbut\swith\s"\snewline"\sinsight\sthe\slist\syou\sget\ssomething\s\nlike\s"{..<newline>"\s\s"..}"\sas\s2\ssingle\s"gets"\nAn\seasy\ssolution\swould\sbe:\n\sextend\sthe\s"fconfigure"\scommand\swith\ssomething\slike\ssimilar\sto\sthe\s"-translation"\sswitch,\nwhere\syou\scan\schoose\sthe\s"end\sof\sline"\schar.\n\n\n\nIt's\sunlikely\sthat\sthis\swould\sever\sbe\sdone,\sbecause\sit\sis\scounter\nto\sthe\swhole\sbasis\sof\s'gets'\s(that\sit\sreads\suntil\snewline),\sjust\nlike\sthe\sC\scounterpart.\s\sThe\ssame\swould\shappen\sin\sC.\s\sThe\scommon\nsolution\sit\sto\sregsub\sthe\s\\n's\sbefore\ssending\sthe\sdata\sacross.\s\n--\s01/10/2000\shobbs\nThis\swould\srequire\sa\spatch\sto\sbe\sconsidered.\s\sA\ssimple\sprotocol\nwould\sbe\sbest\sserved\shere\s(one\sgets\sto\stell\syou\sto\sread\sthe\nnext\sN\schars).\s\n--\s04/03/2000\shobbs
J foundin obsolete:\s8.1
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 63.\s(unused)
J title Communication\sputs/gets\s(gets\s-eol\schar)
J type Bug
K 218331ffffffffffffffffffffffffffffffffff
U nobody
Z 9097bd2718f9fc388209d053163d8edf