Live data from Hacker News

Cash: a cross-platform implementation of Unix shell commands in JavaScript

github.com

11–20 of 75 posts

Re: Cash: a cross-platform implementation of Unix shell commands in JavaScript

#11
Using a terminal in windows was a horrible experience when I had to do it for a (fortunately brief) project a couple of years ago. But I think the real problem isn't the lack of a decent shell; there are already several shells out there that, while not as nice as their modern Unix equivalents, are at least usable. The bigger problem for me was the terminal emulator. Awful fonts, worse rendering, crappy copy/paste, limited size, no split screen or tabs, etc etc. It truly felt like being back in the 90's, although I'll bet that even in the 90's the Linux terminal emulator experience was better than Windows is now.

Re: Cash: a cross-platform implementation of Unix shell commands in JavaScript

#13
I've found ConEmu a reasonable substitute for xterm+tmux/dwm.

Cmd.exe isn't so bad after installing clink for readline behavior and learning a few idioms.

The only thing really bothersome is the lack of job control (partially obviated by ConEmu), which I didn't see in Cash.

Re: Cash: a cross-platform implementation of Unix shell commands in JavaScript

#14

Using a terminal in windows was a horrible experience when I had to do it for a (fortunately brief) project a couple of years ago. But I think the real problem isn't the lack of a decent shell; there are already several shells out there that, while not as nice as their modern Unix equivalents, are at least usable. The bigger problem for me was the terminal emulator. Awful fonts, worse rendering, crappy copy/paste, li…

Checkout ConEmu; it's like a combination of a decent term emu, tmux & dwm.

Re: Cash: a cross-platform implementation of Unix shell commands in JavaScript

#15

Using a terminal in windows was a horrible experience when I had to do it for a (fortunately brief) project a couple of years ago. But I think the real problem isn't the lack of a decent shell; there are already several shells out there that, while not as nice as their modern Unix equivalents, are at least usable. The bigger problem for me was the terminal emulator. Awful fonts, worse rendering, crappy copy/paste, li…

http://babun.github.io/ is wonderful.

ConEmu is a great container for a tabbed interface of Babun, PuTTY or powershell instances.

Re: Cash: a cross-platform implementation of Unix shell commands in JavaScript

#16

I've found ConEmu a reasonable substitute for xterm+tmux/dwm. Cmd.exe isn't so bad after installing clink for readline behavior and learning a few idioms. The only thing really bothersome is the lack of job control (partially obviated by ConEmu), which I didn't see in Cash.

ConEmu is good - Cmder makes it a lot easier to set up as it has clink already configured. Still a few inconsistencies, but I've got a nice setup with Cmder, gow, and a few other shell tweaks.

Re: Cash: a cross-platform implementation of Unix shell commands in JavaScript

#18

I absolutely love msys2: http://msys2.github.io/ It comes with an easy to use installer and `pacman` package manager. Their repositories have lots of stuff already compiled to windows usage (the silver surfer, gnu global, etc). Also, sshd works mostly out of the box. Ability to ssh to Windows box into a functional shell (not crippled cmd.exe) is a killer feature for me.

+1 for msys2 and pacman. I was able to compile rather obscure libraries with next to no effort thanks to this. It's simple and straight forward.

     pacman -S msys/apackage
I had very little linux experience in the past and was amazed by the wealth of libraries, tools available. Especially anything related to the Gnome project. This stuff should be more popular among Windows developers.

Re: Cash: a cross-platform implementation of Unix shell commands in JavaScript

#19
> Huh? Okay - think Cygwin, except:

No GCC or compilers, which I would think is one of the biggest reasons most people use Cygwin? Cygwin isn't just shell commands, and surprisingly PowerShell doesn't suck as much it features some unixy commands. As well as others have mentioned Clink makes cmd.exe suck even less.

Re: Cash: a cross-platform implementation of Unix shell commands in JavaScript

#20

I absolutely love msys2: http://msys2.github.io/ It comes with an easy to use installer and `pacman` package manager. Their repositories have lots of stuff already compiled to windows usage (the silver surfer, gnu global, etc). Also, sshd works mostly out of the box. Ability to ssh to Windows box into a functional shell (not crippled cmd.exe) is a killer feature for me.

Thanks for mentioning this. I just started using Windows at home after a long break and defaulted to setting up Cygwin with cmder. Before that I used Arch Linux for a while so seeing that msys2 uses a port of pacman is intriguing. Could you (or anyone else for that matter) share more information about what it's like using this as opposed to Cygwin? Pros, cons, etc.
Post reply on HN