[wellylug] Anyone here use SSH?

Grant McLean grant at mclean.net.nz
Fri Jun 4 10:07:38 NZST 2010


On Fri, 2010-06-04 at 09:56 +1200, David Antliff wrote:
> On Fri, Jun 4, 2010 at 09:31, Grant McLean <grant at mclean.net.nz> wrote:
> > If you're a regular user of SSH and especially if you use 'vi', you
> > might find 'bcvi' useful.  I've just published an article about it here:
> >
> >  http://sshmenu.sourceforge.net/articles/bcvi/
> 
> Cool - and a similar thing for Emacs:
> http://www.gnu.org/software/tramp/

I've never been an Emacs guy, but I don't think that's the same thing at
all.

TRAMP for Emacs seems to perform the same role as the NetRW module for
Vim - ie: adding the ability for the editor to read and write files on a
remote machine using a URL syntax to refer to the remote files.

What bcvi brings to the party is that when you're already logged into
the remote server and you find a file you want to edit then in that
remote shell session, you just type:

  vi filename

and bcvi transports that back to your workstation so that the filename
URL is calculated for you and the file is opened in an editor process
running on your workstation.

So bcvi isn't directly enhancing the vi command - it's just a wrapper to
make sure it gets called with the right URL.

Someone could definitely make a bcvi plugin that does the same thing for
Emacs+TRAMP.

Cheers
Grant





More information about the wellylug mailing list