lujinfeifly / connectbot

Automatically exported from code.google.com/p/connectbot
Apache License 2.0
1 stars 1 forks source link

On pressing any key the control exiting out from the entire shellscript #592

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Connected to my linux server through SSH using connectbot
2. Tried executing a shellscript which takes 5 number of different inputs and 
then does some processing based on the input parrameters

What is the expected output? What do you see instead?
Expected: I expect it to take all the 5 inputs and does the rest shell script 
execution
Actual: While taking the value for first input parameter, as soon as a key 
pressed the control is exiting out

What version of the product are you using (you can see this by using Menu
-> About in the Host List)?
Connectbot 1.7.1

What type of system are you trying to connect to?
Linux

If you are able to connect, what is the output of "echo $TERM", "uname -a",
and any other relevant information on the host?

Please provide any additional information below:
Its working fine in the emulator. Emulator takes all the inputs, but not the 
case with any handsets. Testing in Android 2.2, 2.3, 4 with Samsung/HTC/Sony. 
Its failing in all of them.

My shell script:
#!/bin/csh

echo "ENTER INPUT FILE :"
set inp=($<)
..............
............

Original issue reported on code.google.com by sakthimo...@gmail.com on 27 Jun 2012 at 9:26