• Customizing menu files

    From Gamgee@VERT/PALANT to All on Sun Jan 5 11:28:19 2020
    Hi all,

    Trying to customize a few more of my menu display files. Having an issue with the QWK one (qwk.asc). I make my new screen in TheDraw and save in ANS format, then use 'ans2asc qwk.ans qwk.asc -clear' command to convert it to an ASC file. This all works fine and the new file displays as expected except for the bottom/end... At the bottom of the file, I have "Which or Quit: " prompt, with an '@EOF@' after that, as I have done with several other of my menu files. But with this one, it insists on showing a "QWK: " prompt in yellow at the lower left of the display.

    Any ideas why, and how to prevent that prompt from showing? Thanks!

    ---
    þ Synchronet þ Palantir BBS * palantirbbs.ddns.net * Pensacola, FL
  • From Will Milberger@VERT to Gamgee on Sun Jan 5 14:04:17 2020
    Re: Customizing menu files
    By: Gamgee to All on Sun Jan 05 2020 11:28 am

    several other of my menu files. But with this one, it insists on showing a "QWK: " prompt in yellow at the lower left of the display.

    I hope someone else is able to chime in. The QWK: in yellow, is in one of the .DAT files. Maybe MENU.DAT? Wish I could be more help. I know it is in one of the files you can mod to change menus.

    Grease
    darkmatt.synchro.net


    ... Ebius tagline. This is a moebius tagline. This is a mo ...
    --- SBBSecho 3.10-Linux
    * Origin: Dark Matter BBS <<>> darkmatt.synchro.net <<>> (1:106/101)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Gamgee on Sun Jan 5 13:22:04 2020
    Re: Customizing menu files
    By: Gamgee to All on Sun Jan 05 2020 11:28 am

    Hi all,

    Trying to customize a few more of my menu display files. Having an issue with the QWK one (qwk.asc). I make my new screen in TheDraw and save in ANS format, then use 'ans2asc qwk.ans qwk.asc -clear' command to convert it to an ASC file. This all works fine and the new file displays as expected except for the bottom/end... At the bottom of the file, I have "Which or Quit: " prompt, with an '@eof@' after that, as I have done with several other of my menu files. But with this one, it insists on showing a "QWK: " prompt in yellow at the lower left of the display.

    Most menu files don't include a prompt. Most prompts are defined in the ctrl/text.dat file.

    Any ideas why, and how to prevent that prompt from showing? Thanks!

    Remove the prompt from your menu file. Remember: in expert menu mode (assuming your command shell supports that), menu files aren't displayed to users - only prompts are. So if you had a vague prompt such as "which or quit", it might not make any sense in expert menu mode. Be sure to test in expert menu mode too.

    digital man

    Synchronet/BBS Terminology Definition #28:
    FREQ = File Request
    Norco, CA WX: 69.4øF, 36.0% humidity, 3 mph E wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Gamgee@VERT/PALANT to Will Milberger on Sun Jan 5 16:09:00 2020
    Will Milberger wrote to Gamgee <=-

    several other of my menu files. But with this one, it insists on showing a "QWK: " prompt in yellow at the lower left of the display.

    I hope someone else is able to chime in. The QWK: in yellow, is
    in one of the .DAT files. Maybe MENU.DAT? Wish I could be more
    help. I know it is in one of the files you can mod to change
    menus.

    Yes, thanks Will. Since my previous post, I've found the QWK:
    prompt in the /sbbs/ctrl/text.dat file, and set it to null ("")
    which has cleared the issue with that menu display file.

    Doesn't seem to work properly though for the CHAT menu though,
    still digging. Thanks.



    ... Press any key to continue or any other key to quit
    --- MultiMail/Linux v0.52
    þ Synchronet þ Palantir BBS * palantirbbs.ddns.net * Pensacola, FL
  • From Gamgee@VERT/PALANT to Digital Man on Sun Jan 5 16:21:00 2020
    Digital Man wrote to Gamgee <=-

    Re: Customizing menu files
    By: Gamgee to All on Sun Jan 05 2020 11:28 am

    Trying to customize a few more of my menu display files. Having an issue with the QWK one (qwk.asc). I make my new screen in TheDraw and save in ANS format, then use 'ans2asc qwk.ans qwk.asc -clear' command to convert it to an ASC file. This all works fine and the new file displays as expected except for the bottom/end... At the bottom of the file, I have "Which or Quit: " prompt, with an '@eof@' after that, as I have done with several other of my menu files. But with this one, it insists on showing a "QWK: " prompt in yellow at the lower left of the display.

    Most menu files don't include a prompt. Most prompts are defined
    in the ctrl/text.dat file.

    Yes, thanks. Since my first post I've found the "QWK: " prompt in
    text.dat, and set it to a null value (""). Line 570. That stops
    the display of the yellow "QWK: " prompt in the lower left, and
    leaves my cursor after the "Which or Quit: " prompt which is part
    of my menu display file. All good there.

    However... With the same idea in mind, for the CHAT menu, I
    created another display file (chat.msg), also with a "Which or
    Quit: " prompt as part of the menu/display file. I was still
    getting a yellow "Chat: " prompt below my custom menu though. I
    found the same type of prompt as discussed above in the text.dat
    file for the "Chat: " prompt (Line 506) and set that to a null
    value as I did for the QWK prompt... but... The yellow "Chat: "
    still shows up on the screen below my display file.

    As another experiment, I restored the original Chat prompt at line
    506 of text.dat, but intentionally misspelled it. It still shows
    as "Chat: " though. So, something other than Line 506 is driving
    the display of the yellow prompt for Chat. I searched the rest of
    text.dat and found no other line that seemed to affect the prompt
    display. Any advice on what the secret to that one is?

    Any ideas why, and how to prevent that prompt from showing? Thanks!

    Remove the prompt from your menu file. Remember: in expert menu
    mode (assuming your command shell supports that), menu files
    aren't displayed to users - only prompts are. So if you had a
    vague prompt such as "which or quit", it might not make any sense
    in expert menu mode. Be sure to test in expert menu mode too.

    The only prompt in my menu file is the one I want (Which or Quit),
    with an @EOF@ immediately after it. That's not causing the yellow
    "Chat: " prompt to show up. I was thinking it was the text.dat
    file like it was for the QWK menu, but that Line 506 seems to have
    no effect. I will consider altering the Which or Quit line to
    take Expert Mode into account, but for now just trying to have
    that prompt be the one where the cursor shows, and to not see the
    "built in" yellow one.

    Any idea why the Chat (line 506) doesn't behave the same as the
    QWK (line 570) prompt? Thanks DM.



    ... Man, that lightning sounds clos}*#%$+_@-!^-NO CARRIER
    --- MultiMail/Linux v0.52
    þ Synchronet þ Palantir BBS * palantirbbs.ddns.net * Pensacola, FL
  • From Digital Man@VERT to Gamgee on Sun Jan 5 15:49:46 2020
    Re: Re: Customizing menu files
    By: Gamgee to Digital Man on Sun Jan 05 2020 04:21 pm

    Digital Man wrote to Gamgee <=-

    Re: Customizing menu files
    By: Gamgee to All on Sun Jan 05 2020 11:28 am

    Trying to customize a few more of my menu display files. Having an issue with the QWK one (qwk.asc). I make my new screen in TheDraw and save in ANS format, then use 'ans2asc qwk.ans qwk.asc -clear' command to convert it to an ASC file. This all works fine and the new file displays as expected except for the bottom/end... At the bottom of the file, I have "Which or Quit: " prompt, with an '@eof@' after that, as I have done with several other of my menu files. But with this one, it insists on showing a "QWK: " prompt in yellow at the lower left of the display.

    Most menu files don't include a prompt. Most prompts are defined
    in the ctrl/text.dat file.

    Yes, thanks. Since my first post I've found the "QWK: " prompt in
    text.dat, and set it to a null value (""). Line 570. That stops
    the display of the yellow "QWK: " prompt in the lower left, and
    leaves my cursor after the "Which or Quit: " prompt which is part
    of my menu display file. All good there.

    No, as I explained in my message, that is not a good idea. The prompt is a separate string for good reason: it is displayed at times when the menu file is not. If you tested your modifications while in expert menu mode ('X' from the user defaults settings) you'd see what I mean.

    However... With the same idea in mind, for the CHAT menu, I
    created another display file (chat.msg), also with a "Which or
    Quit: " prompt as part of the menu/display file. I was still
    getting a yellow "Chat: " prompt below my custom menu though. I
    found the same type of prompt as discussed above in the text.dat
    file for the "Chat: " prompt (Line 506) and set that to a null
    value as I did for the QWK prompt... but... The yellow "Chat: "
    still shows up on the screen below my display file.

    Again, not a good idea to embed the prompt in the menu file.

    As another experiment, I restored the original Chat prompt at line
    506 of text.dat, but intentionally misspelled it. It still shows
    as "Chat: " though. So, something other than Line 506 is driving
    the display of the yellow prompt for Chat. I searched the rest of
    text.dat and found no other line that seemed to affect the prompt
    display. Any advice on what the secret to that one is?

    It's exec/chat_sec.js - but I'm going to fix that to use the text.dat line right now. Still, setting any prompt to an empty string is a bad idea. I suggest you don't do that.

    digital man

    Synchronet/BBS Terminology Definition #7:
    BinkP = BinkD Protocol
    Norco, CA WX: 69.4øF, 34.0% humidity, 0 mph NW wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Gamgee@VERT/PALANT to Digital Man on Sun Jan 5 19:54:00 2020
    Digital Man wrote to Gamgee <=-

    Re: Re: Customizing menu files
    By: Gamgee to Digital Man on Sun Jan 05 2020 04:21 pm

    Trying to customize a few more of my menu display files. Having an issue with the QWK one (qwk.asc). I make my new screen in TheDraw and save in ANS format, then use 'ans2asc qwk.ans qwk.asc -clear' command to convert it to an ASC file. This all works fine and the new file displays as expected except for the bottom/end... At the bottom of the file, I have "Which or Quit: " prompt, with an '@eof@' after that, as I have done with several other of my menu files. But with this one, it insists on showing a "QWK: " prompt in yellow at the lower left of the display.

    Most menu files don't include a prompt. Most prompts are defined
    in the ctrl/text.dat file.

    Yes, thanks. Since my first post I've found the "QWK: " prompt in
    text.dat, and set it to a null value (""). Line 570. That stops
    the display of the yellow "QWK: " prompt in the lower left, and
    leaves my cursor after the "Which or Quit: " prompt which is part
    of my menu display file. All good there.

    No, as I explained in my message, that is not a good idea. The
    prompt is a separate string for good reason: it is displayed at
    times when the menu file is not. If you tested your modifications
    while in expert menu mode ('X' from the user defaults settings)
    you'd see what I mean.

    Yes, I did test with expert mode after your previous post, and I
    see what you mean now. I have since modified the menu display
    file to not have the prompt in it, and will use the default prompt
    as you suggest.


    However... With the same idea in mind, for the CHAT menu, I
    created another display file (chat.msg), also with a "Which or
    Quit: " prompt as part of the menu/display file. I was still
    getting a yellow "Chat: " prompt below my custom menu though. I
    found the same type of prompt as discussed above in the text.dat
    file for the "Chat: " prompt (Line 506) and set that to a null
    value as I did for the QWK prompt... but... The yellow "Chat: "
    still shows up on the screen below my display file.

    Again, not a good idea to embed the prompt in the menu file.

    Agreed, and that plan is discontinued.

    As another experiment, I restored the original Chat prompt at line
    506 of text.dat, but intentionally misspelled it. It still shows
    as "Chat: " though. So, something other than Line 506 is driving
    the display of the yellow prompt for Chat. I searched the rest of
    text.dat and found no other line that seemed to affect the prompt
    display. Any advice on what the secret to that one is?

    It's exec/chat_sec.js - but I'm going to fix that to use the
    text.dat line right now. Still, setting any prompt to an empty
    string is a bad idea. I suggest you don't do that.

    OK thank you, and thanks for the suggestions. I've changed back
    to not embedding the prompt in the menu file, and restored the
    text.dat strings. Really appreciate the prompt and on-point help.


    ... Internal Error: The system has been taken over by sheep at line 19960
    --- MultiMail/Linux v0.52
    þ Synchronet þ Palantir BBS * palantirbbs.ddns.net * Pensacola, FL
  • From Rampage@VERT/SESTAR to Gamgee on Mon Jan 6 08:39:15 2020
    Re: Re: Customizing menu files
    By: Gamgee to Digital Man on Sun Jan 05 2020 16:21:00


    Most menu files don't include a prompt. Most prompts are defined
    in the ctrl/text.dat file.

    Yes, thanks. Since my first post I've found the "QWK: " prompt in text.dat, and set it to a null value (""). Line 570. That stops
    the display of the yellow "QWK: " prompt in the lower left, and
    [...]
    However... With the same idea in mind, for the CHAT menu, I
    created another display file (chat.msg), also with a "Which or
    Quit: " prompt as part of the menu/display file. I was still
    getting a yellow "Chat: " prompt below my custom menu though. I

    how about leaving your prompt out of your screens and setting the prompt in text.dat to your desired "Which or Quit"? just make sure your screen places the cursor where you want the prompt to appear?

    and, as DM mentioned, make sure you test in expert mode, too... i think you'll find some things to be confusing since expert mode skips displaying the menu files you create...

    [edit]

    NVM... i see you've taken DM's advice and reverted your changes in favor of a different course of action :)

    )\/(ark

    ---
    þ Synchronet þ The SouthEast Star Mail HUB - SESTAR
  • From Gamgee@VERT/PALANT to Rampage on Mon Jan 6 09:54:00 2020
    Rampage wrote to Gamgee <=-

    Most menu files don't include a prompt. Most prompts are defined
    in the ctrl/text.dat file.

    Yes, thanks. Since my first post I've found the "QWK: " prompt in
    text.dat
    , and set it to a null value (""). Line 570. That stops
    the display of the yellow "QWK: " prompt in the lower left, and
    [...]
    However... With the same idea in mind, for the CHAT menu, I
    created another display file (chat.msg), also with a "Which or
    Quit: " prompt as part of the menu/display file. I was still
    getting a yellow "Chat: " prompt below my custom menu though. I

    how about leaving your prompt out of your screens and setting the
    prompt in text.dat to your desired "Which or Quit"? just make
    sure your screen places the cursor where you want the prompt to
    appear?

    Yes, I thought about that but in the end left it alone and am
    using the default prompt.

    and, as DM mentioned, make sure you test in expert mode, too... i
    think you'll find some things to be confusing since expert mode
    skips displaying the menu files you create...

    Yep. Can't really expect that any users would likely use Expert
    mode, but I guess you never know... :-)

    [edit]

    NVM... i see you've taken DM's advice and reverted your changes
    in favor of a different course of action :)

    Yep, I figured it best to not ignore suggestions from DM... ;-)

    Thanks for the followup.



    ... Nothing is so smiple that it can't get screwed up.
    --- MultiMail/Linux v0.52
    þ Synchronet þ Palantir BBS * palantirbbs.ddns.net * Pensacola, FL
  • From Digital Man@VERT to Gamgee on Mon Jan 6 13:37:27 2020
    Re: Re: Customizing menu files
    By: Gamgee to Digital Man on Sun Jan 05 2020 07:54 pm

    It's exec/chat_sec.js - but I'm going to fix that to use the
    text.dat line right now. Still, setting any prompt to an empty
    string is a bad idea. I suggest you don't do that.

    OK thank you, and thanks for the suggestions. I've changed back
    to not embedding the prompt in the menu file, and restored the
    text.dat strings. Really appreciate the prompt and on-point help.

    You're welcome. Did you get the updated chat_sec.js with that fix as well?

    digital man

    This Is Spinal Tap quote #18:
    Sustain, listen to it. Don't hear anything. You would though were it playing. Norco, CA WX: 73.8øF, 14.0% humidity, 6 mph WSW wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Gamgee@VERT/PALANT to Digital Man on Mon Jan 6 18:51:00 2020
    Digital Man wrote to Gamgee <=-

    It's exec/chat_sec.js - but I'm going to fix that to use the
    text.dat line right now. Still, setting any prompt to an empty
    string is a bad idea. I suggest you don't do that.

    OK thank you, and thanks for the suggestions. I've changed back
    to not embedding the prompt in the menu file, and restored the
    text.dat strings. Really appreciate the prompt and on-point help.

    You're welcome. Did you get the updated chat_sec.js with that fix
    as well?

    I didn't get it yet, because I'm OK with the default prompt from
    there for now. I'll do a complete update in the next week or two.



    ... I'll be unstoppable when I get started.
    --- MultiMail/Linux v0.52
    þ Synchronet þ Palantir BBS * palantirbbs.ddns.net * Pensacola, FL