anorakgirl
Programmer
hi,
i'm writing some scripts to allow users to run simple tasks on our server. the user runs the script by running this command on their pc:
the file test.sh then requires some user input e.g.
which works fine except the backspace key doesn't work, it prints ^H. However, backspace does work when the user ssh's into the box without specifying the command to run (i.e.
).
any idea how i can set the backspace to work properly when i execute a script like this?
thanks! ~ ~
i'm writing some scripts to allow users to run simple tasks on our server. the user runs the script by running this command on their pc:
Code:
ssh2 -t user@myserver.com test.sh
Code:
echo Please type something
read SOMETHING
Code:
ssh2 user@myserver.com
any idea how i can set the backspace to work properly when i execute a script like this?
thanks! ~ ~