News for hackers. Stuff that matters.
Re:Chocolat - the new editor by mechanical_fish on Monday August 01, 2011 @11:33PM (#2835636)
Emacs has Tramp, which gives you (a), and one of the emacs terminal modes can do (b) if you write the requisite script (which I estimate at two lines) and bind it to a key.

You'll find these documented right next to C-x M-c M-butterfly. ;)

Though in practice I find that (a) once you know emacs it's usually just as easy to shell into the remote machine and run emacs there, so I myself have yet to really get the hang of Tramp and (b) the vanilla Terminal app plus a properly set-up .sshconfig goes a long way.

Re:Chocolat - the new editor by ww520 on Tuesday August 02, 2011 @05:18AM (#2836492)
Tramp in Emacs is great. For restricted datacenter server farms, it's a godsend to use Tramp to get to any log files or config files on production machines.

What I usually did was to run Emacs on my dev machine, run multi-hop Tramp to get to any of the production servers via a gateway jumpbox. Tramp is able to do multiple ssh hops to get to the target machine, all behind the scene.

Bookmarking the remote files makes it really easy to get back to it.

Re:Chocolat - the new editor by leif on Tuesday August 02, 2011 @12:13AM (#2835751)
if you're already in a remote (tramp'd) file, M-x eshell brings up a remote shell in the same directory