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
If you'd like to try it out and give me feedback, I'd appreciate it. It
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 ?
I grabbed the file , put it in the scripts dir and did the GX command
data of IRC
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
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
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
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
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.
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 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 ?
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.
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.
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 :)
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.
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.
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.
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.
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?
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'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.
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 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 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.
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
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 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.
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.
If you look in the testpython.mpy script, you'll see it discussed in there.
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.
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.
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.
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.
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.
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
libraries that involve ncurses. If mystic didn't behave badly with
native linux apps, I'd probably just use irssi as a door.
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?
Sysop: | altere |
---|---|
Location: | Houston, TX |
Users: | 60 |
Nodes: | 4 (0 / 4) |
Uptime: | 07:38:17 |
Calls: | 516 |
Files: | 6,999 |
Messages: | 289,464 |