Section One BBS

Welcome, Guest.


Subject: Re: Mystic Program Question Date: Thu Jan 05 2023 08:55 pm
From: g00r00 To: Mike Fenton

 MF> Unless I'm pushing over 200 characters under windows not realizing. The
 MF> command is slightely different.

 MF> Is there anyway to get this character limit increased? I can then test
 MF> on my end?

Ok so I did a review of code now that I am not at work.  Here's the deal:

The menu editor is limited to 250 characters now (up from 200) for the optional
data field.  In MPL there is a hard limitation of 255 characters which is an MPL
limitation on all OSes that I cannot easily extend.

If you need to go longer than 255 from MPL then you'd have to write the
command(s) to a .bat file in the node's temp directory and then execute the .bat
file.  It'd probably be good to delete the .bat after running as well.

You can also use Mystic Python which has the same MenuCmd function that should
be able to handle the full 8000 character command line length that Windows
allows.

Sorry I don't have better news on this one.  I do want to expand on MPL 255
limit someday, but honestly its a pretty low priority these days.

... Just another prisoner of gravity!

--- Mystic BBS v1.12 A48 (Windows/64)
 * Origin: Sector 7 * Mystic WHQ (1:129/215)

Previous Message       Next Message
In Reply To: Mystic Program Question (Mike Fenton)
Replies: Mystic Program Question (Mike Fenton)