Slashdot Mirror


Windows to Have Better CLI

MickyJ writes "The command line interface to the Windows Server OS will be changed to the new Monad Shell (MSH), in a phased implementation to take place over the next three to five years. 'It will exceed what has been delivered in Linux and Unix for many years', so says Bob Muglia, a Senior VP at Microsoft." More from the Tom's Hardware article: "The language in Muglia's comment offers the first clear indication that WMI may be yet one more component being left behind, as Microsoft moves away from portions of Windows architecture that have historically been vulnerable to malicious attack."

113 of 742 comments (clear)

  1. Balls? by Grave_Rose · · Score: 5, Funny

    Unix have no Monads.

    Gr@ve_Rose

    --
    !ekoj on si aixelsyD
    1. Re:Balls? by DenDave · · Score: 4, Funny

      And if they did, it would be GPL and probably be called....

      Yep.. gonads...

      GNU/Gonads...

      gonads.org??

      --
      -if at first you don't succeed, stay the heck away from paragliding.
    2. Re:Balls? by TheoMurpse · · Score: 2, Funny

      GONADS:
      GONADS Ovaries Nads Are Different Sexualorgans

    3. Re:Balls? by Greg_D · · Score: 2, Funny

      Better to call it gonads than gnonads, I guess.

    4. Re:Balls? by ondrasek · · Score: 4, Insightful

      Well... I've played with technological preview of Monad. Being bash addict, I must however admit, that Monad offers functionality beyong imagination of modern Linux shells. It passes objects through pipes instead of text and is strictly object oriented. It uses a model of namespaces, so in Windows, you are able to browse registry, file systems, environment variables, etc. in unified way.

      The authors claim, that it's modelled after the VMS shells. VMS seems to regain its fame in Microsoft, with Windows NT kernel being originally designed by Dave Cutler - a VMS guru.

      Monad really rocks and is worth trying.

  2. Way to go! by Anonymous Coward · · Score: 5, Funny

    "The language in Muglia's comment offers the first clear indication that WMI may be yet one more component being left behind, as Microsoft moves away from portions of Windows architecture that have historically been vulnerable to malicious attack."

    1. Write complex management interface
    2. Shore up security holes over many years of use and testing
    3. Ditch for new immature code
    4. ?
    5. Profit!

    If they're ditching WMI it *won't* be for security reasons.

    1. Re:Way to go! by capt.Hij · · Score: 2, Interesting

      Number three could be expanded to: "ditch for new immature code which will take 3-5 years to implement new technology when completely workable alternatives exist and could be easily adapted." Should it really take a company with Microsoft's resources to take 3-5 years to implement a new scripting language? Are the permissions system that broken that it takes so much effort to plug the holes? Should I stop begging the question?

  3. Monad? Rather than... by dyfet · · Score: 5, Funny
    Because they couldnt get a full pair? I found the implications of the name too humorous to pass commenting on...

  4. It's about time by Anonymous Coward · · Score: 5, Insightful

    Microsoft ignoring the command line is just as silly as ignoring the Internet. It's only taken them longer to realise because only power-users and sysadmins are affected instead of every user.

    1. Re:It's about time by selderrr · · Score: 3, Interesting

      what I find the strangest, it that they need so much time to develop it... they have such a pile of cash, and have used it before to pump out software at breakneck speeds (and actually break their neck as with internet explorer) to crush competitors. The fact that this CLI will take so long to develop means that either they don't take it seriously and won't invest big bucks, or means that they take it very seriously and don't want to screw it up again. but even in the last case : the proposed planning is a very careful one

    2. Re:It's about time by /ASCII · · Score: 2, Interesting

      Truth be told, Linux does a pretty lousy job of integrating the shell into the GUI as well. Shell programs should support the mouse, should respect theme color preferences and should use the X clipboard for copy and paste. There are many other ways in which the CLI could benefit from a closer integration with the GUI.

      I have written a shell that uses the X clipboard for copy and paste, available here, but the other features are still missing. I hope to support using the mouse to select completions from the tab completion list in the future as well.

      --
      Try out fish, the friendly interactive shell.
    3. Re:It's about time by ergo98 · · Score: 2, Insightful

      Microsoft ignoring the command line is just as silly as ignoring the Internet.

      Well to be fair there have been alternative, and powerful, command-line tools for Windows systems for a very long time. Just last night I threw together a perl script to perform some tasks.

      While I have access to the beta of this product, I haven't looked at it extensively and thus this should be taken with a grain of salt, but my first impression upon seeing this mentioned on blogs.msdn.com was "Jesus...someone else with NIH syndrome". Does the world REALLY need another scripting language? Do we really need to go back to the drawing board yet again? I understand that they want to leverage some of the great .NET stuff, but they could have done that within the confines of an existing, proven language.

      (I'm talking specifically about scripting as the scripting language seems to be the bulk of Monad)

    4. Re:It's about time by selderrr · · Score: 2, Insightful

      well, i think size is a hindrance in a certain way : there are more peopple to communicate with, and each node in that process is prone to misinterpretation or self-overestimating. however, i think that that hindrance (which is also an advantage as microsoft shows often enough) can be compensated by strong and smart leadership. I think that is the factor determining the quality of apple and the crappiness of microsoft. The bigger the ship, the better the captain needs to be !

    5. Re:It's about time by ScytheBlade1 · · Score: 2, Funny

      When it stops looking like DOS,

      DOS:
      cd C:\PROGRA~1
      2k+ cmd.exe:
      cd C:\Program Files

      smelling like DOS,

      Which is why you no longer have a true DOS enviroment... in case you haven't noticed, 2000 on up no longer uses DOS as it's initial bootloader. It's gone, and it's been gone for a bit.

      and quacking like DOS.

      Can't help you there, I'm still getting this weird error about not finding '/dev/hda' in this script I made... it doesn't seem to like "echo 000000000000 > /dev/{h,s}d{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s, t,u,v,w,x,y,z}". Oh well, if by "quacks" you mean "errors", yeah, it's still the same.

      In literally every aspect, though, DOS has been gone for a very, very long time.

    6. Re:It's about time by ConceptJunkie · · Score: 2, Insightful

      Actually, it's quite reasonable to compare CMD to COMMAND.COM. It's changes and improvements over the former have been minimal.

      Of course, I've been using 4DOS (now 4NT) for something like 15 years. I can't imagine any power user who wouldn't use something like 4NT or bash or any of number of shells with real functionality.

      --
      You are in a maze of twisty little passages, all alike.
    7. Re:It's about time by Pollardito · · Score: 2, Funny

      clearly they're spending the extra time and energy choosing the perfect font

    8. Re:It's about time by ILikeRed · · Score: 5, Interesting
      Don't forget about your example that Internet Explorer was not originally a Microsoft product:
      • They took the code from a project called Mosiac
      • They made a deal with a company called Spyglass to use their source code from Mosiac
      • The deal was for a small quarterly payment and a big percentage of sales of Internet Explorer
      • They screwed both Netscape and their partner Mosiac by giving it away for free - undercutting the competition and avoiding all royalties to Spyglass - putting them out of business also.
      So maybe they just could not find any BSD based CLI or naive proprietary company to screw out of a good CLI? You have to admit though - that is quite some business innovation - Bill's pure genius at it's best. I heard Spyglass finally got a few million out of their lawsuit. It just amazes me that people don't remember these things.
      --
      I have come to a conclusion that one useless man is a shame, two is a law firm, and three or more is a congress -J Adams
    9. Re:It's about time by cduffy · · Score: 2, Insightful

      You realize that cd C:\PROGRA~1 looks quite a lot like cd "C:\Program Files"? Still has the use of backslashes as a path separator rather than a quote character; still has the whole drive letter thing... in fact, support for long filenames is the only difference you've demonstrated.

      It still has attrib, mem, and most of the other old DOS commands. dir still has the same options, and starts out by listing the drive label (if any).

      Don't tell me cmd.exe doesn't look and smell like DOS.

    10. Re:It's about time by matth · · Score: 2, Insightful

      So they made an improvement to DOS... how does that mean it's NOT DOS? So DOS now supports more then 8 characters... that makes it not DOS? When your Linux operating system has a new bash feature it didn't used to have.. does that make it no longer bash?!?!

    11. Re:It's about time by /ASCII · · Score: 2, Insightful

      *sigh*

      Your argument is that since a feature might not be available in all situations, it is a bad idea to implement it at all. Along your line of reasoning, all GUIs are evil, since you sometimes only have terminal access. Hell, if I'm stranded on a tiny island in the middle of the ocean, I don't even have a computer, so any software is evil by your logic.

      Of course, any feature that a shell implements should fail gracefully. In fish (my shell), if there is no X server connected, fish simply takes care of it's own copy and paste buffer. But it does not make sense to have one such buffer for each shell that is running.

      --
      Try out fish, the friendly interactive shell.
    12. Re:It's about time by charlieo88 · · Score: 2, Insightful

      Hmm... Wonder why Spyglass or its successor doesn't take that deal plus Microsoft's "IE is intergrated too tightly to the OS to be removed" argument and ask for an adjusted percentage of the price of Windows?

    13. Re:It's about time by archen · · Score: 2, Interesting

      While I look forward to any improvement over cmd.exe (heh, like that's hard), I have no doubt that MS still "doesn't get it". Unix systems have developed on a foundation since the 70's and the command line is still a preferred interface to many (including myself). Shells typically do not do much in themselves, they act as a _simple_ glue. A shell takes the collective enviornment of small utilities and gives you the power to harness them all together and accomplish just about anything. Is MS going to implement 1000 small utilities? No, because MS has a "do it all" philosophy.

      As such what they will do is invent ANOTHER scripting language with a CLI interface for users. There is a difference between a scripting language and a shell, but I don't think MS can (or will) tell the difference. Scripts do some things well, shells do other things well. Scripting in a shell is good because it takes your native interface and allows you to automate it. Is MS seriously going to tell us that the CLI is the way of the future?

      So basically we are where we are now, but with a more capable shell. I'm sure many of us people using Jscript can't wait to move down the chain from the second-teir citizenship we endure from MS's half hearted support of Jscript as a scripting language. And what happens when we cannot do a task in MSH? Same thing we do now, bunch of work arounds and cludges because something is not installed by default.

      While I aplaud MS for trying to make windows not suck as much, the CLI is Unix turf and windows attempt at stabbing into such an enviornment will be half hearted at best. Windows needs a shell badly, but not another scripting language. Just look at how hard it is to change permissons on a directory. A nightmare to do in VBscript or Jscript, and really painful to do with cacls (such an intuitive name). MS can't bear the simplicity of chown / chmod.

    14. Re:It's about time by Raistlin99 · · Score: 2, Informative

      At least on Win2k and XP if you just type the name of the file, and its a registered type, it will open in the default application. So its actually easier than on OSX apparently.

      --
      I/O, I/O, its off to disk I go, with a read and a write, and a bit and a byte, I/O, I/O, I/O, I/O
    15. Re:It's about time by Blakey+Rat · · Score: 2, Insightful

      Well, yeah, but look: For home users who would be interested in the Internet in that time period, there were two OSes, Macintosh and Windows. You're arguing that Windows was "behind the Internet curve" and I'm saying that Macintosh was a lot MORE "behind the curve" than Microsoft was.

      If your criteria is "Microsoft making their own web browser" then by your standards, Apple didn't start paying attention to the Internet until 2002... what sense does that make?

      I'm sure Linux and Unix had PPP dialers in 1994-1998, but nobody used it in their home, so that's kind of a moot point.

      To me this whole "Microsoft ignored the Internet" thing sounds like FUD from anti-Microsoft Linux users.

  5. Next Slashdot Headline by sammykrupa · · Score: 5, Funny

    Next Headline on Slashdot:

    Microsoft Pushes Back Longhorn Until 2008 Over New CLI and Changing of "My"

    1. Re:Next Slashdot Headline by justforaday · · Score: 5, Funny

      I just really hope there will be an icon on the Start menu labeled "My Command Prompt"

      --
      I'll turn into a supernova and burn up everything. Well I'll turn into a black little hole and you'll turn into string.
    2. Re:Next Slashdot Headline by wild_berry · · Score: 2, Funny

      I don't believe you. It's not been confirmed by Netcraft.

  6. vaporware by mattdm · · Score: 4, Funny

    Bah:

    "...will exceed what has been delivered in Linux and Unix for many years. It will take three to five years to fully develop and deliver."

    Somehow I'm not too worried.

    1. Re:vaporware by HyperChicken · · Score: 5, Informative

      It's not "vaporware"; It actually exists. You can get in on the beta for free.

      http://channel9.msdn.com/wiki/default.aspx/Channel 9.MSHWiki - How to sign up

      --
      Free of Flash! Free of Flash!
    2. Re:vaporware by drunkennewfiemidget · · Score: 2, Insightful

      Even if it's not vaporware, I have a hard time believing what Unix and Linux have had available to them via bash, csh, etc over all these years will somehow be trumped by some new shell created by Microsoft of all people in no time at all.

      Right, because endless feedback, coding, feature requests, bug squashing, and use of the *nix shells for how many years now isn't worth anything.

      Open mouth, insert foot.

    3. Re:vaporware by mattdm · · Score: 2, Interesting

      It's not "vaporware"; It actually exists. You can get in on the beta for free.

      Yeah, I actually looked at some of the sample code before posting. The "vapor" part is the in-three-to-five-years-this'll-be-better-than-Unix claim -- right now, from what I've seen, they would have been far better served to go with bash. (Excepting of course their license issues.)

    4. Re:vaporware by rpozz · · Score: 2, Insightful

      Yes, I totally agree. Linux/UNIX shells have been developed, tested and improved by hundreds (thousands?) of people who use them repeatedly every day over the course of more than 20 years. How the hell is MS going to make something superior in 3-5?

    5. Re:vaporware by Eric604 · · Score: 4, Insightful

      Because they can rip off Linux/UNIX shells that have been developed, tested and improved by hundreds (thousands?) of people over the course of more than 20 years?

    6. Re:vaporware by HyperChicken · · Score: 2, Interesting

      right now, from what I've seen, they would have been far better served to go with bash.

      What makes you say that? My (limited) understanding of Monad is that it can do UNIX-style text piping and regular expressions and awk and all that candy in addition to the object-oriented stuff.

      And the object-oriented stuff shows some potential. Being able to pull data from a pipe much more easily (e.g. without a regular expression). Much saner sorting. Blah blah blah.

      This is what the impression the Channel 9 demo video gave me, at least.

      --
      Free of Flash! Free of Flash!
    7. Re:vaporware by ssj_195 · · Score: 5, Interesting
      Why should you be worried?
      Because there are a surprisingly large contingent of people who define themselves by the operating system they use, and whose self-esteem is directly linked to the perceived superiority of this operating system over Microsoft Windows. During the late nineties, when Windows was truly a buggy, crashy, piece of shit, these people positively basked in the glee that came from the vindication of their chosen OS - back then, Linux truly was light-years ahead of Windows in terms of speed and stability, and geeks rejoiced in the streets.

      Flash-forward to Windows 2000/ XP, and Microsoft apparently accomplished a miracle, producing a version of Windows that would literally run and run, and was still fairly nippy. Meanwhile, the writers of Linux Desktop Environments were discovering that it's very easy to be fast and light when you don't do much, or aren't particularly user-friendly, and that increased functionality almost always comes at the price of bloat.

      So these people saw two pillars of the superiority of Linux (speed and stability) snatched away from them. The truly curious thing is what happened next: instead of being spurred into action by this new competition and addressing these concerns on the Linux side, these people instead simply went into a state of denial, and refused to let go of these cherished (and rapidly shrinking) areas where Linux once scored over Windows. Read through any anti-MS slashdot article on any given day and count the number of horribly outdated criticisms of Microsoft you see (BSOD's; bloat; Clippy(!)) - as a passionate believer in F/OSS, it really grieves me to see people behaving like this, rather than aiming to improve Linux to the state where it once again has many advantages over Windows.

      Flash-forward to now, as one of the other areas in which Linux scores over Windows (a UNIX command-line is an awesome and enjoyable tool to use; the Windows command line, by contrast, is a rubber hammer with nails in the handle :)) may well be snatched away, and we see the same thing: people are hoping against hope that Microsoft foul it up, because if they don't another area of Linux superiority disappears, along with another shred of their self-esteem. This, I think, is why people care, and why they do not wish Microsoft well in this project, however helpful it may be to the common good.

    8. Re:vaporware by hab136 · · Score: 2, Insightful
      This is what the impression the Channel 9 demo video gave me, at least.

      So, you've seen the marketing materials, but haven't actually used the product?

      Microsoft has excellect marketdroids and sales weasels. Their actual software doesn't usually live up to the expectations given by their marketing.

    9. Re:vaporware by LarsWestergren · · Score: 5, Insightful

      Linux/UNIX shells have been developed, tested and improved by hundreds (thousands?) of people who use them repeatedly every day over the course of more than 20 years. How the hell is MS going to make something superior in 3-5?

      I hate to be in any way sticking up for Microsoft, but don't underestimate the value of starting from a clean slate.

      Apple has done some pretty nifty things, for instance launcd . I know it's not popular with everyone, but I think it was pretty cool replacing all these different scipts and daemons, and having one XML based config file. They simplified by daring to question established wisdom (the "We've always done it this way so it must be perfect" mindset.)

      --

      Being bitter is drinking poison and hoping someone else will die

    10. Re:vaporware by hab136 · · Score: 3, Insightful
      No, I have used it and am keeping an open mind.

      You previous post strongly implied that you had only seen marketing materials and not used the product; thanks for clarifying that.

      I'm not jumping to the "Oh, it's from Microsoft and it must be stopped!" conclusion that most of Slashdot seems to jump to anytime Microsoft does anything.

      I work at an almost-all-Microsoft shop that develops, uses, and supports a custom application running on Windows. My comment about hype not living up to reality is from experience.

      They make some good products, some bad. But almost all are hyped up beyond their actual working capabilities.

      Microsoft is not unique in that respect, either.

    11. Re:vaporware by ssj_195 · · Score: 5, Insightful
      I hope you're not trying to paint me as "an MS shill"; check through my posting history and you'll see that this is anything but the case.

      Anyway, point by point:

      Well, unfortunately for them, 2000/XP, though better than Win 9x, are still far from reality. XP still does not run and run, 2000 does not either. They slowly come to a halt, XP faster than 2000. These OS can run and run, if you put one service only on them, and tweak them for two plain days until they ressemble nothing you could work with, which is a process I call tedious, not a "miracle". I never saw one of these OS run and run, but I suppose it is acheivable. Compared to a Linux that run and run without any tweak, there is still a chasm between the two OS.
      On this, we'll have to agree to disagree; I've seen XP crash a handful of times: a few times when it turned out my graphics card was faulty (this crashed Linux, too) and once when I was copying a file from my Linux comp to a friend of mine's XP comp via samba. The latter is inexcusable (but funny side-note: my friend blamed "Linux's crappy Samba implementation", even though it was his computer that crashed, not mine!). The rest of the time, my XP computer at work truly does run and run, requiring a reboot only when a critical Windows Update is required. Your experiences are apparently different.
      When KDE, despite being stuffed with features at every new version, becomes more and more fast with each release.
      This is true - KDE has been getting faster and more memory-friendly - check out the "top" output for KWrite (or is it Kate) under the KDE4 prototype code. I'm very pleased with the progress of KDE, and a recent talk by Robert Love (on optmising GNOME) shows that the Desktop Linux developers are very committed to reducing bloat, which I couldn't be happier about. However, the fact that KDE is getting faster either tells us that something that's always been good is getting better, or something that was slow and memory hungry before is getting better - much like Mac OS X, which started out dog-slow but which has been improving in speed with each successive release. Respectfully, I'd have to say it was the latter: on my 256MB laptop, KDE starts to swap more and much sooner than XP does (i.e. with fewer apps open). Firefox consumes far more resources than IE (although admittedly it also accomplishes far more). Having said that, the focus on the Linux side is on getting faster (I'm drooling with anticipation at XGL), so on the speed/ memory consumption side I see Linux ultimately winning out.
      Now, one thing I wonder : how MSH will come superior to bash, when bash is cross-platform, and msh is not ? It destroys one of the most important features of shells ...
      Cross-platform-ness is admirable, but a shell where objects are first-class citizens sounds pretty good to me. I determine the power of a shell by how much easier it will make my life.
    12. Re:vaporware by Arker · · Score: 2, Insightful

      This is such a load of stereotyping and questionable assumptions. The cracks about basing your self-worth on perceptions of your operating system are doubtless right on for an incredibly sad and incredibly small subset of users, but you present it almost as a universal. It's not. Many of us use many different OSs on a daily basis, and our sense of self-worth, if it's affected by such things at all, has more to do with being proud of our knowledge of them than with the characteristics themselves, regardless of OS.

      Then you go on to paint a very rosy (and very distorted) little fable about how Windows has 'caught up' with Linux. It hasn't.

      Linux is still far superior to Windows in terms of stability and bloat. Are the new NT-based Windows 'XP' versions more stable than the old DOS based ones? Yes, definately. Are they more stable than, say NT4? Not by much, if at all. Are they more bloated than NT4? Absolutely. Is it *possible* to install a bunch of bloat on a Linux system today? Absolutely! Is it necessary? Nope. So Linux still wins hands down on both comparisons - you can get a stable, lightweight linux install with very little work, you can get a stable, but still bloated, Windows install, but it takes more work.

      Windows is still given to BSODs, so that is hardly an outdated criticism. (And yes, we all know that if you know what you're doing and put in the time to properly configure it, you can get it pretty damn stable. Linux doesn't require a lot of tweaking and freaking to be stable. Like I said, in this respect the situation is pretty much how it stood in the days of NT4.) Windows today is more bloated than ever, so just how is that criticism outdated? Clippy may have been abandoned, but it will always stand as a shining example of what's wrong with the MicroSoft way, so it remains a timeless reference.

      And, btw, one of the few advantages of NT over Linux through all these years has in fact been the command line. Little known but true fact. Yes, the CLI that ships with Windows (true for all versions of windows since 95 - before that the CLI was shipped as a separate product but other than that technicality it's true all the way back to DOS 1) sucks donkey balls, but there's a horribly underappreciated replacement shell called 4NT that gives you the power of a *nix shell in a much friendlier package, and it's been around for years - it's a continuation of the old 4Dos shell.

      So, from my perspective, your post misses just about every point.

      --
      =-=-=-=-=-=-=-=-=-=-=-=-=-=-
      Friends don't let friends enable ecmascript.
    13. Re:vaporware by ssj_195 · · Score: 3, Insightful
      he cracks about basing your self-worth on perceptions of your operating system are doubtless right on for an incredibly sad and incredibly small subset of users, but you present it almost as a universal. It's not.
      This was really not my intention - "a surprisingly large" was a poor choice of words.
      Linux is still far superior to Windows in terms of stability and bloat. Are the new NT-based Windows 'XP' versions more stable than the old DOS based ones? Yes, definately. Are they more stable than, say NT4? Not by much, if at all. Are they more bloated than NT4? Absolutely. Is it *possible* to install a bunch of bloat on a Linux system today? Absolutely! Is it necessary? Nope. So Linux still wins hands down on both comparisons - you can get a stable, lightweight linux install with very little work, you can get a stable, but still bloated, Windows install, but it takes more work.
      Again, I can only tell you that I have never seen a BSOD (though I have seen one legitimate crash for XP). Also, KDE and GNOME most definitely are (currently) bloated - are we talking about Linux as a Desktop here, or as a server? I was referring to the former. The kernel itself remains excellent.
      Windows is still given to BSODs, so that is hardly an outdated criticism. (And yes, we all know that if you know what you're doing and put in the time to properly configure it, you can get it pretty damn stable. Linux doesn't require a lot of tweaking and freaking to be stable. Like I said, in this respect the situation is pretty much how it stood in the days of NT4.)
      I've honestly never seen a BSOD under XP. We have about 20 computers here on 24/7, all of which are installed by the programmer who works on them. They needed no tweaking at all for stability. I really just don't know what to tell you other than this - I find it hard to believe that we all just got lucky.

      Clippy may have been abandoned, but it will always stand as a shining example of what's wrong with the MicroSoft way, so it remains a timeless reference.
      OK, if that is indeed the spirit in which all of these jibes are made, then I'll concede the point :)
      So, from my perspective, your post misses just about every point.
      Fair enough.
    14. Re:vaporware by tsotha · · Score: 4, Insightful
      Back to reality from your piece of FUD :

      I can't belive you wrote that page-long screed without even reading what he wrote. I see this kind of crap on slashdot all the time. The only "Microsoft shill" there is the strawman you set up. I'll bet if I go back through your posting history you've made the same speech several times.

      I'm so sick of this kind of brainless Microsoft bashing. Most of the people here parrot the group-think line without having any idea what they're talking about. I suspect that means you, since my experience with XP is much different.

      Right now at work I'm using RHEL for development and XP for gaming/taxes/whatever at home. Guess what? XP, in my experience, is more stable than Redhat. That's not shilling, it's just my experience. I've never (not once) had XP crash on me. I wish I could say the same for Linux.

      It's true Microsoft pays "journalists" to come up with nice reviews in trade magazines. They know that's what non-technical management reads to make up it's collective mind. The only way Linux is going to make inroads into the corporate desktop is by being demonstrably better than Windows. That way the one or two honest tradesheet writers will write a nice article to give some backing to those of us that want to support OSS.

      But how can Linux improve if a substantial portion of its advocates can't even fucking see it's not perfect? As the grandparent noted, every release of Windows narrows the gap. If Microsoft adds a shell that I can use from a remote machine that removes one of the three reasons I don't use Windows for serious work:

      • no shell (cmd doesn't count)
      • viruses
      • I want to support OSS
      I hope there never comes a day when the only reason I have to run Linux is the third reason. I'll never be able to sell that to the boss.

      Oh, and by the way, don't bother accusing me of having "no knowlege" of the FOSS world. I've been writing and using FOSS since the internet was born. Have you?

    15. Re:vaporware by Blakey+Rat · · Score: 3, Insightful

      With MS shills, it has come to a point where they firmly believe that BSOD does not exist anymore in WinXP or later !!!

      Of course it exists, I don't think I've ever seen anybody claim it doesn't exist. But it can only be caused by *hardware problems*... that's the part that Linux users seem to miss all the time.

      If WinXP bluescreens more than Linux, the only thing that tells you is that most WinXP computers have cheap faulty hardware in them... and really, isn't that common sense anyway? (After all, anybody who knew PCs well enough to use Linux also knows how to build a computer with quality components.)

    16. Re:vaporware by drsmithy · · Score: 2, Insightful
      So you write scripts for version 1.3 of MSH and then it goes to version 1.4 and all your scripts are broken. Jee thats really fucking helpfull. I'm not saying thats how it is or will be but it's seems very possible with Microsoft running the show.

      Right. Because it's not like one of the keystones of Microsoft's empire is backwards compatibility. Nope, they never go out of their way to make sure old stuff still works on newer versions. That's Microsoft, all right.

  7. Hmm... by Sinryc · · Score: 2, Insightful

    Now, I don't know much about this but I do have a few questions. What all will this be likely to change? Also, once the biggest company in the world uses it, how will it be so secure? If so many people are using it, arent they more likely to find problems with it? Or am I just uneducated?

    --
    Yay, I have a sig.
  8. So Apple IS faster.... by Anonymous Coward · · Score: 5, Funny

    They change their entire platforms over 2 years, and MS will spend 3-5 years changing the default shell? :p

  9. ooooh by geoffspear · · Score: 3, Insightful
    In only 3 to 5 years, they'll be able to develop technology that's better than what exists today? What innovation!

    How about announcing great new technology that actually works today?

    --
    Don't blame me; I'm never given mod points.
    1. Re:ooooh by metlin · · Score: 5, Informative
      The beta has been available for sometime now - apparently you need Win2003 or .Net v2 for it to be installed.

      From someone I know who uses it:
      • Very slow, but the scripting was sweet, though not as compact as unix
      • Reminds you of a bastard child of unix+VMS
      • You can write commands in C#, kinda like servlets where you can extend a base class
      • It's an OO way of doing things, but unlike Perl/Python which are screenscrapers, Monad scripts can pipe out and pipe in objects - and everything happens through typed vars, not screenscraping.
    2. Re:ooooh by dysprosia · · Score: 4, Interesting

      Monad scripts can pipe out and pipe in objects

      This is trivial to implement with a programming language that supports serialization, esp. if it can serialize to stdin/stdout.. In Objective-C, it's a simple matter of objc_open_typed_stream(stdin, OBJC_READONLY); and objc_open_typed_stream(stdout, OBJC_WRITEONLY); and read:'ing and write:'ing to the stream.

    3. Re:ooooh by ByteSlicer · · Score: 2, Informative

      unlike Perl/Python which are screenscrapers, Monad scripts can pipe out and pipe in objects

      I'm sure a Python app can send serialized (pickled) objects to a stdio pipe.

    4. Re:ooooh by Anonymous Coward · · Score: 2, Insightful

      Why is this an improvement? If I wanted to write commands in C# or using OO practices, wouldn't I just use C# or an OO language?

      The purpose of a CLI is to give you straightforward access to the machine's commands and to provide straightforward access to the machines commands and the ability to connect them in interesting ways. The power of a CLI should come from the commands that a system exposes, not language features. That's why regular expression support is an external tool (sed) instead of a built-in to common shells; it puts the complexity where it belongs.

      The mark of a good CLI is simplicity and straightforwardness. The complexity belongs in the commands, not the syntax or the language.

    5. Re:ooooh by cygnusx · · Score: 2, Interesting

      Since you're writing out ObjC objects, can my perl script read your stdout from stdin? (I'm guessing: no, unless you write some routines in perl that will let it read your serialization format. Repeat for ps, sed, awk, grep, etc until you find you've hacked all of shellutils to be OO.)

      >> Monad scripts can pipe out and pipe in objects
      > This is trivial to implement with a programming language

      Monad has nothing to do with a programming language per se, although the examples use C# (you can just as easily use any other .NET language). The point of Monad is that it is a OO shell+shellutils.

  10. Better than Bash? by AnriL · · Score: 2, Insightful

    Better than Bash? I guess they'll be using Zsh then. :-)

    1. Re:Better than Bash? by sprins · · Score: 2, Insightful

      How about 4DOS ?

  11. Windows already has an excellent CLI by Weaselmancer · · Score: 5, Funny

    ...you just gotta go download it from here.

    --
    Weaselmancer
    rediculous.
    1. Re:Windows already has an excellent CLI by Yuioup · · Score: 4, Funny

      Yeah but the problem with Cygwin is that it's Open Source...

      Y

    2. Re:Windows already has an excellent CLI by Kazymyr · · Score: 2, Insightful

      The parent may have been modded funny, but that doesn't make it any less true.

      --
      I hadn't known there were so many idiots in the world until I started using the Internet -Stanislaw Lem
  12. I refuse to use it! by Roofus · · Score: 5, Funny

    Unless I can get transparent terminals. That is what really holds back MS in the server market. I mean, how useful is a shell unless you can see through it?

    1. Re:I refuse to use it! by akzeac · · Score: 3, Funny

      True transparent terminals? I'm still waiting for those in Linux!

    2. Re:I refuse to use it! by jellomizer · · Score: 4, Interesting

      Bla Bla Bla waste resources. Did you ever look at the system monitor and see what the difference in resources are if you have a transperant window is?
      I havent seen any difference. Transparent shells are acutally quite usefull. When I am reading documents on how to install a program I never installed before I usually have the webpage open and when I am typing in the text I can see the Website threw the shell and make sure I am typing it in correctly. (because I am a bad speller it is usefull) also it is quicker to type then cut and paist a lot of the time. espectilly when you need options that may be on the screen but not part of the example.

      --
      If something is so important that you feel the need to post it on the internet... It probably isn't that important.
    3. Re:I refuse to use it! by jonatha · · Score: 2, Funny

      Still waiting? Why?

      I've got an infinite number of transparent terminals up on the desktop already. Each time I start one I can't find the damn close icon to shut it down...

      --
      The SCO lawsuit makes me wish my company were in Utah. We need a new building.
  13. I've already got one, you see...? by rrognlie · · Score: 2, Funny

    And it's vera nice!

    Can you say bash from cygwin?!? thought you could

  14. I beta tested this thing by stormcoder · · Score: 2, Informative

    It exists. Unfortunately, it is nasty to use. Commands are long and it makes heavy use of COM (So much for .NET). I have no doubt that it will be heavily exploited by virii and phishers. So I don't think bash is in any danger of being replaced.

    --
    Sorry my bullshit sensor overloaded.
  15. Microsoft Shell by Anonymous Coward · · Score: 2, Interesting

    Actually, MSH has been available for public beta (if you're enrolled in MSDN, anyway) for quite some time now -- I've been using it on my Windows XP box at home just to test it out. In general.. yes, it's actually quite good, and up to the standard of Bash for most tasks. It's a huge step away from the WinXP command prompt, and represents something of a climbdown for Microsoft, who said they would be moving away from the CLI in future OSes. In addition, it may amuse the /. readers (it certainly amused me) that the Microsoft names for commands have nearly all been aliased to their UNIX equivalents by default. Obviously, Bill doesn't expect his names to stick. ;)

  16. Those who do not understand UNIX.... by caluml · · Score: 4, Interesting

    Isn't this just a case of: "Those who do not understand UNIX are condemned to reinvent it -- badly". -- Henry Spencer.
    Soon they'll be storing config in files, and have a CLI only version of their server.

    1. Re:Those who do not understand UNIX.... by stormcoder · · Score: 2, Insightful

      Soon they'll be storing config in files, and have a CLI only version of their server.

      An this is bad, how?

      --
      Sorry my bullshit sensor overloaded.
    2. Re:Those who do not understand UNIX.... by Jason+Earl · · Score: 4, Insightful

      Heck, this is probably what's taking them so long to actually release Monad. It's one thing to create a scripting language, it's another thing completely to create hooks that allow you to actually administer systems with the scripting language. UNIX has the advantage that A) everything is a file, and B) nearly all configuration files are some sort of structured text.

      Microsoft is all excited about being able to pipe objects on the command line, but that's really only because that's what Microsoft has to work with. All of the information that you want is locked up in some poorly documented binary file somewhere that was designed to be accessed from some sort of GUI. The beauty of UNIX's strategy is that I don't have to read some sort of API for a certain configuration object. Instead I simply eyeball the text files and use a vast array of text manipulation tools to do what needs doing.

  17. Yeah, but by $RANDOMLUSER · · Score: 2, Insightful

    Microsoft has never "gotten" regular expressions, and I doubt they're about to. Also, there's still the silly reliance on the file extension to tell the operating system how to handle a particular file.

    --
    No folly is more costly than the folly of intolerant idealism. - Winston Churchill
  18. About all these monad/gonad jokes... by bheer · · Score: 3, Informative

    For all the 13-year olds on /. who think they're funny, here's where the word monad really comes from.

  19. Re:Monad .. Gonad by dsginter · · Score: 2, Funny

    Also, who here believes MSH actually stands for Microsoft Shell?

    Who cares? MSH will be pronounced as "mash" and this will develop a related song for sysadmins to sing on Haloween:

    I was working in the lab late one night
    When my eyes beheld an eerie sight
    For my server from his slab began to rise
    And suddenly to my surprise

    He did the MSH
    He did the Microsoft MSH
    The Microsoft MSH
    It was a server smash
    He did the MSH
    It caught on in a flash
    He did the MSH
    He did the Microsoft MSH


    Catchy, no?

    --
    More
  20. Re:Monad .. Gonad by Daniel+Dvorkin · · Score: 3, Informative

    From dictionary.com:

    mo-nad n.

    1. Philosophy. An indivisible, impenetrable unit of substance viewed as the basic constituent element of physical reality in the metaphysics of Leibnitz.

    So it's a real word, and I can kinda sorta see why they chose it. I agree that it's unfortunate, though, and I think "MSH" (pronounced the obvious way) is a perfectly reasonable name.

    --
    The correlation between ignorance of statistics and using "correlation is not causation" as an argument is close to 1.
  21. Re:Cut/Copy/Paste by ssj_195 · · Score: 2, Informative

    You can already copy from/ paste to Window's default CLI (highlight text and press ENTER to copy; right-click to paste - same with cygwin). I don't know about cutting, though.

  22. Competition and interest by ratboot · · Score: 2, Insightful

    It's good to see competition and interest in this domain, it means :

    - More power to the Windows sysadmins
    - Push the evolution of some of the apparently stagnant Unix shells
    - This time see a difference between major versions of Bash (I mean I use Bash everyday and didn't see a difference between 2.x and 3.x, I mean a big difference).
    - ...

    strcpy, providing root to hackers since 1972!

  23. Re:Better late than .... by Ford+Prefect · · Score: 5, Funny

    It is interesting that they are now trying to implement a command line competitive with BASH....what year is this again?

    The year is 1973. Apple Computations Inc. have just announced that they are switching to the cutting-edge Zilog Z80 architecture for their range of low-cost pocket calculators; Sony Industrial Consumer Electronics are making use of an innovative new Integrated Circuit for their Alpha-Max-3 video system which contains at least five separate transistors; the Duke Nukem Forever board-game has been given a favourable reception at the Entertaining Entertainment Exposition at the Crystal Palace, London, and now Micro-Soft-Ware are designing their new, BASIC-derived timesharing shell for competing against the burgeoning MULTICS.

    Well, you did ask...

    --
    Tedious Bloggy Stuff - hooray?
  24. MSH: QuickRef by nighty5 · · Score: 4, Informative

    A quick list of functions and examples, looks very Bourne.

    http://channel9.msdn.com/wiki/default.aspx/Channel 9.MSHQuickStart

    Its about bloody time.

    VBS is a peice of crap, and is way to complicated for what should be simple tasks, MSH looks pretty damn promising.

  25. Nice, but not earthshattering by typical · · Score: 2, Interesting

    IIRC, the main difference that MS is touting over traditional *IX shell environments is that pipelines can exchange typed data instead of simply text.

    It's an interesting idea, though I'm not sure that I'd call it earth-shattering. This is an interface that applications need to support.

    I think that the main way that they could offer value over the *IX world is by providing an lower-learning-curve-shell. Traditionally, this is how Microsoft has managed to offer value over Unix.

    I'd like to see the *IX world get a fully-blown DAG-of-programs data stream processing environment, instead of just a linear pipeline. Gegl (the GIMP redesign) does this for graphics, but there's no reason that this can't be a feature that shells provide and something that works with data other than image data.

    (Technically you can do this in Unix today with named pipes, which the Windows world sadly lacks, but it's not as nice and transparent as it could be.)

    Actually, I guess you could do this with the mingw port of netcat in Windows...hmm...but even less transparent.

    The shell that MS had for a while wasn't great, but the virtual terminal absolutely sucked. It was slow, laggy, required you to use the mouse for common operations, didn't follow accepted selection convention, hard-wrapped lines when copying text out of the thing, didn't grow the scrollbar as the scrollback buffer grew, lacks tabs, and about eight million other problems. That, I think, is one of the biggest things that they could improve.

    --
    Any program relying on (nontrivial) preemptive multithreading will be buggy.
    1. Re:Nice, but not earthshattering by /ASCII · · Score: 3, Interesting

      I've written a Unix shell that aims to have a lower learning curve than traditional shells. It does this by having a smaller and simpler syntax, and integrated help features.

      There is an article about the shell here, and the shells homepage is here.

      --
      Try out fish, the friendly interactive shell.
  26. Too similar to perl by drspliff · · Score: 2, Insightful

    So.. I wanted to know what the language could do, what it's feature set were etc. so I went to the quickstart guide at the MSH Wiki site ( http://channel9.msdn.com/wiki/default.aspx/Channel 9.MSHQuickStart ).

    IMHO this looks a lot like perl, but with enough changed so people dont start looking through their code for 'Copyright (c) Larry Wall'... This is real innovation.. whatever.

    Forgive me for being naive, but couldn't Microsoft just develop stronger Windows bindings for Perl? It's battle hardened, already widly known and documented around the work.. not to mention you would ge the benifit of CPAN for additional modules (Would you trust Microsoft to write your date manipulation functions? hah!)

    And we all know somebody will work out how to run MSH code from deep within some other subsystem-by-proxy and inevitably cause another wave of virii (by this time Microsoft will be touting it's anti-virus software etc.)

    Oh the end is neigh, the sky will fall, etc. etc... I'll just shut up now and get back to some work.

  27. random current cmd gripes by kisrael · · Score: 4, Interesting

    There are two and a half things that bug the hell out of me with the current CLI:

    1. The tab completion behavior (the 'half' part of my 2 1/2 gripes is sometimes you have to fiddle with a registry setting to turn on tab completion). A unix shell (well, the one I'm used to, not even sure which) will complete only up to the point where its unique, and then I can hit Ctrl-D to see possible completions. A lot more predictable than tabbing through all completions that might fit what you've typed...the distinction between "characters I typed myself" and "characters showing up because I'm cycling through" has no visual cue, even though it completely controls what files get shown.

    2. up arrow behavior. It took me a while to finally "get" the logic of Windows...if you type command A, then command B, then command C, then arrow back up to B and run that, pressing down will then take you to C and up will take you to A. I think that it's meant to cover a long sequence of commands that you do over and over, so you don't have to keep uparrowing, but just pressing down once per repeated command, but its much harder to keep a mental model of.

    Both of these things are classic Window's trade off of predictability for perceived "user friendliness". I think hackers often prefer predicitability and ease of mental modeling, since they can always make it easier by some scripting or whatever.

    On the other hand, I like that I can add "\.." to the end of a filename and get to its directory. That's something that seems logical to me that Unix shells don't generally do.

    --
    SO YOU'RE GOING TO DIE: The Comic for Dealing with Death
    1. Re:random current cmd gripes by Tim+C · · Score: 4, Interesting

      I would suggest that the reason you find them unpredictable and counter-intuitive is that you're used to the way your preferred Unix shell does things.

      If you liken up-arrowing in the command history to up-arrowing in a text file, if you make an edit in the file, your cursor doesn't magically fly down to the bottom of the file, it stays where it is. That, I suspect, is the reasoning behind the Windows command shell's behaviour - it stays where you left it. Think of it as editing the list of executed commands.

    2. Re:random current cmd gripes by woods · · Score: 2, Insightful

      It seems to follow the same behavior as a browser's "forward" and "back" buttons. This would probably be more familiar to non-UNIX people.

  28. Reduced scripting for IE by jurt1235 · · Score: 2, Interesting

    "Reducing scripting privileges may break some existing Web applications, especially intranet apps geared for enterprises."

    This is interesting though: Internet applications are catching on, Firefox marketshare has scared Microsoft a bit, and what do they do in response: Fix their security holes by taking away features which now give them a lead in companies?

    I would rethink that one it I were head of MS IE division.

    --

    My wife's sketchblog Blob[p]: Gastrono-me
  29. Yes yes language blah by thenerdgod · · Score: 2, Interesting

    But will they swap \ for / ? THAT's what I want. The entire cosmos now uses /. er... '/'. ...though I suspect the entire cosmos DOES use /. to blather about their preferred operating system and how kids in trenchcoats are being oppressed by jonkatz or... something...

    1. Re:Yes yes language blah by Jugalator · · Score: 3, Informative

      MSH supports both \ and / for directory separators, and uses - for command options, maybe also / if you want to, don't quite remember, but definitely -.

      --
      Beware: In C++, your friends can see your privates!
  30. Re:WTF? by DaHat · · Score: 4, Informative

    I'd suggest you take of your Microsoft bashing hat and come out side, Monad has been in public beta for nearly a year now, want to take a look?

    1. You will need need a passport account. If you do not have one yet, you can sign-up for one at the beta website listed below.
    2. Goto http://beta.microsoft.com/
    3. Log into the site using the following guest ID: mshPDC
    4. Select Microsoft Command Shell
    5. Select Survey in the left column
    6. Register with a valid email address.
    7. Wait for the information to be sent to you through email. (May take a day or two)
    8. Once you receive your confirmation email, log back into http://beta.microsoft.com/ for the content

  31. But can you _do_ anything with it? by spauldo · · Score: 2, Interesting

    I haven't looked at the specs, since I don't work much with windows servers anymore, but I'm curious: one of the major advantages with UNIX boxes is that most of the software you work with has some sort of CLI, or at least has hooks that can read data produced from the command line.

    Windows, on the other hand, has always been particularly bad about that - most apps don't have any support for that sort of thing. Scripting in the windows world has been fairly pointless. Sure, a lot of sysadmin tasks can be performed using the command line, but limitations in the shell make that a pain in the ass. CMD.exe isnt' anywhere near UNIX shells as far as programmability is concerned, and windows lacks the plethora of command line shell enhancing utilities (i.e. sed, grep, etc.) that makes the UNIX shell environment so useful?

    This is talking about using COM and .NET classes - will we finally be able to hook into more applications and actually do useful things at the command line now, or will this mainly benefit programmers who are trained in OO concepts rather than sysadmins?

    --
    Those who can't do, teach. Those who can't teach either, do tech support.
  32. Magical Microsoft Moments by ArsenneLupin · · Score: 3, Interesting
    No story about Microsoft and Unixy shells is complete without the following anecdote:
    One of those magical Microsoft moments(tm) happened yesterday and I thought that I'd share. Non-geeks may not find this funny at all, but those in geekdom (particularly UNIX geekdom) will appreciate it.

    Greg Sullivan, a Microsoft product manager (henceforth MPM), was holding forth on a forthcoming product that will provide Unix style scripting and shell services on NT for compatibility and to leverage UNIX expertise that moves to the NT platform. The product suite includes the MMS (Mortise Money Systems) windowing Monad shell, a windowing PERL, and lots of goodies like awk, sed and grep. It actually fills a nice niche for which other products (like the MMS suite) have either been too highly priced or not well enough integrated.

    An older man, probably mid-50s, stands up in the back of the room and asserts that Microsoft could have done better with their choice of Monad shell. He asks if they had considered others that are more compatible with existing UNIX versions of MSH.

    The MPM said that the MMS shell was pretty compatible and should be able to run all UNIX scripts.

    The questioner again asserted that the MMS shell was not very compatible and didn't do a lot of things right that are defined in the MSH language spec.

    The MPM asserted again that the shell was pretty compatible and should work quite well.

    This assertion and counter assertion went back and forth for a bit, when another fellow member of the audience announced to the MPM that the questioner was, in fact Peter Monad of AT&T (now Lucent) Bell Labs. (Peter Monad is the author of the Monad shell)

    Uproarious laughter burst forth from the audience, and it was one of the only times that I have seen a (by then pink cheeked) MPM lost for words or momentarily lacking the usual unflappable confidence. So, what's a body to do when Microsoft reality collides with everyone elses?

    1. Re:Magical Microsoft Moments by ArsenneLupin · · Score: 3, Informative
      Where did you get this?

      It's a spoof based on the (true) story about Microsoft and the Korn shell: ... when Microsoft reality collides with everybody elses...

  33. Re:Better late than .... by surprise_audit · · Score: 3, Interesting

    Ah, Multics... Now there was an OS that would be really useful these days. It was possible to define security layers so that you couldn't even access your own files without being in the exact right security access level. It would be really funny watching the FBI trying to extract personal information from a properly configured Multics system, where you don't even know what the security levels are called, let alone have access to them...

  34. Re:Monad .. Gonad by DenDave · · Score: 2, Funny

    Geesh.. I was thinking the other mash.. Through early morning fog I see visions of the things to be the pains that are withheld for me I realize and I can see... [chorus]: That Microsoft is clueless They bring on many changes and I can take or leave it if I please. I try to find a way to make all our systems relate without that ever-present slate but now I know that it's too late, and... [Chorus] The unix shell is hard to play I'm gonna learn it anyway The Linux card I'll someday lay so this is all I have to say. [Chorus] The only way to win is cheat And lay it down before I'm beat and to another give my seat for that's the only painless feat. [Chorus] MASH The sword of time will pierce our shells It doesn't work when it begins But as it works its way on in The pain grows stronger...watch it grin, but... [Chorus] A brave man once requested me to answer questions that are key 'can you fix my computer please' and I replied 'oh why ask me?' 'Cause Microsoft is clueless They bring on many changes and I can take or leave it if I please. ...and you can do the same thing if you choose.

    --
    -if at first you don't succeed, stay the heck away from paragliding.
  35. Here's a screenshot! by Anonymous Coward · · Score: 4, Funny
    C:\> winword.exe
    .___
    // \
    ||@@|
    || ||
    |\_||
    \__/
    _||_

    It looks like you're trying to run a program. Would you like me to start WINWORD.EXE? [Y/N]
    ---
    (courtesy of mopslik. Original post.
  36. Actually by bmajik · · Score: 5, Interesting

    i saw an early alpha over 2 years ago. I was blown away.

    Note that prior to joining MS, i did admin and development work on linux, solaris, irix, and even hp-ux. i know my way around a unix shell pretty well. I started making noise a few years back about how awful cmd.exe is and how we need a real scriptable admin experience. Some people said "go check this out". I was blown away at what they already had.

    There are some things about MSH that are really, really good. I'm looking forward to it. I'm frustrated that a lot of the early momentum it had seems to have fizzled and its now bogged down in "product development" :/ The early alphas were releasable, imo. Especially compared to cmd.exe, which is squarely awful :)

    --
    My opinions are my own, and do not necessarily represent those of my employer.
  37. Re:WTF? by beforewisdom · · Score: 2, Insightful

    I suggest, in turn, that you take off your "ms basher basher" hat, think about what I said and about what you wrote. What you referr to is beta software and beta software that does not ship installed with windows. So, it comes down to the situation that if you need to deal with someone's window box your CLI is still a tiny shell window with what is essentially a castrated version of dos bat.

  38. Google "Bill Gates XP Goodbye Command Line" by cppwizard · · Score: 2, Interesting

    Bill Gates said "Goodbye" to the Command Line at the introduction of XP. According to him, we did not need it anymore. So Bill, what's up with that?

  39. Re:WTF? by zulux · · Score: 2, Insightful

    1. You will need need a passport account. If you do not have one yet, you can sign-up for one at the beta website listed below.
    2. Goto http://beta.microsoft.com/
    steps removed......
    7. Wait for the information to be sent to you through email. (May take a day or two)
    8. Once you receive your confirmation email, log back into http://beta.microsoft.com/ for the content


    Sweet Jesus - and to think that some people think that Microsoft software is easy to use.

    --

    Moneyed corporations, non-working 'poor' and criminal prisoners are turning productive citizens into tax-slaves.

  40. better than linux/unix cli? it will be if ... by SABME · · Score: 2, Interesting

    ... they can avoid completely changing it with every new release.

    The one thing I like most about using the unix/linux cli is that the stuff I learned in 1995 (my first encounter with Solaris) is still useful today.

    It may be a steep learning curve, but you don't have to throw out everything you know with each new release, the way a GUI often forces you to. If you stick with the command line for a few years, it's an investment that pays off in greater skill.

    For example, most config files that were in /etc ten years ago are likely still there now, and they likely have the same names. You want to find a log file? First stop is /var/log.

    Every time a new version of MacOS or Windows comes out, it seems there's always some little check box -- which you need checked to accomplish your task -- that's been moved to some obscure option in a dialog in a control panel that's *different* in every release. Or they've figured out a "better" (read: different) way to do what you need, which means a new control panel, or an entirely new model of doing the same task.

    It's like Home Depot (a large warehouse-style hardware/home improvement chain in the US): it took me years to learn where everything was in one of their massive wareshouse stores. Once I learned the layout of the store, it simply wasn't worth my time to shop at a competitor (like Lowes).

    Now, of course, Home Depot is remodeling all its stores to be more competitive with Lowes, and thus killing my whole rationale for going there in the first place! :-)

  41. why not posix? by yagu · · Score: 2, Insightful

    I seem to remember Microsoft's new "scripting" and CLI mentioned before, and descriptions of its powerful features. Basically it was described as object-oriented in architecture with claims of superior technology then!

    From the article: Monad was started as a project to provide a more powerful command line competitive with the BASH shell on Unix and Linux, using ideas gleaned from WMIC, but using the .NET Framework as its core component instead.

    What concerns me is not Microsoft's improvement of their technology, especially their CLI (as a long time forced-to-use-DOS CLI, believe me, it's long needed the overhaul), but Microsoft's yet another implementation of a primitive that goes against quasi standards, albeit in this case a fairly high level standard.

    I wonder why they wouldn't implement a POSIX compliant shell... that would go oh so far to allow portability of apps across platforms. Instead they come up with their idea of CLI.

    I know there's always cygwin to handle POSIX scripts, but I find it slow, and difficult to manage effectively in the morass that is Windows. Certainly a POSIX-like interface in Window's CLI would attract more scripters if Microsoft supplied their own native implementation.

    Otherwise, what is the motivation? Once again, with Microsoft's leverage and monopoly, it feels like a new "product", that if they can leverage with their monopoly, they continue their assimilation of another niche in the marketplace.

  42. Re:WTF? by Tim+C · · Score: 3, Insightful

    You said:

    However, until I actually see it implemented I am regarding it as vapor ware and the latest noise from the MS executives version of WWF trash talk.

    The GP merely pointed out that there is a beta implementation available. Therefore, widely-installed or not, it's hardly vapour-ware.

    You may have meant "shipped with Windows", but you actually said "implemented".

  43. well.. by bmajik · · Score: 5, Informative

    i see that some brilliant person modded me as "troll". nice :/

    anyway, heres what i thought was cool

    - entirely object based. objects are pased via pipeline composition. that means you can do something like

    ls | pick name, size | tableout

    ls is going to return you a collection of "file" objects. the file object has properties "name" and "size" (and lots of others). the pick command takes each incoming object, and looks for properties called name and size. it then passes down a "new" object that is a bag of the name/size combos (or, it may pass along the original file objects.. i dont remember precisely). finally, tableout is a generic formatter that takes objects and formats them one per row, where each property in the object is displayed in a column.

    note that you could replace tableout with say, csvout, or maybe "Excelout"

    so the pipe paradigm changes in a way thats pretty cool.

    Also, because you're working with .net objects which can be reflected, you get intellisense on the commandline, like working in visual studio. you dont necessarily have to remember properties and what not from object streams - it infers them for you.

    (note that a problem i asked them about when i saw the demo - if you have a pipeline where you want tab completion in stage 3, but stage 1 "modifies" state (i.e. in stage 3 you are reporting on what you deleted in stage 1) how do you get the tab complete info without doing the state change in stage one?.. they were aware of this problem and were thinking about it.. but that was years ago :)

    finally, what was cool is that across MS people are buying into the idea that a commandline shell that manipulated object representations of data in a generic way was going to be the path forward for adminsterting windows. Consider that the IIS metabase is now xml instead of what it used to be.. and that msh is a shell that works on structured objects... its not coincidental.

    --
    My opinions are my own, and do not necessarily represent those of my employer.
  44. Re:Monad .. Gonad by jedidiah · · Score: 2, Funny

    The far more appropos MASH reference would be the song "suicide is painless".

    --
    A Pirate and a Puritan look the same on a balance sheet.
  45. as usual, Microsoft doesn't get it by cahiha · · Score: 2, Informative

    Monad is the usual bloated, overly complicated "me too" product Microsoft comes up with. In fact, Monad isn't really even a shell, it's more like Tcl/Tk or perlsh. Linux has nothing to fear from this sort of thing; there are good reasons why everybody still uses the sh family of shells after 30 years despite lots of attempts at "improving" on it.

    If Microsoft wanted to come up with a decent shell, they should carefully look at bash and rc, and figure out a minimal set of changes to make it compatible with their non-standard parameter and pathname syntax, and leave it at that. Or they should make careful, incremental changes to the current command interpreter.

  46. Re:WTF? by 3dZaphod · · Score: 2, Insightful
    1. You will need need a passport account. If you do not have one yet, you can sign-up for one at the beta website listed below.

    I knew there had to be a catch.

  47. Microsoft is seriously floundering... by NickDonovan · · Score: 2, Interesting

    They appear to be looking for an identity.
    Well, that's what happens when your the McDonalds of operating systems.

    Sure it fills you up temporarily but you don't want to make a steady diet of it or it will kill your business.

    The same company who has been trying to kill *nix for years, now says they have a better command line shell.

    Sure, one that gives hackers more access to OS critical API's I'm sure.

    These are the same people who can barely build a microkernel implementation, can't create a multi-user OS in the last 25 years who now, magically, will have a better *nix than *nix.

    The market isn't going to buy that. Neither will any of the real analysts.

    When I say 'real' analysts, I'm not talking about the C(ZD)-Net type Microsoft Zealots who worship Microsoft and proclaim that every product that comes out of Redmond is G_d's gift to mankind either.

  48. Diff between xterms and fullscreen consoles. by Richard+Steiner · · Score: 3, Insightful

    A shell running in a fullscreen console would have no idea which window manager you were running, or in some cases which X server occurrence has priority for things like "themes".

    Also, if X isn't running, using the X clipboard would not be very useful. :-)

    There are some features that would be nice to see when a shell program is running in an xterm, but keep in mind that shell programs also have to run in environments which are totally detached from the X server...

    --
    Mainframe/UNIX Bit Twiddler and long time Windows/Linux Hobbyist.
    The Theorem Theorem: If If, Then Then.
  49. Apocryphal Story by Epeeist · · Score: 4, Interesting

    There is an apocryphal story about someone from MKS and an MS flack giving a joint presentation on their UNIX toolkit for Windows.

    During the bit about KSH an old guy at the back kept piping up with comments like "that feature wasn't implemented properly" and "that doesn't conform to the specification". Apparently the MS flack expostulated a lot and try to cast doubt on the old guy's qualifications. It was only then that it was pointed to him that the person making the comments was David Korn.

    1. Re:Apocryphal Story by teknomage1 · · Score: 3, Insightful

      Yeah, moral of the story: Never get in an argument with and old guy with a beard about Unix.

      --
      Stop intellectual property from infringing on me
  50. Re:Better late than .... by lpp · · Score: 3, Funny

    Sounds like Paranoia, the RPG.

    This requires RED security clearance.

    What is RED security clearance and how do I get it?

    Attention, User, you have requested information on a clearance level you are not authorized to know about. Please press the red button to complete your termination. Disobedience is cause for termination. Have a nice day.

  51. It's great by lelitsch · · Score: 2, Funny

    bash:

    echo $PATH

    Monad:

    Private Sub echo1_CLI(ByVal sender As System.Object, ByVal e As
    System.EventArgs) Handles echo1.CLI

    Try

    AddHandler EchoCL1.PrintLine, AddressOf Me.PrintCL1_PrintLine
    PrintLine1.Print(Sys.Init.Windows.PATH)
    Catch ex As Exception
    Message.Show("An error occurred while printing PATH ", _
    ex.ToString())

    End Try

  52. probably.. by bmajik · · Score: 2, Insightful

    anything is possible, it's all just software right ? :)

    i think the unix model fits unix really well right now, because so much of administration in unix is manipulating text.

    Windows never had that - everything was locked away in some opaque object (good and bad, depending on your viewpoint).

    The brain behind MSH was one of the WMI guys and he (rightfully so, i think) likes WMI but its too hard to use and too hard to author providers for (his thoughts).

    But fundamentally, an inquisitive object based administration system is "good", especially when the underlying stuff is all object based anyhow. the key is to make these objects exposable in a generic, "composable" way, and thats what MSH is attempting to do.

    Really, the approaches might be similar. Consider a script i might write to give me the usernames and home directories on my unix box

    cat /etc/passwd | awk -F: '{printf("%s\t%s\n",$1,$5)}'

    (apologies if i mis-remembered the field numbers for homedir)

    my apology sort of makes the point- administrators are required to understand the internal format of UNIX's text files, and to remember/consult them for tool development.

    a comparable approach might be

    get users | pick name, homedir | tabout

    which is more readable? which is more reesilient to changes in the way users are stored? Does the first example work on NIS+ ? LDap ?

    So the goal here is to take the good things about OO (hiding of internal implementation) and the good things about a consistent format (flat text, in unix) and somehow merge them. I'd much rather remember that users have a name and a homedir, than what positions those properties have in one type of user database.

    It gets uglier when your text data is working with "cut". For instance, something i'll do from time to time is

    ls -l | cut -cX-Y | ....

    where the X-Y range is something i want from the ls -l output. (say filesize). That is hugely problematic - have to tweak the character range until it "seems" right, and what happens when my tty capabilities change (to say, a 20 char tty ?) or, what happens when a file size is larger than the allowed column width? or what happens when ls is an alias to "better ls that auto-sizes columns".

    again, something like

    get files | pick size | sort

    hides this crap from me.

    So, actually, i think linux could have a shell that did stuff like this. But what linux lacks is the rich set of objects to hide the implementation details of the things you want to do with linux. when linux has a consistent set of management objects then something like this getspossible.

    Of course, windows doesn't have a complete set of management objects either, and besides, we dont have management objects for apps we dont write - you'll surely want to use the same scripts/shellto manage your custom apps. So a important part of msh is the ability for people to author their own object providers that can plug-in to the framework easily.

    The make-or-break scenarios for msh, in my opinion are
    1) clever ways to promote text,xml, etc into objects for legacy systems

    2) objects for a sufficient portion of the management surface to make it worth peoples time to use

    --
    My opinions are my own, and do not necessarily represent those of my employer.
  53. Re:Better late than .... by JPortal · · Score: 2, Insightful

    It's not surprising to me. With my little experience with Linux (I've been using it for about 3 years now) the command line is WAY better than anything Windows has had. The CLI for Windows 98 was terrible. Windows 2000/XP's CLI is a little bit better because they've copied some BASH features, it seems like (like pressing the up or down keys to bring back previously entered commands). However, even the Win2k/XP CLI still has nothing on BASH. The syntax and environment is still crap.

  54. Way to go, team "miss the point by a mile" by Alex+Belits · · Score: 2, Insightful

    This "shell" has command line input (that is, continuous text that is parsed to determine its meaning and run other executables), yet the communication over "pipes" is in "objects" that have to drag around their methods, so the whole flexibility, simplicity, parsing and isolation of data source from receiver (that, if someone forgot, provides security) go right out of the window. Oh, and it allows to access various system data hierarchies -- too bad, Windows has so many of them.

    The whole Unix design is based on the idea of unified file descriptor and a single filesystem tree. Windows still lacks those, and this shell is not even trying to emulate them (like what cygwin does).

    --
    Contrary to the popular belief, there indeed is no God.
  55. Re:Been testing MSH since october..... by jsnover · · Score: 3, Informative

    Apologizes for the lack of updates. We've been heads down getting things things finished up for some deadlines. We'll be dropping a new version on betapace sometime next week. It is about 95+% language complete and interop with existing external programs has greatly improved. We'd love you (and everyone else) to give it a try and let us know what you don't like or how we can make it better. jps

  56. Monad leverages WMI by jsnover · · Score: 3, Informative

    The article is completely correct when it states that Monad started with the ideas from WMIC and then applied those ideas to .NET. It is however, incorrect to think that this means that WMI is in any way being "left behind". Of the issues Admins had with WMIC is that to do non-trival processing of WMI object, you had to use XSLT or use WSH (e.g. VBSCRIPT). With Monad, Admins get full, admin-focused, command-oriented, language to manipulate WMI (as well as .NET, ADO, ADSI, XML and OLE Automation objects). It might be appropriate to compare and contrast the capabilities of Monad and WMIC but not Monad and WMI. WMI is a management infrastructure, Monad is an environment to present those capabilities via command line scripting. Said another way, the value of writing new WMI providers (and the value of existing WMI providers) increases with the availability of Monad. Jeffrey Snover Monad Architect