Skip to content
Snippets Groups Projects
  1. Mar 14, 2021
  2. Mar 13, 2021
    • Deucе's avatar
      Remove some backslashes from the ends of lines... · 0f312cb3
      Deucе authored
      Presumably these were part of macros once and never cleaned up?
      0f312cb3
    • Deucе's avatar
      We can't pollute the namespace with curses everywhere. · 687d092c
      Deucе authored
      Just rename ESCDELAY member to escdelay.
      687d092c
    • Rob Swindell's avatar
      Fix error removing INPUT.MSG introduced in Commit 0c441424 · 5b044471
      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!
      5b044471
    • Deucе's avatar
      include curs_fix from ciolib.h to fix openSUSE · e679fa13
      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.
      e679fa13
    • Deucе's avatar
      Fix issue with ATASCII delete/insert character. · ec06a168
      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.
      ec06a168
    • Deucе's avatar
    • Deucе's avatar
      Handle the new value of CIO_KEY_QUIT better. · ecc690f5
      Deucе authored
      The low byte is no longer zero.
      ecc690f5
  3. Mar 11, 2021
  4. Mar 10, 2021
  5. Mar 09, 2021
    • Deucе's avatar
      Deal with dorkit hangup issues... commit #1 · 9a89f8c9
      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.
      9a89f8c9
    • Deucе's avatar
      getkey() can return undefined. · 168f54f3
      Deucе authored
      168f54f3
    • Deucе's avatar
      Remove 'y' · 7441b003
      Deucе authored
      7441b003
    • Deucе's avatar
      Allow comments at end of @if ... then do lines · 02d0bd8f
      Deucе authored
      This likely breaks things nobody does.
      02d0bd8f
    • Deucе's avatar
      More CNW related fixes... · deb14008
      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
      deb14008
    • Deucе's avatar
      Fix inifinite loop when there's no auctions · 4e076a23
      Deucе authored
      4e076a23
    • Deucе's avatar
      Fix variable editors, they had an off-by-one. · f70687b6
      Deucе authored
      f70687b6
    • Rob Swindell's avatar
      Make it very obvious when a timed event has been disabled · 8ed54713
      Rob Swindell authored
      By displaying "<DISABLED>" instead of the command-line in the event list.
      8ed54713
    • Deucе's avatar
    • Deucе's avatar
      @if still needs the old getsvar() behaviour. · 1d472da3
      Deucе authored
      1d472da3
    • Deucе's avatar
      Fix @NUMRETURN · 64edca8b
      Deucе authored
      It appears this was written for RTWall to detect BBS numbers with.
      64edca8b
    • Deucе's avatar
      Fixes required for RTWall · 005d7bf4
      Deucе authored
      - Have getsvar() join arguments with spaces for strings
      - Fix fg/bg in @readstring/@readnum
      - Special-case NIL in readstring (this is where it's documented)
      005d7bf4
    • Deucе's avatar
      Various engine fixes/updates · 1a83d97e
      Deucе authored
      - Set default values for world.dat so it can be created with new()
      - Add `r0 to start of the default more string
      - Create the world file if it doesn't exist (for globals)
      - Fix stupid error in @do trim
      - Support all the different @clear commands
      - Support the different @key commands properly
      - Support @name command
      - Only @say is still required for the NPC "stuff" that nothing uses
      - Fix blank line skip looking for @begin after @if...then do
        Was looking for comments starting with ; only
      - Add try/catch around maint call in case it doesn't exist
      - Don't load rules.ref if there's a REF passed on command-line
      1a83d97e
    • Deucе's avatar
      Fix @rank section argument usage. · f2ec12aa
      Deucе authored
      f2ec12aa
    • Deucе's avatar
      More Pooh's Honey Cave fixes. · f74de213
      Deucе authored
      f74de213
  6. Mar 08, 2021
Loading