view mcabber/doc/help/en/hlp_say_to.txt @ 2269:766666eb6928

Link with the tinfo library On some systems we have to explicitly link with libtinfo. pkg-config cannot be used on every system with ncurses, see discussion in https://bugs.gentoo.org/show_bug.cgi?id=457530#c18 For now we'll use the same fix as Mutt: https://dev.mutt.org/hg/mutt/rev/c84aa0d62ce3 Thanks to Wolfram Schlich for the report and troubleshooting!
author Mikael Berthe <mikael@lilotux.net>
date Mon, 12 Sep 2016 22:39:04 +0200
parents 053fd04e5a4d
children
line wrap: on
line source


 /SAY_TO [-n|-h] [-e] [-q] [-f file] jid text

Send the "text" message to the specified jid.
Please note that you will have to use a full jid with a resource identifier if you want to specify exactly where the message should go.
You can send a message to a specific resource of the currently selected contact by using /say_to ./resourcename message.
The "-n" flag turns the message to "normal" type, "-h" to "headline".  "--" can be used to send chat messages beginning with -n or -h.
When "-q" is used, the message will be sent in the background and will not change the current active window.
The option "-e" enables interpretation of the strings "\n" and "\t".  This flag has no effect if the text comes from a file with option "-f".
A text file can be provided with the "-f" switch (in which case there's no need to pass a text argument after the jid, of course).