Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: Colani1200 on November 02, 2013, 01:54:39 PM

Title: Need help with Grapevine IRC client (or alternative for A600)
Post by: Colani1200 on November 02, 2013, 01:54:39 PM
So I was happy to get Grapevine up and running on my A600 the other day. It connects fine to the Freenode servers, however I am unable to join any channel. I always get the error "Not enough parameters MODE":

(http://www.amiga.org/gallery/images/4136/1_GrapevineScreenshot.png)

Any ideas? Or any other IRC channel that will work on A600 with OS 2.1 and 2 MB chip RAM? I already tried those from Aminet:

http://aminet.net/package/comm/irc/AmIRCii-2.8.2
http://aminet.net/package/comm/irc/ChatBox1_164

But I couldn't get any of them to work.
Title: Re: Need help with Grapevine IRC client (or alternative for A600)
Post by: Hattig on November 04, 2013, 11:40:11 AM
Well, that means the mode command isn't right from Grapevine, which seems odd.

"MODE
Syntax:
MODE (user)
MODE []
The MODE command is dual-purpose. It can be used to set both user and channel modes.
Defined in RFC 1459"

What happens on other IRC networks? E.g., irc.abime.net / #abime.net
Title: Re: Need help with Grapevine IRC client (or alternative for A600)
Post by: Colani1200 on November 05, 2013, 09:29:38 AM
Quote from: Hattig;751769
What happens on other IRC networks? E.g., irc.abime.net / #abime.net


Different problem: Connection to the server gets lost immediately.

"<> Connection to server irc.abime.net lost (Error code not set)."
Title: Re: Need help with Grapevine IRC client (or alternative for A600)
Post by: Lizard on November 05, 2013, 01:39:00 PM
You could try Chatbox?

http://aminet.net/search?query=chatbox
Title: Re: Need help with Grapevine IRC client (or alternative for A600)
Post by: Colani1200 on November 05, 2013, 08:18:23 PM
Quote from: Lizard;751877
You could try Chatbox?

http://aminet.net/search?query=chatbox


I couldn't get that one to work.
Title: Re: Need help with Grapevine IRC client (or alternative for A600)
Post by: Colani1200 on November 08, 2013, 09:33:32 AM
Quote from: Lizard;751877
You could try Chatbox?

http://aminet.net/search?query=chatbox

OK, I got it to work with the help of SnoopDOS. Obviously it was looking for button.gadget in the wrong place...

I am able to connect to irc.abime.net and #abime.net with it, but not to any channel on Freenode. I get the same error as in Grapevine ("not enough parameters MODE"). Any ideas?
Title: Re: Need help with Grapevine IRC client (or alternative for A600)
Post by: Hattig on November 08, 2013, 09:45:26 AM
They must be using a different ircd... the freenode docs say that the command should be in the format: /mode <+/-> with valid options
+i     +g     +w     +D     +Q     +R     +Z

e.g., /mode Colani600 +R

So ... maybe the issue is that Grapevine and Chatbox are just issuing "/mode colani" without any parameters - is there a setting in the app to customise log on mode parameters? You could add +R, or set /umode Colani600 +i

Or maybe it's trying to set a channel mode that has parameters incorrectly ... but why would it do that?
Title: Re: Need help with Grapevine IRC client (or alternative for A600)
Post by: Colani1200 on November 11, 2013, 10:07:35 AM
Quote from: Hattig;752174
So ... maybe the issue is that Grapevine and Chatbox are just issuing "/mode colani" without any parameters


I sniffed this with tcpdump and apparently, Chatbox issues a "MODE" command without any parameters at all. :confused:

Quote
- is there a setting in the app to customise log on mode parameters? You could add +R, or set /umode Colani600 +i


I didn't find any...
Title: Re: Need help with Grapevine IRC client (or alternative for A600)
Post by: Hattig on November 11, 2013, 10:47:48 AM
Darn.  Very annoying, you would think that the software would be clever enough to not do that, or issue correct commands.

Also odd that channel join scripts aren't easily available to edit.
Title: Re: Need help with Grapevine IRC client (or alternative for A600)
Post by: Colani1200 on November 12, 2013, 01:39:00 PM
Quote from: Hattig;752483
you would think that the software would be clever enough to not do that, or issue correct commands.


True. RFC 1459 is from 1993, Grapevine from 1995 and ChatBox from 1997, so you'd expect them to be compliant.
Title: Re: Need help with Grapevine IRC client (or alternative for A600)
Post by: CdreCommodore on November 12, 2013, 03:01:52 PM
Man, I haven't though of Grapevine in a long time.

Grapevine is failing to recognize your own joins to channels on Freenode:

Quote
<> You have joined channel .

This is happening because Freenode servers are sending an [arguably] malformed JOIN response to the client (server response in bold):

Quote
JOIN #abctest
:mynick!myuser@my.host.com JOIN #abctest

On EFnet, Abime.net, and others, the server response contains a colon before the channel name:

Quote
JOIN #abctest
:mynick!myuser@my.host.com JOIN :#abctest

Grapevine is expecting the colon and, because it isn't there, failing to parse the response.

RFC1459 isn't clear on whether this colon is required in this message, but RFC2812 (https://tools.ietf.org/html/rfc2812#section-3.2.1) shows a sample response that does not contain it:

Quote
  :WiZ!jto@tolsun.oulu.fi JOIN #Twilight_zone ; JOIN message from WiZ on channel #Twilight_zone

Your choices are to contact that author of Grapevine for a fix (ho ho), contact the developers of Freenode's ircd, or switch to another client.