• xtrn: Hitting escape to end a program seems to stuff the buffer with c

    From Nigel Reed@1:103/705 to GitLab issue in main/sbbs on Mon Jun 30 08:47:22 2025
    open https://gitlab.synchro.net/main/sbbs/-/issues/947

    For example, SyncWall, when you press escape the low shows:

    ```
    Jun 30 10:45:10 bbs synchronet: term Node 1 <nelgin> Printing file: /sbbs/text/menu/xtrn1_head.asc
    Jun 30 10:45:10 bbs synchronet: term Node 1 <nelgin> insert key into keybuf: 6E (n)
    Jun 30 10:45:10 bbs synchronet: term Node 1 <nelgin> insert key into keybuf: 30 (0)
    Jun 30 10:45:10 bbs synchronet: term Node 1 <nelgin> insert key into keybuf: 3B (;)
    Jun 30 10:45:10 bbs synchronet: term Node 1 <nelgin> insert key into keybuf: 30 (0)
    Jun 30 10:45:10 bbs synchronet: term Node 1 <nelgin> insert key into keybuf: 3B (;)
    Jun 30 10:45:10 bbs synchronet: term Node 1 <nelgin> insert key into keybuf: 30 (0)
    Jun 30 10:45:10 bbs synchronet: term Node 1 <nelgin> insert key into keybuf: 3B (;)
    Jun 30 10:45:10 bbs synchronet: term Node 1 <nelgin> insert key into keybuf: 30 (0)
    Jun 30 10:45:10 bbs synchronet: term Node 1 <nelgin> insert key into keybuf: 3B (;)
    Jun 30 10:45:10 bbs synchronet: term Node 1 <nelgin> insert key into keybuf: 30 (0)
    Jun 30 10:45:10 bbs synchronet: term Node 1 <nelgin> insert key into keybuf: 3B (;)
    Jun 30 10:45:10 bbs synchronet: term Node 1 <nelgin> insert key into keybuf: 35 (5)
    Jun 30 10:45:10 bbs synchronet: term Node 1 <nelgin> insert key into keybuf: 34 (4)
    Jun 30 10:45:10 bbs synchronet: term Node 1 <nelgin> insert key into keybuf: 3B (;)
    Jun 30 10:45:10 bbs synchronet: term Node 1 <nelgin> insert key into keybuf: 31 (1)
    Jun 30 10:45:10 bbs synchronet: term Node 1 <nelgin> insert key into keybuf: 3D (=)
    Jun 30 10:45:10 bbs synchronet: term Node 1 <nelgin> insert key into keybuf: 5B ([)
    ```

    and 10 is inserted at prompt. The same happens with nodelist viewer.
    --- SBBSecho 3.28-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Mon Jun 30 12:31:55 2025
    https://gitlab.synchro.net/main/sbbs/-/issues/947#note_7430

    Does it only happen when mouse support is enabled for the user?
    --- SBBSecho 3.28-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Mon Jun 30 12:38:29 2025
    https://gitlab.synchro.net/main/sbbs/-/issues/947#note_7431

    I don't have SyncWall installed myself, but when I tested this (with mouse enabled) and ran fileman.js, hitting ESC to exit doesn't do what you described, however some stuff is logged (in regards to re-enabling the default font I have configured in fonts.ini):
    ```
    Jun 30 12:37:24 git sbbs[1478352]: term Node 11 <Digital Man> running external program: fileman
    Jun 30 12:37:24 git sbbs[1478352]: term Node 11 <Digital Man> Executing external: /sbbs/exec/jsexec -n fileman ansi
    Jun 30 12:37:26 git sbbs[1478352]: term Node 11 <Digital Man> activate: cp437 slot 0 >= 43
    Jun 30 12:37:26 git sbbs[1478352]: term Node 11 <Digital Man> CTerm activate_font: 0 0
    Jun 30 12:37:26 git sbbs[1478352]: term Node 11 <Digital Man> CTerm query response: [=1;45;0;0;109;115;106n
    Jun 30 12:37:26 git sbbs[1478352]: term Node 11 <Digital Man> CTerm activate_font result: 0
    Jun 30 12:37:26 git sbbs[1478352]: term Node 11 <Digital Man> activate: digital slot 109 >= 45
    Jun 30 12:37:26 git sbbs[1478352]: term Node 11 <Digital Man> CTerm activate_font: 1 109
    Jun 30 12:37:26 git sbbs[1478352]: term Node 11 <Digital Man> CTerm query response: [=1;45;0;0;109;115;106n
    Jun 30 12:37:26 git sbbs[1478352]: term Node 11 <Digital Man> CTerm activate_font result: 0
    Jun 30 12:37:26 git sbbs[1478352]: term Node 11 <Digital Man> activate: gothical slot 115 >= 45
    Jun 30 12:37:26 git sbbs[1478352]: term Node 11 <Digital Man> CTerm activate_font: 2 115
    Jun 30 12:37:26 git sbbs[1478352]: term Node 11 <Digital Man> CTerm query response: [=1;45;0;0;109;115;106n
    Jun 30 12:37:26 git sbbs[1478352]: term Node 11 <Digital Man> CTerm activate_font result: 0
    Jun 30 12:37:26 git sbbs[1478352]: term Node 11 <Digital Man> activate: computer slot 106 >= 45
    Jun 30 12:37:26 git sbbs[1478352]: term Node 11 <Digital Man> CTerm activate_font: 3 106
    Jun 30 12:37:26 git sbbs[1478352]: term Node 11 <Digital Man> CTerm query response: [=1;45;0;0;109;115;106n
    Jun 30 12:37:26 git sbbs[1478352]: term Node 11 <Digital Man> CTerm activate_font result: 0
    ```
    --- SBBSecho 3.28-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nigel Reed@1:103/705 to GitLab note in main/sbbs on Mon Jun 30 12:55:55 2025
    https://gitlab.synchro.net/main/sbbs/-/issues/947#note_7432

    No. I disabled mouse support and it still happens.
    --- SBBSecho 3.28-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nigel Reed@1:103/705 to GitLab note in main/sbbs on Mon Jun 30 13:00:06 2025
    https://gitlab.synchro.net/main/sbbs/-/issues/947#note_7433

    Did you run fileman from xtrn menu or with ;EXEC ? (which doesn't work for me, I get !JavaScript fileman.js line 13: ReferenceError: uifc is not defined but that's a different issue)
    --- SBBSecho 3.28-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Mon Jun 30 13:03:55 2025
    https://gitlab.synchro.net/main/sbbs/-/issues/947#note_7434

    I ran fileman.js from xtrn menu, configured like so:
    ```
    Name fileman
    Internal Code FILEMAN
    Start-up Directory
    Command Line %!jsexec%. -n fileman ansi
    Clean-up Command Line
    Execution Cost None
    Access Requirements ANSI
    Execution Requirements
    Multiple Concurrent Users Yes
    I/O Method Standard, No Echo
    Native Executable Yes
    ```
    But... running from jsexec might be very different from running scripts directly from sbbs. Do you have more examples/data?
    --- SBBSecho 3.28-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Mon Jun 30 13:09:48 2025
    https://gitlab.synchro.net/main/sbbs/-/issues/947#note_7435

    I was able to reproduce it by using Kirkman's parallax demo:
    ```
    6/30 01:07:07p Node 2 <Digital Man> Executing external: ?milfalcon
    6/30 01:07:08p Node 2 <Digital Man> new display initialized: 80x24 at 1,1 [x2]
    6/30 01:07:09p Node 2 <Digital Man> Invalid ANSI sequence: '\e'
    6/30 01:07:09p Node 2 <Digital Man> insert key into keybuf: 00 (\x00)
    6/30 01:07:10p Node 2 <Digital Man> activate: cp437 slot 0 >= 43
    6/30 01:07:10p Node 2 <Digital Man> CTerm activate_font: 0 0
    6/30 01:07:10p Node 2 <Digital Man> CTerm query response:
    6/30 01:07:10p Node 2 <Digital Man> CTerm activate_font result:
    6/30 01:07:10p Node 2 <Digital Man> Failed to activate font: 0
    6/30 01:07:10p Node 2 <Digital Man> activate: digital slot 109 >= 43
    6/30 01:07:10p Node 2 <Digital Man> CTerm activate_font: 1 109
    6/30 01:07:10p Node 2 <Digital Man> CTerm query response: [=1;45;0;0;109;115;106n
    6/30 01:07:10p Node 2 <Digital Man> CTerm activate_font result: 0
    6/30 01:07:10p Node 2 <Digital Man> activate: gothical slot 115 >= 45
    6/30 01:07:10p Node 2 <Digital Man> CTerm activate_font: 2 115
    6/30 01:07:10p Node 2 <Digital Man> CTerm query response: [=1;45;0;0;109;115;106n
    6/30 01:07:10p Node 2 <Digital Man> CTerm activate_font result: 0
    6/30 01:07:10p Node 2 <Digital Man> activate: computer slot 106 >= 45
    6/30 01:07:10p Node 2 <Digital Man> CTerm activate_font: 3 106
    6/30 01:07:10p Node 2 <Digital Man> CTerm query response: [=1;45;0;0;109;115;106n
    6/30 01:07:10p Node 2 <Digital Man> CTerm activate_font result: 0
    6/30 01:07:10p Node 2 <Digital Man> Printing file: s:\sbbs\text\menu\xtrn1.80col.asc
    6/30 01:07:10p Node 2 <Digital Man> insert key into keybuf: 6E (n)
    6/30 01:07:10p Node 2 <Digital Man> insert key into keybuf: 36 (6)
    6/30 01:07:10p Node 2 <Digital Man> insert key into keybuf: 30 (0)
    6/30 01:07:10p Node 2 <Digital Man> insert key into keybuf: 31 (1)
    6/30 01:07:10p Node 2 <Digital Man> insert key into keybuf: 3B (;)
    6/30 01:07:10p Node 2 <Digital Man> insert key into keybuf: 35 (5)
    6/30 01:07:10p Node 2 <Digital Man> insert key into keybuf: 31 (1) [x2]
    6/30 01:07:10p Node 2 <Digital Man> insert key into keybuf: 3B (;)
    6/30 01:07:10p Node 2 <Digital Man> insert key into keybuf: 39 (9)
    6/30 01:07:10p Node 2 <Digital Man> insert key into keybuf: 30 (0)
    6/30 01:07:10p Node 2 <Digital Man> insert key into keybuf: 31 (1)
    6/30 01:07:10p Node 2 <Digital Man> insert key into keybuf: 3B (;)
    6/30 01:07:10p Node 2 <Digital Man> insert key into keybuf: 30 (0)
    6/30 01:07:10p Node 2 <Digital Man> insert key into keybuf: 3B (;)
    6/30 01:07:10p Node 2 <Digital Man> insert key into keybuf: 30 (0)
    6/30 01:07:10p Node 2 <Digital Man> insert key into keybuf: 3B (;)
    6/30 01:07:10p Node 2 <Digital Man> insert key into keybuf: 35 (5)
    6/30 01:07:10p Node 2 <Digital Man> insert key into keybuf: 34 (4)
    6/30 01:07:10p Node 2 <Digital Man> insert key into keybuf: 3B (;)
    6/30 01:07:10p Node 2 <Digital Man> insert key into keybuf: 31 (1)
    6/30 01:07:10p Node 2 <Digital Man> insert key into keybuf: 3D (=)
    6/30 01:07:10p Node 2 <Digital Man> insert key into keybuf: 5B ([)
    ```
    Looks like it is related to the custom font stuff.
    --- SBBSecho 3.28-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Mon Jun 30 13:12:37 2025
    https://gitlab.synchro.net/main/sbbs/-/issues/947#note_7436

    Interestingly, this issue does not happen with v3.20, so my guess is that it's related to Deuce's terminal abstraction stuff.
    This looks really suspicious:
    ```
    insert key into keybuf: 00 (\x00)
    ```
    Re-assigning to Deuce to fix.
    --- SBBSecho 3.28-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)