• Yes/No Bar question

    From Mauro Veiga@1:103/705 to DIGITAL MAN on Sat Mar 6 17:12:00 2021
    Hello, Rob.

    When a user alternate many times right/left arrow on Yes/No Bar
    prompt (customized by me to Sim/Nao Bar) this character is shown
    repeatedly ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
    ³
    ÚÄÄÄÄÄÁÄÄÄÄÄ¿
    [?] Ler seu correio agora? [ [ [ [ [ [ Sim [Nao]?


    How i do fix it, if can be?

    My noyesbar and yesnobar source files uses Ctrl-A color codes.
    Exemple from noyesbar:

    if_equal
    print "[Nao] Sim "
    else
    print " Nao [Sim]"
    end_if



    ... * <- Tribble # <- Electrocuted tribble.
    ___ Blue Wave/DOS v2.30

    ---
    þ Synchronet þ Ninho do Abutre 2 BBS - Rio de Janeiro, Brazil
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Mauro Veiga on Sat Mar 6 13:15:03 2021
    Re: Yes/No Bar question
    By: Mauro Veiga to DIGITAL MAN on Sat Mar 06 2021 05:12 pm

    Hello, Rob.

    When a user alternate many times right/left arrow on Yes/No Bar
    prompt (customized by me to Sim/Nao Bar) this character is shown
    repeatedly ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
    ³
    ÚÄÄÄÄÄÁÄÄÄÄÄ¿
    [?] Ler seu correio agora? [ [ [ [ [ [ Sim [Nao]?


    How i do fix it, if can be?

    My noyesbar and yesnobar source files uses Ctrl-A color codes.
    Exemple from noyesbar:

    if_equal
    print "[Nao] Sim "

    Your locale has more total letters than ("[No] Yes"), so add one more '\b' to this line to account for that:
    print "\b\b\b\b\b\b\b\b\b\1n\1h\1>"

    I think that'll solve that.
    --
    digital man

    This Is Spinal Tap quote #16:
    David St. Hubbins: I believe virtually everything I read...
    Norco, CA WX: 68.9øF, 40.0% humidity, 5 mph ENE wind, 0.00 inches rain/24hrs --- SBBSecho 3.13-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Mauro Veiga@1:103/705 to DIGITAL MAN on Sun Mar 7 11:28:00 2021
    Quoting Digital Man to Mauro Veiga <=-

    Your locale has more total letters than ("[No] Yes"), so add one more
    '\b' to this line to account for that: print
    "\b\b\b\b\b\b\b\b\b\1n\1h\1>"
    I think that'll solve that.

    Yes, worked well. :-)

    Thanks, Rob.



    ... Avoid computer viruses - practice safe hex.
    ___ Blue Wave/DOS v2.30

    ---
    þ Synchronet þ Ninho do Abutre 2 BBS - Rio de Janeiro, Brazil
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)