| 1 | = The neercs client-server protocol = |
| 2 | |
| 3 | List of commands happening on the client/server sockets. |
| 4 | |
| 5 | == Client to server commands == |
| 6 | |
| 7 | Currently implemented: |
| 8 | * `ATTACH`: |
| 9 | * `QUIT`: quit everything |
| 10 | * `DELAY`: update refresh delay |
| 11 | * `RESIZE`: change display size |
| 12 | * `KEY`: key press |
| 13 | * `MOUSEP`: mouse button press |
| 14 | * `MOUSER`: mouse button release |
| 15 | * `MOUSEM`: mouse motion |
| 16 | |
| 17 | == Server to client commands == |
| 18 | |
| 19 | Currently implemented: |
| 20 | * `TITLE %d %s`: change display title for window `$1` to `"$2"` |
| 21 | * `CURSOR %d %d`: set cursor visibility for window `$1` to `$2` |
| 22 | * `REFRESH`: upload part of a window |
| 23 | * `DETACH` |