taskWeeChat - Tasks: task #13059, /ping should work in context

 
 

task #13059: /ping should work in context

Submitter:  Ioannis A <superuser>
Submitted:  Sun 26 Jan 2014 12:29:45 AM UTC
   
 
Category:  irc plugin Should Start On:  Sun 26 Jan 2014 12:00:00 AM UTC
Should be Finished on:  Sun 09 Feb 2014 12:00:00 AM UTC Priority:  * 5 - Normal
Status:  Need Info Privacy:  Public
Assigned to:  flashcode Percent Complete:  0%
Originator Name:  Open/Closed:  Open
Planned Release:  None IRC nick: 
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 27 Jan 2014 09:42:26 PM UTC, comment #2: 

I see. I really just want it to NOT require the server argument. But yes, it indeed works in a more obvious way in XChat (and most other clients, which follow a similar model).

Ioannis A <superuser>
Mon 27 Jan 2014 08:29:45 PM UTC, comment #1: 

"PING" (/ping) is an irc command that requires at least one argument. If you do /quote ping, the server should reply with an error ("PING: Not enough parameters").

Some clients like irssi display same error if you do /ping without arguments. But others like xchat send ping with the current time and displays the time spent before receiving PONG from server (same thing is done in background by WeeChat to check the lag with server).

So do you want something similar to xchat?

Sebastien Helleu <flashcode>
Group administrator
Sun 26 Jan 2014 12:29:45 AM UTC, original submission:  

/ping should work more like /away or other commands that work in context. of where the cursor is.

For example, if I type in /ping in freenode, I'd expect it to ping just freenode, not throw an error message telling me it requires more arguments.

I understand it allows for ping forwarding to another server and that there is an additional /pong command, but nevertheless, the command can be done in context without breaking how it interacts with /pong. Just automatically assume what the first value is, unless it is provided, much like /away does.

Ioannis A <superuser>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by flashcode (Posted a comment)
  • -email is unavailable- added by superuser (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-01-27 flashcode StatusNone Need Info
        Assigned toNone flashcode

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code