netperf-2.2.4
3) Fetch, compile and install the following additional utilities:
-
+
- vimage management utility,
- ng_pipe,
- ngctl
set cancelcmd "destroy $wi; destroyNewoval $c"
set applytext "Add oval"
}
-
+
frame $wi.butt -borderwidth 6
button $wi.butt.apply -text $applytext -command "$applycmd"
button $wi.butt.cancel -text "Cancel" -command $cancelcmd
lappend $iconcoords $coords
lappend $object $iconcoords "color $color" \
"label {$caption}" "labelcolor $labelcolor"
-
+
# draw it
drawOval $object
if { $x > [expr $x2-($x2-$x1)/8.0]} { set r 1 }
if { $y < [expr $y1+($y2-$y1)/8.0]} { set u 1 }
if { $y > [expr $y2-($y2-$y1)/8.0]} { set d 1 }
-
+
if {$l==1} {
if {$u==1} {
$c config -cursor top_left_corner
if { [lsearch $effects bold ] != -1} {set textBold 1}
if { [lsearch $effects italic ] != -1} {set textItalic 1}
if { [lsearch $effects underline ] != -1} {set textUnderline 1}
-
+
if { $fontfamily == "" } {
set fontfamily $defTextFontFamily
}
set applycmd "textConfigApply $c $wi $target "
set cancelcmd "destroy $wi"
-
+
button $wi.action.apply -text "Apply" -command "$applycmd"
button $wi.action.cancel -text "Cancel" -command "$cancelcmd"
bind $wi <Key-Escape> "$cancelcmd"
-# $Id: editor.tcl,v 1.62.2.3 2007/07/19 00:12:45 marko Exp $
+# $Id: editor.tcl,v 1.62.2.4 2007/07/19 01:30:46 marko Exp $
#
# Copyright 2004, 2005 University of Zagreb, Croatia. All rights reserved.
#
}
} else {
set background [.c create rectangle 0 0 $e_sizex $e_sizey \
- -fill white -tags "background"]
+ -fill white -tags "background"]
}
if { $showAnnotations == 1 } {
selectNode $c $obj
}
} else {
- setNodeCoords $resizeobj "$x $y $x1 $y1"
- set redrawNeeded 1
- set resizemode false
+ setNodeCoords $resizeobj "$x $y $x1 $y1"
+ set redrawNeeded 1
+ set resizemode false
}
}
-# $Id: exec.tcl,v 1.46.2.4 2007/07/19 00:12:45 marko Exp $
+# $Id: exec.tcl,v 1.46.2.5 2007/07/19 01:30:46 marko Exp $
# Copyright 2004, 2005 University of Zagreb, Croatia. All rights reserved.
#
nexec ngctl msg $lname: setcfg \
"{ bandwidth=$bandwidth delay=$delay \
- upstream={ BER=$ber duplicate=$dup } \
- downstream={ BER=$ber duplicate=$dup } }"
+ upstream={ BER=$ber duplicate=$dup } \
+ downstream={ BER=$ber duplicate=$dup } }"
}
#****f* exec.tcl/cleanupCfg
-# $Id: filemgmt.tcl,v 1.7.2.3 2007/07/19 00:12:45 marko Exp $
+# $Id: filemgmt.tcl,v 1.7.2.4 2007/07/19 01:30:46 marko Exp $
#
# Copyright 2004, 2005 University of Zagreb, Croatia. All rights reserved.
#
set currentFile ""
-set fileTypes {{"IMUNES network configuration" {.imn} }
- { "All files" {*}}}
+set fileTypes {
+ {"IMUNES network configuration" {.imn} }
+ { "All files" {*} }
+}
+
-
#****f* filemgmt.tcl/newFile
# NAME
# newFile -- new file
-# $Id: initgui.tcl,v 1.34.2.3 2007/07/19 00:12:45 marko Exp $
+# $Id: initgui.tcl,v 1.34.2.4 2007/07/19 01:30:46 marko Exp $
#
# Copyright 2004, 2005 University of Zagreb, Croatia. All rights reserved.
#
#
set invisible -1
bind . <Control-i> {
- global invisible
- set invisible [expr $invisible * -1]
- redrawAll
+ global invisible
+ set invisible [expr $invisible * -1]
+ redrawAll
}
#