Re: "Read your mail?" text message mistery
By: Ragnarok to DOVE-Net.Synchronet_Discussion on Mon Jun 03 2019 01:09 am
> After logon process i have the "Read your mail?" question (i'ts a
> yes/no prompt) when have waiting mail.
>
> I modify the text.dat on 362 ReadYourMailNowQ with custom text also i
> have modified the yes/no for Si/No including at mods/noyesbar.src and
> mods/yesnobar.src
>
> Leer tu correo ahora" 362 ReadYourMailNowQ
> "@EXEC:yesnobar@" 559 YesNoQuestion
> "Si " 560 Yes
> "No" 561 No
> "@EXEC:noyesbar@" 562 NoYesQuestion
>
> i do a test case in javascript and work this fine. Using the S and N
> characters
>
> a = console.noyes("test 1");
> b = console.yesno("test 2");
>
> ;EXEC ?test.js
>
> [û] test 1? No
> [û] test 2? Si
>
>
> but on logon prompt still have the default message.
Try (in JavaScript), print(bbs.text(ReadYourMailNowQ)) - what does it print?
> i use ddMsgreade but i can find if related
I can't imagine how it'd be related unless it has its own prompt built in. A
simply grep/search through its files could tell you.
> also, try to read the sbbs code at logon.cpp and sems to use the msg
> from text.dat
>
> if(text[ReadYourMailNowQ][0] && mailw) {
> if(yesno(text[ReadYourMailNowQ]))
> readmail(useron.number,MAIL_YOUR);
> }
>
> Where does it come from ?
The logon.cpp text comes from the text.dat. If the string is missing, then
you'll get the default from sbbs.dll (or libsbbs.so on *nix).
> Where else can I search? Maybe just stop working at some upgrade. Maybe
> a regression?
>
> I'm lost. =|
Maybe you have a script displaying the text?
digital man
Synchronet "Real Fact" #54:
The Synchronet source code consists of over 500,000 lines of C and C++.
Norco, CA WX: 56.7øF, 91.0% humidity, 4 mph E wind, 0.00 inches rain/24hrs
--- SBBSecho 3.07-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
|