root/trunk/website/README.FIFO

Revision 4522, 2.0 kB (checked in by erijo, 2 years ago)

Removed svn:keywords and an eol fix on favicon.ico

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
Line 
1$Id$
2
3DESCRIPTION
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.
9
10QUOTING
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 "\".
23
24FIFO COMMANDS
25    <> is the "meta delimiter" (so don't type it)
26    [] arguments are optional
27
28    help <command>
29        print commands help information.
30
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)
35
36    auto_response <auto response>
37        Sets the auto response message without changing the current
38        status.
39
40    message <buddy> <message>
41        Send a message to the given buddy.
42
43    url <buddy> <url> [<description>]
44        Send a url to the given buddy.
45
46    redirect <file>
47        Redirects the stdout and stderr for licq to the given file
48
49    adduser <buddy>
50        Add a user to your contact list. note that buddy must be an uin
51
52    userinfo <buddy>
53        Updates a buddy's user information
54
55    exit
56         causes the licq session to shutdown.
57
58    ui_viewevent [<buddy>]
59        Shows the oldest pending event
60
61    ui_message <buddy>
62        Open the plug-in message composer to <buddy>
63
64    help <command>
65        print commands help information.
66
67EXAMPLES
68    $ LICQ_FIFO="$HOME/.licq/licq_fifo"
69    # change the status. set an away message
70    $ echo 'status *away "%a: Im away?"' > $LICQ_FIFO
71    # send a message to John
72    $ echo 'message John "\t H e l l o\n world"' > $LICQ_FIFO
73    # send a message to 1234567
74    $ echo 'message 1234567 "you are a lucky man"' > $LICQ_FIFO
75    # send an URL to message to Bob
76    $ echo 'url http://www.licq.org "do you use it?" '
77    # close licq
78    $ echo 'exit' > $LICQ_FIFO
79   
80   
Note: See TracBrowser for help on using the browser.