Top Ten Mac OS X Tips for Unix Geeks
Lisa writes "There are big differences between Mac OS X and
Unix machines. In this MacDevCenter article, Brian Jepson has assembled ten
tips to help achieve a smooth transition from Unix to OS X."
← Back to Stories (view on slashdot.org)
I did not (and still don't?) now have anything against MacOS X but that articles makes it sounds like everything is turned up side down. Really, I had the belief that Mac OS X is just about same as everything else *nix. However, this article did good work in convincing something else.
I run entirely Solaris and Linux as my desktop environments. My wife has an iBook with OS X (not Jaguar yet). I do most of the administration on it for her, which has been fun since I hadn't used a Mac since 1989...and OS X is the most usable (for me) that I've found. I could almost use it as a workstation...except for screen real estate issues. I'm amazed that there seems to be no default way of running virtual screens in OS X -- which keeps me from being able to work effectively when I have to wade through dozens of terminal sessions on one box (and 'screen' isn't sufficient).
Short of running one of the X11 WMs described, does anyone have a native Aqua virtual window tool?
Any insights by UNIX geeks that use MacOSX? Have you been bitten by these "features"?
You are correct in what you're saying about Apple. Things would be a lot worse - in fact, we might not have much at all, just MacOS 7.xx on more expensive hardware. Or the PC revolution might not of happened at all. Who knows - and it's all academic anyway. Apple could not now - nor will they ever - have too much power in the PC space, so we can play with thier toys without needing to worry about feeding a monster.
That being said, OS/X is in of itself cool. It's pretty, stable, reasonably fast and it is *nix under the eye candy. Geeks like that. Being an Apple product is secondary to the fact that it's a really nice OS.
Soko
"Depression is merely anger without enthusiasm." - Anonymous
IMHO, X + fink + OroborOSX is the best enviorment imaginable. Yes it's expensive, no it's not quite Unix, but wow!
"A language that doesn't affect the way you think about programming, is not worth knowing" - Alan Perlis
I do not understand the obsessiveness with Apple. Have you forgotten the latest DMCA drama over iDVD? Have you forgotten how Apple eats up app developers by bundling similar features into the OS? Does that remind you of anybody else? Sure their products are slick and we must acknowledge that. But how come recently every sneeze in Cupertino becomes a fever at Slashdot?
In no particular order: /bin, add it to /etc/shells, and change root's shell and your shell. /home from somewhere. /etc 'cause most of that stuff is ignored.
* Forget tcsh and get bash, copy it to
* Go to The Fink Package Database and snag a ton of cool Open Source apps.
* Mount
* Usually stay away from
* Forget sudo and enable root access (I forget how, I don't have an OS X box in front of me), then use su.
* Don't delete ~/Library, that's where all your preferences are saved.
* Load XDarwin in rootless mode and run x2x way cool.
* Get the absolute latest autoconf, automake, etc that recognize Darwin.
* Don't forget to click "Require Password" in your screen saver.
* Put your own pictures in, er, somewhere in your home directory (don't remember where) so the screen saver can display them in its slide show.
Now if only the WM had "focus follows mouse" and iTunes played Ogg Vorbis.
Remember? I am a Unix geek and as such I don't buy any eye candy. Normally I deal with serious data processing stuff. And I don't buy hardware args as a reason - I've already got G4 to run Gentoo Linux.
So, is there any *REAL* serious reason?
Less is more !
But they DON'T have MS's monopoly, and so therefore they actually innovate and improve their products. Linux, on the other hand, does a good job of scratching other people's itches. I'm not a programmer, nor do I wish to become one, and the slapdash nature of the Linux/FreeBSD/whatever UI is not appealing to me. No dis, mind you, it's just not for me.
The MS monopoly is the critical distinction. Me, I'm not a zealous open-source advocate. I think it's a good system and a good philosophy, but I am willing to pay for good quality, well designed software and hardware. Apple gives me that. Microsoft does not. Linux sure doesn't, either.
Why yes, I AM a rocket scientist!
OSX - a closed source operating system
/. to promote your dark overlord, please say so.
Can you say "open"?
People might like to think that Apple is somehow better than Microsoft
If you work for Microsoft and are trolling
In the meantime, Apple is better than Microsoft, and not just "somehow". They have better software, better hardware (althought I am using a microsoft mouse with my mac...I love the little wheel), their stuff looks better, works better, is more innovative, etc.
I've been using Macs and PCs since the 80's, I've followed the evolution of both, I'm not some one-side zealot. I'm telling you: The only things Microsoft has over the mac are 1-Popularity (more people use it because more people use it, vicious circle), 2-Cheap ass hardware (you get what you pay for), and better CD management (but the floppy thing is lamer than a one-legged lemur). Oh, and 4-Wheely mice (although they do make mac drivers for 'em, yay!).
if they had Microsoft's monopoly, their behavior would be no better
There are so many things wrong with this sentence, I'm having trouble replying. Ok, lets see...
Many people HATE microsoft, while many people are just in love with apple. Why is that? Because of Microsoft's behaviour. The very behaviour that led them to a monopoly position. So if Apple had the same attribute as Microsoft (a lousy attitude and a monopoly), people's attitude to Apple would be the same as it is towards Microsoft. Big fat DUH.
Your FUD bothers me.
You can't take the sky from me...
And, oddly, 8 of the 10 "tricks" they suggest are in fact actually _harder_ than the normal way of doing things. I don't get techTV on my cable package, are they usually this dumb?
(in windows it'd be like: Did you know that to turn your screensaver on you can browser My Computer/Windows/something.scr and double click on it? Instead of using a hotcorner or anything, you know, sane.)
I'd add that you can also have hard links and symlinks in ext2fs, and various types of "link files" (.lnk, .pif) plus symlinks + "junctions" on ntfs.
So this kind of design is accepted across the industry.
why the enthusiasm for encouraging people to switch to OSX - a closed source operating system made by the poster-child for locking people into overpriced hardware?
Because OS X seems to deliver on all of the promises that Linux has been making for years.
While I love open-source software, I switched to a Mac because I got sick of waiting for the open source community to start making a useable desktop. Linux and the BSDs are fantastic on servers, but whenever I used either as my primary machine I found myself wrestling with the system a lot more than I wanted to. I don't want to learn the intricacies of my Xfree86 config files. I don't want to find where Red Hat hid Apache today. I just want to fire up my Dev Tools/Word Processor/Photoshop and get to work. I got away from Windows because I was sick of fighting with my machine. Why would I want to go back to that?
OS X is the first system since BeOS that does all the unixy stuff that I want without sacrificing aesthetics or ease-of-use. Overall the system is clean, intuitive, and I don't have to wrestle with it on a daily basis. Amazingly, it doesn't seem to sacrifice any flexibility or power for its' simplicity. When Linux makes me as productive as OS X, I'll go back in a second. Until then, you can pry my iBook out of my cold dead fingers.
This
They reorganized almost everything, so that everything from cp (only "ditto" copies metadata) to shutdown (not rewritten to care about Apple's replacement for /etc/init.d) to /etc/passwd (user information is now stored in "the NetInfo database") is now useless, and worse, vestigal (!), but everything new they introduced makes the previous unix "non-naming schemes" and disorganization look great by comparison. ".vol" is where trashed files go? It's ".DS_Store" rather than ".Finder Settings"? For that matter, why on earth are we still prepending periods to hide files? Or hiding /usr and /tmp at the application level rather than having a legacy emulation layer and just doing it right? Aliases don't work at the "unix level," and symbolic links work everywhere, but we're once again back to things that break when you move the target... This is the freakin 21st century here.
It may appear to work, and it may crash less than OS9, but from a design point of view, OSX is an anathema. This article just makes it clearer: OSX is, not a port of MacOS or an enhancement of Unix, but a bloody (and fatal?) collision between the two, where both lost what clarity and integrity they had by attrition to the other. A great opportunity to do a new system right was squandered by what appears to be terrifyingly sloppy-looking engineering.
Want to Know How to Cheat the GPL? Read On!
Apple was an early user of soft shutdown and case buttons that interacted with the OS. Windows 3.11 and earlier didn't have software shutdown. You know, because Windows is just a DOS application anyway ;).
-Kevin
I don't think that's going to happen, and I think Apple is shooting themselves in the foot with that assumption. UNIX users like open systems: that come from multiple vendors and have open specifications. If they didn't, they would have moved to Windows long ago.
Sure, there are some UNIX users that really go for the OS X pretty look and are happy with a BSD-like system call interface and a C compiler. But I think for the most part, OS X enjoys popularity among UNIX users only to the degree that it is UNIX compatible. If Apple wants to be in the UNIX market in the long term, rather than just receive a brief shot in the arm from a few UNIX converts, they need to make a long-term commitment to interoperating more with UNIX systems, and they need to give up dreams of "transitioning" UNIX users to Mac OS X.
our entire development department and company backend is 100 percent linux (mostly RedHat). we just hired a new developer whose laptop is running OSX.
since he was going to be a remote user, he attempted to get his laptop up to speed with the necessary compilers, python modules and other development pieces.
after two days, he gave up in frustration, went to the nearest CompUSA, bought a new laptop and installed RedHat 8.0.
now, he is a happy, development camper.
now, i don't know much about OSX. so my question is, can OSX easily be used as a competent developer platform?
From The Apple Store the base price of the low end tower model (the one you used) is $1,699.00
That includes the following:
Power Mac G4 Dual 867MHz w/133MHz system bus
That is the base model.
I would buy that base model with AppleCare added on (about $269) and get any extra drives or memory separately from a third party vender.
The price is reasonable if you don't buy Apple RAM or hard drives other than one size bigger than the base.
One correction.
The iBook is one of the few products Apple makes that costs LESS than comparable Windows laptops (the others generally will cost about the same or more, probably more).
I say comparable because any Windows laptop costing less than the iBook is last years model.
The reason this happens is that unlike desktops, you can't get away with commodifing the innards as you have to design custom parts for a lot of the pieces to fit inside that small case.
In other words laptops are tightly integrated.
Uh - what's wrong with enthusiasm? Last I heard, CmdrTaco and Hemos were both using OS X on PowerBooks, and Taco called OS X 'the missing piece of the puzzle'. Where's the conflict? Seems to me someone is flamebaiting, fearful that the unrevered RMS might find himself in a jam. And as for paying for stuff that works - isn't that exactly what Linus himself told RMS not too long ago?
People speaking highly of OS X usability are not fanatics or Linux Puritans - they just want to get the job done on quality hardware, and nothing does it like OS X on a Mac. End of story.
The Rixster
Of course I've "*used*" it. I've spent quality time with people who are programming against it, and I've read much of the developer literature. I see a lot of ambivalence about OSX. I don't think the OS9 cruft is eliminated; I believe that it's all still there, both in the Classic emulation layer and in the APIs which (in earlier drafts I read were simple, beautiful, and well-organized, very Java-like) Adobe forced Apple to cruft up to make native ports of their software easier... and then took their sweet time with those native ports to boot.
/usr at the application level means that the user is guaranteed to see it at some point and be confused... I don't understand why they didn't approach unix more like they approached classic. With some containment. Seems like that would have been simpler, more much compatible, easier to use...
You said: "without a lot of the cruft that other Unix systems have accumulated," but I have no idea what you mean. What unix cruft is gone? Are you talking about X11 being replaced by Aqua? From my point of view, all the bad things about Unix are still there, and worse, new unix-esque crap has been piled on top of it, often conflicting, and badly, to add to the confusion that Unix already is.
I think the ditto issue is emblematic of the entire conflict between unix and OS9; they've met, and they've been joined by a confusing and unfortunate kludge which everyone who uses the system is guaranteed to run afoul of. Copying files is about the most basic and fundamental activity you get into in an OS - that's not a little detail you overlook. Why not just modify cp to copy metadata if it exists, or make cp a link to ditto? Or the passwd file being superceded (at least in "some cases," I'm sure) by another database... My rule on this stuff is that if you're going to fsck with the password file, you'll break a lot of old code, but once you do replace it, you take the old piece out... the only thing worse than broken old code is broken old code that thinks its working.
There are more complaints I didn't even get into. The incredible performance hit of scattering metadata of various kinds in what seems like dozens of flat files, so that the UI chains up thousands of seeks all over the disk, parsing XML and doing lots of complicated crap just to show you the contents of a folder or the properties of an application... And then apparently tying everything up in the layout loop... Have you tried resizing windows? It's tragic. And then there's the fact that Apple seems to have abandoned the superior use of metadata it once had; I see gnr9ng.xyz files scattered everywhere, not legacy stuff but new stuff created by Apple, as if it's a DOS box... IOW, turning their back on one of the earliest and best ideas in the Mac: type and creator information, instead of goofy abbreviations and naming conventions that are super-easy for the user to run afoul of.
My big complaint with them is rather than boxing up traditional unix organization and features (which have no place on a desktop Mac, IMO), they made MacOS into a Unix clone, and an annoying one, because there's a bunch of important differences and gotchas and thus hassles actually porting and running unix software, since they did change quite a bit, even if they didn't fix it... meanwhile hiding
Want to Know How to Cheat the GPL? Read On!
OS X is a certified Unix, but to most people, that is absolutely meaningless.
Now where being a Unix(-like), Linux has it where it counts(and so does *BSD). GNU/Linux & BSD work and behave like you'd expect a Unix OS to, from the gui(X) down to the command-line.
So, while OS X is a certified Unix and Linux/BSD are not, Linux/BSD meet peoples' expectations of how a Unix OS should work much more than OS X.
On the other hand, I'm not saying that OS X shouldn't do things it's own way, in fact in many areas they've done a good job of making things better for most(ie. desktop users) users while at the same time keeping the system more robust that OS9 or Windows and comparable to more traditional Unix(-like) systems.
Sticking feathers up your butt does not make you a chicken - Tyler Durden
I work for an IT dept. for a Comm Arts. college at a major university. We have both Macs & PC's, and they are about equal in numbers, maybe slightly more Macs. The university offers classes from time to time, and my boss went to an intro Unix class so he could learn some new tricks for OS X, which we just installed in our labs over the summer. At the end of the class, the instructor asked if there were any other classes they thought the university should be teaching. My boss told him "yeah, you should teach an OS X oriented unix class". He then found out that 5 of the 12 people in the classroom were there because they were already running OS X, and another 4 were there because their dept. (I think it was one of the Biology depts.) were switching over to OS X because a lot of the old Unix apps were being ported over to OS X. So 9 out of 12 were there for OS X. I wonder if this is a trend at the university level?
Taking guns away from the 99% gives the 1% 100% of the power.