var ct = 0;
var watchdog = 0;
+function hbit(symb)
+{
+ if ($("heartbit").innerHTML.length >= 40)
+ $("heartbit").innerHTML = symb;
+ else
+ $("heartbit").innerHTML += symb;
+}
+
function xhr_rd_cb(xhr_rd)
{
var ret;
$("sandbox").innerHTML = zug;
/* heartbit log */
- $("heartbit").innerHTML += "_";
- if ($("heartbit").innerHTML.length == 20)
- $("heartbit").innerHTML = "_";
+ hbit("_");
do {
again = 0;
singlecomm = gst.comms.shift();
// alert("EXE"+gugu);
// $("xhrdeltalog").innerHTML = "EVALL: "+singlecomm.replace("<", "<", "g"); +"<br>";
+ hbit("+");
+
eval(singlecomm);
again = 1;
}
watchdog = 0;
setTimeout(xhr_rd_poll, tout, sess);
- $("heartbit").innerHTML += "-";
- if ($("heartbit").innerHTML.length == 20)
- $("heartbit").innerHTML = "-";
+ // hbit(".");
}
return;
var delta = 0;
var match_lines = /^_*$/;
+ hbit("/\\");
+
// check for the same command group
if (xhr_rd_old_n != xhr_rd_cur_n) {
xhr_rd_old_n = xhr_rd_cur_n;
if (the_end != true) {
setTimeout(xhr_rd_poll, tout, sess);
- $("heartbit").innerHTML += "-";
- if ($("heartbit").innerHTML.length == 20)
- $("heartbit").innerHTML = "-";
+ // hbit(".");
}
return;