Skip to content

Commit

Permalink
scvim: now compatible with gnu screen, opens post window using screen…
Browse files Browse the repository at this point in the history
…, making it compatible with a pure-CLI environment

git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk@9856 a380766d-ff14-0410-b294-a243070f3f08
  • Loading branch information
danstowell committed Feb 18, 2010
1 parent 1b189cb commit f975ada
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions common/build/ChangeLog
Expand Up @@ -26,6 +26,7 @@ Headlines:
* 2010-01-02 scsynth: use osc-compilant address patterns for server/lang communication - tb
* 2010-01-24 add readline interface to sclang command-line. This is used by default when invoking "sclang" (to use the non-readline interface set the "-i" option to something other than "none") - ds
* 2010-01-24 enable GPL3 code by default - this 'upgrades' the overall binary license from GPL2+ to GPL3+, and allows supercollider to benefit from GPL3+ libraries such as libsimdmath and gnu readline - ds
* 2010-02-18 scvim: now compatible with gnu screen, opens post window using screen, making it compatible with a pure-CLI environment - ds

Bugfixes:
---------
Expand Down
6 changes: 5 additions & 1 deletion editors/scvim/ftplugin/supercollider.vim
Expand Up @@ -201,7 +201,11 @@ endfunction

function SClangStart()
if !filewritable(s:sclangPipeAppPidLoc)
call system(s:sclangTerm . " " . s:sclangPipeApp . "&")
if $TERM[0:5] == "screen"
call system("screen -D -R -X split; screen -D -R -X focus; screen -D -R -X screen " . s:sclangPipeApp . "; screen -D -R -X focus")
else
call system(s:sclangTerm . " " . s:sclangPipeApp . "&")
endif
else
throw s:sclangPipeAppPidLoc . " exists, is " . s:sclangPipeApp . " running? If not try deleting " . s:sclangPipeAppPidLoc
endif
Expand Down

0 comments on commit f975ada

Please sign in to comment.