There are a whole bunch of web-based terminal programs, some of which implement an SSH client in the browser, others use their own system
for communication via something like Web... err... well that
Web[letter] thing that I've forgotten the name of.
Anyway I'm of the opinion that client-side scripting is the work
of the devil, and also part of my thinking is to enable some sort
of shell access to a Tilde from systems where SSH clients aren't
as available as web browsers (eg. Windows CE), but those web browsers probably aren't suitably Javascript compatible.
I'd like to write a simple Bash CGI script that executes commands
entered in a plain HTML form, and displays the terminal output.
In theory it's dead simple, but I'd like to be able to update the display before the command has completed,
I'd like to write a simple Bash CGI script that executes commands
entered in a plain HTML form, and displays the terminal output. In
theory it's dead simple, but I'd like to be able to update the
display before the command has completed, and add few other features
On 2020-08-16, The Free Thinker <freet@aussies.space> wrote:
There are a whole bunch of web-based terminal programs, some of which
implement an SSH client in the browser, others use their own system
for communication via something like Web... err... well that
Web[letter] thing that I've forgotten the name of.
???
I don't quite follow :)
Anyway I'm of the opinion that client-side scripting is the work
of the devil, and also part of my thinking is to enable some sort
of shell access to a Tilde from systems where SSH clients aren't
as available as web browsers (eg. Windows CE), but those web browsers
probably aren't suitably Javascript compatible.
Even Windows has a ssh client nowadays.
Or do you mean really old stuff? As you put it too, if it's really
old it will not handle Javascrot anyway. Or anything given
for granted nowadays.
Would it make sense to attempt the back-porting of a lightweight SSH
client instead?
I'd like to write a simple Bash CGI script that executes commands
entered in a plain HTML form, and displays the terminal output.
During the late 90's there were sites providing you with a working
real-time chat environment. I have no idea what that was made
of (I'm not sure if Javascrap was already a thing back then).
In theory it's dead simple, but I'd like to be able to update the display
before the command has completed,
In the end completion is something you get when you press TAB (or ^d, or whatever you like), so perhaps you don't need anything automatic?
The Free Thinker <freet@aussies.space> wrote:
I'd like to write a simple Bash CGI script that executes commands
entered in a plain HTML form, and displays the terminal output. In
theory it's dead simple, but I'd like to be able to update the
display before the command has completed, and add few other features
I'm a sysadmin, I just make servers work, I don't code, but Webmin has had a web-based terminal of sorts since the days when Sparcs roamed the earth. I dunno how they do it or any of the technical mumbo-jumbo, but it's saved my bacon...once or twice. :)
Sysop: | deepend |
---|---|
Location: | Calgary, Alberta |
Users: | 255 |
Nodes: | 10 (0 / 10) |
Uptime: | 127:08:34 |
Calls: | 1,718 |
Calls today: | 2 |
Files: | 4,099 |
D/L today: |
2 files (2,312K bytes) |
Messages: | 392,094 |