Because modern ssh clients refuse to talk to the ancient sshd on the BBB running Angstrom linux, I have to use "putty", which works just fine. Vim however uses some idiotic color scheme -- in particular rendering dark blue against a black background, which is all but unreadable.
So we need to relearn how to change vim color schemes. You can type :colorscheme to find out what is being used (I get the all but uninformative reply, "default". Next to find out what schemes are available, you can do this:
ls /usr/share/vim/vim72/colorsTo change to one of these, type :colors desert. And in fact "desert" yields a readable result. To make this permanent, edit the .vimrc file and add the line "colorscheme desert". I place it just below "syntax on" and am happy for now.
I'll note once again that Angstrom is not set up for filename completion, and that fixing this is non trivial. We will abandon Angstrom as soon as we can.
The Angstrom setup also has vim doing matches on parts of search strings before I finish typing them -- which drives me crazy. The fix for this is:
set noincsearch
cd gui vi gui.jsThis file is 399 lines at present. This is server side code, the browser side is in gui.html and uses jquery and socket.io (which were the hot thing when this was written).
My node.js server is running as per a line: "/usr/bin/node gui.js". I kill this and start the new code. After some fussing around it seems to be working.
Tom's Computer Info / [email protected]