Live data from Hacker News

Black Screen: A modern terminal emulator based on Electron

github.com

1–10 of 97 posts

Re: Black Screen: A modern terminal emulator based on Electron

#2
Screenshot looks awesome!

I get this error on mac os Yosemite, I made a github issue here: https://github.com/shockone/black-screen/issues/21

    black-screen$ gulp
    [17:35:09] Using gulpfile ~/black-screen/gulpfile.js
    [17:35:09] Starting 'default'...
    [17:35:09] Starting 'watch'...
    [17:35:09] Starting 'clean'...
    [17:35:09] Finished 'default' after 359 ms
    [17:35:09] Finished 'clean' after 58 ms
    [17:35:09] Starting 'typescript'...
    [17:35:09] Starting 'sass'...
    [17:35:10] Starting 'react'...
    [17:35:11] gulp-notify: [Black Screen Watcher] React has been compiled.
    [17:35:11] Finished 'react' after 1.83 s
    ~/black-screen/node_modules/typescript/lib/typescript.js:35171
                if (host.fileExists(fileName)) {
                         ^
    TypeError: undefined is not a function
        ...

Re: Black Screen: A modern terminal emulator based on Electron

#4
One of these seems to pop up every few months, which is great, terminals are old crusty awful things, but it seems like they always die out in development before they can run existing things like Vim which makes them fun POC's and not much else :/

Re: Black Screen: A modern terminal emulator based on Electron

#6

One of these seems to pop up every few months, which is great, terminals are old crusty awful things, but it seems like they always die out in development before they can run existing things like Vim which makes them fun POC's and not much else :/

> One of these seems to pop up every few months

Do you --or anyone reading this-- have a list of these? I would love to check them all out actually (not that I don't get your point).

Re: Black Screen: A modern terminal emulator based on Electron

#7
post #6

One of these seems to pop up every few months, which is great, terminals are old crusty awful things, but it seems like they always die out in development before they can run existing things like Vim which makes them fun POC's and not much else :/

> One of these seems to pop up every few months Do you --or anyone reading this-- have a list of these? I would love to check them all out actually (not that I don't get your point).

Well, there's Finalterm that doesn't exactly seem to like vim.

Re: Black Screen: A modern terminal emulator based on Electron

#8
post #6

One of these seems to pop up every few months, which is great, terminals are old crusty awful things, but it seems like they always die out in development before they can run existing things like Vim which makes them fun POC's and not much else :/

> One of these seems to pop up every few months Do you --or anyone reading this-- have a list of these? I would love to check them all out actually (not that I don't get your point).

https://github.com/unconed/TermKit

https://github.com/breuleux/terminus

https://github.com/substack/exterminate

Re: Black Screen: A modern terminal emulator based on Electron

#9

One of these seems to pop up every few months, which is great, terminals are old crusty awful things, but it seems like they always die out in development before they can run existing things like Vim which makes them fun POC's and not much else :/

I would really love it if one of these web-based terminals managed to stick around. Just being able to view images in a terminal would be amazing. The trouble with building on web technologies seems to be that the overhead is just too high (eg. Atom) considering how many terminals the average developer has open at a time.

I guess at least since it's based on Electron, it might have more longevity than something built from a cobbled together base. Here's hoping!

Re: Black Screen: A modern terminal emulator based on Electron

#10
post #3

Bummer. Doesn't compile with iojs.

It looks like it uses "child_pty" to spawn pty's. child_pty hasn't been updated to support the latest nan/v8 api (in fact, it looks like it's been unmaintained since March). It also improperly uses fs streams to read and write to the pty fd which will exhaust the thread pool very quickly. So, even if you can compile it, it will still break.

It also looks like it doesn't handle sigchld with a waitpid anywhere, so be prepared to have a zombie apocalypse on your machine.

I'd recommend the author switch to pty.js[1] which now compiles on io.js >=3.0.0 and reads pty fd's properly, but I'm biased.

[1] https://github.com/chjj/pty.js

Post reply on HN