• exec/newuser_prompts.js

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Sat Dec 27 01:19:25 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/2bf2347141f80da947b79c40
    Added Files:
    exec/newuser_prompts.js
    Log Message:
    A first-pass "New user prompts" module that reproduces the bulk of newuser.cpp

    Issue #563

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Tue Dec 30 00:14:12 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/d6a470005d8b4718cd2306a1
    Modified Files:
    exec/newuser_prompts.js
    Log Message:
    Fix RLogin support

    Remove redundant duplicate alias check - handled in newuser.cpp

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Tue Dec 30 16:42:53 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/356792f2f8ccb7d491d6cdeb
    Modified Files:
    exec/newuser_prompts.js
    Log Message:
    Remove unnecessary copy of rlogin_name

    This is done in sbbs_t::newuser() before this mod is invoked

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Wed Dec 31 21:37:57 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/3a5149166c03469508c87325
    Modified Files:
    exec/newuser_prompts.js
    Log Message:
    Don't log an error if users disconnects before entering a valid user name/alias

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Thu Jan 1 03:32:04 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/6a430c12060cfdebb0828f1e
    Modified Files:
    exec/newuser_prompts.js
    Log Message:
    The User property is 'gender', not 'sex'

    Retore the "ERROR" log level for the blank user alias since we now check for disconnection before checking the alias.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Fri Jan 2 21:03:21 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/9d48b246cde66b2f35c1d251
    Modified Files:
    exec/newuser_prompts.js
    Log Message:
    Use new method bbs.matchuserdata() instead of system.matchuserdata()

    ... to get process indication and match old newuser.cpp hard-coded behavior.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Sat Jan 3 00:16:44 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/c38efa2a4c3eced4df264706
    Modified Files:
    exec/newuser_prompts.js
    Log Message:
    Fix PETSCII terminal support

    Also, use system.check_birthdate() now for given birthdate validity checking

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Sat Jan 3 01:41:32 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/715d9eeffbcb00397d200711
    Modified Files:
    exec/newuser_prompts.js
    Log Message:
    Cosmetic improvements and an important bug fix

    Whoa, can't use strchr() here, this ain't C or C++!

    Don't need to set SS_NEWUSER here since it's now always set in sbbs_t::newuser().

    Use gettext() - so less use of text.dat strings (e.g. ContinueQ which now has no uses!).

    More prompting to cancel the new user registration process and more details about rejecting user strings/values and when restarting the prompt loop.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Sat Jan 3 03:06:56 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/a48dc807a571369fcf069b1d
    Modified Files:
    exec/newuser_prompts.js
    Log Message:
    Turn off autoterm along with color

    the COLOR bit is automatically set in autoterm when pretty much any terminal
    is auto-detected, so we need to disable autoterm to disable COLOR.

    The COLOR flag should probably be deprecated for a MONO flag that's only set
    by the user (and never in auto-term) at some point.

    For now, this works.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Sat Jan 3 04:47:19 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/ef57836282eb2d930488e7cd
    Modified Files:
    exec/newuser_prompts.js
    Log Message:
    Clear the console.aborted flag before printing any errors

    This handles Ctrl-C aborted input a little better.

    Truncate whitespace off the end of the (copied and possibly truncated) handle value.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Sat Jan 3 22:16:21 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/0df35f3da749e2942d2403b9
    Modified Files:
    exec/newuser_prompts.js
    Log Message:
    Add support for modopts (to enable/disable some of the prompts not in SCFG)

    Fix a typo in key_defs.js naming.

    Eliminate implicit dependency on text.js

    Add support for optionally prompting for alternate language (disabled by default)

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Sat Jan 3 22:16:21 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/058c459163ac87e4e87ba0af
    Modified Files:
    exec/newuser_prompts.js
    Log Message:
    Lower-case the word for "Language" in prompt

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Sun Jan 4 02:35:53 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/ed089b9bd032f00666b0b9e9
    Modified Files:
    exec/newuser_prompts.js
    Log Message:
    Add conditional line break (for 40col terminals) in language prompt

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net