in all (by me) known irc-clients i can use /exec to make an output to the channel, like:
/exec -o dmesg | tail
and the (konsole)output will be shown in the channel
with /exec without -o it will only be shown myself, with -o it will be public
#2 Updated by Sputnick almost 10 years ago
- Status changed from New to Confirmed
- Assignee set to Sputnick
- Priority changed from High to Normal
- Target version set to 0.5.0
- % Done changed from 0 to 90
We already have /exec support in git master. However, -o we don't have yet, and that would be a nice thing to have, so I keep this report open.
Commands are run on the client side only, for various reasons (e.g. a client shouldn't be able to run anything on the server for security reasons).
#3 Updated by Sputnick over 9 years ago
- File 0001-Don-t-send-exec-output-by-default.patch 0001-Don-t-send-exec-output-by-default.patch added
- Status changed from Confirmed to Feedback
- Target version deleted (
This patch adds -o support to /exec. However, seems that Konversation doesn't do this anymore, so it's not really standard in all clients apparently. Also, it would change existing behavior and break users' aliases. So I'm not at all sure anymore that we want that...
How about keeping the current behavior, and add a -t (test) or -p (pretend) option instead, that allows keeping the output local for testing purposes?