You are not logged in.
Hi Forum,
this is not really a arch-related however it is application-related.
I am running supercollider (programming language for producing sound) on vim and I have this laptop which is rather old that I use as a sort of typewriter, however, I have not been succesfull at setting it up to run vim with the plugin.
The problem is that supercollider needs a terminal to run the actual language and send messages to me. It is setup on my desktop computer to excecute in a terminator window, as such:
(From vimrc):
let g:sclangTerm = "terminator -x $SHELL -ic"
But I can not figure out what to replace this with in order to run it without a window manager. I was hoping to get it working with dvtm, essentially opening up new shell window where sclang is to be run. I have no idea how to get this across through vimrc.
Does anyone have a clue? It would be most helpful!
Last edited by garbochock (2015-03-25 11:13:55)
Offline
If you do not want any kind of GUI you can always use the tty. Terminator's features are useless when you learn GNU/screen or tmux.
Offline
Certainly!
The tty is great and I've been messing around in it on my desktop.
However, I don't know what message to send to vim - to get it to succesfully excecute sclang in the tty. As stated, preferably in a new window of dvtm.
Offline
You can run a light WM, e.g. dwm or stay in the tty.
You boot into a shell (e.g. bash) and start vim. If you want, you can start dvtm, tmux or screen first, then start vim inside them. You can use other ttys (switch with Ctrl-Alt-F1, F2 etc.) if you prefer it this way.
Offline
I don't know dvtm that well, but in tmux, you'd just use "tmux new-window" followed by an optional command to run in that new window (a shell is the default). I just bound "tmux new-window htop" to a key in vim, and it behaved as expected.
Could you please revise your title to actually resemble the question. This has nothing to do with running vim without a WM, to do that, you just type "vim".
Also please describe your setup. Have you built your own supercollider package? If not, you need X (and even qt4 and webkit) installed already as dependencies. Running X with a light (or no) WM hardly requires any system resources if you already have X installed.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I don't know dvtm that well, but in tmux, you'd just use "tmux new-window" followed by an optional command to run in that new window (a shell is the default). I just bound "tmux new-window htop" to a key in vim, and it behaved as expected.
Could you please revise your title to actually resemble the question. This has nothing to do with running vim without a WM, to do that, you just type "vim".
Also please describe your setup. Have you built your own supercollider package? If not, you need X (and even qt4 and webkit) installed already as dependencies. Running X with a light (or no) WM hardly requires any system resources if you already have X installed.
I realize now that this is alltogether a dvtm-issue and will do my own research from now on. Your idea with tmux worked quite fine.
Actually it's really a vanity-project. I sort of like the idea of running my laptop without X altogether, even thought it certainly would manage.
Regarding the dependencies of supercollider, it runs well w/o X after some fiddling:
https://github.com/supercollider/superc … issues/867
Thank you for your swift response.
Offline