1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115
|
= Client Commands
:toc:
== /exit
Exit the client immediately.
== /reload
Reload the client configuration file.
If `filename` is provided it will be used to reload.
Otherwise the previously loaded configuration file will be reloaded.
== /in
Execute a command on a window other than the current one.
`focus` is the name of a window as would be used with the `channel` command.
`command` is the name of a command or macro followed by its arguments.
Macro expansions will be resolved as if `focus` was the current focus.
See also: channel
=== Examples
`+/in libera: list+` +
`+/in #glirc setwindow louder+`
== /extension
Run a command provided by an extension.
`extension` should be the name of a loaded extension with
a process_command callback.
== /palette
Show the current palette settings and a color chart to help pick new colors.
== /digraphs
Show the table of digraphs. A digraph is a pair of characters
that can be used together to represent an uncommon character.
Type the two-character digraph corresponding to the desired
output character and then press M-k (default binding).
The digraphs list is searchable with `+/grep+`.
See also: grep
== /keymap
Show the key binding map.
Key bindings can be changed in configuration file.
Run `+glirc --config-format+` for details.
== /rtsstats
Show the GHC RTS statistics.
== /exec
Execute a command synchnonously, optionally sending the output to IRC.
Arguments to this command are:
`+[-n[network]] [-c[channel]] [-i input] command [arguments...]+`
`input` is sent to the standard input of the command.
When neither `network` nor `channel` are specified,
output goes to client window (focus name "*").
When `network` is specified,
output is sent as raw IRC traffic to the network.
When `channel` is specified,
output is sent as chat to the given channel on the current network.
When `network` and `channel` are specified,
output is sent as chat to the given channel on the given network.
`arguments` is split on spaces into words before being
processed by getopt. Use Haskell string literal syntax to
create arguments with escaped characters and spaces inside.
== /url
Open a URL seen in chat.
The URL is opened using the executable configured under `url-opener`.
When this command is active in the textbox,
chat messages are filtered to only show ones with URLs.
When `number` is omitted it defaults to 1.
The number selects the URL to open, counting back from the most recent.
== /help
Show documentation.
When `topic` is omitted, a list of all commands and macros is shown.
When `topic` contains a colon, sends the portion after the first colon
as a `+HELP+` message to the network specified before the first colon
(or the currently-focused network if empty), then shows the result.
Otherwise, interprets `topic` as a command name and shows its documentation.
=== Examples
`+/help+`
`+/help c+`
`+/help :index+`
`+/help libera:accept+`
|