Bcvi – run vi over a 'back-channel' (2010)
Published on: 2025-06-28 17:55:47
bcvi - run vi over a 'back-channel'
If you use SSH, you might find bcvi useful. This article attempts to describe what it is and why you might use it. Let's start with what it is:
bcvi is a command-line tool that works with SSH to provide a 'back-channel' from the server you have connected to, back to your workstation.
You typically use SSH because you want to send commands from your workstation to a server, but bcvi works in the opposite direction - allowing you to send commands from the server back to your workstation. To understand why this is useful, lets look at a few examples.
Our example user Sally will use SSH from her workstation gecko to connect to the server pluto:
Example One
Sally connects to the server pluto and at the shell prompt, types a command to edit a file:
As you can see from the screenshot, Sally typed the command:
vi factory.rb
and through the magic of bcvi , the result is that the file is opened for editing in a gvim editor window on Sally's workstatio
... Read full article.