TIP: Click on subject to list as thread! ANSI
echo: synchronet
to: Digital Man
from: deon
date: 2022-02-04 14:39:00
subject: PATH kludge on exported e

  Re: PATH kludge on exported echomail
  By: Digital Man to deon on Thu Feb 03 2022 06:30 pm

Howdy,

 > 2. Any existing PATH nodes that are not in *your* system's zone are removed from existing PATH lines. If you have an AKA address in the same zone as the destination, that AKA address will be added to the last PATH line.
 >
 > This is based on my own analysis of the source code (https://gitlab.synchro.net/main/sbbs/-/blob/master/src/sbbs3/sbbsecho.c) but you can check my understanding if you like (search for "foreign_zone").

Line 3792: if(foreign_zone(addr.zone, paths.addr[u].zone) || paths.addr[u].point)

Is sbbsecho allowing for a 3D/4D/5D item in the PATH kludge?

(I'm wondering how you get a "zone" (or a "point") from the PATH kludge, which I've only ever seen as a 2D address - but then it seems gen_psb() can parse 4D addresses in the PATH?)

The rest of the code looks like it only ever writes a 2D address.

Did I understand that right?


...лоеп

---
 ю Synchronet ю Alterant | an SBBS in Docker on Pi!
                                                                 
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.