slitaz-tools rev 436

scpbox: change xterm geometry
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 14 23:17:52 2010 +0100 (2010-03-14)
parents 71139fa09dca
children 24e03edc5970
files tinyutils/scpbox
line diff
     1.1 --- a/tinyutils/scpbox	Fri Mar 12 12:01:54 2010 +0000
     1.2 +++ b/tinyutils/scpbox	Sun Mar 14 23:17:52 2010 +0100
     1.3 @@ -1,9 +1,9 @@
     1.4  #!/bin/sh
     1.5  # 
     1.6  # Gtkdialog box interafce for secure file transfer with scp from Dropbear.
     1.7 -# - SliTaz GNU/Linux 2008.
     1.8 +# - SliTaz GNU/Linux 2008-2010.
     1.9  #
    1.10 -VERSION=20080114
    1.11 +VERSION=20100314
    1.12  
    1.13  export SCP_DIALOG='
    1.14  <window title="Scpbox" icon-name="folder-remote">
    1.15 @@ -80,12 +80,12 @@
    1.16        <button>
    1.17          <label>Download</label>
    1.18          <input file icon="down"></input>
    1.19 -        <action>xterm -bg black -fg white -geometry 60x10+20+20 -e scp $SCP_OPTS $USER@$HOST:$REMOTE_PATH $LOCAL_PATH</action>
    1.20 +        <action>xterm -geometry 80x16 -e scp $SCP_OPTS $USER@$HOST:$REMOTE_PATH $LOCAL_PATH</action>
    1.21        </button>
    1.22        <button>
    1.23          <label>Upload</label>
    1.24          <input file icon="up"></input>
    1.25 -        <action>xterm -bg black -fg white -geometry 60x10+20+20 -e scp $SCP_OPTS $LOCAL_PATH $USER@$HOST:$REMOTE_PATH</action>
    1.26 +        <action>xterm -geometry 80x16 -e scp $SCP_OPTS $LOCAL_PATH $USER@$HOST:$REMOTE_PATH</action>
    1.27        </button>
    1.28        <button>
    1.29          <input file icon="exit"></input>