[Editor's note: Submitted by bobdavis on July 6th.]
I'm a web developer using MacOS-X for all of my development. I wrote a quick instructional article detailing the steps for creating Name-Based Virtual Hosts on a MacOS-X machine to aid in the development of multiple sites.
[Editor's note: Submitted by ehintz on July 6th. This story is great news for those of you using non-Apple wireless cards to access your network. Check out the referenced MacNN forum for some great info about the drivers and how they came to be!]
Open source OS X drivers are now available for Lucent's WaveLAN cards. Instructions for installation can be found in this MacNN forum.
[Editor's note: Submitted by Nick Jones on July 5th.]
I had just downloaded a rather large mpg of A Perfect Circle performing on Conan the other night, and was trying to see what brand of drums Josh Freese uses.
I had paused the clip, and accidentally pushed the scroll wheel on my Logitech scrolling mouse forward one "click".
Much to my amazement, the video advanced one frame. This works backwards and forwards and is very smooth and exact on a B&W G3 400/512.
For all you DV editors out there using MoviePlayer for playback, this is an awesome way to simulate a jog wheel on a break out box on the cheap. I haven't checked to see if this works in iMovie as well but I would bet it does...
[Editor's note: Submitted by Crusty on July 5th. This question has been asked numerous times in the last month, so I figured I would see if one of the Apache wizards out there can provide the answer for the interested readers...I have an idea of what needs to be done, but not all the details.]
I've recently installed OS X on my Powerbook and love it. The main reason I purchased OS X was so I could work on Web pages that use SSI, Perl, PHP and MySQL without always having to connect to the Internet. I've followed some tutorials on this site about installing Apache, PHP and MySQL, and have them all running properly from my user directory called "Sites"!! I love it. But... I can't get any CGI/Perl scripts or SSI to work properly. I've used the terminal to go into the config file and altered the following lines:
[Editor's note: Submitted by Tony Williams on July 5th. I have not personally tested this script yet, so use at your own risk.]
I did some hacking and testing of robh's Perl script to auto change the desktop picture. Step one was to fix the way it killed the Desktop rather than the Finder (much safer). The other was to fix the handling of the file URL so that it worked with all Mac file names, including ones with spaces or other characters.
Read the rest of this article if you'd like the new and improved script.
I find the default pager (more) for the 'man' info pages to be buggy. Pressing F forwards 3 pages instead of one, it always exits at the last page, and the formatting can be improved. I prefer the program less. To change it, add this line to your ~/.login file:
setenv PAGER /usr/bin/less
This should help because, as we all know, man is dogs best friend.
If you're looking for some of the more common GNU software programs pre-compiled in easy-to-use package installers, check out osxgnu.org for things such as Pine, Bash, Lynx, etc. If you don't have the developer tools installed, or simply want an easier way to get at some of the more common GNU packages, osxgnu.org seems like a good source.
An contributor pointed me to a discussion on the Apple Discussion boards concering POST and CGI's on OS X Server. It appears that when the POST method is used on a web page, the contents of the variables that are "posted" are not sent to the CGI. Since the CGI is expecting input and receives none, it will not work correclty.
Check out the discussion if you're having trouble with POST functions and OS X Server...as of now, there are no solutions listed, but there is active conversation on the topic.
I was reading a thread in hear talking about a problem with Services ( Mail, Grab, OmniDictionary, etc. -- Oh yeah, don't forget Quake 3 Arena [1.29f] ), namely that you can't know which Service is going to get a key if they both have it defined for a shortcut.
I ran into this problem myself today. I downloaded OmniDictionary and InstantLinks, and they both define the same two keys for the same two options ( "Lookup in Dictionary" and "Open URL" ). I prefer OminDictionary's much more featured lookup ( InstantLinks just jumps to m-w.com ), but Instant had taken over the 'Command-=' key. I tried a number of experiments to see if I could control which Service got the key. I thought perhaps the "Install" order might have something to do with it, but no cigar ...
[Editor: If you're interested in changing the keys assigned to various system services (available under the "Program menu" in the menubar), read the rest of this article for the how-to ... it's fairly easy, and definitely a handy tip!]
[Editor: Please see the comments; this is probably NOT the best way to do this!! Kill is fairly abrupt, and will end ALL terminal sessions. The comments have some alternative.]
This is one I've been trying to figure out for quite some time and finally managed to figure out so I thought that I'd share it with you.
I wanted to run a shell script from the GUI and have the Terminal close itself down at the end of the script. The only way I knew to do this was to use a modified version of the Dock Restart script from elsewhere on this site. i.e.
but this would result in a "Application unexpectedly quit" error message. If you change the line "kill $TERM" to "kill -9 $TERM" the error message no longer appears. Simply add those lines at the end of your script to make the Terminal vanish when the script is complete.
So now to make a script executable from the GUI.
1) Type the script in your favourite plaintext editor, include the above script at the end.
2) from the terminal run "chmod +x Text.file" (Where Text.file is your files name)
3) In the Finder do a 'get info' on your text file and change the Application to Terminal.
4) Double click the file and voila a script that runs itself and then quits the terminal with no error.