• Doors example

    From Blue White@21:1/997 to All on Tue Dec 12 10:18:29 2023
    Good morning,
    Does anyone have a working example or two of how they are using the
    RUNDOOR command in their doors.toml file to run a door in linux? I am
    looking to add Galactic Dynasty and For Honour, and maybe a few other
    apam doors to the new system. No DOS doors, just native linux programs.

    Thanks!


    --- Talisman v0.49-dev (Linux/armv7l)
    * Origin: possumso.fsxnet.nz * telnet:24/ssh:2122/ftelnet:80 (21:1/997)
  • From apam@21:1/182 to Blue White on Wed Dec 13 07:59:21 2023
    Does anyone have a working example or two of how they are using the
    RUNDOOR command in their doors.toml file to run a door in linux? I am looking to add Galactic Dynasty and For Honour, and maybe a few other
    apam doors to the new system. No DOS doors, just native linux
    programs.

    On linux, rundoor calls a script and passes it the node number, so for
    for honour you might have something like this:

    #!/bin/sh

    cd /home/user/bbs/doors/forhonour
    ./ForHonour /home/user/bbs/temp/$1/door.sys


    Andrew


    --- Talisman v0.50-dev (FreeBSD/amd64)
    * Origin: Smuggler's Cove - scove.talismanbbs.com:2323 (21:1/182)
  • From Blue White@21:1/997 to apam on Tue Dec 12 19:21:13 2023
    On linux, rundoor calls a script and passes it the node number, so for
    for honour you might have something like this:

    #!/bin/sh

    cd /home/user/bbs/doors/forhonour
    ./ForHonour /home/user/bbs/temp/$1/door.sys


    Thanks. I was actually looking for an example of what the rundoor
    command in the doors.toml file should actually look like. I assume it
    just is 'rundoor <script>'?

    Thanks!


    --- Talisman v0.49-dev (Linux/armv7l)
    * Origin: possumso.fsxnet.nz * telnet:24/ssh:2122/ftelnet:80 (21:1/997)
  • From apam@21:1/182 to Blue White on Wed Dec 13 11:10:17 2023
    Thanks. I was actually looking for an example of what the rundoor
    command in the doors.toml file should actually look like. I assume it
    just is 'rundoor <script>'?

    The command is "RUNDOOR"

    the data is the path and filename of the script.

    eg:

    [[menuitem]]
    command = "RUNDOOR"
    hotkey = "1"
    data = "/home/user/bbs/doors/forhonor/script.sh"


    Andrew


    --- Talisman v0.50-dev (FreeBSD/amd64)
    * Origin: Smuggler's Cove - scove.talismanbbs.com:2323 (21:1/182)
  • From Vorlon@21:1/195 to Blue White on Wed Dec 13 12:59:12 2023

    Hello Blue!

    12 Dec 23 19:21, you wrote to apam:

    cd /home/user/bbs/doors/forhonour
    ./ForHonour /home/user/bbs/temp/$1/door.sys


    Thanks. I was actually looking for an example of what the rundoor
    command in the doors.toml file should actually look like. I assume it just is 'rundoor <script>'?

    [[menuitem]]
    command = "RUNDOOR"
    hotkey = "D"
    data = "/home/vk3heg/talisman/doors/galactic-dynasty/gd.sh"


    #!/bin/sh
    cd /home/vk3heg/talisman/doors/galactic-dynasty
    ./GalacticDynasty /home/vk3heg/talisman/temp/$1/door.sys



    Vorlon


    --- GoldED+/LNX 1.1.5-b20231021
    * Origin: Dragon's Lair ---:- dragon.vk3heg.net -:--- Prt: 6800 (21:1/195)
  • From Blue White@21:1/997 to All on Wed Dec 13 08:42:17 2023
    Thanks apam and vorlorn! That is what I was looking for.


    --- Talisman v0.49-dev (Linux/armv7l)
    * Origin: possumso.fsxnet.nz * telnet:24/ssh:2122/ftelnet:80 (21:1/997)