chiark / gitweb /
invoke ssh with compression on
[ypp-sc-tools.db-live.git] / pctb / dictionary-manager
index a31ce1bdf2eb08514bd41751700726c3671c868b..5d8ea10af221a22934e5f050f3501f252f6cd6e9 100755 (executable)
@@ -404,7 +404,7 @@ proc required/pixmap {} {
     set data [exec pnmscale 2 << $ppm]
     image create photo image/main -data $data
 
-    set alloptions [exec ./dictionary-pixmap-options $unk_what]
+    set alloptions [exec ./database-info-fetch $unk_what]
 
     select_database pixmap
 
@@ -1035,7 +1035,7 @@ proc remote-serv/take {yesno file dict} {
 
     must_gets_exactly stdin confirmed
 
-    manyset [dict2_reqkind_rows reqkind rows]
+    manyset [dict2_reqkind_rows $dict] reqkind rows
     
     if {$yesno} {
        read_database $dictdir/master-$dict.txt
@@ -1266,7 +1266,7 @@ proc main/approve {} {
     switch -glob $userhost {
        {} { }
        {* *} { set cmd $userhost }
-       * { set cmd [concat [list ssh $userhost] $cmd] }
+       * { set cmd [concat [list ssh -o compression=yes $userhost] $cmd] }
     }
     debug "APPROVER RUNS $cmd"