Kannan Moudgalya wrote:
[]
Because of the familiarity from linux days, I had liked using xterm.  Is
ther any real reason why one would prefer xterm in mac os x over Terminal?

No.

I have a new question: How does one invoke the programs on the dock from
command line?  Using "man open", I found that commands of the form "open
-b bundle_identifier" would work for the programs that come with mac. For example, "open -b com.apple.Safari" can be used to open Safari from
the command line.  But I can't figure out the bundle_identifier of other
programs.  I recently installed carbon emacs and adobe reader and I would
like to call them from command line.  Thanks.

You can use "open -a Safari" or "open -a Safari.app" or "open -a /Applications/Safari.app". You need to know the real name of the app, which is not easy either. "open -a Adobe\ Reader\ 7.0.5.app" works for me, for example, although this is version 7.0.7. Neither "open -a Adobe\ Reader" nor "open -a Adobe\ Reader\ 7.0.5" will work.

As for the bundle identifier, look for CFBundleIdentifier in *.app/Contents/Info.plist. Or browse your ~/Library/Preferences directory.

--
Martin



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Fink-beginners mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to