Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I use putty to login remote linux servers to run programs.

Currently I use emacs to edit the files. But the key is a little different for windows(like i cannot use backspace and del key is actually backspace). also emacs in putty is slow...

I am thinking whether there is a text editor in windows that can edit remote files.

thanks.

share|improve this question

migrated from stackoverflow.com Dec 9 '09 at 12:39

This question came from our site for professional and enthusiast programmers.

1  
This is obviously not a programming question; I recommend moving it. –  unwind Dec 9 '09 at 12:24
1  
@unwind you are so narrow! I see a lot of posts are discussing editors. Are they programming questions? Actually my question is related to programming. –  Yin Zhu Dec 9 '09 at 12:28
    
there is an option in putty to fix the backspace/delete problem. –  Justin Jan 13 '10 at 4:14

9 Answers 9

I recommend that you use the WinSCP program this software is free and works great.

Basically, all you do is connect to your Unix server then you can right-click (on a file) to edit it. You can save the file inside of your favorite editor (real-time). The Options | Preferences screen has some options to configure advanced features for your editor.

share|improve this answer
    
great! Exactly what I am seeking :) –  Yin Zhu Dec 9 '09 at 12:35

There are a lot of editors that support editing of files over ftp. Try Notepad++

Normally I use putty and Vim to edit remote files.

share|improve this answer
    
He's not using FTP. He's using Putty, which is an SSH client. –  rjmunro Dec 9 '09 at 13:20

I prefer vim for this.

share|improve this answer

You've got a couple of Emacs-based options as well:

  • You could use a local Emacs on your Windows box with Tramp to files on the remote server as long as they're accessible via FTP
  • You could configure the remote Emacs with the key bindings you're expecting
share|improve this answer

I use Zend Studio. It is possible to set charset when editting remote file via ssh or ftp.

share|improve this answer

You could map the remote server to a network drive with a program like ExpanDrive and use whatever you normally use. Keep in mind though that if you use a DOS style editor, it might add carriage returns to Unix files, and everyone is going to get pissed at you when it throws them off.

I would just use VIM myself, its not actually that hard once you get used to the fact that there is insert mode and command mode.

:wq

share|improve this answer

Your best option is to learn how to use vi (or vim) or emacs or pico or nano or any of the other assorted editors out there. It will make your life easier in the long run and make you more marketable in the job world. Plus, you'll get a lot of the tech jokes out there that you probably don't understand right now because you aren't familiar with *nix. ;)

share|improve this answer

I use and am happy with Komodo Edit for editing larger files where syntax highlighting is beneficial (ie coding in PHP). Will have to try Notepad++. Putty and vi/vim for editing config files.

share|improve this answer

I use emacs with TRAMP, it lets you open files (and browse the directory structure) over many protocols, including ssh and ftp. so you essentially using your local emacs, but your buffer is the remote file.

tramp also looks at ~/.ssh/config, so you could simply C-x C-f right into the remote server's name, enter your pass and browse the files.

here is a little video demonstration http://www.youtube.com/watch?v=UjPasLGWzD0

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.