Closed Bug 150140 Opened 22 years ago Closed 20 years ago

implement full /whois syntax and /wii shortcurt

Categories

(Other Applications :: ChatZilla, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bland, Assigned: rginda)

References

()

Details

Attachments

(1 file)

Currently chatzila's /whois can lookup informatioin only on local irc server
(the one chatzilla connected to). This prevents to see the peer user idle and
server info in case he/she connected to another server (of the same network).
See rfc1459 for the full /whois syntax.
/wii is stands for whois idle (as in bitchx irc client) and just a "whois nick
nick" command shortcurt.
My be it's reasonable to add an option to chatzilla's prerfs wich selects whois
method to be used in the UI handlers (eg. whois from contetxt menu will result
in /whois nick nick or /whois nick)?
Status: UNCONFIRMED → NEW
Ever confirmed: true
(In reply to comment #1)
> My be it's reasonable to add an option to chatzilla's prerfs wich selects whois
> method to be used in the UI handlers (eg. whois from contetxt menu will result
> in /whois nick nick or /whois nick)?

"/whois nick nick" is not mentioned in the spec. What does it do and why do you
want it?
(In reply to comment #2)
> (In reply to comment #1)
> > My be it's reasonable to add an option to chatzilla's prerfs wich selects whois
> > method to be used in the UI handlers (eg. whois from contetxt menu will result
> > in /whois nick nick or /whois nick)?
> 
> "/whois nick nick" is not mentioned in the spec. What does it do and why do you
> want it?
    Spec says that full whois syntax is WHOIS [ <target> ] <mask> *( "," <mask>
). At the moment I wrote report it was impossible to send <target> with
ChatZilla's /whois. That what I said. And as I also said /whois <nick> <nick> is
a full form of /wii command in bitchx. It sends WHOIS <nick> <nick> command to
server which seems to be widely supported extension. <nick> at the <target>
place just says request on server where that user logged in. Imho this enables
client request full data in one step. Please read RFC2812 3.6.2 to understand
why full WHOIS syntax may be important.
Implementation of the full whois syntax would depend on the resolution of bug
262336, as well as any command such as the here-proposed WII command that would
rely on a properly implemented whois command.
Depends on: 262336
No longer depends on: 262336
(In reply to comment #3)
> Please read RFC2812 3.6.2 to understand why full WHOIS syntax may be important.

Of course I've read the spec. I asked what "WHOIS nick nick" was since that is
NOT in the spec (even though it may well be a widly adopted extension). There is
no reason a command should match the protocol command exactly - you might as
well just use telnet.

"/wii nick" --> "WHOIS nick nick" is easilly do-able (and actually might make
sense), and "/whois nick nick" being specially allowed is possible (though I
dislike this format myself).
Product: Core → Other Applications
silver: /whois silver silver is becoming much more important now that
irc.mozilla.org has two servers.
Turns out /whois was actually ignoring all but the first param *anyway*, so it
could never have worked right. This patch not only fixes that, but allows you
to repeat any nickname to get a /wii on them instead of the normal /whois. It
also adds a /wii command.
Attachment #168372 - Flags: review?(rginda)
Comment on attachment 168372 [details] [diff] [review]
Add /wii and actually make /whois work right

r=rginda
Attachment #168372 - Flags: review?(rginda) → review+
Checked in --> FIXED.

This feature will be available in the next public release of ChatZilla, planned
to be 0.9.67 (hopefully not long now).
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Does this include changes to the auto-whois when you open a query tab?
No, this doesn't touch the auto-whois code at all.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: