Slashdot Mirror


What Makes A UNIX System UNIX?

ian asks: "Since there are now so many different flavors of UNIX out there (Linux, Free BSD, AIX, Solaris, AT&T UNIX, etc...) what do they all have in common that lets these all be called UNIX? Programs written for one flavor of UNIX typically cannot be ported to another without considerable effort. The features offered by the different implementations vary widely: some are more secure than others, some cluster better than others, some offer journaling file systems, some are more robust. The differences between the different kinds of UNIX seem to be as great as the differences between any particular implementation and other OSs. Could one port all the standard command line utilities to NT, clone one or two of the popular shells, set up the directory structure in the standard UNIX layout and call it Microsoft UNIX?"

417 comments

  1. Re:The secret is "X" by Anonymous Coward · · Score: 0

    No, no. It's actually "Solarix". All the use of Solaris has been a typo so disagreeing is just a spelling flame.

  2. Re:what is unix? by Anonymous Coward · · Score: 0

    No, operating system and interface SHOULDN'T have anything to do with one another. NT has a GUI built into the kernel.

  3. Re:MS Unix by Anonymous Coward · · Score: 0

    CE is not based on NT in anyway, they share the Windows API, that's all.

  4. Are you really a commercial UNIX developer? by Anonymous Coward · · Score: 0
    How can you say portability is an issue between different flavors of UNIX? Why do you perpetuate this FUD? I routinely code for Solaris, HPUX and LINUX. It works for me w/little heartburn.

    I know source doesn't just plug right in over all the different UNIX releases. I also know experienced developers can localize the inconsistencies to a few modules and move on to more important problems.

    So quit whining like a PHB w/M$ on his tiny brain. Portability isn't that hard these days.

  5. GUI in the kernel by Anonymous Coward · · Score: 0

    So does linux with GGI.

    Linux also has an httpd and an nfs server in the kernel.

    Is linux no longer Unix?

    1. Re:GUI in the kernel by seanipoo · · Score: 1

      What makes you think Linux has a httpd and nfs server in the kernel?

    2. Re:GUI in the kernel by ZarKov · · Score: 1

      Linux has nfs support built in at the kernel level. I'm no expert, but I think the kernel-level support has more to do with the ability to mount nfs shares into the filesystem than exporting them. As for httpd, I'm fairly certain I read somewhere that the 2.4 kernel will have an experimental httpd daemon that runs as a kernel module and is only able to serve static pages.

      C:\DOS\CRASH>

  6. Re:what is unix? by Anonymous Coward · · Score: 0
    It would be possible, however unlikely, for Microsoft to create an interface that completely resembles your Linux boxen in every respect, right down to the shells and applications you run. Nothing in their kernel (I'm speaking of NT here, not DOS) prevents them from doing so.

    Except the crashes...

  7. Re:Only those by Anonymous Coward · · Score: 0

    Geez, enought with the trademark nonsense.
    I propose that we come up with a word that means UNIX.

    UNIXq

    The q is silent.

    There! Shut up about it already!

  8. Abandonware OS/2 by Anonymous Coward · · Score: 0

    Anyone know of an Abandonware site where you can download OS/2 (the OS, not apps)? It would neat to play around with it with these ports of enlightenment, etc.

    If you know of a hyperlink, then by all means post it :)

    1. Re:Abandonware OS/2 by Locutus · · Score: 1

      MSFT owns too much of OS/2 for IBM to be allowed to see it posted on the Net. Licensing issues prevent IBM from opensourcing it and also help them keep track of how much of it was/is sold. IBM did say they made around $100 million off OS/2 related sales so that aint all that bad for a dead OS. Thank about that the next time you go to the ATM. There are even a few nuke plants in Germany where OS/2 runs the control rods. It ain't mainstream but BMW isn't either and people still buy Beamers. MSFT's ability to keep things incompatible seems to have infected the logic of many a person.

      --
      "Anyone who stands out in the middle of a road looks like roadkill to me." --Linus
    2. Re:Abandonware OS/2 by mikelieman · · Score: 1

      Last time I checked (about 4 years ago now! Sheesh, time flies...) Key Bank ran the whole branch shebang on OS/2.

      Could continue to be profitable for a LONG time in vertical market applications like that!

      --
      Technology -- No Place For Wimps! Grateful Dead and Jerry Garcia Chatroom -- http://www.wemissjerry.org
    3. Re:Abandonware OS/2 by blane.bramble · · Score: 1

      The situation may have changed, but last I heard OS/2 was not officially dead - IBM had announced no NEW version developments, but had not stopped supporting the current versions. IIRC the scoring and information systems for the winter olympics and wimbledon (tennis) were supplied by IBM and completely OS/2 based. Not bad for a dead system.

  9. Re:QNX is not UNIX by Anonymous Coward · · Score: 0

    tempus fugit; screweth not with this thread!

  10. Re:what is unix? by Anonymous Coward · · Score: 0

    That nice little logon prompt that you get in Windows NT 4.0 is NOT "Explorer". Go ahead and change your default shell away from Explorer in the registry, you'll still boot to a GUI logon prompt -- there are still GUI elements that are part of NT that aren't "Explorer". You'll notice that you still have your Task Manager around if you don't use "Explorer" as your default NT shell, too. How else would you log out if you used Notepad (for maximum productivity!) as your shell?

  11. W2K *IS* UNIX Branded by Anonymous Coward · · Score: 0
    W2K has an add-on that makes it *BRANDED* UNIX.

    Only products that pass the Open Group tests can be called UNIX and then ONLY if they licence the UNIX name from the Open Group.

    The Open Group manages the UNIX trademark as the UNIX vendors could not agree on anything and kept fighting - just like the Linux vendors.

    Trouble is, ALMOST EVERYONE ON SLASHDOT IS SO FUCKING BIASED, BIGOTED IN ADDITION TO NOT KNOWING SHIT ABOUT UNIX. ALL THAT SEEMS TO MATTER IS OPEN SOURCE.

    1. Re:W2K *IS* UNIX Branded by DGolden · · Score: 1

      > ...but I suspect you can't do that on a headless Linux/BSD/Solaris/SCO/... system with a dumb terminal

      Screen is a utility to achieve much the same thing as virtual consoles, with the added benefit it works in anything, including xterms...
      It's included with every mainstream linux distro, at least.

      man screen :

      Screen is a full-screen window manager that multiplexes a physical terminal between several processes (typically interactive shells). Each virtual terminal provides the functions of a DEC VT100 terminal and, in addition, sev eral control functions from the ISO 6492 (ECMA 48, ANSI X3.64) and ISO 2022 standards (e.g. insert/delete line and support for multiple character sets).

      That is to say, screen does in user-space what virtual consoles do in kernel space. However, screen is more widely applicable - I can have 10 shell windows open over my dumb terminal's serial line, and flick between them.

      --
      Choice of masters is not freedom.
    2. Re:W2K *IS* UNIX Branded by mklinux_dude · · Score: 1

      Does W2k have ls, who, file, bash, /dev? Does it use X Windows? Can I telnet into W2k (with an out-of-box-install)? Can I change the runlevel of w2k? can I kill a process (with the kill command)? Can I used nice on process? Does it have virtual consoles (Ctrl-Alt-Fx)? Can it be traced back to AT&T or BSD UNIX? If you answered no to any of those questions, then it's not Unix.

    3. Re:W2K *IS* UNIX Branded by Guy+Harris · · Score: 2
      Can I change the runlevel of w2k?

      I doubt you can, even with Interix installed...

      ...but you can't do that on the BSDs, either, unless you've installed a System V-style init on them (which may require you to write one, or port one from a Linux system, say), unless you include changes between single-user and multi-user mode, which is all you get with the traditional init, to be changes to the runlevel (which I don't, given that the notion of multiple run levels first showed up, at least in an AT&T UNIX release that AT&T sold publicly, in System III, not in the original Research UNIX).

      Does it have virtual consoles (Ctrl-Alt-Fx)?

      I suspect not, even with Interix...

      ...but I suspect you can't do that on a headless Linux/BSD/Solaris/SCO/... system with a dumb terminal on a serial port as a console, either. (There may be equivalents for dumb terminals, though.)

      I agree that NT+Interix probably not UNIXish enough for me to think of it as Real UNIX (although for many purposes it may be Good Enough), but those particular criteria are a bit too restrictive, in that they rule out systems that I suspect most would think of as Real UNIX. (And I think of Linux distributions as being Real UNIXes even though their code largely can't "traced back to AT&T or BSD UNIX".)

  12. My Two Criteria by Anonymous Coward · · Score: 0

    There is one and only one legal definition for UNIX, and that is what carries the UNIX brand. The Open Group says who gets that brand, period. Whatever is on their list is UNIX, plain and simple. The problem with that is that they're giving UNIX branding to operating systems that are fundamentally different to traditional UNIX. While they technically meet the requirements, they do so through add-ons and subsystems. So for my own personal definition, I define "Unix" as a true branded UNIX that can be traced to the original AT&T UNIX. So for example, Solaris is UNIX because it has the brand, and it has the family tree. That leaves out NT-based POSIX subsystem add-ons, OS/390, *BSD (based on 4.4BSD-Lite), Minix and Linux. I'm a big fan of Linux, and while on one hand I would love to see it gain the legitimacy of the UNIX name, I feel that Linux actually transcends it and even obsoletes it. Linux has managed to bring together diverse concerns where they couldn't get together with UNIX. I don't want to see this progress inhibited by arguments over what may very well be passe. WCK

  13. Revisionist history... by Anonymous Coward · · Score: 0

    , is its well thought-out design. It was noticably not designed so that any newbie could use it.

    Uh, no. UNIX was hacked together by K&R just so they had an OS to put an otherwise idle VAX to work. They had no design other than to start with ideas from MULTICS; new features were added ad-hoc to get to what we today call UNIX.

    My CS prof used to deride UNIX as a hack put together by amateurs, which indeed is correct. To him the OS paragon was VMS, which went on to become NT.

    1. Re:Revisionist history... by Anonymous Coward · · Score: 0

      I try not to threads like these, but this remark was too stupid to pass on.

      VMS did not "[go] on to become NT". VMS continues to be a viable operating system of its own, with a lot of good poeple still working on it. What you are confused about was that some of the people who worked on VMS became the top people in the MS/IBM team that started developing OS/2. When the rift between the MS and IBM groups happened, MS took its design and called it NT, and IBM kept the OS/2 name. The NT team was still comprised of a lot of VMS people. Some of the original core design of NT had a lot of VMS-isms, but no one can honestly say that the current NT is anything remotely like VMS.

    2. Re:Revisionist history... by bsDaemon · · Score: 1

      "Uh, no. UNIX was hacked together by K&R just so they had an OS to put an otherwise idle VAX to work." again, no. it was a PDP-10, not a VAX. Bill Joy did the VAX port at Berkeley for 3BSD(i think it was 3BSD anyway).

    3. Re:Revisionist history... by bsDaemon · · Score: 1

      K&R --i think not again. Ken Thompson and Dennis Ritchie. Kernighan is a dork. who would waste 15 pages on an easy about why PASCAL sucks, anyway?

  14. see section 2 of man pages by Anonymous Coward · · Score: 0

    From a system programmer's perspective, a fairly complete POSIX+BSD+SVr4 implementation of the system calls is enough for me to warrant colloquial usage of the word `UNIX', regardless of whether the kernel is Mach, AIX, NT, or even Linux.

  15. Re:MS Unix by Anonymous Coward · · Score: 0

    TummyX, do you ever post anything that's not pro-MS? This is not a troll. I use w2k at work and have to admit it kicks ass. But, seriously, you must be the Microsoft Developers Cheerleading Squad captain.

  16. Re:Microsoft UNIX NT by Anonymous Coward · · Score: 0

    Since all the versions of Windows NT are POSIX 1003.1 compliant, they're already Unix by some limited, government approved, measure.

  17. Re:The secret is "X" by Anonymous Coward · · Score: 0
    Let's see... there are:
    Unix, Linux, AIX, A/UX, Xenix (well, bad example, the Xs must cancel), Irix, QNX (they want to be Unix, OK?), Ultrix, Minix, HP-UX

    On the other hand there are:
    OSF/1, Solaris, BSD (FreeBSD, OpenBSD, NetBSD)

    And others I forgot...

  18. UNIX, source & perception by Anonymous Coward · · Score: 0

    The forum here seems to be confusing several issues here. The definition of UNIX can be taken on 2 levels: technical and perception. Most of what I've read here today seems to be based on rumor, hearsay, and end-user perception.

    UNIX specification set by Open Group, by P.J. Hinton (above) comes closest to hitting the mark on reality. UNIX is a creation of AT&T. BSD was originally based on this code, but has morphed far away from it by now ... made better and non-AT&T code dependent through research/improvement and legal battles.

    Most other UNIX-like flavors basically fall into 2 catagories: original creations which aren't UNIX, and morphed monsters which at some point in time were based on the original UNIX source.

    The legal definition of UNIX is to whoever holds the UNIX source code and licenses of such. That started with AT&T, was sold to Novell, and is now in the hands of SCO I believe (shudder). Most of the other players market their UNIX-like OS's based on some end-user perception, like development API, standards conformance, X window system interface, etc.

    End-user perception is not necessarily a wrong angle to take, just don't confuse it with the legality of source licensing/ownership, and branding programs based on conforming standards.

    Some of the messages above were interesting ... here are some views of mine:

    The way I recognize if something is Unix, is through its boot sequence
    Just a silly remark. I can make DOS or OS/2 behave just like Solaris, and even print out the same console messages. Boot sequence has nothing particular to UNIX.

    I really liked A/UX. Whatever happened to it? When did Apple officially abandon it
    When Apple realized A/UX sucked rocks and leaked kernel memory like a sieve, and that nobody was taking it seriously, they abandoned it sometime in the early 90's. I thought it was cute ... too bad they never ported it to the PPC architecture.

    And correct me if I'm wrong, but isn't win2k supposedly "POSIX-compliant"
    Standards, particularly POSIX, are never perfect, and are typically abused by the implementer for marketing purposes. NT POSIX was a nice stab at trying to market NT as a UNIX competitor, to bad their POSIX implementation was a joke and never taken seriously (except maybe by our government, who eventually paid the price of a crippled battle ship when their NT control system had to be re-booted)

    think of the user experience. For the most part, end users of a unix system experience the same behavior
    Hmmm ... try sitting down with like 10 flavors of UNIX-like vendors one day and really compare them. HP-UX, IRIX, and AIX are some good examples of really non-standard stuff bolted onto the side of filesystem and command structure.

    well written software is inherently portable, especially among UNIX family operating systems
    I'm not sure where this one came from. Try porting things between HP, AIX, and IRIX some day ... then throw in DG/UX, BSD, Linux, etc. Ugliness galore. Most are getting better, but don't fool yourself into thinking that UNIX == trivial source porting.

    If everything is accessed as a file, it's probably a Unix. No special hidden "registries", no extended invisible attributes, just files.
    The UNIX metaphor is the filesystem, not really the files. Things like device files are nice, but they are really just filesystem tricks used by the kernel to invoke special behavior. If you want a real file based metaphor of computing, look at something like Plan9, Inferno, etc. BTW, registries can be used/emulated easy enough on UNIX like systems ... it's just data and the magic to access it. UNIX like systems tend to prefer using human readable config data, but some like AIX almost completely abandon this notion. As for invisible attributes, take a look at what file attributes your UNIX like vendor really supports. Some (like Sun) support ACL's which are hidden, hard to use, and require special commands. Some (like Linux ext2 and HP-UX) have special fs attributes which require special commands to invoke non-standard filesystem tuning behavior. Some (like HP-UX) support strange hidden architecture specific extensions which can be completely lost if you don't know what you are doing.

    Ever try to remove/rename a NTFS file while it is open in some process?
    (grin) try this on HP-UX with a running executable ... you get "segment busy". (you can move it, but not remove). Handling VM is not something particular to UNIX ... it's a kernel design issue.

    It is just a common trait for most Unixes, that they are very stable.
    Ha! Every try using SCO? NCR MP-RAS was a real treat as well. Some days I can't decide which is worse.

    Someday, take a hard look at the UNIX vendors you use. SunOS 4.x and Ultrix are clearly derived from BSD, which is pretty far from the AT&T code. SunOS 5.x gets closer to the feel of the UNIX source, except that Sun's put a few cool things in (like SMP, kernel threads, etc.) which were at best bolt-ons to traditional UNIX source. AIX is some weird object data base beast from mars trying to wear a UNIX facade.

    Stability and standards compliance are not things particular to UNIX ... VMS, MVS, and QNX are examples of stable non-UNIX standards compliant (to some degree) OS's.

    NT is not an inherently evil thing. From what I've seen/read, the kernel isn't really that bad. Integrating an unstable GUI and bolting on horribly broken device drivers is probably more at fault here than anything else. MS is an evil corporation ... they just don't have a notion of clear design and product testing/releasing. The NT kernel could serve as a UNIX-like clone with the right combination of shimming, shelling, command structure, etc.

    Big long message. Hope I step on to many toes there ..... maybe some info above proves useful ....

    1. Re:UNIX, source & perception by Guy+Harris · · Score: 2
      Ever try to remove/rename a NTFS file while it is open in some process?

      (grin) try this on HP-UX with a running executable ... you get "segment busy".

      That actually dates back to V7 UNIX; it's not an HP-UXism. As I remember, the rationale was that if you did that, and the machine crashed before the program running that image exited, you'd have an "orphaned" file...

      ...but I consider that a lame rationale, as

      1. the same applies to a file you have open, but they didn't prohibit that (probably because programs depended on that as a way of, for example, creating temporary files that get removed when the application exits, even if it exits because it's killed);
      2. it makes it a pain in the neck to install new versions of software if the old version is still running (you can't just unlink the old version and install the new one, you have to rename it and then clean it up later);
      3. with a reasonable file system salvager run on a reboot, e.g fsck, or a file system that remembers what was unlinked but not removed and removes the files on a remount, it's not an issue.
  19. Re:Microsoft UNIX NT by Anonymous Coward · · Score: 0

    DOS didn't have real pipes. All it did was send the output from the first program to a temp-file, wait for it to finish, and then start the second program with stdin set to the same temp-file. So, you could say that it emulated pipes, but it has none of the things that make pipes so nice on Linux :-)

    /* Steinar */

  20. Unix-izing NT by Anonymous Coward · · Score: 0

    I have to run NT on my laptop for work, but I do a lot of things to make it as Unix-esque as possible. I run 4NT and MKSToolkit, which mimic(somewhat poorly in many cases) bash an a bunch of standard Unix command line commands and programs. I also use GVIM for WinNT. Makes it feel a bit more like home. (I used to have an Ultra-10 on my desk)

    1. Re:Unix-izing NT by jeffran · · Score: 1

      I unixize NT in a similar way, I've been using WinXs, which is similar, but better, solution than Cygwin. Other useful tools are Ghostscript, Ghostview (not really unix tool specifcially, but I was introduced to them on unix). GVim and Vim are, of course, indespensible tools. Despite this unixization, I still thank goodness I can telnet to my old, bulletproof Sparcstation!

  21. I know how to tell... by Anonymous Coward · · Score: 0

    The major requirement is to be male and have no testicles... Oh, Unix? I thought you said Eunuchs...

  22. Don Knotts Page by Anonymous Coward · · Score: 0

    Anybody have a link to the "Don Knotts playing hacker Emmanuel Goldstein" page? I was trying to show a friend and now I can't find any troll posts with the link...

    1. Re:Don Knotts Page by Guy+Harris · · Score: 2

      Try searching for "OpenDK" in Slashdot comments - and then go to the second page on the "DNA Testing to solve history's mysteries?" page, or whatever it's called.

  23. Re:POSIX by Anonymous Coward · · Score: 0

    And Windows NT is POSIX 1003.1 compliant. I wonder if anybody has bothered to get any Linux flavor certified? If not, technically, Windows NT is more Unix than Linux!

  24. what would microsoft called their UNIX anyway? by Anonymous Coward · · Score: 0

    even if microsoft decides to make a UNIX, what would they call it? MSUNIX? or more compactly

    MSUX?

    Geez, i wonder what it means.. i frequently see that around slashdot, but could never figure out the meaning, *wink*

  25. Re:what makes it unix? by Anonymous Coward · · Score: 0

    its gotta have a /dev directory with shitloads of files in it.

    Hey, with the new devfs in kernel 2.4, linux is no more a *nix

  26. Give Credit where its deserved. Was Re:Xenix by Anonymous Coward · · Score: 0

    Actually, as much as I hate to admit it, Xenix, by MicroSoft was a significant player in Unix's history. One of the things that made SVR4 so likeable was that it incorporated Xenix features along with BSD features. You can hardly find an older Unix variant that doesn't show some kind of Xenix copyright upon startup or somewhere else on the system. Motorola Unix, Alpha Unix, most SVR4s and even SunOS. Then again, back then, everyone had their hands in Unix. Xenix had its shortcomings as well though, which I won't go into here. But, back to the original question of what makes Unix, Unix - the answer is simple: The kernel. All of the Unix variants are just that - variations of the same kernel that had been augmented over time. Linux however(my favorite) is not Unix because its kernel is different. The scheduling is different, the threading is different as well as the interaction between user space and kernel space and other things. However, to the user, it is so Unix like, that it is often called a Unix - which is a technical mis-statememnt. But, for all practical purposes, it looks like Unix, it feels like Unix, it smells like Unix and sounds like Unix. NT is a whole different story. Completely different kernel design...not just doing the same thing as Unix, but with a different algorithm. Completely different - in look and feel and operation. Can't even compare the two.

    1. Re:Give Credit where its deserved. Was Re:Xenix by Guy+Harris · · Score: 2
      Linux however(my favorite) is not Unix because its kernel is different. The scheduling is different, the threading is different as well as the interaction between user space and kernel space and other things.

      ...but those things are the same on all "UNIXes"? I'd be extremely skeptical of such a claim; I suspect that you'll find a fair number of kernel differences between, say, AIX 4.x, SunOS 5.x, and Digital/Tru64 UNIX, for example.

      But, for all practical purposes, [Linux] looks like Unix, it feels like Unix, it smells like Unix and sounds like Unix.

      ...which is why I call it a UNIX, even if it's not AT&T-derived (especially given that a fair bit of AT&T code has, I suspect, been rewritten or replaced in the kernel and userland of even AT&T-derived UNIXes).

  27. Re:Simplicity, consistency and design by Anonymous Coward · · Score: 0

    The OP was talking about files, pipes and sockets. ioctl is used as a "catch-all for operations that don't cleanly fit the Unix stream I/O model." according to the manpage. An example of this is terminal options. The OP meant that to write to a file you can use write(), to write to a pipe you can use write() and to write to a socket you can use ... write().

  28. Re:Portability? POSIX! by Anonymous Coward · · Score: 0

    "Everything is a file" is shorthand for "everything is a stream of bytes" -- open, pipe, socket, socketpair, etc. all return file descriptors. While not all files support the exact same operations (you cant seek a pipe or set the address of a file other than a socket, they are basically the same (+ ioctls for operations that don't fit). In fact, a pipe or socket *CAN* be a file (mkfifo, UNIX sockets), or they can be anonymous (ala pipe and socketpair). In linux and Solaris 2.^H^H7, all files are represented in the /proc/*/fd directories.

    Plan 9, did, however, take this one step further to say that all files are in the same namespace (filesystem inodes, in particular) This is perhaps interesting, but the fact is that usually at file creation time, you know what type of file you are looking for, you just want to be able to pass the FD you get back to code that does the IO.

  29. Re:Actually.. by Anonymous Coward · · Score: 0

    It cuts both ways -- Win2K dropped support for my AMD PC-SCSI controller, Linux still has it.

  30. MS Unix? by Anonymous Coward · · Score: 0

    Ick, it would probably be mouse driven!

  31. Dont bash M$ if you don't know your shit by Anonymous Coward · · Score: 0

    Again, and again I'm surprised by how gullible a lot of /.'ers are. If you want the truth about M$, or especially WinNT(4, or 2k) slashdot is NOT the place to look - just to many errors. Some of the posts here suggests that NT does not protect the apps from the kernel(which it does, kernel runs in ring0, while apps or userland programs runs in ring3), that it is not posix compliant out of the box, which it is (POSIX subsystem) etc etc. As a microsoft trainer, cisco trainer and linux trainer I can only say: get a life - focus on the good stuff different vendors have to offer, and get your facts straight before you paint something black!

    1. Re:Dont bash M$ if you don't know your shit by Tony-A · · Score: 1

      >>Some of the posts here suggests that NT does not protect the apps from the kernel(which it does, kernel runs in ring0, while apps or userland programs runs in ring3 ... get your facts straight.
      As a microsoft trainer, it is easy to see you know nothing about hardware protection. The kernel of almost any OS protects itself from errant applications. No kernel does or can protect the apps from the kernel, although Multics might give it a good try.

    2. Re:Dont bash M$ if you don't know your shit by JDax · · Score: 2

      Some of the posts here suggests that NT does not protect the apps from the kernel(which it does, kernel runs in ring0, while apps or userland programs runs in ring3)

      rant_mode=on

      When Explorer (and I'm not talking Internet Exploder, by the way) crashes (for whatever reason) can I get out of the GUI, kill it and restart it as a process, and then go humming along my merry way (and believe me, the 3-finger salute to get to Task Manger is a pretty lame way to try to kill apps, especially when your keyboard locks)? &nbsp Can I switch to another terminal or console and manage my processes independent of the GUI? &nbsp Is not the GUI pretty much tied up in the kernel? &nbsp Can I install any app without having to reboot the box? &nbsp Why can't the registry be reinitialized in NT?

      When Microsoft produces a stable, cost-effective, highly manageable, highly customizable network operating system, with a guaranteed high % uptime, that I can telnet into to manage it rather than having to go out and buy some fscking 3rd party product to connect to it remotely, -ie.- a box that I can stick in the corner that stays up without having to babysit the damn thing, then *I* will be the first one to push it. &nbsp Otherwise, though I'm stuck managing it at work, it won't be my choice at home.

      As a microsoft trainer, cisco trainer and linux trainer I can only say: get a life -

      Did you take the Linux certification courses like that given by Red Hat or are you saying this to sound neutral? &nbsp Believe me, those who have had to work with Microsoft's networking products for years and who suddenly discover other OSes and how they handle networking, really do eventually see the light after awhile. &nbsp We're not making this stuff up. &nbsp Some consider it a challenge to manage whereas I consider it a waste of my time. &nbsp Why should I have to pull my hair out and see my staff waste so much of their precious time trying to figure out MS's so-called undocumented features?

      And you yourself use the flame-baiting "M$" in your own Subject line!

      Anyway, rant_mode=off

      --
      -- Win2k: "It's not so much that it's only 65,000 bugs, it's just that they stopped at 65,535 to prevent an overflow."
  32. Its Unix iff... by Anonymous Coward · · Score: 0

    1. no DLLs 2. Being able to install software without rebooting the system. Being able to start and stop services without requiring a reboot of the entire OS. 3. Having ASCII files to grep and change that e.g., configuration parameters and log files in ASCII. 4. I always think of NT computers as being dead and Unix computers as almost being alive. 5. There exists a clear separation between application software and OS software.

    1. Re:Its Unix iff... by SeanNi · · Score: 1

      > There exists a clear separation between application software and OS software.

      Eh???

      Ok. Is vi OS or application? Howabout ls? Howabout grep? PPPD? HTTPD?

      If anything, unix is characterized by a very poor separation of OS and application space. At least, that's the way I've always thought of it...

      --
      It's a fine line between trolling and karma-whoring... and I think you just crossed it.
      - Sean

      --
      It's a fine line between trolling and karma-whoring... and I think I just crossed it.
      - Sean
    2. Re:Its Unix iff... by Guy+Harris · · Score: 2
      1. no DLLs

      Yeah, calling them ".so"s instead makes a big difference. :-)

      Presumably by "no DLLs" you mean something other than "no dynamically-linked libraries", given that most modern UNIX systems these days do have dynamically-linked libraries.

      Given that, to which particular feature or features of Microsoft's implementation of dynamically-linked libraries are you referring?

  33. Re:Simplicity, consistency and design by Anonymous Coward · · Score: 0

    As an oldtime Unix and NT hacker, I have to disagree. NT's handle-based, sure; but a handle is essentially the same thing as a file descriptor. NT's handle semantics are different, but after getting used to the model, they're surprisingly cleaner than Unix's fds. A handle can be a file, or a socket, or a device, just like Unix... or an event which can be signalled, or a mutex, or a section of mappable memory, or a process, or a thread, or a registry key, &c. The security model is the same on all of these. You can select on any of them, or a set of them, selecting for "any" or "all", and selecting on them means something (unlike /proc filedescriptors). In Unix, try atomically releasing a pthread_mutex_t and waiting for a signal (event) to arrive -- you can't. There are definitely good things about Unix fds, but NT really is better on this one.

  34. Re:Files, baby! by Anonymous Coward · · Score: 0

    Good point. I see them on my Slowlaris box, but not on my Linux box. (ifconfig -a shows devices I can look up in /dev, and these are symlinks to the /devices directory)

    It would seem that the ethx interfaces are created by the driver and are present inside the kernel, but not in the file system. Seems like a bit of a deviation from the philosophy.

    I probably should have checked that out first, but my home machine doesn't have ethernet.

  35. Re:NT not Unix, though A/UX was much closer. by Anonymous Coward · · Score: 0

    Microsoft apologist. Friends don't let friends run NT.

  36. Re:then is EMX with XFree86OS2 UNIX? by Anonymous Coward · · Score: 0

    So, Locutus of OS/2: "Resistance is Futile, You will be Emulated" ?

    You guys should spend some time writing native OS/2 apps rather than trying port everything under the sun to keep your dying star shining. Either that, or write a Workspace Shell clone for Linux and just switch over.

    And you can port Unix stuff all you want, but OS/2 will never be Unix. It's a single user system, for one.

  37. Why this fscking myth about porting? by Anonymous Coward · · Score: 0
    No offense people, but we've ported our products between Sun, Digital, HP, etc and it ISN'T THAT HARD.

    Maybe going between Unix & NT is, but we can port our product (which takes over 45 minutes to compile...to give you an idea of it's size) in under a week.

  38. My thoughts by Anonymous Coward · · Score: 0

    To me unices are systems sharing a very similar POSIX system call API, and the hierarchical file system starting from /. ( no, not slashdot :)
    Also, the "everything is a file" methodology is important in a unix system.

    Further add-ons that do not define to me unix, but are very typical: strong multi user and networking support, simple and robust kernel, BSD or SYSV init system, and the powerful shells.

    Funny, thinking back to my early computer days, I thought all unix boxen have a sun logo on it, are very expensive and run high resolution desktops and only engineers can understand it... oh well.

  39. Re:HPUX? by Anonymous Coward · · Score: 0

    > In HPUX you can only have the permissions of a > single group at any given moment,

    Uh, not that I have ever noticed, and I work on HP systems all day long. Perhaps I have just never noticed it.

    > For instance, tar doesn't understand tar.gz
    > files

    This is standard. tar, by definition, regoginzes the -Z flag to handle a tar.Z (Z is UNIX compression). Not Unix tar (ie, GNU tar) supports the extension of the -z flag to support gzip, the gnu compression tool. If it bothers you that much, go to the HP porting center and download the GNU tar .depot file.

    This flag is only a convenience anyway, the UNIX way (each command performs one operation) is "gzip -dc foo.tar.gz | tar -xvf -".

    Actually, GNU differes from UNIX in many such cases--very common pipelines or pipline components are often added as extended switches. This is nice for novice users to learn, certainly, and also improves performance (pipes are not the most efficient IPC mechanism in the universe), but is not the "traditional UNIX way". Note that there is nothing wrong with this, it is just different. And, of course, GNU supports the UNIX way, as well.

  40. Re:what is unix? by Anonymous Coward · · Score: 0

    NT has a GUI built into the kernel.

    Actually, GUI functions in Win32 are in a separate DLL than the kernell (GDI.DLL and USER32.DLL).

    The "Shell" is more correctly GUI, not the kernell (now, arguably, the OS cannot boot w/o the GUI loading, but the kernell code IS separate from the GUI).

  41. UNIX is a trademark by Anonymous Coward · · Score: 0

    Thats it. Doesnt mean anything.

    1. Re:UNIX is a trademark by mattdm · · Score: 1
      Right, whatever. The term "Linux" technically refers to the kernel (just like "Solaris" refers to the SunOS kernel). But in common usage, "Linux" refers to a unix-like OS built around that kernel and with essential tools and libraries from GNU as well as other important components like XFree86. (Just like Sun started calling their entire OS Solaris after SunOS 4.)

      --

    2. Re:UNIX is a trademark by pretzelgod · · Score: 1

      Linux could never be UNIX, even if someone paid to have it registered. Being nothing more than a kernel, it does not have the function printf(), or the command ls, or a bizillion other such interfaces. Linux itself provides very few of the interfaces described in the Single UNIX Specification, but GNU/Linux--as well as the upcoming complete GNU system--provides them all.

    3. Re:UNIX is a trademark by pretzelgod · · Score: 1

      But in common usage, "Linux" refers to a unix-like OS

      Common, but incorrect.

      built around that kernel

      That's funny! GNU was built around Linux! You really should inform yourself before posting. GNU was almost complete when Linux was born, and now the only piece missing is the kernel. Linux has been holding that place for years and probably will for a while even after the Hurd is ready.

      as well as other important components like XFree86

      The X Window System is not part of the Single Unix Specification. So, while GNU/Linux does not provide X, it's still Unix.

    4. Re:UNIX is a trademark by yerricde · · Score: 1

      it's "unix-like", despite the FAQ's claim that this term is a trademark violation

      Pepsi® One soft drink is Coke®-like. freepuzzlearena(TM) game is Tetris®-like. If it were a trademark violation, then NetBSD would already have taken down their Call It a Duck page.

      The Allegro Game Programming Library. Of course it runs on UNIX® systems.
      --
      Will I retire or break 10K?
    5. Re:UNIX is a trademark by yerricde · · Score: 1

      And this trademark has a web site. That's where you'll find the true definition of UNIX®.

      When I'm not using Windows, I'm using not Unix. And I'm hacking
      --
      Will I retire or break 10K?
  42. Re:The only UNIX is Linux by Anonymous Coward · · Score: 0
    "They'll get squeezed out on the OS innovations..."

    Like what? Name an OS innovation that came from Linux. (and that wasn't on Solaris or Windows earlier).

    Take your time, we'll all sit here and wait for you to answer. After all, we've been waiting for an OS innovation from the "Linux community" for years now...

  43. NT is Unix, with Microsoft Interix 2.2 !!! by Anonymous Coward · · Score: 0
    Check out Interix for Windows 2000, Microsoft aquired Interix which made a replacement Posix subsystem.

    It's undergoing certicfication, so NT+Interix could be MORE UNIX than Linux! (technically)

    I have it running here, and it sites besides the Win32 subsystem on NTs kernel, NOT on top like emulation would do. This is a true Unix in NT!

    Check out these pages:

    Interix PR

    Interix Info

    it'

    1. Re:NT is Unix, with Microsoft Interix 2.2 !!! by asink · · Score: 1

      According to a book I've been reading... I forget which one(the only way reading several books at one time messes me up), but one of the books covering the linux kernel, says that several distributions have been certified. And Posix != unix. I thought this for a long time, but it seems that X/Open has the newer Unix 95 and then 98 standards(funny years to make standards... perhaps they'll make one this year?)

      --
      "Hex, Bugs, and Rockn'Roll"
    2. Re:NT is Unix, with Microsoft Interix 2.2 !!! by bangpath · · Score: 1

      This Interix thing is kind of compelling. Here Microsoft is sweating the whole Linux thing, and then they go and do what every company who followed their lead for ten years did. This is a nice thing to see, i.e. Micro$oft mutating to a kind of Unix.
      This is ironic to me because as a Unix project manager, I was discussing today with a collegue my childhood belief that every operating system was basically the same and how when Windows came out, I viewed it as the freak that it was.
      One one hand I could understand why Microsoft has held onto it's precious Windows non-Unix (specifically non-command line) interface. On the other hand, I was wondering why, if Microsoft is all about the benjamins, why they didn't just download, muck up, and sell their own Linux distro. Sure it would have been pure blashphemy, and Torvalds might have killed himself, but that's what capitalism is all about, right?

      --
      *** Stop trying to be cool. ***
  44. Who cares ? by Anonymous Coward · · Score: 0

    As long as it compiles under Linux :)

  45. DJGPP by Anonymous Coward · · Score: 0

    Not only could you, but it has already been done! It's called DJGPP, .

    Right,

    MartinS

  46. Re:enumeration by Anonymous Coward · · Score: 0

    Have I forgotten anything?

    Yes ... true multi-user

  47. Re:UNIX specification set by Open Group by Anonymous Coward · · Score: 0

    Yes, it's interesting that OpenVMS, Microsoft Interix, and IBM OS/400 are "UNIX" certified, while Linux and the BSDs are not.

  48. Re:Cygwin by Anonymous Coward · · Score: 0

    Lookit Microsoft Windows Services for Unix (free).

  49. Re:Unix cannot be defined as a single thing by Anonymous Coward · · Score: 0

    "Unix isn't so much an operating system as it is a painstakingly compiled oral history of the hacker culture."

    That is from Neal Stephenson's "In the Beginning was the Command Line", very good stuff.

  50. what makes it unix? by Anonymous Coward · · Score: 0

    Its gotta have a command line interface where the commands you type are really cryptic. i.e. du, grep, ps, ls, akw, vi, etc.. its gotta have a /dev directory with shitloads of files in it. Its gotta have lots of daemons for serving up everything from telnet to news to http to news to smtp to whatever. Its gotta be non-trivial to learn, but worth it. --This is Linux country, on a quiet night you can hear NT reboot.

  51. NT as Unix? NOT! by Anonymous Coward · · Score: 0
    There are a couple things that come to mind:

    modularity - shells and other elements that are not required by the core OS, but which can be added as desired. a shell is not required to run other programs (in general)

    functionality - shells are not required to make use of the core functionality. you can do pretty much anything from the command line alone.

    customization - the ability to set it up almost anyway you want, including without a shell, if that is what you need.

  52. Re:POSIX, not UNIX. by Anonymous Coward · · Score: 0

    They have it there to meet government purchasing requirements. Some people in the gubernmint use the NT POSIX subsystem -- nobody else does.

    A secured NT webserver usually have the POSIX subsystem removed. So it really gets in the way far more often than it helps.

  53. POSIX_ME_HARDER by Anonymous Coward · · Score: 0

    If Dan Bernstein's software runs on it, it's Unix.

    1. Re:POSIX_ME_HARDER by Anonymous Coward · · Score: 0

      I'll vote for that

  54. Re:what makes jon katz tick? by Anonymous Coward · · Score: 0

    Hey moderators... Get this to -2. This kind of thing has no place in an open forum.

  55. Re:Windows NT 3.1 marketing by Anonymous Coward · · Score: 0

    Windows NT 3.1 wasn't seriously marketed at Unix users. It was positioned towards NetWare and OS/2 shops.

  56. try a Turing test... by Anonymous Coward · · Score: 0

    If it looks like Unix, feels like Unix, behaves like Unix who cares what it is - it must be Unix!

  57. *nix and binary emulation by Anonymous Coward · · Score: 0

    If the codebase can be traced back to AT&T then you can call it Unix, other wise, you have ot call it *nix because it is not realy Unix. If I recall right MOST (but not all) SysV systems are 'Blue Blooded' Unix's.

    Posix complience just makes it easier for you to take code made for one *nix box and port it to anouther.

    Binary compatabilty would be such a waste of system resources. For example I have a Multia, a PII, and Im looking for a cheap PowerPC. I would rather recompile the source for each box rather than try to emulate the other CPU's. Could you imagine emulating a 64 bit machine on a 32 bit one?

    1. Re:*nix and binary emulation by Guy+Harris · · Score: 2
      If the codebase can be traced back to AT&T then you can call it Unix

      If you're speaking in the strict legal sense, then, once upon a time, AT&T did, as I remember, impose such a restriction on the use of the trademark - except that it was much stricter, i.e. you had to have made minimal changes to the source code, just enough to make it run on your hardware. (That's why "Sun UNIX 4.2BSD Release 3.x" became "SunOS 4.x" - Sun, and Berkeley, had made rather a lot of changes to the code base that had nothing to do with making it run on Suns, and we figured that'd keep AT&T from yelling at us.)

      However, the UNIX trademark is now owned by The Open Group, and anything that passes one of the UNIX test suites (e.g., the current one, the UNIX 98 test suite) can, in theory, be called "UNIX" even if it lacks any AT&T code whatsoever.

      If, however, you're thinking of the general "look and feel", I don't care whether the code is AT&T-derived or not - if it looks like a UNIX system when I use it or develop code for it, I'll call it UNIX (even if that upsets either The Open Group or the "Linux is not UNIX" crowd).

      Binary compatabilty would be such a waste of system resources.

      Depends on the type of "binary compatibility". Many UNIXes (or "UNIX-flavored OSes", for the benefit of those who piss and moan about thinking of Linux as a UNIX) include the ability to run binaries for other UNIXes running on the same instruction set architecture, and this capability can come in handy if some program is available only in binary form and you want to run it on an OS other than one for which its binaries are available.

  58. A UNIX is a UNIX if... by Anonymous Coward · · Score: 0

    A UNIX is a UNIX if you can go 'kill 1' and stop everything. ;) Just my two cents.

  59. Re:If it looks like a duck and quaks, it's a duck by Anonymous Coward · · Score: 0

    NT doesn't regard everything as a file. As far as NT's kernel is concerned, files are a special case of objects. It's different to UNIX.

  60. Re:Microsoft UNIX NT by Anonymous Coward · · Score: 0
    Microsoft actualy hired some of the main VMS programers to build NT. As such NT's kernal has alot of similarity to the VMS kernal.

    There are a few superficial similarites between NT and OpenVMS, mainly involving similar naming conventions for internal memory structures, which makes NT a familiar environment for VMS wizards who write device drivers. Beyond that, the similarities end. This is a shame though, If NT WERE more like VMS, it would actually be robust, secure, and scalable.

    Bear in mind, David Cutler was just one member of the team which developed the first few iterations of VMS. He was not involved with VMS developement in the mid to late 80's when VMS evolved into its current position of being one of the highest quality operating systems on the planet...*

    * Not trying to start a religious war here. I readily admit to a personal bias based on the fact that the OpenVMS systems I run are far more reliable than any of the Unix or NT systems on our campus. It is only poor marketing by DIGITAL, and bad decisions by Bob Palmer that have lead to OpenVMS as being viewed as moribund by todays IT managers. The fact of the matter is that OpenVMS brings Compaq over $4 billion in annual revenues at a profit margin of about 50%. If the Q wants to keep this cash cow alive, they had better get off their duffs and do some marketing, and get ISVs to resume developement of OpenVMS apps. But I digress...

  61. Re:VMS == NT ???? Not as far as I know. by Anonymous Coward · · Score: 0

    VMS -> WNT . thats your proof. (for dimwits - add one letter to V M & S.

  62. this thread is becomin like pr0n by Anonymous Coward · · Score: 0

    Just readin the interesting comments, it feels like a discussion of pornography: I can't define it but I know when I see it!

  63. SCO Unix was MS Unix. by Anonymous Coward · · Score: 0

    I remember reading that SCO was Microsoft, but they sold it/spun off when Windows started making some headway.

    I don't remember the link to the article, but it was a great read, it talked about the complete history of all Unices, and called Linux/BSD post-apocalyptic Unix.

    Hmm.. a few things that define UNIX to me are:

    - Remote access (telnet,ssh,rsh, Xdm)
    - X-Windows (I know, not technically part, but really..)
    - Secure
    - Scalable
    - Completely Multi-User
    - Root
    -----------GOOD UNIX ONLY---------
    - Open Source
    - ships with compilers, gcc, perl, python
    - ships w/ servers (apache, ftp, telnet, ssh, rsh)
    - community supported
    - flexible, fast
    - not something Windows users would understand.

    I guess by that definition Solaris doesn't count.

  64. Re:UNIX specification set by Open Group by Anonymous Coward · · Score: 0

    Is it really? The Open Group is open in terms of standards (sure you can buy a copy), rather than beer kegs.

  65. Re:This Question is a Waste of My Time and Yours by Anonymous Coward · · Score: 0

    Call me crazy, but you dont have to read every single topic posted.
    Now, on to the attack!

    I would suggest that if you honestly believe that reading the history of UNIX at BEll Labs answers this topic, you should do a bit of research yourself. Maybe start with Multics. Then on to BSD and GNU. Next take in a bit concerning SysV, and of course OSF/1. Then for day 2....
    Had UNIX remained what came out of Bell in 1970, I dont think so many of us would be using it. Im pretty sure I wouldnt, for anything more than idle amusement.

    The source line count of Linux is a question which can be answered in a straightforward deterministic fashion (man for wc and find, for those of you who dont sleep at night due to this) , at least for any particular revision. The concept of Unix has long since left behind such simplicity. Even in the early days of use, individual sites modifed the system to fit their particular requirements. Each was still Unix, but a bit for bit comparison would not find them to be the same.

    I dont think it's slashdot that has the problem. If you're so jaded, perhaps it's time to scrape off the dead skin, and look at the world from a fresh view.

  66. Unix by any other name by Anonymous Coward · · Score: 0

    By Law in the US Unix is any operating system that licenses that right to call itself Unix from the Unix copyright/trademark holder. I believe that there are some kind of tests that need to be passed along with the $ that needs to be paid but in America I am sure that passing less tests for more Money is always possible.

    Linux is not Unix it is *nix like for this very reason.

  67. Re:If it looks like a duck and quaks, it's a duck by Anonymous Coward · · Score: 0

    Actually, there have to be some other differences. I work on HP3000 mainframes, which run an operating system called MPE/ix. It is posix compliant and meets all the things you listed, but that seems to be added as an afterthought. There has to be something else to make it unix. For example, I have to log in by typing: MPE/IX: HELLO MANAGER.SYS to get into the O.S. that is the equivelant of the root account. Also, the file systems are set up differently. Yes, you can see them the unix way, but usually they are easier organized in the MPE way, which is filename.group.account, where the group is more like a directory, and the account is like a group in unix. Anyways, I don't know what the point of this post is other than to say there has to be more qualifiers than that.

  68. Re:FIRST by Anonymous Coward · · Score: 0

    first comment to first post dudez!!! bah

  69. Re:Porting is simple... by Anonymous Coward · · Score: 0

    I don't believe this is blanketly true. You could certainly have well written software that isn't portable (unless your definition of well written is portable software). So software by definition isn't portable (device drivers) and some take advantage of the special features of the OS (like when only a one or two Unix were multithreaded, when different thread versions).

    My point is that general statements of what is good and bad generally isn't true, even this one.

  70. Well it is technically open by Anonymous Coward · · Score: 0

    free speech should be protected even if you don't like it.
    plus since when did -2 become a valid moderation at all? If I want to read a post I shold be able to read said post and you shouldn't be able to stop me from reading it.

    1. Re:Well it is technically open by Shadowcaster · · Score: 1

      Technically is the important term used by you here.. So technically I could call you an assgrabbing monkeyfucker and it would be perfectly OK. And if it hurt your feelings (or whatever) then that's just too goddamn bad.
      Moderation is there for a purpose, and it's purpose is to weed out dumb fucks like whoever that other AC was.
      Feel free to moderate this down, however, as I freely used expletives and tere is a younger agegroup here as well. Just let the message get out first.

  71. Re:windowing system by Anonymous Coward · · Score: 0

    Yes, actually I _NEVER_ configure Solaris servers with the Desktop Login enabled. ToolTalk has one too many security bugs, plus a terminal is needed for console debug...I bet you've never seen anything newer than a sparc20.. dej@hcetgw.moc

  72. Huh? by Anonymous Coward · · Score: 0

    Zzzzzz.....Zzzzzz.....Zzzzzz..... Scintillating topic, eh?

  73. 389th POST!!!!!!!!! by Anonymous Coward · · Score: 0

    WOOHOO!!! SUCKAZ!!!

  74. Re:If it looks like a duck and quaks, it's a duck by Anonymous Coward · · Score: 0

    You're right, the Posix libraries and functionality was added to MPE with the /ix release.

    We used them a lot primarily because we all developed on 715 Series workstations and it was easier to test on them under HP/UX than it was to transfer the whole kit and caboodle up to the MPE System to test.

    I will say in its defence, that I did like MPE; the data structures were pretty clever, and the application software seemed to have been well planned to fit together.

    However, offline editors (in which you commit every page of a document back to the system before moving to another pagefull) will be the death of me.

    Cheers,
    ex-HP'er.

  75. Re:NT not Unix, though A/UX was much closer. by Anonymous Coward · · Score: 0

    It's a Windows/Unix hybrid.

    "Hey, where's the UNIX?"

  76. Re:Sorry, nope. by Anonymous Coward · · Score: 0

    Oops. What I meant to say was modular kernel, not microkernel. There are still several kernels that are mostly non-modular (BSD variants, Tru64 UNIX, HP-UX). Anyway, I think you forgot BeOS in your list of unix-like microkernels - it is very unix-like. I think my main point is still valid - the structure and design of current *nix kernels varies widely enough that it is no longer a feature that defines a UNIX.

  77. Re:VMS == NT ???? Not as far as I know. by Anonymous Coward · · Score: 0

    Is it just me, or is anyone else confused by the inappropriate bold text in this post?

  78. Geez, it's FUNNY people. Moderate the AC up! by Anonymous Coward · · Score: 0

    I don't think he was being serious. It's funny. I guess that means that my Vectrex is a Unix machine!

  79. Re:The only UNIX is Linux by Anonymous Coward · · Score: 0

    Seriously you are a Linux Nazi. Just read over your post.

  80. Portability nonsense by Anonymous Coward · · Score: 0

    The comment that you made about "considerable effort" in porting is a bunch of nonsense. Poorly abstracted, poorly written code is hard to port. Well abstracted, good code is usually a cinch to get going, if requiring any effort at all. Having worked in unix for over 13 years now, I have seen many a flavor of unix and there are certain things that are fundamentally the same: -everything is a file -standard set of unix calls for OS/system related stuff. Granted some flavors had a few anomalous takes on these... -security models -multi-user, networked OS -... At one of my first jobs using UNIX, we built 11 different OS/architecture binaries from the SAME source code EVERY night and that was over 500000 lines of C code. Are you an MS crony trolling on /.? -Ralph

  81. Re:Microsoft UNIX NT by Anonymous Coward · · Score: 0
    The way I recognize if something is Unix, is through its boot sequence. If I can see the familiar, kernel, init, Sys V, etc., then I feel right at home.

    Funny thing is... sys V most definitely doesn't make soething unix, and if anyhting leads to discussion and heavy differentiation its init (BSD vs SYSV style inits) A kernel is something that virtually every OS has... and the boot lbefore the kernel gets loaded is different on each Unix.. nah, those are not what makes something Unix.

    Granted the GNU utilities can be added to NT, but the low level interface of NT is just plain different and looks like some green alien from outer space. Where is /dev, /etc? How do you easily change the services by writing to a text file? Can I pipe stuff around between devices and files? I just can't imagine NT as a Unix, except for a superficial shell and utilities.

    And.. what you are refering to is filesystem layout (which as a matter of fact is not standarized in Unix, they all just pretty much look alike, tho there are a few very signifcant differences between different Unices) and yes, you can pipe stuff around in NT (and actually ypu could in DOS)
    All the things you mention are things many people associate with Unix, but they do not make it Unix.
    What makes Unix? well.. for now AT&T/Novell?SCO's blessing that you can call your product Unix, nothing more and nothing less.
    For the rest, the 'look and feel', ie: the structure of command syntax, the structure of user/machine interaction, the interfacing between applications and the kernel and a basic set of functionality provided by kernel and librariues is what makes people recognize something as Unix.
    Sorry, but all you said has nothing to do with it. They may be the case for your particular Linux install (redhad prolly ;) but they are far from generic for anything we recognize as Unix nowadays.

  82. UNIX = Registered Trade Mark by Anonymous Coward · · Score: 0

    UNIX is the original core from Bell Labs. All true UNIX systems licensed this code. The code is probably no longer in their... but the current code is still a derivitive. Thats what makes a UNIX a UNIX. Hence Linux is not a Unix. And neither will Windows ever be. IMHO the /dev filesystem is also something which is very UNIX. Being able to read and write to a device just like it was a file unifies a great deal of the operating system. I wish Linux had /dev/le0 type interfaces (for those of you who don't know there are no ethernet device files on linux. Porting between UNIXs only becomes hard when you start using specific features. The most common difficulty is sound from what I know. And that is getting less and less of a problem as some of the sound daemons run on multiple platforms thus providing a standard interface.

    1. Re:UNIX = Registered Trade Mark by JeremyC · · Score: 1

      What do you call /dev/eth0?

      No such file or directory

      I do love Linux, but people keep misusing things like "/dev/eth0" which don't exist. Please stop making the Linux community look stupid.

      --
      Eagleson's Law: Any code of your own that you haven't looked at for six or more months, might as well have been written
    2. Re:UNIX = Registered Trade Mark by mklinux_dude · · Score: 1

      I suppose you've never made a mistake before? The mistake of one person does not make the whole Linux community look stupid. The words of one person (who's used Unix for 5 years) does not make tens of millions of people look stupid. I pride myself in being a Unix user, and I do make Ò©ñ`ry once in añ©le. I got "interface" confused with "device".

    3. Re:UNIX = Registered Trade Mark by mklinux_dude · · Score: 1

      What do you call /dev/eth0?

  83. Re:POSIX, not UNIX. by Anonymous Coward · · Score: 0
    In that case, Windows NT is *nix. It has a POSIX compliant subsystem. (MS had to write a POSIX subsystem in order to comply with arcane govt. software purchasing guidelines)

    Arcane? the requiring a well documented api implemented in any OS that you buy is not arcane if you also have a few thousend people working and developing with such products. Basicly the US governments requires products to conform with open standards, not so much with Posix. Posix just happens to be the open standard of choice here. If you say requiring compliance with open standards is arcane then you are entirely clueless. And those who believe that the US government still actually requires this is even more clueless.

  84. Re:NT not Unix, though A/UX was much closer. by Anonymous Coward · · Score: 0
    I thought that they were told not to run a screensaver because it steals system resources.

    Well, yeah, crashing the OS steals lots of resources!

  85. Unix is defined by the Unix Philospohy by Anonymous Coward · · Score: 0

    If you haven't read this book, go now, buy it, read it. Here's the basic concepts: http://www.cix.co.uk/~dunnp/unix-philosophy.html

  86. Re: QNX by Anonymous Coward · · Score: 0

    I remember my first time on Unix, I was in grade 9 in high school. The OS was actually called QNX on a 8086 machine called the Icon that was made here in Canada. Didn't take me long to get out to the shell either, after that it was heaven for the next 4 years in High school. I think I spent all my free time in high school in the computer room.

  87. POSIX compliant by Anonymous Coward · · Score: 0

    This is exactly the reason POSIX compliancy was developed. For the most part, as long as your code is following the POSIX standard, it will be portable across platforms. Avoid extensions and optimizations if your goal is entirely portability.

  88. Re:2-3 minutes of disk grinding by Anonymous Coward · · Score: 0

    Sounds to me that you might need more RAM - your system may be thrashing when you are doing something that results in a lot of disk grinding.

  89. Re:What a clueless question! by Anonymous Coward · · Score: 0

    Dude, you're a dick. Chill out, and let the guy ask his question - he was looking for information, not a flame. Not everybody can be the all-knowing god that I'm sure you are, so humour us little people in our quest for knowledge, all right? *****Anti-flame flame*****

  90. Top 20 things that make Unix Unix by Anonymous Coward · · Score: 0

    Here they are in no particular order -

    If it walks like a duck, quacks like a duck, etc...

    1. Unix has a multiuser, client/server design
    2. In the Unix process model, init is the father of all processes
    3. Each process has it's own protectecd environment
    4. New processes creation is via fork, or fork/exec
    5. Each process has a process id, a parent process, and a controlling tty
    6. Processes become daemons by disconnecting from their controlling tty
    7. Job control via nice, signals and foreground/backgrounding facilities
    8. Each user has a unique user id and belongs to one or more a groups
    9. There is a unique superuser with uid 0, not subject to normal limits.
    10 Filesystem characteristics - quotas, hard/soft links, directory files
    11 Files - The dir links inodes to filenames, inodes contain all other info
    12 Filesystem layout - "/", transparent mount points, no "drive letters".
    13 Overall filesystem hierarchy - /dev, /bin, /tmp, /var, /usr
    14 Generally recognizable as either SysV or BSD
    15 Includes X windows as the native GUI framework
    16 nfs is the native file sharing protocol, can also support ipx, pc-lan
    17 Generally includes a mail delivery system, c compiler, and debug tools
    18 Philosophy of many small tools from which to build big tools
    19 Remote multiuser shell access - 'r' commands, telnet,, secure shell
    20 Remote mutliuser GUI access via network transparent X protocol

  91. seamless remote access is the key by Anonymous Coward · · Score: 0

    Under UNIX it does not matter which computer on the network you happen to be working on - you can access any computer at any time without leaving your desk. Distributed X11 graphic apps are just the icing on the cake. Sure you can add all this stuff to NT, but it does not ship with the basic operating system, so as far as I am concerned, it ain't real. UNIX is also a simpler model where acsii configuration files make administration easy and predictable compared to obscure Windows dialog boxes that change with every OS release.

  92. Re:Windows Services for UNIX by Anonymous Coward · · Score: 0
    "Do you want some NT head to administrate your Unix Boxes?"

    No, I want them to administer them.

  93. Re:It's "Unix" if it has the 'x' sound it it's nam by Anonymous Coward · · Score: 0

    I thought Linux was a kernel ;-) Or do you mean GNU/Linux?

  94. Re:Cygwin by Anonymous Coward · · Score: 0

    LOOK ON TUCOWS YOU LAMER!

  95. Re:POSIX, not UNIX. by Anonymous Coward · · Score: 0

    Question is do they use it or do they just have it there to look pretty and say that it is Posix compliant.

  96. pico????ed only all-unix editor. by Anonymous Coward · · Score: 0

    Oh yes, the pine editor. How many times have I had to tell the new guy that we don't have pico? Quite a few. (I took some graduate courses and pico seems to be what they are pushing of on the students today.) Never had to do that with emacs since no one uses it./* --- this joke */
    I think when it comes done to it ed is the only "all unix" unix editor with vi a close runner up. Can anyone think of a system without. I am talking default install here.

    Real old men use ed.
    All other real men use vi.
    Women tell men what to do and use whatever they want.

  97. NOoooo! by Anonymous Coward · · Score: 0

    Blasphemy! Microsoft could never be as powerful as Unix.

  98. Re: QNX by Anonymous Coward · · Score: 0

    Actually, QNX is used quite a bit in embedded systems because it is a Real-Time OS. I have never used it (I have used RTEMS, thats sort of like QNX), but I understand that it is POSIX compliant

  99. GNU autoconf/automake by Spirilis · · Score: 0

    Speaking of Autoconf/Automake, PLEASE can somebody point me to resources on how to create configure scripts and/or set up a GNU autoconf-based source package! Or for that matter, something to explain GNU m4 simply and concisely, so I can at least get my feet into the water before I dive in. I like how Glade creates the GNU autoconf setup automatically, but I'd love to change some of my other various utilities I've written to use Autoconf.
    Thanks.

    --
    the real at&t mix
    1. Re:GNU autoconf/automake by acb · · Score: 2

      Look at the texinfo files distributed with said packages. 'info autoconf' and 'info m4' should bring up the respective manuals.

  100. Moderators? by p3d0 · · Score: 0

    Ok, I give up. Why didn't this get moderated up? :-)
    --
    Patrick Doyle

    --
    Patrick Doyle
    I mod down every jackass who puts his moderation policy in his sig. Oh, wait a sec....
  101. "Related Links" by medicthree · · Score: 0

    Why is it that under related links, there is a link listed as nothing but "Linux" that links directly to Linux.com (aka VA Linux, aka parent company of Andover.net, aka parent company of slashdot)? The other links there are to ian, the person asking, cliff, the story's poster, and other Linux stories on slashdot. First of all, since when did Linux.com become the definitive source of Linux information so that it would be chosen as the most representative for a link to "Linux." Second, why doesn't the link say VA Linux? By linking to linux.com and just having the link say "Linux," you're making a pretty big leap. Slashdot be more descriptive in its links to VA Linux and should also be more careful about linking to it unless the situation is more appropriate.

  102. The only UNIX is Linux by argoff · · Score: 0

    All the others are A) going to go away or B) be merged into Linux. Linux is simply a more competitive paradigm. When IBM, HP, SUN, DEC (Compaq) and every other PC, Computer embeded device run Linux - the market pressures to toss out the others will be enormous. They already are, sumoe people like Sun though just don't (want to) get it yet.

    1. Re:The only UNIX is Linux by justens · · Score: 1
      Why does all unix have to be Linux? It's about the right thing for the job and having a choice. If all we have is Linux then there really isn't much of a choice anymore. As long as the different unices (and hopefull windows too) all work together by following standards then we can all use the os we like or need for the job.

      Also, why does Sun have bend to the wills of the slashdot community? They are doing rather well right now, and their Ultras are selling like crazy (even though it would be nice to get a Ultra 5 with SCSI disks :). Solaris 8 ships with a cd full of gnu stuff, you can buy a Ultra workstation with Redhat Linux from Sun directly, and they have released a utility to run Linux x86 things on Solaris x86. There are more ways to work with the free software community than by just tacking their os software under the gpl or bsd license.

      I use Linux every day myself (not to mention Solaris and *BSD), but Linux isn't a replacement for Solaris with it's good multi cpu support and ability to hot patch the kernel (just to name a few things).

      There is a place for everything, and for linux to 'win' others unices don't have to 'lose.'

      Justen

    2. Re:The only UNIX is Linux by Ma�djeurtam · · Score: 1

      Remember that Linux's real name is "GNU/Linux" and as we all know, "GNU=GNU's Not Unix".

      Oh, come on...

      Linus himself never talks about GNU/Linux... I think he has the authority to choose his OS name, right ? OK, RMS wrote the GPL, OK, RMS want Linuw to be called GNU/Linux... But it's called Linux and that will probably never change !

      And for that recursive play on words that GNU's Not Unix... That's so kiddy ! I don't mean to flame anyone here, but if you want acceptance in the real-world server markets, puns just won't make it.

      Oh well... This will kill my karma, but I had to say it.

      Stéphane

      --
      Instant Karma's gonna get you, Gonna knock you right on the head (John Lennon, 1970)
    3. Re:The only UNIX is Linux by Wolfpack+Commander · · Score: 1
      If I'm over-enthuastic, it's cause I'm fed up with all the crap from other OS vendors. I've worked with SCO, Solaris, HPUX, AIX, DGUX, and APUX.

      You believed in all the crap from the vendors? You listened to marketing and sales people? That kinda goes along with the territory. Tell me, you think when Linux goes mainstream (and it hasn't, just visit a large commercial datacenter like Exodus Communications here in Santa Clara where its "all" Sun and Sun Solaris), that there won't be crap from vendors? What, you think all the Linux vendors will go saintly on us?

      Oh yeah, lets not forget NT and the standard daily reboot. You're not making any sense. Are you comparing UNIX with NT?? Which flavor?

      I've seen a lot of false promises and a lot of hype, alot of bloatware and alot of bull from sales people. Like it or not, Linux is it, because it's not about Linux but about controll and not being forced into one vendors stupid design and/or management decisions.

      Your problem isn't with any UNIX-like OS, its listening to promises and bull.

      Linux is just another version of UNIX. BFD. I'm sure once Linux is used outside of those little dual Pentium boxes that say "Intel Inside" (for a little more than show and tell by IBM or Compaq) that it will become popular.

    4. Re:The only UNIX is Linux by argoff · · Score: 1
      • Why does all unix have to be Linux? It's about the right thing for the job and having a choice. If all we have is Linux then there really isn't much of a choice anymore. As long as the different unices (and hopefull windows too) all work together by following standards then we can all use the os we like or need for the job.
      But that's the point, Linux gives you a choice, Solaris and NT don't. I would have no problems with MS or SUN if their stuff was truly open-source. But by coercing it they are not only locking everyone else out, but locking the door their own future too. They can't grow in a competitive manner this way, they will be left behind like I said. Don't you get it - closed source is the path to closed standards.
      • Also, why does Sun have bend to the wills of the slashdot community? They are doing rather well right now, and their Ultras are selling like crazy (even though it would be nice to get a Ultra 5 with SCSI disks :). Solaris 8 ships with a cd full of gnu stuff, you can buy a Ultra workstation with Redhat Linux from Sun directly, and they have released a utility to run Linux x86 things on Solaris x86. There are more ways to work with the free software community than by just tacking their os software under the gpl or bsd license.
      Sun does not half to bend for the slashdot community, but they do for the facts. Bigger people have fallen harder than SUN, the mere fact that their CD's have a bunch of GNU stuff is almost an acknowledgement of where they are being forced to go.
      • I use Linux every day myself (not to mention Solaris and *BSD), but Linux isn't a replacement for Solaris with it's good multi cpu support and ability to hot patch the kernel (just to name a few things).
      Lunux isn't a replacement for Solaris now, but it will be.;) It's simply a more competitive paradigm.
      • There is a place for everything, and for linux to 'win' others unices don't have to 'lose.'
      Agreed, not if they go GPL. If they win or loose is their choice.
    5. Re:The only UNIX is Linux by argoff · · Score: 1

      If I'm over-enthuastic, it's cause I'm fed up with all the crap from other OS vendors. I've worked with SCO, Solaris, HPUX, AIX, DGUX, and APUX. Oh yeah, lets not forget NT and the standard daily reboot. I've seen a lot of false promises and a lot of hype, alot of bloatware and alot of bull from sales people. Like it or not, Linux is it, because it's not about Linux but about controll and not being forced into one vendors stupid design and/or management decisions.

    6. Re:The only UNIX is Linux by argoff · · Score: 1

      genome, beowoulf, bash, pre-installed and unlicensed compilers for C, C++ etc...
      yade yade yada yourself....

    7. Re:The only UNIX is Linux by argoff · · Score: 1

      theres a big difference, with all the others - if you had a problem with them after you spent a million on their crap - you were pretty much stuck with them. With open source - all that is different.

    8. Re:The only UNIX is Linux by argoff · · Score: 1

      Lots of Money. I'm sure that's the case with Microsoft too. But the simple fact is that "Lots of Money" simply does not guarantee a secure future in this business. They'll get squeezed out on the OS innovations just like they already have been with Java. Competitors like IBM are already getting ahead of there here.

    9. Re:The only UNIX is Linux by mcrbids · · Score: 1

      Dude, I mean, really! Linux is an outgrowth of Unix! It's clear that, as previously posted, you are a Linux nautzee. I wonder if you actually USE it at home? And, if you do, do you actually DO ANYTHING besides post at /.? Linux has its strengths, (great server platform!) but also its weaknesses. (games, anyone?) Over-enthusiasm is just as bad as apathy! -Ben

      --
      I have no problem with your religion until you decide it's reason to deprive others of the truth.
    10. Re:The only UNIX is Linux by swordgeek · · Score: 2

      Ah, evangelism. It's so...evangelistic.

      Maybe Sun doesn't want to "get it" yet, because they're still making lots of money with their _increasing_ market share! (besides which, Linux is terribly immature compared to Solaris, HP-UX, and so help me, AIX)

      --

      "People who do stupid things with hazardous materials often die." -- Jim Davidson on alt.folklore.urban
    11. Re:The only UNIX is Linux by JDax · · Score: 2

      Linus himself never talks about GNU/Linux... I think he has the authority to choose his OS name, right ?

      Sure he does. &nbsp But after what? Version 0.91 or something? &nbsp He didn't do it all by himself now, did he? &nbsp ;-) &nbsp I guess the answer would be to confirm what he actually trademarked. &nbsp :-)

      And for that recursive play on words that GNU's Not Unix... That's so kiddy ! I don't mean to flame anyone here, but if you want acceptance in the real-world server markets, puns just won't make it.

      But see, that depends on your definition of "real-world". &nbsp I would think that actual "real world" peformance makes all the difference in choosing a NOS, not what it's called.

      Oh well... This will kill my karma, but I had to say it.

      Why should it? &nbsp You're merely expressing your opinion about a wild name (and it is, IMHO). &nbsp But in fact, it catches your attention, doesn't it? &nbsp It goes along with the term "copyleft". &nbsp All a rebellion against the "establishment" really. &nbsp And I think the original point was to say that Linux is not Unix.

      --
      -- Win2k: "It's not so much that it's only 65,000 bugs, it's just that they stopped at 65,535 to prevent an overflow."
    12. Re:The only UNIX is Linux by JDax · · Score: 2

      Remember that Linux's real name is "GNU/Linux" and as we all know, "GNU=GNU's Not Unix".

      --
      -- Win2k: "It's not so much that it's only 65,000 bugs, it's just that they stopped at 65,535 to prevent an overflow."
  103. Sorry, nope. by Anonymous Coward · · Score: 1

    Kernel design & structure varies wildly among the *nix variants. Remember that the original UNIX kernel (and nearly all kernels prior to the early '90s) was monolithic. Now, I believe the majority of current kernels are of the microkernel variety, which is entirely different in structure. In fact, the basic design of the NT kernel is modeled after Mach, as are many other *nix kernels. The structure of the kernel is really irrelevent.

    However, the interface does matter. For a while, most *nix variants were either based on the UNIX System V source tree or the BSD source tree, and some even provided compatibility libraries for running applications written for either. Now, the POSIX standard specifies a C language interface and a command set which are loosely based on the SysV interface and commands. Most current *nix variants try to adhere to the POSIX standard, except for the BSD variants. So, any operating system that is more or less POSIX compliant or BSD compatible is at least a candidate for being labeled a UNIX variant. That includes NT, BeOS, and MacOS X.

    In addition to being compliant/compatible with POSIX and/or BSD, UNIX variants also share a UNIX like filesystem structure, which differentiates them from NT, BeOS, and MacOS X. Also, most UNIX variants use X for their native window system.

    Earlier in NT's life cycle, if you had replaced the native Windows GUI with X and installed all the common UNIX utilities, you could have made a case for calling it a UNIX variant, although I still think the filesystem structure is different enough to preclude that. However, in its current form, NT has grown to include a lot more stuff that makes it more clearly different than UNIX. However, BeOS and NeXT are still probably close enough to call UNIX variants if you disable their native GUIs and use X.

    1. Re:Sorry, nope. by nester · · Score: 1

      the majority of posix-compliant/unix-like OSs are NOT microkernels. {net,free,open}bsd isn't and neither are linux, aix, solaris, hpux, irix, and just about every other unix-like kernel. the only microkernel unix-like kernels i can think of are qnx, mklinux, minix, and mac os x.

  104. Re:Come again? by Anonymous Coward · · Score: 1

    Yes, I have no doubt that there's a ton of code out there that requires considerable effort to port.
    There's also always a fresh crop of green programmers out there making mistakes, and as they learn (hopefully from good mentors and good code), hopefully their code will improve so they don't make these sorts of mistakes...

    There's also a huge body of code that was properly designed, abstracted and written such that moving it from one unix to another requires no to minimal effort. Furthermore, that effort should be spent in bettering the abstractions such that, in the future, it will move to other OSes more easily.

    In short:
    "portability problems" == "need for abstraction"

    One of my major caveats about unix has always been that there's an enormous pool of talented and brilliant people working, but in opposing camps. Unix companies have rarely been very good at marketing (certainly nowhere near as good as Microsloth) and collaberating.

    If unix companies had come together on standards for guis and other essential "desktop" components a long time before now, the unix environment would have had a much nicer facade than it currently does.

    -Ralph

    http://www.mybrain.org/Pics/Fun/msToilet.jpg

  105. Files, baby! by Anonymous Coward · · Score: 1

    If everything is accessed as a file, it's probably a Unix. No special hidden "registries", no extended invisible attributes, just files.

    Ethernet on /dev/le0, /dev/eth1, etc...

    Entire physical or logical disk drives accessible under one filename (/dev/hda, /dev/sda, /dev/c0t0d0s0 (or whatever))..

    Serial ports as a file, printers as a file, etc...

    That's UNIX. Accept no substitute.

    1. Re:Files, baby! by Guy+Harris · · Score: 2
      I see them on my Slowlaris box, but not on my Linux box.

      ...and you probably won't see them on a BSD box, either:

      % ifconfig -a
      fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500

      ...

      % ls -l /dev/fxp*
      ls: No match.

      The /dev entries for devices are a DLPIism; they weren't in SunOS prior to 5.0, and there are a number of UNIXes that lack them.

    2. Re:Files, baby! by voop · · Score: 2


      If everything is accessed as a file, it's probably a Unix. No special hidden "registries", no extended invisible attributes, just files.

      Ethernet on /dev/le0, /dev/eth1, etc...

      Entire physical or logical disk drives accessible under one filename (/dev/hda, /dev/sda, /dev/c0t0d0s0 (or whatever))..

      Serial ports as a file, printers as a file, etc...

      That's UNIX. Accept no substitute.


      If that's the case, then Linux is not an unix....the networking interfaces have - traditionally - not shown in /dev under Linux.

      Just not to confuse anything....

      --
      -- "Life is a bitch - and she hates me..."
  106. Better than the dictionary defination: by Anonymous Coward · · Score: 1

    Pain in the ass to install.

    Pain in the ass to use.

    All software has a version number of less than .8.

    Everyone who uses it thinks themselves to be some sort of guru.

    It attracts a bunch of frothing nuts who had microsoft.

  107. The secret is "X" by Anonymous Coward · · Score: 1
    To be a Unix operating system, the name must end in "X".

    Microsoft would have to change NT to NTX or NTIX or NTNIX or UNtIX.

    I vote for UNtIX 2001!

    1. Re:The secret is "X" by mklinux_dude · · Score: 1

      What kind of morons think that the name has to end in X to be a Unix OS? Solaris and the several BSD unices are Unix, their basic structure is the same. I could use them and feel amost at home. They have ls and the other utilies. they have X. they are Unix.

  108. Re:windowing system by Chris+Frost · · Score: 1

    Do you mean that it's not possible, or that the person to whom you were replying hasn't?

    Just in case it is the former, I have used several Origin2000s through text terminals and Indigo2s w/o the windowing system (you get a console instead of XDM and X). AFAIK, any sgi box can have a console over the first serial port.

    I haven't used AIX, but I would assume it's pretty much the same.

  109. Re:Actually I give a rip. by Paul+Komarek · · Score: 1

    I expect that the 'UNIX' tools you used under NT were the GNU tools. Had you used the GNU tools on Solaris and HP, you'd be better off for compatibility.

    Not to mention that HP breaks just about all code of any sort that works on other UNIXs. HPUX is my worst nightmare, I'm not sure that I wouldn't rather use the Win95 CLI. At least I would expect Win95's CLI to be useless ahead of time.

    HP can make some darn good chips, but the sooner they ditch HSUX, er HPUX, the better. I may even be interested in their hardware again once the Puffin group gets Linux going on the PA.

  110. Re:what is unix? by /dev/niall · · Score: 1
    No, operating system and interface SHOULDN'T have anything to do with one another. NT has a GUI built into the kernel.

    No, it does not (nor does linux, GGI is an interface for accessing the graphics subsystem, not a user interface). The explorer shell is the user interface, and this is NOT part of the NT kernel.

    --
    --
  111. Re:what is unix? by /dev/niall · · Score: 1
    There are certain OS level interfaces that are not directly mappable onto NT syscalls. This would make it impossible to provide an interface "exactly" like Linux on NT without having some sort of emulation layer. Could you compile a device driver and load it as a loadable module on the NT box that emulates Linux? Probably not without something like VMWare or WINE or a Frankensteinian combination of the two.

    Why couldn't you compile and load a driver under NT? Just because you don't have the control or option to do so currently doesn't mean it's not possible.

    Do you think the NT kernel has support for all that hardware built right into the kernel? Certainly not.

    Please list some "OS level interfaces" that NT is missing to accomplish this.

    --
    --
  112. Re:what is unix? by /dev/niall · · Score: 1
    That nice little logon prompt that you get in Windows NT 4.0 is NOT "Explorer". Go ahead and change your default shell away from Explorer in the registry, you'll still boot to a GUI logon prompt -- there are still GUI elements that are part of NT that aren't "Explorer". You'll notice that you still have your Task Manager around if you don't use "Explorer" as your default NT shell, too. How else would you log out if you used Notepad (for maximum productivity!) as your shell?

    And once again, that nice little login screen is not part of the kernel. It's not even part of GDI. Not even close. Changing my shell is akin to changing my window manager -- the fact that I still get an XDM login screen before I login does not mean it's part of the Linux kernel.

    --
    --
  113. Re:what is unix? by /dev/niall · · Score: 1
    The thing about Unix that is most clear, that sets it apart from other OS's, is its well thought-out design. It was noticably not designed so that any newbie could use it.

    You're mixing up the operating system with the interface... they have little to do with eachother.

    It would be possible, however unlikely, for Microsoft to create an interface that completely resembles your Linux boxen in every respect, right down to the shells and applications you run. Nothing in their kernel (I'm speaking of NT here, not DOS) prevents them from doing so.

    I think the question is asking for a more low level answer. ;)

    --
    --
  114. Don't forget OS X by alta · · Score: 1

    much more unixy than OS 9...

    --
    Do not meddle in the affairs of sysadmins, for they are subtle, and quick to anger.
    1. Re:Don't forget OS X by marktwen · · Score: 1

      Um..mathematically it's 1/9th more unixy or 11% ;)

    2. Re:Don't forget OS X by bangpath · · Score: 1

      Oops! Thanks for chekcing my work! :)

      --
      *** Stop trying to be cool. ***
    3. Re:Don't forget OS X by bangpath · · Score: 1

      Well, if you want to get downright mathematical - OS X is only 10% more Unixy than OS 9. But I digress.

      --
      *** Stop trying to be cool. ***
  115. Re:windowing system by mattdm · · Score: 1
    You are right. I didn't mean to imply that it wasn't possible. It's just that this really isn't a defining part of what makes unix unix.

    --

  116. windowing system by mattdm · · Score: 1
    Solaris and IRIX are pretty attached to their windowing systems. I wouldn't count this one as a meaningful criterion.

    --

    1. Re:windowing system by T-Ranger · · Score: 1
      I dont know about AIX, but /Solaris/ isnt a "operating system" but a "operating enviroment" which takes the OS (SunOS) and combines it with a bunch of standard add ons, CDE, for example.

      But to add to the confusion, Ill include NeXTStep. .. I suppose thats the same thing though, the OS is mach, and NeXTStep is the addons. IIRC both NeXTStep and CDE can be run on top of things that aren't the normal OS..

    2. Re:windowing system by Azul · · Score: 1

      How is Irix attached to the windowing system? I've run an Origin 2000 with no windowing system at all...

      Alejo.

    3. Re:windowing system by jonathanclark · · Score: 1

      I've been telneting into my 95/98/NT boxes since they first came out. The functionality isn't built-in, but it's a pretty easy thing to do.

    4. Re:windowing system by jkujawa · · Score: 1

      Ever run an SGI or Sun server-classed system from a text terminal?
      Didn't think so.

    5. Re:windowing system by Wdomburg · · Score: 1

      >Solaris and IRIX are pretty attached to their
      >windowing systems. I wouldn't count this one as a
      >meaningful criterion.

      Odd, there is a headless Sparcstation 10 sitting next to me running Solaris 2.7 without a graphical environment.

      In fact, I would say Solaris on Sparc hardware is even more friendly to running sans graphical environmnet because its prom will set the console to the serial port if there is no keyboard attached.

      Come to think of it, that is the default for Irix as well.

      Odd behaviour for operating systems that are "attached" to their windowing environments isn't it?

    6. Re:windowing system by pagansage · · Score: 1

      AIX is very much the same in this respect. Most rs/6000's I've seen don't even come with a graphics card. Even when we ordered workstations there was the option to not include any high res graphics. Everything was done with either dumb terminals or xdm.

    7. Re:windowing system by ToTheBone · · Score: 1

      what's in a name...

      NT... No Telnet!

    8. Re:windowing system by keytapper · · Score: 1

      Both IRIX and Solaris run happily without their windowing systems. IRIX even has a script for turning X off and starting up in console only mode.

      IRIX servers (e.g. Origin 2100) run without X cos they don't have a monitor.

      At the end of the day, UNIX is an open environment where there are a collection of processes and various ways of configuring how these are driven. This open environment allows the administrator to control everything.

      This is the difference b/w UNIX and NT. In NT you're gonna get Windows - like it or not.

      BTW: A company licenced NT source and called it OpenNT with a dream of making it a UNIX. Also, NT has a POSIX subsystem but it doesn't do much. I don't know how well OpenNT went as a product... haven't heard of it since.
      --
      RE Management: anyone can manage but leadership is truly rare.
    9. Re:windowing system by drix · · Score: 2

      Huh? Yes. CDE is a royally inefficient pain in the ass, and it's not exactly performing voodoo under all those pretty pictures. I never use it. dtterm is my friend.

      --

      --

      I think there is a world market for maybe five personal web logs.
    10. Re:windowing system by IntlHarvester · · Score: 2

      As others have said, the GUI stuff is not required to run a UNIX system.

      However, inclusion of CDE and Motif are required as part of the "Single UNIX(tm) Specification", so you could consider the windowing systems as part of UNIX(tm). This is one main reason that free Unix clones will never be certified -- CDE is not free software, and nobody has any interest in cloning it.
      --

      --
      Business. Numbers. Money. People. Computer World.
    11. Re:windowing system by sirinek · · Score: 2
      Yes.

      My job is being part of a team who manages over 400 sun servers. Do we have monitors hooked up to each of them though? No. We use a serial terminal server to get consoles on them. Sure the use of a GUI is nice from time to time, but to do maintenance on a system it is definitely not necessary, and I think that is the main reason the person who listed out possible criteria for unices stated that a windowing environment was not required.

      siri

    12. Re:windowing system by Our+Man+In+Redmond · · Score: 2

      > Solaris and IRIX are pretty attached to their windowing systems.
      > I wouldn't count this one as a meaningful criterion.

      Perhaps, although I wouldn't know because I've never sat at either a Solaris or IRIX system that used a graphical terminal. You can do a great deal of useful work by in either one by attaching with telnet or ssh and never going through a graphical window. (Granted my experience with both is limited but I've always ssh'd into them rather than going through an attached console.)

      In my mind this is another thing that separates Unix from NT. Granted there are ways to attach to NT remotely (e.g. Terminal Server and VNC) but they're not the same thing.
      --

      --
      Someone you trust is one of us.
  117. Re:POSIX by mikpos · · Score: 1

    Unix would fall apart if it weren't for source compatibility (since there's no such thing as binary compatibility). Therefore you'd need at least ISO 9899 (which I think is similar to POSIX.16?), POSIX.1 and POSIX.2. It really depends on what perspective you're coming from. If you're a developer, then if a platform is compliant enough to those standards that everything's source compatible, then it's effectively Unix to you. But from a user's point of view, there seems to be more to Unix than just that.

  118. Re:POSIX by mikpos · · Score: 1

    Ya my point was that WNT wasn't POSIX.2, which makes it a bit awkward to use. BTW Linux spouts out an "POSIX conformance testing by UNIFIX" at boot-up, but I'm not sure what that's all about exactly.

  119. Easy distinction... by dag · · Score: 1

    This one is very easy:

    Everything that is not from Microsoft is called UNIX these days.

    ;)

  120. Re:Numeric keypad by spitzak · · Score: 1
    Under XFree86 the numeric keypad works just like you define it if NumLock is turned off. I don't think I have seen any programs where this did not work, I'd like you to point one out. I just tried Netscape right now.

    There is a failure though when NumLock is on. The idea of "NumLock" is pretty bogus, when you think about it, it dates back to the original IBM PC, where they were too cheap to put seperate function keys. In X this the NumLock bit is stored as a shift flag, but the basic X design was that the shift flags were things like Shift, Alt, and Ctrl: the fact that they were on probably meant something, and the user was holding them down on purpose. Therefore a lot of programs think that *any* shift key being on makes the keys being typed "special" and that they should be not be treated as letters. This is the source of the common X bug, especially with Motif programs, where *nothing* works when NumLock is turned on. Modern X programs seem to ignore all shift bits that they are not interested in, this is a better solution.

    Anyways it would be nice if this problem goes away, but I think it should go away by getting rid of the whole "NumLock" concept, I mean it is painfully obsolete and just a hack for a forgotten keyboard layout. If the function keys are in the "ideal arrangement" there, then the main arrow and functions should be in that arrangement. We should get rid of NumLock.

    And on Win32, bit 24 of the lParam of the keyboard event can be used to tell the normal function keys from the "NumLock-off" ones.

  121. Re:Serious followup by spitzak · · Score: 1
    I would say a problem with the Unix design was that they insisted on a "what key does this" control, rather than a "what does this key do" control.

    The terminal driver only allowed one code to delete backwards a character, so it had to be either ^H or ^? (or #, which I have never seen, but I do remember teletypes where it was '_' (underscore) which actually was a backarrow in the earliest versions of ASCII).

    If the keyboard driver instead translated keys to "what they do", it would have been trivial to have both ^H and ^? work.

    Quite seriously, they should chuck all this obsolete stuff from the terminal driver. Just hard-code everything into the driver so it works for the maximum number of people. The most common usages don't intersect (for instance nobody uses ^H for anything other than backspace) so just merge the most common settings. Off the top of my head:

    • ^C, ^\ - interrupt
    • ^H, ^? - backspace
    • ^U, ^[ - erase the line
    • ^D, ^Z - eof
    • ^V, ^Q - quote next
    • ^W - erase backwards word
    • ^R, ^L - redraw the line

    I would almost suggest that the terminals be in raw mode all the time and that we rely on readline libraries, but I can see this breaking things. Another possibility is to put this sort of editing into the FILE library.

  122. Re: QNX by colonel · · Score: 1

    It doesn't have a segmented filesystem. The way QNX works is that you can specify a node on the network with //. So, //1/tmp/ is the /tmp/ directory on node 1, and //3/usr/ is the /usr/ directory on node 3. All machines on a QNX network have node numbers, and root privileges are not quashed. (!) But, you can also NFS mount //3/usr/local as /usr/local on all machines and stuff, so it's not really segmented. With QNX, not only can you access the filesystems of the other machines in this way, but you can also access other processors and shared memory! QNX was designed from the ground-up to support clustering and all that stuff that's just becoming sexy now.

  123. What a clueless question! by RelliK · · Score: 1
    First of all, Linux is not Unix, and nobody claims it is.
    Linux was modeled after Unix and it looks & feels like Unix but it is still
    a Unix clone. All the Unix flavours you mentioned, and the ones you didn't are
    all descendants of the original AT&T Unix. (i.e. *BSD, AIX, Solaris, Irix,
    HP-UX were all derived from AT&T Unix at some point).

    Programs written for one flavor of UNIX
    typically cannot be ported to another without considerable effort.


    Huh? Who told you that, smart guy? Programs written for one flavor of UNIX
    typically can be ported to another by simply recompiling them.

    The differences between the
    different kinds of UNIX seem to be as great as the differences between
    any
    particular implementation and other OSs.


    Now this statement does not make any sence. *BSD is much closer to Solaris
    than it is to Windows. And even Linux is much closer to Irix than it is to
    MacOS

    Could one port all the standard
    command line utilities to NT, clone one or two of the popular shells,
    set up
    the directory structure in the standard UNIX layout and call
    it Microsoft
    UNIX?"


    uhhm, no. btw, do you work for Microsoft? It's just that your questions seem to
    suggest that you are planning to port a few shells to NT and rebrand it as
    Unix. hmmm, back in NT 3.1 days, MS was marketing is as "better Unix than
    Unix". Is that the plan again?


    ___

    --
    ___
    If you think big enough, you'll never have to do it.
    1. Re:What a clueless question! by Doug+McNaught · · Score: 2
      Programs written for one flavor of UNIX typically can be ported to another by simply recompiling them.

      I would add "written ... with portability in mind". It's easy to be gratuitously nonportable, especially if all you know is one flavor.

      -Doug

  124. Unix differences by jlnance · · Score: 1

    I think you exagerate the differences between Unices. In my experience porting is fairly trivial, particularly after you have ported the fist time.

  125. Re:It's "Unix" if it has the 'x' sound it it's nam by grahamkg · · Score: 1

    You're wrong!!!!!! The name is, "Windows NT SUX". Because it has an 'x' sound in the name, it is, by sillygism, True Unix.

    Graham

    --
    Graham
    Linux - Fast Pane Relief
  126. emulating a 64 bit machine on a 32 bit one by unitron · · Score: 1

    But if you could, then the ultimate extrapolation of that would be emulations running emulations until you had the original Intel 4004 running the latest bloatware at glacial speeds.
    Might be interesting to see a screen change at about 1 pixel per second.

    --

    I see even classic Slashdot is now pretty much unusable on dial up anymore.

  127. News at 11 by Byteme · · Score: 1
    Next on Slashdot: What makes a Turing Machine, er... I mean a Computer. Abacus?

    Anyone?

  128. Unix : A simple definition by mattkime · · Score: 1

    Unix - what everyone else is trying to copy.

    --
    Know what I like about atheists? I've yet to meet one that believes God is on their side.
  129. then is EMX with XFree86OS2 UNIX? by Locutus · · Score: 1
    On OS/2 there are most all the command shells available (ported/recompiled from Linux) and IBM built many of OS/2's subsystems like NFS and TCP/IP from UNIX distributions so route, ifconfig, etc are very similar. Gnome, Enlightenment, and dozens more are already ported:
    Gnome/2 and Enlightenment/2

    Posible because there is a full implementation of XFree86 at the current level available:
    XFree86OS2

    Even though Mr Veit (XFree86 porter) built a driver to handle /dev/* devices, could OS/2 be considered UNIX? In some respects I believe so. I think that it is more about the API then about the kernel.
    We know MSFT won't support a full *NIX API on Windows because they NEED to control the API's (Windows) too keep profitable. They WILL bring Win32 to Linux but not Linux to Windows. On OS/2, IBM has shown they were attempting to build a tool to solve problems and the tool is very flexible.

    Oh yeah, EXT2 has been ported to OS/2 also. :)

    --
    "Anyone who stands out in the middle of a road looks like roadkill to me." --Linus
    1. Re:then is EMX with XFree86OS2 UNIX? by Locutus · · Score: 1
      Right you are, I'm posting on Linux now. I just admire OS/2 because it runs so many things. Did you know you can now run some native win32 apps with a tool called Odin? It remaps Win32 DLL's into OS/2 DLL's and converts win32 PE exe's to OS/2's LX exe's. On the fly no less.

      I stopped writting native OS/2 apps when I quit my last job. The 3rd job I quit because they were moving to MSFT crap. I'm on Java and Solaris new but hope to move to Linux. Many at the company are very open and excited about Linux so I may not need to quit to get there.

      The multi-user stuff is very nice I must say. My house is run with Linux from the 485 firewall/NAT for the cable modem to the server and workstations. Five computers in all but if I get my three I-Openers, that will to to eight.

      I still admire OS/2 for what it does and did for some many years, WAY before Linux and Win32 were usable desktop OS's. IMHO


      (Resistance is not futile. The battlefields just change. ;)

      --
      "Anyone who stands out in the middle of a road looks like roadkill to me." --Linus
  130. Re:Microsoft UNIX NT by elflord · · Score: 1
    I suppose if M$ was to actually provide a near full implementation of a unix shell, filesystem, and command line utilities, it could be argued that NT would be, indeed, a UNIX.

    They would also need the core APIs and X11. There is a specification called "X/Open" which is far more reaching than POSIX, that you must sort-of comply with to be seen as a "real" UNIX. Microsoft's core is very heavily Win32 based, and as such, it's not going to be anything like UNIX any time soon.

    BTW, It's got nothing ( or very little ) to do with kernels. You probably could beat the NT kernel into something upon which you could build a UNIX system.

  131. Re:No it isn't by elflord · · Score: 1

    Even with seamless remote access, NT isn't UNIX. If you don't believe me, try to compile a hello world UNIX program on NT. OK, now try adding SYS V IPC. Now try adding some APIs like curses and X11. The main diff is that NT is win32 based and UNIX isn't.

  132. Re:UNIX98 / X/Open, not POSIX by elflord · · Score: 1
    When people say "UNIX", in this context, they really mean "POSIX", which is an IEEE standard that, supposedly, defines the function call interface between a program and an operating system. That's the general idea.

    Except that UNIX has moved on since POSIX, and the latest sepcification is UNIX 98, which requires what one would think of as the "core UNIX APIs" to be available.

    POSIX at the very least is a good start, and with a couple of other APIs thrown in , one can usually get workable code.

  133. Re:POSIX, not UNIX. by benedict · · Score: 1

    NT looks more like VMS under the hood than like unix.

    --
    Ben "You have your mind on computers, it seems."
  134. Re:NT not Unix, though A/UX was much closer. by IntlHarvester · · Score: 1

    The big problem is that the default setting NT Server 4.0 is "Give Foreground Application Highest Priority". (Why is this the default on NT Server? Who knows.)

    Next thing you know, some MCSE-wannabe has enabled one of the software OpenGL screensavers, and as the 'foreground' application, it's eating 98% of your CPU and has ground your server to a halt.

    So, what they should be teaching the monkeys is to (A) Let background services have their share of the CPU, and (B) Don't run CPU intensive things like OpenGL Screensavers on a server. But that would be far to complex to explain, so 'Don't run a screensaver' is the 25 cent answer.

    (A kernel because of the video driver is possible, but practically, it never happens with a screensaver and the vanilla SVGA video hardware on a server.)
    --

    --
    Business. Numbers. Money. People. Computer World.
  135. Re:Serious followup by IntlHarvester · · Score: 1

    Realistically, if a Linux distribution has this problem out-of-the-box, it's broken. The common (99%) case here is the IBM PC AT Keyboard, not some VT220 terminal, and not some Sun X Terminal.

    The idea of a 'distribution' is that someone is doing the integration work to make all these software parts floating around the Internet work with your hardware. If that's not being done, it's really too bad.
    --

    --
    Business. Numbers. Money. People. Computer World.
  136. Re:NT not Unix, though A/UX was much closer. by IntlHarvester · · Score: 1

    The Apple Network Servers were actually pretty nice boxes -- hardware RAID, 2-4 PPC604 CPUs, AU/X only. I know a few people that would love to run Mac OS X server on a similar box, rather than some G3 desktop.

    At about the same time, Apple came out with MkLinux, which runs on 601 NuBus hardware.
    --

    --
    Business. Numbers. Money. People. Computer World.
  137. Re:NT not Unix, though A/UX was much closer. by IntlHarvester · · Score: 1

    I mean ... "AIX only". Press Preview, dammit!
    --

    --
    Business. Numbers. Money. People. Computer World.
  138. Re:what is unix? by IntlHarvester · · Score: 1

    You should look at Microsoft Interix, which is a loadable UNIX subsystem for Windows NT. It doesn't emulate "Linux", but it does meet the UNIX specifications.
    --

    --
    Business. Numbers. Money. People. Computer World.
  139. Re:NT not Unix, though A/UX was much closer. by IntlHarvester · · Score: 1

    Late response, but does "bugger all" mean it does nothing? If so, that's not true.

    Q160656
    Last Reviewed:
    February 1, 1999

    The information in this article applies to:
    Microsoft Windows NT Workstation version 4.0
    Microsoft Windows NT Server version 4.0

    Windows NT 3.51 and earlier boosts the foreground application responsiveness by boosting the foreground thread priority base. Windows NT 4.0 boosts the foreground responsiveness by assigning a longer timeslice (quantum) to the foreground thread than what background threads receive, not by assigning a higher thread priority.


    And a OpenGL screensaver can still impact performance on a server quite seriously. This can be easily tested by putting WinNT on a Pentium-level machine and doing some file copy tests.


    --

    --
    Business. Numbers. Money. People. Computer World.
  140. POSIX, not UNIX. by mrsam · · Score: 1

    When people say "UNIX", in this context, they really mean "POSIX", which is an IEEE standard that, supposedly, defines the function call interface between a program and an operating system. That's the general idea.

    Well, if you do write a strictly POSIX program, it should compile and run just fine on any one of those unixes. The problem is that POSIX does not really cover everything what you can do, on a typical box. Still, you can come pretty close. If you use GNU's autoconf and automake tools, your package can have a good shot at compiling and running on anything that claims to have POSIX compliance.
    --

    1. Re:POSIX, not UNIX. by Mija+Cat · · Score: 1

      Which is not surprising, considering the head of development for NT was also (responsible|to blame) for VMS...

      --
      Yes, that's really my e-mail. Don't change a thing.
    2. Re:POSIX, not UNIX. by alangmead · · Score: 1

      I've seen references to Weirdnix, a contest ran by the IEEE standards committee on the most bizarre way an implementation could be and still be legal POSIX. Basically how far could break the spirit of the document but still complient.

      I've also heard that NT's subsystem would have been a winner if it was available at the time.

    3. Re:POSIX, not UNIX. by EvilAlien · · Score: 1

      Interesting point. Now, consider this:
      NT is POSIX compliant, at least to a limited degree. POSIX command line applications will run in the NT "shell". The NT kernel, unlike the excuse for an OS that is the Win95 family, does some stuff behind the scenes that is hidden from the user, and those things look very UNIXish.

      --
      perl -e 'print $i=pack(c5, (41*2), sqrt(7056), (unpack(c,H)-2), oct(115), 10)'
    4. Re:POSIX, not UNIX. by mikpos · · Score: 2

      IIRC, Windows NT only complies with POSIX.1, and it doesn't do a great job at that. POSIX.1 is a very very small part of POSIX. I would not consider POSIX.1 itself to be enough to warrant something to be "POSIX compliant", but I'm not associated with POSIX, so my opinion wouldn't really count much. Oddly enough, though, Windows NT is probably closer to POSIX.4 than Linux is (though this may have changed somewhat with RT-Linux).

    5. Re:POSIX, not UNIX. by GnrcMan · · Score: 2

      In that case, Windows NT is *nix. It has a POSIX compliant subsystem. (MS had to write a POSIX subsystem in order to comply with arcane govt. software purchasing guidelines)



      --GnrcMan--

    6. Re:POSIX, not UNIX. by Our+Man+In+Redmond · · Score: 2

      From what I remember MS added a set of POSIX utilities to the NT resource kit so they could claim POSIX compliance for whatever government contract they were trying to land. But, they are pretty minimal. (Presumably Win2K has these as well, but I don't have a copy at hand to check.)

      The Cygwin command line utilities are much better and make the Windows environment a little more comfortable, and let you do useful things like ls -1 | grep 'txt$', but it still ain't Unix.
      --

      --
      Someone you trust is one of us.
    7. Re:POSIX, not UNIX. by JDax · · Score: 2

      Well, if you do write a strictly POSIX program, it should compile and run just fine on any one of those unixes.

      And correct me if I'm wrong, but isn't win2k supposedly "POSIX-compliant" (probably with a million extensions). &nbsp Supposedly win2k separates out the core frm the apps better than NT (ie., you can stop or kill a misbehaving app without having to reboot the whole damn OS), making it a little closer to *nixes in general, but...

      I can see that this topic is gonna be jumpin' today...

      --
      -- Win2k: "It's not so much that it's only 65,000 bugs, it's just that they stopped at 65,535 to prevent an overflow."
  141. Uhh, you are wrong on portability. by Azul · · Score: 1

    This is supposed to be an Ask Slashdot but you are making a lot of wrong statements:

    Programs written for one flavor of UNIX typically cannot be ported to another without considerable effort.

    I have worked on many free software applications for Unix. I start off GNU/Linux, using the manuals available on it, and then release the stuff. It usually works perfectly on BSDs, Solaris, Irix and HP/UX (other than those, I don't know). There are a *few* minor differences but it usually takes very little time to find them out. I'd say I have devoted 1/1000 of the total development time porting my software to other platforms (always Unix). And no, this isn't simple Hello World stuff, it usually contains network code, crypto code, standard Unix stuff (such as calls to open, dup2, pipe, fork...), string functions (strcasecmp, strcat, strtok, etc), graphical user interfaces (I always stick to GTK) and POSIX threads.

    The differences between the different kinds of UNIX seem to be as great as the differences between any particular implementation and other OSs.

    This is completely wrong. If I were to port my software to Windows or MacOS, I know I'd have to spend far more than 1/1000 of the time I spend developing my software.

    Thanks.

    Alejo.

  142. Re:LINUX IS LEGALLY NOT UNIX!!!!!!!!!!!!!!!! by Azul · · Score: 1

    Did you guys know that LINUX stands for Linux Is Not UniX ?

    Heheheh. ;)

    Alejo.

  143. modularity by kaisyain · · Score: 1

    Have you tried running debian/linux with some shell other than bash as /bin/sh? Doesn't work. So much for modularity. Modular in theory, I suppose.

    What does "shells are not required to make use of the core functionality" mean?

  144. Re:Actually.. by Audin · · Score: 1
    ...just to gain some stability...

    Seems your initial decision to go with a proprietary solution is the problem. If a business makes a stupid decision, then they are going to have to cough up the money to dig their way out of it, one way or another.

    Cobbling something together to make use of a buggy windows device driver isn't going to buy you anything. The only way to get truly bug-free software and drivers is to make all the specs free and open. And the only way to do that is to stop buying products made by stupid companies who refuse to properly document their stuff.

  145. Re:Actually.. by Audin · · Score: 1

    The solution is simple:

    Get a different SCSI interface...

  146. Re:unix tools for win32 by platypus · · Score: 1

    yeah that's right, I wouldn't trade (Windows NT && cygwin && bash && grep) for *nix anytime.

    Grand unified theory of OS's:
    OS has BSOD => OS != unix

    um, please, that's no flamebait ;-).

  147. What we really need is a "spam" moderation by SeanNi · · Score: 1

    Seriously. All these comments that are marked as "Troll" but aren't really. They're just like this one. Spam. We seriously need a "spam" moderation category. And that would include posts about goatse.cx, Don Knotts and that super-scroller thing.

    They're all spam.


    Oh, and "Spam" should carry an automatic -5.

    --
    It's a fine line between trolling and karma-whoring... and I think you just crossed it.
    - Sean

    --
    It's a fine line between trolling and karma-whoring... and I think I just crossed it.
    - Sean
  148. Definition of unix by aardvaark · · Score: 1

    Unix is any operating system derived from the source code of the original unix developed by Bell Labs. Linux is not a UNIX, but a UNIX-like operating system. A Unix-like operating system is any operating system which reimplements the spirit and designs of the operating system drempt up by Dennis Ritchie et al. *BSD on the other hand has a pedigree which goes all the way back, so is a "true unix", although the definition varys a little depending on who you are talking to. Some people think UNIX is any OS that Bell Labs says. Go look at these web pages:

    Unix History

    and be sure to visit the history of unix written by Dennis Ritchie himself:

    Dennis Ritchie's History of Unix.

    --
    If I had no sense of humor, I would long ago have committed suicide. -Ghandi
  149. Re:Actually.. by tjrw · · Score: 1

    You are quite correct.

    To be able to advertize your OS and "Unix", you do indeed have to certify your OS with the current trademark holder, namely The Open Group.
    You have to at least pass the Unix95 specification testing. I believe that if you pass Unix98, that's fine too.

    As to the assertion that portability is difficult in the Unix world, I would disagree strongly. It is easy to write bad code that is highly non-portable (I find a lot of people who pretty much only use Solaris fall into this trap). It is however possible to write code which will run on most if not all Unices with little or no modification. However, that puts the onus on the developer to familiarize themselves with the relevant standards, and also use as many systems as are available to them. Sadly whether it's laziness or unreasonable deadlines, this doesn't appear to be happen that often.

    Tim

  150. NT can never be Unix by webster · · Score: 1

    Could one port all the standard command line utilities to NT, clone one or two of the popular shells, set up the directory structure in the standard UNIX layout and call it Microsoft UNIX?

    I run just such an environment, using Cygnus' Cygwin on NT, and believe me, it isn't Unix. Not by a long shot. Even if it were nothing more than the process scheduling, Unix would have it all over NT. On a Unix system you can run processes in the background and just forget about them unless they are real resource hogs. With NT you have to be always thinking "is this going to kill performance?". But there's more. Pop up a telnet window and you have the same old DOS prompt window. Even though it's running Bash, it still feels like Windows. And, of course, all the applications are the clunky Windows apps. And of course, there are the constant crashes and running out of memory. Run Cygwin next to an X server running an xterm on Unix, and you'll see the difference very clearly. I've done that in the past, and I'm working very hard to get that set up now. I'll still have memory and stability problems, but at least the apps will run right.


    Always and inevitably everyone underestimates the number of stupid individuals in circulation

    --

    Information is not Knowledge
  151. Re:Portability? POSIX! by AndyElf · · Score: 1
    It is partially compliant, i.e. if you install NT Resource Kit, you get a handful of UN*Xish tools/commands like ls/grep/chmod/chown/vi, etc. In theory you could get some POSIX-compliant apps to run on NT. A shell script that prints "Hello, world", for example.

    Is it useful? Hardly. Can it be called "compliance"? With a very big stretch of imagination.

    --

    --AP
  152. Re:Microsoft UNIX NT by VenTatsu · · Score: 1

    Microsoft actualy hired some of the main VMS programers to build NT. As such NT's kernal has alot of similarity to the VMS kernal.

  153. common usage by mossmann · · Score: 1

    In addition to all the good information above, especially the Open Group links. It's worth noting that "UNIX" is commonly used to mean "UNIX-like". Thus Linux is often considered a flavor of UNIX, though not officially.

  154. Unix is in the eyes of the beholder by segmond · · Score: 1

    Unix is in the eyes of the beholder. Think of this, if you are a simple user, all you care about is your normal unix tools, shells and what not. If we recreate this environment on NT, then as far as you are concerned, you have a Unix or Unixlike system. But if you are a kernel hacker, once you get into NTs kernel, you will scream and not call it Unix. Likewise, if we take a Unix kernel say linux and provide it with a GUI that functions just like windows98, a user will not call it Unix, as far as he is stuck in the GUI he will call it windows or windowslike, whereas a hacker working with the kernel without the GUI will still call it Unix. Take a case of a car, if we get a BMW take out the engine and put in a toyota engine, what is it? People who just see the car from afar will call it BMW, whereas the guy that fixes it will call it toyota. Thus Unix is in the eyes of the beholder.

    --
    ------ Curiosity killed the cat. {satisfaction brought it back | it didn't die ignorant | lack of it is killing mankind
  155. enumeration by reklis · · Score: 1

    I think that most of what makes something UNIX or UNIX-like is "it's look, it's feel, and the tools available" but to enumerate some of these I would say:

    • Case sensitivity
    • True multitasking
    • Terminal Dependency
      This is the biggest difference to me. There are lots of programs for X, but lets be real... most of them are just GUI wrappers for CLI tools to save you time.
    • Network Friendlyness
      all the *nix boxes I've ever played with LOVE being on a network.
    • Structure
      By this I don't mean the directory structure being one way or another per-say but the fact that there are certain folders almost dedicated to a certain job (eg: /sbin, /var and /etc). Most other systems don't have this designated organizational system.
      I know a couple of NT admins that when they got a hold of Solaris they wanted to install perl... they made a directory (/programs/perl heheh) and then installed it to that directory.
      • Some of the above may be common with NT or OS/2 but the fact is the combination of ALL of these makes it my UNIX.... Have I forgotten anything?


    __

    --

    __
    nothin' says lovin' like an open source penguin.

  156. Unix in NT.. interix.. by gimpboy · · Score: 1

    well sortof. interix was mentioned before but i thought it should be restated:

    Interix.com

    i used this for a while back when it was called opennt. then (i believe) the microsoft nazi's put the smack down and they had to change their name. its pretty neat. i believe it came with ksh and csh and some other neat utilities.


    john

    --
    -- john
  157. i spoke too soon... by gimpboy · · Score: 1

    it looks like ms bought interix to quote:


    Microsoft acquired Softway Systems, Inc. to help ensure that customers have reliable interoperability tools between Windows and Unix

    whatever.


    john

    --
    -- john
  158. Re:NT not Unix, though A/UX was much closer. by Zurk · · Score: 1

    uuh. youre right about most of it but NT is a Windows/VMS hybrid not a windows/unix hybrid. vms != unix.

  159. POSIX by RoLlEr_CoAsTeR · · Score: 1

    I thought I've heard before that *nices have to be POSIX compatible to be considered a *nic.. or is that just a recommended aspect of the OS? (or is it just a standard for Linux distros?)

    hmmm.......

    --

    Insert mind here.
  160. Links!!! by ceeam · · Score: 1

    Plain vanilla symlinks.
    I understand it's an exaggeration but the fact that *simple* (yep - simple!) things like that reliably working together IS what makes a UNIX UNIX.

    OLE based computing - no, thank you!

  161. Re:If it looks like a duck and quaks, it's a duck by sirinek · · Score: 1
    Name one system configuration file in Solaris that you cannot edit like a text file. :) Granted in the last few years, GUI tools have become more popular in the UNIX world, but you can still get under the hood and make changes manually. Things like Solstice Admin Suite and Disk Suite are only help you manage those text files, they do not store information in an uneditable binary file or any such thing. I can't speak for AIX because I do not use those systems.

    siri

  162. Re:What makes a system Unix? by Tuck · · Score: 1
    I think that should read "almost everything is a flie".

    The major exceptions that spring to mind are network devices. You can't send a raw ethernet frame using "echo hello >/dev/eth0".

    --
    $ find /pub -beer "James Squire Amber Ale" -drink
  163. HPUX? by drivers · · Score: 1

    Are you kidding me? In HPUX you can only have the permissions of a single group at any given moment, and you have to issue a command to change which group's permissions you will take on. Most of the commands are less developed as well. For instance, tar doesn't understand tar.gz files. This applies to 10.20 which is still in common use.

  164. Re:Blame Win32 by tim.youfreak · · Score: 1

    hmmm... i remember that the nt resource kit for 4.0 came with posix complient layer...

    --
    - tim -= remove "-spam-" from address before spamming =-
  165. Re:Actually.. by Yebyen · · Score: 1

    The solution is not that simple for a gigantic company that has standardized on one particular SCSI interface for every computer, and then discovering that there are no linux drivers for it when they decide to start using Linux. And again, a SCSI interface is a bad example... what if i've built a network on a proprietary gigabit ethernet solution. Am I going to rebuild my network just to gain some stability? Certainly not, I would say "Well, our current hardware is not supported by anything but NT, and making a changeover to linux compatible hardware will be ridiculously expensive, so i guess we're sticking with NT for now. You'll be rebooting a bit longer." Get the idea?

    --
    linuxisgood:~$ man woman

    --
    Restating the obvious since nineteen aught five.
  166. Its about the kernel and being MODULAR! by cansecofan22 · · Score: 1

    I think the thing that makes UNIX what it is is this:
    ANY of the various Unix flavors all have a UNIXISH kernel. They have all got either BSD or SYSV commands (many nowadays have a mix of both) and thay are all modular OS's. If you take away the GUI from NT, it will not work, If you take X (any version) away from UNIX it will still be the same functional rock solid OS, just with out a GUI. Dont forget that all UNIX variants are supposed to be POSIX compliant.
    Of course this is just my opinion.

    --
    "If ignorance is bliss, why aren't there more happy people in the world?"
  167. Re:Cygwin by Christoph+Bugel · · Score: 1

    gsd fgsdgsdfg sdg sdfg sdfg sdfg sdfg sdfg

  168. Re:Cygwin by Christoph+Bugel · · Score: 1

    Oops :) I meant to ask: Does anyone know a good telnet server for NT? I am using cygwin a lot to make NT work more friendly. telnet would take this a step further.

  169. Re:Cygwin by Christoph+Bugel · · Score: 1

    Thanks for the tip. I'm downloading now. I saw a reference on the M$ page how to use it with Korn shell. (of course I will use bash :)

  170. One important feature by LordNite · · Score: 1

    There is one major feature of UNIX that has not yet been mentioned.

    That feature is the community that has grown up in and around UNIX and the "UNIX-like" systems. Look at all the sharing that goes on between people in the community. We have open ideas as well as open source. Sharing and community has been a part of UNIX since AT&T first started giving it to universities. There is also the competition that is integral to the UNIX community. Yes, this does include the "holy wars" that break out occasionally. We have competition of APIs and new features. Need I mention the ongoing debate between GTK+ and QT, as well as that between GNOME and KDE. There is competition in the community and that keeps developers on their toes. It also continues the evolution of the system.

    Where in the Windows community is there such a sense of openness, sharing, and competition.

    When talking about what makes UNIX we must not forget the people involved. People make up the system just as much as the code base.

    To me UNIX and the community surrrounding it are like a huge family. We may not like each other. We may not always agree, but there is something that brings us all together.

    Just my two bits. :-)

    --
    If it looks like a duck, and quacks like a duck, it must be a duck.
  171. Re: QNX by warpSpeed · · Score: 1

    Are you sure the network was not ARCnet? I remember working on QNX and using ARCnet cards. Very cool OS.

  172. Re:What makes a system Unix? by mkendall · · Score: 1
    IMHO the biggest thing all flavors of Unix have in common is the "everything is a file" design. ... Everything in NT is an object.

    This is symptomatic of the underlying difference; Unix is written in C and NT is written in C++.

  173. Re:Stability? by fwr · · Score: 1

    Your nit picking now because he picked some non-standard programs. But, I bet you could find the following programs on any "unix" system unless it was severely stripped down:

    1) vi
    2) man
    3) cp
    4) rm
    5) mv
    6) ls
    7) man
    8) grep
    9) find
    10) ping
    11) netstat
    12) ifconfig
    13) awk
    14) sed

    If you don't have them on your linux system then I feel for you...

  174. Re:OpenVMS? by fwr · · Score: 1

    Does it have the same system calls and directory structure as Unix? If not, then it's just a compatibility layer that could be built on top of any OS.

  175. Re:MS Unix by fwr · · Score: 1

    It's that 5% that's the killer. Might as well be a totaly different OS.

  176. Re:what is unix? by fwr · · Score: 1

    There are certain OS level interfaces that are not directly mappable onto NT syscalls. This would make it impossible to provide an interface "exactly" like Linux on NT without having some sort of emulation layer. Could you compile a device driver and load it as a loadable module on the NT box that emulates Linux? Probably not without something like VMWare or WINE or a Frankensteinian combination of the two.

    Yes, they could do it, but it would be more like Bochs, with all the inherent performance loss. And you thought NT was a slow memory and CPU hog now!

  177. Re:My highly subjective opinion by Nailer · · Score: 1

    ugo/rwx permissions

    While the rest is a good point, this phrase is, IMHO, incorrect. A Unix with full Access Control Lists [somethign already implemented, but easy to work around, in NT] wouldn't make Linux or Unixes suddenly not become Unix compatible. The ACL concept is a noble one and more flexible than ugo/rwx - I believe an implementation on Linux was discusses in Slashdot Jeremy Allison interview recently.

  178. Re:Xenix by revision1_1 · · Score: 1

    Ah, Xenix.

    My first-ever exposure to Unix was Xenix running on an Altos86 in my high school. The basic login script for all student users was a text menu from which you could choose BASIC, a spreadsheet, some simple database and a couple of other things.

    It wasn't long before we learned we could ! out to the shell, and with the Unix System Administrator's guide on our laps, we pretty much had free run of the thing. Right before I graduated, I got stuck in a Programming 101 class. I looked at the syllabus, realized the teacher was teaching straight from the book and did the whole quarter's worth of assignments in about a week, after which I had 9 weeks to screw around, though I spent most of them playing Hunt The Wumpus.

    I still get nostalgic for that old beast (the machine, not the wumpus).

    Thanks for the memories!

  179. UNIX is not where the hype should be by Peaker · · Score: 1

    The REALLY interesting issue is what makes a system an EROS-like system :)

  180. Re:NT not Unix, though A/UX was much closer. by mgischer · · Score: 1

    Yup, a friend of mine bought one of those Apple Network Server boxes this week and we were playing around with it last night. I believe ou meant to say AIX only, though.. I thought AU/X only ran on 68k hardware.

    I was reading some of the training manuals that came with it.. interesting stuff. It was talking about secure dynamic DNS.. which made me wonder what all the hype is about with W2k, when it was available in AIX in 1996. (maybe before then, I don't know)

  181. Re:Stability? by bscanl · · Score: 1

    Stability has nothing to do with UNIX(tm).
    It's very clear what UNIX(tm) is. It's very clear what Unix-like is. I refer you to the preaching of the Rev. Don Kool on computing.unix.admin :)

  182. DEF: unix (small "u") by ElitistWhiner · · Score: 1

    unix' great contribution is the fact that it treats everything as I/O...

    -r

  183. Re:NT not Unix, though A/UX was much closer. by JonK · · Score: 1
    This [the performance boost slider] is, IMHO, one of the funnest things in the NT UI: on NTWS, it works (IIRC, it "++priority"s all threads in the FG app, though MS can and do change this behaviour arbitrarily between SPs) but on NTS, it does absolutely bugger all, and it always makes me wet myself when I see "expert" pundits recommending that this slider be moved to "improve the server performance".

    That said, I'd certainly recommend running nothing more outre than the VGA drivers on a production server anyway, simply because there's no need for anything more (do people ever get disappointed: "I've spent $400 000 on this Proliant 7500 and it's only got a VGA card and no SoundBlaster"?)
    --
    Cheers

    --
    Cheers

    Jon
  184. Re:VMS == NT ???? Not as far as I know. by JonK · · Score: 1

    See here for a discussion of the similarities and differences between VMS and NT
    --
    Cheers

    --
    Cheers

    Jon
  185. Re:Microsoft UNIX NT by JonK · · Score: 1
    Wrong, wrong, wrong, absolutely brimming over with wrongability.

    Win32 is implemented as a subsystem on top of the NT kernel in a similar way to the "OS/2" (sic) and "Posix" (sic) subsystems - there's no particular reason why you couldn't build a subsystem which implemented the POSIX and X/Open specs (and, from a pragmatic point-of-view, supported the whole of man(3) fully), but why? After all, if you want a Unix box, you buy one.

    Agreed re. the on-kernel implementation: since several Unices have been built on the Mach kernel, it would probably not prove exceptionally difficult to build one on the (similarly-architected) NT kernel. IMHO it would, however, be fairly pointless.
    --
    Cheers

    --
    Cheers

    Jon
  186. Re:MS Unix by JonK · · Score: 1
    You're both sort-of right: since CE exposes a good 90%(ish) or the Win32 API and NT (for the sake of argument and to save typing, I'm treating W2K as NT5) is the reference Win32 API implementation it'd be fair to say the CE kernel is based on NT (i.e. it exposes similar functionality in a lot of cases although some of Win32 isn't implemented - no-one's yet (AFAIK) built an SMP handheld...).

    However, the internals of the kernel aren't from NT: it's a whole different set of code (unsuprisingly, since hardware on the desktop is somewhat different to hardware in the palm) and, as Mr Burdick points out, this project was Pegasus, intended as a successor to the WinPad and Pulsar. Meanwhile (and more recently), Microsoft Israel (IIRC) have built Embedded NT, which is a cut-down NT kernel for embedded use (although not intended, I think for handhelds, palmtops and other such pseudo-computers ) - here, there is commonality between the code-bases.
    --
    Cheers

    --
    Cheers

    Jon
  187. Re:What makes a system Unix? by JonK · · Score: 1
    No, NT is written in C too (with a little bit of x86/PPC/Alpha/MIPS assembler).

    Quick heads up: object-oriented design != C++ implementation (ask all the old Simula hackers out there... or read D&E some day)
    --
    Cheers

    --
    Cheers

    Jon
  188. Come again? by Rares+Marian · · Score: 1

    Programs written for one flavor of UNIX typically cannot be ported to another without considerable effort.

    1. Where does the "effort" end, and porting begin?
    2. Check freshmeat you'll find many counter examples of no hassle porting.

    --
    The message on the other side of this sig is false.
  189. Re:MS Unix by TummyX · · Score: 1

    Yes I do.

    But why would that matter anyway? One finds his place in a community such as /..

  190. Re:MS Unix by TummyX · · Score: 1

    CE was designed to make it easier for Win32 developers to develop software for CE.
    Binaries should not 'run', you need to 'port. But the porting process is releatively painless, anyway since that 5% is the most least used, or inappropriate or CE devices.

  191. Re:File System by RobNich · · Score: 1

    Go back and read the article. Symlinks are new to W2K, but a system that USES the symlinks is new technology. It looks for identical files and stores only one copy of the file, linking to it. If one of the files is changed, it de-links it and creates an actual file for it.
    It's a good idea because of the way dlls are spread across the system, making way for identical libraries to be stored more than once. I'm not sure that this would be useful in a *nix environment because of the way libraries are stored in one or more specific location(s) in the first place.
    I'm a Linux advocate, but atleast I READ THE ARTICLE and understand what it is before I cite it as more Microsoft crap.

    --
    Hello little man. I will destroy you!
  192. This Question is a Waste of My Time and Yours by xenotrope · · Score: 1

    First off, let me say that I am not going to attempt to actually answer the question, since so many others have already done a much better job that I ever could.

    Instead, I would like to look at the nature of the question itself. "What makes a UNIX a UNIX?" Others have pointed to the absurdity of this. What makes a computer a computer? What makes an HTML file an HTML file? This question shows a harrowing trend in the quality of the Ask Slashdots. Instead of people using /. as the bona fide mix of experts and neophytes in all ranges of technology, it is being used -- and abused -- as a 1-step shortcut instead of RTFM.

    Perhaps the next Ask Slashdot should be just that: "What does RTFM mean?" Please. This is not the first time, nor will it be the last, that Cliff has grossly misjudged the appropriateness of a submission.

    I want to generalize this condition as much as possible, so I will not suggest that ian actually think about doing some work and looking up some easily-found documents on operating system history. I will not state how dumbfoundingly easy it is to punch `+unix +history +"bell labs"` into any of a dozen popular search engines.

    I don't want to do that, because then I might be accused of being shallow. Lazy, even. And that would be a terrible crime, because if there's one thing /. will not tolerate, it is obviously laziness!

    Ask Slashdot is not a place for idle questions to be treated with the gravest of attitude. It is being treated with the same respect that would exist of asking Our Beloved Linus how many total lines are in the kernel source. That would be wasting his time, just as this question wastes ours. These sorts of thing can be looked up independently with no need to involve everyone in this.

    There was a time when Ask Slashdot handled deep questions that did not have easy answers. That time is clearly gone. I can only conclude that this feature must be heavily overhauled and strictly maintained by someone of higher intuition than Cliff, or be retired from /. altogether.



    ---

    --

    ---
    Remember when "Truth, Justice, & the American Way" wasn't contradictory?
  193. Unix... by Stormin · · Score: 1

    The big difference as I see it how unix creates processes, ie the fork() system call and copy-on-write memory pages.

    Some features of the process management system (kill -9) are not replicated well elsewhere, or are replicated poorly. You can kinda fake it with NT but sometimes you get a permission denied message. And you never really know if the app was signalled before it died.

    There's also a design philisophy that says build small, reusable tools and make it easy to attach them together.

    Finally, there's access to hardware at a much lower level than with competitors.

  194. Re:Xenix by jxxx · · Score: 1

    IIRC, MS lost it's UNIX producing rights (not the TOG sort) when it sold Xenix to SCO. Oh yeah, I dont think that TOG cares what you call Unix, as long as you give proper note, payment, etc to UNIX(TM)(R)(etc)

  195. Re:LINUX IS LEGALLY NOT UNIX!!!!!!!!!!!!!!!! by jxxx · · Score: 1

    Im guessing you've never tried to port a large program. Just because there is a common language does not mean that porting is a non-issue. While it may be ideal that every program that is written in C sticks to ANSI functions and syntax, sometimes this isn't convenient/efficient/interesting. So you probe in system specifici functionality. For an example of this, there the dldump() function in Solaris. To go a step further, some systems support concepts that don't quite mesh with C. String handling in VMS. Or, you could come across difference of opinions with C compilers. I've written code that GCC would handle without so much as a single warning, that the MIPS Pro compiler (SGI) would refuse to compile. The existance of a program on two platforms does not mean that they came from the same code, or use the same general implementation.

  196. Re:Windows NT 3.1 marketing by mr · · Score: 1

    Users, sure.

    But the VAR crowd who used SCO were approached.

    --
    If it was said on slashdot, it MUST be true!
  197. Re:It's "Unix" if it has the 'x' sound it it's nam by mr · · Score: 1

    It is nice to know that such informed knowledge makes the backbone of the /. community.

    --
    If it was said on slashdot, it MUST be true!
  198. Windows NT 3.1 marketing by mr · · Score: 1

    How many remember:

    Windows NT 3.1 will be a better Unix than Unix?

    How that same maketing material was saying the idea of having a big sever serving you graphics (like X) was dead due to PC's?

    And, how having the graphics outside the kernel would add stability to NT?

    Anyone have some of this old add copy?

    --
    If it was said on slashdot, it MUST be true!
  199. Re:NT not Unix, though A/UX was much closer. by flawed · · Score: 1

    Yeah, right. And everyone running a Unix server
    is told not to run an X11 server on it.
    Where's the difference?

  200. Re:File System by dzerkel · · Score: 1

    ...among the most beautiful device abstraction layers ever built.

    Actually, I would nominate Plan 9 for "most beautiful device abstraction". There is a lot of stuff that came along after the initial development of UNIX that just doesn't fit the original scheme and are not accessible like a file. For instance: network sockets, shared memory, semaphores, and message queues.

    Unfortunately, the days of "everything looks like a file" belong to a much simpler time when all UNIX was doing was calculating satellite orbits. Now, you could make the argument that it is time for a more inclusive abstraction, but it would fall on deaf ears because it "isn't UNIX."

    Hopefully, in the long term, being UNIX-like will not stifle the advancement of highly general systems forever.

    --
    "What's the point of going abroad, if you're just another tourist..."
  201. Re:MS Unix by jmp100 · · Score: 1
    Let's get down to brass tacks here. How much for the ape?

    :)

  202. Nope. by Kinthelt · · Score: 1
    IIRC, what makes a brand of Unix, Unix... Is the source code has to descent from the original Unix for the PDP-7. So such variants as Linux are *NOT* considered Unix. As well, I believe the word Unix is copyrighted, and owned by AT&T (somebody tell me if I'm wrong?).

    Just because you have some shells and a kernel does not mean you're running Unix. It just means you're running an OS.

    --

    "Evil will always triumph over good, because good is dumb." - Dark Helmet (Spaceballs)

    1. Re:Nope. by Vanders · · Score: 1

      So such variants as Linux are *NOT* considered Unix.

      Wasn't Linux descended from the MINIX source code? And wasn't the MINIX code in turn descended from the Unix source code? Guess that mean Linux is a Unix OS. Oh well.

    2. Re:Nope. by Doug+McNaught · · Score: 2
      Wasn't Linux descended from the MINIX source code?

      No. Linux was written from scratch. The Minix FS was the first filesystem supported, which accounts for the mistaken impression in your post.

      -Doug

    3. Re:Nope. by Guy+Harris · · Score: 2
      IIRC, what makes a brand of Unix, Unix... Is the source code has to descent from the original Unix for the PDP-7. So such variants as Linux are *NOT* considered Unix. As well, I believe the word Unix is copyrighted, and owned by AT&T (somebody tell me if I'm wrong?).

      OK, you're wrong.

      UNIX is a trademark of The Open Group; it used to be a trademark of AT&T.

      At least at one point when it was a trademark of AT&T, to be able to use that trademark for your software it had to be based on System V (which contained not a line of code descended from PDP-7 UNIX, given that said PDP-7 UNIX code was almost all if not all PDP-7 assembler code; it may have been philosophically influenced by it, but, well, so was Linux and the userland code put atop it...), with the only changes being those necessary to port to the hardware on which it ran.

      However, now, you can get a license for the UNIX trademark if you pass one of The Open Group's test suites, even if there's not a line of System V-derived code in your OS.

      And I consider Linux to be a flavor of UNIX, in the sense that, when I log into a Linux system, and when I develop code to run on (among other platforms) a Linux system, it feels as much like using or developing code for some AT&T-derived UNIX as using or developing code for one of those AT&T-derived UNIXes feels like using or developing code for another of those AT&T-derived UNIXes.

      I tend to consider the sine qua non for being "real UNIX" to be the administrative interfaces, in that UNIX-compatible or UNIX-like environments atop other systems don't change the way you administer those systems, so it's still significantly different from UNIX, but administering a Linux system feels much like administering an AT&T-derived UNIX system (heck, on most Linux distributions, the rc files are more like System V than are the rc files on the ultimately AT&T-derived BSDs...).

  203. Re:NT not Unix, though A/UX was much closer. by KeithT · · Score: 1

    I thought that they were told not to run a screensaver because it steals system resources.

    Instability of kernel-mode drivers is really a key cause of BSOD's, which is why one would be a fool to run an NT server at anything above VGA.

    --

    "The best way to do mathematics is to be creatively lazy." -I. M. Isaacs
  204. Unix is a Philosophical system: it has principles by aphor · · Score: 1

    I read a good book that helped me in the Unix learning curve. Unix is a system that adheres to principles, and is descended from the Original AT&T project.

    BOYCOTT AMAZON

    • The UNIX Philosophy
      by Mike Gancarz
      ISBN: 1555581234
      Butterworth-Heinemann 1994
    --
    --- Nothing clever here: move along now...
  205. Re:It's "Unix" if it has the 'x' sound it it's nam by michael.creasy · · Score: 1

    The X-Box must be unix then.

  206. Re:Portability? POSIX! by z80 · · Score: 1

    As far as I know - isn't NT supposed to be Posix compliant ? I am yet to see any Posix-compliant software to be used with NT 4 though...

    --
    -- http://z80.org - all opinions, all the time --
  207. Re:That's technically not true by overcode · · Score: 1

    Don't forget to change the corresponding entry in /etc/shadow, or you'll be locked out :)

  208. Unix 98 anyone? by asink · · Score: 1

    Duh. The Unix 98 standard. You can yak all you want, but Unix is defined by it's interfaces. Why is this question on slashdot?

    --
    "Hex, Bugs, and Rockn'Roll"
  209. QNX is not UNIX by aat · · Score: 1

    QNX is not UNIX in the sense that it was not derived from the original UNIX operating system
    or based on its spec (i.e. Linux). QNX is a Real Time Operating System which has a UNIX-like
    interface, in the manner that BeOS has a UNIX like environment and possibly POSIX compliance,
    in order to simplify the porting of programs.

    1. Re:QNX is not UNIX by bevonovo · · Score: 1

      I think you meant "e.g. Linux" as in "a free example [exemplum gratis] (pause) Linux" not "i.e. Linux" as in "that is [id est] Linux"

  210. Re:If it looks like a duck and quaks, it's a duck by webrunner · · Score: 1

    Are binaries compiled for a BMW compatable with a Honda?

    ----
    Don't underestimate the power of peanut brittle

    --
    ADVENTURERS! - ANTIHERO FOR HIRE - CARDMASTER CONFLICT
  211. LINUX IS LEGALLY NOT UNIX!!!!!!!!!!!!!!!! by Wolfpack+Commander · · Score: 1

    Legally, UNIX is anything that follows the AT&T System V UNIX code.clone of existing UNIX.

    Technically, we include BSD, because it follows the UNIX code before System V.

    Linux is neither System V nor BSD, it is a

    Linux is a UNIX in a very technical sense.

    Programs written for one flavor of UNIX typically cannot be ported to another without considerable effort.

    HUH?!?! It is hard to port C code?!?! I thought I saw the program "ls" on both Solaris and HP-UX!

    The features offered by the different implementations vary widely: some are more secure than others, some cluster better than others, some offer journaling file systems, some are more robust. The differences between the different kinds of UNIX seem to be as great as the differences between any particular implementation and other OSs.

    Did you attend some stupid marketing seminar on UNIX or something????

    1. Re:LINUX IS LEGALLY NOT UNIX!!!!!!!!!!!!!!!! by mklinux_dude · · Score: 1

      Would you please watch your cases?! Unix is not the same as UNIX. UNIX is trademarked by AT&T (and now someone else). Unix is a generic term. Unix encompasses SVR4-based UNIX, BSD-based UNIX, and Linux.

  212. Re:The real definition by miles+zarathustra · · Score: 1


    Another way to tell is that the frickin' number pad keys never work! (eg. in Netscape)

    The 'number pad' grid a much more sensible layout of up-arrow, page up, home, end &c than the one in the middle of the keyboard, and apparently the X-windows keyboard abstraction layer forces developers to explicitly activate them, which apparently many are too lazy to do. (or maybe they're mac users)

    Making keys with the same markings implicitly identical (as they appear to be on the keyboard) is one thing micro$oft did right.

  213. Interesting quesiton... by knowfear · · Score: 1

    I think being Unix has a lot to do with it's roots, it's look, it's feel, and the tools available. For example, they all have similiar file systems in regards to structure and permissions. Many basic concepts as these exist in all the unix flavors.

  214. Re:Xenix by Tralfamadorian · · Score: 1

    A Similar thing happened to me. Although the computers were running windows 95, I installed linux on a couple of them, and we played network hunt for the duration of the class. I knew the sysadmin, so he didn't care about the systems having linux on them.


    He who knows not, and knows he knows not is a wise man

  215. Re:It's "Unix" if it has the 'x' sound it it's nam by mklinux_dude · · Score: 1

    "Unix" is not an OS, it is a family of OS's. "UNIX" is AT&Ts SVR4 (and older) versions of Unix. Solaris/SunOS sure is Unix, it's based on SVR4, and the BSDs are based on Berkley Unix. Linux is a mix of SVR4 and BSD Unix-like things, but it's more based on SVR4.

  216. Re:NT not Unix, though A/UX was much closer. by GenCuster · · Score: 1

    I read the book, they are told not to enable the screensaver because it may crash the system. It may required things from the display adapter driver.

    This is due to the movement of the display adapter to the kernel. They also recomend you only use a 16 bit color, display adapter (640 * 400); because it was written by some NT Guru. They claim any other adapter driver will "put your system in serious danger of crashing in the near future." If they can't right bug free display adapter drivers no wonder they can't right stable kernels.

    Nate Custer

    --
    "The poet presents his thoughts festively, on the carriage of rhythm; usually because they could not walk" Nietzsche
  217. Re:Actually.. by GenCuster · · Score: 1

    No! a majority of the instability in Win32 has to do with poor device drivers. This is due to poorly documented API's. So why do you want to add that instability to Linux?

    Nate Custer

    --
    "The poet presents his thoughts festively, on the carriage of rhythm; usually because they could not walk" Nietzsche
  218. Re:NT not Unix, though A/UX was much closer. by bevonovo · · Score: 1

    We used to have a group of Mac Quadra 700s running A/UX and a suite of applications we'd created for news wire stuff. We wanted to stick with Apple hardware when they switched to the PowerPC, but we were told to transition to IBM's AIX (the RS/6000 boxes with the PowerPC 601). I believe Apple even sold a server for awhile with AIX on it.

  219. Re:Dundant:The secret is "X" by yerricde · · Score: 1

    This argument (named "*X" means UNIX&reg-like) has already been made here. It would classify the Windows® CE-based X-Box console from Microsoft as a Unix system.

    --
    Will I retire or break 10K?
  220. Re:It's "Unix" if it has the 'x' sound it it's nam by yerricde · · Score: 1

    Actually, Linux-based systems are GNU systems; GNU's not Unix (NetBSD is stealing this tagline).

    Mac OS 10 has a BSD-heritage public-source kernel called Darwin and can be spelled with an X; does that count?

    I'd say any system with multitasking, multiuser, devices with filenames (/dev/*), full POSIX compliance (refer to the Single UNIX® Spec available from the official Unix site), etc. could be called Unix-like.

    --
    Will I retire or break 10K?
  221. Re:It's "Unix" if it has the 'x' sound it it's nam by yerricde · · Score: 1

    If the X-Box is a Unix-like system, that would make Windows® CE a flavor of Unix. Actually, Windows 9x and NT almost are, thanks to Red Hat's Cygwin port of GNU and (to a lesser extent) the minimal GCC for Windows.

    freepuzzlearena was made with DJGPP, the DOS version of GCC. freepuzzlearena is not Tetris.
    --
    Will I retire or break 10K?
  222. Re:Microsoft UNIX NT by yerricde · · Score: 1

    You should go get Cygwin (look for it on Google). You'll have a good time, as Cygwin emulates Unix on Windows NT (also works on 9x but crashes a bit more).

    --
    Will I retire or break 10K?
  223. Re:Portability? POSIX! by yerricde · · Score: 1

    Heck, you can get POSIX in DOS through the C libraries in DJGPP, a port of the GNU C++ Compiler to protected mode DOS.

    I get paid to read /.; why don't you?

    --
    Will I retire or break 10K?
  224. UNIX Specifications by roman_mir · · Score: 1
    A UNIX System must meet the Unix specifications:

    Unix is a trademark but in order to qualify to be known as a Unix system the vendor must comply with the specifications above.

    In its core Unix is not about proprietory software

    Unix is about Open Standards (not the same as open source) for system interfaces, network components, thus MS can not really build a Unix system unless they comply with the specifications.

    UNIX is not about any single piece of code, not even the kernel. However Unix is about paradigms for networking, code execution, file system management, user utilities.

    UNIX is not GNU.

  225. in a former life, i used MKS. by small_dick · · Score: 1
    MKS(Mortice Kern Systems?) made my life more livable in a previous job where i was forced to use microsoft products.

    we just installed their stuff on the NT boxes, opened command windows, and off we went.

    management could strut around the building, proudly rapping off the lines they read in "PC Week" (or whatever) about "lowered TCO", and we ended up with a system that was somewhat as reliable as true unix, we just had a frequent reboot schedule to keep the machines stable.

    kind of a lose-lose situation...but hey, i was outta there at the first convenient point in time.

    by the way, i don't dislike microsoft because of quality issues or the interface, i dislike all things microsoft because they have over 33% market share of a powerful industry -- their 90% market share was achieved by violating a number of state and federal laws.

    i hope any settlement takes this into account, and has logic that will drop them to a more reasonable market share, as punishment for their behavior. you and i can't drive 90 on the freeway, so bust 'em down. that's part of the government's function -- enforcing the law, and preserving the common good.

    --


    Treatment, not tyranny. End the drug war and free our American POWs.
    See my user info for links.
  226. Re:Portability? POSIX! by HalB · · Score: 1

    NT may have earned POSIX compliance through some loophole, but you can't run vanilla posix unix programs as is, there are a lot of implementation details that are different in NT that sneak up on you and bite you.

    For instance, you can't do socket I/O without calling some socket init functions that you don't have to do in unix.

  227. They can be called unix because... by ejbst25 · · Score: 1

    root=power on every machine.

  228. Re:NT not Unix, though A/UX was much closer. by Haileris · · Score: 1

    If I remember correctly, the screen saver is started in the system context in NT. The screen saver then switches to the user context. I think this was solved in Service Pack 329078 or something similar :) (probably 6) I did see a patch our for it. Mind you, I doubt that was the reason why they told MSCE students not to use it. Everyone starts putting Big ass 3d graphics and the cpu utilisation zooms up to 50% right off the bat!

  229. Re:Amiga ixemul.library by root:DavidOgg · · Score: 1

    My memory of the Amiga has faded severly in the past 8 years, Maybe I'll try and find an old Miggy and try this out.

    --
    --AROS is an Open Source AmigaOS clone, and source compatible with AmigaOS! Try the x86 build at http://www.aros.org
  230. Re:The smarter... by tjgoodwin · · Score: 1

    I think you're having a neurological meltdown. WNT borrows some ideas (but not code) from VMS. But what on Earth makes you think VMS is a "true Unix"? I can't think of anything in VMS that is remotely like Unix...

  231. It's the Kernel by Dungeon+Dweller · · Score: 1

    The original UNIX kernel was written in bell labs. The most direct descendant of this kernel is the UNIX system V kernel, which has been widely used since before I was born. The other true UNIX kernel is BSD (Berkely System Distribution), which was written based directly on the same kernel as System V is. There is the BSD compatibility package which allows for unification of BSD with the System V implementation. These 2 distributions are very compatible.

    The free/open/net/etc BSD's run off of the BSD kernel.

    UNIX untilities can be aquired from the gnu project, which is another operating system, which is UNIX compatible, but it is a CLONE operating system.

    LINUX is another kernel, and another operating system as such, but can run all of these UNIX utilities, and is used compatibly with UNIX.

    There are others too...

    If we want to go back to UNIX's older cousins, we can get into MULTICS and other such operating systems.

    When it gets right down to it. A UNICE is any operating system that uses these classical commands from the history of computer science. They are still in use because they make sense. They are quite simply, the most basic and most perfect way to run a computer, but UNIX is the kernel.

    --
    Eh...
  232. Windows Services for UNIX by Pontiac · · Score: 1

    Microsfot my not be offering Unix but they sure are working at providing access and control.
    go check out the features in Windows Services for UNIX .
    Do you want some NT head to administrate your Unix Boxes?

    Pontiac
    Got Beer?

    --
    If you think it's expensive to hire a professional to do the job, wait until you hire an amateur. --Red Adair
  233. OpenVMS? by D_Gr8_BoB · · Score: 1

    By this definition, the latest versions of Compaq's OpenVMS could be considered a UNIX. Although shell tools do not ship standard with VMS, they could likely be ported without too much trouble. And yet I can't quite bring myself to consider a VMS system to be UNIX...

    And 'mid this tumult Kubla heard from far
    Ancestral voices prophesying war!

  234. Re:MS Unix by MythosTraecer · · Score: 1

    Seriously, while you're at it, you should ask exactly what Windows is. It's in the same boat - there's several flavors of a single OS that really don't have much in common. Windows CE and Windows NT don't share much except a start button, when it comes down to brass tacks.

    We can also ask just exactly what CE is, since the soon-to-be-out-don't-call-it-CE Pocket PC platform is radically different than the CE of today.

    --

    --Mythos
  235. Cygwin by gizz_butt · · Score: 1

    Apart from the fact that Windows NT has a POSIX subsystem (which I dont think anyone really uses), most of the GNU Unix like stuff has been ported to Windows as part of the CygWin project.

    http://sourceware.cygnus.com/cygwin

    1. Re:Cygwin by redhog · · Score: 2

      I once attempted to compile sshd under cygwin. Unfourtunately, I didn't manage to get it working for some strange reason I've now forgotten... However the client works fine...
      --The knowledge that you are an idiot, is what distinguishes you from one.

      --
      --The knowledge that you are an idiot, is what distinguishes you from one.
  236. NT *is* Unix... by -benjy · · Score: 1
    Here is my favorite Gates quote. He said this at the 1993 PC Expo.

    "In a short time, it will be the most popular form of Unix ever. Windows NT will outsell those other incompatible versions of Unix."

    -benjy

  237. Re:Microsoft UNIX NT by bangpath · · Score: 1

    When the hell did that matter? Like so many of us are actively writing in POSIX compliant C. Duh. Please stop before you give me a headache.



    --
    *** Stop trying to be cool. ***
  238. VMS == NT ???? Not as far as I know. by cvillopillil · · Score: 1

    The guy who lead the NT project, I believe, was the same guy who desgined VMS, Dave Cutler. But I've yet to be presented with any literature which indicates that NT resembles VMS. If you have any concrete evidence of this, please use it to back up this statement. Anyway, I don't think you realize how good VMS actually is. It's been stated by many people that VMS is actually mroe stable than most Unixen. Of course, even my female collie could tell you that most people who claim their preferred platform is stable are simply showing favouritisim to their preferred platform. Nothing more, nothing less. At the corporation I work for we run several platforms. NT is one of them. I set up an NT/Apache server on it in June 1999. Admittedly the load wasn't great, it's internal and only serving ~30 people. It didn't crash until earlier this month. And that was mainly due to the fact that I installed the ACT server on it. The MMX200/64MB RAM apparently can't handle 20 requests to an ACT database. But even my female collie realizes the point here.

    Mark Villopillil

    --
    no sig
    1. Re:VMS == NT ???? Not as far as I know. by cvillopillil · · Score: 1

      I don't even know why I'm replying to this ridiculous post. If that's the case, then I guess that:

      VMS == UNIX. (Take the V back, take the M forward, gives you UN, take the top part of the S and turn it around, to for an I, take the rest of the S and put it on its side, forming an X). That's it, VMS == UNIX.

      Darn, what logic some of these ACs have.

      --
      no sig
  239. Re:Xenix by JDax · · Score: 1

    Nope. "One", i.e. Microsoft, didn't "port all the standard command line utilities to NT, clone one or two of the popular shells, set up the directory structure in the standard UNIX layout and call it Microsoft UNIX",

    Heh heh. &nbsp I was wondering how long it would take before someone caught that. &nbsp Xenix came out way before NT.

    ;-)

    --
    -- Win2k: "It's not so much that it's only 65,000 bugs, it's just that they stopped at 65,535 to prevent an overflow."
  240. Re:Microsoft UNIX NT by Zadok_Allan · · Score: 1
    Hmm, NT has a lot of UNIXisms beneath the surface, for instance it HAS a /dev directory, just calles \\.\devices, for some reason inaccessible through the Win32 subsystem. It even has symlinks. But just because Win32 doesn't have them they are hidden in the mostly undocumented "native API".

    Hmm, did you ever notice, that the way you manage users is completely undocumented and merely impossible with the Win32 API ?

  241. Re:NT not Unix, though A/UX was much closer. by Zadok_Allan · · Score: 1
    The big problem is that the default setting NT Server 4.0 is "Give Foreground Application Highest Priority". (Why is this the default on NT Server? Who knows.)

    Hmm, one of these subtle differences between the server and the workstation is, that you can disable this on the server. What you can't change that easy is the quantum time (the time a process has the CPU until it switches to the next one), on the workstation these quantums are short and foreground apps get longer ones, the server gives all processes the same quantum length but much longer than on the workstation.

  242. Re:No it isn't by Zadok_Allan · · Score: 1
    ven with seamless remote access, NT isn't UNIX. If you don't believe me, try to compile a hello world UNIX program on NT.

    Well, no problem there. Even MSVC understands ANSI C.

    OK, now try adding SYS V IPC.

    That's a problem.

    Now try adding some APIs like curses and X11. Both exist for NT. Even the Open Group's X11R6.4 distribution contains client libs for NT.

    The main diff is that NT is win32 based and UNIX isn't.

    No. NT is not Win32. NT is built up like a mainframe operating system (eg. OS/390), it has a largely undocumented kernel which hosts some different subsystems that actually run userspace programs. NT has many such subsystems - Win32 is only one, the others are DOS, Win16 ( ok, they share one subsystem ), OS/2 ( yes, NT can run command line OS/2 apps, so installing Warp4 from NT is much easier than from Win9x since the OS/2 program that writes the bootdisks runs under NT ) and a more or less crippled POSIX subsystem with a few UNIX tools you van download from microsoft when you manage to find the package (rather painful). Funny enough: the POSIX subsystem sees both, long and 8.3 filenames with the 8.3 names as symlinks to the long ones :-)

  243. Re:what is unix? by Zadok_Allan · · Score: 1
    Why couldn't you compile and load a driver under NT? Just because you don't have the control or option to do so currently doesn't mean it's not possible.

    You can. Ever tried Control Panel / Devices ? You can load and unload device drivers at runtime ( for the kernel they are just special services... ) but unfortunately most 3rd party device drivers ( which arent ? :-( ) don't support that. But the API exists...

  244. The family of Unix by yipper · · Score: 1
    In my experience, porting between competing flavors of Unix isn't that hard. The C library, system calls and general environment are pretty much standard.

    You run into problems with directory structures, different styles of terminal handling, threads, some parts of IPC, and the sys admin tools for managing hardware.

    But everyone has fork(), exec(), sockets, select(), etc. Posix and ANSI C keep things pretty generic.

    Someone who programs for AIX can do HP-UX without much trouble. Much easier than going from AIX to VMS,Windows, or NT.

  245. Re:Unix cannot be defined as a single thing by bertilak · · Score: 1

    The exact quote is "Unix, by contrast, is not so much a product as it is a painstakingly compiled oral history of the hacker subculture. It is our Gilgamesh epic." which can be found on page 88 of Neal Stephenson's IN THE BEGINNING ... WAS THE COMMAND LINE

  246. Portability? POSIX! by pjc50 · · Score: 1

    There's a standard called POSIX which defines just what the core of UNIX is, including the C library, file handling, the sockets interface, that sort of thing. Most programs are portable - and autoconf smooths over the differences where they matter. Just ask the GNU people how they make all the GNU tools portable (they aren't just for Linux!)

    On a different note, UNIX has a "philosophy": everything is a file, programs are small components connected with pipes, configuration information is stored in readable editable text files, the shell is programmable, etc.

    1. Re:Portability? POSIX! by Guy+Harris · · Score: 2
      There's a standard called POSIX which defines just what the core of UNIX is, including the C library, file handling, the sockets interface, that sort of thing.

      There is a set of standards called POSIX, and the core POSIX API standard, IEEE 1003.1-1990, sockets are not specified.

      There's another 1003.x standard group that is, I think, working on standardizing a low-level network programming API, but I don't think it's a final standard yet (and it may get swallowed up by the Austin Group work mentioned in the next paragraph).

      The Austin Common Standards Revision Group

      is a joint technical working group established to consider the matter of a common revision of ISO/IEC 9945-1, ISO/IEC 9945-2, IEEE Std 1003.1, IEEE Std 1003.2 and the appropriate parts of the Single UNIX Specification.

      and it appears that standard will contain a lot of stuff not in 1003.1, including networking interfaces such as sockets.

      The point here is that there's more to UNIX than just POSIX; there are API not standardized by POSIX but that are (more or less) common to many UNIX-flavored OSes and that are important for many applications.

    2. Re:Portability? POSIX! by Abigail-II · · Score: 2
      On a different note, UNIX has a "philosophy": everything is a file,

      Except of course that not everything in Unix is a file. That's Plan 9. If everything was a file, you would not have open and pipe and socket with friends. If everything is a file, you'd have one API. Unix doesn't.

      -- Abigail

  247. Re:Actually.. by pjc50 · · Score: 1

    My Linux machine claims "POSIX conformance testing by UNIFIX" when it boots, and I think it's had this for a few years now.

    As for binary compatibility, this gets less important all the time as more people use platform-independant languages like Perl, Tcl and Java. And it doesn't matter about binary compatibility if you've got Open Source.

    Transmeta have technology which basically decompiles programs for the x86 architecture and recompiles it for their own processor, dynamically, while it's running. Sooner or later, if people want binary compatibility, someone's going to write a good open-source decompiler.

    I'd like to see something like WINE for drivers, actually - use windows drivers in a linux system, for all those noname NDA-ridden devices.

  248. UNIX is ... by AnswerGuy · · Score: 1
    • A clearly defined kernel/user space interface
    • A set of system calls --- handled by the kernel
    • An API which relies on fork() to spawn new processes
    • Mountable and unmountable filesystems
    • Ownership and Group Associations for processes, files and some other resources (octal modes for files and directories)
    • SUID and SGID meta data on some files as a way to delegate privilege across security contexts
    • Abstraction of most devices (including established network sockets) as "files"
    That's just a start. No repackaging of NT will really make it into "UNIX" because there are several mechanisms on this list that it implements in a fundamentally different way.
  249. *nix is *not* Windows by irjvik · · Score: 1

    If you want to "make" a *nix Windows, where will you find the source code ?
    ./configure and make are the best friends of an unix/linux user.
    *nix is liked by programers,as it has a *good* compiler within.
    Found a bug in the kernel ? You can modify it by yourselves.
    Never saw anything like this in Microsoft's products.

    ----------------

    --
    ----------------
    If Internet is Freedom, Linux is Democraty
  250. What makes UNIX UNIX... by system5 · · Score: 1

    In my opinion, the clear and robust process model, which no other OS has ever been able to implement as well, is the major factor. Along with that, the file model - how everything has a polymorphic interface based on file descriptors - very cool, makes programming very simple. IPC is great - many forms to choose from, very simple to use, especially pipes. I guess the common thread in all these aspects is simplicity - it is really amazing how UNIX systems can abstract such complex functionality into such simple APIs - I have never worked with another OS capable of such a feat. Today's models tend to be overarchitected, but not UNIX. The architecture is simple and robust, yet modular and interchangeable enough to stand the test of time. It's amazing how a 30+ year old operating system can still power most of the computers on the Internet and the WWW, which is what we consider today to be the most state of the art area of computer software. Whether it's BSD, SVRx, Linux, or any other member of the UNIX family, it still shares these fundamentals which make it 'UNIX.'

  251. Porting is simple... by system5 · · Score: 1

    By the way, well written software is inherently portable, especially among UNIX family operating systems. There is very little work to do if the code is written right, to use portable APIs, data types, etc. Conceptually, UNIX operating systems are all quite similar, so if you stick to portable tactics and take advantage of these simple concepts, you will have no problem porting code. Especially today, when you can even standardize development tools (using GNU tools) across any platform, that really makes life easy.

  252. M$UNIX by Dr.X · · Score: 1

    Mmmmmm...UNIX with a registry.

  253. things that make UNIX UNIX by amackay · · Score: 1
    here are some things that make a UNIX true:
    • unified name space starting at "/", almost everything accessable through the file system
    • unified socket/file/pipe space, they are all files, none of this handle crap
    • true tty interface, X is not UNIX but to be UNIX you need a real tty, NT definitly fails hard here
    • true posix signal handling, the ability to send a process a SIGSTOP and have it ... stop! try that on NT
    • stuff is put where it should be, such at the kernel file cache, an application shouldn't have to deal with it
    • reliable filesystem, under UNIX your file system is trustworthy, under windows you have to be prepared at any time for it to die (such as smb shares do all the time)
    • real filesystem, true symlinks (not files that end in .lnk for christs sake!), hard linking, link -> inode genericy (ever wonder why windows was so much faster at recursive directory tree spanning? it is because the equivilent to readdir() tells it if it is a directory or not, no stat() needed, sure speed is nice but you loose the power and flexability of a generic link, BeOS handles this problem very nicly but being smart about creating files)
    • based on C, C is the common language of UNIX, like it or not
    I would say that you could live without hard links (like BeOS does) but you need symlinks.
    I am not saying that BeOS is a UNIX, it isn't but it has some of the criteria (and some other cool stuff that I wish all unicies had)
    windows NT/2000/10000 is not UNIX and never will be.
    Angus.
  254. NT not Unix, though A/UX was much closer. by Anonymous Coward · · Score: 2
    Sorry, in NT, the GUI is just too intertwined with the underlying OS. It's a Windows/Unix hybrid. Neither one nor the other. Too many things are running with the equivalent of root that shouldn't; thus destroying the advantages of process independence and protection of privelege from non-superuser's tasks inability to severely mess up the running OS. That MS actually teaches its MSCE students "not to enable the screensaver" in NT only proves this. Simple Unix services like being able to telnet in to a shell and do remote administration with even the the stock OS (no, add-on remote admin tools don't count).

    A/UX, on the other hand, was a true Unix OS at the core with the "Macintosh" shell running on top of it. I really liked A/UX. Whatever happened to it? When did Apple officially abandon it?

    1. Re:NT not Unix, though A/UX was much closer. by TheGreek · · Score: 2
      They also recomend you only use a 16 bit color, display adapter (640 * 400); because it was written by some NT Guru.

      Clarification: Unaccelerated 16-color (4-bit), 640x480. In other words, base VGA.

    2. Re:NT not Unix, though A/UX was much closer. by witz · · Score: 2

      Actually, having worked with NT systems for 3 years, I can say that hardware/driver issues cause most BSODs I have seen. Bad/flaky/subpar RAM is the most frequent cause of intermittent BSODs. I've got 25+ Proliant 1600R NT servers in my network, all running in 800x600x64K with a Cirrus video card, and not a single BSOD from any machine. Ever. So I'm a fool?

  255. It's "Unix" if it has the 'x' sound it it's name! by Anonymous Coward · · Score: 2
    Therefore the following are official 'unix' flavors:

    Unix.
    Linux.
    Ultrix.
    Irix.
    Miltics. (variant spelling, but has the same 'x' sound)
    Xenix.
    even A/UX.

    Because the following have no 'x' sound, they are mere Unix wannabees or early protozoan forms thereof, and not True Unix Clones at all.

    Windows NT.
    SunOS/Solaris.
    BSD/NetBSD/FreeBSD.

  256. NT branded Unix by KMSelf · · Score: 2

    NT qualifies under UNIX98 branding as a Unix system when running the compatibility overlay previously known as Interix/OpenNT. Covered in this ZDNet article. MVS has also qualified for Unix branding, IIRC.

    Not that I think of NT as Unix.

    What part of "Gestalt" don't you understand?
    Scope out Kuro5hin

    --

    What part of "gestalt" don't you understand?

    1. Re:NT branded Unix by Guy+Harris · · Score: 2
      NT qualifies under UNIX98 branding as a Unix system when running the compatibility overlay previously known as Interix/OpenNT. Covered in this ZDNet article.

      They don't seem to be listed on The Open Group's page listing UNIX 95-branded products, but I don't know if that page lists everybody who got the brand (that being the brand the ZDNet article says they went for).

      It is, however, from the stuff on Interix on the Interix Web site, a lot more UNIX-compatible than is the native POSIX subsystem on NT.

      MVS has also qualified for Unix branding, IIRC.

      Well, OS/390 did, but "OS/390" is just the latest in the series of names assigned to various descendants of OS/360, MVS being an earlier such name for the descendant that's now OS/390.

  257. The Single UNIX Specification! by Kaz+Kylheku · · Score: 2

    Formally speaking, what makes a UNIX system is adhering to the spec which defines UNIX.

    A draft of this is available online and makes a handy reference.

    The Single UNIX Specification covers not only the library and system call interfaces, but also the shell commands and utilities, including the command language formerly known as Bourne. ;)

    Of course, what we actually understand as UNIX is deeper; one cannot understand what UNIX is outside of the surrounding computing culture.

  258. Re: QNX by tzanger · · Score: 2
    The Icons ran an early QNX????

    Yup. I've got one. Hardware is an 80186-based system (more embedded computer) with some kind of weird-ass token ring network. I contacted QNX for information about these systems, as I have done with Unisys but neither was able to help. Is there anyone here with hardware information on those old Unisys ICON computers? I have a few I'd like to play with...

  259. Re: QNX by tzanger · · Score: 2

    These I believe were ICON 2's (80186 computer, Arcnet-type network, diskless. Color screens with blue background.

    The teachers watched us *very* closely with those things. I remember getting in shit for trying to get to a prompt...

  260. What makes a Unix? POSIX. by Gus · · Score: 2
    After the official rights to Unix were given to the OpenGroup by SCO, any operating system that could pass the POSIX tests could be legally branded. This is a change from the bad old days when only products licensed form the official copyright holders could be called Unix - Solaris was licensed from AT&T originally, so it could call itself Unix; HP-UX was implemented independently and could not call itself Unix. Thankfully, those days are over.

    As for making WIndows NT into a Unix, it's already been done; for a while it was being sold as Open NT. Essentially, Windows NT has the capabilityto have different subsystems; the 16 bit Windows 3.1 compatability stuff is one, the Win32 level another. By adding a complete POISX subsystem, Windows NT can be considered Unix. Bill Gates was once quoted "In some ways, NT is a Unix". For more on the history of Unix, I recommend the book A Quarter Century of Unix by Peter Salus, the USENIX bookworm. It has an excellent explanation of the geneology of Unix and Unix-alike systems.

    --
    --Gus
    1. Re:What makes a Unix? POSIX. by Guy+Harris · · Score: 2
      Solaris was licensed from AT&T originally, so it could call itself Unix; HP-UX was implemented independently and could not call itself Unix.

      Umm, as far as I know, HP-UX, at least on the 68K and PA-RISC machines, is ultimately derived from AT&T UNIX (there was one other box they made with a UNIX built atop some special kernel they did, on a processor that was neither a commodity processor nor a PA-RISC processor - but even there I think most of the userland stuff, at least, was probably derived from AT&T UNIX), as is Solaris (and Solaris is, as far as I know, far from just being vanilla SVR4).

      As for making WIndows NT into a Unix, it's already been done; for a while it was being sold as Open NT.

      And now it's being sold as Interix.

  261. Re:My highly subjective opinion by acb · · Score: 2

    1.The file system interface. By this, I mean inodes, ugo/rwx permissions, and a single hierarchy rooted at "/".


    A number of non-UNIX OSes have borrowed this paradigm (INMOS's Helios and Be's BeOS are two examples; many real-time OSes also borrow from UNIX here).


    2.There is one user (root) that has full access to the machine; all other users are limited to a small "sandbox"

    Some secure unices eliminate the omnipotent root user and compartmentalise privileges further.

    Other indicators of an operating system's UNIXness would be:

    • The system call API. The more it looks like POSIX, BSD or SysV the more UNIXy something is. In general, if it doesn't have UNIXlike calls for file operations, process management, &c., it's not a real UNIX.
    • The everything-is-a-file paradigm as mentioned by another poster; under UNIX devices are files, accessed with file I/O calls, mmap() and ioctl(). Lesser systems such as Windows and MacOS have a bizarre custom API for each set of operations (raw disk I/O, sound I/O, console I/O, etc).
    • Further from the field of system design and into the realms of abstract philosophy and user interface, a fundamental characteristic of UNIX is that you can perform complex tasks by using many simpler components in cooperation (i.e., shell scripts and command pipelines). Contrast this with Windows, where the norm is huge, monolithic applications, each with a defined range of operations.
  262. Re:Microsoft UNIX NT by dattaway · · Score: 2

    The way I recognize if something is Unix, is through its boot sequence. If I can see the familiar, kernel, init, Sys V, etc., then I feel right at home. Granted the GNU utilities can be added to NT, but the low level interface of NT is just plain different and looks like some green alien from outer space. Where is /dev, /etc? How do you easily change the services by writing to a text file? Can I pipe stuff around between devices and files? I just can't imagine NT as a Unix, except for a superficial shell and utilities.

  263. Why POSIX isn't enough to be called "UNIX" by tangent · · Score: 2
    "POSIX" is a good start towards being a flavor of UNIX, but it's not enough.

    Via its Interix purchase, Microsoft now has the technology to make Windows NT/2000 totally POSIX.1 and POSIX.2 compliant, complete with X Windows! A free alternative to that is Cygnus's Cygwin environment, which is a complete port of the GNU tools (POSIX.2), along with an API layer that translates POSIX.1 calls to Win32.

    But just use a Windows NT box running Interix or Cygwin. It's obviously not Unix.

    To be Unix, the following have to be true:

    1. POSIX has to be the best way to get something done on that system. If you have Interix or Cygwin installed on your Windows NT box, you still don't spend a whole lot of time trying to find a POSIX tool where an equivalent native Win32 tool exists.

    2. POSIX.1 and POSIX.2 don't cover issues like "changing a user's info in /etc/passwd". Despite the lack of a standard, all Unixes work similarly in this regard. But even if a Unix-like user info mechanism was emulated on my Windows NT/Cygwin box, I would still use NT's User Manager, if only because Windows NT has user features that don't have an direct analogue under Unix.

    These guidelines might seem unnecessarily exclusionary. But, just look at other OSes with POSIX layers. I've already shot down Windows NT with addons, so what about BeOS and MacOS X? Both of these are/will be POSIX.1 and POSIX.2 compliant. But like the WinNT/Interix combo, they fail both the guidelines above.

    In all these "POSIX-but-not-Unix" systems, the Unix functionality is secondary to the "native" functionality. Most of the time, there's another way to do something, a way that makes more sense on that system than the Unix way.

    --

  264. UNIX specification set by Open Group by P.J.+Hinton · · Score: 2

    The definition of what a "UNIX" system is set by the Open Group because they own the trademark registration. There is a specification and certifcation process that goes well beyond the existence of a few shells and command line tools.

    There are UNIX 95 and 98 specifications along with delineations between server and workstation class machines.

    You can view version 2 of the specs on line at this URL:

    http://www.opengroup.org/online-pubs?DOC=0079087 99

    API tables can be viewed here:

    http://www.UNIX-systems.org/apis.html

    They are useful for distinguishing between what is BSD, SVR4, POSIX, and modern UNIX.

    If you read some of the specification docs, it states what C-language system calls must be implemented and draws the boundaries between what features must exist and what features are up to the discretion of the implementor.

    Note that it is possible for systems that are not traditional UNIX to get the certification. I think DEC did this with OpenVMS. The Interix product also has this certification.

    There is an effort to bring UNIX and POSIX closer together. Information can be found here:

    http://www.opengroup.org/austin/

    --
    -- P.J.
  265. Re:Serious followup by Guy+Harris · · Score: 2
    The basic cause of the backspace problem is a different ASCII code for the key in DEC terminals (where it's 0x7F) and others such as Sun systems (where it's 0x08).

    The original character used to "[delete] the character to the left of the cursor" in UNIX was...

    ...'#'.

    Yup, '#'. It was what Multics used, just as Multics used '@' to erase the line, and UNIX from Bell Labs followed in its footsteps, the fact that Multics largely ran the terminals in mode where echoing of characters was done by the terminal (in fact, as I remember, you didn't have a choice about it on at least the IBM 2741 Selectric-typewriter-based terminal; the special option to allow the host to turn off echoing worked, as I remember, by the terminal mechanically blocking the Selectric typeball from hitting the ribbon and the paper) but UNIX ran the terminals in a mode where echoing was done by the host nonwithstanding.

    DEL (0x7F) was typically the interrupt character, to send a SIGINT to the currently running program; on CRTs, people may have chosen BACKSPACE (0x08) as an erase character - at least it would be echoed as a backspace, even if it didn't actually remove the character from the display, or work well if you were erasing a TAB character.

    Some folks made the tty driver more like those in DEC's operating systems, where DEL erased the most recently typed character and either erased it from the screen on a CRT or echoed the erased characters inside backslashes on printing terminals, control-U erased the line (possibly erasing the entire line from the screen), and control-C was the interrupt character; BSD did so, and that tended to make DEL the erase character (even on Suns; as I remember, on Sun keyboards until the Type 4 keyboard, the big key on the top row sent DEL, not BACKSPACE; the Type 4 went more PC-like in what I remember being in part an attempt to make the PC users they hoped would pick up on the Sun386i happier).

    So the basic cause of the backspace problem, in the sense of BACKSPACE (0x08) not being the standard erase character, was that the AT&T folks emulated Multics and the Berkeley folks emulated DEC. The problem of the big key on the top row of the main keyboard not erasing the previous character is a result of it sending (or, on workstations/PCs, not being interpreted as) DEL on some terminals. (Digital tended to make it send DEL on their terminals because that's what their OSes used as the erase character; I forget what other older terminals did, but some later terminals may have made it send BACKSPACE either because, well, that's where the backspace key goes on a typewriter or because that's where it goes on a PC. I guess the PC has it as a BACKSPACE key because the original IBM Personal Computer was made by a company that also made typewriters :-))

  266. Re:Xenix by Guy+Harris · · Score: 2
    Didn't one already do that and it was called "Xenix"?

    Nope. "One", i.e. Microsoft, didn't "port all the standard command line utilities to NT, clone one or two of the popular shells, set up the directory structure in the standard UNIX layout and call it Microsoft UNIX", they took V7 UNIX and ported it to various platforms and added the usual set of enhancements ("usual" in the sense that pretty much everybody with a version of UNIX they sold did so; that flavor of "embrace and extend" was hardly unique to Microsoft).

    (...just in case anybody in the audience doesn't think Microsoft ever sold a Real AT&T-Derived UNIX. They most definitely did....)

  267. Re:The smarter... by Guy+Harris · · Score: 2
    From what I remember, either correctly or incorrectly, NT was based off of VMS.

    I've heard the claim that it's VMS-derived, but I've not heard any evidence sufficient to make me believe that claim. At least some stuff is VMS-like internally (the I/O subsystem, according to the Inside Windows NT books, resembles the I/O subsystem described in VMS internals books), but that could be nothing more than the result of Dave Cutler being, I think, in charge of the development of both.

    When MS decided to slap the GUI onto it around 3.x it became a good deal more like the NT of today.

    "3.x" was the first release of NT - 3.1, to be specific. I guess Microsoft wanted to give it version numbers that resembled the version numbers for Windows OT, so they started with 3.1 rather than 1.0.

    wouldn't this allow NT to trace its roots somewhere back to a true Unix?

    Given that VMS wasn't "a true UNIX" (as in "had an API and a command-line interface that wasn't particularly like that of any UNIX"), I'd say it wouldn't.

    Speaking of which...would Mac OS X be considered a true Unix (I'm not sure if Darwin passes on the POSIX stuff or not)?

    If

    1. it exports a UNIX-compatible API as one of the APIs (I have the impression that you can get at it, although you may have to work harder to do so than to get at the MacOS Classic, Carbon, or Cocoa APIs);
    2. can be convinced to give you a UNIX-compatible command-line interface (which I also have the impression it can be convinced to do);
    3. has a UNIX-style administrative interface (which I also have the impression it does, down at the bottom - the XML-based configuration files are a bit different, but I suspect other UNIXes differ enough in their configuration files that this may not be sufficient for me to deem it not UNIX);

    then I'd consider it a UNIX.

  268. UNIX98 by Utter · · Score: 2

    OpenGroup has set up a standard called UNIX98:
    http://www.opengroup.org/prods/xxm0.htm

    Interestingly, Linux is not a fully compliant UNIX system as you might think.

  269. Re:Blame Win32 by IntlHarvester · · Score: 2

    It's a well-kept secret that the NT Executive has a single-rooted hierarchy, containing device nodes, named pipes, and filesystem roots.

    Yes, but unlike Unix where Everything Is A File, in NT only some things are files. There are also various mysterious base system objects which you can apply an ACL to, but does not exist on the filesystem.
    --

    --
    Business. Numbers. Money. People. Computer World.
  270. The "file" metaphor? by jabber · · Score: 2

    I don't think that this is definitive of the 'spirit' of UNIX, but the idea of treating all things as files is a characteristic shared by all UNICES.

    /etc/passwd is a file.
    /dev/null is a file.
    a socket is a file.

    All things are interacted with in the same manner, and this consistent abstraction, along with a common API and tool set, are what makes it easier to go from one flavor to another.

    I don't think any OS, except maybe MULTICS (don't know it) which is UNIXes daddy, did this before.

    --

    -- What you do today will cost you a day of your life.
  271. The smarter... by Graymalkin · · Score: 2

    posters have already answered the question about what a Unix really is (it has much to do with POSIX compliance) but I'm wondering something. From what I remember, either correctly or incorrectly, NT was based off of VMS. When MS decided to slap the GUI onto it around 3.x it became a good deal more like the NT of today. NT 3.51 was the first fully 32-bit MS platform IIRC. If I'm not having a neurological meltdown wouldn't this allow NT to trace its roots somewhere back to a true Unix? I'm not trying to advocate NT, I'm just wondering if I'm full of shite. A real server OS doesn't need a GUI. Speaking of which...would Mac OS X be considered a true Unix (I'm not sure if Darwin passes on the POSIX stuff or not)?

    --
    I'm a loner Dottie, a Rebel.
  272. Stability? by griffjon · · Score: 2

    I mean, it's the differentiator between Unix systems and pretty much everything else....

    Also, think of the user experience. For the most part, end users of a unix system experience the same behaviour. cd is cd is cd, cdup is cdup is cdup. cp, mv, vi/pico/emacs are all there, etc. etc. It's only on the back end that the Unices vary so widely. I've moved my old website from HPUX to Sun to Linux to OpenBSD, with others in between and the only major changes were due to differing security/CGI settings and the path to perl...

    --
    Returned Peace Corps IT Volunteer
    1. Re:Stability? by Abigail-II · · Score: 2
      For the most part, end users of a unix system experience the same behaviour. cd is cd is cd, cdup is cdup is cdup. cp, mv, vi/pico/emacs are all there, etc. etc.

      $ which cdup
      $ which emacs
      $ which pico
      $ uname
      Linux
      $

      Does that make Linux a Windows variant?

      -- Abigail

  273. Opera compliance, duh. by griffjon · · Score: 2

    Eunuchs are males who have select I/O ports reconfigured early in their development such that they may maintain a stable state throughout their lives and therefore be highly compliant as Opera components and supporting systems.

    Non-eunuchs develop normally, but loose the ability to be Opera compliant (except at a very bass level). Furthermore, non-eunuchs gain the ability to really dick people over, as witnessed Feb. 17th.

    --
    Returned Peace Corps IT Volunteer
  274. Cygwin by redhog · · Score: 2

    Isn't cygwin a certified UNIX? (For those who doesn't know - cygwin is a libc and POSIX lib set and set of traditional UNIX and GNU tools for Windows).

    Anyway, I would say that a requerement for a UNIX is the two basic UNIX philosophies; pipes and the file tree. The previous being that everything is done in small programs linked to each other to do complicated tasks, and the latter being that all communication with the outer world is done through the filesystem through device files.

    But if the latter is a criterion, most unices aren't unices - the network interfaces are rarely real device files.

    Another aspect of UNIX may be that everything is done in human readable format - you rather patch and recompile a source file than you binary patch or relinks.
    --The knowledge that you are an idiot, is what distinguishes you from one.

    --
    --The knowledge that you are an idiot, is what distinguishes you from one.
  275. Amiga ixemul.library by DGolden · · Score: 2

    Anyone remember the ixemul Amiga shared library? Provided a pseudo-POSIXy layer (but.. er... lacking fork()...you could use vfork() though...) on top of AmigaOS (and later BeOS)

    Pretty much all of the GNU tools, and X windows, that are commonly found in a base linux install were then compiled into a distro called GeekGadgets to run on top of the ixemul.library on top of AmigaOS...

    A similar approach could, I suppose, be used on top of virtually anything.

    It used to live at www.ninemoons.com/GG/

    --
    Choice of masters is not freedom.
  276. Re:unix tools for win32 by Surak · · Score: 2

    Exactly.

    And (Windows NT && cygwin && bash && grep) != Unix

  277. Re:unix tools for win32 by Arandir · · Score: 2

    Uh, with the exception of grep, those aren't unix tools, they are GNU tools. And GNU's Not Unix :-) And Cygwin ain't a unix tool under any definition.

    sh and csh *are* unix tools because one can count on them being installed by default on every unix. Ditto for vi.

    --
    A Government Is a Body of People, Usually Notably Ungoverned
  278. Only those by mindstrm · · Score: 2

    with proper rights can call it unix. Unix is a trademark, I believe.

    As to something being written for one unix being 'difficult' to port.. this is not really true. Most things these days port rather easily.

  279. Re:Actually I give a rip. by Abigail-II · · Score: 2
    The unix philosophy has allowed me to do things that no one has ever really been able to do in NT without breaking out Viual C++. I mean seriously; things like sed, awk, grep, emacs and other things are god sends for being able to do almost anything you want.

    NT can surprise you. I once wrote a long, complicated shell script that would install and upgrade objects in databases. All our clients would use it. It used all kind of shell tricks, and tools like sed, awk and grep. It was developed on Solaris. Then I had to port it to HP. Which required some changed. (I remember that grep under Solaris had options not supported by HP's grep; but they both claimed to be POSIX compliant). That program was later ported to NT. It required one change: a different directory than /tmp was used as scratch place.

    There can be a zillion reasons to hate NT (I would never use it myself). But lack of standard Unix tools isn't an appropriate reason - they have been ported.

    -- Abigail

  280. Re:Actually I give a rip. by Abigail-II · · Score: 2
    I expect that the 'UNIX' tools you used under NT were the GNU tools.

    Wrong.

    Had you used the GNU tools on Solaris and HP, you'd be better off for compatibility.

    That was not an option. And even if it was, I'd prefered to use the out-of-the-box solution than to be forced to keep sources around for several years in the off chance someone might demand them.

    -- Abigail

  281. Re:My highly subjective opinion by Abigail-II · · Score: 2
    Further from the field of system design and into the realms of abstract philosophy and user interface, a fundamental characteristic of UNIX is that you can perform complex tasks by using many simpler components in cooperation (i.e., shell scripts and command pipelines). Contrast this with Windows, where the norm is huge, monolithic applications, each with a defined range of operations.

    So, if Microsoft would start porting their software to Linux, does that mean Linux is no longer a Unix?

    -- Abigail

  282. doh... by GauteL · · Score: 2

    stability can of course be achieved in other
    operating systems than Unix.
    And a system does not have to be stable to
    be called Unix.
    It is just a common trait for most Unixes, that
    they are very stable.
    Userexperience isn't everything either.
    It could be argued that MacOs X is a variant
    of Unix, because of the kernel, and Posix-compatibility.
    But the user experience would probably be very
    different.
    What makes Unix Unix, is probably conforming
    to standards (Posix), and the basic architecture.
    The philosophy ("everything is a file").
    You could emulate the Unixinterface trough a sort
    of virtual machine in Windows NT.
    Windows NT would then feel like Unix, but it
    really isn't. The virtualOS probably IS :-)

  283. Re:MS Unix by Salamander · · Score: 2

    >you mean apart from the fact that CE's kernel is based on NT's

    Wrong. If I recall my history correctly, when faced with a new set of processors and a new type of system (in terms of memory hierarchies, I/O capabilities, etc.) MS tried two different approaches in parallel. One was to port NT, and one was to write a new OS originally called Pegasus. The latter approach won out.

    I got this information from the intro of a book called Essential Windows CE Application Programming, by Robert Burdick. It may therefore not be totally authoritative, but it seems a little more believable than an unsubstantiated claim on Slashdot. ;-)

    --
    Slashdot - News for Herds. Stuff that Splatters.
  284. Re: QNX by iCEBaLM · · Score: 2

    I'm talking really old QNX here, atleast 10 years ago. There was only 1 system with hard drives, and that was the Icon 3, all the rest were diskless and mounted the Icon 3's drives as local via NFS I think, and each hard drive seemed to have a logical [x] number, and then nodes seemed to have an x number also, so you ended up with [logical drive]node:/path I *think*..

    -- iCEBaLM

  285. Re: QNX by iCEBaLM · · Score: 2

    Yup. I've got one. Hardware is an 80186-based system (more embedded computer) with some kind of weird-ass token ring network.

    The icons were the definitive network computer.. We had farms of them in our schools around here (belleville quinte area). There were 3 types, the Icon 1 was really old looking and clunky, the Icon 2 was newer looking but seemed to have the same hardware, and the Icon 3 was nothing but a (3|4)86 with a "Unisys Icon" sticker on it.

    The Icon 3, running QNX, would serve the OS and apps to the other Icon 1 and 2's, which were diskless, on the network, but I remember it being a 10base2 network, not token ring...

    I had great fun with these, I eventually found out how to get to shells, and I'd go into other students directories and check out their homework :) Little did I know then that this was my first experience with unix...

    Its interesting to note back then however that these early versions of QNX did NOT have a flat file system, they were segmented into logical drives, [1]1:/path if I remember correctly.

    -- iCEBaLM

  286. Re:The real definition by ceeam · · Score: 2

    As much as I agree with you :-) I have some additions.

    A Windows UI blitz-quiz:

    - When do you press Ctrl-/ and when Ctrl-A to select all items in a list?
    - How do you explain that to a *user*?
    - What will happen to a file when you drag it from one folder to another?
    - How do you explain that to a *user*?
    ...

  287. It's the architecture by p3d0 · · Score: 2
    You could say that Unix systems are those that mostly conform to a Posix standard, I suppose. Unix systems have some things in common (off the top of my head):
    • Multi-user, with different access permissions for each user. By contrast, you can log in as anything you want in Windows 98 and still have access to everything.
    • Separate address spaces. Some simpler OSes provide separate threads all running in the same address space. Separate address spaces are really implied by the multi-user requirement.
    • Monolithic kernel. The kernel is not only responsible for managing processes and IPC, but also the filesystem, scheduling, virtual memory, etc. These things are typically in "server" processes in a microkernel architecture.
    • Priority-based scheduling, with priority boots for interactive processes. One of the distinguishing features of Unix when it was developed was that it was good at handling interactive applications by detecting their usage pattern and reducing their scheduling latency by boosting their priority.
    • File semantics. The permission structure: read-write-execute for user, group, others. Reference counted deletion: delete a file while someone's using it, and they get to keep using it; the file disappears when they're done. Directory structure: single tree-shaped namespace (modulo hard-links) with devices mounted on certain branches. Symbolic links which act just like the actual file they name (as opposed to Windows shortcuts, which don't).
    • Virtual memory. This is usually invisible to the user, so it wouldn't matter anyway. But unix also provides such things as mmap whose semantics would be very hard to duplicate without a real virtual memory system.
    There are probably lots of things I have missed, but maybe that will get things rolling...
    --
    Patrick Doyle
    --
    Patrick Doyle
    I mod down every jackass who puts his moderation policy in his sig. Oh, wait a sec....
  288. Two correcting facts by CentrX · · Score: 2
    1) Microsoft did have a version of Unix: Microsoft XENIX. In August of 1980, Microsoft announced the Microsoft XENIX OS, a portable operating system for 16-bit microprocessors. It was an interactive, multi-user, multi-tasking system that ran on Intel 8086, Zilog Z8000, Motorola M68000, and DEC PDP-11 series.

    2) Linux is not Unix. It is a free Unix-type operating system.

    Chris Hagar

    --

    "The price of freedom is eternal vigilance." - Thomas Jefferson
  289. Re:Actually.. by Yebyen · · Score: 2
    That's a good point, but occasionally there is just one incompatible device, with drivers only available for windows OS's, and that can be the only reason not to use a *nix. If I've got, bad example here, but lets say i've got a weird scsi interface that has only drivers for NT. I can't use *nix then can I?

    Sometimes there are reasons to give up a bit of stability and speed.

    --
    linuxisgood:~$ man woman

    --
    Restating the obvious since nineteen aught five.
  290. Re:If it looks like a duck and quaks, it's a duck by be-fan · · Score: 2

    Actually, under your definition, BeOS too is a UNIX. (The GUI can be removed as it is just a part of the app server.) I certainly doubt you would call BeOS a UNIX (you better not!) Actually, aside from the GUI part, even NT is a UNIX. I think there is a design thing, treating everything as a file, having a fairly non-modular system (Linux, modular, yea right)(Even a microkernel like MACH can fit this definition because they usually just have a big BSD system server.). In the end, its one of liniage. Is it mainly a derivation of a classical UNIX, or is it just influenced by UNIX design?

    --
    A deep unwavering belief is a sure sign you're missing something...
  291. Re:Unix cannot be defined as a single thing by be-fan · · Score: 2

    Actually that close of a connection between the OS and the language does not "feel right." for a lot of people (I'd go so far as to say the majority.) Anything that tightly restricts the evolution, expandibility, and scope of two systems by tying them to each other does not "feel right."

    --
    A deep unwavering belief is a sure sign you're missing something...
  292. My highly subjective opinion by yellowstone · · Score: 2
    Could one port all the standard command line utilities to NT, clone one or two of the popular shells

    This has been done. Trust me, it doesn't make NT feel very much like Unix -- it just makes it a nicer place to work (at least, for someone familiar with the Unix command line).

    For me, there are two main areas that distinguish "Unixness":

    1. The file system interface. By this, I mean inodes, ugo/rwx permissions, and a single hierarchy rooted at "/".
    2. There is one user (root) that has full access to the machine; all other users are limited to a small "sandbox"
    Note that no simple user-level gloss that's going to make an NT box have these features.

    -y

    --
    150 Opening BINARY mode data connection for slashdot.sig (129323052 bytes).
  293. Re:What about native code? by dodobh · · Score: 2

    Well, the properties of hardware have increased runtime efficiency to high levels (compare 486 to Pentium III). Therefore most people won't notice the difference. The problem was with the old and slower machines, where the speed difference was noticable, not he newfangled boxen. I can still see the difference on my box (P200 MMX)

    --
    I can throw myself at the ground, and miss.
  294. Re: QNX by DanaL · · Score: 2

    remember my first time on Unix, I was in grade 9 in high school. The OS was actually called QNX on a 8086 machine called the Icon that was made here in Canada.

    The Icons ran an early QNX???? All I remember about them is that my elementary schools had 3 Icon boxes and that I was *really* frustrated in grade 7 because the BASIC interpreter was incompatible with Commodore 64 BASIC (I was pretty naive back then :) )

    Dana

  295. Re:Actually I give a rip. by bscanl · · Score: 2

    >It was developed on Solaris. Then I had to port >it to HP. Which required some changed. (I >remember that grep under Solaris had options not >supported by HP's grep; but they both claimed to >be POSIX compliant).

    POSIX compliancy has nothing to do with all utilities being the same. They are compliant about a sub-set of options. They share their own features. What's your point?

  296. Re:Microsoft UNIX NT by bscanl · · Score: 2

    >I suppose if M$ was to actually provide a near
    > full implementation of a unix shell,
    > filesystem, and command line utilities, it
    > could be argued that NT would be, indeed, a >UNIX.

    Yes, by people who don't understand the difference between UNIX(tm) and Unix-like, along with the fundamentals of what a Unix like OS does.

  297. That's technically not true by slashdot-terminal · · Score: 2

    Actually it's more correct to say that uid 0 = power.
    You can easily change a single field location in /etc/passwd and rename the uid 0 account to god or whatever and get equivelent actions.

    --
    Slashdot social engineering at it's finest
  298. Actually I give a rip. by slashdot-terminal · · Score: 2

    The unix philosophy has allowed me to do things that no one has ever really been able to do in NT without breaking out Viual C++. I mean seriously; things like sed, awk, grep, emacs and other things are god sends for being able to do almost anything you want.
    Linux has been able to allow me to use shitty hardware that NT just plain wouldn't run on (well ok the new versions of NT I had a CD of NT 3.1 and it worked on my machine but I took it off 2 hours later). A GUI interface is nice but it dosn't make up for the lack of efficiency and power that make NT evil.

    --
    Slashdot social engineering at it's finest
  299. What about native code? by slashdot-terminal · · Score: 2

    You know this is almost really funny. People have always said that native code is much faster and that there are certain advantages to it. Why would everyone start using Tcl, perl, and Java all of a sudden? All the things that I do with so called "platform independent" languages makes the thing dog slow. Case in point gimp. I can tell a big difference between native executables and perl on my system. When I do something perl related that is even built in for the gimp takes rougly 2-3 minutes of hd grinding. Also things like dpkg which also relies heavily on perl takes up a lot of time as well. Tcl is in the same boat. Java is not exactly something that I use on a regular basis nor are there many apps for linux that actually have java as their main code included in almost any distribution at all. All java stuff I have seen runs dog slow and this is stuff that is supposed to be highly optimized.
    I think that C++ is closest to what you could consider to be "crows platform" than almost anything: there is a ANSI standard, and a compiler for almost any system. I routinely write and run programs between win32 and linux all the time and never see a problem. Plus my code is much faster.

    --
    Slashdot social engineering at it's finest
  300. what is unix? by rnd() · · Score: 2
    Different flavors of unix share a lot of
    the same design elements. Sure, you can
    stretch Windows so that it superficially
    resembles Unix, but you cannot recreate
    the startling formal elegance of a unix
    system just by ading ls.exe, grep.exe,
    and awk.exe to your c:\winnt\system32
    directory.

    The thing about Unix that is most clear,
    that sets it apart from other OS's, is
    its well thought-out design. It was
    noticably not designed so that any
    newbie could use it. I'm sure that Microsoft
    came to realize the high cost of 'newbie usability'
    when it had to resort to releasing another
    successor to Win98 instead of merging the
    9x and NT OS lines with the release of 2000.

    --

    Amazing magic tricks

  301. Re:File System by despistao · · Score: 2

    NTFS for Win2k does has symlinks indeed seems that Microsoft claims that they have invented it...

  302. Xenix by JDax · · Score: 2

    Could one port all the standard command line utilities to NT, clone one or two of the popular shells, set up the directory structure in the standard UNIX layout and call it Microsoft UNIX?"

    Didn't one already do that and it was called "Xenix"?

    ;-)

    Okay folks - let's get started on a good Xenix thread now...

    --
    -- Win2k: "It's not so much that it's only 65,000 bugs, it's just that they stopped at 65,535 to prevent an overflow."
  303. Re: QNX by JDax · · Score: 2

    remember my first time on Unix, I was in grade 9 in high school. The OS was actually called QNX on a 8086 machine called the Icon that was made here in Canada.

    Am I senile or maybe mixing this up with something else, but is this not the same, but updated QNX that sits on a flash card on the i-opener made by Netappliance...

    Interesting how OSs hang on over time...

    --
    -- Win2k: "It's not so much that it's only 65,000 bugs, it's just that they stopped at 65,535 to prevent an overflow."
  304. Re:Blame Win32 by 3247 · · Score: 2
    You get the feeling that NT could have been something better if they didn't have to make it compatible with Win9x.

    Actually, NT consists of two parts: The NTOS kernel, which is much like a traditional Unix system and the Win32 subsystem (which is not Win9x-compatible, Win9x is compatible with Win32 from NT). The kernel has some interesting features that go beyond what a traditional Unix system can do.

    However, it's not Unix. The native NT API is compatible to nothing and certainly not anything near POSIX-compliance.

    Yes, NT has all features that make a POSIX-subsystem possible. But most of them are unused.

    --
    Claus
  305. Porting -- how hard really ? by elflord · · Score: 3
    I'm not clear on whether high-level porting really is that hard -- if it's from one UNIX to the next. Of course, porting something like GCC that requires a lot of low level code is nontrivial.

    Provided you are working high level, cross-platform APIs ( which should behave the same on all UNIXs ), and you don't try to code to several different APIs [1] then I don't see why it should be so hard. There are differences in the way different UNIXs handle many things [2] but there are toolkits like Qt and glib that take care of the low-level portability stuff and provide their own data-types and functions.

    Just for fun, I grepped for #ifdef directives in krn and there were hardly any ( and the ones I saw weren't about portability issues ).

    [1] this is why the vim code is so complex -- they are simoultaneously coding for motif, gtk, athena, ncurses, and win32 without using any high level portability tools ( because there's none that are portable across all target platforms ).

    [2] An example -- many C++ compilers still have either nonfunctional or incomplete STL implementations. Another example -- some UNIXs ship with different DBMs ( ndbm,dbm,gdbm ).

  306. Misguided Question by V.+Mole · · Score: 3

    Well, not totally, but there are so many errors and misconceptions in the question I'm not sure how to answer.

    Since there are now so many different flavors of UNIX out there (Linux, Free BSD, AIX, Solaris, AT&T UNIX, etc...) what do they all have in common that lets these all be called UNIX? Programs written for one flavor of UNIX typically cannot be ported to another without considerable effort.

    Wrong. Well-written programs can be easily ported from one unix to another. The problem is that many programs are written by people who have a relatively poor understanding of how to write portable code, and no idea how to distinguish the C standard, the POSIX standard, stuff that's not POSIX but almost universally available on Unix and Unix-like systems, and stuff that is specific to a particular implementation.

    The features offered by the different implementations vary widely: some are more secure than others, some cluster better than others, some offer journaling file systems, some are more robust.

    None of which has anything to with writing portable code. For example, the C interface to the file system (fopen(), fprintf()) and posix interface (open(), read(), write()) make the underlying file system transparent. Of course, if you're writing a tool to manage a cluster, it's going to be implementation specific.

    The differences between the different kinds of UNIX seem to be as great as the differences between any particular implementation and other OSs.

    Sorry, you've obviously never actually had to write programs that worked on a wide variety of systems. I used to work on a large product that ran on a variety of Unix systems, OpenVMS, and NT. IIRC, the only difference between the Unices was different options to mmap() and dealing with an old version of SunOS that didn't implement POSIX signals quite correctly. (Of course, there were many differences to the system headers, but those are supplied by the vendor, and are there precisely so that you don't have to worry about internal differences.) FWIW, the OpenVMS version was pretty easy, because even the the system calls were totally different, most of the concepts mapped pretty well. NT, on the otherhand, was a complete pain in the ass.

    Now obviously, one *can* write code that is specific to a particular Unix implementation. And noone will argue that at the admin level, things are aren't chaos.

    Could one port all the standard command line utilities to NT, clone one or two of the popular shells, set up the directory structure in the standard UNIX layout and call it Microsoft UNIX?

    No, because you haven't changed the syscall interface. Cygwin comes a lot closer, but was also a lot more work than what you've proposed.

  307. unix tools for win32 by platypus · · Score: 3

    You can find many of the popular unix tools for windows at http://www.gnusoftware.com.

    You'll find bash, grep, cygwin, emacs ...

    They've got some nice things there, look at geoshell's screenshots, you wouldn't believe it's windows.

  308. The tight coupling between C and Unix by DragonHawk · · Score: 3

    Anything that tightly restricts the evolution, expandibility, and scope of two systems by tying them to each other does not "feel right."

    You are completely correct in that statement, but it has nothing to do with C or Unix. The evolution, expandibility, and scope of the two systems in question has been in no way restricted. Unix has continued to expand and evolve well beyond the original scope of the C language as it eventually was defined in the ANSI standard. Likewise, C is considered the most portable language ever written, with implementations for just about every platform that has a compiler, and it has continued to evolve and be expanded past the original Unix API. It has even been expanded to include object support in C++, which was in turn used to write BeOS, a fact I'm sure you are no doubt aware of, given your handle.

    So, if you have a legitimate complaint, by all means voice it, but otherwise, keep the FUD to yourself, K?

    (Note to moderators: Before moderating this down as "Flamebait", check out this guy's posting history. He makes rabid Linux supporters seem tame by comparison.)

    --

    dragonhawk@iname.microsoft.com
    I do not like Microsoft. Remove them from my email address.
  309. MS Unix by Brento · · Score: 3

    Who gives a rip about the command line utilities - just make NT as stable as Unix, and you can call it Grandma Pearl's Home-Brewed Operating System with Extra Apples, for all I care!

    Seriously, while you're at it, you should ask exactly what Windows is. It's in the same boat - there's several flavors of a single OS that really don't have much in common. Windows CE and Windows NT don't share much except a start button, when it comes down to brass tacks.

    --
    What's your damage, Heather?
    1. Re:MS Unix by TummyX · · Score: 3

      Windows CE and Windows NT don't share much except a start button, when it comes down to brass tacks.

      you mean apart from the fact that CE's kernel is based on NT's, and that Windows CE basically supports 95% of the Win32 APIs?

  310. Actually.. by GauteL · · Score: 3

    This is just right out of the top of my memory,
    so I could be mistaken, but as far as I remember
    you have to pay someone (The Open Group?)
    for the right to call something Unix.
    It involves certification.
    I've heard that it needs to have evolved from
    the UNIX-codebase, but this doesn't make very
    much sense, as it would be impossible to
    write a new Unix from scratch, but still conforming to the Posix-standards, and being
    source-compatible with the tradional Unix-variants.
    Perhaps someone can enlighten me here, but
    would it be possible to pay that organization
    for certification of Linux?
    Not that I think it would matter, because Linux
    is now bigger than Unix anyway, and it seems very
    important for other Unixvariants to include some
    sort of compatibility layer to be able to run
    Linuxbinaries.
    I did think it mattered 2 years ago though.

  311. Re:Simplicity, consistency and design by jonathanclark · · Score: 3

    Recently having ported software between Linux, FreeBSD and NT, I have developed my own idea of what a ``UNIX'' is. It's simplicity most of all. Everything is a file, and most calls that work on file descriptors work on _all_ file descriptors. You can make a select() call on a file, a pipe, and a socket. This is impossible on NT, because files are HANDLEs, sockets are SOCKETs, HANDLEs from anonymous pipes cannot be used for select() like calls (only named pipes there). Why this diversity in the API ?

    Being a long time Unix and Windows developer, I don't see any advantage to the developer to having one ioctl() that works with all devices. While it makes sense on the kernel (one api to export), it is total nonsense for the end developer.

    type 'man ioctl' : There is absolute no useful information given. It's a generic function and the developer must explictly know what kind of device he is talking to and somehow find the right parameter values to pass in to make it do what he wants. ioctl documentation can never be complete.

    I would argue that it's better to have more functions that are strongly typed and can be documented seperately. If the developer want's abstration, let him build it into his application - don't force it on them.

  312. Re:What makes Windows a Window ? by Inoshiro · · Score: 3
    Windows has many "features" that are consistant across the various implementations:
    • Features no one understands
    • Backwards compatibility with software written 20 years ago
    • CP/M-like file system hierarchies
    • Physical representation of hardware over that pansy "abstraction" stuff
    • A browser in every DLL and app via IE
    • Closed source for increased security

    But don't just go by my word. Go spend a few K on a Windows NT server licence, hardware, and documentation, then play with it. You'll know it's Windows because it feels "right," and because it flashes its monitor a very pretty sky blue to let you know it wants your attention. Surveys say that 60% of everyone's favourite colour is blue.
    ---

    --
    --
    Internet Explorer (n): Another bug -- that is, a feature that can't be turned off -- in Windows.
  313. What makes Windows a Window ? by Money__ · · Score: 3
    from the knowing-your-OS dept.
    Money__ asks: "Since there are now so many different flavors of Windows out there (1.0, 3.1, 95, 98, NT, 2K , etc...) what do they all have in common that lets these all be called Windows? Programs written for one flavor of Windows typically cannot be ported to another without considerable effort. The features offered by the different implementations vary widely: some are more secure than others, some cluster better than others, some offer journaling file systems, some are more robust. The differences between the different kinds of Windows seem to be as great as the differences between any particular implementation and other OSs. Could one port all the standard GUI utilities to GNOME, clone one or two of the popular GUI features, set up the directory structure in the standard Windows layout and call it WINDOWS/UNIX?"

    Hmmmmmm
    _________________________

  314. Microsoft UNIX NT by Heretik · · Score: 3

    I suppose if M$ was to actually provide a near full implementation of a unix shell, filesystem, and command line utilities, it could be argued that NT would be, indeed, a UNIX. The one thing I wonder about is the kernel. UNIX kernels are just that.. UNIX kernels. I'm no kernel hacker by any means, but seems to me for a kernel to be a UNIX kernel, it has to have a certain structure and interface, which makes it a UNIX kernel. SO in that respect, NT could never really be a UNIX.

  315. NT will never be Unix... by codealot · · Score: 3

    ...though some (including Microsoft) have tried. It may pass POSIX compliance tests, it may run UNIX software, but there are certain differences that will be difficult or impossible to overcome.

    First is the security issue. Unix has the concept of a superuser (root). NT has role-based security. "Administrator" is not special other than having more rights than user accounts, including the right to manager user rights.

    The key differences are that an NT Administrator cannot open any NTFS file regardless of modes, as a Unix superuser can. Also the Administrator account cannot arbitrarily pose as other users. There is no working setuid() call. (POSIX requires setuid to exist, but it doesn't have to work... it may return EPERM unconditionally. That is just what Microsoft's POSIX subsystem does.)

    Second is the executable file format. Most modern OSes have standardized on ELF. NT is one of the holdouts, still using PE (a variant of COFF). Shared libraries on NT (i.e. DLLs) are loaded and relocated by the OS, not in user space as ELF shared objects are. And DLLs have annoying limitations, like requiring data symbols to be imported/exported.

    Third, file semantics on NT are tailored for Win32. Ever try to remove/rename a NTFS file while it is open in some process? You can't. On Unix, linking and unlinking of open files is permitted, and many utilities depend on that behavior.

    While it may be possible to certify NT as "POSIX-compliant" (or even get Unix branding, I don't know), it will never work truly like a Unix system. There are just too many core differences.

  316. The UNIX Philosophy by yebb · · Score: 3


    The philosophy is a result of more than twenty years of software development and has grown from the UNIX community
    instead of being enforced upon it. It is a defacto-style of software development. The nine major tenets of the UNIX
    Philosophy are:

    1.small is beautiful
    2.make each program do one thing well
    3.build a prototype as soon as possible
    4.choose portability over efficiency
    5.store numerical data in flat files
    6.use software leverage to your advantage
    7.use shell scripts to increase leverage and portability
    8.avoid captive user interfaces
    9.make every program a filter

    The Ten Lesser Tenets

    1.allow the user to tailor the environment
    2.make operating system kernels small and lightweight
    3.use lower case and keep it short
    4.save trees
    5.silence is golden
    6.think parallel
    7.the sum of the parts if greater than the whole
    8.look for the ninety percent solution
    9.worse is better
    10.think hierarchically

  317. File System by Paul+Komarek · · Score: 4

    I can't believe I didn't see this while scanning the comments--maybe I missed it. A huge part of UNIX is the filesystem. The UNIX filesystem has got to be among the most beautiful device abstraction layers ever built. I don't need to know how many drives are in the machine--or I can add extra drives, change the physical location of data, and keep the same paths and filenames.

    I can access my printer as a file, my serial ports as a file, my memory as a file. Heck, I can mkfs /dev/ram and make filesystems in files on my filesystem. Then there are links, especially symlinks. And networked filesystem types that look local to the user (slow with lots of latency, and some race conditions, but local). You can even access the kernel via the filesystem.

    NTFS and VFAT don't have symlinks and the hardware is up-front and ugly (ever try moving an app from C: to D:?). I'm sure there's a lot more, but these things alone are horrible. What happened to device abstraction, that I have to track my hardware when naming files?

    -Paul Komarek

  318. I can't believe it's not butter by Master+Switch · · Score: 4

    Hmmm, you ask a tough question, but here's a go at an answer.

    UNIX encompasses more than just a set of API's, and user shells. UNIX has more to do with an OS design philosiphy, than with any particular implimentation. At the outset, UNIX strives to provide an environment made of small utilities that can easily be used together to accomplish a task. This is true from the kernel design, to the typical C API's, out to the actual user environment. From a kernel perspective, most UNIX's have a virtual file system, virtual memory system, and a process swapper. There is much more than this, but these are the three main components. By utilizing features of each of these basic parts, it is possible to implement inter process communication(Pipes, shared memory, etc), security(mostly via the VFS, since most everything in UNIX is seen as a file), and Time sharing(via the process swapper).
    The next layer would be the C libraries that most UNIX's come with. While not directly tied to the OS itself, most C libraries will heavily reflect the OS they live on, since they are the common gateway to make sys calls, the main way to call system functions. It is with system calls that a program can interact with files, and access system resources. The OS will handle the scheduling and access control from behind the scenes. The C library is a way to ask for resources.

    But, what most people think of when they think of UNIX, is the user environment. Unfortunately, this is missleading. Everything from Windows to OpenVMS, to OS/390 MVS can be made to look and smell like UNIX, but that doesn't make them UNIX.
    What the user sees is a simplified(if you can believe that grep, sed, and awk, ad nauseam are simple :)) playing field, made of lots of tools that easily allow the user to interact with files, and hence, the computer. Since this is the layer a user spends most of his or her time with, this is what people have come to identify when they say UNIX.

    The moral of the story is that UNIX really is a "handle" that is used to encompass an approach to OS design. UNIX is a way of viewing how things should be shared, and managed. That is why UNIX runs on almost every platform. UNIX is really a memme that dictates how system resources are controlled, and not one of how a system should be architected from a hardware perspective. UNIX is a way for multiple users to access a single system, in quasi-realtime , interactive fashion. It lays out such things as scheduling, Access Control architecture, and resource presentation. If an OS follows this design philosophy, than that makes it more a UNIX, than what it's user shells look like.
    That is why Linux is a UNIX, without having any blessed UNIX C code in it. It's an architecture built on the UNIX philosophy. Just remember to never let a purist hear you call Linux UNIX though. That, unfortunately, is a matter of religion, best left for another discussion.

    --
    -Master Switch, one more element in the machine
  319. What makes a system Unix? by int69h · · Score: 4

    IMHO the biggest thing all flavors of Unix have in common is the "everything is a file" design. So the answer to your question about porting all sorts of things to NT and calling it MS Unix is no. Everything in NT is an object.

  320. A Philosophy by ctj2 · · Score: 4

    I've been working with Unix now for 20+ years. I've worked in the kernels of Cray Super Computers and been driven batty by a BSDish system running on a no name box for a network logger. The equipment has ranged from a 386 that took 5 minutes to boot Linux to SGI super computer cluster. And there are a few things that they all had in common. These common "features" are, in my not so humble opinion, what makes something "Unix".

    1. A command line interpeter, and a way to get to it. Be that a TTY login, rlogin, telnet, or XDM giving me an xterm.
    2. Pipes. The ability to trivially feed the output of one program to another. Where the default input is "stdin" and the default output is "stdout" (See IBM/CDC/Cray Not unix OSs to see how each program required you to define an input and output file)
    3. A tools based approach to solving problems. Rather than loading a file into a spreadsheet and then clicking away for a few hours. Instead we have "sed ... | awk | lpr"
    4. File based access to devices. /dev/* is a very powerful access method. No special code is required of fsck but access to the special device and a user land program can do a filesystem repair. Just think of it this way, 'dd', 'cat', 'fmt', 'awk', 'sed' all can write tapes.

      For that matter, the user can't tell the difference between an IDE cdrom and a SCSI cdrom.

    5. A method of attaching extra storage as part of the existing filesystem. "mount /dev/da7s1 /usr/homes/diskhog" vs "Yo, Mr Hog, please use g: for your files now"

    While API is important, and I wouldn't want to give up my X windows, or bash/tcsh I've run on Unix boxes where those are different or missing. In some cases my tools of choice were missing and I had to bootstrap 'gcc' into place and from there I added the extra tools (sed/awk/tcsh/bash) that made my life comfortable.

    Unix is a style. A way of solving problems. We don't think in terms of "monolithic (Office)" programs that do almost what we want, but instead we think in terms of solving a piece of the problem, chipping away till there is nothing left. And in the process we find that we have a dozen new tools that people will use in ways we never considered.

    PERL was never intended to be a webserver, but the tool is so powerful that it now is. That and much more. Every tool that Unix has is used in ways that its creator never intended. Microsoft Office will never be more than what it is, What You See Is ALL You Get.

    I leave you with this quote then: "Like a precious metal, UNIX is being beaten and molded into whatever forms are most pleasing to the owners." -- Lee A Butler

  321. UNIX is a trademark by mattdm · · Score: 5
    The technical answer is found at http://www.unix-systems.org/. Check out What is Unix, the FAQ, and the register of products. Nothing else is technically Unix.

    What is Linux, then? Well, it's "unix-like", despite the FAQ's claim that this term is a trademark violation. Personally, I'm sceptical of the continued validity of the "UNIX" mark (once something enters common usage, it can't be a trademark), but there've been no court challenges, so it stands.


    --

  322. Simplicity, consistency and design by Oestergaard · · Score: 5

    Others have already answered the question with reference to POSIX, but I just thought I'd thow in my two Euro as well...

    Recently having ported software between Linux, FreeBSD and NT, I have developed my own idea of what a ``UNIX'' is. It's simplicity most of all. Everything is a file, and most calls that work on file descriptors work on _all_ file descriptors. You can make a select() call on a file, a pipe, and a socket. This is impossible on NT, because files are HANDLEs, sockets are SOCKETs, HANDLEs from anonymous pipes cannot be used for select() like calls (only named pipes there). Why this diversity in the API ?

    Running a daemon simply requires you to start up the executable with an "&" if it doesn't support forking to background by itself. I have a routine that does this on UNIX as well as on NT. The UNIX code is perhaps 5-10 lines, and the NT code is roughly 150. On NT you must specifically talk to the service control manager, ask it to ask your program to ask it to ask the program to do all kinds of strange things. Horrible, and inflexible to the extreme.

    The system calls on UNIX take a minimum necessary number of arguments, and perform some action fairly much as you would expect it to. An average system call on UNIX probably has, say, 3-4 arguments. I haven't counted the average on NT, but I'd guess it's 6-7 arguments there. This is not because NT is more advanced, but because IMO the design of Win32 is flawed.

    As an example, to start up a program on UNIX, you'll write something like (dumbed down):
    if(!fork())
    exec("my_program", arguments, environment)
    Two system calls that perform a very clear and simple task each, taking 0 and 3 arguments.

    The similar code on NT is something along the lines of a call to CreateProcess() which takes 10 (ten!) arguments. These arguments are: program name, command line and environment as on UNIX. Besides, you'll have to pass arguments such as current directory, process security attributes, thread security attributes, filehandle inheritance flag, creation flags, etc. etc. My favorite is that you have to pass an argument specifying the Window Size (!!) of your new process... I nearly pissed my pants when I saw that.

    UNIX system calls are fairly consistent. Usually they will return either a 0 pointer, or the integer -1, if the call fails (depending on whether the call returns a pointer or an integer). On NT the calls return either INVALID_PROCESS_HANDLE, INVALID_FILE_HANDLE, INVALID_SOCKET, FALSE, 0, -1, or whatever the failure-return-code-of-the-day was when some call was last rewritten. Error codes can be retrieved from errno on UNIX, while on NT they come from GetLastError() usually (with some exceptions I've happily forgotten about), unless of course it was a socket call that failed, in which case the errorcode can be retrieved from WSAGetLastError(). Sigh.

    The point I'm trying to make here is, that to me UNIX stands for a _fairly_ consistent and well designed API. Win32 is neither well designed nor consistent, and porting command line utilities to NT is not going to make it UNIX, not by a long shot.

  323. Serious followup by raph · · Score: 5
    A more serious followup. While the tone of this comment was flip, the content was actually serious.

    The basic cause of the backspace problem is a different ASCII code for the key in DEC terminals (where it's 0x7F) and others such as Sun systems (where it's 0x08). Unix is configurable (using the stty command) to deal with either, so that it didn't really matter too much.

    A modern Unix-like[1] system is a blend of many different threads of development, with both Sun and DEC well represented. So, the Linux console follows the DEC convention, while the xterm's in most distributions follow Sun (Debian is the major exception here).

    So, in a system with the backspace problem, you have many factors coming together:
    • A mixture of traditions from many different branches of Unix development
    • A chain of concern for backward compatibility reaching back to the days of the VT-100
    • Configurability to make it work most of the time

    And, no from-the-ground-up reconsideration of the system, during which the backspace problem would certainly be fixed.

    If that doesn't define Unix, I'm not sure what does.

    [1] Yes, I know it's an "abuse of the trademark." The Open Group can stuff it.
    --

    LILO boot: linux init=/usr/bin/emacs

  324. The real definition by raph · · Score: 5

    You know it's Unix when the backspace key often performs an action other than deleting the character to the left of the cursor.

    When (actually if) this problem is fixed, the system will have changed so much from Unix that it probably wouldn't be recognizable to Thompson and Kernighan.

    --

    LILO boot: linux init=/usr/bin/emacs

  325. My Momma Always Said... by GeorgeH · · Score: 5

    A unix system is like an orgasm. When you have one, you'll know it.
    --

    --
    Why can't I moderate something "Wrong" or at least "Grossly Misinformed"?
  326. Unix cannot be defined as a single thing by DragonHawk · · Score: 5

    I think the most important thing to realize is that no single thing defines what makes Unix be Unix instead of Just Another Operating System. Sure, there is POSIX, but POSIX doesn't cover everything. Sure, there are the "standard" Unix shell tools, but those can be ported. You can't nail Unix down in any easy definition. Yet, Unix inevitably feels like The Right Thing to those who know it. If you like cliches, Unix reminds me of the old line "I don't know art, but I know what I like."

    That being said, I'd like to touch upon a few things that make Unix what it is:

    The design of Unix is driven by synthesis. You don't create a specific tool to solve a particular problem; you break it down into smaller, general problems and write general tools to solve them. You then combine those tools to solve the original problem -- but you can continue using them afterwards.

    This leads us to The Unix Philosophy. Anything you call "Unix" or "Unix-like" will adhere to it. However, the Unix philosophy is a set of design goals, not a system definition. Something can follow those goals without being Unix. So that doesn't cover everything.

    Let's start with the filesystem. As others have said, a key element of Unix is the single filesystem. Unix must have a root filesystem mounted at /, and cannot function without it. It is more then not being able to do anything useful without the programs in the root; it is the fact that the Unix filesystem is a large part of the Unix API.

    Additional filesystems are spliced into this single presentation, not mounted as separate trees. System hardware is abstracted and presented using file system entries. These are things that cannot be done if your OS doesn't support them. Then you have the organization of the files in the Unix filesystem. Programs in /bin, configuration data in /etc, devices in /dev, temporary files in /tmp, "user files" in /usr. None of these are mandated by the kernel or the utilities, but they are definitely old friends to a Unix hacker like me.

    Unix processes also behave in a certain way. Process spawn overhead is low and context switching is fast. Signals and exit codes are used for IPC. fork() and exec() are separate system calls.

    Unix treats text as data and data as text. Configuration files are generally human-readable. You can "cat" a binary file without the OS doing end-of-line manipulations. Any particular meaning of a character (^D for EOF, e.g.) comes from the terminal driver, not the I/O mechanism.

    Lastly, Unix was implemented in C, and C was designed to implement Unix. Contrast this with other OSes, where the language you're programming in and the system library are generally completely separate things. This synthesis (to borrow from the Mazda ad campaign) "just feels right".

    While I'm on the subject, I'd like to address two things that Unix explicitly isn't:

    Unix is not a trademark. I'm sure The Open Group doesn't agree with me, but Unix was around before they were, and will continue to be around long after they are gone. They control who can legally put "UNIX" on their product, but that is a matter of layers and money, of which Unix cares about neither.

    Unix is not a particular source implementation. There are very Unix-ish things which have not one line of AT&T or BSD code in them, and there are things totally not Unix which contain BSD code. MS-Windows is one of them.

    I forget who said it, but if you're looking for one line answers, then this fits best:

    "Unix isn't so much an operating system as it is a painstakingly compiled oral history of the hacker culture."

    --

    dragonhawk@iname.microsoft.com
    I do not like Microsoft. Remove them from my email address.
  327. If it looks like a duck and quaks, it's a duck ... by RNG · · Score: 5
    While there's probably no definitive answer to this question, I would suggest that a loose definition of UNIX would include the following:
    • POSIX compliant system API
    • Availability of traditional UNIX shell tools
    • Ability to run without a windowing system
    • Modular design
    The question is like asking "What's a car?" BMW, Mercedes, Honda, GM and lots of others fit the mold without there being a 'definitive' car. I think the same applies to UNIX: there's lots of variants, based on the same basic (and time-tested) design. I've done some software porting across different UNIX systems and in my opinion, the differences between these systems were blown out of proportion by the marketing machine from Redmond (and others). There are differnces, but they're manageable ...

    Also, while this is not as true anymore as it was a few years ago, I would say that an important part of the UNIX philosophy is the fact that most configuration parameters (and other useful stuff) are stored in plain text files (yes, Solaris and AIX don't do this anymore, but the basic idea is still there). You could port all the shell utilities to NT only to find out that they're basically useless as everything is stored in some binary file that you can't really process with your trusted text tools. ASCII is portable and accessible; a fact that UNIX really drives (or at least should drive) home ...

  328. Blame Win32 by codealot · · Score: 5

    It's a well-kept secret that the NT Executive has a single-rooted hierarchy, containing device nodes, named pipes, and filesystem roots. It even supports mount points, sort of, via a concept called reparse points.

    Of course none of this does us any good, because the Win32 subsystem does its best to hide whatever elegance lives in the NT kernel. You can get glimpses of it... for example, try opening the file \\.\PhysicalDrive0 for reading (don't write to it, that's your raw disk sectors!).

    You get the feeling that NT could have been something better if they didn't have to make it compatible with Win9x.

    Oh, and BTW, NTFS on Win2k does symlinks too.