_  _    __    ___  __    ___  _____  _  _
 ( \( )  /__\  / __)(  )  / __)(  _  )( \( )
  )  (  /(__)\( (__  )(__( (__  )(_)(  )  (
 (_)\_)(__)(__)\___)(____)\___)(_____)(_)\_)

The History of Hacking  ·  May 31 – June 2, 2026  ·  Carolina Beach, NC

  • src/sbbs3/main.cpp terminal.cpp

    From Deucе@VERT to Git commit to main/sbbs/master on Sat Apr 11 23:27:08 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/f12aa2a2c854cf95ff7b6941
    Modified Files:
    src/sbbs3/main.cpp terminal.cpp
    Log Message:
    Fix issue #1120

    When you connect only with sftp, input and output for the terminal
    server won't work. Make them early exit.

    But the REAL problem was that cols = rows = 0...
    The line wrapping was subtracting cols from column to get it below
    cols... but that doesn't work when cols is zero.

    Special case cols = 0 in inc_col() and rows = 0 in inc_row()
    This is the bit that fixes it.

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