One script, multiple personalities
- Start a listener process on the workstation:
bcvi --listener
- SSH to server with port forward for listener:
bcvi --wrap-ssh -- hostname
- Unpack overloaded $TERM and set up an alias:
test -n "$(which bcvi)" && eval "$(bcvi --unpack-term)"
test -n "${BCVI_CONF}" && alias vi="bcvi"
bcvi filename