Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Next-gen Windows Command Line Shell Now in Beta

Posted by CmdrTaco on Sun Jun 19, 2005 11:04 AM
from the shelling-out-for-a-new-command-line dept.
Suddenly_Dead writes "Microsoft's new command line shell, MSH or Monad, has entered the beta phase. Channel9 Wiki has information on how to download this (complete with Guest ID), and other related info."

Related Stories

[+] Microsoft PowerShell RC1 548 comments
rst+ack writes "Microsoft has released RC1 version of PowerShell the .NET-based shell with perl-like syntax previously known as Monad or MSH. PowerShell (PS) has been covered a few times on Slashdot. Contrary to cmd.exe and Unix/Linux shells it operates on objects, not text when passing data between scripts and executables. Easy access to .NET classes allows users to create quite advanced solutions in short time. PS won't be shipped with Vista or Windows Server 2007 but it will debut with Exchange 12."
This discussion has been archived. No new comments can be posted.
Display Options Threshold:
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • No Thanks by md81544 (Score:2) Sunday June 19 2005, @11:06AM
  • Here's a Screenshot (Score:5, Funny)

    by blackmonday (607916) on Sunday June 19 2005, @11:06AM (#12856426)
    (http://www.loscreepers.net/)
    Here's a Screenshot:

    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.

    C:\>


  • by Anonymous Coward on Sunday June 19 2005, @11:07AM (#12856431)
    A command line. How innovative!
  • This is fantastic news. (Score:4, Funny)

    by Anonymous Coward on Sunday June 19 2005, @11:09AM (#12856434)
    Windows gets more and more like Linix every day. At this rate, I soon won't be able to cut-n-paste between applications! Bring it on. Have they ported xcdplayer yet?
  • Monad? (Score:5, Funny)

    by Deal-a-Neil (166508) on Sunday June 19 2005, @11:09AM (#12856437)
    (Last Journal: Sunday June 19 2005, @11:58PM)
    What kind of name is that? Sounds like a command shell that had one testicle removed.
    • Re:Monad? by teslatug (Score:1) Sunday June 19 2005, @11:13AM
      • Re:Monad? by Afrosheen (Score:2) Sunday June 19 2005, @03:35PM
      • 3 replies beneath your current threshold.
    • Re:Monad? by jockm (Score:3) Sunday June 19 2005, @11:15AM
    • Re:Monad? by PhrostyMcByte (Score:2) Sunday June 19 2005, @11:20AM
      • Re:Monad? by gnarlin (Score:1) Sunday June 19 2005, @11:33AM
      • Re:Monad? by Anonymous Coward (Score:1) Sunday June 19 2005, @02:03PM
        • Re:Monad? by darkonc (Score:2) Sunday June 19 2005, @03:52PM
      • Re:Monad? by Osty (Score:1) Sunday June 19 2005, @03:19PM
    • Re:Monad? by QuestorTapes (Score:3) Sunday June 19 2005, @11:26AM
      • Re:Monad? by MikeWeller (Score:1) Sunday June 19 2005, @12:28PM
    • Re:Monad? by NutscrapeSucks (Score:2) Sunday June 19 2005, @11:27AM
      • Re:Monad? by inode_buddha (Score:1) Sunday June 19 2005, @11:37AM
        • Re:Monad? by NutscrapeSucks (Score:1) Sunday June 19 2005, @12:14PM
    • Re:Monad? by skasingularity (Score:1) Sunday June 19 2005, @12:07PM
    • Re:Monad? by Tablizer (Score:1) Sunday June 19 2005, @12:27PM
      • Re:Monad? by spectre_240sx (Score:2) Sunday June 19 2005, @10:36PM
    • Re:Monad? by tricore (Score:1) Sunday June 19 2005, @02:27PM
    • Re:Monad? by Almost-Retired (Score:2) Sunday June 19 2005, @02:58PM
    • Re:Monad? by dubdays (Score:3) Sunday June 19 2005, @07:04PM
    • Re:Monad? by Jah-Wren Ryel (Score:2) Sunday June 19 2005, @07:36PM
    • In particular read... by exp(pi*sqrt(163)) (Score:2) Sunday June 19 2005, @12:28PM
    • 4 replies beneath your current threshold.
  • monad (Score:5, Interesting)

    by yakumo.unr (833476) on Sunday June 19 2005, @11:10AM (#12856439)
    (http://picturesq.eu/)
    It is , I beleive, the fist object oriented shell.

    All the others use strings for piping.

    Most *nix users i've seen writing online that tried it for a good while to really get used to it thoguht it was really good.
    • Re:monad by Marko DeBeeste (Score:1) Sunday June 19 2005, @12:00PM
    • Re:monad by Compholio (Score:1) Sunday June 19 2005, @12:02PM
      • Re:monad by Ravatar (Score:1) Sunday June 19 2005, @12:42PM
    • Re:monad by Atzanteol (Score:1) Sunday June 19 2005, @12:13PM
      • Re:monad by SA Stevens (Score:1) Sunday June 19 2005, @01:23PM
        • Re:monad by Atzanteol (Score:2) Sunday June 19 2005, @01:32PM
          • Re:monad by Plaid Phantom (Score:1) Sunday June 19 2005, @02:16PM
          • Re:monad by Atzanteol (Score:2) Sunday June 19 2005, @07:36PM
          • 2 replies beneath your current threshold.
        • 1 reply beneath your current threshold.
    • Re:monad by zurab (Score:2) Sunday June 19 2005, @12:18PM
      • Re:monad by Naikrovek (Score:2) Sunday June 19 2005, @01:20PM
    • Re:monad by jeanicinq (Score:1) Sunday June 19 2005, @12:27PM
    • Re:monad by plalonde2 (Score:2) Sunday June 19 2005, @02:14PM
      • Re:monad by Feztaa (Score:2) Sunday June 19 2005, @07:48PM
    • Re:monad by hitchhacker (Score:2) Sunday June 19 2005, @06:52PM
      • Re:monad by thogard (Score:2) Sunday June 19 2005, @07:23PM
    • Re:monad by Sinner (Score:2) Sunday June 19 2005, @10:38PM
    • Re:strings for piping by DrSkwid (Score:2) Sunday June 19 2005, @11:30AM
      • 1 reply beneath your current threshold.
    • Re:strings for piping by eurleif (Score:1) Sunday June 19 2005, @12:19PM
    • Re:If it's good.... by EMH_Mark3 (Score:1) Sunday June 19 2005, @12:20PM
    • Re:Fist object oriented shell. by Anonymous Coward (Score:2) Sunday June 19 2005, @12:24PM
    • Re:If it's good.... (Score:5, Interesting)

      by IamTheRealMike (537420) on Sunday June 19 2005, @12:49PM (#12856937)
      (http://plan99.net/~mike/)
      That would be hard, MSH leverages .NET quite extensively. You might see a Mono Shell, or a Python Shell using the same concepts though.

      It's rather sad to see people dismissing this so quickly. I can guarantee if this was an Objective-C based shell from Apple people would be slobbering all over it by now, and saying how innovative Apple were, probably with some jabs at Linux too. I remember seeing an initial presentation about MSH a while back and the thinking behind it impressed me then, I'll be keen to try this when it's fully released.

      [ Parent ]
      • It's rather sad to see people dismissing this so quickly.
        That's the weakness of the Microsoft brand. Whatever they do is usually designed poorly. Even when the design is Ok, the implementation is bad. Even if properly implemented, the thing will be crippled by several of -- at least -- the following:
        • having to support legacy concepts (such as drive letters);
        • licensing concerns (like XP workstation allowing only one user at a time);
        • wide-spread security concerns resulting in the feature being turned off by default on most installations;
        • wide-spread fears of accidental and intentional incompatability;
        • being only available as part of an expensive (and extensive!) upgrade;
        • etc.

        Their bad (as in both -- nasty and foolish) ways of doing things are catching up with them all the time.

        [ Parent ]
        • Re:If it's good.... (Score:4, Insightful)

          by IamTheRealMike (537420) on Sunday June 19 2005, @03:18PM (#12857657)
          (http://plan99.net/~mike/)
          having to support legacy concepts (such as drive letters);

          Whilst the UNIX style unified directory hierarchy is aesthetically pleasing to computer scientists, I've never been convinced that it's really more usable. On Windows, people can learn a few simple letter to concept mappings "A" is the floppy disk, "C" is the stuff inside the Computer, "D" is the cD-rom drive, "E" is their usbEE kEE. Obviously not all systems will be like that, but it's common enough. On UNIX systems the location of floppy disks, installed programs, mounted USB keys and so on tend to move around unpredictably.

          Incidentally, talking of legacy concepts, what do you think "mounting" is? It dates from the time when you had to mount tapes onto their reels!

          licensing concerns (like XP workstation allowing only one user at a time);

          I don't see how this would affect a command shell designed for personal use. I also don't understand how it only allows one user at a time - in the copies of XP I've seen multiple users can log in at once, then you can rapidly switch between them. If you are thinking of X and terminal servers, well, you can have a command line without that. Look at MacOS.

          wide-spread security concerns resulting in the feature being turned off by default on most installations;

          There's no evidence I can see that suggests this would be off by default. Actually MSH could be a lot more secure than the UNIX shell as it can be fully controlled by .NET Code Access Security, which is more fine grained than traditional UNIX permissions.

          wide-spread fears of accidental and intentional incompatability;

          By adding a new end-user feature? That never stopped them adding themes, Media Player, MSN Messenger, etc. Compatibility concerns for something totally new are far less serious.

          being only available as part of an expensive (and extensive!) upgrade;

          In contrast to what? Microsoft backport far more stuff than Linux vendors do, and Apple basically doesn't backport anything at all. That's $120 per upgrade, thanks very much.

          Seriously. The guys working on MSH have blogs, I read a few, and they seemed very sharp to me. The MSH API seems quite lightweight and I suspect you'll be able to create new commandlets very easily - far easier than you can create new command line tools on Linux. Some of the examples they showed would require thousands of lines of code to write on Linux once you take into account the build system, the fact that they're usually written in C, the text parsing with extra checks for buffer overflows etc. Yet using the MSH API they fitted onto a single screen of text.

          I'm not too worried, I don't use Linux over Windows just because of bash (surprise), I use it because it's Free (and it has some other neat features I like). Actually, most UNIX shells suck ass. Their builtin programming languages are hideously primitive, unintuitive, and are easy to screw up. Getting basic information out of common tools requires a guru-level knowledge of sed, awk and Perl style regular expressions which are themselves primitive, backwards and unintuitive.

          You'd have to work pretty hard to produce a command line worse than the UNIX one (and no, cmd.exe does not count as "working hard", I suspect it's had about a weeks worth of work in the last decade).

          [ Parent ]
        • 1 reply beneath your current threshold.
      • Re:If it's good.... by cahiha (Score:2) Sunday June 19 2005, @03:22PM
      • Building a python shell by Peter Eckersley (Score:2) Sunday June 19 2005, @08:38PM
      • Re:If it's good.... by fingerfucker (Score:1) Monday June 20 2005, @02:05AM
    • Re:monad by fyrie (Score:1) Sunday June 19 2005, @03:43PM
    • 4 replies beneath your current threshold.
  • by SourKAT (589785) on Sunday June 19 2005, @11:12AM (#12856455)

    ... doesn't have a web interface...

    Visitors We are sorry but this site is experiencing difficulties at this time. Please return shortly! Thank you for your patience. Webmaster - please contact support as soon as possible.
  • I don't get it. by thehfctech (Score:1) Sunday June 19 2005, @11:13AM
  • First impressions (Score:5, Insightful)

    by Alioth (221270) <dyls@alioth.net> on Sunday June 19 2005, @11:14AM (#12856469)
    (http://www.alioth.net/ | Last Journal: Wednesday November 14, @02:04PM)
    I've had it since yesterday.

    My first impression - well, it will be fine for scripting, but as it stands it's appaling as an interactive shell - possibly slightly worse than cmd.exe as an interactive shell, and falling far short of bash/tcsh et al. The defaults for the commands seem way too verbose. If you're just passing objects around in a script that's fine - but for interactive use, it's just awful.
    • Re:First impressions by SnprBoB86 (Score:3) Sunday June 19 2005, @11:43AM
      • Re:First impressions by Tim C (Score:2) Sunday June 19 2005, @12:25PM
      • Re:First impressions (Score:5, Insightful)

        by Des Herriott (6508) on Sunday June 19 2005, @12:28PM (#12856854)
        "get-process" is far more intuitive than "ps"

        No, it is not. Neither is intuitive - a complete newcomer would have no chance of guessing either command. Both must be learned. Given that, I'll take the 2-character command over the 11-character command any day.
        [ Parent ]
        • Re:First impressions (Score:4, Insightful)

          by Ingolfke (515826) on Sunday June 19 2005, @12:42PM (#12856912)
          (Last Journal: Saturday January 13 2007, @02:19AM)
          Both must be learned.

          Both must be learned and remembered. Longer names allow for an easier to remember naming convention that can then help you remember or find the command you wanted. Two letter commands are certainly easier to type, but as others have mentioned the command completion in the interactive shell should take care of that.
          [ Parent ]
        • Re:First impressions (Score:4, Informative)

          by Ravatar (891374) on Sunday June 19 2005, @12:58PM (#12856986)
          Then use ps, it's a built-in alias for get-process.
          MSH>help ps

          NAME
          get-process

          SYNOPSIS
          get-process -Id id | -ProcessName name

          SHORT DESCRIPTION
          Lists processes currently running

          DETAILED DESCRIPTION

          -Id id
          [int[]]
          [pipeline input allowed]
          Comma separated list of process identifiers that specify the processes to ge
          t

          -ProcessName name
          [string[]]
          [pipeline input allowed]
          Comma separated list of process names that specify the processes to get

          -Exclude name
          [ArrayList]
          Comma separated list of process names to be excluded from the output.

          ---
          The Command will enumerate processes from local machine and output System.Di
          agnostics.Process object(s). The command will write the process object to th
          e output pipeline one by one. The Command will take parameters like ID(Proce
          ss Identifier) or Process Name from command line. The Command will return th
          e corresponding system.diagnostics.process for the supplied ID or ProcessNam
          e parameter(s).

          This command also supports the ubiquitous parameters:
          -Debug (-db), -ErrorAction (-ea), -ErrorVariable (-ev)
          -OutputBuffer (-ob), -OutputVariable (-ov), and -Verbose (-vb)

          NOTES
          Exclude only works for process name.

          EXAMPLES
          get-process
          Returns all running processes

          get-process svc*
          Returns all processes with names starting with svc

          PROVIDER SPECIFIC

          DYNAMIC PARAMETERS
          [ Parent ]
        • Re:First impressions by Liquidrage (Score:2) Sunday June 19 2005, @01:42PM
        • Re:First impressions by nEoN nOoDlE (Score:2) Sunday June 19 2005, @02:09PM
        • 2 replies beneath your current threshold.
      • Re:First impressions (Score:5, Insightful)

        by slavemowgli (585321) on Sunday June 19 2005, @12:29PM (#12856862)
        (http://venganza.org/)
        That, frankly, is rubbish. Someone who doesn't know about the commands and what they do will have to learn their names anyway; it doesn't matter, for example, whether you have to remember "get-process" or "ps". In fact, it might be easier to remember "ps", as it is shorter and more concise.

        As for the suggestion to alias commands so you don't have to type as much - wow, that's even more braindead. Part of the appeal of Unix is that the commands are pretty much the same everywhere - I can use grep to grep for things, for example, and expect it to work more or less the same on every platform. What you're advocating is the creation of an entirely individual set of commands, so administrators will either have to keep both sets of commands in mind (even more of a hassle), or be unable to (easily) understand each other because one abbreviated "get-process" as "gp", one used "ps" instead, and so on.
        [ Parent ]
      • Re:First impressions by Dillusionary (Score:1) Sunday June 19 2005, @01:26PM
        • 1 reply beneath your current threshold.
      • Re:First impressions by eikonos (Score:1) Sunday June 19 2005, @02:57PM
      • Usability vs. Learning Curve by BlurredWeasel (Score:1) Sunday June 19 2005, @02:58PM
      • usability by cahiha (Score:2) Sunday June 19 2005, @04:02PM
        • Re:usability by The Wooden Badger (Score:1) Monday June 20 2005, @12:22AM
          • Re:usability by cahiha (Score:2) Monday June 20 2005, @02:19AM
            • Re:usability by The Wooden Badger (Score:1) Monday June 20 2005, @12:14PM
      • Re:First impressions by Al Dimond (Score:2) Sunday June 19 2005, @04:20PM
      • Re:First impressions by value_added (Score:2) Sunday June 19 2005, @05:08PM
      • Re:First impressions by dcam (Score:3) Sunday June 19 2005, @08:14PM
      • 2 replies beneath your current threshold.
    • Re:First impressions by killjoe (Score:2) Sunday June 19 2005, @12:28PM
    • Re:First impressions by teslatug (Score:2) Sunday June 19 2005, @12:39PM
    • Re:First impressions by Arker (Score:2) Sunday June 19 2005, @06:32PM
  • whoosh! (Score:5, Insightful)

    That was the sound of the point, flying past Microsoft's Collective brain.

    The Unix shell is the implementation of the Unix philosophy of small parts working together. It's the antithsesis of Windows' philosophy of providing everything possible through DLLs distributed with the OS.

    For a shell to be useful, you need lots of little tools. Otherwise you're just trying to provide an isomorphism to the GUI, with command line switches and arguments taking the place of check boxes.

    On the other hand, I suppose it's better than nothing.
    • Re:whoosh! by Saeed al-Sahaf (Score:2) Sunday June 19 2005, @11:20AM
    • Re:whoosh! by Planesdragon (Score:2) Sunday June 19 2005, @11:32AM
      • Re:whoosh! by imsabbel (Score:2) Sunday June 19 2005, @11:54AM
        • Re:whoosh! by SA Stevens (Score:1) Sunday June 19 2005, @01:40PM
      • 1 reply beneath your current threshold.
    • Re:whoosh! (Score:5, Interesting)

      by SnprBoB86 (576143) on Sunday June 19 2005, @11:37AM (#12856600)
      (http://brandonbloom.name/)
      All of these little "tools", Microsoft is providing. Take a look at the samples for MSH and you will that the commands are heavily inspired by Unix.

      This tools are "commandlets." Being able to pipe .Net objects into mini applications with the full .NET framework available for use will be increadably useful.

      I can see MSH being a HUGE improvment over Bash. For example:

      MSH> get-process

      (IMAGINE A PROCESS LIST HERE, OR SEE THE LINK... damn /. junk filter)

      Want to filter that by virtual memory consuption?

      MSH> get-process | where { $_.virtualmemorysize -gt 150000000}

      (IMAGINE A PROCESS LIST HERE, OR SEE THE LINK... damn /. junk filter)

      In Unix, you have to parse string output and all sorts of bullshit in order to access a data field of some conceptual object, but with MSH I will be able to simply access it directly in a type-safe way. That is a huge improvement.

      See more here: http://weblog.infoworld.com/udell/2004/11/02.html
      [ Parent ]
      • Re:whoosh! by lheal (Score:1) Sunday June 19 2005, @11:45AM
        • Re:whoosh! by brpr (Score:1) Sunday June 19 2005, @12:00PM
          • Re:whoosh! by lheal (Score:2) Sunday June 19 2005, @12:17PM
            • Re:whoosh! by brpr (Score:2) Sunday June 19 2005, @01:31PM
              • Re:whoosh! by IpalindromeI (Score:2) Monday June 20 2005, @01:40PM
            • Re:whoosh! by brpr (Score:2) Sunday June 19 2005, @04:59PM
            • 1 reply beneath your current threshold.
        • Re:whoosh! by Beek (Score:1) Sunday June 19 2005, @12:06PM
          • Re:whoosh! by lheal (Score:2) Sunday June 19 2005, @12:11PM
            • Re:whoosh! by EvanED (Score:2) Sunday June 19 2005, @01:23PM
            • 1 reply beneath your current threshold.
          • Re:whoosh! by eyeye (Score:1) Sunday June 19 2005, @12:46PM
        • Re:whoosh! (Score:5, Interesting)

          " And all of that will require processing power. All of those objects have to be converted each and every time they get passed. Even the conversion to text will take cycles."

          Are you kidding? Parsing text is one of the hardest things for a modern processor to do. Having fields available in a consistent internal representation allows you to do stuff based on them without having to parse anything, and you don't have to parse things. How many regexen do you write in a typical shell script? I'm not saying there are no disadvantages to Microsoft's way, but speed isn't one of them.

          Also, you don't have to launch so many processes with MSH way. *nix shells can be prohibitively slow if you use an iteration strategy that results in lots of processes being launched, but sometimes it's hard to set things up as a pipe because you often have to do more complex parsing.

          These things aren't so much of a disadvantage for larger programs that often end up in another language, but small one-time scripts will probably be easier.

          I'm not going to use Windows, but if someone can come up with something better than that stupid Python shell replacement on UNIX I'll give it a shot.

          Actually it seems to me that new tools for the current shells could serialize objects and pass them through the pipes we have.
          [ Parent ]
          • Re:whoosh! by UnapprovedThought (Score:1) Monday June 20 2005, @02:05AM
        • Re:whoosh! by drsmithy (Score:2) Sunday June 19 2005, @07:11PM
      • Re:whoosh! by Soul-Burn666 (Score:2) Sunday June 19 2005, @12:03PM
        • Re:whoosh! by julesh (Score:2) Sunday June 19 2005, @01:41PM
          • 1 reply beneath your current threshold.
        • Re:whoosh! by bushidocoder (Score:2) Sunday June 19 2005, @04:31PM
      • Re:whoosh! by litecode (Score:1) Sunday June 19 2005, @12:20PM
        • Re:whoosh! by julesh (Score:3) Sunday June 19 2005, @01:50PM
        • Re:whoosh! by DigitlDud (Score:1) Sunday June 19 2005, @02:33PM
      • Re:whoosh! by killjoe (Score:2) Sunday June 19 2005, @12:30PM
        • Re:whoosh! by teslatug (Score:2) Sunday June 19 2005, @12:45PM
          • Re:whoosh! by killjoe (Score:2) Sunday June 19 2005, @01:02PM
        • Re:whoosh! by julesh (Score:2) Sunday June 19 2005, @01:46PM
          • Re:whoosh! by iserlohn (Score:2) Sunday June 19 2005, @03:11PM
      • Re:whoosh! (Score:5, Insightful)

        by Eudial (590661) on Sunday June 19 2005, @12:38PM (#12856894)
        $ ps vOr

        List processses, order by memory consumption, saving 52 keypresses.

        If you absolutely -must- sort out those that have less than n mem usage, try
        $ ps vOr | awk '{if ($8 > 15000) print $_ }'

        Still 15 less characters than your example...
        [ Parent ]
        • Re:whoosh! by fbform (Score:2) Sunday June 19 2005, @01:11PM
        • Re:whoosh! by phiwum (Score:1) Sunday June 19 2005, @01:53PM
          • Re:whoosh! by phiwum (Score:1) Monday June 20 2005, @06:08AM
          • 1 reply beneath your current threshold.
        • Re:whoosh! by Osty (Score:1) Sunday June 19 2005, @02:07PM
          • Re:whoosh! by lux55 (Score:2) Sunday June 19 2005, @02:30PM
            • Re:whoosh! by Osty (Score:1) Sunday June 19 2005, @02:42PM
        • See... by DigitlDud (Score:1) Sunday June 19 2005, @02:41PM
          • Re:See... by Eudial (Score:2) Sunday June 19 2005, @03:16PM
            • Re:See... by ZorbaTHut (Score:3) Sunday June 19 2005, @04:50PM
              • Re:See... by geomon (Score:3) Sunday June 19 2005, @08:20PM
              • Re:See... by ocelotbob (Score:1) Sunday June 19 2005, @09:42PM
              • Re:See... by gromitcode (Score:1) Monday June 20 2005, @12:16AM
              • Re:See... by geomon (Score:2) Monday June 20 2005, @08:28PM
          • Re:See... by LnxAddct (Score:1) Sunday June 19 2005, @10:45PM
            • Re:See... by DigitlDud (Score:1) Monday June 20 2005, @12:36AM
              • Re:See... by LnxAddct (Score:1) Monday June 20 2005, @01:25AM
        • A reason why *nix isn't ready for the desktop. by Vicsun (Score:2) Sunday June 19 2005, @02:56PM
        • Re:whoosh! by Tim C (Score:2) Sunday June 19 2005, @03:03PM
        • Re:whoosh! by julesh (Score:2) Sunday June 19 2005, @03:26PM
          • Re:whoosh! by julesh (Score:2) Sunday June 19 2005, @03:28PM
          • Re:whoosh! by Eudial (Score:2) Sunday June 19 2005, @04:11PM
            • Re:whoosh! by julesh (Score:2) Tuesday June 21 2005, @08:22AM
          • 1 reply beneath your current threshold.
        • Re:whoosh! by joshv (Score:2) Sunday June 19 2005, @03:28PM
        • Re:whoosh! by Osty (Score:2) Sunday June 19 2005, @06:01PM
        • 1 reply beneath your current threshold.
      • Re:whoosh! by AlexMax2742 (Score:2) Sunday June 19 2005, @12:35PM
        • Re:whoosh! by Eudial (Score:2) Sunday June 19 2005, @12:53PM
          • 1 reply beneath your current threshold.
      • Re:whoosh! by julesh (Score:3) Sunday June 19 2005, @02:09PM
      • Yes you can by DigitlDud (Score:2) Sunday June 19 2005, @02:27PM
      • Re:whoosh! by ashpool7 (Score:1) Sunday June 19 2005, @03:14PM
      • Re:whoosh! by Stauf (Score:2) Sunday June 19 2005, @10:19PM
      • 4 replies beneath your current threshold.
    • Re:whoosh! (Score:4, Interesting)

      by diegocgteleline.es (653730) on Sunday June 19 2005, @11:43AM (#12856635)
      The Unix shell is the implementation of the Unix philosophy of small parts working together. It's the antithsesis of Windows' philosophy of providing everything possible through DLLs distributed with the OS.

      It's just me, or you just said the same thing twice?

      Unix has a lot of command-line tools, but it also has tons of libraries with no commandline attached to them.

      There's nothing wrong with the Microsoft's DLL aproach either, they just have to provide a command line for the DLLs they want, programs which will happen to parse the command-line switches and pipes and use the DLLs to execute the real job. It's in fact a "perfect" policy/mechanism balance. Many unix command-line tools don't provide a library to be used by programs, very often I wish they would.
      [ Parent ]
      • 1 reply beneath your current threshold.
    • Ever tried rundll? by daBass (Score:2) Sunday June 19 2005, @12:07PM
    • Re:whoosh! by man_of_mr_e (Score:2) Sunday June 19 2005, @02:10PM
    • Obviously... by DigitlDud (Score:1) Sunday June 19 2005, @02:22PM
    • 1 reply beneath your current threshold.
  • One Perl (Score:4, Interesting)

    What's wrong with just running the Perl debugger, for an interactive shell? If the *nix shells were as limited in their reach into the OS APIs as the Windows commandline UIs have been, I'd use "perl -de 1" instead of bash or sh. As it is, I use that Perl shell for most commandline programming, especially for any data processing tasks. And a Perl shell has thousands of existing scripts, most of which work on Windows as well as any other platform, and are easily customized to script Windows apps. Even more, the Perl platform has lots of modules that embed programmable clients to Windows apps into scripts, and lots of scripts that bundle them together. Why not use old all-encompassing Perl, rather than the new, strictly limited Monad?
    • Re:One Perl by Telastyn (Score:3) Sunday June 19 2005, @11:32AM
      • Re:One Perl by Doc Ruby (Score:2) Sunday June 19 2005, @11:45AM
        • Re:One Perl by SA Stevens (Score:1) Sunday June 19 2005, @01:36PM
          • Re:One Perl by Doc Ruby (Score:2) Sunday June 19 2005, @07:17PM
    • Re:One Perl by offline (Score:1) Sunday June 19 2005, @11:40AM
      • Re:One Perl by SparafucileMan (Score:2) Sunday June 19 2005, @11:47AM
        • Re:One Perl by offline (Score:1) Sunday June 19 2005, @12:21PM
      • Re:One Perl by eyeye (Score:2) Sunday June 19 2005, @12:53PM
        • Re:One Perl by colinrichardday (Score:1) Sunday June 19 2005, @01:17PM
          • Re:One Perl by colinrichardday (Score:1) Sunday June 19 2005, @05:56PM
          • 1 reply beneath your current threshold.
      • Re:One Perl by Doc Ruby (Score:2) Sunday June 19 2005, @10:19PM
      • 1 reply beneath your current threshold.
    • Re:One Perl by kckman (Score:1) Sunday June 19 2005, @12:22PM
      • Re:One Perl by Doc Ruby (Score:3) Sunday June 19 2005, @12:31PM
  • One benefit to Monad. (Score:4, Funny)

    by Deal-a-Neil (166508) on Sunday June 19 2005, @11:17AM (#12856488)
    (Last Journal: Sunday June 19 2005, @11:58PM)
    .. it won't be so startling when you get the blue screen of death, seeing that you're already in a text screen mode.
  • Anything would better! (Score:4, Insightful)

    by toupsie (88295) on Sunday June 19 2005, @11:17AM (#12856491)
    (http://127.0.0.1/)
    Trying to script using cmd, vbscript, wsh, wmi, adsi technologies compared to the userland in Unix systems for core system administration is a complete hassle. I have ended using Perl w/ Win32::* extensions and a lot of backticking and substitutions to get the job done. I will be looking forward to any improvements that Monad provides. I really hope that Microsoft looks toward BSD (Mac OS X) and Linux systems and takes to heart the ease that shell scripting in these systems provides. And for God's sake, make it easier to determine the IP address associated to a printer in a clustered virtual print queue! (Hint: you have to use an undocumented DLL that can only be found in a locked filing cabinet stuck in a disused lavatory in an unlit cellar with a sign on the door saying 'beware of the leopard' section of the Resource Kit).
  • Wasn't it already in the beta? by bersl2 (Score:2) Sunday June 19 2005, @11:20AM
  • I find it ironic by v1 (Score:2) Sunday June 19 2005, @11:21AM
  • backslashes (Score:3, Insightful)

    by hey (83763) on Sunday June 19 2005, @11:39AM (#12856610)
    (Last Journal: Thursday December 08 2005, @04:33PM)
    While they are on their way to being more Unix-like how about fixes their broken backslashes. It would be nice to be able to do:

    cd '/Program Files/Mozilla Firefox'

  • Monad?!?! (Score:4, Funny)

    by 3vi1 (544505) <evil_.hotmail@com> on Sunday June 19 2005, @11:40AM (#12856621)
    (http://www.eternaldusk.com/ | Last Journal: Friday July 16 2004, @08:05PM)
    "What should we name it?"

    "Let's combine 'Microsoft' and 'Gonad'. It'll make Unix jealous."
    • Re:Monad?!?! by glib909 (Score:1) Sunday June 19 2005, @03:09PM
    • Re:Monad?!?! by Shawndeisi (Score:1) Monday June 20 2005, @03:54AM
    • 1 reply beneath your current threshold.
  • shell bias (Score:3, Insightful)

    by SparafucileMan (544171) on Sunday June 19 2005, @11:41AM (#12856627)
    fellows, does it really matter? i hear Monad is quite good. but then so is bash. so is emacs shell. or perl/python/lisp interpreter of the day...

    honestly, the shell is just another language, the utility and efficiency of which depends on the environment, the use, the user, and a million other things.

    so stop bashing Monad as a unix wannabe. unix didn't invent the commandline anyway. this is like a blind man making fun of a deaf man.
  • They tried this before (Score:5, Funny)

    by infonography (566403) on Sunday June 19 2005, @11:46AM (#12856652)
    (http://www.zines.com/)
    I didn't write this but I wish I had been there.

    " I've been attending the USENIX NT and LISA NT (Large Installation Systems Administration for NT) conference in downtown Seattle this week.

    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 MKS (Mortise Kern Systems) windowing Korn 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 MKS 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 Korn shell. He asks if they had considered others that are more compatible with existing UNIX versions of KSH.

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

    The questioner again asserted that the MKS shell was not very compatible and didn't do a lot of things right that are defined in the KSH 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 David Korn of AT&T (now Lucent) Bell Labs. (David Korn is the author of the Korn 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?"

    source = http://www.flutterby.com/archives/1998_Sep/quickie s.html [flutterby.com]
  • Where...? by julesh (Score:2) Sunday June 19 2005, @11:51AM
    • Re:Where...? by julesh (Score:2) Sunday June 19 2005, @12:09PM
    • Re:Where...? by tfl (Score:1) Monday June 20 2005, @08:55AM
  • Groovy by Anonymous Coward (Score:2) Sunday June 19 2005, @11:54AM
    • Re:Groovy by argent (Score:2) Sunday June 19 2005, @12:57PM
      • Re:Groovy by argent (Score:2) Sunday June 19 2005, @04:24PM
      • 1 reply beneath your current threshold.
    • 1 reply beneath your current threshold.
  • why not cygwin? by bokmann (Score:1) Sunday June 19 2005, @12:04PM
    • RTFA by EvanED (Score:2) Sunday June 19 2005, @01:31PM
    • Re:why not cygwin? by julesh (Score:2) Sunday June 19 2005, @02:21PM
    • 2 replies beneath your current threshold.
  • by nightcrawler.36 (892551) on Sunday June 19 2005, @12:04PM (#12856735)
    When I first read this, I too thought MS was just retooling some form of CMD to compete with the new-found craze in command lines. But then I read about it on Wikipedia.org. It's considerably more than most of you are thinking. I'm not going to point out what it does here, go read about it(if you don't know what it is.). But how much of this is Microsoft bashing and how much of this is a legitimate analysis of the quality of computer user tools? I think we're seeing a world where things are starting to settle in to what they should be. Windows are going to be desktop machines, *nix are going to run servers(not IIS) and Macs will continue to win the hearts and minds of artists, universities and affluent kids. MS is not reinventing UNIX. They're simply providing *NIX-like tool for "Windows" developers'. It's called competition and it's good for us. It gives me yet another option to choose from. Welcome it! you don't have to use it if you don't like it.
  • Sounds nice. Does it run on Linux? by ShyGuy91284 (Score:1) Sunday June 19 2005, @12:10PM
  • So how can I install that on Linux? by RedLaggedTeut (Score:1) Sunday June 19 2005, @12:13PM
  • Anybody got the download URL? by freshtonic (Score:1) Sunday June 19 2005, @12:17PM
  • Cool! by TheStick (Score:1) Sunday June 19 2005, @12:19PM
  • from the google cache by Anonymous Coward (Score:1) Sunday June 19 2005, @12:19PM
  • Tech-Recipe link by Oriumpor (Score:2) Sunday June 19 2005, @12:21PM
    • 1 reply beneath your current threshold.
  • Wohoo! by Dasch (Score:1) Sunday June 19 2005, @12:35PM
  • Does this mean? (Score:3, Funny)

    by janus_god (853226) on Sunday June 19 2005, @12:37PM (#12856891)
    Does this mean that tracert will become traceroute and dir become ls? Good god the implecations are huge.
  • Monad is NOT Coming by sjvn (Score:2) Sunday June 19 2005, @12:42PM
  • Name when released by the GNOME team: by Bob_Robertson (Score:2) Sunday June 19 2005, @12:46PM
  • welcome by Anonymous Coward (Score:1) Sunday June 19 2005, @12:49PM
  • what can UNIX learn from this? (Score:5, Insightful)

    I don't think many of us care that the command names are a little hard to remember. I have just as much trouble remembering stuff from APIs with nice names like Java.

    No, this highlights a weakness in UNIX shells: we have to parse things. It's slow and it's a huge pain. It seriously limits what we can do. grep, sed etc can be used to manipulate streams but nobody ever implements the complete grammar of the input they can get. They implement some subset that's good enough for the job at hand and tweak it when it screws up. It's worked well for decades, but that doesn't mean we can't do better.

    Having a data structure passed along a pipe like MSH does is a huge advantage and very efficient, but I think most UNIX people can agree that it's not worth it to bring everything into the same process. What's an alternative? Serialize the data structure (in some human readable form to stay true to UNIX tradition) and pass that down the pipe, from one process to another. That would work with the pipes we have now and the shells we have now, we just need new tools and a serialization protocol.
  • massive case of second system effect (Score:4, Interesting)

    by cahiha (873942) on Sunday June 19 2005, @01:18PM (#12857061)
    Microsoft programmers should look up "second system effect": they keep making the same mistake again and again.

    If you want to see some good (or at least interesting) directions people have taken shells into, there are Plan 9 rc (same idea as sh, but cleaned up), fish (better interactive features), and Tcl/Tk (shell-like programming for a full scripting language, including the ability to embed Java and C#/CLR objects). And if you want a full scripting language, Perl, Python, and Ruby fit the bill.

    A note to FOSS programmers: if you are really itching to clone Monad, please do yourself and everybody else a favor, implement your clone in Perl or Python: a Monad-like shell becomes almost trivial in those languages because they have all the reflection capabilities you need, and because they already have all the hookups to Java, C#, and COM that you might want.
  • Quick Tour of Monad (Score:5, Interesting)

    by SteveX (5640) on Sunday June 19 2005, @01:32PM (#12857153)
    (http://blog.stevex.net/)
    I wrote a short article on Monad [stevex.org] as well.

    Very cool shell; if you don't know anything about it, don't assume it's just a bash or ksh clone.. it's actually something fairly unique.

  • shazbot! by yagu (Score:2) Sunday June 19 2005, @01:44PM
  • This is (probably) not the way to go by spockvariant (Score:1) Sunday June 19 2005, @03:24PM
  • In Other News by Burz (Score:1) Sunday June 19 2005, @03:30PM
  • Torrent for MSH/Monad 32 bit version by mr.henry (Score:2) Sunday June 19 2005, @03:33PM
  • Interesting security implications by M4tth3wV (Score:1) Sunday June 19 2005, @04:33PM
  • vi by obdulio (Score:1) Sunday June 19 2005, @04:37PM
  • Only a 'g' away by batura (Score:2) Sunday June 19 2005, @05:31PM
  • Nice idea, fifteen years too late by puzzled (Score:2) Sunday June 19 2005, @05:53PM
  • REXX by os2fan (Score:2) Sunday June 19 2005, @06:48PM
  • A few very handy things I would like to see by chiok (Score:2) Sunday June 19 2005, @08:13PM
  • I heard... by SQLz (Score:2) Sunday June 19 2005, @08:53PM
  • Win32 Perl no longer in Resource Kits... by ManyLostPackets (Score:1) Sunday June 19 2005, @09:59PM
  • 80 characters? by permanentE (Score:1) Tuesday June 21 2005, @06:49PM
  • Re:That's all well and good (Score:3, Insightful)

    by Saeed al-Sahaf (665390) on Sunday June 19 2005, @11:10AM (#12856441)
    (http://nojailforpot.com/)
    The question is, who would really be interested in it at all?

    Well, Windows network admins? Say what you will about Windows, most of it's true. But lot's of serious companies use it, and some of them even hire smart people to admin their systems. Could be usful for something like that, maybe.

    [ Parent ]
  • Re:That's all well and good by Kafteinn (Score:2) Sunday June 19 2005, @11:22AM
  • Re:That's all well and good (Score:3, Insightful)

    by diegocgteleline.es (653730) on Sunday June 19 2005, @11:23AM (#12856523)
    People who uses windows, obviously. Most of Microsoft users do not analize what they use - they just use it, and they've though that buttons are better than scripting just because Microsoft has been telling them that for years. Now that microsoft says scripting is useful, they'll think it's useful. They don't know if scripting is "good" or "bad", they're not CS people (and even if they are they may be clueless) so they think whatever they're told to think
    [ Parent ]
  • Re:That's all well and good (Score:5, Insightful)

    by CaroKann (795685) on Sunday June 19 2005, @11:25AM (#12856535)
    A windows shell, without the various limitations of the DOS shell, would be very useful in more ways than I can count. For example, DOS .bat files are still used a lot, especially in cases where you want to run an application, like a Java based program, with it's own system environment setup.

    Lots of people are "bashing" this up agianst various Unix shells, but what does it matter? Windows needs something like this, period.
    [ Parent ]
  • Re:Please try Monad out by wasabii (Score:2) Sunday June 19 2005, @12:36PM
  • lol, personalized error ... (Score:4, Funny)

    by da5idnetlimit.com (410908) on Sunday June 19 2005, @12:51PM (#12856946)
    (Last Journal: Saturday October 30 2004, @05:54PM)
    "Server Error in '/' Application."

    Is computing really becoming pervasive ?
    At least it has a sense of humor 8)

    'Server Error in '/' Application.

    Runtime Error
    Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

    Details: To enable the details of this specific error message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off".

    Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's configuration tag to point to a custom error page URL.

    '
    [ Parent ]
  • Re:Please try Monad out by julesh (Score:2) Sunday June 19 2005, @02:26PM
  • Re:you know it sucks when... by julesh (Score:2) Sunday June 19 2005, @02:30PM
    • 1 reply beneath your current threshold.
  • Re:WTF??? Wikipedia is down by qaxzar (Score:1) Sunday June 19 2005, @02:34PM
  • Re:WTF??? Wikipedia is down by qaxzar (Score:1) Sunday June 19 2005, @02:42PM
  • Re:Please try Monad out by codepunk (Score:2) Sunday June 19 2005, @07:45PM
  • Re:WTF??? Wikipedia is down by rbarreira (Score:2) Sunday June 19 2005, @09:19PM
  • Re:Gonad? by chawly (Score:1) Monday June 20 2005, @02:04PM
  • 23 replies beneath your current threshold.