osx

How to disable flashing terminal in Mac OS

when i enter terminals commands etc and hit TAB (file name completion) the whole terminal window flashes rapidly (if there is no unique filename for example). This is not good since for some people this can trigger a seizure, and for me it causes really bad headaches. Is there a way we can disable this flashing? ...

How to move GCC in osx from xcode to /usr/bin

I have the gcc compiler in "/Developer/usr/bin/gcc" but when i type in gcc into terminal it says can not be found, i assume this is because its not in the "/usr/bin" dir. So can i a) move gcc from the first dir to the second, or set some kind of shortcut pointing gcc to "/Developer/usr/bin/gcc" ...

Why won't my Ruby script execute in TextMate?

I'm learning basic game programming using Ruby and Gosu. I've installed Gosu from RubyGems, and it is currently sitting in /usr/local/lib/ruby/gems/1.9.1/gems/. The full path is /usr/local/lib/ruby/gems/1.9.1/gems/gosu-0.7.24-universal-darwin/. When I'm working on my game script, I can execute the file just fine using the terminal comm...

Terminal displys wrong php version (Snow Leopard)

Need to downgrade php to 5.2.x, so I followed this tutorial: http://andreys.info/blog/2010-03-25/compile-php-5-2-on-osx-10-6-snow-leopard#comment-631 I'm on snow leopard 10.6.4, with xcode installed. So I compiled php5.2.x and completed the tutorial. phpinfo() loaded within the browser at htp://localhost says 5.2.x, Great!! But, Termin...

How can I disable the "Help" key under OSX?

I like to use the "Del" key when I type, but often miss and hit the "Help" key by mistake, which can be costly (another window opens, sometimes steals the focus, etc.). I'd like a software solution such that hitting the Help key does nothing. Yes, I've tried remapping it. There are a ton of resources around on how to rebind keys under...

EMACS Question - hash key

I have a Mac Laptop and I am connecting to server running Linux. As Alt+3 is already bound in EMACS to a command, so I cannot insert the hash symbol in a file. I have tried the following solution I found online: (global-unset-key (kbd "C-3")) (global-set-key (kbd "C-3") '(lambda() (interactive) (insert-string "#"))) //I know that ...

Mac OS X copy file with progress bar to a webdav share

Hello Stack Overflow, How does one copy the file to a webdav share? We are currently using FSCopyObjectAsync to copy files to local file system or SMB, however it quits almost immediately when copying to a mounted WebDav share. To verify the behaviour I've run rsync and the transfer was completed in about 1-2 seconds reporting the progr...

Get XAMPP PHP mail function to work in OS X

I'm using XAMPP for Mac, and it seems that the mail function doesn't work. I've tried changing from using sendmail to use SMTP (gmail) without luck. Now my php.ini looks like: [mail function] SMTP = smtp.gmail.com smtp_port = 465 smtp_ssl=auto auth_username=[user]@gmail.com auth_password=[pass] sendmail_from=[user]@gmail.com If I do "...

access os x IME capabilities from code

Hi, How can I access the IME configuration of an OS X system? I would like to get the key to enable/disable IME input for instance, get the composition window position, selected candidate etc. Any language is fine, I just want to know how such a thing is possible, thanks! ...

How to prevent NSSearchField from overwriting entered strings using the first autocompletion list entry?

I am looking for a way to create an nssearchfield that behaves as follows: user types in text based on matches an autocompletion drop-down appears the text in the search field does not autocomplete to the first item in the list The point is, my string matching searches for any substring and autocompletion in the text field woul...

LSP (Layered Service Provider) OS comatability

Hello! Which operationg systems support LSP (Layered Service Provider). Interecting operating systems (Windows XP 32/64bit,Windows Vista 32/64bit, Windows 7 32/64bit, Windows Server 2008 32/64bit, Windows Server 2008 R2 32/64bit) Thanks! ...

Optimize read/write speed of a single file via caching (Mac OSX 10.4)

My bookmarks.html file is 40 MB in size. Anytime I edit a bookmark in Bookmark Manager (Firefox), I find myself waiting 10-20 seconds for the operation to complete. (Looking at the Activity Monitor, I can see there is a lot of disk activity). Q: How can I tell my OS to specifically cache the file "bookmarks.html" (so that read/write o...

Do OS X applications written in Mono have the same features as MonoTouch?

What I mean by this is: MonoTouch integrates and binds to Interface Builder and the full Cocoa Framework. MonoTouch applications compile with the runtime, so there is no JIT, and no runtime needs to be present on the host OS. Can OS X applications written in Mono take advantage of these MonoTouch features? ...

Tips for an iOS developer to learn Mac programming?

As Apple announces the Mac App Store, I'm going to learn Mac programming. I am typically one of those who read the Beginning iPhone 3 Development book before the Cocoa Programming for Mac OS X book. The reason I bought a MacBook was due to the fact that Xcode runs only on OS X. So, what's your tips for an existing iOS programmer who is a...

Mac OS X Boot Camp stealing 1GB of RAM from Windows Vista

I am running Boot Camp 2.2 (just updated the software and restarted) on my Mac Mini, which has 2GB of RAM in it. When I launch Windows Vista, my available RAM is only 1GB (it lists 1.00GB in Computer -> Properties, and only 876MB of TOTAL Physical Memory in Performance under Task Manager). I'm curious as to why this happens...is this a b...

what is the program flow in Cocoa Applcation

Hi, I am new to mac os X development ,I downloaded an open source mac application ,but i couldn't able to understand the flow of execution of cocoa program.so any one can explain the program flow of a general cocoa program briefly. Thanks in advance ...

Team Explorer 2008 - using on a Macintosh

We use Team Foundation 2008, but we now have Macintosh machines on our network. We use Team Explorer 2008 on our Windows machines, but I can't find an installation for TE 2008 for the Macintosh. Is it advisable to install Team Explorer 2010 on the Macintosh connecting to the TFS 2008? ...

How can I increase the font size in Interface Builder

Is it possible to increase the font size in Interface Builder? The ridiculously small side of those fonts, specially on the Inspector, are giving me headaches. ...

MacOS + apache + mod_wsgi + django: what's a correct folder layout and permissions for web apps?

Hello. I'm testing django right now on Max OS X Snow Leopard Server. I have compiled mog_wsgi for build-in apache/python and enabled it in apache via LoadModule wsgi_module. I have also installed django via standard python setup.py install command. After that, i have created a test django application by named webtest in ~/Documents and ...

Ignoring Fink's texlive in favor of a modern distribution

I have installed the latest version of MacTeX-2010, an oft-updated distribution of texlive. However, after my last fink update-all, fink insists that its version of texlive (from 2008) is a requirement. My question is, What should I do after installing fink's texlive so that my system completely ignores fink's version? I am usin...