Subj : Menushell.js
To   : Underminer
From : Digital Man
Date : Sat Aug 22 2020 07:08 pm

 Re: Menushell.js
 By: Underminer to All on Sat Aug 22 2020 05:14 pm

> Howdy Hi,
> I found and was playing with menushel.src/bin menushell.js and menuedit.js.
> Very cool concept, but whole the generated menu/shell navigates menus fine,
> and will execute externals just fine, any internal commands throw an Error
> of:
>
> Error: 'BBS' instance: No Private Data or Class Mismatch
>
> This looks to be related to how commands are being called in
> menu-commands.js, but I don't see any reason offhand it shouldn't be
> working. Is this a known issue? Am I missing an include somewhere? Any other
> documentation related to any of it exist?

I one time, it used to be possible to execute methods of one built-in object with the "this" pointing to another object. It was a (bad) bug that allowed that to work and when it didn't work, it was bad too.
Here are the details:
https://gitlab.synchro.net/sbbs/sbbs/-/commit/6f83c4ff9489fcf0ef66b48b6080959790170755

So, I'm guessing that the menushell experiment is using Object.apply() incorrectly and that needs to be fixed.

                                           digital man

Synchronet/BBS Terminology Definition #40:
IBM437 = Code Page 437 (so-called IBM Extended ASCII)
Norco, CA WX: 84.5�F, 54.0% humidity, 13 mph ENE wind, 0.00 inches rain/24hrs

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