Subj : New random ANSi filenames in a47 To : All From : paulie420 Date : Sun Nov 01 2020 08:23:37 I found a change in a47 that might help some sysOp out there; FILENAME.ANS, FILENAME.AN1, .AN2, .AN3, AN... is no longer the way Mystic recognizes alternate ANSi screens. Now, for a basic 1-width system, Mystic recognizes: FILENAME.ANS FILENAME.1.ANS FILENAME.2.ANS FILENAME.3.ANS..... etc... Is it also how the new 160 character max system works... if your user is on a 132 or 160 width terminal, Mystic uses filenames like: msg_editor.c132x36.ans If the user has 132x36 capability, it will display this file... theres more detail in the whatsnew.txt for a47 which I'll post after the break below. CHEERS, sysOps! --------------- - The old random display file system is gone so if you have the .ana, .anb type files you will need to update them to use the "new" system that is being brought over from the Mystic 2 build. + New display file random system. If for example the base filename of the display file is "test" then you can make any additional files with a .# after the base filename and one of them will be selected randomly. The old system had a limit of 36 random ANSIs per display file but this system has no limits. For example: test.ans test.1.ans test.2.ans test.10.ans Mystic will randomly select and display one of the above files. + New display file system for custom terminal sizes that allow specific files to be displayed based on the user's terminal size. For example if the base display filename is "test" then you can add either the columns or both the columns and lines: test.ans < Displays to users with less than 120 columns test.c120.ans < Displays to users with 120-159 columns test.c160.ans < Displays to users with 160+ columns You can also include the number of lines as well: test.c132x37.ans < Displays to users who have 132x37 or larger terminal size. + New display file system can combine the random ANSIs along with the terminal sizes. When combined the random number comes first followed by the terminal size. So if you have three 160 column scrollers you want to randomly display and three 80 column, you could name them like this: scroller.1.ans scroller.2.ans scroller.3.ans scroller.1.c160.ans scroller.2.c160.ans scroller.3.c160.ans Now if you executed a GD menu command with the data of "scroller" Mystic will randomly display scroller.#.ans if the user's terminal size is less than 160 columns. If the terminal size is 160 columns or higher Mystic will randomly display scroller.#.c160.ans. All of Mystic's automated display files like logonX and so on all use this system as well, and so does the dispfile MPL and showfile MPY functions. The c#x# format is case sensitive. It is important to note when doing 40 column themes that the column-defined files always take priority over the base file. This means test.c40.ans will always be selected over test.ans. If you are creating a theme that supports both 80 and 40 columns then you'll want to create c80 files along with your c40 files. + Template files now allow both random and terminal sized-based file naming similar to display files. For example: msg_editor.ini msg_editor.c132x36.ini msg_editor.c160x50.ini + Mystic's Text Editor will now use the full size of the terminal up to 160x60. + The [X## MCI code to move to an X position on the screen has been updated to allow a third character for X coordinates between 100-160. The way this works may have to change in the future. --------------- |07p|15AULIE|1142|07o |08......... --- Mystic BBS v1.12 A47 2020/10/23 (Raspberry Pi/32) * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150) .