wmaillard / shellinabox

Automatically exported from code.google.com/p/shellinabox
Other
0 stars 0 forks source link

Shellinabox does not work on an ipad #64

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Goto shellinabox site.  You can login, but each time enter is pressed, the 
screen is cleared.

What is the expected output? What do you see instead?
No clearing of the screen when enter is pressed.

What version of the product are you using? On what operating system?
I tried multiple in vain.  From 2.3 to 2.10

Please provide any additional information below.
I recognize this is probably not going to be a high priority right now, but the 
fix has got to be 
something simple I would hope.  It works in normal Safari in Mac OSX.  This 
would be an 
awesome way to manage servers with an ipad if it could work!

Original issue reported on code.google.com by dlangh@gmail.com on 20 Apr 2010 at 6:58

GoogleCodeExporter commented 8 years ago
just a quick update.  Oddly enough it works in the ipad simulator (available as 
part of xcode SDK 3.2).  So I'm not 
sure why it's failing on a physical ipad.

Original comment by dlangh@gmail.com on 20 Apr 2010 at 7:01

GoogleCodeExporter commented 8 years ago
I have tried this on my Ipad, it unfortunately does not work :(. It would be 
awesome to get this bug fixed. It would open up my Linux Server to some 
cross-platform use and give all of those people with an Ipad the chance to 
enjoy open source software on the command line from their browser.

Original comment by Knightw...@gmail.com on 2 Aug 2010 at 6:14

GoogleCodeExporter commented 8 years ago
I am sure it isn't going to require any big changes, as iPad is just supposed 
to be WebKit. But for lack of an iPad, there isn't much I can do to test 
anything. I'd happily accept patches though...

Original comment by zod...@gmail.com on 2 Aug 2010 at 6:38

GoogleCodeExporter commented 8 years ago
If you want me to help you test it, i'll be more then happy to help. Just point 
me (and my ipad) towards a server running the "bleeding edge" version of 
Shellinabox and i'll do some tests if you want to. 

Original comment by Knightw...@gmail.com on 2 Aug 2010 at 6:42

GoogleCodeExporter commented 8 years ago
The project's home page always runs the most recent version of the Javascript 
code. In fact, it runs the code directly from the subversion repository.

Original comment by zod...@gmail.com on 2 Aug 2010 at 3:27

GoogleCodeExporter commented 8 years ago
I found out that on iPad this.isEmbedded isn't set correctly. It seems that the 
Mobile Safari doesn't support some attributes for the screen. So 
this.isEmbedded is set to true, when it shouldn't be.
A quick hack:
In vt100.js add the following code lines after the first occurence of 
this.isEmbedded

var isMobile = navigator.userAgent.match(/iPad|iPhone|iPod/i) != null;
if (isMobile) {
        this.isEmbedded = false;
}

It's only a quick hack;-)
It's sad that the iPad keyboard doesn't have a tab key.

Original comment by frip%arc...@gtempaccount.com on 2 Aug 2010 at 5:08

GoogleCodeExporter commented 8 years ago
I've tested it on the projects page and was able to enter some "basic" commands 
(no pun intended). It does however take a few 'taps' in the window to trigger 
the ipad keyboard to pop up. I've also tried it on my own install of 
Shellinabox. I managed to log in , but then i get some strange screen. (i'll 
try to make a screenshot of that too later). Included is a screenshot of the 
default ipad keyboard. If you guyz need anything else let me know.

Original comment by Knightw...@gmail.com on 3 Aug 2010 at 5:55

Attachments:

GoogleCodeExporter commented 8 years ago
I added an option on-screen keyboard. Let me know, if this improves things for 
iPad users.

Original comment by zod...@gmail.com on 4 Sep 2010 at 5:55

GoogleCodeExporter commented 8 years ago
The fix in comment 6 has solved this for me on svn trunk@239. Would be nice to 
see this is the code base normal.

Original comment by robert.m...@gmail.com on 1 Dec 2010 at 9:26

GoogleCodeExporter commented 8 years ago
Hi fix in comment 6 resolve this for me; however, the ESC key is not coming 
through when using vi. The arrow keys is also not usable (for command history). 
Is there any minor change to fix those issues as well? 

On side note, I installed the latest svn version, but couldn't see how to 
activate the on-screen keyboard. Has the on-screen keyboard been implemented 
already? 

Many thanks 

Original comment by rebound1...@gmail.com on 11 Dec 2010 at 10:27

GoogleCodeExporter commented 8 years ago
If you enable the on-screen keyboard from the context menu, you should now see 
a little icon in the top right-hand corner that opens the keyboard. You can try 
this from the project's homepage at http://shellinabox.com

Original comment by zod...@gmail.com on 11 Dec 2010 at 10:31

GoogleCodeExporter commented 8 years ago
Is there any way to make the on-screen keyboard option being active by default?
Selecting it in a touchscreen-only device might be tricky, since it won't be 
easy do do a "right click" to go to the menu...

Original comment by mindboos...@gmail.com on 8 Jun 2012 at 2:52