FidoNet Echomail Archive
synchronet

<<< Previous Index Next >>>

From: Digital Man
To: Ragnarok
Date: 2019-06-03 01:01:22
Subject: "Read your mail?" text message mistery

  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
 > "{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.

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? <shrug>

                                            digital man

Synchronet "Real Fact" #54:
The Synchronet source code consists of over 500,000 lines of C and C++.
Norco, CA WX: 56.7F, 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)
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 >>>