home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #11 / Amiga Plus CD - 2002 - No. 11.iso / Tools / MorphOS / Epic4_mos / share / epic / help / 5_programming / xecho < prev    next >
Encoding:
Text File  |  2002-10-28  |  1.5 KB  |  40 lines

  1. Synopsis:
  2.    xecho [<switch> [<arg>] [<switch> [<arg>] ...]] [--] <text>
  3.  
  4. Description:
  5.    XECHO works just like ECHO, except that it may also accept certain
  6.    switches to give more control over where the text is send.  Currently,
  7.    text can be sent explicitly to the current window, to any arbitrary
  8.    window, and can be set to only be displayed in windows with a certain
  9.    level set.
  10.  
  11. Options:
  12.    -banner          display the $banner in front of the text
  13.    -current         send text to current window
  14.    -level <level>   only echo text if target window has specified level
  15.    -raw             send raw text to the screen, no formatting whatsoever
  16.    -window <name>   send text to specified window (name or number)
  17.    -nolog           do not allow the text to be logged
  18.    -say             do not output text if called as ^xecho
  19.    --               literal; disabled argument parsing for all text to
  20.                     the right of the double hyphens
  21.  
  22. Examples:
  23.    To echo text to the current window:
  24.       xecho -c This text will appear in the current window
  25.  
  26.    To send only crap and server notices to a window called `misc'
  27.       xecho -l snotice,crap -w misc This appears in the misc window
  28.  
  29.    To change the titlebar of an xterm:
  30.       eval xecho -r $chr(27)]2\;Your titlebar has been changed.$chr(7)
  31.  
  32.    To output text beginning with a hyphen:
  33.       xecho -- -= This text is treated literal =-
  34.    outputs:
  35.       -= This text is treated literal =-
  36.  
  37. See Also:
  38.    echo(5); set(4) level; window(4) level
  39.  
  40.