Artifacts Associated With Ticket 218331
Ticket change [414be43fcc] (rid 116166) by nobody on 2000-10-26 00:56:18:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 3924 RFE Version: 8.1 SubmitDate: '1999-12-22' LastModified: '2000-04-03' Severity: MED Status: Closed Submitter: techsupp ChangedBy: hobbs OS: Linux-SuSE Machine: Linux / Sun-Solaris FixedDate: '2000-10-25' ClosedDate: '2000-04-03' Name: Andreas Otto DesiredBehavior: I use a client-server system which connect over the network. I use "puts $FileIO $List" to send an tcl list over the network and "gets $FileIO List" to receive the list. If insight the List are strings with "newline" chars, the single "puts" produces many "gets" on the other side. This is not GOOD !!!! because i expect a valid tcl list, but with " newline" insight the list you get something like "{..<newline>" "..}" as 2 single "gets" An easy solution would be: extend the "fconfigure" command with something like similar to the "-translation" switch, where you can choose the "end of line" char. It's unlikely that this would ever be done, because it is counter to the whole basis of 'gets' (that it reads until newline), just like the C counterpart. The same would happen in C. The common solution it to regsub the \n's before sending the data across. -- 01/10/2000 hobbs This would require a patch to be considered. A simple protocol would be best served here (one gets to tell you to read the next N chars). -- 04/03/2000 hobbs - foundin initialized to: "obsolete: 8.1"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "63. (unused)"
- title initialized to: "Communication puts/gets (gets -eol char)"
- type initialized to: "Bug"
Ticket change [3ee9afdac7] (rid 121354) by welch on 2000-10-26 08:20:06:
- closedate changed to: "2000-10-26T01:20:06"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [d2c517c031] (rid 113593) by dgp on 2001-04-01 01:48:01:
- closedate changed to: "2001-03-31T18:48:01"
- closer changed to: "dgp"
- subsystem changed to: "27. Channel Types"