On 6/9/2020 4:13 AM, The Millionaire wrote:
yes i have but everytime i run it, it either shows weird characters, freezes up at the bullseye or it just boots me off. i dont see what i am doing wrong here for some reason.
Okay... download/install "Visual Studio Code" it's a free enhanced editor.
then you will want to create a file. C:\sbbs\.vscode\settings.json
Add the following in that file...
---- CUT BELOW
{
"editor.rulers": [
76,
80
],
"editor.tabSize": 2,
"editor.renderControlCharacters": true,
"files.encoding": "cp437",
"files.associations": {
"*.ssjs": "javascript"
},
"[javascript]": {
// "editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.renderControlCharacters": false,
// "files.encoding": "utf8",
},
"[json]": {
// "files.encoding": "utf8",
"editor.renderControlCharacters": false,
},
"[css]": {
// "files.encoding": "utf8",
"editor.renderControlCharacters": false,
},
"[html]": {
// "files.encoding": "utf8",
"editor.renderControlCharacters": false,
}
}
---- CUT ABOVE
Don't include the "----" cut lines
From there, in a command prompt: code C:\sbbs\ replace the paths as appropriate, I'm assuming you are installed in windows C:\sbbs,
otherwise, you can add the same file in your SBBS install, you can even
use the SSH Remote extension to edit over SSH on a remote linux host... whatever you like.
I've been using this, which will set the default encoding to CP437, and
seems to work great.
If you are going to convert the html or other files to UTF8, then you
will want to set them specifically, you shouldn't do this for the most
part, as you may mess up specifically encoded text.
NOTE: I personally leave text.dat alone and do my overrides specifically
in my login/logon and command shell js files to what I want them to be.
--
Michael J. Ryan
tracker1 +o Roughneck BBS
---
þ Synchronet þ Roughneck BBS - coming back 2/2/20