• src/sbbs3/chk_ar.cpp

    From rswindell@1:103/705 to CVS commit on Fri Aug 24 13:48:16 2018
    src/sbbs3 chk_ar.cpp 1.27 1.28
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv16992

    Modified Files:
    chk_ar.cpp
    Log Message:
    The "DOS" ARS keyword has just been a "false" trigger since v3 (1999) but
    I have a new use for it in the v3 Terminal Server, it now follows the
    "NO_DOS" option in the [bbs] section of the sbbs.ini file. So if you have multiple Win32 instances of sbbs (like I do), but only some of them
    support DOS programs, you can now use this ARS keyword to enable/disable
    access to a program based on the existance of DOS support. For example,
    I have some 16-bit DOS message editors where I had the ARS set to
    "WIN32", but on my 64-bit Windows instance of sbbs (vert.synchro.net),
    16-bit DOS programs aren't supported while on my 32-bit Windows instance (bbs.synchro.net) they are. So I needed a good run-time check for whether
    DOS programs were supported or not and this old ARS keyword seemed the
    right fit. For Linux builds, this keyword will only evaluate to true if
    built with the USE_DOSEMU option.
    This is only true of the Terminal Server - use of "DOS" ARS keyword in
    other servers and services will still just evaluate to "false".


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Sat Jul 6 18:56:45 2019
    src/sbbs3 chk_ar.cpp 1.29 1.30
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv3594

    Modified Files:
    chk_ar.cpp
    Log Message:
    Use term_supports() for terminal capability ARS keyword checking as this does the "right thing" for auto-terminal detection mode.

    --- SBBSecho 3.07-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to sbbs/master on Fri Sep 25 18:40:12 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/93f34cf6d15bf5ebbebd678d
    Modified Files:
    src/sbbs3/chk_ar.cpp
    Log Message:
    SYSOP ARS keyword now applies to target user, not necessarily the user onlineAltere reported that listing users with access to a sub-board with an AccessRequirement String (ARS) set to "SYSOP" would list all users as having access.The problem was the use of the "SYSOP" macro which checks the *current* useronline (not the subject of the ARS check). Fixed by not using the SYSOP macro.
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)