Changes between Version 2 and Version 3 of neercs/protocol


Ignore:
Timestamp:
01/02/2011 03:23:32 AM (14 years ago)
Author:
Pascal Terjan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • neercs/protocol

    v2 v3  
    88
    99Currently implemented:
    10  * `ATTACH`:
     10 * `ATTACH %d %d %d`: attach client with a $1x$2 display and refresh delay $3
    1111 * `QUIT`: quit everything
    12  * `DELAY`: update refresh delay
    13  * `RESIZE`: change display size
    14  * `KEY`: key press
    15  * `MOUSEP`: mouse button press
    16  * `MOUSER`: mouse button release
    17  * `MOUSEM`: mouse motion
     12 * `DELAY %d`: update refresh delay
     13 * `RESIZE %d %d`: change display size
     14 * `KEY %d`: key $1 pressed
     15 * `MOUSEP %d %d %d`: mouse button $3 pressed at $1,$2
     16 * `MOUSER %d %d %d`: mouse button $3 released at $1,$2
     17 * `MOUSEM %d %d %d`: mouse motion to $1,$2 with button $3 pressed
    1818
    1919== Server to client commands ==
     
    2222 * `TITLE %d %s`: change display title for window `$1` to `"$2"`
    2323 * `CURSOR %d %d`: set cursor visibility for window `$1` to `$2`
    24  * `REFRESH`: upload part of a window
     24 * `UPDATE %d %d %s`: upload part of a window, caca canvas $3 starting at $1,$2
     25 * `REFRESH %d %d`: refresh display, with cursor at $1,$2 (sent after all updates, when client should be consistent)
    2526 * `DETACH`