• Advanced Ctrl-A Code for Embed File

    From Codefenix@1:103/705 to All on Thu Jun 18 09:51:58 2020
    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?

    ---
    þ Synchronet þ conchaos.synchro.net - finding a cure for mundanity...
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Codefenix on Sun Jun 21 14:16:29 2020
    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
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)