Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

/* Halley */ (Halley's comment.)


computers / alt.bbs.synchronet / Enhancements to msg_areas and MsgBase.

SubjectAuthor
* Enhancements to msg_areas and MsgBase.deon
`* Enhancements to msg_areas and MsgBase.Digital Man
 `- Enhancements to msg_areas and MsgBase.deon

1
Enhancements to msg_areas and MsgBase.

<6264E9E3.43844.dove-syncdisc@bbs.leenooks.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=16041&group=alt.bbs.synchronet#16041

  copy link   Newsgroups: alt.bbs.synchronet
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!3.us.feeder.erje.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!news.uzoreto.com!npeer.as286.net!npeer-ng0.as286.net!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx10.iad.POSTED!not-for-mail
From: deo...@ALTERANT.remove-k45-this (deon)
Subject: Enhancements to msg_areas and MsgBase.
Message-ID: <6264E9E3.43844.dove-syncdisc@bbs.leenooks.net>
X-Comment-To: Digital Man
Organization: Alterant
Newsgroups: alt.bbs.synchronet
X-FTN-PID: Synchronet 3.19c-Linux master/c0f42027d Mar 2 2022 GCC 8.3.0
X-FTN-MSGID: 43844.dove-syncdisc@10:1/4 26cacb27
X-FTN-CHRS: CP437 2
WhenImported: 20220424161043+1000 1258
WhenExported: 20220424164249+1000 1258
ExportedFrom: ALTERANT dove-syncdisc 43844
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
X-Gateway: vert.synchro.net [Synchronet 3.19c-Win32 NewsLink 1.113]
Lines: 47
X-Complaints-To: https://www.astraweb.com/aup
NNTP-Posting-Date: Sun, 24 Apr 2022 06:45:01 UTC
Date: Sun, 24 Apr 2022 16:10:43 +1000
X-Received-Bytes: 1960
 by: deon - Sun, 24 Apr 2022 06:10 UTC

To: Digital Man
Hey DM,

I have two requests if possible.

The documentation for MsgBase.cfg indicates that the "index" (to sub_list) should be shown, but it doesnt appear. It shows grp_number, but not index. Is that an ommission? (If so, can it be added).

eg: My PVT_TEST shows just these keys for cfg.

"number",
"grp_number",
"grp_name",
"code",
"name",
"description",
"qwk_name",
"area_tag",
"newsgroup",
"ars",
"read_ars",
"post_ars",
"operator_ars",
"moderated_ars",
"data_dir",
"fidonet_origin",
"qwknet_tagline",
"settings",
"ptridx",
"qwk_conf",
"max_crcs",
"max_msgs",
"max_age",
"print_mode",
"print_mode_neg"

Is it possible to include in msg_areas.sub and msg_areas.grp_list.sub_list the fido address if configured? That might be useful in MsgBase as well.

Thanks.. :)

....δεσ∩

---
■ Synchronet ■ Alterant | an SBBS in Docker on Pi!
--- Synchronet 3.19c-Win32 NewsLink 1.113
* Vertrauen - Riverside County, California - telnet://vert.synchro.net

Enhancements to msg_areas and MsgBase.

<62658470.46834.sync@vert.synchro.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=16042&group=alt.bbs.synchronet#16042

  copy link   Newsgroups: alt.bbs.synchronet
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!npeer.as286.net!npeer-ng0.as286.net!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx37.iad.POSTED!not-for-mail
From: digital....@vert.synchro.net.remove-6un-this (Digital Man)
Subject: Enhancements to msg_areas and MsgBase.
Message-ID: <62658470.46834.sync@vert.synchro.net>
X-Comment-To: deon
Organization: Vertrauen
Newsgroups: alt.bbs.synchronet
In-Reply-To: <6264E9E3.43844.dove-syncdisc@bbs.leenooks.net>
References: <6264E9E3.43844.dove-syncdisc@bbs.leenooks.net>
X-FTN-PID: Synchronet 3.19c-Win32 master/4f8f844f3 Apr 21 2022 MSC 1929
X-FTN-MSGID: 46834.sync@1:103/705 26cb7162
X-FTN-REPLY: 43844.dove-syncdisc@10:1/4 26cacb27
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
X-Gateway: vert.synchro.net [Synchronet 3.19c-Win32 NewsLink 1.113]
Lines: 38
X-Complaints-To: https://www.astraweb.com/aup
NNTP-Posting-Date: Sun, 24 Apr 2022 17:10:08 UTC
Date: Sun, 24 Apr 2022 10:10:08 -0700
X-Received-Bytes: 2371
 by: Digital Man - Sun, 24 Apr 2022 17:10 UTC

