Skip to content
Tcl Source Code History Of Ticket 218332ffffffffff
Login

History Of Ticket 218332ffffffffff

Artifacts Associated With Ticket 218332ffffffffff

  1. Ticket change [dc9f4997ee] (rid 114514) by nobody on 2000-10-26 00:56:19:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 3930 Bug
      Version: 8.2.2
      SubmitDate: '1999-12-23'
      LastModified: '2000-01-10'
      Severity: MED
      Status: Closed
      Submitter: techsupp
      ChangedBy: hobbs
      OS: Linux-Red Hat
      OSVersion: Linux Mandrake 6.1 - (Redhat compatible)
      FixedDate: '2000-10-25'
      ClosedDate: '2000-01-10'
      
      
      Name:
      SL
      
      ReproducibleScript:
      proc read {sock} {
        global gotread 
       puts "READ -> [gets $sock]"
        set gotread 1
      }
      set sock [socket twoup.q-net.net.au 23]
      vwait gotread
      
      ObservedBehavior:
      Just sits and does not respond (except for CTRL C / CTRLZ etc etc) but the gets command just hangs the script
      
      DesiredBehavior:
      well, for *something* to happen? and for it not to lock up
      
      
      
      There's something else going on here, that wasn't properly entered
      into the bug report (important info).  This little snippet will
      always hang, as expected, because the user is essentially making
      a socket call, and then doing a vwait.  The proc that is defined
      will never be called.  There is no use of fileevent, and the
      user likely wants an -async socket.  Also, it is unlikely that
      redefining the core "read" command is a good idea.  The user should
      look at the socket examples in the Tcl FAQ:
          http://www.purl.org/net/tcl-faq/
      for some premade stuff, since there are already some basic telnet
      communication scripts there as well. 
      -- 01/10/2000 hobbs
      
    4. foundin initialized to: "obsolete: 8.2.2"
    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: "socket command with telnet servers"
    11. type initialized to: "Bug"
  2. Ticket change [a3a25df71f] (rid 110075) 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 [e81827ca1d] (rid 104587) by dgp on 2001-04-01 01:47:59:

    1. subsystem changed to: "27. Channel Types"
  4. Ticket change [58f3e0deaf] (rid 117885) by dgp on 2001-04-01 01:48:00:

    1. closedate changed to: "2001-03-31T18:48:00"
    2. closer changed to: "dgp"