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

Add command history and scrolling to the shell #38

Closed alspore closed 9 years ago

iefserge commented 9 years ago

@5paceManSpiff thank you for this feature request! unfortunately I wouldn't be able to get to this soon because runtime.js is currently under major rewrite (system design and code structure, going to split core into separate npm modules, also complexity of this system is insane, there is going to be a lot of structure changes and cleanups).

piranna commented 9 years ago

going to split core into separate npm modules

Will runtime.js be managed by npm? This would be awesome! :-D

iefserge commented 9 years ago

@piranna yeah, I think it would be nice to have different components available as npm modules and also be able to depend on other modules internally. Maybe even going to use browserify to make it simple to use.

It would look like this (not sure about exact module structure yet):

var runtime = require('runtimejs-core');
var net = require('runtimejs-net')(runtime);
var fs = require('runtimejs-fs')(runtime);

// Use network directly
var socket = new net.UDPSocket();

// Http over network
var http = require('runtimejs-http')(net);

http.createServer( ... )

Also, all existing RRC/isolates/promises/pipes functionality is temporary going to be disabled. Just want to make it much much more simpler/less scalable and focus on critical stuff and get it running.

piranna commented 9 years ago

Cool! I've also done the NodeOS build system npm based, so maybe some day runtime.js would be a dependency! :-D

iefserge commented 9 years ago

Sounds great! :+1:

iefserge commented 9 years ago

Shell has been partially removed, because there is no filesystem and the idea is to not have shell at all by default.