• Pass username to native program

    From HSM@21:2/162 to All on Sun Jul 19 02:29:54 2020
    Subject says it.

    I quit beating my head against the wall trying to make TelnetDoor work. Ubuntu's native rlogin/ssh didn't work either so I installed syncterm and can call it from a native command line.

    The only paramater I need to pass is the username... is it as simple as ${USERNAME}?

    Thanks!

    -=- Gary aka HSM -=-
    -=TheFreeSpeak.com=-

    --- Mystic BBS v1.12 A46 2020/06/11 (Windows/64)
    * Origin: -=- TheFreeSpeak.com -=- Pittsburgh, PA -=- (21:2/162)
  • From apam@21:4/110 to HSM on Mon Jul 20 10:18:24 2020
    You will need to pull the username out of the dropfile


    HANDLE=$(sed '36q;d' ${DROPFILE} | tr -d '\r\n')

    will work on where ${DROPFILE} is the path and filename of door.sys, then $HANDLE will be the user's username

    Andrew

    --- Mystic BBS v1.12 A45 2020/02/18 (Linux/64)
    * Origin: BZ&BZ BBS (21:4/110)
  • From Gary Ailes@21:2/162.1 to apam on Mon Jul 20 17:05:23 2020
    You will need to pull the username out of the dropfile


    HANDLE=$(sed '36q;d' ${DROPFILE} | tr -d '\r\n')

    will work on where ${DROPFILE} is the path and filename of
    door.sys, then $HANDLE will be the user's username

    Andrew

    FXS was down for me yesterday so I messed with this for awhile and got it figured out. I put the dropfile in directly with the node variable, but
    same thing. Thanks!

    So finally I can connect to my rlogin game server seamlessly ! Now to
    make it look a little more custom.


    --- MagickaBBS v0.15alpha (Linux/x86_64)
    * Origin: BBS GameTime (21:2/162.1)