• Question on which file to mod...

    From WitNik@VERT/BGGRSCYN to Digital Man on Monday, January 04, 2021 15:16:15
    DM,

    When I use ctrl-p to bring up the private message menu and press M to send a private message, which file do I modify to adjust the formatting of the echoed text on the data entry line:

    Node, Name, #Number, 'Handle, ^User list, or All:

    I'm looking to mod the field so that it doesn't auto-capitalize the first character and I can't seem to find where this is done.

    Thanks,
    -WitNik

    ---
    þ Synchronet þ * Origin: Beggar's Canyon - beggarscyn.com *
  • From Mortifis@VERT/EPHRAM to WitNik on Monday, January 04, 2021 20:04:39
    DM,

    When I use ctrl-p to bring up the private message menu and press M to send a private message, which file do I modify to adjust the formatting of the echoed text on the data entry line:

    Node, Name, #Number, 'Handle, ^User list, or All:

    I'm looking to mod the field so that it doesn't auto-capitalize the first character and I can't seem to find where this is done.

    Thanks,
    -WitNik

    I am not DM but the prompt is key 524 in text.dat (arounf line 621 in the text.dat I have)

    Hope this helps,

    ~mortifis


    ~Ephram

    ---
    þ Synchronet þ The Realm of Dispair telnet ephram.synchro.net 2323 ssh 2222 web 82
  • From Digital Man@VERT to WitNik on Monday, January 04, 2021 19:20:59
    Re: Question on which file to mod...
    By: WitNik to Digital Man on Mon Jan 04 2021 03:16 pm

    DM,

    When I use ctrl-p to bring up the private message menu and press M to send a private message, which file do I modify to adjust the formatting of the echoed text on the data entry line:

    Node, Name, #Number, 'Handle, ^User list, or All:

    I'm looking to mod the field so that it doesn't auto-capitalize the first character and I can't seem to find where this is done.

    If you're asking about the input prompt, that'd be about line 1279 of src/sbbs3/chat.cpp:
    getstr(str,LEN_ALIAS,K_UPRLWR|K_LINE|K_EDIT|K_AUTODEL);
    You'd remove "K_UPRLOWR|" from that line to defeat the auto-capitalization. I'd have no problem making that change permanent if that's what you're asking about.
    --
    digital man

    Synchronet/BBS Terminology Definition #28:
    FDSZ = FOSSIL DSZ (by Chuck Forsberg)
    Norco, CA WX: 53.0øF, 86.0% humidity, 0 mph SSW wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From WitNik@VERT/BGGRSCYN to Mortifis on Monday, January 04, 2021 19:19:19
    Re: Re: Question on which file to mod...
    By: Mortifis to WitNik on Mon Jan 04 2021 08:04 pm

    I am not DM but the prompt is key 524 in text.dat (arounf line 621 in the text.dat I have)

    Hope this helps,

    ~mortifis

    Mortifis,

    I wasn't looking for the prompt, but for the script that controls the data entry after pressing "M" at the prompt. The prompt auto-capitalizes the first character and I was trying to figure out where to disable it. I've been looking at the privatemsg.js and sbbsimsg.js so far but I can't find where that field that takes the input is located.

    =)

    I'm going to keep looking though, as it's kind of cool to try to figure out how all these scripts/engine interact.

    -WitNik

    ---
    þ Synchronet þ * Origin: Beggar's Canyon - beggarscyn.com *
  • From WitNik@VERT/BGGRSCYN to Digital Man on Tuesday, January 05, 2021 08:08:54
    Re: Question on which file to mod...
    By: Digital Man to WitNik on Mon Jan 04 2021 07:20 pm

    If you're asking about the input prompt, that'd be about line 1279 of src/sbbs3/chat.cpp:
    getstr(str,LEN_ALIAS,K_UPRLWR|K_LINE|K_EDIT|K_AUTODEL);
    You'd remove "K_UPRLOWR|" from that line to defeat the auto-capitalization. I'd have no problem making that change permanent if that's what you're asking about.

    That is exactly what I was looking for! Thank you for adjusting the default behavior! I kept looking in the JS files for it.

    Thanks,
    -WitNik

    ---
    þ Synchronet þ * Origin: Beggar's Canyon - beggarscyn.com *