• src/sbbs3/getstr.cpp

    From rswindell@VERT to CVS commit on Saturday, October 04, 2014 01:55:39
    src/sbbs3 getstr.cpp 1.26 1.27
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv28626

    Modified Files:
    getstr.cpp
    Log Message:
    Don't allow a string input to exceed the width of the terminal.
    Fix Ctrl-Z/Undo so it only redisplays from the correct column/offset.
    Note: K_NOECHO mode appears to still have some bugs if/when K_EDIT is also
    used (which would be a weird combination of modes).


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From deuce@VERT to CVS commit on Friday, August 21, 2015 22:31:41
    src/sbbs3 getstr.cpp 1.28 1.29
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv26406

    Modified Files:
    getstr.cpp
    Log Message:
    Fix "dangling else" warning.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Wednesday, September 05, 2018 16:07:02
    src/sbbs3 getstr.cpp 1.32 1.33
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/home/rswindell/sbbs/src/sbbs3

    Modified Files:
    getstr.cpp
    Log Message:
    A simple tab-completion when the history list passed to getstr() is not
    NULL. When history is NULL, treat TAB the same as before (in weird ways).
    The TAB-completion algo is very simple: just find the first (case
    insensitive) match in the history list and if there is one, use it as the current string content.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Ragnarok@VERT/DOCKSUD to rswindell on Thursday, September 06, 2018 11:31:58
    El 05/09/18 a las 20:07, rswindell escribió:
    src/sbbs3 getstr.cpp 1.32 1.33
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/home/rswindell/sbbs/src/sbbs3

    Modified Files:
    getstr.cpp
    Log Message:
    A simple tab-completion when the history list passed to getstr() is not
    NULL. When history is NULL, treat TAB the same as before (in weird ways).
    The TAB-completion algo is very simple: just find the first (case insensitive) match in the history list and if there is one, use it as the current string content.

    very nice!!!!!

    ---
    þ Synchronet þ Dock Sud BBS TLD 24 HS - http://bbs.docksud.com.ar - telnet://bbs.docksud.com.ar
  • From rswindell@VERT to CVS commit on Monday, March 30, 2020 17:47:08
    src/sbbs3 getstr.cpp 1.37 1.38
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv5553

    Modified Files:
    getstr.cpp
    Log Message:
    Don't limit the input length of getstr() based on the terminal width in columns when echo is disabled or when we're echoing X's (for password input).
    Ctrl-R key would redraw the raw password at a password prompt, even when the console is in Echo-X mode, pass a non-zero mode flag to redrwstr() to fix that. Also, some experimental UTF-8 input stuff that doesn't work right yet.


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