leofarage / connectbot

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

Post-login automation inserts command but doesn't press enter #221

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. setup a post-login automation command
2. login to a server

What is the expected output? What do you see instead?
Expected it to actually press enter to run the command instead of just 
typing it in for me.

Actually, I expected it to work the same way other SSH clients do, and 
execute the command directly instead of running a login shell then 
automating typing it. With the openssh client, this is achieved like:
> ssh user@host "command -args"

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

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?
irrelevant

Please provide any additional information below.

Original issue reported on code.google.com by recl...@gmail.com on 12 Nov 2009 at 3:16

GoogleCodeExporter commented 8 years ago
If you want an carriage return to be sent, simply press carriage return (enter) 
when typing in the post-
login automation. It's a multi-line input.

Original comment by kenny@the-b.org on 12 Nov 2009 at 5:07

GoogleCodeExporter commented 8 years ago
It doesn't look like a multi-line input on the Droid. I wouldn't normally 
assume that 
pressing enter on a single line text input field is even possible.

Original comment by recl...@gmail.com on 12 Nov 2009 at 5:17