• Re: Acorn BBC Mode 7 (viewdata) conrtol codes

    From vela025@1:103/705 to nelgin on Tue Feb 13 06:28:29 2024
    Hope that helps.

    YES! Thanks so much, I've made quite a bit of progress thanks to your help. In doing so has raised two more questions.
    1. Do you know how to customise the prompt, the bit I've circled here: http://beebs.ddns.net/images/sync/Prompt.jpg (not sure if it's actually called prompt, as it uses characters that Mode 7 does not support. I just want to swap out the divide symbol for something else (I'm at peace with the arrows).
    2. When using strings (some that are buffered with "..." like the strings used for message sender, date etc. are fine, but others will insert a chacter rather than overwrite a charater like the toggles here (http://beebs.ddns.net/images/sync/strings.png), did you find a way around this?
    Thanks again, you've been a great help
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From nelgin@1:103/705 to All on Tue Feb 13 10:28:59 2024
    On Tue, 13 Feb 2024 06:28:29 -0800
    "vela025" (VERT) <VERT!vela025@endofthelinebbs.com> wrote:

    Hope that helps.

    YES! Thanks so much, I've made quite a bit of progress thanks to your
    help. In doing so has raised two more questions.
    1. Do you know how to customise the prompt, the bit I've circled here: http://beebs.ddns.net/images/sync/Prompt.jpg (not sure if it's
    actually called prompt, as it uses characters that Mode 7 does not
    support. I just want to swap out the divide symbol for something else
    (I'm at peace with the arrows). 2. When using strings (some that are
    buffered with "..." like the strings used for message sender, date
    etc. are fine, but others will insert a chacter rather than overwrite
    a charater like the toggles here (http://beebs.ddns.net/images/sync/strings.png), did you find a way
    around this? Thanks again, you've been a great help

    ---
    _ Synchronet _ Vertrauen _ Home of Synchronet _
    [vert/cvs/bbs].synchro.net

    1. The prompts are controlled by the menu files, probably default.src
    or default.js depending on which stage of development you picked up
    your sbbs.

    You can use some logic like checking if the term is ANSI compatible to
    give one prompt and then give something different if not.


    2. You can use something like @CODE|L3@ and it'll pad to 3 characters,
    if I'm understanding your question correctly. You can find more
    information on padding, centering and the like on the wiki if you
    search for "message variables".

    Looks good so far.
    --
    End Of The Line BBS - Plano, TX
    telnet endofthelinebbs.com 23
    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From vela025@1:103/705 to nelgin on Wed Feb 14 13:04:16 2024
    What is the exact message it displays? I don't see anything like
    include unread messages".

    Sorry my mistake line 945 of text.dat
    "Display Unread Messages Only" 766 DisplayUnreadMessagesOnlyQ

    ...no control codes but it still gets preceded by the 1/4 symbol in mode 7

    I don't have the expertise to set it up so that different ports get different terminal settings...so I'm going to have instructions on the answer page to explain for beeb users the terminal settings they need to choose.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From nelgin@1:103/705 to All on Wed Feb 14 16:23:21 2024
    On Wed, 14 Feb 2024 13:04:16 -0800
    "vela025" (VERT) <VERT!vela025@endofthelinebbs.com> wrote:

    What is the exact message it displays? I don't see anything like
    include unread messages".

    Sorry my mistake line 945 of text.dat
    "Display Unread Messages Only" 766 DisplayUnreadMessagesOnlyQ

    ...no control codes but it still gets preceded by the 1/4 symbol in
    mode 7

    I don't have the expertise to set it up so that different ports get
    different terminal settings...so I'm going to have instructions on
    the answer page to explain for beeb users the terminal settings they
    need to choose.

    ---
    _ Synchronet _ Vertrauen _ Home of Synchronet _
    [vert/cvs/bbs].synchro.net

    Looking at the source, that is wrapped around yesno.

    scansubs.cpp: && text[DisplayUnreadMessagesOnlyQ][0] && yesno(text[DisplayUnreadMessagesOnlyQ]))
    scansubs.cpp: && text[DisplayUnreadMessagesOnlyQ][0] && yesno(text[DisplayUnreadMessagesOnlyQ]))

    My guess is that you'll need to change yesnobar.js in /sbbs/exec - of
    course, copy it to mods first before making any changes.

    My guess is the checkmark translates to divide on the BBS.
    --
    End Of The Line BBS - Plano, TX
    telnet endofthelinebbs.com 23
    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)