• last heklp with bbslist please

    From Sneaky@21:1/115 to Apam on Mon Jan 4 10:28:20 2021
    Hi apam or All

    This is going to be my last attempt to ask to get bbslist working on talisman

    I am on a rasberry pi 3 or 4 not 4-8 gig raspbian 32 bit and sure it got arm32 in it per a unix system

    my talisman is in home dir so it /home/pi/talisman path

    this is my door settings
    doors.toml[[menuitem]]
    command = "RUNDOOR"data = /home/pi/talisman/doors/bbslist/bbslist.sh"
    hotkey = "1"

    bbslist settings

    bbslist.sh
    #!/bin/bash

    cd /home/pi/taliman/doors/BBSList
    ./BBSList.linux.arm32 -D $1

    and I did the chrown thingee

    and I now you have given me all this but nothing is happeningwhen I login and go to the (d) door menu no 1 and press it and nothing worksthe number cames up but that is all

    a questin here can I just run this on raspbian bit self or do I have to use same thinglike dosemu or that other one.

    if I try to run it from terminal I get this


    bash: ./bbslist.sh: /bin/bash^M: bad interpreter: No such file or directory bbslist.sh: line 3: ./BBSList.linux.arm32: Permission denied

    could be because I run it localy I suppose I don't now

    Thank you for help

    Ians 1st Choice Core Sbbs nz
    --- SBBSecho 3.11-Win32
    * Origin: 1st Choice Core (21:1/115)
  • From apam@21:1/182 to Sneaky on Mon Jan 4 11:24:01 2021
    #!/bin/bash

    cd /home/pi/taliman/doors/BBSList
    ./BBSList.linux.arm32 -D $1

    Try,

    ./BBSList.linux.arm32 -D /home/pi/talisman/temp/$1/door.sys

    for the last line.

    Also, it seems your bash script has dos line endings (why you're getting
    ^M at the end of the interpreter)

    Try running dos2unix on the shell script.

    Andrew



    --- Talisman v0.8-dev (Linux/armv7l)
    * Origin: HappyLand v2.0 - telnet://happyland.zapto.org:11892/ (21:1/182)
  • From Sneaky@21:1/115 to apam on Mon Jan 4 15:09:11 2021
    Re: last heklp with bbslist please
    By: apam to Sneaky on Mon Jan 04 2021 11:24 am

    Hi Apam.

    Try,

    ./BBSList.linux.arm32 -D /home/pi/talisman/temp/$1/door.sys

    for the last line.

    Thank you for trying, but no change.

    Also, it seems your bash script has dos endings (why you're getting
    ^M at the end of the interpreter)

    Try running dos2unix on the shell script.

    okay you have got me here, unsure what you mean or how to do that
    running dos2unix on a shell script.


    Thank you

    Ian S 1st Choice Core Sbbs Nz
    --- SBBSecho 3.11-Win32
    * Origin: 1st Choice Core (21:1/115)
  • From apam@21:1/182 to Sneaky on Mon Jan 4 13:28:17 2021
    dos2unix is a program that converts text files with dos line endings to
    unix line endings.

    You may have to install it, so

    apt install dos2unix

    then

    dos2unix bbslist.sh

    should fix the shell script, you only need to run it once.

    Andrew


    --- Talisman v0.8-dev (Linux/armv7l)
    * Origin: HappyLand v2.0 - telnet://happyland.zapto.org:11892/ (21:1/182)
  • From Sneaky@21:1/115 to apam on Mon Jan 4 18:27:00 2021
    Re: last heklp with bbslist please
    By: apam to Sneaky on Mon Jan 04 2021 01:28 pm

    Hi apam


    dos2unix is a program that converts text files with dos line endings to unix line endings.

    You may have to install it, so

    apt install dos2unix

    Done.

    then

    dos2unix bbslist.sh

    should fix the shell script, you only need to run it once.

    yes I have done that now yes it fixed that problem, tidy it up
    thank you and I had same upperclass letters in bbslist.sh, and fixed
    that couldn,t find dir fixed one more error in bbslist.sh ie

    pi@raspberrypi:~/talisman/doors/bbslist $./bbslist.sh
    ./bbslist.sh: line 3: ./BBSList.linux.arm32: Permission denied

    Thank you

    Ian S
    --- SBBSecho 3.11-Win32
    * Origin: 1st Choice Core (21:1/115)
  • From apam@21:1/182 to Sneaky on Mon Jan 4 16:07:08 2021
    pi@raspberrypi:~/talisman/doors/bbslist $./bbslist.sh
    ./bbslist.sh: line 3: ./BBSList.linux.arm32: Permission denied

    You may need to do

    chmod +x BBSList.linux.arm32

    Andrew


    --- Talisman v0.8-dev (Linux/armv7l)
    * Origin: HappyLand v2.0 - telnet://happyland.zapto.org:11892/ (21:1/182)
  • From Sneaky@21:1/115 to apam on Mon Jan 4 20:33:24 2021
    Re: last heklp with bbslist please
    By: apam to Sneaky on Mon Jan 04 2021 04:07 pm

    Hi Apam


    You may need to do

    chmod +x BBSList.linux.arm32

    All I can say here is thank you very much for your great help and
    I telneted in and the bbslist came up and worked great
    even telneted in you you bbs fine it was great to see.

    are other games much the same way or all diffent as long as
    I read the readme files.

    I like to have a go at megichat but don't see any readme file
    about it, or is it installed an other way.


    Again thank you

    Ian S
    --- SBBSecho 3.11-Win32
    * Origin: 1st Choice Core (21:1/115)
  • From apam@21:1/182 to Sneaky on Mon Jan 4 17:59:23 2021
    I like to have a go at megichat but don't see any readme file
    about it, or is it installed an other way.

    Magichat is much the same, except you have to build it yourself. Which
    could be a bit tricky.

    You would need to make sure you have installed the following packages to
    build:

    apt install build-essential libssl-dev git

    then to get magichat

    git clone https://gitlab.com/apamment/magichat-ssl-door

    cd magichat-ssl-door
    ./build.sh

    that should get it built, then it is a matter of setting it up much the
    same as the bbs list.

    Andrew


    --- Talisman v0.8-dev (Linux/armv7l)
    * Origin: HappyLand v2.0 - telnet://happyland.zapto.org:11892/ (21:1/182)
  • From Sneaky@21:1/115 to apam on Tue Jan 5 08:22:00 2021
    Hi apam


    apt install build-essential libssl-dev git

    then to get magichat

    git clone https://gitlab.com/apamment/magichat-ssl-door

    cd magichat-ssl-door
    ./build.sh

    Thank you for this info per magichat, will give it ago this weekend
    but knowing me, I probably have to get back to you about it but will see
    as there probably same thing I didn't do right, if you doen't mind.


    Ian S 1st Choice Core Sbbs Nz



    === MultiMail/Win v0.52
    --- SBBSecho 3.11-Win32
    * Origin: 1st Choice Core (21:1/115)