runtimejs / runtime

[not maintained] Lightweight JavaScript library operating system for the cloud
http://runtimejs.org
Apache License 2.0
1.93k stars 128 forks source link

Virtual terminals #8

Closed kjnsn closed 10 years ago

kjnsn commented 10 years ago

I think it would be useful to separate the terminal (program that works with video and keyboard) and the program that runs inside it. This would allow for systems such as SSH to function, and provides the architecture to run shells.

Is this too UNIX-y?

iefserge commented 10 years ago

Yes, they should definitely be separated. This way terminal can spawn shell app and pass it read/write interface functions in the arguments.

piranna commented 10 years ago

I think https://github.com/chjj/pty.js could be used to develop a getty-like program, but I'm not sure...

iefserge commented 10 years ago

Shell and terminal are now separate programs. Fixed in a latest release.