• mutil and mutil.ini / mysticbbs environment variable?

    From Björn Wiberg@2:201/137 to g00r00 on Sun Jan 23 21:29:45 2022
    Hello g00r00!

    If I run mutil from another directory than the one with mutil.ini in it, mutil complains about not being able to find mutil.ini, despite having the mysticbbs environment variable set (pointing to the base Mystic directory with mutil.ini in it):

    bbs@glimmer:~$ set | grep mysticbbs
    mysticbbs=/home/bbs/mystic

    bbs@glimmer:~$ mutil -run MergeNodeLists

    Load configuration Missing file FATAL

    From /home/bbs/mystic/logs/errors.log:

    2022.23.01 21:24:46 MUTIL 000 Invalid INI file: mutil.ini

    Would it be possible for mutil to observe the mysticbbs environment variable and look for mutil.ini (or any other INI file without a path specified on the command line) there?

    Thanks in advance!

    Best regards
    Bjorn

    --- Mystic BBS v1.12 A48 2022/01/19 (Linux/64)
    * Origin: Star Collision BBS, Uppsala, Sweden (2:201/137)
  • From g00r00@1:129/215 to Björn Wiberg on Wed Feb 2 14:25:02 2022
    If I run mutil from another directory than the one with mutil.ini in it, mutil complains about not being able to find mutil.ini, despite having
    the mysticbbs environment variable set (pointing to the base Mystic directory with mutil.ini in it):

    Sure! I can't think of a reason why I shouldn't do that...

    I'll make it so if you don't supply any INI filename on the command line, it will first look in the current directory you are running from for mutil.ini and then check for 'mysticbbs' environment variable path + mutil.ini!

    I'll put that in the build I am going to put out later today give it a shot when you can! :)

    ... When cheese gets its picture taken, what does it say?

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