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

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 www.dotfiles.com - 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.8.8.32.11.32"


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.

    Enjoy!

    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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (9)
As of 2014-12-29 15:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (192 votes), past polls