Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

MIPS: Meaningless Indicator of Processor Speed


dovenet / Synchronet Programming / Re: src/sbbs3/js_user.c load_cfg.c load_cfg.h logon.cpp prntfile.cpps

SubjectAuthor
* src/sbbs3/js_user.c load_cfg.c load_cfg.h logon.cpp prntfile.cpp sbbs.Rob Swindell (on Windows 11)
`* src/sbbs3/js_user.c load_cfg.c load_cfg.h logon.cpp prntfile.cppsbbs.Ragnarok
 `- src/sbbs3/js_user.c load_cfg.c load_cfg.h logon.cpp prntfile.cppsDigital Man

1
src/sbbs3/js_user.c load_cfg.c load_cfg.h logon.cpp prntfile.cpp sbbs.

<6539CDB2.47863.syncprog@vert.synchro.net>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=1862&group=DOVE-Net.Synchronet_Programming#1862

  copy link   Newsgroups: DOVE-Net.Synchronet_Programming
From: rob.swindell.(on.windows.11)@VERT (Rob Swindell (on Windows 11))
To: Git commit to main/sbbs/master
Subject: src/sbbs3/js_user.c load_cfg.c load_cfg.h logon.cpp prntfile.cpp sbbs.
Message-ID: <6539CDB2.47863.syncprog@vert.synchro.net>
Date: Wed, 25 Oct 2023 19:23:46 -0700
X-Comment-To: Git commit to main/sbbs/master
Path: rocksolidbbs.com!not-for-mail
Organization: Vertrauen
Newsgroups: DOVE-Net.Synchronet_Programming
X-FTN-PID: Synchronet 3.20a-Linux master/69bc98557 Sep 25 2023 GCC 12.2.0
X-FTN-MSGID: 47863.syncprog@1:103/705 299fbea9
X-FTN-CHRS: CP437 2
WhenImported: 20231025192346-0700 c1e0
WhenExported: 20231025211320-0700 c1e0
ExportedFrom: VERT syncprog 47863
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: Rob Swindell (on Win - Thu, 26 Oct 2023 02:23 UTC

https://gitlab.synchro.net/main/sbbs/-/commit/d89f7d49f9dd90c66c98f92b
Modified Files:
src/sbbs3/js_user.c load_cfg.c load_cfg.h logon.cpp prntfile.cpp sbbs.h sbbsdefs.h str.cpp text.h text_defaults.c text_id.c userdat.c useredit.cpp userfields.h
Log Message:
Initial support or multiple (user-selectable) languages in the terminal server

Uses the new ctrl/text.??.ini files (just a few words translated so far).
Adds the new "lang" user property (to user.tab and JS User class).
The language code is the 2-3 char (e.g. ISO 639-1) abbreviation of a language.
A "blank" language property value (the default), just means to use the
ctrl/text.dat contents.
User-selected alternate language file is loaded upon logon and in the
built-in/hard-coded user default settings menu.
More on the user default settings menu:
- AutoLogin via IP option ('I') to make room for new (I) Language option.
- The cold-keys menu option was removed to make room for Language option
(via text.dat change to UserDefaultsHotKey)
- Any options disabled via blank text.dat strings will no longer result in
supported command keys (that could accidentally be struck with hidden
consequences/effect)
- The user_settings.js will need similar treatment

text/menu/<lang>/* is where alternate language menu files should be stored

New UserDefaultsLanguage text.dat string (inserted before new PasswordChar
string).

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

Re: src/sbbs3/js_user.c load_cfg.c load_cfg.h logon.cpp prntfile.cppsbbs.

<653A8D96.29385.dovenetsyncprcv@bbs.docksud.com.ar>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=1872&group=DOVE-Net.Synchronet_Programming#1872

  copy link   Newsgroups: DOVE-Net.Synchronet_Programming_C+ DOVE-Net.Synchronet_Programming
From: ragnarok@VERT/DOCKSUD (Ragnarok)
To: Rob Swindell (on Windows 11)
Subject: Re: src/sbbs3/js_user.c load_cfg.c load_cfg.h logon.cpp prntfile.cppsbbs.
Message-ID: <653A8D96.29385.dovenetsyncprcv@bbs.docksud.com.ar>
Date: Thu, 26 Oct 2023 13:02:30 -0300
X-Comment-To: Rob Swindell (on Windows 11)
Path: rocksolidbbs.com!not-for-mail
Organization: Dock Sud BBS
Newsgroups: DOVE-Net.Synchronet_Programming_C+,DOVE-Net.Synchronet_Programming
In-Reply-To: <6539CDB2.47863.syncprog@vert.synchro.net>
References: <6539CDB2.47863.syncprog@vert.synchro.net>
X-FTN-PID: Synchronet 3.20a-Linux master/5caffa650 Oct 21 2023 GCC 10.2.1
X-FTN-MSGID: 47873.syncprog@1:103/705 29a08a1a
X-FTN-REPLY: 47863.syncprog@1:103/705 299fbea9
X-FTN-CHRS: UTF-8 4
WhenImported: 20231026095137-0700 c1e0
WhenExported: 20231026151322-0700 c1e0
ExportedFrom: VERT syncprog 47873
WhenImported: 20231026130230-0300 ff4c
WhenExported: 20231026135134-0300 ff4c
ExportedFrom: DOCKSUD dovenetsyncprcv 29385
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: es-AR
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
 by: Ragnarok - Thu, 26 Oct 2023 16:02 UTC

El 25/10/23 a las 23:23, Rob Swindell (on Windows 11) escribi�:
> https://gitlab.synchro.net/main/sbbs/-/commit/d89f7d49f9dd90c66c98f92b
> Modified Files:
> src/sbbs3/js_user.c load_cfg.c load_cfg.h logon.cpp prntfile.cpp sbbs.h sbbsdefs.h str.cpp text.h text_defaults.c text_id.c userdat.c useredit.cpp userfields.h
> Log Message:
> Initial support or multiple (user-selectable) languages in the terminal server
>
> Uses the new ctrl/text.??.ini files (just a few words translated so far).
> Adds the new "lang" user property (to user.tab and JS User class).
> The language code is the 2-3 char (e.g. ISO 639-1) abbreviation of a language.

really good! language support for user is a very cool feature.

just a question, why not use locales definition like lang_COUNTRY
instead of ISO 639-1 I use es_AR and is exactly not same to es_ES ...

thanks!
---
� Synchronet � Dock Sud BBS TLD 24 HS - bbs.docksud.com.ar

Re: src/sbbs3/js_user.c load_cfg.c load_cfg.h logon.cpp prntfile.cpps

<653ACAE6.47877.syncprog@vert.synchro.net>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=1876&group=DOVE-Net.Synchronet_Programming#1876

  copy link   Newsgroups: DOVE-Net.Synchronet_Programming
From: digital.man@VERT (Digital Man)
To: Ragnarok
Subject: Re: src/sbbs3/js_user.c load_cfg.c load_cfg.h logon.cpp prntfile.cpps
Message-ID: <653ACAE6.47877.syncprog@vert.synchro.net>
Date: Thu, 26 Oct 2023 13:24:06 -0700
X-Comment-To: Ragnarok
Path: rocksolidbbs.com!not-for-mail
Organization: Vertrauen
Newsgroups: DOVE-Net.Synchronet_Programming
In-Reply-To: <653A8D96.29385.dovenetsyncprcv@bbs.docksud.com.ar>
References: <653A8D96.29385.dovenetsyncprcv@bbs.docksud.com.ar>
X-FTN-PID: Synchronet 3.20a-Win32 master/9d6345d48 Oct 26 2023 MSC 1916
X-FTN-MSGID: 47877.syncprog@1:103/705 29a0bbeb
X-FTN-REPLY: 47873.syncprog@1:103/705 29a08a1a
X-FTN-CHRS: CP437 2
WhenImported: 20231026132406-0700 c1e0
WhenExported: 20231026151322-0700 c1e0
ExportedFrom: VERT syncprog 47877
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: Digital Man - Thu, 26 Oct 2023 20:24 UTC

Re: Re: src/sbbs3/js_user.c load_cfg.c load_cfg.h logon.cpp prntfile.cppsb
By: Ragnarok to Rob Swindell (on Windows 11) on Thu Oct 26 2023 01:02 pm

> El 25/10/23 a las 23:23, Rob Swindell (on Windows 11) escribió:
> > https://gitlab.synchro.net/main/sbbs/-/commit/d89f7d49f9dd90c66c98f92b
> > Modified Files:
> > src/sbbs3/js_user.c load_cfg.c load_cfg.h logon.cpp prntfile.cpp
> > sbbs.h sbbsdefs.h str.cpp text.h text_defaults.c text_id.c userdat.c
> > useredit.cpp userfields.h
> > Log Message:
> > Initial support or multiple (user-selectable) languages in the terminal
> > server
>
> > Uses the new ctrl/text.??.ini files (just a few words translated so far).
> > Adds the new "lang" user property (to user.tab and JS User class).
> > The language code is the 2-3 char (e.g. ISO 639-1) abbreviation of a
> > language.
>
> really good! language support for user is a very cool feature.
>
> just a question, why not use locales definition like lang_COUNTRY
> instead of ISO 639-1 I use es_AR and is exactly not same to es_ES ...

There's no requirement that the lang files or user property values are ISO 639-1 abbreviations (i.e. "spa" is just as valid as "es"). It can be any (up to 3) letters you like. I can extend the lang string maximum length (to 5?) very easily, if that helps you.
--
digital man (rob)

Synchronet "Real Fact" #99:
The Synchronet Wiki (wiki.synchro.net) went online in April of 2010
Norco, CA WX: 69.6°F, 62.0% humidity, 0 mph ENE wind, 0.00 inches rain/24hrs
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net


dovenet / Synchronet Programming / Re: src/sbbs3/js_user.c load_cfg.c load_cfg.h logon.cpp prntfile.cpps

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor