• DOSBOX-X and lower case filenames

    From Dumas Walker@21:1/175 to All on Sat Mar 22 14:03:42 2025
    Good afternoon,
    I am running a DOS BBS system under DOSBOX-X. When the DOS tosser (squish) creates the *.flo files, it is writing the filename out to the flo in lowercase. However, DOSBOX-X is saving the mail archives to the host OS system (linux) in UPPERCASE.

    When binkd tries an action on the flo file, it does not find the matching dataset name and deletes the flo file without sending the mail.

    I have done some research and it sounds like the DOSBOX dev team believes that writing in UPPERCASE is not a bug because DOS w/o LFN support only supports UPPERCASE.

    I have tried turning on LFN support and changing a couple of other settings but none of them cause DOSBOX-X to write the dataset names to the host OS system in lowercase.

    Does anyone know if there is a trick to get DOSBOX-X to write files to linux with lowercase names?

    Is there a way to use the "ftrans" in the binkd.cfg file to cause it to ignore the filename case that it finds in the flo files?

    Couple of quick notes... I am using DOSBOX-X over dosemu because the BBS software developer does not support dosemu because he doesn't use linux, and I am using squish because the BBS software FTN "shim" program doesn't work with crashmail.

    Thanks!
    --- SBBSecho 3.20-Linux
    * Origin: capitolcityonline.net * Telnet/SSH:2022/HTTP (21:1/175)
  • From dingo@21:1/121 to Dumas Walker on Sun Mar 23 11:11:37 2025

    Twas Saturday, March 22nd when Dumas Walker said...
    out to the flo in lowercase. However, DOSBOX-X is saving the mail archives to the host OS system (linux) in UPPERCASE.

    Does anyone know if there is a trick to get DOSBOX-X to write files to linux with lowercase names?

    Try commenting out this line https://github.com/joncampbell123/dosbox-x/blob/8f1a2f0feaa93ace8edcb1ae93cb6f4ee8ca054f/src/dos/drive_virtual.cpp#L158

    or maybe not, just look for "toupper", you could set breakpoints on them all and just do a basic "TYPE>tEsT.TxT" or something to see what hits

    --- ENiGMA 1/2 v0.0.14-beta (linux; x64; 22.14.0)
    * Origin: Xibalba -+- xibalba.vip:44510 (21:1/121)