diff options
| author | makefu <github@syntax-fehler.de> | 2013-12-30 03:03:22 +0100 | 
|---|---|---|
| committer | makefu <github@syntax-fehler.de> | 2013-12-30 03:03:22 +0100 | 
| commit | 96151bd07330aee400fb99fd9f8f117bae42c9e5 (patch) | |
| tree | 44c3f35a4d89e96ec97812a5879baa30bb4df0b8 /Cancer/bridge/share/doc | |
| parent | 4ae4f5f461a6d5f6290ef7da516ea22db93bfd91 (diff) | |
bridge -> Cancer/\1
Diffstat (limited to 'Cancer/bridge/share/doc')
| -rw-r--r-- | Cancer/bridge/share/doc/bridge/README.md | 59 | 
1 files changed, 59 insertions, 0 deletions
diff --git a/Cancer/bridge/share/doc/bridge/README.md b/Cancer/bridge/share/doc/bridge/README.md new file mode 100644 index 00000000..77c62374 --- /dev/null +++ b/Cancer/bridge/share/doc/bridge/README.md @@ -0,0 +1,59 @@ +Bridge is a tool to connect your favourite editor and interpreter (or +similar) for maximum profit. + + +## usage by example + +    # start your favourite interpreter, e.g. bc, in a new session +    bridge create my_fancy_interpreter bc + +    # attach a terminal to the session +    bridge attach my_fancy_interpreter + +    # fire up your favourite editor (in another terminal) +    vim +    # press <F12> to connect to the session +    # press return +    # write interpreter stuff, e.g. 42^23 +    # mark that stuff +    # press return + +    # paste some stuff into the session +    bridge paste my_fancy_interpreter '1 + 2 + 4^M' +    # (note that ^M is carriage return obtained by pressing ^V^M AKA C-V C-M) + +    # or use bridge as a sink in your pipeline +    echo 2^20 | bridge paste my_fancy_interpreter + +    # you can use tab-completion everywhere (if installed) + + +## install bridge (bourne) shell integration + +Hint #1: reboot your system or similar for this to take full effect +Hint #2: you could also use ~/.profile or similar + +    echo 'PATH="${PATH+$PATH:}//bridge/bin"' >> /etc/profile + + +## install bridge Vim integration + +Hint: your vim-setup probably differs + +    ln -s //bridge/share/vim/plugin/bridge.vim ~/.vim/plugin/ + + +## install bridge bash completion + +Hint #1: reboot your system or similar for this to take full effect +Hint #2: this could differ on your system, of course +Hint #3: you could also use ~/.profile or similar + +    ln -s //bridge/etc/bash_completion.d/bridge /etc/bash_completion.d/ + + +## install bridge into some usr-like hierarchy [advanced] + +    tar -C //bridge -c . | +        tar --exclude=./README.md -C ~/opt -v --keep-newer-files -x +  | 
