• Mystic IRC client

    From Gryphon@21:1/120 to All on Fri Feb 23 09:58:16 2018
    Hello all,

    I just wanted to give a shout out about the Mystic IRC client that I've been developing. I'm getting very close to making its first official release and
    I want to get the last bit of feedback that I can before doing so.

    Mystic IRC client is an Mystic Python MPY app that will allow you and your users to connect cleanly to any IRC network. I've been testing it out on Pequito's irc network and also on Synchronets's network. The output looks
    good and it makes it easy to join into the chats.

    One thing I'm especially proud of is the implementation of windowed conversations. Just like irssi or hexchat or mIRC, this client can maintain multiple separate conversation windows.

    If you'd like to try it out and give me feedback, I'd appreciate it. It can
    be downloaded from http://cyberia.darktech.org/free/mpl/irc.mpy

    --- Mystic BBS v1.12 A38 2018/01/01 (Linux/64)
    * Origin: Cyberia BBS | cyberia.darktech.org | San Jose, CA (21:1/120)
  • From Richard@21:4/111 to Gryphon on Fri Feb 23 16:28:35 2018
    On 02/23/18, Gryphon said the following...

    Hello all,

    I just wanted to give a shout out about the Mystic IRC client that I've been developing. I'm getting very close to making its first official release and I want to get the last bit of feedback that I can before
    doing so.

    Mystic IRC client is an Mystic Python MPY app that will allow you and
    your users to connect cleanly to any IRC network. I've been testing it out on Pequito's irc network and also on Synchronets's network. The output looks good and it makes it easy to join into the chats.

    One thing I'm especially proud of is the implementation of windowed conversations. Just like irssi or hexchat or mIRC, this client can maintain multiple separate conversation windows.

    If you'd like to try it out and give me feedback, I'd appreciate it. It can be downloaded from http://cyberia.darktech.org/free/mpl/irc.mpy


    I shall give it a try for you

    Richard Szajkowski AKA The Wizzard

    U.S.S. Alliance BBS (Brampton) (Born 1984 Reborn 2017)

    --- Mystic BBS v1.12 A38 2018/01/01 (Windows/32)
    * Origin: U.S.S. Alliance (BBS Brampton) (21:4/111)
  • From Avon@21:1/101 to Gryphon on Sat Feb 24 11:30:19 2018
    On 02/23/18, Gryphon pondered and said...

    If you'd like to try it out and give me feedback, I'd appreciate it. It

    Will do this tonight :)

    Best, Paul


    `I'm not expendable, I'm not stupid, and I'm not going' - Kerr Avon, Blake's 7

    --- Mystic BBS v1.12 A39 2018/02/06 (Windows/32)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From Richard@21:4/111 to Gryphon on Fri Feb 23 16:52:49 2018
    I must be haveing a real bad day here ...

    I grabbed the file , put it in the scripts dir and did the GX command data of IRC

    with no joy . log says python execute : IRC.mpy

    but nothing happends , is there a .ini file also ?

    Thanks

    Richard Szajkowski AKA The Wizzard

    U.S.S. Alliance BBS (Brampton) (Born 1984 Reborn 2017)

    --- Mystic BBS v1.12 A38 2018/01/01 (Windows/32)
    * Origin: U.S.S. Alliance (BBS Brampton) (21:4/111)
  • From Beery@21:4/109 to Gryphon on Fri Feb 23 19:29:45 2018
    I just tried it running Windows 10, 64-bit.

    It does not like my keyboard response. The first character I type at a line does not appear until I type the next letter. It is always behind by one character.

    --Beery Miller -- 9640 News BBS -- 9640news.ddns.net:9640 --

    --- Mystic BBS v1.12 A38 2018/01/01 (Windows/64)
    * Origin: 9640 News BBS (21:4/109)
  • From Richard@21:4/111 to Beery on Fri Feb 23 20:00:42 2018
    how did you get yours to work , mine does nothing at all

    Richard Szajkowski AKA The Wizzard

    U.S.S. Alliance BBS (Brampton) (Born 1984 Reborn 2017)

    --- Mystic BBS v1.12 A38 2018/01/01 (Windows/32)
    * Origin: U.S.S. Alliance (BBS Brampton) (21:4/111)
  • From CyntaxX@21:4/113 to Richard on Fri Feb 23 20:24:25 2018
    On 02/23/18, Richard said the following...

    I must be haveing a real bad day here ...

    I grabbed the file , put it in the scripts dir and did the GX command
    data of IRC

    with no joy . log says python execute : IRC.mpy

    but nothing happends , is there a .ini file also ?

    Run it with GY command and for data put irc irc.twinklebbs.net or whichever
    irc server you want to use. Default port of 6667 is auto entered. If the
    server has a non standard port then that must be added as well.

    --- Mystic BBS v1.12 A38 2018/01/01 (Raspberry Pi/32)
    * Origin: Digital Wurmhole | digitalwurmhole.ddns.net:2323 (21:4/113)
  • From Beery@21:4/109 to Richard on Fri Feb 23 21:56:01 2018
    Followed the instructions at the top of the script.

    I just had to make sure in my case I installed the 64 bit version of Python.

    Beery

    --Beery Miller -- 9640 News BBS -- 9640news.ddns.net:9640 --

    --- Mystic BBS v1.12 A38 2018/01/01 (Windows/64)
    * Origin: 9640 News BBS (21:4/109)
  • From Ktulu@21:2/122 to Richard on Fri Feb 23 19:05:21 2018
    I grabbed the file , put it in the scripts dir and did the GX command
    data of IRC

    You should be using GY not GX. GX is for mpl files.

    |08---
    |07-|12Ktulu
    |15SysOp @ |12Insane Asylum |07BBS
    |07telnet://bbs.asylumbbs.net port 28

    --- Mystic BBS v1.12 A38 2018/01/01 (Windows/64)
    * Origin: Insane Asylum (21:2/122)
  • From Vk3jed@21:1/109 to Gryphon on Sat Feb 24 20:45:00 2018
    Gryphon wrote to All <=-

    If you'd like to try it out and give me feedback, I'd appreciate it.
    It can be downloaded from http://cyberia.darktech.org/free/mpl/irc.mpy

    Will update mine, when I get home. Then both of my BBSs can join the IRC party. :)


    ... IBM = Institute of Black Magic
    === MultiMail/Win32 v0.49
    --- SBBSecho 3.03-Linux
    * Origin: Freeway BBS Bendigo,Australia freeway.apana.org.au (21:1/109)
  • From xqtr@21:1/111 to Gryphon on Sat Feb 24 04:14:13 2018
    I just wanted to give a shout out about the Mystic IRC client that I've been developing. I'm getting very close to making its first official release and I want to get the last bit of feedback that I can before
    doing so.
    One thing I'm especially proud of is the implementation of windowed conversations. Just like irssi or hexchat or mIRC, this client can maintain multiple separate conversation windows.
    If you'd like to try it out and give me feedback, I'd appreciate it. It can be downloaded from http://cyberia.darktech.org/free/mpl/irc.mpy

    Tried it here and everything went just fine. Great job! Waiting for the final release :)

    .----- --- -- -
    | Another Droid BBS
    : Telnet : andr01d.zapto.org:9999 [UTC 11:00 - 20:00]
    . Contact : xqtr.xqtr@gmail.com

    --- Mystic BBS v1.12 A38 2018/01/01 (Raspberry Pi/32)
    * Origin: Another Droid BBS (21:1/111)
  • From Richard@21:4/111 to Beery on Sat Feb 24 08:56:11 2018
    On 02/23/18, Beery said the following...

    Followed the instructions at the top of the script.

    I just had to make sure in my case I installed the 64 bit version of Python.

    Beery


    I would have never thought of reading the script , but good point

    just trying to add to the bbs

    Thank you

    Richard Szajkowski AKA The Wizzard

    U.S.S. Alliance BBS (Brampton) (Born 1984 Reborn 2017)

    --- Mystic BBS v1.12 A38 2018/01/01 (Windows/32)
    * Origin: U.S.S. Alliance (BBS Brampton) (21:4/111)
  • From Skuz@21:1/105 to Gryphon on Sat Feb 24 18:48:12 2018
    On 02/23/18, Gryphon said the following...

    If you'd like to try it out and give me feedback, I'd appreciate it. It can be downloaded from http://cyberia.darktech.org/free/mpl/irc.mpy

    I installed it over here and it worked on the first try. Will probably plan on fazing out running the mRC server over the next few months when client's no longer feel the need to connect to it. The irc.mpy is much better with more options and people actually chatting. You did a great job coding this awesome script.. I'm very impressed with everything to did with it.

    --- Mystic BBS v1.12 A38 2018/01/01 (Linux/64)
    * Origin: flupH | fluph.darktech.org (21:1/105)
  • From Vk3jed@21:1/109 to Skuz on Sun Feb 25 15:03:00 2018
    Skuz wrote to Gryphon <=-

    On 02/23/18, Gryphon said the following...

    If you'd like to try it out and give me feedback, I'd appreciate it. It can be downloaded from http://cyberia.darktech.org/free/mpl/irc.mpy

    I installed it over here and it worked on the first try. Will probably plan on fazing out running the mRC server over the next few months when client's no longer feel the need to connect to it. The irc.mpy is much better with more options and people actually chatting. You did a great
    job coding this awesome script.. I'm very impressed with everything to
    did with it.


    Just replaced the old one with the current version. WIll log in later and test. :)


    ... Yesterday it worked. Today it is not working. Windows is like that.
    === MultiMail/Win32 v0.49
    --- SBBSecho 3.03-Linux
    * Origin: Freeway BBS Bendigo,Australia freeway.apana.org.au (21:1/109)
  • From Avon@21:1/101 to Gryphon on Mon Feb 26 19:33:25 2018
    On 02/23/18, Gryphon pondered and said...

    If you'd like to try it out and give me feedback, I'd appreciate it. It can be downloaded from http://cyberia.darktech.org/free/mpl/irc.mpy

    I grabbed a copy and tested it via a netrunner session on Agency last night.
    It was a nice experience. I noted it seemed like I had to press enter twice
    to get the text I typed to send and display on the IRC screen but it may have been something at my end. But it worked and for someone who has not used IRC
    in some time it had a lot of help info which I thought was good.

    I tried some command to register my handle but am unsure if I typed it correctly as I don't think it sent me a reply.

    Pat on the back for all your hard work Gryphon :)

    Best, Paul


    `I'm not expendable, I'm not stupid, and I'm not going' - Kerr Avon, Blake's 7

    --- Mystic BBS v1.12 A39 2018/02/06 (Windows/32)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From Gryphon@21:1/120 to Richard on Tue Feb 27 09:14:03 2018
    On 02/23/18, Richard said the following...

    I must be haveing a real bad day here ...

    I grabbed the file , put it in the scripts dir and did the GX command
    data of IRC

    with no joy . log says python execute : IRC.mpy

    but nothing happends , is there a .ini file also ?

    You have to tell it what server to connect to. There are instructions at the top of the file.

    --- Mystic BBS v1.12 A38 2018/01/01 (Linux/64)
    * Origin: Cyberia BBS | cyberia.darktech.org | San Jose, CA (21:1/120)
  • From Gryphon@21:1/120 to Beery on Tue Feb 27 09:16:08 2018
    On 02/23/18, Beery said the following...

    I just tried it running Windows 10, 64-bit.

    It does not like my keyboard response. The first character I type at a line does not appear until I type the next letter. It is always behind
    by one character.

    That appears to be an affectation of the windows version of Mystic. I've
    seen it happen on other BBSes and they all seem to be with windows. This
    makes it a problem with the MPY getstr() function. I'll bring it up with g00r00 and see what happens.

    --- Mystic BBS v1.12 A38 2018/01/01 (Linux/64)
    * Origin: Cyberia BBS | cyberia.darktech.org | San Jose, CA (21:1/120)
  • From Gryphon@21:1/120 to Beery on Tue Feb 27 09:16:54 2018
    On 02/23/18, Beery said the following...

    Followed the instructions at the top of the script.

    I just had to make sure in my case I installed the 64 bit version of Python.

    Do ANY MPY apps work for you?

    --- Mystic BBS v1.12 A38 2018/01/01 (Linux/64)
    * Origin: Cyberia BBS | cyberia.darktech.org | San Jose, CA (21:1/120)
  • From Gryphon@21:1/120 to xqtr on Tue Feb 27 09:27:06 2018
    On 02/24/18, xqtr said the following...

    I just wanted to give a shout out about the Mystic IRC client that I' been developing. I'm getting very close to making its first official release and I want to get the last bit of feedback that I can before doing so.
    One thing I'm especially proud of is the implementation of windowed conversations. Just like irssi or hexchat or mIRC, this client can maintain multiple separate conversation windows.
    If you'd like to try it out and give me feedback, I'd appreciate it. can be downloaded from http://cyberia.darktech.org/free/mpl/irc.mpy

    Tried it here and everything went just fine. Great job! Waiting for the final release :)

    Thanks. It is currently running on v0.10. I've been testing with other irc networks like efnet that have more traffic. I found some bugs that needed fixing. the client would truncate incoming text and have errors with parsing the truncated lines, and would cause the app to crash.

    I'm also rethinking the whole way I manage colorization. The irc colors need to be dealt with and it's throwing off the word wrapping.

    anyways, the development continues.

    --- Mystic BBS v1.12 A38 2018/01/01 (Linux/64)
    * Origin: Cyberia BBS | cyberia.darktech.org | San Jose, CA (21:1/120)
  • From Gryphon@21:1/120 to Skuz on Tue Feb 27 09:29:57 2018
    On 02/24/18, Skuz said the following...

    On 02/23/18, Gryphon said the following...

    If you'd like to try it out and give me feedback, I'd appreciate it. can be downloaded from http://cyberia.darktech.org/free/mpl/irc.mpy

    I installed it over here and it worked on the first try. Will probably plan on fazing out running the mRC server over the next few months when client's no longer feel the need to connect to it. The irc.mpy is much better with more options and people actually chatting. You did a great
    job coding this awesome script.. I'm very impressed with everything to
    did with it.

    Thanks. I hope to actually complete the project and have a fully functional application.

    --- Mystic BBS v1.12 A38 2018/01/01 (Linux/64)
    * Origin: Cyberia BBS | cyberia.darktech.org | San Jose, CA (21:1/120)
  • From Gryphon@21:1/120 to Avon on Tue Feb 27 09:47:22 2018
    On 02/26/18, Avon said the following...

    On 02/23/18, Gryphon pondered and said...

    If you'd like to try it out and give me feedback, I'd appreciate it. can be downloaded from http://cyberia.darktech.org/free/mpl/irc.mpy

    I grabbed a copy and tested it via a netrunner session on Agency last night. It was a nice experience. I noted it seemed like I had to press enter twice to get the text I typed to send and display on the IRC
    screen but it may have been something at my end. But it worked and for someone who has not used IRC in some time it had a lot of help info
    which I thought was good.

    Thanks for the report. That is yet another report of this issue and once again, it is coming from a windows version of Mystic. Have you ever tried
    the testpython.mpy script that gomes with Mystic? Do you get the same
    behavior or is it different?


    I tried some command to register my handle but am unsure if I typed it correctly as I don't think it sent me a reply.

    Keep in mind that this is not a full fledged client like mIRC or irssi, or hexchat. Not all commands are implemented. Also keep in mind that I have no experience with IRC to begin with so I am learning everything about as I develop this client app. I'll be glad to add features and commands if people want them. Please let me know what you want added.

    --- Mystic BBS v1.12 A38 2018/01/01 (Linux/64)
    * Origin: Cyberia BBS | cyberia.darktech.org | San Jose, CA (21:1/120)
  • From Beery@21:4/109 to Gryphon on Tue Feb 27 15:01:08 2018
    This was the first one I have setup and just prior, installed the appropriate version of Python.

    Pretty much everything else is stock Mystic.

    Beery

    --Beery Miller -- 9640 News BBS -- 9640news.ddns.net:9640 --

    --- Mystic BBS v1.12 A38 2018/01/01 (Windows/64)
    * Origin: 9640 News BBS (21:4/109)
  • From xqtr@21:1/111 to Gryphon on Tue Feb 27 11:40:05 2018
    On 02/27/18, Gryphon said the following...
    Thanks. It is currently running on v0.10. I've been testing with other irc networks like efnet that have more traffic. I found some bugs that needed fixing. the client would truncate incoming text and have errors with parsing the truncated lines, and would cause the app to crash.
    BTW... what do you use for debugging Python? Is GDB working with Python?

    I'm also rethinking the whole way I manage colorization. The irc colors need to be dealt with and it's throwing off the word wrapping.
    I know... its a pain in the ass. One solution would be to build an Array which will hold the color code and the position... then strip all color codes, do the wrapping and then re-apply the colors based to the saved colors array.

    If you are doing all this "trouble" you should definitely make a stand alone version of the client ;) Weechat and ircII are very good, but for simple things and users, a client like yours is a must. :)

    Keep up. :)

    .----- --- -- -
    | Another Droid BBS
    : Telnet : andr01d.zapto.org:9999 [UTC 11:00 - 20:00]
    . Contact : xqtr.xqtr@gmail.com

    --- Mystic BBS v1.12 A38 2018/01/01 (Raspberry Pi/32)
    * Origin: Another Droid BBS (21:1/111)
  • From Avon@21:1/101 to Gryphon on Wed Feb 28 15:27:48 2018
    On 02/27/18, Gryphon pondered and said...

    again, it is coming from a windows version of Mystic. Have you ever
    tried the testpython.mpy script that gomes with Mystic? Do you get the same behavior or is it different?

    I recall a similar issues with MRC but have not tested against the .mpy
    script you mention. I will test and report back :)

    Best, Paul


    `I'm not expendable, I'm not stupid, and I'm not going' - Kerr Avon, Blake's 7

    --- Mystic BBS v1.12 A39 2018/02/06 (Windows/32)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From Gryphon@21:1/120 to xqtr on Wed Feb 28 20:37:27 2018
    On 02/27/18, xqtr said the following...

    On 02/27/18, Gryphon said the following...
    Thanks. It is currently running on v0.10. I've been testing with ot irc networks like efnet that have more traffic. I found some bugs th needed fixing. the client would truncate incoming text and have erro with parsing the truncated lines, and would cause the app to crash.
    BTW... what do you use for debugging Python? Is GDB working with Python?

    I don't actually use a debugger. I write in vi, and run the script. I rely
    on the errors to tell me where the bugs are.

    I'm also rethinking the whole way I manage colorization. The irc col need to be dealt with and it's throwing off the word wrapping.
    I know... its a pain in the ass. One solution would be to build an Array which will hold the color code and the position... then strip all color codes, do the wrapping and then re-apply the colors based to the saved colors array.

    I think I've actually got it figured out. I wrote a rather small function to do the line wrapping. I break the line up into words. Then I iterate through each word. I have a function that strips all color codes from the string. It's alot like the StripMCI mpl function. I calculate the stripped word length, and add the colorized word to a default string. When the line
    reaches 80 stripped columns, I add the line to an array and start over again with a new line. When I display the colorized version of the line, it is at the right length and properly colorized.

    If you are doing all this "trouble" you should definitely make a stand alone version of the client ;) Weechat and ircII are very good, but for simple things and users, a client like yours is a must. :)

    I've actually thought about it. But to be honest, the one thing that makes
    me want to use MPY is the getstr() function. So far as I can tell, there is
    no other python function that allows for scrolling input like getstr() does. Most people will want to use curses to do screen manipulation and text input, but I've found that Mystic doesn't work well with curses. The displays are
    all wonky, no matter what I try.

    --- Mystic BBS v1.12 A38 2018/01/01 (Linux/64)
    * Origin: Cyberia BBS | cyberia.darktech.org | San Jose, CA (21:1/120)
  • From shinobi@21:1/153 to Gryphon on Thu Mar 1 06:20:40 2018
    I don't actually use a debugger. I write in vi, and run the script. I rely on the errors to tell me where the bugs are.

    I wonder. Don't You know on how to write automatic tests?

    --- Mystic BBS v1.12 A38 2018/01/01 (Linux/64)
    * Origin: INFOLINKA BBS (21:1/153)
  • From xqtr@21:1/111 to Gryphon on Thu Mar 1 16:35:17 2018
    I think I've actually got it figured out. I wrote a rather small
    function to do the line wrapping. I break the line up into words. Then
    I iterate through each word. I have a function that strips all color codes from the string. It's alot like the StripMCI mpl function. I calculate the stripped word length, and add the colorized word to a default string. When the line reaches 80 stripped columns, I add the
    line to an array and start over again with a new line. When I display
    the colorized version of the line, it is at the right length and
    properly colorized.

    For a TextWrap function i use, but only for use with Pipe Colors, i am doing something similar. I check each character of the string. I also have a variable for the true length of the string. If the character is a Pipe i add
    3 to the position but 0 to the true length. If the character is other than space (or other delimeter) i add 1 to both (position/true length). If its a space/delimeter i check if i have reached the wrapping width in the true length variable. If it does i copy the string from the beggining up to the current position and then deleted from the string. Then continue with the rest of the string.

    Its easier to do with only Pipe colors, but if you have ANSI Codes, its more trouble i think. If you only check for ANSI color codes then its more easy, as they start with an ESC and end with an "m".

    I've actually thought about it. But to be honest, the one thing that makes me want to use MPY is the getstr() function. So far as I can
    tell, there is no other python function that allows for scrolling input like getstr() does. Most people will want to use curses to do screen manipulation and text input, but I've found that Mystic doesn't work

    I don't know what getstr() does :( I searched the Wiki but no info there.

    .----- --- -- -
    | Another Droid BBS
    : Telnet : andr01d.zapto.org:9999 [UTC 11:00 - 20:00]
    . Contact : xqtr.xqtr@gmail.com

    --- Mystic BBS v1.12 A38 2018/01/01 (Raspberry Pi/32)
    * Origin: Another Droid BBS (21:1/111)
  • From Gryphon@21:1/120 to xqtr on Thu Mar 1 11:03:42 2018
    On 03/01/18, xqtr said the following...

    For a TextWrap function i use, but only for use with Pipe Colors, i am doing something similar. I check each character of the string. I also
    have a variable for the true length of the string. If the character is a Pipe i add 3 to the position but 0 to the true length. If the character
    is other than space (or other delimeter) i add 1 to both (position/true length). If its a space/delimeter i check if i have reached the wrapping width in the true length variable. If it does i copy the string from the beggining up to the current position and then deleted from the string. Then continue with the rest of the string.

    Its easier to do with only Pipe colors, but if you have ANSI Codes, its more trouble i think. If you only check for ANSI color codes then its
    more easy, as they start with an ESC and end with an "m".

    The one problem you have with pipe codes is that they aren't always 3 chars
    in length. If you encounter other codes like [X or [Y, etc, then you have to calcualate the length. But you are correct about ANSI colors; just go from esc+[ all the way to 'm'. But like everything else, there are exceptions. Cursor movements don't end with 'm', so you have to do other calculations if you want to translate those too. Also, WRT IRC, IRC has its own color codes that has to be addressed. It makesit harder to try to accomodate many
    differen code formats.

    I've actually thought about it. But to be honest, the one thing that makes me want to use MPY is the getstr() function. So far as I can tell, there is no other python function that allows for scrolling inp like getstr() does. Most people will want to use curses to do screen manipulation and text input, but I've found that Mystic doesn't work

    I don't know what getstr() does :( I searched the Wiki but no info there.

    If you look in the testpython.mpy script, you'll see it discussed in there.

    --- Mystic BBS v1.12 A38 2018/01/01 (Linux/64)
    * Origin: Cyberia BBS | cyberia.darktech.org | San Jose, CA (21:1/120)
  • From xqtr@21:1/111 to Gryphon on Thu Mar 1 21:49:31 2018
    The one problem you have with pipe codes is that they aren't always 3 chars in length. If you encounter other codes like [X or [Y, etc, then you have to calcualate the length. But you are correct about ANSI colors; just go from esc+[ all the way to 'm'. But like everything
    else, there are exceptions. Cursor movements don't end with 'm', so you have to do other calculations if you want to translate those too.
    Also, WRT IRC, IRC has its own color codes that has to be addressed. It makesit harder to try to accomodate many differen code formats.

    You'll have to draw a line somewhere :) and don't take into consideration other codes. Also codes like |[X and cursor movement with ANSI codes are a backdoor for malicious irc users to do sort of things, like ANSI bombing. I would advise to textwrap only color codes and nothing else.

    If you look in the testpython.mpy script, you'll see it discussed in there.

    Oh... i see... the equivalent of the INPUT command in MPL. Yes, very handy function. If you find the old code of Mystic you can translate the code of the actual function, from Pascal to Python. I don't think its difficult to do. If i find the time i will do it myself and add it at the PyCRT/DOOR library i make

    .----- --- -- -
    | Another Droid BBS
    : Telnet : andr01d.zapto.org:9999 [UTC 11:00 - 20:00]
    . Contact : xqtr.xqtr@gmail.com

    --- Mystic BBS v1.12 A38 2018/01/01 (Raspberry Pi/32)
    * Origin: Another Droid BBS (21:1/111)
  • From Lupine Furmen@21:4/102 to Avon on Mon Feb 26 07:10:26 2018
    I tried some command to register my handle but am unsure if I typed it correctly as I don't think it sent me a reply.

    Unless he's running a nickserv bot then I doubt you'll be able to register
    your handle.

    Same with registering a channel, he would have to be running chanserv.

    -Dallas Vinson

    --- Mystic BBS v1.12 A38 2018/01/01 (Windows/32)
    * Origin: Before the Web (21:4/102)
  • From g00r00@21:1/108 to Gryphon on Sat Mar 17 01:35:49 2018
    One thing I'm especially proud of is the implementation of windowed conversations. Just like irssi or hexchat or mIRC, this client can maintain multiple separate conversation windows.

    Gryphon,

    Sounds amazing! Sounds like I can remove this from my TODO list! I can't wait to check it out!

    If you have any concerns and suggestions related to Python add-ons now that you've been working with it quite a bit let me know via netmail or FSX_MYS etc.

    I mostly forget where we left off with that stuff as far as things you were interested in.

    --- Mystic BBS v1.12 A39 2018/03/13 (Windows/32)
    * Origin: Sector 7 [Mystic BBS WHQ] (21:1/108)
  • From Gryphon@21:1/120 to g00r00 on Sat Mar 17 10:43:31 2018
    On 03/17/18, g00r00 said the following...

    One thing I'm especially proud of is the implementation of windowed conversations. Just like irssi or hexchat or mIRC, this client can maintain multiple separate conversation windows.

    Gryphon,

    Sounds amazing! Sounds like I can remove this from my TODO list! I
    can't wait to check it out!

    If you have any concerns and suggestions related to Python add-ons now that you've been working with it quite a bit let me know via netmail or FSX_MYS etc.

    I mostly forget where we left off with that stuff as far as things you were interested in.

    I will say that I've had reports of the windows version of getstr() requiring multiple <CR> to accept input. It seems specific to the windows version and other linux versions seem ok.

    Also, as far as the getstr() function goes, I'd like to see it be
    non-blocking. I'd like to see some function that can get called while it is receiving input from the user.

    What I've encountered is, somebody will be in the process of typing a string, then for some reason not hit enter. This means that the app will halt all processing until the user hits enter. Sadly for an IRC client, it needs to
    be able to read from the server even while waiting for user input. This
    issue has caused the app to abort the connection because it didn't give a
    PONG back to the server in time.

    --- Mystic BBS v1.12 A38 2018/01/01 (Linux/64)
    * Origin: Cyberia BBS | cyberia.darktech.org | San Jose, CA (21:1/120)
  • From g00r00@21:1/108 to Gryphon on Sun Apr 1 05:51:57 2018
    Also, as far as the getstr() function goes, I'd like to see it be non-blocking. I'd like to see some function that can get called while
    it is receiving input from the user.

    will halt all processing until the user hits enter. Sadly for an IRC client, it needs to be able to read from the server even while waiting
    for user input. This issue has caused the app to abort the connection because it didn't give a PONG back to the server in time.

    You may end up needing to do a second thread that sends and receives the
    server data and a main one that handles the user input.

    Otherwise, you'd may have to build your own input routine using keypressed which would admittedly be a pain in the ass. There might be a way I could add some sort of callback to getstr, but its something I'd have to experiment with. In the raw Pascal version of the code there actually is a callback already but how I can translate that to call a Python function I am not sure right now. I'll put it on the TODO list.

    Otherwise you end up with your own input loop (if you dont use a thread):

    while not shutdown():

    if keypressed():

    # process key, add to str if its a char or remove if backspace, etc
    # or send if enter or erase with escape... use extended if you
    # want to implement arrow keys and home/end etc like Mystic input
    # does

    ch, extended = getkey()

    if ch = chr(8):
    # handle backspace

    elif ch = chr(13):
    # handle enter, parse "str" contents
    else:
    str = str + ch
    # display string

    elif message_waiting then:
    # process from server
    else:
    delay(10)

    --- Mystic BBS v1.12 A39 2018/03/30 (Windows/32)
    * Origin: Sector 7 [Mystic BBS WHQ] (21:1/108)
  • From Gryphon@21:1/120 to g00r00 on Tue Apr 3 15:44:54 2018
    On 04/01/18, g00r00 said the following...

    Also, as far as the getstr() function goes, I'd like to see it be non-blocking. I'd like to see some function that can get called whil it is receiving input from the user.

    will halt all processing until the user hits enter. Sadly for an IRC client, it needs to be able to read from the server even while waitin for user input. This issue has caused the app to abort the connectio because it didn't give a PONG back to the server in time.

    You may end up needing to do a second thread that sends and receives the server data and a main one that handles the user input.

    This is probably the better idea. Have one thread to just handle server side input, and another for user side input. I'm not that great a programmer so
    I'm not sure that is something that I can pull off.

    Otherwise, you'd may have to build your own input routine using
    keypressed which would admittedly be a pain in the ass. There might be

    I've thought about it. But the benefit for your getstr() function is that it scrolls for long input. I'm not sure how to accomplish that off hand and
    would have to research it to see if it can even be done.

    I've also looked into using a python-native user input function. But if I did that, then I pretty much would be able to just make a native python app and call it as a door in mystic. One thing I've found is that native linux apps and even python scripts do not play well as mystic doors when ncurses is involved, so I do not want to use any libraries that involve ncurses. If mystic didn't behave badly with native linux apps, I'd probably just use
    irssi as a door.

    --- Mystic BBS v1.12 A39 2018/04/01 (Linux/64)
    * Origin: Cyberia BBS | cyberia.darktech.org | San Jose, CA (21:1/120)
  • From g00r00@21:1/108 to Gryphon on Wed Apr 4 13:43:54 2018
    libraries that involve ncurses. If mystic didn't behave badly with
    native linux apps, I'd probably just use irssi as a door.

    Hmm...Mystic doesn't do anything except redirect the data so I am not sure how Mystic could behave badly with ncurses.

    Maybe there is another issue. Is it running in UTF8 when the client is not UTF8? Is TERM set to ansi so that ncurses isn't using VT300 or something?

    I'll have to try it with lynx or something sometime and see.

    --- Mystic BBS v1.12 A39 2018/04/04 (Windows/32)
    * Origin: Sector 7 [Mystic BBS WHQ] (21:1/108)
  • From shinobi@21:1/153 to g00r00 on Wed Apr 4 18:51:57 2018
    Maybe there is another issue. Is it running in UTF8 when the client is not UTF8? Is TERM set to ansi so that ncurses isn't using VT300 or something?

    From my experiments it's doable to run elinks and irssi from mbbs.
    On Linux as follows:
    1) elinks
    create menu as external program and call wrapper (elinks.sh):
    #!/bin/bash
    export TERM=dumb
    elinks

    2) irssi
    dtto (irssi.sh)
    #!/bin/bash
    export TERM=linux
    irssi

    Hope that helps

    Shinobi

    --- Mystic BBS v1.12 A38 2018/01/01 (Linux/64)
    * Origin: INFOLINKA BBS (21:1/153)