wood burning stoves*
The moose likes General Computing and the fly likes I am a new Mac user.  How do I use a third party text editor on a server? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "I am a new Mac user.  How do I use a third party text editor on a server?" Watch "I am a new Mac user.  How do I use a third party text editor on a server?" New topic
Author

I am a new Mac user. How do I use a third party text editor on a server?

Rick Silva
Greenhorn

Joined: May 05, 2011
Posts: 6
I am going to buy the TextMate text editor for my new Mac. When I come in in the morning I ssh from my Mac onto a server where I do my day's work. I'm thinking that if I install TextMate on my Mac, I won't be able to edit files on the server with it. I'm also thinking that if I install it on the server, my I won't be able to use my Mac to interact with it.

Sorry for the noob question, but how does this work?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61662
    
  67

You use Terminal to ssh into the server and then use a terminal editor like vi, pico or emacs installed on the server.

A GUI editor running on a Mac, or even a Windows PC, isn't going to have access to the server (unless you do some sort of NFS-ish type mounting of the server filesystem to your local system).


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Rick Silva
Greenhorn

Joined: May 05, 2011
Posts: 6
Thanks for the response. That makes sense. It just seems to me that developers all over the world could be so much more productive if they had the ability to fire up a sophisticated editor while working on the server.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61662
    
  67

Sounds like a product opportunity!
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61662
    
  67

By the way, is the server also a Mac?
Rick Silva
Greenhorn

Joined: May 05, 2011
Posts: 6
No, it is Linux.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5843
    
    7

If I will editing text files only occasionally, or if I have no control over the server, I just ssh to the server and use vi.

If I will be doing a lot of text editing on the server, I set up VNC with a Gnome session on the server and then run a VNC client on my desktop. Then I can used gedit, emacs, or any other editor.


JBoss In Action
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61662
    
  67

Ubuntu? If so, another option is a service like Dropbox that will mirror a portion of the filesystem between the server and the client. That way, you can edit locally and the change will be propagated automatically.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: I am a new Mac user. How do I use a third party text editor on a server?