• Feature requests

    From roovis@21:4/165 to All on Sat Feb 8 21:50:42 2020
    1. Give MIDE some love.
    - generate ini file if missing
    - make accessible via mystic -mide (for remote coding!)

    2. MCI Code to strip other color/mci codes out of a string -- like BBS listings.

    3. "Snoop which node" added to configurable prompts.

    4. Add search/seek in (*4) Log viewer. Maybe line filters?

    Thanks for your time.

    -roovis

    --- Mystic BBS v1.12 A44 2020/02/04 (Linux/64)
    * Origin: w0pr.win (21:4/165)
  • From g00r00@21:1/108 to roovis on Sun Feb 9 12:57:49 2020
    2. MCI Code to strip other color/mci codes out of a string -- like BBS listings.

    I am not sure exactly how this would work. Do you mean strip color codes out of the value of the next MCI code? Can you give me an example of how you
    would like to use this so I can better understand? Thanks!

    3. "Snoop which node" added to configurable prompts.

    I'll make a note of that, thank you.

    4. Add search/seek in (*4) Log viewer. Maybe line filters?

    You should already be able to do this with the "Where" function. Let me know if this isn't working for you.

    --- Mystic BBS v1.12 A45 2020/02/09 (Linux/64)
    * Origin: Sector 7 (21:1/108)
  • From roovis@21:4/165 to g00r00 on Sun Feb 9 13:24:28 2020
    2. MCI Code to strip other color/mci codes out of a string -- like BB listings.

    I am not sure exactly how this would work. Do you mean strip color
    codes out of the value of the next MCI code? Can you give me an example of how you would like to use this so I can better understand? Thanks!

    For example... the BBS listing prompt string...

    Name address type
    |$M|&1 |&2 |&3

    |ST MCI code would strip all mci codes (in this case, color) from |&1. I'm a killjoy to visiting sysops who want to add all of their own color codes to
    the BBS listing. Please assist me in this endeavor. ;)

    Thanks!
    -roovis

    --- Mystic BBS v1.12 A44 2020/02/04 (Linux/64)
    * Origin: w0pr.win (21:4/165)
  • From roovis@21:4/165 to roovis on Sun Feb 9 13:26:10 2020
    MCI feature request explained:

    |$M | &1

    |$M would remove color codes from the next mci code used.

    -roovis

    --- Mystic BBS v1.12 A44 2020/02/04 (Linux/64)
    * Origin: w0pr.win (21:4/165)
  • From Analog@21:2/123 to roovis on Sun Feb 9 19:12:54 2020
    2. MCI Code to strip other color/mci codes out of a string -- like BB listings.

    Roovis, just use a regex in MPY. It's super easy and gives you full control
    of what you want:
    [snip]
    def strip_mci(string):
    # Strip only color and location codes so we can get an effective length
    rgx_list = [r'(\|\[[XY]\d{2})' , r'(\|\d{2})']
    new_text = string
    for rgx_match in rgx_list:
    new_text = re.sub(rgx_match, '', new_text)
    return new_text
    [snip]

    This will remove PIPE[Xxx or PIPE[Yxx locations and PIPExx color codes for example.

    Cheers,

    |20|15┌─|16|08┤ |08De|07ad|15be|07a|08tz b|07b|15s
    |08└─┘├─┐ |08:>.|07A|08rk |0710|08:|07101|08/|0714|08.
    |04■ |08└|20|15─|16|08┘ |08:>.|10A|02gn |1046|08:|101|08/|10123|08.
    |04A|07n|15al|07o|08g |08:>.|12F|04sx |1221|08:|122|08/|12123|08. |15.|04p|07HENOM|15. |08:>.|15S|07ci |1577|08:|151|08/|15131|08. |04░▒░|08▒██▄▌|08:>.|11T|03qw |111337|08:|113|08/|1113|08.

    --- Mystic BBS v1.12 A45 2020/02/09 (Linux/64)
    * Origin: deadbeatz.org (21:2/123)