• Usurper Linux 0.24

    From Pequito@21:1/126 to All on Tuesday, December 20, 2016 20:45:00
    OK, I know DOS and 32bit versions are OK but the nix version least with
    Mystic. Seems to be a common issue but no resolution so far with the ansi echoing out 2x version normal, @ the commandline it looks/works fine.

    Been starting to think this is a mystic issue and not a Usurper game issue.
    I am posting here to see if anyone has any suggestions if they have this working under Linux with the Linux version.

    I know this topic has been semi ignored by most as most are probably running win32 or the MS-DOS version under win32. But if there is anyone out there
    with some ideas to clear this up please do let the rest of us know!

    Cheers!
    Pequito

    +- $s.s$s.s$ ----------------------------------------+
    | $ý"$$$"ý$ twinklebbs.homeip.net |
    | .$$$. winkle BBS twinklebbs.homeip.net:8080 |
    +-- .$$$$$. -----------------------------------------+
    $ý"~"ý$ Christopher Malo aka Pequito!

    --- Mystic BBS v1.12 A31 (Linux)
    * Origin: Twinkle BBS (21:1/126)
  • From bcw142@21:1/145 to Pequito on Wednesday, December 21, 2016 06:45:00
    On 12/20/16, Pequito said the following...
    Been starting to think this is a mystic issue and not a Usurper game issue. I am posting here to see if anyone has any suggestions if they
    have this working under Linux with the Linux version.

    So it's the duplex issue of doubling all characters right? To have any idea we'd need to know the environment it's being run in and what Mystic command
    are you using to start it. It's the environment setup that is the issue, same as Linux games under Mystic. Most require curses environment setup, but it would need to be started under Mystic to work (curses that is).
    As a wild guess add the line:
    stty -echo
    that turns off the normal echo in Linux shells.
    stty echo
    turns it back on and 'stty sane' tries to fix a 'crazy' terminal setup.

    --- Mystic BBS v1.12 A31 (Raspberry Pi)
    * Origin: Mystic Pi BBS bcw142.zapto.org (21:1/145)
  • From Avon@21:1/101 to Pequito on Thursday, December 22, 2016 11:09:00
    On 12/20/16, Pequito pondered and said...

    I know this topic has been semi ignored by most as most are probably running win32 or the MS-DOS version under win32. But if there is anyone out there with some ideas to clear this up please do let the rest of us know!

    I don't know the answer to this one sorry :(

    Best, Paul

    --- Mystic BBS v1.12 A31 (Windows)
    * Origin: Agency BBS | telnet://agency.bbs.geek.nz (21:1/101)
  • From Pequito@21:1/126 to bcw142 on Wednesday, December 21, 2016 15:55:00
    On 12/21/16, bcw142 said the following...

    On 12/20/16, Pequito said the following...
    Been starting to think this is a mystic issue and not a Usurper game issue. I am posting here to see if anyone has any suggestions if they have this working under Linux with the Linux version.

    So it's the duplex issue of doubling all characters right? To have any idea we'd need to know the environment it's being run in and what Mystic command are you using to start it. It's the environment setup that is
    the issue, same as Linux games under Mystic. Most require curses environment setup, but it would need to be started under Mystic to work (curses that is). As a wild guess add the line:
    stty -echo
    that turns off the normal echo in Linux shells.
    stty echo
    turns it back on and 'stty sane' tries to fix a 'crazy' terminal setup.

    I am running debian and here is the script:

    #!/bin/ksh

    NODE=${1}

    cd /mystic/game/usrl
    cp /mystic/temp${NODE}/door32.sys /mystic/game/usrl/DOOR32.SYS

    #./USURPER /N${NODE} 2>&1 >/dev/null
    ./USURPER /N${NODE}

    rm DOOR32.SYS

    in mystic its run as a D3 for door32.sys.
    Command in mystic: /mystic/game/usrl/usurper.ksh %3

    I tried adding the stty -echo before calling of the game and stty echo after and did nothing for it. The command above thats nulled out seems to work but the input is slightly messed up so avoid using it.

    +- $s.s$s.s$ ----------------------------------------+
    | $ý"$$$"ý$ twinklebbs.homeip.net |
    | .$$$. winkle BBS twinklebbs.homeip.net:8080 |
    +-- .$$$$$. -----------------------------------------+
    $ý"~"ý$ Christopher Malo aka Pequito!

    --- Mystic BBS v1.12 A31 (Linux)
    * Origin: Twinkle BBS (21:1/126)
  • From bcw142@21:1/145 to Pequito on Wednesday, December 21, 2016 19:12:00
    On 12/21/16, Pequito said the following...
    I am running debian and here is the script:

    #!/bin/ksh

    NODE=${1}

    cd /mystic/game/usrl
    cp /mystic/temp${NODE}/door32.sys /mystic/game/usrl/DOOR32.SYS

    #./USURPER /N${NODE} 2>&1 >/dev/null
    ./USURPER /N${NODE}

    rm DOOR32.SYS

    in mystic its run as a D3 for door32.sys.
    Command in mystic: /mystic/game/usrl/usurper.ksh %3

    I tried adding the stty -echo before calling of the game and stty echo after and did nothing for it. The command above thats nulled out seems
    to work but the input is slightly messed up so avoid using it.

    Interesting, it's been about 20 years since I last used ksh, been using bash.
    I used to use ksh or tcsh for about 10 years before that, and csh for a few years before that. Since stty just 'messed things up' I'm guessing that has
    no real part in the problem. I doubt it's the shell, none of them is that different when it comes to such things. My guess is something in the win32
    part of it. Right now I'm typing under bash on Ubuntu 14.04 LTS on an x86
    64Bit AMD based system, so much like what your running. I've run a number of things under wine and dosbox, this problem appears to be with what's doing
    the win32 part of things. It's odd that it's any different under Linux than windows in this case, though all windows from 3.1 up have used win32
    including Windows10 (which this system dual boots with). I know how dos works but have never dug in to win32 in that detail as yet - first time for everything huh? I suspect it uses the same interrupts as DOS with different higher level interrupts for services. I'll look at the door32.sys and see if
    I can figure that driver out as it's possible it's in there. Hmm, nope, it's not a driver, at least on my system, just a setup list:
    00000000 32 0A 37 0A 33 38 34 30 30 0A 4D 79 73 74 69 63 2.7.38400.Mystic 00000010 20 31 2E 31 32 20 41 32 37 0A 32 33 38 0A 42 72 1.12
    A27.238.Br
    00000020 69 61 6E 20 57 61 6C 6C 61 63 65 0A 62 63 77 31 ian
    Wallace.bcw1
    00000030 34 32 0A 31 30 0A 31 34 34 30 0A 31 0A 32 0A 42.10.1440.1.2. Gets broken up by echomail, but you can see there's no code there. Just baud rate (38400) versions and such, 1440 guessing that's a floppy size, not sure about that 1 or 2 at the end. DOOR.SYS is much the same with more data. DORINFO1.DEF is more like that door32.sys. DORINFO1.DEF at least shows COM1
    as 38400 BAUD,N,8,1,0 so no duplex mode there. I guess systems like ours use the interrupts directly as does windows which is why ARM doesn't really do
    it. It's relying on the DOS/Windows interrupts of the x86 base. So why a difference? It should be using the same exact code for Linux & Windows.

    --- Mystic BBS v1.12 A31 (Raspberry Pi)
    * Origin: Mystic Pi BBS bcw142.zapto.org (21:1/145)
  • From Pequito@21:1/126 to bcw142 on Thursday, December 22, 2016 04:04:00
    On 12/21/16, bcw142 said the following...

    On 12/21/16, Pequito said the following...
    I am running debian and here is the script:

    #!/bin/ksh

    NODE=${1}

    cd /mystic/game/usrl
    cp /mystic/temp${NODE}/door32.sys /mystic/game/usrl/DOOR32.SYS

    #./USURPER /N${NODE} 2>&1 >/dev/null
    ./USURPER /N${NODE}

    rm DOOR32.SYS

    in mystic its run as a D3 for door32.sys.
    Command in mystic: /mystic/game/usrl/usurper.ksh %3

    I tried adding the stty -echo before calling of the game and stty ech after and did nothing for it. The command above thats nulled out see to work but the input is slightly messed up so avoid using it.

    Interesting, it's been about 20 years since I last used ksh, been using bash. I used to use ksh or tcsh for about 10 years before that, and csh for a few years before that. Since stty just 'messed things up' I'm guessing that has no real part in the problem. I doubt it's the shell, none of them is that different when it comes to such things. My guess is something in the win32 part of it. Right now I'm typing under bash on Ubuntu 14.04 LTS on an x86 64Bit AMD based system, so much like what
    your running. I've run a number of things under wine and dosbox, this problem appears to be with what's doing the win32 part of things. It's
    odd that it's any different under Linux than windows in this case,
    though all windows from 3.1 up have used win32 including Windows10
    (which this system dual boots with). I know how dos works but have never dug in to win32 in that detail as yet - first time for everything huh? I suspect it uses the same interrupts as DOS with different higher level interrupts for services. I'll look at the door32.sys and see if I can figure that driver out as it's possible it's in there. Hmm, nope, it's
    not a driver, at least on my system, just a setup list: 00000000 32 0A 37 0A 33 38 34 30 30 0A 4D 79 73 74 69 63 2.7.38400.Mystic 00000010 20 31 2E 31 32 20 41 32 37 0A 32 33 38 0A 42 72 1.12 A27.238.Br 00000020 69 61 6E 20 57 61 6C 6C 61 63 65 0A 62 63 77 31 ian Wallace.bcw1
    00000030 34 32 0A 31 30 0A 31 34 34 30 0A 31 0A 32 0A 42.10.1440.1.2. Gets broken up by echomail, but you can see there's no code there. Just baud rate (38400) versions and such, 1440 guessing
    that's a floppy size, not sure about that 1 or 2 at the end. DOOR.SYS is much the same with more data. DORINFO1.DEF is more like that door32.sys. DORINFO1.DEF at least shows COM1 as 38400 BAUD,N,8,1,0 so no duplex mode there. I guess systems like ours use the interrupts directly as does windows which is why ARM doesn't really do it. It's relying on the DOS/Windows interrupts of the x86 base. So why a difference? It should
    be using the same exact code for Linux & Windows.

    The kicker is if I run the same script from commandline passing the 1 or whichever node I am logged into shows on the screen properly and can play the game with no issue. Only within Mystic does this have an issue not outside
    if I decide to say do an SSH into the box and then load up the game.

    Cheers!
    Pequito

    +- $s.s$s.s$ ----------------------------------------+
    | $ý"$$$"ý$ twinklebbs.homeip.net |
    | .$$$. winkle BBS twinklebbs.homeip.net:8080 |
    +-- .$$$$$. -----------------------------------------+
    $ý"~"ý$ Christopher Malo aka Pequito!

    --- Mystic BBS v1.12 A31 (Linux)
    * Origin: Twinkle BBS (21:1/126)