Synopsis:
xecho [<switch> [<arg>] [<switch> [<arg>] ...]] <text>
Description:
XECHO works just like ECHO, except that it may also accept certain
switches to give more control over where the text is send. Currently,
text can be sent explicitly to the current window, to any arbitrary
window, and can be set to only be displayed in windows with a certain
level set.
Options:
-current send text to current window
-level <level> only echo text if target window has specified level
-window <name> send text to specified window (name or number)
Examples:
To echo text to the current window:
xecho -c This text will appear in the current window
To send only crap and server notices to a window called `misc'
xecho -l snotice,crap -w misc This appears in the misc window
See Also:
echo(5); set(4) level; window(4) level