TIP: Click on subject to list as thread! ANSI
echo: synchronet
to: Odusseus71
from: echicken
date: 2024-08-06 13:00:00
subject: Setting up G-key Text Fil

  Re: Setting up G-key Text File Section and the easiest way to set up a sim
  By: Odusseus71 to all on Tue Aug 06 2024 08:56:48

 Od> I've searched the Wiki but did not get how to populate the Text File
 Od> Section and related subdirectiories (as configured by SCFG).

This is a very poorly documented feature, and if you get it working I encourage you to add something to the wiki.

 Od> I was assuming it was simply putting text files into sbbs/Data/Text
 Od> subdirs and then using postfile.js to add them to database, but this did
 Od> not work because postfile only shows configured "File Areas" and not "Text
 Od> File Sections".

It looks like if you drop your text files into the section's subdirectory of data/text, then it will just show up the next time text_sec.js is run. If you as a sysop run text_sec.js, you'll have the option of filling out descriptions for the text files in each section.

I'm not 100% sure of the filename and format, but I think you can prepopulate those descriptions by just filling out:

data/text/section/section.ini

with sections like:

[filename]
desc = This is a file description

Which is probably only really useful if you are importing from somewhere and can write a utility to build out this file.

Alternately you can use ANSIView from xtrn/ansiview. I'm not saying it's better or even good, but it exists.

echicken    
electronic chicken bbs - bbs.electronicchicken.com
---
 þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
                                                                                                            
* 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™.