__                 _ _                _
  / _| ___   ___   __| | |__   __ _ _ __| | __
 | |_ / _ \ / _ \ / _` | '_ \ / _` | '__| |/ /
 |  _| (_) | (_) | (_| | |_) | (_| | |  |   <
 |_|  \___/ \___/ \__,_|_.__/ \__,_|_|  |_|\_\

A personal BBS  ·  Missoula, Montana  ·  formerly NaClCON BBS

Connect from your terminal: telnet naclconbbs.net 23  |  ssh naclconbbs.net -p 2222

  • 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