1. 20 Dec, 2001 1 commit
  2. 27 Nov, 2001 1 commit
  3. 05 Sep, 2001 1 commit
  4. 23 Jul, 2001 1 commit
  5. 13 Jul, 2001 1 commit
  6. 27 Jun, 2001 1 commit
  7. 20 Jun, 2001 1 commit
  8. 11 Apr, 2001 2 commits
    • Christopher Alfeld's avatar
      Serious restructuring of parsing. · e9b8c412
      Christopher Alfeld authored
      This makes variable dereferencing work as expected.  So:
      
              for {set i 1} {$i <= 8} {incr i} {
                  set c($i) [$ns node]
                  tb-set-node-cmdline $c($i) "BATCH=1 DST_NAME=$c($i)"
              }
      
      will now expand $c($i) to correctly to c-$i.  Similarly:
      
      set node1 [$ns node]
      puts "First node is $node1"
      
      will output:
      
      First node is node1.
      
      Caveat: It assumes that every node and lan will be stored in a
      variable.  So doing something like:
      
      $ns duplex-link [$ns node] [$ns node] 100Mb 150ms DroPTail
      
      while in theory valid and sensible, won't work.
      
      A clean rewrite of the parsing stuff is probably something I should do
      soon.  It needs it to do all the variable munging correctly.
      e9b8c412
    • Christopher Alfeld's avatar
      33144107
  9. 06 Apr, 2001 1 commit
  10. 05 Apr, 2001 1 commit
  11. 14 Mar, 2001 1 commit
  12. 14 Feb, 2001 1 commit
    • Christopher Alfeld's avatar
      parse.tcl has a few minor fixes and copies in the tb_compat.tcl file now. · 8b418535
      Christopher Alfeld authored
      postparse now uses tbcmds
      sim.tcl is updated to close (and flush) the tbcmds output stream if it
      exists.
      tb_compat.tcl is the TB version that should be included by newstyle ns scripts.
      tb_compat_nop.tcl is the NS version that should be renamed to tb_compat.tcl
      and included by scripts when they are run under ns.  I.e. scripts
      	source tb_compat.tcl
      as the first line and then use either the TB or the NS (nop) version depending
      on what they are doing.
      8b418535
  13. 13 Feb, 2001 1 commit
  14. 03 Jan, 2001 1 commit
  15. 26 Dec, 2000 1 commit
  16. 01 Nov, 2000 1 commit
  17. 18 Oct, 2000 1 commit
  18. 16 Oct, 2000 1 commit
  19. 13 Oct, 2000 1 commit
  20. 09 Oct, 2000 2 commits
  21. 25 Aug, 2000 1 commit
  22. 30 Jun, 2000 1 commit
  23. 12 Jun, 2000 1 commit
  24. 26 May, 2000 1 commit
  25. 25 May, 2000 1 commit
    • place's avatar
      This is the ns->ir tcl that rob wrote way back in february. · 864e4b61
      place authored
      it handles nodes, links, events(link_up, link_down)
      
      it will _not_ work for arbitrary ns input files. The problem is that
      an input file might say
      
      set something [$ns some args]
      $something do things
      
      but my code doesn't return anything exciting in the first line.
      I return Node, Link, Event, but if they are expecting an
      Agent/whatever/whatever back, they are out of luck.
      ...and so there isn't anything for the second line to make do things
      ...and it'll break.
      864e4b61