David,

You can access TextEdit (and other Mac applications) directly from terminal
with the "open -a" command syntax.  For the case you describe of wanting to
edit a dot file  (such as .profile) that is normally hidden, type:

open -a TextEdit .profile
 
and the file will open in TextEdit.

On Saturday, December 10, 2005, at 03:33AM, David Poehlman <[EMAIL PROTECTED]> 
wrote:

>When I open my home folder through the gui, , the . (dot) files are  
>not visible.  I can view them in windows and through terminal  . . .   
>I've got a .profile that's dot fprofile in my  
>home folder and I can see it from my windows box but not when I open  
>my home folder /users/davidpoehlman on my desktop.
>
>This [accessing dot files through gui] 
>would be quite facilitative as I could use text edit to do  
>editing when necessary instead of going into terminal, renaming the  
>file and then editing it and renaming it or going through the network  
>on the windows boxes.

This also works for other apps (e.g. open -a Preview, etc.)

You should also be able to drag and drop the file from your terminal
window into TextEdit (under Tiger) in the dock and have the application 
open up according to this MacWorld article:

http://www.macworld.com/weblogs/macosxhints/2005/11/textdrag/index.php 

Hope this helps.

Esther


Reply via email to