Comments (10)
This command is not formally defined by an RFC, but is supported by most major IRC daemons.
Since this is not defined by a standard I don't think it should be added. Maybe we could write up a spec and send it to http://ircv3.org/.
Until then, if you want this command you can always do /alias knock quote knock
and it will function as expected.
from weechat.
Freenode isn't following RFC so much either…
from weechat.
@Mkaysi I know, but waiting for a formal spec to be written and then implementing that means less work, cleaner code, and fewer issues once finished.
That being said, KNOCK does currently work in weechat. It doesn't doesn't do anything special for it, and it shouldn't, because the numerics used are different depending on who is implementing it and some ircds don't use numerics at all, and instead use notices.
Edit :: Also, one thing I've liked about weechat is that it doesn't seem to try to add things that don't have a spec written. Like WATCH
, this was never implemented and weechat instead used /ison by default until MONITOR
was implemented.
from weechat.
EDITED (2014-03-09 10:32 UTC)
I've been thinking about it, and I don't think /knock
actually should be supported in the current form.
Other clients don't seem to handle it nicely, even if they have the command. I don't think it's used very often, either.
However, it not being standard alone isn't a reason not to implement it (consider /sajoin
and quiet lists).
from weechat.
sajoin
doesn't have numerics associated with it, and it doesn't have multiple different implementations.
I'm not against implementing knock
, but there are several different implementations of it. Some ircds use a notice, others use a numeric, and some use both. Even the command changes depending on which ircd you are using. Some are KNOCK #chan :message
and others are just KNOCK #chan
There is effort going into an ircv3.2 spec to standardize this. This will make it easier for clients to implement it, and until then I don't think it should be added.
from weechat.
I think it should be implemented. I understand the thought process of not wanting to do so because it isn't standardized, but I'd argue against that. Usability should be prioritized. Every major network I've had to use KNOCK on implements it, and most clients I've used have implemented it. If almost every other service/client is supporting it, why should we not? I feel like "stick to the spec" is the improper approach to handle IRC, because no major network or client sticks 100% to the spec.
And yes, people really do use /knock. I just had to, which is when I found out weechat doesn't support it :/.
from weechat.
I reopen the issue.
@shawn-smith : please ping me when KNOCK will be part of ircv3.x spec.
from weechat.
I need knock as well, is there a way to quote raw commands to the server?
from weechat.
yes, with /quote or use /set irc.network.send_unknown_commands
/alias add knock /quote knock $1
from weechat.
from weechat.
Related Issues (20)
- memory leak after using a huge argument list to a command HOT 8
- /amsg and /ame also send in parted channels HOT 1
- add tags in buffer created with /exec -nf
- the hook_line always print a line even if there is no content HOT 1
- removing a line in a hook_line differ between free and formatted buffer HOT 1
- For many IRC signals, ${nick} is the server domain instead of the nick HOT 2
- Reusing a xfer chat buffer after an /upgrade breaks the buffer
- /input search_stop always scrolls to the bottom
- add an addreplace to all commands that have an add
- IRCv3 server-time messages delivered out of order are appended to the buffer which breaks IRC as a p2p protocol HOT 2
- Convert option weechat.look.hotlist_sort to a list of hdata fields
- API function to update hotlist for a buffer with direct values
- Support for more notify levels
- Behaviors search_text and search_text_here the same? HOT 1
- Expose setting custom FIFO path as CLI argument for convenience HOT 1
- Why does my custom buflist.format.buffer not respect color changes by weechat? HOT 1
- different syntax between mouse and cursor mode to specify all keys
- Error decoding websocket frame for client (API relay)
- account-notify causes /who spam in server buffer
- ruby: (some) builtin functions not available with ruby 3.3 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from weechat.