Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split console from shell components #1

Open
piranna opened this issue Apr 9, 2015 · 2 comments
Open

Split console from shell components #1

piranna opened this issue Apr 9, 2015 · 2 comments

Comments

@piranna
Copy link

piranna commented Apr 9, 2015

I think the scroll is something generic that can be used in several consoles (it's transparent to the language or the text being shown, think on gnome-terminal scroll functionality or terminator for example), while at the same time the objects expansion is related to the shell (it's mostly vinculed to a particular language, in this case Javascript). This would allow to create a great console and shell for NodeOS (take a look at https://github.com/NodeOS/node-bin-getty and https://github.com/groundwater/node-bin-nsh) :-)

@skerit
Copy link
Member

skerit commented Apr 13, 2015

Hmm, if I understand correctly you want some kind of abstraction layer between the handling of the log lines and the output on the screen?

Because, yeah, it's very intertwined. It's specifically meant for the terminal, which is why I used the "blessed" curses library.

Or am I misreading something? :)

@piranna
Copy link
Author

piranna commented Apr 13, 2015

Yes, somewhat :-) It could be done a generic terminal with scroll based on blessed (it has got a lot of improvements in this area) and another part being the shell component itself, with the objects expansion magic and so. I don't know how much could it be possible to make the blessed-on-blessed to work, but the blessed-terminal widget could do the trick according to the demos (it open a new pty... :-) ).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants