Skip to content
Tcl Source Code History Of Ticket 218331
Login

History Of Ticket 218331

Artifacts Associated With Ticket 218331

  1. Ticket change [414be43fcc] (rid 116166) by nobody on 2000-10-26 00:56:18:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. 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
      
    4. foundin initialized to: "obsolete: 8.1"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "63. (unused)"
    10. title initialized to: "Communication puts/gets (gets -eol char)"
    11. type initialized to: "Bug"
  2. Ticket change [3ee9afdac7] (rid 121354) by welch on 2000-10-26 08:20:06:

    1. closedate changed to: "2000-10-26T01:20:06"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [d2c517c031] (rid 113593) by dgp on 2001-04-01 01:48:01:

    1. closedate changed to: "2001-03-31T18:48:01"
    2. closer changed to: "dgp"
    3. subsystem changed to: "27. Channel Types"