Open Quanjiang opened 10 years ago
Hello !
First, i want to let you know that you made a Great work !
I also have the same question, how to use the text editor's function (vim or other) ?
Regards, Achrelam
Anybody was able to figure this out?
I'm going to try and make a brief write-up to explain what web-console actually does and link it to most of the other open issues which are all making the same assumption.
Long story short: It's pretending to be a shell. It's not a real shell, but it's close enough for most purposes.
When you type in a command, you send the command to the server, along with an authentication token and the current working directory. The server will then change to that directory and execute the command and return the output, which is what you see show up in your terminal.
Knowing this there's a list of things that obviously won't work:
Since it's a single request, anything requiring an open connection isn't going to work
^C
for example)While you might be able to get something like this working with a convoluted websockets system, it wouldn't do you much good because...
max_execution_time
is 10 seconds, anything you execute will be killed 10 seconds in.
Hi !
Very great plug to get access via web to ssh.
But I can't use it to open vi. Could you help me to get that ?