FidoNet Echomail Archive
synchronet

<<< Previous Index Next >>>

From: Ragnarok
To: DOVE-Net.Synchronet_Discussion
Date: 2019-06-03 01:09:12
Subject: "Read your mail?" text message mistery

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
"{at}EXEC:yesnobar{at}"      559 YesNoQuestion
"Si "                  560 Yes
"No"                   561 No
"{at}EXEC:noyesbar{at}"      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. i use ddMsgreader
but i can find if related

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 ?
Where else can I search? Maybe just stop working at some upgrade. Maybe
a regression?

I'm lost. =|

Saludos!

---
  Synchronet  Dock Sud BBS TLD 24 HS - http://bbs.docksud.com.ar -
telnet://bbs.docksud.com.ar
 * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
SEEN-BY: 103/705 154/10 203/0 218/700 221/0 1 6 360 229/426 240/5832 280/464
SEEN-BY: 280/5003 320/219 396/45 423/120 633/0 267 280 281 384 410 412 509
SEEN-BY: 640/1321 1384 712/848 770/1 2452/250 3634/12
@PATH: 103/705 280/464 221/1 640/1384 633/280 267


<<< Previous Index Next >>>