Version 1 (modified by Sam Hocevar, 14 years ago) (diff)

--

The neercs client-server protocol

List of commands happening on the client/server sockets.

Client to server commands

Currently implemented:

  • ATTACH:
  • QUIT: quit everything
  • DELAY: update refresh delay
  • RESIZE: change display size
  • KEY: key press
  • MOUSEP: mouse button press
  • MOUSER: mouse button release
  • MOUSEM: mouse motion

Server to client commands

Currently implemented:

  • TITLE %d %s: change display title for window $1 to "$2"
  • CURSOR %d %d: set cursor visibility for window $1 to $2
  • REFRESH: upload part of a window
  • DETACH