Skip to content
Snippets Groups Projects
  1. Mar 15, 2021
  2. Mar 14, 2021
  3. Mar 13, 2021
    • Deucе's avatar
      Remove some backslashes from the ends of lines... · 6de3752d
      Deucе authored
      Presumably these were part of macros once and never cleaned up?
      6de3752d
    • Deucе's avatar
      We can't pollute the namespace with curses everywhere. · 3b30bfd1
      Deucе authored
      Just rename ESCDELAY member to escdelay.
      3b30bfd1
    • Rob Swindell's avatar
      Fix error removing INPUT.MSG introduced in Commit d02fc1a2 · 6b956410
      Rob Swindell authored
      remove() is expected to fail in this scenario sometimes depending
      on how writemsg() is used - in the error case, the user was trying
      to edit his .plan file with the ;plan command:
      term Node 10 <Deuce> !ERROR 11 (Resource temporarily unavailable) in writemsg.cpp line 1232 (editfile) removing "/sbbs/node10/temp/INPUT.MSG" access=0
      
      Thanks for the bug report!
      6b956410
    • Deucе's avatar
      include curs_fix from ciolib.h to fix openSUSE · 9eb7ea86
      Deucе authored
      Apparently, the ncurses in openSUSE Leap-15.2 has the following:
      Since we have a struct member named ESCDELAY, we can't actually set
      it at all when this macro is defined.
      
      The three possibilities to deal with this are:
      1) Rename the ESCDELAY member.
         Likely the best option long-term, but I don't want to find everything
         and update it at this time.
      2) Avoid using the ESCDELAY member #ifdef ESCDELAY
         Which makes it not work in the exact set of circumstances it makes
         sense in.
      3) #include curs_fix.h from ciolib.h
         This actually renames the ESCDELAY member to _nc_ESCDELAY, but you
         won't be able to actually notice this.
      9eb7ea86
    • Deucе's avatar
      Fix issue with ATASCII delete/insert character. · bb2492e3
      Deucе authored
      Before the Unicode support was added, displaying a NUL would clear
      the cell, but now it is translated.  For ATASCII, this results in
      a heart character being displayed instead of an empty cell when
      inserting or deleting characters.
      
      Fixes bug #28 on Sourceforge.
      bb2492e3
    • Deucе's avatar
    • Deucе's avatar
      Handle the new value of CIO_KEY_QUIT better. · 9c6a30a3
      Deucе authored
      The low byte is no longer zero.
      9c6a30a3
  4. Mar 11, 2021
  5. Mar 10, 2021
  6. Mar 09, 2021
    • Deucе's avatar
      Deal with dorkit hangup issues... commit #1 · 5a4e103f
      Deucе authored
      1) Ciolib CIO_KEY_QUIT and CIO_KEY_MOUSE conflicted with ALT_7 and ALT_6
         respectively, change these to use \xE0 prefixes.
      2) Add a new dorkit key "CONNECTION_CLOSED" which is returned by getkey()
         after the connection is closed.
      3) Have the various connection back-ends send a CONNECTION_CLOSED key to
         the keyboard buffer when the connection is closed.
      4) Have the local console send a CONNECTION_CLOSED key when the window
         is closed.
      5) Disable auto_terminate in dorkit.
      6) Introduce dk.connection.disconnect_timeout variable (defaults to 30
         seconds).  After a CONNECTION_CLOSED key is received, dorkit will
         immediately set js.terminated, then after disconnect_timeout seconds,
         will enable js.auto_terminate.
      7) After a CONNECTION_CLOSED key, waitkey() always returns true, getkey()
         always returns a CONNECTION_CLOSED key, and getbyte() always returns
         undefined.
      8) To prevent a poorly written door from hogging 100% CPU for the whole
         30 seconds, put an mswait(1) in the connection check when the
         inactivity timer is running.
      5a4e103f
    • Deucе's avatar
      getkey() can return undefined. · a4dff531
      Deucе authored
      a4dff531
    • Deucе's avatar
      Remove 'y' · e03efe03
      Deucе authored
      e03efe03
    • Deucе's avatar
      Allow comments at end of @if ... then do lines · a61b4be2
      Deucе authored
      This likely breaks things nobody does.
      a61b4be2
    • Deucе's avatar
      More CNW related fixes... · 572ea63f
      Deucе authored
      - Convert second argument to @readspecial to upper-case
      - Convert both sides to strings for equality comparisons
      - Implement @display label in file.name
      - Fix @do XXX is getname ### where ### is the current player
      572ea63f
Loading