.
D 2000-10-26T01:06:19
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s2302\sBug\nVersion:\s8.1.1\nSubmitDate:\s'1999-06-28'\nLastModified:\s'1999-10-21'\nSeverity:\sSER\nStatus:\sReleased\nSubmitter:\stechsupp\nChangedBy:\shobbs\nOS:\sOther\nMachine:\sNA\nFixedDate:\s'1999-10-21'\nFixedInVersion:\s8.2\nClosedDate:\s'2000-10-25'\n\n\nName:\nPrabhat\sArora\n\nReproducibleScript:\n#\sI\sam\strying\sto\smake\sa\sTCl\sscript\son\sa\slinux\smachine\scommunicate\swith\sa\n\s\s\s\sTCl\s\n\s\s\s\s#\sscript\son\sWin98.\sI\shave\smade\sa\sserial\sport\sconnection\sbetween\sthe\stwo.\n\s\s\s\sThen\s\n\s\s\s\s#\sI\stry\sthe\sfollowing\scommands\son\sthe\stwo\sconsoles:\s\n\s\s\s\s\n\s\s\s\s#on\sa\slinux\sTcl\sconsole\n\s\s\s\s\n\s\s\s\sset\sin\s[open\s/dev/ttyS0\sr+]\n\s\s\s\sfconfigure\s$in\s-blocking\s0\s-buffering\sline\s-mode\s9600,0,8,1\n\s\s\s\sputs\s$in\s"Test\ssentence"\n\s\s\s\s\n\s\s\s\s#on\sthe\swindows\sTCl\sconsole\sI\stype\n\s\s\s\s\n\s\s\s\sset\sout\s[open\scom1:\sr+]\n\s\s\s\sfconfigure\s$out\s-blocking\s0\s-buffering\sline\s-mode\s9600,0,8,1\n\s\s\s\sputs\sstdout\s[gets\s$out]\n\s\s\s\s\n\s\s\s\s#no\soutput\son\sthe\sWin\sconsole...\sif\sthe\smode\sis\sblocking\sit\sfreezes!!\n\nObservedBehavior:\nI\sam\strying\sto\smake\sa\sserial\sconnection\sbetween\sa\sWin98\sPC\s\sand\sa\slinux\n\s\s\s\smachine.\sI\scan\swrite\sstuff\son\sthe\sWin\s98\sTcl\sconsole\s(using\sopen\scom1,\n\s\s\s\sputs\setc)\sand\sread\sit\son\sthe\slinux\sconsole\s(using\sgets..).\sBut\ssomehow\n\s\s\s\swith\sthe\ssame\ssettings\sthe\sconnection\sdoesnt\swork\sthe\sother\sway\si.e.\sif\n\s\s\s\sI\swrite\sto\sthe\s\sserial\sport\sat\sthe\slinux\sconsole,\si\scant\sread\sit\sat\sthe\n\s\s\s\sWin98\sTcl\sconsole.\sI\sam\susing\sTCl\s8.1.1\n\s\s\s\sWhat\sam\si\sdoing\swrong??\n\n\n\nThe\sserial\sand\ssocket\sdevice\sdrivers\swere\ssignificantly\schanged\nfrom\s8.1.1\sto\s8.2.\s\sThis\sshould\swork\swith\sthat\srelease.\s\n--\s10/21/1999\shobbs
J foundin final:\s8.1.1
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 69.\sOther
J title Cant\swrite\sfrom\slinux\sto\sWin98\sthrough\sa\sserial\sport\sconnect
J type Bug
K 218833ffffffffffffffffffffffffffffffffff
U nobody
Z 311d7e17f07b38deeecb1e40196df36c