• SUBTYPE capitalization

    From apam #10@127.Wwivnet@11:1/101 to All on Sat Nov 2 00:41:54 2024

    Hi

    I've been trying to figure out a problem with WWIVnet (not this net, but the tech) I think it comes down to capitalization..

    I notice when you enter a subtype in //BE it's in uppercase, on my test net work the subscribers file is nSUBTYPE.net, so I am assuming subtypes should always be in capitals.

    On another test network, we have two subscriber files, nsubtype.net and nSUBTYPE.net, I think what has happened is someone added their sub with falcon (the talisman tool) and used lowercase for the subtype. WWIV has created a lowercase subscriber list. When I subscribed I used uppercase and being non-case sensitive filesystem, WWIV created the uppercase version.

    The problem I think is now with two of the same file (with different captializations) only one is getting opened by WWIV (I think the one with the SUBTYPE in upper case, where as all the links in the lowercase file has essentially been delinked).

    Since this happened I've modified falcon to only send uppercase SUBTYPEs, regardless of what is entered.

    I'm wondering if WWIV should capitalize any SUBTYPEs that are sent in requests, incase future software sends in lowercase.

    Or I could be completely wrong with what is happening here.

    Andrew

    --- Noddy git-4716e54
    * Origin: Space Junk! BBS :: SpaceJunkBBS.com:2323 (127)
     
    --- WWIVToss v.1.52
    * Origin: http://www.weather-station.org * Bel Air, MD -USA (11:1/101.0)
  • From Xenos #1@60.Wwivnet@11:1/101 to Apam #10 on Sat Nov 2 02:47:56 2024

    Hi Apam,

    The tech specs were made in the DOS era, so filename case sensitivity wasn't an issue before. We can adjust the handling of SUB names in network2/subs.cpp to make them all upper to anticipate software sending lowercase SUB names or stype. Feel free to open an issue on github regarding this so we don't forget about it. :)

    I've also been wrangling with some issues in SUB add/drop request processing so this work is in that area.

    Thanks for pointing this out!

    -=<(xenos)>=-

    On Saturday,November 02, 2024 at 01:41 PM, Apam wrote:

    I've been trying to figure out a problem with WWIVnet (not this net, but
    the tech) I think it comes down to capitalization..

    [..]

    I'm wondering if WWIV should capitalize any SUBTYPEs that are sent in requests, incase future software sends in lowercase



    A .-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-.
    /*\ | /\liens' /\lcove! WWIV on Linux, Taguig, Metro Manila, Philippines |
    / v \`-=-=-=-=-=-=-=-=-=-=-=-[ WWIV Development ]-=-=--=-=-=-=-=-=-=-=-=-=-'

               
    --- WWIVToss v.1.52
    * Origin: http://www.weather-station.org * Bel Air, MD -USA (11:1/101.0)