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

migration rejected from stackoverflow.com Mar 13 at 17:53

This question came from our site for professional and enthusiast programmers. Votes, comments, and answers are locked due to the question being closed here, but it may be eligible for editing and reopening on the site where it originated.

closed as off-topic by HopelessN00b Mar 13 at 17:53

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

    
there is an option in putty to fix the backspace/delete problem. –  Justin Jan 13 '10 at 4:14

8 Answers 8

I prefer vim for this.

share

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
    
great! Exactly what I am seeking :) –  Yin Zhu Dec 9 '09 at 12:35

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

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

share

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

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

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

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