To: deon
Re: Enhancements to msg_areas and MsgBase.
By: deon to Digital Man on Sun Apr 24 2022 04:10 pm

> Hey DM,
>
> I have two requests if possible.
>
> The documentation for MsgBase.cfg indicates that the "index" (to sub_list)
> should be shown, but it doesnt appear. It shows grp_number, but not index.

The "index" property of cfg is populated in the msg_area object but not instance of MsgBase, by design.

> Is that an ommission? (If so, can it be added).

It was intentional (there's no array being generated when a MsgBase object is created).

> eg: My PVT_TEST shows just these keys for cfg.
>
> "number",
> "grp_number",
> "grp_name",
> "code",

Yes, and you can use "code" as a index into msg_area.sub[] to get to the "cfg" of interest (that includes the "index" property).

> Is it possible to include in msg_areas.sub and msg_areas.grp_list.sub_list
> the fido address if configured? That might be useful in MsgBase as well.

I'll add a issue/request to gitlab for that enhancement.
--
digital man (rob)

Rush quote #53:
He picks up scraps of conversation, radio and radiation .. Digital Man
Norco, CA WX: 73.6°F, 21.0% humidity, 6 mph SW wind, 0.00 inches rain/24hrs
--- Synchronet 3.19c-Win32 NewsLink 1.113
* Vertrauen - Riverside County, California - telnet://vert.synchro.net

Enhancements to msg_areas and MsgBase.

<62660D92.43856.dove-syncdisc@bbs.leenooks.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=16050&group=alt.bbs.synchronet#16050

  copy link   Newsgroups: alt.bbs.synchronet
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!news-out.netnews.com!news.alt.net!fdc2.netnews.com!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx10.iad.POSTED!not-for-mail
From: deo...@ALTERANT.remove-zd0-this (deon)
Subject: Enhancements to msg_areas and MsgBase.
Message-ID: <62660D92.43856.dove-syncdisc@bbs.leenooks.net>
X-Comment-To: Digital Man
Organization: Alterant
Newsgroups: alt.bbs.synchronet
In-Reply-To: <62658470.46834.sync@vert.synchro.net>
References: <62658470.46834.sync@vert.synchro.net>
X-FTN-PID: Synchronet 3.19c-Linux master/c0f42027d Mar 2 2022 GCC 8.3.0
X-FTN-MSGID: 43856.dove-syncdisc@10:1/4 26cbeee2
X-FTN-REPLY: 46834.sync@1:103/705 26cb7162
X-FTN-CHRS: CP437 2
WhenImported: 20220425125514+1000 1258
WhenExported: 20220425125604+1000 1258
ExportedFrom: ALTERANT dove-syncdisc 43856
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
X-Gateway: vert.synchro.net [Synchronet 3.19c-Win32 NewsLink 1.113]
Lines: 33
X-Complaints-To: https://www.astraweb.com/aup
NNTP-Posting-Date: Mon, 25 Apr 2022 02:56:41 UTC
Date: Mon, 25 Apr 2022 12:55:14 +1000
X-Received-Bytes: 2291
 by: deon - Mon, 25 Apr 2022 02:55 UTC

To: Digital Man
Re: Enhancements to msg_areas and MsgBase.
By: Digital Man to deon on Sun Apr 24 2022 10:10 am

> > The documentation for MsgBase.cfg indicates that the "index" (to sub_list) should be shown, but it doesnt appear. It shows
> > grp_number,
> > but not index.
>
> The "index" property of cfg is populated in the msg_area object but not instance of MsgBase, by design.
>
> > Is that an ommission? (If so, can it be added).
>
> It was intentional (there's no array being generated when a MsgBase object is created).

OK, makes sense.

I got it from here https://synchro.net/docs/jsobjs.html#MsgBase.cfg_object_properties, I guess it needs updating in case it throws somebody else off :)

> Yes, and you can use "code" as a index into msg_area.sub[] to get to the "cfg" of interest (that includes the "index" property).

Ahh, OK that should work too, thanks. I'll have a play.

> I'll add a issue/request to gitlab for that enhancement.

Thank you :)

....δεσ∩

---
■ Synchronet ■ Alterant | an SBBS in Docker on Pi!
--- Synchronet 3.19c-Win32 NewsLink 1.113
* Vertrauen - Riverside County, California - telnet://vert.synchro.net

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor