Subj : Re: Multi Relay Chat a47 /scroll Fix
To   : Ratz
From : paulie420
Date : Thu Aug 26 2021 08:49 am

Ra>  pa>  Zy> I need to get with you, sir! My scroll has been broken since   Ra>  pa>  Zy> Ra>  pa>  Zy> upg
Ra>  pa>  Zy> to a47. Havn't looked into it yet..
Ra>
Ra> Could you share that here in the echo, I was planning to update this
Ra> weekend and that would be good to know info.

[This is one fix for the a47 /scroll issue in MRC 1.29a.]

Mystic updated its ANSi Viewer, and the way it reads data for those viewers. Instead of using the DATA LINE in a menu command, Mystic now uses .ini files.

Backup mrc_client.mps in your themes /scripts directory.
Edit mrc_client.mps in your themes /scripts directory.
Find line "MenuCmd('GV','mrcscrl;x;y;'+ChatLog+';END')" - mine is line #1370, but I may have modified my file, so yer looking for that MenuCmd I put in quotes...
Change it to the new format: "MenuCmd('GV','mrcscrl;'+ChatLog+' /end')"
Now, we'll need to create an mrcscrl.ini file. It accompanies mrcscrl.ans - and now contains the information Mystic needs, and all options about how you want to display this instance of ANSi Viewer. Its gonna mess up the color mci codes, but here is my setup:

paulie420@paulie420-ThinkPad-T430s:~/bbs/mystic/themes/default/text$ cat mrcscrl.ini
-----------------------------------------------------------------------------
; MRCSCRL.INI
; ============
;
; This template defines the configuration for ANSI viewer

[Options]

       description = MRC Scroll Back viewer

       ; Display file and help file.  Blank help file will disable help
       display_file = mrcscrl
       help_file    = ansiview_help

       ; Default values for render column size and baud
       columns = 80
       baud    = 0

[Coords]

       ; X,Y,Attribute

       ; Contains the top X/Y location of the listing window
       ; Attribute is the color used as default color for each line's filler
       Coord1 = 1,2,7

       ; Contains the bottom X/Y location of the listing window
       Coord2 = 79,22,7

[Percent]

       ; Percentage bar for Y axis

       ; Use a percentage bar meter?
       active = true

       ; 0 = horizontal filled, 1 = vertical filled, 2 = horizontal position, 3 = vertical position
       bar_format = 3

       ; length of bar in characters
       bar_length = 21

       ; X location of meter
       location_X = 80

       ; Y location of meter
       location_Y = 2

       ; low/bg character of meter (ASCII character number)
       low_char   = 32

       ; low/bg attribute of meter (FG + BG * 16)
       low_attr   = 7

       ; high/fg character of meter (ASCII character number)
       high_char  = 60

       ; high/fg attribute of meter (FG + BG * 16)
       high_attr  = 15

[Percent2]

       ; Percentage bar for X axis

       ; Use a percentage bar meter?
       active = false

       ; 0 = horizontal filled, 1 = vertical filled, 2 = horizontal position, 3 = vertical position
       bar_format = 2

       ; length of bar in characters
       bar_length = 25

       ; X location of meter
       location_X = 5

       ; Y location of meter
       location_Y = 23

       ; low/bg character of meter (ASCII character number)
       low_char   = 176

       ; low/bg attribute of meter (FG + BG * 16)
       low_attr   = 1

       ; high/fg character of meter (ASCII character number)
       high_char  = 219

       ; high/fg attribute of meter (FG + BG * 16)
       high_attr  = 9

[Prompts]

       ; Text used for each author field if no author data is founddir

       str1 = Unknown

       ; Display information
       ; &1 = filename
       ; &2 = title
       ; &3 = author
       ; &4 = group
       ; &5 = number of lines in file
       ; &6 = current viewing columns
       ; &7 = default baud rate

       ; Display file information (shown on full redraw)

       ; str2 = |[X25|[Y01|15|17|$L54|&1|16|[X11|[Y03|$R24|&2|[X44|&4|[X73|&6|[Y04|[X11|&3|[X7
3|&5
       ; str2 = |[X25|[Y01|15|17|$L54|&1|16|[X11|[Y03|$R24|&2|[X44|&4|[X73|&6|[Y04|[X11|&3|[X7
3|&5

       ; Display percentage of file viewed
       ; &1 = percent

       ; str3 = |[X72|[Y23|16|11|$L03|&1

       ; Input baud rate prompt
       str4 = |#X#2# Enter Display Baud Rate (0/None) #20#10#65#13#|[X39|[Y12

       ; Input render column size prompt
       str5 = |#X#2# Render Column Size (40-160) #24#10#61#13#|[X41|[Y12
|07-------------------------------------------------------------------------
Recompile mrc_client.mps... on linux, I run ~/mystic/./mplc mrc_client.mps.

One other thing that *I* did was edit the mrcscrl.ans to state "ESC to QUIT" as I think the old version used... "Q", or something else. I forget, because I deleted the original mrcscrl.ans.

I didn't wanna post this here cause maybe everything didn't transfer easily. If anyone needs my files, I can create a tiny ZIP and get it to ya - but I'm sure some ops will be able to figure it out no problem. :P w00t w00t.



|07p|15AULIE|1142|07o
|08.........

--- Mystic BBS v1.12 A47 2021/08/08 (Raspberry Pi/32)
* Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150)