Show
Ignore:
Timestamp:
05/18/03 05:13:53 (6 years ago)
Author:
dreamforce2
Message:

replacing some tabs with whitespaces.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/licq/doc/README.FIFO

    r3368 r3506  
    22 
    33DESCRIPTION 
    4     There is a file called licq_fifo in the base directory, typically 
    5     ~/.licq.  This is a special device called a FIFO 
    6     (for First-In-First-Out).  You can write to this file just like  
    7     any other file, although typically one uses  
    8     echo something > licq_fifo.  
     4  There is a file called licq_fifo in the base directory, typically 
     5  ~/.licq.  This is a special device called a FIFO 
     6  (for First-In-First-Out).  You can write to this file just like  
     7  any other file, although typically one uses  
     8  echo something > licq_fifo.  
    99 
    1010QUOTING 
    11     The <"> is used for quoting.  
    12     Escape Sequences: (only valid in a quoted string) 
    13         \n  NL 
    14         \t  h tab 
    15         \v  v tab 
    16         \b  backspace (?) 
    17         \r  CR 
    18         \f  FF 
    19         \a  BEL 
    20          
    21     Be careful of shell special characters like '"[],; etc.  Escape these 
    22     characters with a "\". 
     11  The <"> is used for quoting.  
     12  Escape Sequences: (only valid in a quoted string) 
     13    \n  NL 
     14    \t  h tab 
     15    \v  v tab 
     16    \b  backspace (?) 
     17    \r  CR 
     18    \f  FF 
     19    \a  BEL 
     20 
     21  Be careful of shell special characters like '"[],; etc.  Escape these 
     22  characters with a "\". 
    2323 
    2424FIFO COMMANDS 
    25     <> is the "meta delimiter" (so don't type it) 
    26     [] arguments are optional 
     25  <> is the "meta delimiter" (so don't type it) 
     26  [] arguments are optional 
    2727 
    28     help <command> 
    29         print commands help information. 
     28  help <command> 
     29    print commands help information. 
    3030 
    31     status <[*]<status>> <auto response> 
    32     status: online, offline, na, away, occupied, dnd, ffc 
    33         Sets the status of the current licq session to that given  
    34         (precede the the status by a "*" for invisible mode) 
     31  status <[*]<status>> <auto response> 
     32  status: online, offline, na, away, occupied, dnd, ffc 
     33    Sets the status of the current licq session to that given  
     34    (precede the the status by a "*" for invisible mode) 
    3535 
    36     auto_response <auto response> 
    37         Sets the auto response message without changing the current 
    38         status. 
     36  auto_response <auto response> 
     37    Sets the auto response message without changing the current 
     38    status. 
    3939 
    40     message <buddy> <message> 
    41         Send a message to the given buddy. 
     40  message <buddy> <message> 
     41    Send a message to the given buddy. 
    4242 
    43     url <buddy> <url> [<description>] 
    44         Send a url to the given buddy. 
    45  
    46     sms <buddy> <message> 
    47         Send a SMS to the given buddy. 
    48  
    49     sms-number <number> <message> 
    50         Send a SMS to the given cellular number. 
    51  
    52     redirect <file> 
    53         Redirects the stdout and stderr for licq to the given file 
    54  
    55     debuglvl <level> 
    56         Set what information is logged. 
    57         See <level> in licq -h. 
    58  
    59     adduser <buddy> 
    60         Add a user to your contact list. note that buddy must be an uin 
    61  
    62     userinfo <buddy> 
    63         Updates a buddy's user information 
    64  
    65     exit 
    66         Causes the licq session to shutdown. 
    67  
    68     ui_viewevent [<buddy>] 
    69         Shows the oldest pending event. 
    70  
    71     ui_message <buddy> 
    72         Open the plugin's message composer to <buddy>. 
    73  
    74     help <command> 
    75         print commands help information. 
     43  url <buddy> <url> [<description>] 
     44    Send a url to the given buddy. 
     45  
     46  sms <buddy> <message> 
     47    Send a SMS to the given buddy. 
     48  
     49  sms-number <number> <message> 
     50    Send a SMS to the given cellular number. 
     51  
     52  redirect <file> 
     53    Redirects the stdout and stderr for licq to the given file 
     54  
     55  debuglvl <level> 
     56    Set what information is logged. 
     57    See <level> in licq -h. 
     58  
     59  adduser <buddy> 
     60    Add a user to your contact list. note that buddy must be an uin 
     61  
     62  userinfo <buddy> 
     63    Updates a buddy's user information 
     64  
     65  exit 
     66    Causes the licq session to shutdown. 
     67  
     68  ui_viewevent [<buddy>] 
     69    Shows the oldest pending event. 
     70  
     71  ui_message <buddy> 
     72    Open the plugin's message composer to <buddy>. 
     73  
     74  help <command> 
     75    print commands help information. 
    7676 
    7777EXAMPLES 
    78     $ LICQ_FIFO="$HOME/.licq/licq_fifo" 
    79     # change the status. set an away message 
    80     $ echo 'status *away "%a: Im away?"' > $LICQ_FIFO 
    81     # send a message to John 
    82     $ echo 'message John "\t H e l l o\n world"' > $LICQ_FIFO 
    83     # send a message to 1234567 
    84     $ echo 'message 1234567 "you are a lucky man"' > $LICQ_FIFO 
    85     # send an URL to message to Bob 
    86     $ echo 'url Bob http://www.licq.org "do you use it?" ' 
    87     # close licq 
    88     $ echo 'exit' > $LICQ_FIFO 
    89      
    90      
     78  $ LICQ_FIFO="$HOME/.licq/licq_fifo" 
     79  # change the status. set an away message 
     80  $ echo 'status *away "%a: Im away?"' > $LICQ_FIFO 
     81  # send a message to John 
     82  $ echo 'message John "\t H e l l o\n world"' > $LICQ_FIFO 
     83  # send a message to 1234567 
     84  $ echo 'message 1234567 "you are a lucky man"' > $LICQ_FIFO 
     85  # send an URL to message to Bob 
     86  $ echo 'url Bob http://www.licq.org "do you use it?" ' 
     87  # close licq 
     88  $ echo 'exit' > $LICQ_FIFO 
     89   
     90