bjornhanson / shellinabox

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

A suggestion #44

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
First of all, You made a good peace of useful software.
And now comes the "but" statement.

But there are some small improvements that will improve the usefulness:

1. whenever I create something with script on Unix-like box, I have
pictures or files as a result
(textopdf (pdf) or R (statistics) script (png, pdf, jpg), ...),
I can rearrange the script that the result will go to the file (created
dynamically),
and I would like to see the content.
I have seen in the code that you are creating the links and the user can
click on the link,
but I have to arrange another server to provide the content.
Is it possible to serve the dynamic content too.

2. whenever the URL is coming like a content, it it possible to create an
event handler (or alert function),
to pull the URL to specific tab (as a separate window, to load the URL in a
floating IFRAME or load the URL over HTTP Request object)

3. posting script, shell command, ... without typing (purpose: showcase,
shell scripting course, ...),
we can make floating DIV with buttons and content as it should be typed.

4. simple solution for clipboard: you already have local clipboard (for the
session), make two boxes (list box widget) to copy to or from
system clip board (I'm using Klipper, so I can copy the content from The
Screen), and please do not push any other plugin to do the job,
now the solution is without Flash and/or Java, and that's fine and clean.

5. printing or copying the content of the screen: it will be fine, to have
a possibility to pick up the whole content into the string.

6. and the upload of the file to the specific tmp folder

Yes, I know, some of these things are not so easy to create, but I have a
hope :-)

Merry Christmas and Happy New Year

Original issue reported on code.google.com by MaNeMeBa...@email.si on 26 Dec 2009 at 10:53

GoogleCodeExporter commented 8 years ago
I solved 1. and 6. with NGINX (proxying and redirection)
(I didn't have time to analyze server side)
I added 1 line of code in the vt100.js function
VT100.prototype.setTextContent (2.) to trigger the urls (filtering)
and I created 2 prototype functions for filtering and for posting the scripts 
(3.)
with overload. I found the solution for clipboard (4.) and
I will create something like Klipper for our purposes.

Original comment by MaNeMeBa...@email.si on 30 Dec 2009 at 3:06