• src/sbbs3/answer.cpp

    From rswindell@VERT to CVS commit on Thursday, July 11, 2019 19:10:42
    src/sbbs3 answer.cpp 1.102 1.103
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv14360

    Modified Files:
    answer.cpp
    Log Message:
    Don't change useron.misc during logon. This could cause a user's account
    to have the NO_EXASCII (plain-ASCII only) set if the logged in without a successful auto-terminal-type detection.
    And with sbbs_t::term_supports(), we don't need useron.misc to reflect the auto-detected-terminal-type any longer.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tuesday, August 13, 2019 13:22:19
    src/sbbs3 answer.cpp 1.105 1.106
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv16920

    Modified Files:
    answer.cpp
    Log Message:
    If a telnet location was provided by the client, copy it to the caller-ID
    (CID) variable, even when the client isn't SEXPOTS.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Friday, September 27, 2019 13:58:38
    src/sbbs3 answer.cpp 1.107 1.108
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv17296

    Modified Files:
    answer.cpp
    Log Message:
    Support UTF-8 auto-detection for MacOS Terminal v2.8.3 (404.1):
    Unexpectedly, a ZWNBSP (U+FEFF) received/echoed by the MacOS Terminal while in the first column causes a subsequent cursor position report to indicate the 2nd column as the current only. I suppose in some weird world a zero-width character can can't as a column position. So if the cursor position has moved less than 2 columns (not exactly 0 columns), then consider it a UTF-8 terminal. Non-UTF-8 terminals normally move the cursor 3 columns when echoing a UTF-8 encoded ZWNBSP. So to summarize, when echoing a ZWNBSP:

    - Non-UTF-8 terminals: moves 3 columns
    - MacOS terminal: moves 1 columns
    - Other UTF-8 terminals: moves 0 columns

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tuesday, April 07, 2020 19:14:03
    src/sbbs3 answer.cpp 1.109 1.110
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv20278

    Modified Files:
    answer.cpp
    Log Message:
    RLogin fix: if no username supplied, don't prompt for a password and then log an invalid login for a random (the last read?) user account with a user number of 0.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tuesday, April 07, 2020 19:21:44
    src/sbbs3 answer.cpp 1.110 1.111
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv21452

    Modified Files:
    answer.cpp
    Log Message:
    Log the actual user number for "FAILED Password attempt" log messages for SSH and RLogin attempts.
    It looks like someone copy/pasted the wrong lines from login.cpp.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tuesday, April 07, 2020 19:34:26
    src/sbbs3 answer.cpp 1.111 1.112
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv23193

    Modified Files:
    answer.cpp
    Log Message:
    Allow non-sysops a password re-attempt for SSH and RLogin.

    Fixed bug: for RLogin and SSH, if an invalid (e.g. blank) passsword was provided during the handshake, an "Invalid Logon" would be displayed followed by a "Passowrord: " prompt, giving the user an opportunity to reenter the correct password. Only problem: this only worked for sysop accounts. Normal users would just be disconnected after they entere (any) password, correct
    or not.

    This bug is very old in the RLogin support and appears to have been copy/pasted for the SSH Login bit too.

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