# Sebastian Hammer, Adam Dickmeiss
#
# $Log: client.tcl,v $
-# Revision 1.79 1995-10-18 16:42:37 adam
+# Revision 1.80 1995-10-18 17:20:32 adam
+# Work on target setup in client.tcl.
+#
+# Revision 1.79 1995/10/18 16:42:37 adam
# New settings: smallSetElementSetNames and mediumSetElementSetNames.
#
# Revision 1.78 1995/10/18 15:45:36 quinn
global CCLCheck
global ResultSetCheck
- set b 0
- while {[winfo exists .setup-$b]} {
- incr b
+ set bno 0
+ while {[winfo exists .setup-$bno]} {
+ incr bno
}
- set w .setup-$b
+ set w .setup-$bno
toplevelG $w
# Ok-cancel
bottom-buttons $w [list {Ok} [list protocol-setup-action $target $w] \
{Delete} [list protocol-setup-delete $target $w] \
+ {Advanced} [list advanced-setup $target $bno] \
{Cancel} [list destroy $w]] 0
}
+
+proc advanced-setup {target b} {
+ global profile
+
+ set w .advanced-setup-$b
+
+ toplevelG $w
+
+ wm title $w "Advanced setup $target"
+
+ top-down-window $w
+
+ if {$target == ""} {
+ set target Default
+ }
+ dputs target
+ dputs $profile($target)
+
+ frame $w.top.largeSetLowerBound
+ frame $w.top.smallSetUpperBound
+ frame $w.top.mediumSetPresentNumber
+ frame $w.top.presentChunk
+ frame $w.top.maximumRecordSize
+ frame $w.top.preferredMessageSize
+
+ pack $w.top.largeSetLowerBound $w.top.smallSetUpperBound \
+ $w.top.mediumSetPresentNumber $w.top.presentChunk \
+ $w.top.maximumRecordSize $w.top.preferredMessageSize \
+ -side top -anchor e -pady 2
+
+ entry-fields $w.top {largeSetLowerBound smallSetUpperBound \
+ mediumSetPresentNumber presentChunk maximumRecordSize \
+ preferredMessageSize} \
+ {{Large Set Lower Bound:} {Small Set Upper Bound:} \
+ {Medium Set Present Number:} {Present Chunk:} \
+ {Maximum Record Size:} {Preferred Message Size:}} \
+ [list advanced-setup-action $target $b] [list destroy $w]
+
+ bottom-buttons $w [list {Ok} [list advanced-setup-action $target $b] \
+ {Cancel} [list destroy $w]] 0
+}
+
+proc advanced-setup-action {target b} {
+ set w .advanced-setup-$b
+
+ dputs "advanced-setup-action"
+ destroy $w
+}
+
proc database-select-action {} {
set w .database-select.top
set b {}
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: ir-tcl.c,v $
- * Revision 1.61 1995-10-18 16:42:42 adam
+ * Revision 1.62 1995-10-18 17:20:33 adam
+ * Work on target setup in client.tcl.
+ *
+ * Revision 1.61 1995/10/18 16:42:42 adam
* New settings: smallSetElementSetNames and mediumSetElementSetNames.
*
* Revision 1.60 1995/10/18 15:43:31 adam
}
/*
- * do_smallSetElementSetNames: Set/Get element Set Names
+ * do_smallSetElementSetNames: Set/Get small Set Element Set Names
*/
static int do_smallSetElementSetNames (void *obj, Tcl_Interp *interp,
int argc, char **argv)
}
/*
- * do_mediumSetElementSetNames: Set/Get element Set Names
+ * do_mediumSetElementSetNames: Set/Get medium Set Element Set Names
*/
static int do_mediumSetElementSetNames (void *obj, Tcl_Interp *interp,
int argc, char **argv)