Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Rick Silva
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64192
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
Rick Silva
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64192
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like a product opportunity!
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64192
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By the way, is the server also a Mac?
 
Rick Silva
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, it is Linux.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64192
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic