Thank you for looking, I found this program on the net and is only a starting point, an idea and yes it is a mess right now. I am not a programmer or a developer, just an old fart with some time to kill and enjoying the mental exercise.
Sorry Foxtrot I forgot to say, I am not building a regular module. I am trying to get a terminal app to pass the command line to the dashboard without having to go through ssh.
Just to go in and make quick changes.
I apologize to all for my comments above.It was just a lack of sleep and frustration. I thank all of you for your interest and for correcting me.
Yes, it starts its own port at localhost:8022 and broadcasts its own ajaxterm.html. The iframe in module.html is directed to this port and displays the terminal.
In the Ajaxterm_files directory is ajaxterm.py which starts the terminal.
The help that I need is putting a start/stop button in the module.html to enable and disable the terminal.
Here is the link to my github.
Edit: After days of searching and trying many terminal apps, I chose this one for it's size and it works in the Nano
https://github.com/Roatandave/Nano-Terminal
Sorry I did not think anyone was watching. I am not a programmer just an old user. I will put this on my github tomorrow. I need some sleep after 5 18 hour days trying to figure this out, I would like some help. Thank You. You Have made me want to continue.
Well some success, I have ajax terminal written in python working on the nano.
Its not pretty but, its all local and has a login for the local user and looks to have full command access.
it looks good so far. now to start on the rest.
there is a starting point. If you try it - open the file qweb goto line 109 and remove email and xml entries. as they will not be needed anyway.
172 kb in size.
I tried that and failed also, I am tring now is to make a module with a single page web browser with a dedicated address and set the php to run in a little server and have the browser point to it. It is a small java app that I have to compile and then get that into the module. The one that looks promising is PHPTerm - small lightweight and looks to have good access to the command line. This will have to wait till I finish fixing the system crash I had this morning.
I will let all of you know.
Hello Everyone,
I have a shell terminal written in PHP, It is all in one file and works on the Nano. Termconsole.php
I replaced the index file with it and rebooted and brought up a terminal instead of the dashboard
through the first page
What I do not know is how to make a module for it as I know nothing of programing.
Could someone please help with the module.html file
I found this file on the net and has some useful commands.