Beefy Boxes and Bandwidth Generously Provided by pair Networks httptech
go ahead... be a heretic

Re^2: Cross-platform development: editors

by strat (Canon)
on Nov 17, 2004 at 08:58 UTC ( #408338=note: print w/ replies, xml ) Need Help??

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

btw: for emacs, there exists (as well as for vi) some dot-files which help you with the configuration. So I use a adapted .emacs based on the one from Steve Ackermann you can download from - editors - emacs - Win32 Perl configuration for NT Emacs v20.5.1. If you adopt some paths, you can also use it for linux/unix. If you are interested in my enhancements, just tell me and I'll send you my .emacs

Best regards,
perl -e "s>>*F>e=>y)\*martinF)stronat)=>print,print v8."

Comment on Re^2: Cross-platform development: editors
Re^3: Cross-platform development: editors
by RollyGuy (Chaplain) on Nov 17, 2004 at 14:43 UTC
    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
      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
Node Status?
node history
Node Type: note [id://408338]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2014-04-16 06:14 GMT
Find Nodes?
    Voting Booth?

    April first is:

    Results (415 votes), past polls