• Doors example

    From Blue White@21:1/997 to All on Tuesday, December 12, 2023 10:18:29
    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 Wednesday, December 13, 2023 07:59:21
    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 Tuesday, December 12, 2023 19:21:13
    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 Wednesday, December 13, 2023 11:10:17
    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 Wednesday, December 13, 2023 12:59:12

    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 Wednesday, December 13, 2023 08:42:17
    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)