| 5 | | List of commands happening on the client/server sockets. |
| | 5 | High level client-to-server commands: |
| | 6 | * Establish a connection with the server |
| | 7 | * '''out''': optional connection credentials |
| | 8 | * '''in''': current list of window IDs |
| | 9 | * Open a new process window |
| | 10 | * '''out''': optional command line (otherwise, a new shell is spawned) |
| | 11 | * '''in''': ID of the new window |
| | 12 | * Open a process browser window |
| | 13 | * '''in''': ID of the new window |
| | 14 | * Replace a process browser with the given process |
| | 15 | * '''out''': PID of the process to grab |
| | 16 | * Kill any window |
| | 17 | * '''out''': ID of the window to kill |
| | 18 | * Close the connection with the server |
| 7 | | == Current commands == |
| | 20 | Low level client-to-server commands: |
| | 21 | * Send a keystroke for a given window |
| | 22 | * '''out''': ID of the window, keystroke information |
| | 23 | * Send a mouse event (motion, button press or release) for a given window |
| | 24 | * '''out''': ID of the window, mouse event information |
| | 25 | * Send a resize event for a given window |
| | 26 | * '''out''': ID of the window, resize information |
| | 27 | * Set the active refresh area for a given window. |
| | 28 | * '''out''': ID of the window, area information |