5 ms·
The one feature that would make me consider using windows again is if it supported bash as a first class shell option and had a built in x server.
by grandalf 16y ago
The one feature that would make me consider using windows again is if it supported bash as a first class shell option and had a built in x server.
- mey 16y agotake a look at powershell, seriously, when i move to a linux desktop in the near future at work, my default shell will most likely be http://pash.sourceforge.net/ http://pash.sourceforge.net/
- rroy1590 16y agoso.. you want a unix operating system?
- iamelgringo 16y agoPowershell, isn't bash, but it's pretty kick ass. Instead of piping text from one command to the other, you pipe entire objects back and forth. A lot of bash commands are aliased to Powershell commandlets out of the box. And, as of Powershell 2.0, you have remote scripting similar to SSH. I choose to do Python Web development on Windows, and I spend my whole day on the PS command line, and I'm really pleased. http://en.wikipedia.org/wiki/Windows_PowerShell http://en.wikipedia.org/wiki/Windows_PowerShell
- mhw 16y ago> And, as of Powershell 2.0, you have remote scripting similar to SSH. What, instead of actually using the ubiquitous, widely installed SSH? Some things don't seem to change.
- code_duck 16y agoThat's my problem with PowerShell. No matter how good it may be, I don't really feel like relearning everything just to accomplish the same things, only on Windows instead.
- yread 16y agoAre you sure you are in the right business if you don't like relearning?
- vetinari 16y agoYes, throw away everything you know every now and then, instead of building knowledge on top of knowledge. That will get you far, right?
- mey 16y agoWho says you have to throw away everything you know? I don't magically stop knowing C++ when running around in Ruby or SQL.
- jpr 16y agoLearning new stuff is cool. Relearning same old stuff in different clothing because someone decided to do something differently is not cool.
- contextfree 16y agoPS is substantially different enough that I don't mind, though.
- code_duck 16y agoI like relearning. I don't have much use for re-learning... I'd rather learn to do something new. The "to accomplish the same things, only on Windows instead" is the crucial qualifier. I'd rather spend my time, I don't know - learning to configure nginx or doing Haskell tutorials than learn someone's proprietary shell, given that shells aren't particularly exciting and I already know enough about the shells that every other platform offers to be satisifed.
- euroclydon 16y agoI'm right there with you not wanting to learn a new shell, however PS is written against the .NET Windows API. The new stuff you'd have to learn would be Windows specific, sort of like learning AppleScript. Also, PS has traditional unix shell commands built in now, like grep and ls.
- jpr 16y agoHow does that whole "pipe entire objects back and forth" thing work? I mean it seems that there must be some huge machinery to facilitate that kind of thing. For example, if I pipe object from my program to another, how does the other program know what to expect? It must have some sort of type information available, which imposes some pre-planning. Also, when I pipe an object to another program, can the receiver call methods on it and are the changes visible to the sender?
- jules 16y agoI'm not sure how they do it and I've only used the basic features of powershell. That said, commands in powershell are .NET classes that define a method ProcessRecord. Inside this they can call WriteObject to write an object to the output stream. So it seems that they can just implement this without any parsing by passing objects around in the .NET runtime.
- contextfree 16y agoI like PS, but my main issue with it is that it's really slow.
- loewenskind 16y agoBash sure, but why would Microsoft build an X server? They already have remote desktop technology that works fine. The only thing one would possibly need an X server for is to display unix applications on the windows machine. Why would they spend extra effort for something like that?
- grandalf 16y agoit would be very easy to add a simple x server. If windows had a solid gcc, bash, and x server (and case sensitive file system) there would be none of the typical frustration I get when using it to do anything serious.
- loewenskind 16y agoUgh. Visual Studio is a superior development environment to anything you can get on Unix (with the only exception being Smalltalk environments and Slime to an extent), and case sensitive file systems are a mistake that came about from laziness. A file system should be case preserving but case insensitive. Full Stop. Do you know how much money has been lost in the business world because some idiot on a unix box thought differentiating different files with case alone was really cool?