• Help, It's my fault this time

    From DesotoFireflite@VERT/VALHALLA to All on Thu Jul 14 09:23:59 2022
    Hi RobããI've been sucessfully using the below method for about 6 to 8 years toãlet the user choose which bbs of mine thay want to log into. No problemsãwhat so ever up till about 3 to 4 weeks ago. I changed around some ãsecurity levels, and other things, and now when a user picks 2,3,4 inãthe SELECT.BUN, all they get is a simple message on the screen in theãtop left saying "Time's up." (Found It in Text.dat, 549 TimesUp)ããBare in mind, selection "1" still works where you continue on toãsynchronet, and the "D" still works for disconnect.ããI'm thinking it's a security level issue, but for the like ofãme, I can't figure it out. Whatever is causing this startedãabout 3 to 4 weeks ago. I'm assuming security level issues, butãI can't figure, because at this point a user is not assigned, ãunless there is a default security in play till the actual userãis assigned and logged in fully.ããas you see, the login.js runs the select.bin, and if the userãselects to keep on with synchronet, they select "1" which willãsend them back to the login.js file. if they select 2,3,or 4, ãit send them by telgate to the other bbs, and when they hang upãit closes out everything. if they select "D", it hangs up andãcloses out everything.ããWhatever is causing the issue, I'm sure it was me that caused it, ãjust hope you know what started it screwing up after 6 years.ããAnyway, I've included the log file, and the two files I use forãyou to see. The log file snippet is from 7/6, but it's identicleãto the others I've captured for the same issue.ããI'm using 7/14/2022's build. I decided to update in case it was ãa build issue. The build I was using was 5/18/22. both underãwindows 10 32 bit.ããThanks in advance. Hope you can help me.ãã-+- Log File ----ãã 7/6 01:58:33p Node 1 01:58p Wed Jul 06 2022 Node 1ã 7/6 01:58:33p Node 1 Telnet <no name> [73.152.104.255]ã 7/6 01:58:33p Node 1 received telnet window size: 80x24ã 7/6 01:58:33p Node 1 received telnet terminal type: synctermã 7/6 01:58:34p Node 1 received terminal auto-detection response: '\e[=67;84;101;114;109;1;312c\e[24;80R\e[7;4R'ã 7/6 01:58:34p Node 1 received CTerm version report: 1.312ã 7/6 01:58:34p Node 1 received CTerm version report: 1.312ã 7/6 01:58:34p Node 1 received ANSI cursor position report [1]: 80x24ã 7/6 01:58:34p Node 1 received ANSI cursor position report [2]: 4x7ã 7/6 01:58:34p Node 1 auto-detected terminal type: 80x24 ANSIã 7/6 01:58:34p Node 1 terminal type: 80x24 synctermã 7/6 01:58:34p Node 1 Executing external: *SELECTã 7/6 01:58:38p Node 1 Executing external: ?TELGATE valhalla.synchro.net:5023ã 7/6 01:58:38p Node 1 Node 1 Telnet gate to valhalla.synchro.net port 5023 on socket 43248ã 7/6 01:58:38p Node 1 Ran out of timeã 7/6 01:58:38p Node 1 disconnecting clientã 7/6 01:58:38p Node 1 passthru socket disconnectedã 7/6 01:58:39p Node 1 input thread terminated (received 89 bytes in 7 blocks)ã 7/6 01:58:39p Node 1 output thread terminated (sent 2764 bytes in 7 blocks, 394 average, 0 short)ã 7/6 01:58:39p Node 1 Node 1 Telnet gate to valhalla.synchro.net finishedã 7/6 01:58:39p Node 1 thread terminated (0 node threads remain, 10086 clients served)ã 7/6 01:58:39p Node 1 JavaScript: Destroying contextã 7/6 01:58:39p Node 1 JavaScript: Destroying runtimeããã---- LOGIN.JS -----ãã// login.jsãã// Login module for Synchronet BBS v3.1ãã// $Id: login.js,v 1.21 2020/01/23 18:48:11 rswindell Exp $ãã// Let User Decide Which BBS To Use!ãbbs.exec("*SELECT");ãconsole.printfile(system.text_dir+"log-in.msg");ããload("sbbsdefs.js");ã----rest of login.js ----ããã---- Baja SELECT.BIN -----ããLOGOUTãPAUSE_RESETãã!Include sbbsdefs.incã!Include nodedefs.incã!Include userdefs.incããCOMPARE_USER_MISC UM_UPAUSEã IF_TRUEã TOGGLE_USER_MISC UM_UPAUSEã END_IFãã# Set Node Status To Logging In!ãNODE_STATUS NODE_LOGONãSYNCãCLEAR_ABORTããCLSãPAUSE_RESETãã----- Start Snippet, Built In Menu ----- ãã----- End Of Snippet, Back To File ----ã# I took out the color codes and other codes in the print statement to simplify ã# it for this emailããPRINT "Please Select [1], [2], [3], [4] To Login, or [D] To Disconnect: "ãGETCMD "1234D^M"ãã# Continue On To SynchronetãCOMPARE_KEY 1ã IF_TRUEã COMPARE_USER_MISC UM_UPAUSEã IF_FALSEã TOGGLE_USER_MISC UM_UPAUSEã END_IFã END_IFãEND_IFãEND_CMDãã# Log On To GAP BBSãCOMPARE_KEY 2ã IF_TRUEã PAUSE_RESETã CLSã EXEC ?TELGATE valhalla.synchro.net:24ã PAUSE_RESETã CLSã COMPARE_USER_MISC UM_UPAUSEã IF_FALSEã TOGGLE_USER_MISC UM_UPAUSEã HANGUPã END_IFã END_IFãEND_CMDãã# Log On To RemoteAccessãCOMPARE_KEY 3ã IF_TRUEã PAUSE_RESETã CLSã EXEC ?TELGATE valhalla.synchro.net:5023ã PAUSE_RESETã CLSã COMPARE_USER_MISC UM_UPAUSEã IF_FALSEã TOGGLE_USER_MISC UM_UPAUSEã HANGUPã END_IFã END_IFãEND_CMDãã# Log On To DNDBBSãCOMPARE_KEY 4ã IF_TRUEã PAUSE_RESETã CLSã EXEC ?TELGATE valhalla.synchro.net:26ã PAUSE_RESETã CLSã COMPARE_USER_MISC UM_UPAUSEã IF_FALSEã TOGGLE_USER_MISC UM_UPAUSEã HANGUPã END_IFã END_IFãEND_CMDãã# Hang Up For Now, Called By MistakeãCOMPARE_KEY Dã IF_TRUEã HANGUPã END_IFã END_IFãEND_CMDããSysOp: C.G. Learn, AKA: DesotoFirefliteãValhalla Home Services! - (Synchronet) - bbs.valhallabbs.com:23ãA Gamers Paradise - Over 250 Registered Online Game Doors!ãã--- I'm so disorganized my keyboard isn't even in alphabetical order!ã þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.netã
  • From MRO@VERT/BBSESINF to DesotoFireflite on Thu Jul 14 10:34:42 2022
    Re: Help, It's my fault this timeã By: DesotoFireflite to All on Thu Jul 14 2022 09:23 amãã > Hi Robã >ã > I've been sucessfully using the below method for about 6 to 8 years toã > let the user choose which bbs of mine thay want to log into. No problemsã > what so ever up till about 3 to 4 weeks ago. I changed around someã > security levels, and other things, and now when a user picks 2,3,4 inã > the SELECT.BUN, all they get is a simple message on the screen in theã > top left saying "Time's up." (Found It in Text.dat, 549 TimesUp)ã >ã > Bare in mind, selection "1" still works where you continue on toã > synchronet, and the "D" still works for disconnect.ã >ãããyou have too many end_if's dude.ããwhen you use an end_if you are closing that command out.ã---ã þ Synchronet þ ::: BBSES.info - free BBS services :::ã
  • From DesotoFireflite@VERT/VALHALLA to MRO on Thu Jul 14 12:52:48 2022
    Re: Help, It's my fault this timeã By: MRO to DesotoFireflite on Thu Jul 14 2022 10:34 amãã MR> By: DesotoFireflite to All on Thu Jul 14 2022 09:23 amã >> I've been sucessfully using the below method for about 6 to 8 years toã >> let the user choose which bbs of mine thay want to log into. Noã >> problems what so ever up till about 3 to 4 weeks ago. I changed aroundã >> some security levels, and other things, and now when a user picksã >> 2,3,4 in the SELECT.BUN, all they get is a simple message on theã >> screen in the top left saying "Time's up." (Found It in Text.dat, 549ã >> TimesUp) ãã >> Bare in mind, selection "1" still works where you continue on toã >> synchronet, and the "D" still works for disconnect.ãããã MR> you have too many end_if's dude.ãã MR> when you use an end_if you are closing that command out.ããhmm, that's the way it's been for over 6 years, so I never questioned it. I'll fix that, but that shouldn't have caused the no time problem. That's the file you gave me a long time ago, and I've been using it like you gave me with the exception of me adding one more bbs, and the disconnect feature. ããThank for the reply my friend.ããSysOp: C.G. Learn, AKA: DesotoFirefliteãValhalla Home Services! - (Synchronet) - bbs.valhallabbs.com:23ãA Gamers Paradise - Over 250 Registered Online Game Doors!ãã--- Don't eat the yellow snow!ã þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.netã
  • From Digital Man@VERT to DesotoFireflite on Thu Jul 14 11:20:07 2022
    Re: Help, It's my fault this timeã By: DesotoFireflite to All on Thu Jul 14 2022 09:23 amãã > I've been sucessfully using the below method for about 6 to 8 years toã > let the user choose which bbs of mine thay want to log into. No problemsã > what so ever up till about 3 to 4 weeks ago. I changed around someã > security levels, and other things, and now when a user picks 2,3,4 inã > the SELECT.BUN, all they get is a simple message on the screen in theã > top left saying "Time's up." (Found It in Text.dat, 549 TimesUp)ã >ã > Bare in mind, selection "1" still works where you continue on toã > synchronet, and the "D" still works for disconnect.ã >ã > I'm thinking it's a security level issue, but for the like ofã > me, I can't figure it out. Whatever is causing this startedã > about 3 to 4 weeks ago. I'm assuming security level issues, butã > I can't figure, because at this point a user is not assigned,ã > unless there is a default security in play till the actual userã > is assigned and logged in fully.ããCheck SCFG->System->Security Level Values->Level 0->Timer Per Day and Time Per Call. What are they set to?ã-- ã digital man (rob)ããSynchronet "Real Fact" #120:ãSynchronet v2.10a for DOS was released on Feb 17, 1995 (5 months after v2.00g)ãNorco, CA WX: 78.3øF, 58.0% humidity, 5 mph S wind, 0.00 inches rain/24hrsã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
  • From DesotoFireflite@VERT/VALHALLA to Digital Man on Thu Jul 14 14:48:37 2022
    Re: Help, It's my fault this timeã By: Digital Man to DesotoFireflite on Thu Jul 14 2022 11:20 amãã DM> Re: Help, It's my fault this timeã DM> By: DesotoFireflite to All on Thu Jul 14 2022 09:23 amãã >> I've been sucessfully using the below method for about 6 to 8 years toã >> let the user choose which bbs of mine thay want to log into. Noã >> problems what so ever up till about 3 to 4 weeks ago. I changed aroundã >> some security levels, and other things, and now when a user picksã >> 2,3,4 in the SELECT.BUN, all they get is a simple message on theã >> screen in the top left saying "Time's up." (Found It in Text.dat, 549ã >> TimesUp) ãã >> Bare in mind, selection "1" still works where you continue on toã >> synchronet, and the "D" still works for disconnect.ãã >> I'm thinking it's a security level issue, but for the like ofã >> me, I can't figure it out. Whatever is causing this startedã >> about 3 to 4 weeks ago. I'm assuming security level issues, butã >> I can't figure, because at this point a user is not assigned,ã >> unless there is a default security in play till the actual userã >> is assigned and logged in fully.ãã DM> Check SCFG->System->Security Level Values->Level 0->Timer Per Day and Timeã DM> Per Call. What are they set to?ããThat was the golden ticket, both were set to "0". Everything is working great now, Thanks so much. I don't remember ever touching security level 0, but I must have. Anyway, Thanks Again.ããSysOp: C.G. Learn, AKA: DesotoFirefliteãValhalla Home Services! - (Synchronet) - bbs.valhallabbs.com:23ãA Gamers Paradise - Over 250 Registered Online Game Doors!ãã--- Don't eat the yellow snow!ã þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.netã
  • From Rampage@VERT/SESTAR to DesotoFireflite on Sat Jul 16 04:40:38 2022
    Re: Help, It's my fault this timeã By: DesotoFireflite to All on Thu Jul 14 2022 09:23:59ãã > # Log On To GAP BBSã > COMPARE_KEY 2ã > IF_TRUEã > PAUSE_RESETã > CLSã > EXEC ?TELGATE valhalla.synchro.net:24ã > PAUSE_RESETã > CLSã > COMPARE_USER_MISC UM_UPAUSEã > IF_FALSEã > TOGGLE_USER_MISC UM_UPAUSEã > HANGUPã > END_IFã > END_IFã > END_CMDããfirstly, that indention formatting is hard to follow... i would do it like this for better visual flowããCOMPARE_KEY 2ã IF_TRUEã PAUSE_RESETã CLSã EXEC ?TELGATE valhalla.synchro.net:24ã PAUSE_RESETã CLSã COMPARE_USER_MISC UM_UPAUSEã IF_FALSEã TOGGLE_USER_MISC UM_UPAUSEã HANGUPã END_IFã END_IFãEND_CMDããthis makes the internal steps easier to see and you can easily see each IF matches with its END_IF... also, i use 2 spaces formatting because that's how i learned pascal... it is the formatting i use to thisãday unless the language requires specific formatting (eg: python)...ããreformatting this one immediately shows the mistake...ãã > # Hang Up For Now, Called By Mistakeã > COMPARE_KEY Dã > IF_TRUEã > HANGUPã > END_IFã > END_IFã > END_CMDããCOMPARE_KEY Dã IF_TRUEã HANGUPã END_IFã# END_IF this line doesn't belong...ãEND_CMDããã)\/(arkãã---ã þ Synchronet þ The SouthEast Star Mail HUB - SESTARã
  • From DesotoFireflite@VERT/VALHALLA to Rampage on Sat Jul 16 06:29:52 2022
    Re: Help, It's my fault this timeã By: Rampage to DesotoFireflite on Sat Jul 16 2022 04:40 amãã Ra> Re: Help, It's my fault this timeã Ra> By: DesotoFireflite to All on Thu Jul 14 2022 09:23:59ãã Ra> this makes the internal steps easier to see and you can easily see each IFã Ra> matches with its END_IF... also, i use 2 spaces formatting because that'sã Ra> how i learned pascal... it is the formatting i use to thisã Ra> day unless the language requires specific formatting (eg: python)...ãã Ra> reformatting this one immediately shows the mistake...ãã >> # Hang Up For Now, Called By Mistakeã >> COMPARE_KEY Dã >> IF_TRUEã >> HANGUPã >> END_IFã >> END_IFã >> END_CMDãã Ra> COMPARE_KEY Dã Ra> IF_TRUEã Ra> HANGUPã Ra> END_IFã Ra> # END_IF this line doesn't belong...ã Ra> END_CMDããI understand fully what you are saying, and when MRO pointed this out the other day, I mad the changes. It was an old file, created years ago, when I was just starting to work with mods. The funny thing is, it worked, and worked well over the years, so I never looked at it again or gave it a second thought. I understand for every "if" statement, there needs to be a "end_if" statement, but it still trips me up at times. ããI've put baja aside for now, and started working in js, as it seems to be the more prudent thing to do these days, and maybe one day I will convert this into js, but for now, the baja file is performing very well.ããMy problem, was due to the fact that I modified the security level "0", in my attempts to change some other features, and thoughts that security level "0" was not needed, and in fact, I broke the one thing that I depend on for my other systems.ããThanks for the reply, and suggestions, as I do appreciate everything you said.ããSysOp: C.G. Learn, AKA: DesotoFirefliteãValhalla Home Services! - (Synchronet) - bbs.valhallabbs.com:23ãA Gamers Paradise - Over 250 Registered Online Game Doors!ãã--- Fartvergnugen: The pleasure of breaking wind.ã þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.netã
  • From Tracker1@VERT/TRN to Rampage on Sat Jul 16 14:06:23 2022
    On 7/16/22 01:40, Rampage wrote:
    this makes the internal steps easier to see and you can easily see
    each IF matches with its END_IF... also, i use 2 spaces formatting
    because that's how i learned pascal... it is the formatting i use to
    this day unless the language requires specific formatting (eg:
    python)...

    reformatting this one immediately shows the mistake...

    Python community has pretty much settled on 2 spaces as well as a large portion of the open-source JS community... I preferred real tabs, but
    have long since lost that battle.

    I've change my editor defaults to UNIX "\n" line endings and two spaces
    for indentation.
    --
    Michael J. Ryan - tracker1@roughneckbbs.com
    ---
    ï¿­ Synchronet ï¿­ Roughneck BBS - roughneckbbs.com
  • From Tracker1@VERT/TRN to DesotoFireflite on Sat Jul 16 14:20:10 2022
    On 7/16/22 03:29, DesotoFireflite wrote:

    I've put baja aside for now, and started working in js, as it seems
    to be the more prudent thing to do these days...

    100% on that.. JavaScript is a more complex language, but also much more capable than BAJA. I find my biggest hurdles is the language has
    advanced a lot since the version used in SynchroNet and the style has
    changed even more so.

    There's a few points of JS code in the SynchroNet repository that make
    even configuring code linting and formatting is the experimental syntax
    for for-of expressions and getter/setter (iirc) were standardized
    differently.

    So would love to replace some of the for-of expressions with maybe
    lodash usage in the near term, check on getter/setter use, try to get
    close to full shims for ES5 in place and working, then do a sweep with a formatting tool, then configuring linting.

    Of course would have to start with an editor that doesn't auto-format
    first. Also, would want to switch any references with raw high
    character codes in JS files with escaped characters, so everything falls
    into the 7-bit space, so UTF8 can be assumed (supported as default for
    most editors).

    There does seem to be resistance to normalizing the JS itself... so
    unsure if any such efforts are even worth the time.

    That said, getting the codebase to shimmable ES5 standards would ease at
    least that part of migrating to a new JS engine.
    --
    Michael J. Ryan - tracker1@roughneckbbs.com
    ---
    ï¿­ Synchronet ï¿­ Roughneck BBS - roughneckbbs.com
  • From MRO@VERT/BBSESINF to Tracker1 on Sat Jul 16 21:06:12 2022
    Re: Re: Help, It's my fault this timeã By: Tracker1 to DesotoFireflite on Sat Jul 16 2022 02:20 pmãã > On 7/16/22 03:29, DesotoFireflite wrote:ã >ã > > I've put baja aside for now, and started working in js, as it seemsã > > to be the more prudent thing to do these days...ã >ã > 100% on that.. JavaScript is a more complex language, but also much moreã > capable than BAJA. I find my biggest hurdles is the language hasã > advanced a lot since the version used in SynchroNet and the style hasã > changed even more so.ã >ã > There's a few points of JS code in the SynchroNet repository that makeã > even configuring code linting and formatting is the experimental syntaxã > for for-of expressions and getter/setter (iirc) were standardizedã > differently.ã >ã > So would love to replace some of the for-of expressions with maybeããIn most cases with baja you can accomplish the same bbs related things a lot easier with less code that javascript. I know you didn't get into baja so you have your bias. just like i have the opposite bias. with baja you have to get creative, but i've done a lot with it over the years. i even made a (large) rpg game in baja.ãã---ã þ Synchronet þ ::: BBSES.info - free BBS services :::ã
  • From DesotoFireflite@VERT/VALHALLA to Tracker1 on Sun Jul 17 08:34:14 2022
    Re: Re: Help, It's my fault this timeã By: Tracker1 to DesotoFireflite on Sat Jul 16 2022 02:20 pmãã Tr> 100% on that.. JavaScript is a more complex language, but also much moreã Tr> capable than BAJA. I find my biggest hurdles is the language has ã Tr> advanced a lot since the version used in SynchroNet and the style has ã Tr> changed even more so.ããFor now, Synchronet JavaScript Object Model Refernce has been my best friend in working with JS. as I understand Baja more, I often open the baja Documentation along side as the js model reference and compare the two, and it seem to help me along.ãã Tr> There's a few points of JS code in the SynchroNet repository that make ã Tr> even configuring code linting and formatting is the experimental syntax ã Tr> for for-of expressions and getter/setter (iirc) were standardized ã Tr> differently.ããSo far, all my experence in JS has been with Synchronet. When I work with code thats not specificly for Synchronet, I use google to help me solve most of my problems. I'm a complete newby when it comes to js, but I find it enjoyable to learn, and make things work on my system that make it different from others. So far, Rob and Eric have been a big help to me with my attempts.ãã Tr> Of course would have to start with an editor that doesn't auto-format ã Tr> first. Also, would want to switch any references with raw high ã Tr> character codes in JS files with escaped characters, so everything falls ã Tr> into the 7-bit space, so UTF8 can be assumed (supported as default for ã Tr> most editors).ããWell, I use Visual Studio Code on my MacBook and Notepad++ on my Win10 machine, and it seems to help me a lot, as the different colors seem to help point out my mistakes. Hopefully one day, I will get to fully understand all the nuances in the code, and do something usefull with it.ããMy bigest hurdle for now is my poor spelling, which accounts for a large amounts of my errors. I'm constantly going back and correcting things to make my attempts work. all an all, I'm happy with my progress, at least I can make things work now, and that was a milestone for me. ããThanks for all your help, and discussion on this.ããSysOp: C.G. Learn, AKA: DesotoFirefliteãValhalla Home Services! - (Synchronet) - bbs.valhallabbs.com:23ãA Gamers Paradise - Over 250 Registered Online Game Doors!ãã--- Don't eat the yellow snow!ã þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.netã
  • From Tracker1@VERT/TRN to DesotoFireflite on Thu Jul 21 14:42:39 2022
    On 7/17/22 05:34, DesotoFireflite wrote:

    Well, I use Visual Studio Code on my MacBook and Notepad++ on my Win10 machine, and it seems to help me a lot, as the different colors seem
    to help point out my mistakes. Hopefully one day, I will get to fully understand all the nuances in the code, and do something useful with
    it.

    ...

    Thanks for all your help, and discussion on this.

    I use VS Code as my primary editor.. for JS/TS I use the prettier
    extension and have it auto-format on save... I would suggest anything
    you do/modify, you copy it into your mods directory, instead of under
    exec/ that way when you upgrade, you can still reference the original.

    Keeping the JS Object model docs open is also really helpful. I've been
    a bit spoiled by a lot of the auto-complete options that you get when
    working in modern JS projects though. I started down the path of
    creating typescript types for the JS DOM, but didn't even complete it..
    and things change, not sure if there's a way to generate the appropriate
    hints from JSDoc (which is what iirc is used to generate the JS Object
    model doc).
    --
    Michael J. Ryan - tracker1@roughneckbbs.com
    ---
    ï¿­ Synchronet ï¿­ Roughneck BBS - roughneckbbs.com
  • From DesotoFireflite@VERT/VALHALLA to Tracker1 on Fri Jul 22 07:13:05 2022
    Re: Re: Help, It's my fault this timeã By: Tracker1 to DesotoFireflite on Thu Jul 21 2022 02:42 pmãã >> Well, I use Visual Studio Code on my MacBook and Notepad++ on my Win10ã >> machine, and it seems to help me a lot, as the different colors seemã >> to help point out my mistakes. Hopefully one day, I will get to fullyã >> understand all the nuances in the code, and do something useful withã >> it.ãã >> ...ãã >> Thanks for all your help, and discussion on this.ãã Tr> I use VS Code as my primary editor.. for JS/TS I use the prettier ã Tr> extension and have it auto-format on save... I would suggest anything ã Tr> you do/modify, you copy it into your mods directory, instead of under ã Tr> exec/ that way when you upgrade, you can still reference the original.ããThat's a given, never fool around with the original file in the exec directory. I like the fact that that some js files now use the modopts.ini for some of the changes we used to do to the file itself, but my mods directory seems to still have a lot of files in it. ããI love VS Code, but I've found out that it does alter the code sometimes if you use Ctrl-A codes in it, so you have to watch it. Notepad ++ doesn't change the contents of the file automaticly the way VS Code has done on occasion to me.ãã Tr> Keeping the JS Object model docs open is also really helpful.ããYes, it my stage of learning, the JS Object Model is my bible. ã ããSysOp: C.G. Learn, AKA: DesotoFirefliteãValhalla Home Services! - (Synchronet) - bbs.valhallabbs.com:23ãA Gamers Paradise - Over 250 Registered Online Game Doors!ãã---ã þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.netã
  • From Nightfox@VERT/DIGDIST to DesotoFireflite on Fri Jul 22 09:55:04 2022
    Re: Re: Help, It's my fault this timeã By: DesotoFireflite to Tracker1 on Fri Jul 22 2022 07:13 amãã De> I love VS Code, but I've found out that it does alter the code sometimesã De> if you use Ctrl-A codes in it, so you have to watch it. Notepad ++ doesn'tã De> change the contents of the file automaticly the way VS Code has done onã De> occasion to me. ããI started getting into the habit of using \x01 in any strings rather than using literal Ctrl-A codes. That can help prevent editors from changing those characters.ããNightfoxãã---ã þ Synchronet þ Digital Distortion: digitaldistortionbbs.comã
  • From DesotoFireflite@VERT/VALHALLA to Nightfox on Fri Jul 22 14:15:58 2022
    Re: Re: Help, It's my fault this timeã By: Nightfox to DesotoFireflite on Fri Jul 22 2022 09:55 amãã De>> I love VS Code, but I've found out that it does alter the codeã De>> sometimes if you use Ctrl-A codes in it, so you have to watch it.ã De>> Notepad ++ doesn't change the contents of the file automaticly theã De>> way VS Code has done on occasion to me. ãã Ni> I started getting into the habit of using \x01 in any strings rather thanã Ni> using literal Ctrl-A codes. That can help prevent editors from changingã Ni> those characters.ããYes, I'm starting to do that too, but some of the older ones I've done, still have the leteral code, and I don't see it till I edit it, then I have to go back and change it :)ããSysOp: C.G. Learn, AKA: DesotoFirefliteãValhalla Home Services! - (Synchronet) - bbs.valhallabbs.com:23ãA Gamers Paradise - Over 250 Registered Online Game Doors!ãã---ã þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.netã
  • From Nightfox@VERT/DIGDIST to DesotoFireflite on Fri Jul 22 13:46:37 2022
    Re: Re: Help, It's my fault this timeã By: DesotoFireflite to Nightfox on Fri Jul 22 2022 02:15 pmãã Ni>> I started getting into the habit of using \x01 in any stringsã Ni>> rather than using literal Ctrl-A codes. That can help preventã Ni>> editors from changing those characters.ãã De> Yes, I'm starting to do that too, but some of the older ones I've done,ã De> still have the leteral code, and I don't see it till I edit it, then Iã De> have to go back and change it :) ããWhy not do a search & replace in your editor?ãOne caveat that I've found though is that if you're using background codes (which are numeric), I ended up splitting the string; otherwise it would interpret the nex number wrong.ããFor instance, if you want to output a blue background (Ctrl-A + 4), then I'd do this in JavaScript:ãã"\x01" + "4";ããOtherwise, if you have "\x014", then that would be interpreted as hex number 14, which would be interpreted as a different character.ããNightfoxãã---ã þ Synchronet þ Digital Distortion: digitaldistortionbbs.comã
  • From DesotoFireflite@VERT/VALHALLA to Nightfox on Fri Jul 22 19:14:42 2022
    Re: Re: Help, It's my fault this timeã By: Nightfox to DesotoFireflite on Fri Jul 22 2022 01:46 pmãã Ni> Re: Re: Help, It's my fault this timeã Ni> By: DesotoFireflite to Nightfox on Fri Jul 22 2022 02:15 pmãã Ni>>> I started getting into the habit of using \x01 in any stringsã Ni>>> rather than using literal Ctrl-A codes. That can help preventã Ni>>> editors from changing those characters.ãã De>> Yes, I'm starting to do that too, but some of the older ones I'veã De>> done, still have the leteral code, and I don't see it till I editã De>> it, then I have to go back and change it :) ãã Ni> Why not do a search & replace in your editor?ã Ni> One caveat that I've found though is that if you're using background codesã Ni> (which are numeric), I ended up splitting the string; otherwise it wouldã Ni> interpret the nex number wrong.ãã Ni> For instance, if you want to output a blue background (Ctrl-A + 4), thenã Ni> I'd do this in JavaScript:ãã Ni> "\x01" + "4";ãã Ni> Otherwise, if you have "\x014", then that would be interpreted as hexã Ni> number 14, which would be interpreted as a different character.ããI might check that out this weekend, after I rebuild the brakes on the car. It ãThanks for the idea. Sometimes I have so much going on, that I forget the simple stuff like search and replace. ããSysOp: C.G. Learn, AKA: DesotoFirefliteãValhalla Home Services! - (Synchronet) - bbs.valhallabbs.com:23ãA Gamers Paradise - Over 250 Registered Online Game Doors!ãã--- Don't eat the yellow snow!ã þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.netã
  • From MRO@VERT/BBSESINF to DesotoFireflite on Fri Jul 22 21:40:14 2022
    Re: Re: Help, It's my fault this timeã By: DesotoFireflite to Nightfox on Fri Jul 22 2022 07:14 pmãã > Ni> Otherwise, if you have "\x014", then that would be interpreted as hexã > Ni> number 14, which would be interpreted as a different character.ã >ã > I might check that out this weekend, after I rebuild the brakes on theã >ã > car.ã > It Thanks for the idea. Sometimes I have so much going on, that I forget theã > simple stuff like search and replace.ããdidnt i give you and other people xchange32?ãhttp://bbses.info/mirrors/clayruth.com/index.htmlããxchange32.exe /i filename.ext "old" "new"ããlets say i want to remove cr/lfãxchange32.exe /i filename.exe "^x0d^x0a" " "ãã---ã þ Synchronet þ ::: BBSES.info - free BBS services :::ã
  • From DesotoFireflite@VERT/VALHALLA to MRO on Sat Jul 23 06:35:57 2022
    Re: Re: Help, It's my fault this timeã By: MRO to DesotoFireflite on Fri Jul 22 2022 09:40 pmãã > Ni>> Otherwise, if you have "\x014", then that would be interpreted asã > Ni>> hex number 14, which would be interpreted as a differentã > Ni>> character. ããã MR> didnt i give you and other people xchange32?ã MR> http://bbses.info/mirrors/clayruth.com/index.htmlããNo, that's one I've nerver heard about. I'll check it out. ThanksããSysOp: C.G. Learn, AKA: DesotoFirefliteãValhalla Home Services! - (Synchronet) - bbs.valhallabbs.com:23ãA Gamers Paradise - Over 250 Registered Online Game Doors!ãã--- Don't eat the yellow snow!ã þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.netã
  • From Digital Man@VERT to Nightfox on Sat Jul 23 15:11:37 2022
    Re: Re: Help, It's my fault this timeã By: Nightfox to DesotoFireflite on Fri Jul 22 2022 01:46 pmãã > Re: Re: Help, It's my fault this timeã > By: DesotoFireflite to Nightfox on Fri Jul 22 2022 02:15 pmã >ã > Ni>> I started getting into the habit of using \x01 in any stringsã > Ni>> rather than using literal Ctrl-A codes. That can help preventã > Ni>> editors from changing those characters.ã >ã > De> Yes, I'm starting to do that too, but some of the older ones I've done,ã > De> still have the leteral code, and I don't see it till I edit it, then Iã > De> have to go back and change it :)ã >ã > Why not do a search & replace in your editor?ã > One caveat that I've found though is that if you're using background codesã > (which are numeric), I ended up splitting the string; otherwise it wouldã > interpret the nex number wrong.ã >ã > For instance, if you want to output a blue background (Ctrl-A + 4), then I'dã > do this in JavaScript:ã >ã > "\x01" + "4";ã >ã > Otherwise, if you have "\x014", then that would be interpreted as hex numberã > 14, which would be interpreted as a different character.ããThat's true for "\x14" (hex 14), but not for "\x014" (hex 01, followed by a '4'). "\x014" works fine, you don't need to split string or any other tricks.ã-- ã digital man (rob)ããThis Is Spinal Tap quote #44:ãIt really, it does disturb me, but i'll rise above it; I'm a professional.ãNorco, CA WX: 87.6øF, 48.0% humidity, 11 mph SSE wind, 0.00 inches rain/24hrsã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
  • From Nightfox@VERT/DIGDIST to Digital Man on Sat Jul 23 15:36:27 2022
    Re: Re: Help, It's my fault this timeã By: Digital Man to Nightfox on Sat Jul 23 2022 03:11 pmãã DM> That's true for "\x14" (hex 14), but not for "\x014" (hex 01, followed byã DM> a '4'). "\x014" works fine, you don't need to split string or any otherã DM> tricks.ããAh, I didn't realize that. Thanks for the tip.ããNightfoxãã---ã þ Synchronet þ Digital Distortion: digitaldistortionbbs.comã
  • From Tracker1@VERT/TRN to DesotoFireflite on Sun Jul 24 16:06:03 2022
    On 7/22/22 04:13, DesotoFireflite wrote:

    I love VS Code, but I've found out that it does alter the code
    sometimes if you use Ctrl-A codes in it, so you have to watch it.
    Notepad ++ doesn't change the contents of the file automaticly the way
    VS Code has done on occasion to me.

    This can help...

    https://gist.github.com/tracker1/ac95a8de20366e66d57801e9edc96dbe

    But CP437 support seems to be broken on non-windows... so ymmv there, I usually encode my special characters in JS anyway... "\001" inside the
    string is effectively ctrl-A (as is "\x01" or "\u0001"), though I don't
    think JS in Synchronet supports the unicode escape.

    You can change the auto-formatting behavior... I keep a different config
    in my sbbs directory, which is usually what I open in VS Code (remoting extensions are great, can edit BBS over SSH).

    Keeping the JS Object model docs open is also really helpful.

    Yes, it my stage of learning, the JS Object Model is my bible.

    For Synchronet, need to keep it open all the time... though still often
    need to dig through /exec for practical examples as it's not always clear.
    --
    Michael J. Ryan - tracker1@roughneckbbs.com
    ---
    ï¿­ Synchronet ï¿­ Roughneck BBS - roughneckbbs.com
  • From Tracker1@VERT/TRN to Nightfox on Sun Jul 24 16:08:57 2022
    On 7/22/22 13:46, Nightfox wrote:
    One caveat that I've found though is that if you're using background
    codes (which are numeric), I ended up splitting the string; otherwise
    it would interpret the nex number wrong.

    For instance, if you want to output a blue background (Ctrl-A + 4),
    then I'd do this in JavaScript:

    "\x01" + "4";

    Otherwise, if you have "\x014", then that would be interpreted as hex
    number 14, which would be interpreted as a different character.

    Have you tried using the octal escape? "\001" instead? Not sure, but I
    don't think I've seen an issue with it.
    --
    Michael J. Ryan - tracker1@roughneckbbs.com
    ---
    ï¿­ Synchronet ï¿­ Roughneck BBS - roughneckbbs.com
  • From Daryl Stout@VERT to Digital Man on Sun Jul 24 10:40:00 2022
    Rob,ãã Does Synchronet have such a thing as "command stacking", such asãwhere you could put several commands into one string?? Obviously,ãit wouldn't work if the hotkeys were ON, but one of my users askedãabout it...and if it's in the docs, I've overlooked it.ããDarylãã... A government shutdown is redundant.ã=== MultiMail/Win v0.52ã--- SBBSecho 3.15-Win32ã * Origin: The Thunderbolt BBS - Little Rock, Arkansas (1:2320/33)ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
  • From MRO@VERT/BBSESINF to Daryl Stout on Mon Jul 25 02:16:43 2022
    Re: Command Stackingã By: Daryl Stout to Digital Man on Sun Jul 24 2022 10:40 amãã > Rob,ã >ã > Does Synchronet have such a thing as "command stacking", such asã > where you could put several commands into one string?? Obviously,ã > it wouldn't work if the hotkeys were ON, but one of my users askedã > about it...and if it's in the docs, I've overlooked it.ããyeah.ããlook at the majorbbs clone.ã---ã þ Synchronet þ ::: BBSES.info - free BBS services :::ã
  • From DesotoFireflite@VERT/VALHALLA to Tracker1 on Mon Jul 25 08:09:51 2022
    Re: Re: Help, It's my fault this timeã By: Tracker1 to DesotoFireflite on Sun Jul 24 2022 04:06 pmãã >> I love VS Code, but I've found out that it does alter the codeã >> sometimes if you use Ctrl-A codes in it, so you have to watch it.ã >> Notepad ++ doesn't change the contents of the file automaticly the wayã >> VS Code has done on occasion to me.ãã Tr> This can help...ãã Tr> https://gist.github.com/tracker1/ac95a8de20366e66d57801e9edc96dbeãã Tr> But CP437 support seems to be broken on non-windows... so ymmv there, Iã Tr> usually encode my special characters in JS anyway... "\001" inside the ã Tr> string is effectively ctrl-A (as is "\x01" or "\u0001"), though I don't ã Tr> think JS in Synchronet supports the unicode escape.ããYou may be right. I run into most of my formatting issues, when I use my MacBook from my sofa using VS Code. I finally came up with a workable option since I use "parrells" with my mac, so I've put notepad ++ in the windows partition, then it's always available when I'm in my mac. I prefer to use VS Code when using my mac, but thats not always a workable solution.ãã Tr> You can change the auto-formatting behavior... I keep a different config ã Tr> in my sbbs directory, which is usually what I open in VS Code (remotingã Tr> extensions are great, can edit BBS over SSH).ããhmmm, hadn't thought about thatãã >>> Keeping the JS Object model docs open is also really helpful.ãã >> Yes, it my stage of learning, the JS Object Model is my bible.ãã Tr> For Synchronet, need to keep it open all the time... though still often ã Tr> need to dig through /exec for practical examples as it's not always clear.ããLOL, I thought I was the only one doing that. ããSysOp: C.G. Learn, AKA: DesotoFirefliteãValhalla Home Services! - (Synchronet) - bbs.valhallabbs.com:23ãA Gamers Paradise - Over 250 Registered Online Game Doors!ãã--- Don't eat the yellow snow!ã þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.netã
  • From Digital Man@VERT to Tracker1 on Mon Jul 25 16:52:42 2022
    Re: Re: Help, It's my fault this timeã By: Tracker1 to Nightfox on Sun Jul 24 2022 04:08 pmãã > Have you tried using the octal escape? "\001" instead? Not sure, but Iã > don't think I've seen an issue with it.ããOctal values aren't allowed in "strict" mode.ã-- ã digital man (rob)ããSynchronet "Real Fact" #45:ãSynchronet External "Plain Old Telephone System" support was introduced in 2007ãNorco, CA WX: 83.7øF, 55.0% humidity, 16 mph E wind, 0.00 inches rain/24hrsã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
  • From Digital Man@VERT to Daryl Stout on Mon Jul 25 16:53:59 2022
    Re: Command Stackingã By: Daryl Stout to Digital Man on Sun Jul 24 2022 10:40 amãã > Rob,ã >ã > Does Synchronet have such a thing as "command stacking", such asã > where you could put several commands into one string?? Obviously,ã > it wouldn't work if the hotkeys were ON, but one of my users askedã > about it...and if it's in the docs, I've overlooked it.ããIt's up to the command shell to support that. I seem to recall adding that support in the PCBoard clone command shell.ã-- ã digital man (rob)ããSynchronet/BBS Terminology Definition #11:ãC64 = Commodore 64 (personal computer)ãNorco, CA WX: 83.7øF, 55.0% humidity, 16 mph E wind, 0.00 inches rain/24hrsã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
  • From Nightfox@VERT/DIGDIST to Tracker1 on Tue Jul 26 17:38:35 2022
    Re: Re: Help, It's my fault this timeã By: Tracker1 to Nightfox on Sun Jul 24 2022 04:08 pmãã Tr> Have you tried using the octal escape? "\001" instead? Not sure, but I ã Tr> don't think I've seen an issue with it.ããI used to use \1, which I believe is considered an octal escape. Recently I started putting "use strict"; in my Synchronet JS scripts to catch issues, and one of the things it reported was that octal literals are deprecated, so I've started using the hex \x01 instead.ããNightfoxãã---ã þ Synchronet þ Digital Distortion: digitaldistortionbbs.comã
  • From Daryl Stout@VERT to Digital Man on Tue Jul 26 11:39:00 2022
    Rob,ãã > Does Synchronet have such a thing as "command stacking", such asã > where you could put several commands into one string?? Obviously,ã > it wouldn't work if the hotkeys were ON, but one of my users askedã > about it...and if it's in the docs, I've overlooked it.ãã DM> It's up to the command shell to support that. I seem to recall addingã DM> that support in the PCBoard clone command shell. ãã OK, I'll let the user know...thanks.ããDarylãã... Definition of an upgrade: Take old bugs out; insert new bugs.ã=== MultiMail/Win v0.52ã--- SBBSecho 3.15-Win32ã * Origin: The Thunderbolt BBS - Little Rock, Arkansas (1:2320/33)ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã