• Doorparty

    From Tiny@21:1/130 to Apam on Sunday, January 10, 2021 13:28:52

    Hello Apam!

    Trying to get doorparty going on windows. I have it launching fine but getting the user's handle is proving to be crazy. The below batch file if run from cmd.exe works find and will pass the user's alias. However when run from talisman the alias is empty.


    ==== Begin "dptal.cmd" ====
    cd\netfoss\telnet
    for /f %%i in ('sed.exe -n 7p c:\bbs\temp\%1\door32.sys') do SET HANDLE=%%i echo %HANDLE% > c:\netfoss\telnet\test.log
    cd\netfoss\telnet
    c:\netfoss\telnet\td.exe -S127.0.0.1 -P9999 -Y[TY]%HANDLE% -DC:\bbs\temp\%1\DOOR32.SYS
    ==== End "dptal.cmd" ====

    (I installed sed for windows) Any ideas where I'm going wrong? I threw the echo line in there to show it works from command prompt but not talisman.

    Shawn


    ... A liberal is a man who leaves the room when a fight begins.
    --- GoldED+/W32-MINGW 1.1.5-b20160201
    * Origin: Tiny's BBS - tinysbbs.com (21:1/130)
  • From Tiny@21:1/130.22 to Tiny on Monday, January 11, 2021 08:49:28
    for /f %%i in ('sed.exe -n 7p c:\bbs\temp\%1\door32.sys') do SET
    HANDLE=%%i

    Needed to pass the full path to sed. ('"c:\program files\gnuwin32\bin\sed.exe" -n 7p c:\bbs\temp\%1\door32.sys') do SET
    HANDLE=%%i

    Now working correctly.

    Shawn


    --- Talisman v0.9-dev (Windows/x86)
    * Origin: Tiny's BBS[] - tinysbbs.com:4023 (21:1/130.22)