Section One BBS

Welcome, Guest.


Subject: mutil and mutil.ini / mysticbbs environment variable? Date: Wed Feb 02 2022 09:53 pm
From: Bj”rn Wiberg To: g00r00

Hello again, g00r00!

On 02 Feb 2022, Björn Wiberg said the following...
 BW>  g0>  BW> mutil complains about not being able to find mutil.ini, despite 

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

 BW> Thanks a lot! Sounds great! I'll try it out and let you know the results!

I just tested this, but noticed the following --

1) When specifying a path to an INI file, mutil appears to fail to find
mystic.dat unless it is located in the current working directory:

bbs@glimmer:~$ mutil /mnt/bbs/mystic/maint.ini
    Load configuration      Missing MYSTIC.DAT                    FATAL
2022.02.02 21:43:23 MUTIL 000 Cannot read MYSTIC.DAT

Would it be possible for mutil to look for mystic.dat (too) in the directory
specified by the mysticbbs environment variable if it cannot find it in the
current directory?

2) Would it be possible to extend this "looking for INI file" to other INI
files than mutil.ini?

bbs@glimmer:~$ mutil maint.ini
    Load configuration      Missing file                          FATAL
2022.02.02 21:41:08 MUTIL 000 Invalid INI file: maint.ini

Here I would have wished for mutil to look for maint.ini in the current
directory, and if it didn't find it there, to look for it in the directory
specified by the mysticbbs environment variable.

Obviously, this would/should only apply to INI file names without a path (i.e.
only to INI file names not containing any backslashes or slashes).

As usual, many thanks in advance! =)

Best regards
Björn
--- Mystic BBS v1.12 A48 2022/02/02 (Linux/64)
 * Origin: Star Collision BBS, Uppsala, Sweden (2:201/137)

Previous Message       Next Message