#!/usr/bin/tclsh
-# $Id: robot.tcl,v 1.19 2001/06/29 21:47:31 adam Exp $
+# $Id: robot.tcl,v 1.20 2001/06/29 22:25:55 adam Exp $
#
proc RobotFileNext1 {area lead} {
# puts "RobotFileNext1 area=$area lead=$lead"
switch -- $c {
.. {
if {$pathl > 0} {
- incr pathl -1
+ incr pathl -2
set path [lrange $path 0 $pathl]
+ incr pathl
}
}
. {
proc RobotReadContent {url sock binary} {
global URL
- puts "RobotReadContent $url"
set buffer [read $sock 16384]
set readCount [string length $buffer]