Issue 283 in shellinabox: how to open and interact with shellinabox in a custom html page

161 views
Skip to first unread message

shell...@googlecode.com

unread,
Apr 9, 2015, 4:37:24 AM4/9/15
to shell...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 283 by FSimo...@gmail.com: how to open and interact with
shellinabox in a custom html page
https://code.google.com/p/shellinabox/issues/detail?id=283

hello,
I would need to open a session shellinabox in an html page customized.
the terminal shellinabox will be loaded into a div inside of my page and
next to this div I have buttons that I will use to send strings of commands
to the cursor of the terminal shellinabox


here an example of what i want to do:
http://www.atlantidee.it/download/esempio_shellinabox.jpg

thanks for your help

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

shell...@googlecode.com

unread,
Jun 27, 2015, 7:29:06 AM6/27/15
to shell...@googlegroups.com

Comment #1 on issue 283 by luka.kra...@gmail.com: how to open and interact
with shellinabox in a custom html page
https://code.google.com/p/shellinabox/issues/detail?id=283

Hello,

if you use iframe to embed shellinabox on your page, you can check this
example:
https://github.com/shellinabox/shellinabox/blob/master/misc/embedded.html.
For this to work you need the updated version of shellinabox from Github.

In your case you could call sendKeys() method to pass commands to
shellinabox. I think that should work OK...

shell...@googlecode.com

unread,
Jul 17, 2015, 8:45:35 AM7/17/15
to shell...@googlegroups.com

Comment #2 on issue 283 by FSimo...@gmail.com: how to open and interact
with shellinabox in a custom html page
https://code.google.com/p/shellinabox/issues/detail?id=283

Thank you,
it is what i need and it works!

Now i need to send a ctrl+x and other shortcuts to the shell always by
pressing a button, but i don't know how can i do this
Reply all
Reply to author
Forward
0 new messages