Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re^3: Cross-platform development: editors

by RollyGuy (Chaplain)
on Nov 17, 2004 at 14:43 UTC ( #408423=note: print w/replies, xml ) Need Help??

in reply to Re^2: Cross-platform development: editors
in thread Cross-platform development: editors

In addition to the previously mentioned virtues of Emacs, I use another feature that I don't commonly find in other editors. Emacs allows you to transparently (through ftp, I belive) edit files on other machines. If you are doing so much cross-development work, then you must be logging into different machines to edit the files you need.

To use this mode, type "Ctrl-x f" to bring up the find file prompt. At the prompt, enter something like the following:
Find file: /user@machinename:/directory/on/remote/machine

This will prompt you for a password and open the directory on the remote machine. You can also open files directly, but I find it most useful to use Emacs' directory mode.


Edit: Changed "Meta" to "Ctrl" as johnnywang commented on below
  • Comment on Re^3: Cross-platform development: editors

Replies are listed 'Best First'.
Re^4: Cross-platform development: editors
by johnnywang (Priest) on Nov 17, 2004 at 18:49 UTC
    Wow, that's wonderful, I just tried it, works great! (BTW, usually "Ctrl-x f" brings the find file prompt, and don't forget the starting "/"). It uses ftp underneath, so make sure the other system is running ftp.
      There is something called tramp which allows you to use ssh instead of ftp. I've had problems sometimes though when copying+pasting large chunks of text from one remote machine to another, though; it seems to leave off some of the text...

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://408423]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2023-04-01 16:24 GMT
Find Nodes?
    Voting Booth?

    No recent polls found