• Python Script (External)

    From Martin Kazmaier@1:396/4 to All on Sunday, February 11, 2024 03:32:00
    From: nospam.Martin.Kazmaier@f1101.n340.z1.fidonet.org (Martin Kazmaier)


    I'm launching an external python script, not MPY script.

    When I'm trying to display ansi block characters I get the following.
    " ".

    I am opening the ansi file with cp437 encoding, and everything displays correctly from a bash terminal, but within syncterm I'm getting that?

    Any ideas how to fix this?

    Python 2 or 3? I'm not nearly a Mystic expert, but I could never get Python
    3 to work with it.

    ---
    Shurato, Sysop Shurato's Heavenly Sphere (ssh, telnet, pop3, ftp,nntp)
    (ports 22, 23, 110, 21, 119) (ssh: login bbs password shsbbs)


    *** THE READER V4.50 [freeware]
    --- NewsGate v1.0 gamma 1
    * Origin: News Gate @ Net396 -Huntsville, AL - USA (1:396/4)
  • From Mike@1:396/4 to All on Monday, February 12, 2024 03:13:33
    From: nospam.Mike@f310.n229.z1.fidonet.org (Mike)

    Python 2 or 3? I'm not nearly a Mystic expert, but I could never get Python 3 to work with it.

    Its a python script completely independant of mystic.

    .... BREAKFAST.COM Halted... Cereal port not responding.

    --- NewsGate v1.0 gamma 1
    * Origin: News Gate @ Net396 -Huntsville, AL - USA (1:396/4)
  • From Christian Sacks@1:396/4 to All on Thursday, February 15, 2024 21:52:31
    From: nospam.Christian.Sacks@f5.n250.z2.fidonet.org (Christian Sacks)

    On 09 Feb 2024, Mike said the following...

    When I'm trying to display ansi block characters I get the following.
    " ".

    I am opening the ansi file with cp437 encoding, and everything displays correctly from a bash terminal, but within syncterm I'm getting that?

    Sounds like python is displaying it with utf8 encoding, change the encoding to output cp437 and you'll be golden.

    .... Confucius say: "Its stuffy inside fortune cookie"

    --- NewsGate v1.0 gamma 1
    * Origin: News Gate @ Net396 -Huntsville, AL - USA (1:396/4)
  • From Mike@1:396/4 to All on Friday, February 09, 2024 17:21:02
    From: nospam.Mike@f310.n229.z1.fidonet.org (Mike)

    I'm launching an external python script, not MPY script.

    When I'm trying to display ansi block characters I get the following. "Γûê".

    I am opening the ansi file with cp437 encoding, and everything displays correctly from a bash terminal, but within syncterm I'm getting that?

    Any ideas how to fix this?

    .... They say there's always one weirdo on the bus, but I couldn't find them!

    --- NewsGate v1.0 gamma 2
    * Origin: News Gate @ Net396 -Huntsville, AL - USA (1:396/4)
  • From Martin Kazmaier@1:396/4 to All on Sunday, February 11, 2024 04:32:00
    From: nospam.Martin.Kazmaier@f1101.n340.z1.fidonet.org (Martin Kazmaier)


    I'm launching an external python script, not MPY script.

    When I'm trying to display ansi block characters I get the following. "Γûê".

    I am opening the ansi file with cp437 encoding, and everything displays correctly from a bash terminal, but within syncterm I'm getting that?

    Any ideas how to fix this?

    Python 2 or 3? I'm not nearly a Mystic expert, but I could never get Python
    3 to work with it.

    ---
    Shurato, Sysop Shurato's Heavenly Sphere (ssh, telnet, pop3, ftp,nntp)
    (ports 22, 23, 110, 21, 119) (ssh: login bbs password shsbbs)


    *** THE READER V4.50 [freeware]
    --- NewsGate v1.0 gamma 2
    * Origin: News Gate @ Net396 -Huntsville, AL - USA (1:396/4)
  • From Mike@1:396/4 to All on Monday, February 12, 2024 04:13:33
    From: nospam.Mike@f310.n229.z1.fidonet.org (Mike)

    Python 2 or 3? I'm not nearly a Mystic expert, but I could never get Python 3 to work with it.

    Its a python script completely independant of mystic.

    .... BREAKFAST.COM Halted... Cereal port not responding.

    --- NewsGate v1.0 gamma 2
    * Origin: News Gate @ Net396 -Huntsville, AL - USA (1:396/4)
  • From Christian Sacks@1:396/4 to All on Thursday, February 15, 2024 22:52:31
    From: nospam.Christian.Sacks@f5.n250.z2.fidonet.org (Christian Sacks)

    On 09 Feb 2024, Mike said the following...

    When I'm trying to display ansi block characters I get the following. "Γûê".

    I am opening the ansi file with cp437 encoding, and everything displays correctly from a bash terminal, but within syncterm I'm getting that?

    Sounds like python is displaying it with utf8 encoding, change the encoding to output cp437 and you'll be golden.

    .... Confucius say: "Its stuffy inside fortune cookie"

    --- NewsGate v1.0 gamma 2
    * Origin: News Gate @ Net396 -Huntsville, AL - USA (1:396/4)
  • From Mike@1:396/4 to All on Thursday, February 15, 2024 22:40:02
    From: nospam.Mike@f310.n229.z1.fidonet.org (Mike)

    Sounds like python is displaying it with utf8 encoding, change the encoding to output cp437 and you'll be golden.

    Thanks, I managed to get this working after some googling and suggestions.

    Got some other hurdles to fix, such as escape key multiple times shows the directory contents??

    .... Top secret! Burn before reading!

    --- NewsGate v1.0 gamma 2
    * Origin: News Gate @ Net396 -Huntsville, AL - USA (1:396/4)
  • From Mike@1:396/4 to All on Friday, February 09, 2024 17:21:02
    From: nospam.Mike@f310.n229.z1.fidonet.org (Mike)

    I'm launching an external python script, not MPY script.

    When I'm trying to display ansi block characters I get the following. "Γûê".

    I am opening the ansi file with cp437 encoding, and everything displays correctly from a bash terminal, but within syncterm I'm getting that?

    Any ideas how to fix this?

    .... They say there's always one weirdo on the bus, but I couldn't find them!

    --- NewsGate v1.0 gamma 2
    * Origin: News Gate @ Net396 -Huntsville, AL - USA (1:396/4)
  • From Martin Kazmaier@1:396/4 to All on Sunday, February 11, 2024 04:32:00
    From: nospam.Martin.Kazmaier@f1101.n340.z1.fidonet.org (Martin Kazmaier)


    I'm launching an external python script, not MPY script.

    When I'm trying to display ansi block characters I get the following. "Γûê".

    I am opening the ansi file with cp437 encoding, and everything displays correctly from a bash terminal, but within syncterm I'm getting that?

    Any ideas how to fix this?

    Python 2 or 3? I'm not nearly a Mystic expert, but I could never get Python
    3 to work with it.

    ---
    Shurato, Sysop Shurato's Heavenly Sphere (ssh, telnet, pop3, ftp,nntp)
    (ports 22, 23, 110, 21, 119) (ssh: login bbs password shsbbs)


    *** THE READER V4.50 [freeware]
    --- NewsGate v1.0 gamma 2
    * Origin: News Gate @ Net396 -Huntsville, AL - USA (1:396/4)
  • From Mike@1:396/4 to All on Monday, February 12, 2024 04:13:33
    From: nospam.Mike@f310.n229.z1.fidonet.org (Mike)

    Python 2 or 3? I'm not nearly a Mystic expert, but I could never get Python 3 to work with it.

    Its a python script completely independant of mystic.

    .... BREAKFAST.COM Halted... Cereal port not responding.

    --- NewsGate v1.0 gamma 2
    * Origin: News Gate @ Net396 -Huntsville, AL - USA (1:396/4)
  • From Christian Sacks@1:396/4 to All on Thursday, February 15, 2024 22:52:31
    From: nospam.Christian.Sacks@f5.n250.z2.fidonet.org (Christian Sacks)

    On 09 Feb 2024, Mike said the following...

    When I'm trying to display ansi block characters I get the following. "Γûê".

    I am opening the ansi file with cp437 encoding, and everything displays correctly from a bash terminal, but within syncterm I'm getting that?

    Sounds like python is displaying it with utf8 encoding, change the encoding to output cp437 and you'll be golden.

    .... Confucius say: "Its stuffy inside fortune cookie"

    --- NewsGate v1.0 gamma 2
    * Origin: News Gate @ Net396 -Huntsville, AL - USA (1:396/4)
  • From Mike@1:396/4 to All on Thursday, February 15, 2024 22:40:02
    From: nospam.Mike@f310.n229.z1.fidonet.org (Mike)

    Sounds like python is displaying it with utf8 encoding, change the encoding to output cp437 and you'll be golden.

    Thanks, I managed to get this working after some googling and suggestions.

    Got some other hurdles to fix, such as escape key multiple times shows the directory contents??

    .... Top secret! Burn before reading!

    --- NewsGate v1.0 gamma 2
    * Origin: News Gate @ Net396 -Huntsville, AL - USA (1:396/4)