[Konversation-devel] /server parameters ...

Eike Hein sho at eikehein.com
Fri Aug 19 23:17:27 CEST 2005


Hi,

for the record, I have changed the /server IPv6 parsing
to follow RFC 2732: http://www.faqs.org/rfcs/rfc2732.html

Previously, there was a hit-and-miss thing depending on
the number of ":" in the IP going on, which was unrelia-
ble in the first place and became unusable when I added
support for supplying the port as an additional parameter
(instead of ":port"), since the last IPv6 segment is not
really distiguishable from a port.

RFC 2372 solves this by turning the scheme into [ip]:port.

In total, the following /server calls are now supported:
/server <server>
/server <server> <port>
/server <server>:<port>
/server [<ip>]:<port> (IPv6)
/server <server> <port> <password>
/server <server>:<port> <password>
/server [<ip>]:<port> <password> (IPv6)


Adding the option to supply the port as an additional
parameter marks a behavioral change compared to 0.18,
since the second parameter always used to be <password>.
However, as many people are used to the above syntax
from other popular IRC clients (e.g. irssi and mIRC),
I think it's preferrable. Eventually we will need '-port'
and '-pass' parameters, though ...


The bookmarking system now stores RFC 2732 IPv6 URLs,
too. It doesn't open them yet, but this didn't work
to begin with, as far as I can see. I'll work on it
this Sunday.


Regards,
Eike



More information about the Konversation-devel mailing list