Slashdot Mirror


Microsoft's new CLI

An anonymous reader writes "Months ago a story ran regarding a job advert at Microsoft for a developer role to lead the work on a new generation of command line interface. It has now been disclosed at the PDC and its name is MSH (Microsoft SHell), codenamed MONAD. Here is the best description so far."

32 of 688 comments (clear)

  1. so, when will we see GNU's version by Anonymous Coward · · Score: 5, Funny

    named GONAD ?

  2. MSH? by KDan · · Score: 5, Funny

    Ranks right along SHT as a crappy acronym. The first thing I would think of when seeing MSH is MicroSoft Hell, not Microsoft Shell...

    Daniel

    --
    Carpe Diem
    1. Re:MSH? by swordboy · · Score: 4, Funny

      Its Halloween - lets make a song:

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

      He did the MSH
      He did the Microsoft MSH
      The monster MSH
      It was a graveyard SSH
      He did the MSH
      It caught on in a flash
      He did the MSH
      He did the Microsoft MSH

      --

      Life is the leading cause of death in America.
  3. MSH... by Valar · · Score: 5, Funny

    I saw MSH and immediatly thought MS Hell, not MS Shell.

    Perhaps it should be MSSH?

    And I'm not bashing either.

    1. Re:MSH... by JPelorat · · Score: 5, Funny

      "And I'm not bashing either. "

      da dum tcsh!

      --
      Hokey statistics and ancient misconceptions are no match for a good thought in your head, kid!
  4. 3 months... by heironymouscoward · · Score: 5, Interesting

    ...that's the time before we get the first MSH viruses.

    Am I being cynical when I think this just looks like VB for Consoles?

    --
    Ceci n'est pas une signature
  5. Re:Very Nice by stratjakt · · Score: 5, Insightful

    Anyone who wants to do a bit of scripting on Windows has vbscript, javascript, perl, tcl/tk, and a plethora of other options.

    This is going to be for headless servers. So you can ssh into a box and administer it remotely, or through a dumb terminal on a serial port, etc, etc..

    There's no good reason your mailserver or each machine in your SQL Server farm needs a GUI.

    --
    I don't need no instructions to know how to rock!!!!
  6. this has a sister product, you know by NotAnotherReboot · · Score: 4, Funny

    Along with MONAD, Microsoft is also developing MENIS, the Microsoft Enhanced Networking Interface Solution. MENIS and MONAD products will be tightly integrated.

    1. Re:this has a sister product, you know by NoData · · Score: 5, Funny

      Yeah, yeah, that's right...and MONAD has some interesting development tools...including Structured Application Code (SAC), to hang your scripts off of, and SHell Accessible File Types (SHAFT), that gives you really big, long file names, and a firewall library via the Active Network Usage System (ANUS), that lets you monitor any nasty packets your box might be dumping, and it's all tied together with some really interesting primitves provided by the Basic Integrated Graphical Handle And Input Recognition Yoking Bridge And Link Library System. (BIGHAIRYBALLS). Sounds promising!

  7. so much for old technology by thoolihan · · Score: 4, Interesting

    It's interesting how the story changes. Ballmer would refer to GNU/Linux(especially elements like the use of the shell) as 1980's technology. Now there are making their own.

    Maybe users will be able to help themself a little bit...
    killall DRM && killall clippy && killall klez
    -t

    --
    http://unmoldable.com W:"No one of consequence" I:"I must know" W:"Get used to disappointment"
  8. Nothing new except overkill by Verteiron · · Score: 4, Interesting

    From the article:

    One last thing: anything can be mapped to a drive, and drives don't just have to be letters. (Ok, I lied - that was 2) The example I was shown was that the registry was mapped to a drive, and you could navigate it like any other drive, with the results being returned from the commandlet as .NET objects!

    The user has been able to map a filesystem to a folder rather than a drive letter since at least Windows 2000, and I think it was possible even under NT4. Nothing new there.

    The registry (along with many other things) can be mapped as part of the filesystem fairly easily, as demonstrated by this 264kB DLL file.

    And as for returning search results as .NET objects? This seems rather like using a baseball bat to swat a fly...

    --
    End of lesson. You may press the button.
  9. Re:Very Nice by Kingpin · · Score: 5, Insightful

    You get rated 'Insightful' for stating what OpenSource zealots hope. What if this shell actually knocks the socks off *sh?

    What if Longhorn does indeed provide more security, not only in default settings, but more inherently in the OpenSource?

    Do you think the average developer/manager at MS is dumber than your average OS participant? (This is not a tric.. Damn, I'm falling in myself..)

    But really - if "we" are to compete, we will have to steal the ideas that "work" from MS camp, just as they're "stealing" "our" ideas that WORK.

    Linux is narrowing the gap to MS on the desktop (albeit slowly), and MS is narrowing the gap to Unix on eg. CLI, stability and security. Their software matures too, you know..

    And then there's Apple. They make fun stuff. The are not afraid to invent, and they have the money to launch stuff that the OpenSource movement cannot. I don't quite know where to place them compared to OpenSource and MS.

    --
    Unable to read configuration file '/bigassraid/htdig//conf/14229.conf'
    Geocrawler error message.
  10. MS's CLI preview by mopslik · · Score: 5, Funny

    C:\> winword.exe
    .___
    // \
    ||@@|
    || ||
    |\_||
    \__/
    _||_

    It looks like you're trying to run a program. Would you like me to start WINWORD.EXE? [Y/N]

    1. Re:MS's CLI preview by nmaeone · · Score: 4, Funny

      It looks like you pressed [o]. Are you a french language user? [y/n][o/n] n
      ...
      In order for the changes you have made to take effect, you must first reboot your computer. Your computer will automatically restart in 5 seconds.
      ...
      It looks like Monad (c)(tm)(iya) is configured for qwerty keyboards. Should I configure it for azerty? [o/n]
      ...
      In order for the changes you have made to take effect, you must first reboot your computer. Your computer will automatically restart in 5 seconds.
      ...
      It looks like the azerty configuration messed up a little a few applications configurations. Should I adjust their configurations? [o/n]
      ...
      In order for the changes you have made to take effect, you must first reboot your computer. Your computer will automatically restart in 5 seconds.
      ...
      It looks like the adjustments break a little the Windows(c)(tm)(iya) Registry? Should I replace it with the saved BackUp Registry? [o/n]
      ...
      In order for the changes you have made to take effect, you must first reboot your computer. Your computer will automatically restart in 5 seconds.
      ...
      It looks like the saved BackUp Registry is now totally screwed up. Should I try to reboot the PC in order to automagically repair everything? [o/n]

  11. Re:This made me laugh .... by stratjakt · · Score: 4, Interesting

    You can do WinFS filtering through the "|" symbol. MONAD can also export natively to: HTML, XML, Excel, or plain command text in either a Table or List format.

    Sure beats the hell out of using obscure grep commands to parse a blob of ascii.

    And....the commandlets are developer friendly. You can make a commandlet by inheriting from the commandlet base class, and adding attribute tags to the public properties to make them parameters to the commandlet. .NET handles whether the user types "-?" or "/?", so you don't have to care anymore!

    Sounds pretty easy for a developer to extend.

    This is a good thing for MS to do. The slashbots are always whining about how MS takes standards and breaks them for it's own gain. Rather than taint your precious bash or perl, they started from scratch.

    --
    I don't need no instructions to know how to rock!!!!
  12. The Best of All Possible Worlds by Raedwald · · Score: 5, Interesting

    'Monads' are part of Leibnitz's philosophy, which Voltaire famously satirised in Candide with the figure of Dr. Pangloss, who resolutely maintained that we live in 'this, the best of all possible worlds' despite a succession of disasters that would convince any sane man that he was wrong.

    How very suitable for a Microsoft product.

    --
    Ne mæg werig mod wyrde wiðstondan, ne se hreo hyge helpe gefremman.
  13. Microsoft has come a long way by Qzukk · · Score: 4, Interesting

    For a long time, the windows command line was a joke. It was basically DOS-in-a-box, capable of running programs, and that was about it. Sure, you had net.exe and a few tools borrowed from the unix world.

    Recently, Microsoft has actually begun to produce command line tools for system operations, controlling your services, networks, policies, and registry from the command prompt. But they still have a long way to go, these features are poorly documented (the policy editor's help lists a subset of all the policies you can edit with it. The KB article on it basically is a copy-paste of the help message, with explanations of the policynames provided), typically cryptic, and still don't provide the full set of features.

    They may have come a long way, but they have a long way to go. And remember, this is just playing catchup.

    --
    If I have been able to see further than others, it is because I bought a pair of binoculars.
    1. Re:Microsoft has come a long way by merlin_jim · · Score: 4, Informative

      Recently, Microsoft has actually begun to produce command line tools for system operations, controlling your services, networks, policies, and registry from the command prompt [...] and still don't provide the full set of features.

      One of Microsoft's design requirements for Windows Server 2003 was that EVERYTHING can be done from the commandline, that the GUI interfaces would have NO functionality that the commandline interface does not.

      The Windows .NET Server bootcamp covers the GUI and commandline versions of all the tools, plus provides a take-away reference to each utility.

      But they still have a long way to go, these features are poorly documented

      Here's a list of the command line utilities in Windows Server 2003:
      http://msdn.microsoft.com/library/default.a sp?url= /library/en-us/xpehelp/html/_server_command.asp

      Searching on individual names, or typing the name with a "/?" on the command line will yield more documentation.

      Here's a link to the root reference for the WMIC utilities which are a little more powerful and easily scripted than the command line utilities:

      http://msdn.microsoft.com/library/default.asp?ur l= /library/en-us/wmisdk/wmi/using_the_wmi_command_li ne_utilities.asp

      --
      I am disrespectful to dirt! Can you see that I am serious?!
  14. Better served by a standard *nix shell by ezavada · · Score: 5, Interesting

    Microsoft is the only major OS that doesn't have a standard *nix style shell. The popularity of cygwin for Windows developers shows that there's significant demand for it. Imagine how much nicer it would be if instead of trying to "leep frog"[sic] the Unix shell they just adopted cygwin.

  15. The difference: by moogla · · Score: 5, Informative

    msh exploits the transparency and "reflection" abilities of the object oriented features of the OS.

    Read down the article for details on how they can now do things like mount the registry as a drive and walk it like a filesystem. Yegads!

    bash (or some sh-variant) would have to be adapted to know specific things about linux to compete at that feature level, but it would become non-portable.

    This is what the new sysfs interface is supposed to help with. Still, bash isn't object oriented (yet). The closest thing would be like perlsh.

    I think people don't give MS enough credit for where they stand even today, frankly.

    --
    Black holes are where the Matrix raised SIGFPE
  16. Monads are an old philosophical concept by Cranky_92109 · · Score: 4, Informative

    Although it's easy to make the gonad jokes, the concept of monads have a long history in metaphysics dating back to the greeks. Monads were central to the philosophy of Liebniz, the co-discoverer of calculus.

  17. Re:Very Nice by Gabey · · Score: 5, Funny

    There's no good reason your mailserver or each machine in your SQL Server farm needs a GUI.

    No kidding...that's why we don't use Windows.

  18. Re:Very Nice by caluml · · Score: 4, Insightful

    Funny eh. They're moving away from the registry back to services that run with conf files. And they're doing CLI only versions of their OSs for ease of remote configuration. Why not just port all their stuff to some free unix-like OS?

  19. Much of this could be done in linux... by Ars-Fartsica · · Score: 5, Interesting
    ...if people would be willing to drop sh/bash etc and adopt a more compelling, orthogonal approach like psh (perl shell) or something entirely new.

    I don't know why more people don't actively pursue a modern language for the shell interface. sh script syntax is tortorous. So much easier and maintainable to write perl scripts. So why not use perl from the command line??

    psh never really seemed to take off but it let you basically enter a perl debugging session but execute shell commands also. This would basically trump anything msh could muster and also provide the entire universe of CPAN to the shell.

    sh is right up there with Makefiles for unix utilities that basically suck but are too entrenched to replace.

  20. Re:so, when will we see GNU's version by Lodragandraoidh · · Score: 4, Insightful

    I thought 'NONADS' would be more descriptive.

    The more microsoft morphs to become like linux, the less people will be inclined to throw away their money when they can get better functionality for free.

    --

    Lodragan Draoidh
    The more you explain it, the more I don't understand it. - Mark Twain
  21. Re:The Best of All Possible Worlds by shreak · · Score: 5, Insightful

    Voltaire's criticism and satire of Leibniz was centered around "the best of all possible worlds" premise. It had very little, if anything, to do with Libnitz's monads.

    Monads were, essentially, philosiphical atoms or molecules, albiet in a very metaphysical sense.

    =Shreak

  22. Re:Very Nice by ajs · · Score: 4, Insightful

    You get rated 'Insightful' for stating what OpenSource zealots hope.

    No, you get rated insightful for noting what MS has done in the past, and extrapolating the future of their next products based on that.

    What if this shell actually knocks the socks off *sh?

    That would be nice.

    Keep in mind that this isn't a contest. MS has some very nice features burried in their software, and that's great. If MS Windows is ever a better platform choice than the free operating systems out there, I say great!

    Woefully, it will still not be the platform I use. Why? Because I require the ability to fix bugs, apply patches on my own timetable (sometimes so fast that my vendor doesn't even know about them yet), and generally control my systems behavior.

    Windows does not give me that.

    What if Longhorn does indeed provide more security, not only in default settings, but more inherently in the OpenSource?

    Security is not a "thing", it's a process. You don't ship your OS in a box with a "NOW WITH 20% MORE SECURITY" sticker and get more security. Longhorn's security will be poor as long as Microsoft continues to deprioritize it in favor of market share. I see no evidence that that has changed since the days of NT4.

    Do you think the average developer/manager at MS is dumber than your average OS participant?

    No, of course not. The problem is that the average MS employee is working on what a mid-level manager decided he would be working on, based on a company directive from on high that is motivated mostly by marketting. The reason Open Source software tends to be so much more USEFUL, even when it lacks many seemingly obvious features, is the fact that it's created, maintained and refined by those who need it the most. Shells don't seem all that well designed to developers and manageres... and that's because they're not for developers and managers. They're primarily use by sysadmins. A developer spends most of their time in an editor and/or using a rule-based system like make. The shell is just a tool for odd jobs, and many IDEs and feature-laden editors like emacs and vim pretty much suplant the need to use the shell 90% of the time. Sysadmins do not have that luxury.

    Look at the MS shell. It is clearly being designed by developers for developers. The ability to manage excel data from the shell is not something that targets the needs of anyone who will have to use this shell routinely. Why is it there? That sort of thing scares me right off the bat, and tells me that this is not a sysadmin tool. Developers under Windows already have very nice tools in their IDEs to script all sorts of interaction with every part of the system that they need. Managers and desktop workers will never want/need a shell.

    So ask yourself, which will be more useful: cygwin's bash port to Windows or msh? I can ssh into my Windows box and do admin today, and it requires no msh at all. Why do I need this beast?

    But really - if "we" are to compete, we will have to steal the ideas that "work" from MS camp, just as they're "stealing" "our" ideas that WORK.

    No, you don't have to steal anything. First off, let's disabuse ourselves of the notion that anything in a shell is new. Shells have existed for decades that do everything msh is (so far) claiming to do. Most of them died a quick death for lack of use.

    Next, the most valuable thing that MS has done in the last few years is to put pressure on other OSes to use features that were long available. For example, MS had a journaling fileysystem. Journaling was not new, it was just kind of hard to get right, and all of the implementations out there were fairly speical purpose or closed source. When MS demonstrated that an end-user OS could indeed benefit from having such a feature, dozens of porojects sprang up to take this long-implemented wheel and re-invent it for open source oses.

    This sort of "test environment in the large" is very valuable, and MS has alway

  23. You don't need eyes to see where they are going. by twitter · · Score: 5, Interesting
    Well, errr, you can't really tell where they are going at all. They have derided scripting with their idiotic GUI bet which they claim is incompatible with scripting. Well it was on their platform because they spagetti coded everything into the GUI. A brief look back shows where they have been with CLI. It also shows that Microsft really can't compete and those who stick with them are in for a bad ride.

    Bill Gates, on the launch of XP:

    Gates said the release of XP "marked the end of an era, the end of DOS and also the end of Windows 95." ... Gates informing the crowd that he agreed with Apple's Jobs that Windows 3.1 was a "crummy operating system," and assuring the crowd that he'd soon say that about Windows 95.

    Of course, we remember they used the phrase "end of dos" for the launch of windows 95. Funny how they are now saying the same things about XP they said about 3.1, 95, 98 and ME. That's consistency!

    Now, do they have consistancy in shells? They have derided their primary shell, DOS. But what of their other scripting efforts? Remember their "Unix Killer" "New Technology (NT)" and their ksh? Korn does!

    I knew that Microsoft had licensed a number of tools from MKS so I came to the microphone to tell the speaker that this was not the "real" Korn Shell and that MKS was not even compatible with ksh88. I had no intention of embarrassing him and thought that he would explain the compromises that Microsoft had to make in choosing MKS Korn Shell. Instead, he insisted that I was wrong and that Microsoft had indeed chosen a "real" Korn Shell.

    Ah yes, so portable it was. While NT is dead, csh and ksh trive themselves and in their free counterparts. No new training is required for bash or pdksh.

    For an instant, Bill liked Java:

    Java is our latest programming tool, and we've got a Java compiler with the highest benchmark feeds, great debugging. Java's -as you know, is a wonderful language, and everybody should have that in their portfolio. (1996)

    He tried to make the crowd laugh at Sun in the same speach because he wanted to kill Unix with NT. Where is M$ "java" today?

    C# .NET and all look to me like a combination of all the second rate junk they've thrown together in their attempt to emulate and eradicate first rate competitors. "Linux is a Cancer", they say, use our shared source instead. Yeah right.

    Oh wait, I see the patterns. EEE, Embrace, Extend, Extinguish followed by "that sucks, buy the new one." You have to be blind to miss it. If you follow the M$ way, you will be constantly sucked for money and time learning their new tweaks.

    It's only going to get worse because free software is impossible for them to eat up or beat. Their efforts to stick to their previous marketing plans are wrecked by actually having to compete on merrits and price. This is making them less and less stable. The closed source model can not compete with the free software development model.

    --

    Friends don't help friends install M$ junk.

  24. Re:Very Nice by mahdi13 · · Score: 4, Funny

    Joe Sixpack wants smart software to make him look smart

    Joe Sixpack is an MCSE

    --
    "Some things have to be believed to be seen." - Ralph Hodgson
  25. Re:Very Nice by icedcool · · Score: 4, Funny

    Because they might have to pay a one time license fee of $699.00.

    --
    Most people aren't thought about after they're gone. "I wonder where Rob got the plutonium" is better than most get.
  26. Re:so, when will we see GNU's version by ncc74656 · · Score: 4, Funny

    I thought UNIX didn't have GONADs...

    --
    20 January 2017: the End of an Error.
  27. think for a moment by penguin7of9 · · Score: 4, Interesting
    I don't know why more people don't actively pursue a modern language for the shell interface. sh script syntax is tortorous. So much easier and maintainable to write perl scripts. So why not use perl from the command line??

    Yes, you don't know. But think for a moment: people have had Perl-like languages since the 1960's. Do you really think you or Microsoft are the first to think that using an object-oriented scripting language is a good idea?

    The reason why people use sh syntax is because it is enormously effective. Try expressing something like:
    find . -type f | xargs grep -il foo
    in Perl or some other scripting language.

    Of course, many people who complain about sh syntax really just don't know how to use it.

    For interactive use by skilled users and many scripting tasks, bash/ksh is unbeatable. And for the kinds of scripts where Perl makes sense--you can simply use Perl.

    This would basically trump anything msh could muster and also provide the entire universe of CPAN to the shell.

    Yes, psh is a better version of what msh is trying to achieve. But, you know, even that's nowhere near good enough to dethrone bash/ksh.