Re: Advanced Ctrl-A Code for Embed File
By: Codefenix to All on Thu Jun 18 2020 09:51 am
I customized my "last few callers" screen by adding a long last_few_callers_msg string to the logonlist section of my modopts.ini file. It's working nicely.
However, I think I prefer the idea of using the advanced Ctrl-A code to embed a file from the text directory instead (per the wiki page under "Advanced"). Whenever I try it though, it just displays the name of the file, rather than the contents of the file.
I have "lastcall.txt" in my sbbs/text directory. To try to display it, I've tried using the following in last_few_callers_msg:
\1"lastcall.txt
\x01"lastcall.txt
[SOH]"lastcall.txt (the actual Ctrl-A character)
I'm certain I must have the syntax wrong. Does anyone have it working?
That Ctrl-A code doesn't work with all output methods. I just committed a change to exec/logonlist.js which uses an output method that *does* support that Ctrl-A code. Give it a try.
digital man
Synchronet/BBS Terminology Definition #69:
SMTP = Simple Message Transfer Protocol
Norco, CA WX: 80.1øF, 55.0% humidity, 1 mph E wind, 0.00 inches rain/24hrs
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net