Cash
-
We must fulfil the prophecy!
-
@lucas1 This actually looks really cool. I like their shell api from within node. I don't see much of a point as a cmd/bash replacement at this point, though.
-
@cartman82 I am having a play with it. Pretty nice. But cmder / gnutils does a lot of this stuff already for me.
-
@lucas1 said:
But cmder / gnutils does a lot of this stuff already for me.
Agreed.
See here for my current setup: https://what.thedailywtf.com/topic/19040/windows-10-shell-environment
-
-
@lucas1 it's 2016 and software still has trouble with spaces in filenames!
But apart from that, I mostly support this kind of thing. Bash is fucked, but there's no alternative with even half the tooling. Seems like they've included some kind of autocomplete library, so at least there's that.
Biggest problem in trying to escape bash is you're not gonna be able to manage any remote machines without it; ssh is a shirty half-baked protocol whose only option for remote execution of commands is to send a string of text to be parsed at the other end by whatever shell happens to be there. Does ssh specify what that shell is? I think not.
-
Cli in Node ?
Am i old?
Does it use LPAD?
-
-
-
@Buddy I regularly use SSH in powershell and "it works for me". SFTP seems to just work as well.
So whatever they are doing seems to work.
-
@loopback0 said:
@Buddy said:
trouble with spaces in filenames!
Just like Linux
Lies! Linux is the only sane OS when it comes to file names. Windows doesn't even let me use NUL bytes or newlines.
-
@lucas1 could you please provide more detail, this is something Iam interested in. Are you sshing into windows machines? Are you opening a remote shell or executing remote commands one at a time from your local machine? If you open a shell on a remote machine, do you lose your local config (key bindings etc)?
-
@Buddy There's an SSH plugin for Powershell if you just need SSH.
-
@anonymous234 um, linux isn't an os, it's a kernel. You're talking about ext-fs, which is a different thing entirely.
-
@Buddy windows to *nix as a rule using cmder / powershell
-
-
@loopback0 I suspect cmder is using that, but I don't care enough to check.
-
@lucas1 so once you'reconnected to thenix machine you need to start typing in bash, right, or whatever shell is installed on the remote machine?
-
@Buddy well I assume my terminal is piping through commands to the other terminal, so kind of.
-
@lucas1 ok, so if you want to find out what files are in a directory on the other box, do you type
ls dirname/
orlist-files-in-directory dirname\
?
-
@Buddy said:
Bash is fucked, but there's no alternative with even half the tooling.
The alternatives that have the tooling will have the same problems. Plus it really isn't that hard to write bash scripts that work fine with spaces. It's just a matter of using
"$var"
instead of$var
. OOooh, the horror!