Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Vim editor with syntax highlighting UNIX
I have managed to compile on Mac OS X final the "vim" editor from www.vim.org - version 5.7, but syntax highlighting is working WITHOUT COLORS - syntax elements are highlighted only by "underline" attribute, not by colors. Does anybody know:

a. how to activate colors in vim in Mac OS X?
b. how to run vim as gvim, i.e. in graphical mode?

--
jpzr.
  Post a comment  •  Comments (4)  
  • Currently 3.50 / 5
  You rated: 5 / 5 (4 votes cast)
 
[12,742 views] Email Article To a Friend View Printable Version
Uninstalling a file that modified the apps folder Install
[Editor's note: See the comments for a discussion on how to resolve this issue]

I installed an application that came as a .pkg file. By installing the application it altered something in the application folder where the new application was placed. It locked the folder. And now i'm unable to edit in it. I'm not even able to create new folders in it.
Now i'd like to get trash the installed application but it's locked as everything in that folder. I can open everything in the folder but that's about. For some reason the administrator only gets the "read only" privileges. The application was jCalendar by the way.

I hope someone can help me out.
Thanx Med
  Post a comment  •  Comments (6)  
  • Currently 3.50 / 5
  You rated: 4 / 5 (4 votes cast)
 
[3,463 views] Email Article To a Friend View Printable Version
Easter Egg in OS X Desktop
This is totally minor, but you can do the slow motion genie effect that Jobs showed off at the last couple of Macworld keynotes by holding down the shift key while minimizing a window.

-perry
  Post a comment  •  Comments (1)  
  • Currently 2.80 / 5
  You rated: 4 / 5 (5 votes cast)
 
[12,590 views] Email Article To a Friend View Printable Version
Emulate an Airport Base Station System
"GDIF" has written instructions on how to use your OS X box as a Software Base Station for Airport or ethernet routing.

You can find the page of instructions here:

http://homepage.mac.com/gdif/masqfirewall.html

NOTE: I don't have an Airport, and I have a hardware router, so I have not tested these myself, but they should work as expected...
  Post a comment  •  Comments (10)  
  • Currently 1.83 / 5
  You rated: 1 / 5 (6 votes cast)
 
[7,033 views] Email Article To a Friend View Printable Version
Customize the OmniWeb browser nav bar Web Browsers
This probably goes in the category of "How come you didn't know that already?!" but I think it's worthy of a mention. I've started using OmniWeb (as of fc3) as my (nearly) full-time browser, so I'm just starting to learn its subtleties. One thing that bugged me in earlier builds was the layout of the navigation bar.

This morning, by complete accident, I noticed you can move the objects on the bar by dragging them with the "command" key held down -- cool! In addition, as pointed out in the comments, control-click in the nav bar in an empty location, and you'll see a sheet of further customization options. Very impressive!

I now have a layout that I find much more usable. As a general comment, I really like the latest OW, even though it does some not so good things on this page (the "Favorite OS X Apps" box gets muddled pretty badly), and I can't yet use it with my home banking service. It's very fast and stable, and the page rendering is beautiful! They'll be getting a check from me, as I like the idea of supporting Microsoft competition!
  Post a comment  •  Comments (6)  
  • Currently 1.78 / 5
  You rated: 1 / 5 (9 votes cast)
 
[7,879 views] Email Article To a Friend View Printable Version
Moving Apple's apps from their original locations System
I moved applications like mail, sherlock, explorer into a folder. The result was that the next time i logged in the application was shown as a "?" in the dock. This wasn't really a problem. I just moved the apps back into the dock and they work just fine again. With one exception. Sherlock didn't work anymore with the "command F" key combo. It returns a messages saying it cannot find the application.

Any ideas on how to change the orginal position of an application? So that for example "command F" will work.

I had a similar problem with TextEdit. The Terminal couldn't find the application that was removed from it's orginal position.
I really like to change the original positions so i can create a more structural hiearchy in my folders. The way Apple did it is too messy for me.

Thanx Med
  Post a comment  •  Comments (3)  
  • Currently 1.86 / 5
  You rated: 1 / 5 (7 votes cast)
 
[2,666 views] Email Article To a Friend View Printable Version
Installing PHP4.04 on OS X v10.0 Apps
A generous Mac user, 'olav', has made a pre-packaged double-click PHP 4.04 installer available! Thanks to 'jacco' for the pointer to the address.

NOTE: The following instructions apply to the files found in the "Archive" folder on olav's iDisk -- see the comments for a discussion of problems related to the new package that's also there at the root level. I installed from the 'Archive' files, and had no problems at all.

You can find the PHP files on olav's iDisk, right here.

This is about as easy as it gets for installing PHP 4; read the rest of this article if you'd like the (simple) step by step instructions.
read more (285 words)   Post a comment  •  Comments (24)  
  • Currently 2.14 / 5
  You rated: 3 / 5 (7 votes cast)
 
[6,820 views] Email Article To a Friend View Printable Version
Path statements when using the Bash shell UNIX
[Editor's note: See the comments for a good discussion and solution to this question]

I just managed to get bash compiled and running but I have a problem whenever I switch the shell in Terminal.app's preferences.

If I set it to bash, zsh or anything besides tcsh, it seems that I can only use commands from /bin. I mean, I'm missing basic stuff like ping and traceroute. I can su root and copy commands from /sbin or /usr/bin, but this doesn't seem like the right way to go about using my spiffy new shell.

Oddly enough, I can start Terminal with tcsh and then temporarily switch to bash, and everything works perfectly. Tried using chsh, but it launches vi, and vi and I are not on speaking terms.

Need help from someone who knows what the heck I'm doing wrong.

Thanks,
-Jeff K.
  Post a comment  •  Comments (10)  
  • Currently 4.25 / 5
  You rated: 5 / 5 (4 votes cast)
 
[5,977 views] Email Article To a Friend View Printable Version
Installing DNSUpdate Network
Whew! Just got through installing DNSUpdate. I had trouble with the installer. It started up, but didn't seem to do anything. By looking at the uninstall directions, I figured out how to install it manually though.

I untarred the Files.tar.gz in the installer:
sudo tar xzvf DNSUpdateInstaller.app/Contents/Resources/Files.tar.gz
That got me most of the way. But it seems that the location of the StartupItems folder has changed since the Public Beta, so I had to move it:
sudo mv /Library/StartupItems/DNSUpdate /System/Library/StartupItems
After that I just rebooted and saw DNSUpdate start up. Then I logged in and ran DynDNS in the /Applications/Utilities folder. I entered my info, and it worked like a charm.
  Post a comment  •  Comments (0)  
  • Currently 3.00 / 5
  You rated: 5 / 5 (6 votes cast)
 
[5,206 views] Email Article To a Friend View Printable Version
Remove foreign language files to save disk space Install
[Editor's note: I have replaced the original method listed here with a much safer version. The "find" command line hack removes some Epson and Apple files that also end in ".lproj".]

If you plan on using your machine for only English (or only one of the other languages), you can safely remove the foreign language files (*.lproj) from your drive, freeing up over 200mb of space. "Since EBCDIC" posted a script in this MacFixit forum thread that does the trick.

Read the rest of the article for the how-to!
read more (187 words)   Post a comment  •  Comments (14)  
  • Currently 2.50 / 5
  You rated: 2 / 5 (4 votes cast)
 
[27,688 views] Email Article To a Friend View Printable Version