aboutsummaryrefslogtreecommitdiffstats
path: root/doc/protocols
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-09-06 20:31:37 +0200
committerMattias Andrée <maandree@operamail.com>2014-09-06 20:31:41 +0200
commita830fe0c4ee46ef8f6809da68ba36f32ad093a0c (patch)
tree3ba953fb8da6d53fab6c6bb2571027c021ed09ad /doc/protocols
parentmove infrastrucutre protocols into info manual (diff)
downloadmds-a830fe0c4ee46ef8f6809da68ba36f32ad093a0c.tar.gz
mds-a830fe0c4ee46ef8f6809da68ba36f32ad093a0c.tar.bz2
mds-a830fe0c4ee46ef8f6809da68ba36f32ad093a0c.tar.xz
move virtual terminal protocols into the info manual
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--doc/protocols100
1 files changed, 0 insertions, 100 deletions
diff --git a/doc/protocols b/doc/protocols
index 58f0d4d..6270456 100644
--- a/doc/protocols
+++ b/doc/protocols
@@ -611,103 +611,3 @@ Reference implementation: kbd
---------------------------------------------------------------------
-Command: get-vt
- Get the index of the virtual terminal the server is display on
- and the servers file descriptor for that tty
-
-Required header: Client ID
- Your ID, provided by `ID assignment`
- in response to `Command: assign-id`
-
-Response: The server will response with the header `VT index`
- and the index of the virtual terminal the server is
- display on in decimal format. Additionally the server
- will respond with the header `Active` with the value
- `yes` if the VT is in the foreground or the value
- `no` if the VT is in the background.
-
-Purpose: Allow programs to be aware of whether the display
- is in the foreground or the background
-Purpose: Allow programs to be aware of which VT the
- server is running on
-Purpose: Allow programs to gain access of the TTY associated
- with the VT such that they can use ioctl and similar
- calls on that TTY
-
-Compulsivity: required
-
-Reference implementation: vt
-
----------------------------------------------------------------------
-
-Command: configure-vt
- Reconfigure the virtual terminal the server is display on
-
-Required header: Client ID
- Your ID, provided by `ID assignment`
- in response to `Command: assign-id`
-
-Optional header: graphical
- yes) Set the TTY graphical mode
- no) Set the TTY text mode
- The server implementing this protocol should not set the
- TTY to text mode temporarily when switching TTY. It is
- up the the server that set the request for graphical mode
- to temporarily switch to text mode when switching TTY.
-
-Optional header: exclusive
- yes) The server may block other process from opening the TTY.
- no) The server may not block other process from opening the TTY.
-
-Response: The server will response with a `Command: error`
-
-Purpose: Allow presentation servers to enter and leave graphical mode
-Purpose: Allow programs to gain access of the TTY associated
- with the VT such that they can use ioctl and similar
- calls on that TTY
-
-Compulsivity: required
-
-Reference implementation: vt
-
----------------------------------------------------------------------
-
-Command: switching-vt
- Notify servers about an ongoing virtual terminal switch
-
-Required header: Status
- deactivating) The kernel wants to place the display in the background
- activating) The kernel wants to place the display in the foreground
-
-Instructions: When a virtual terminal switch is requested the
- server implementing control VT switching involving
- the display's virtual terminal will get signaled by
- the kernel. Upon this signal the server should
- roadcast this command. All servers that need to
- release or acquire resouces should intercept this
- message with the possibility of modifying it.
- Once a server is ready for the VT to switch it should
- let the message pass to the next server by telling
- the master server that it is no modification to do.
- Once all servers are read for the switch the server
- that emitted this message should signal the kernel
- that it may switch VT. The server should detect
- this by setting up secondary contection to the
- display that intercepts this message. This connection
- should intercept this message with priority −2⁶³,
- all servers that need to perform actions before the
- switch takes place must have a priority higher than
- −2⁶³, preferably 0.
-
-Purpose: Allow servers to release resources when the user switch
- virtual terminal before the terminal actually changes and
- to reacquire resources when the virtual terminal become
- active again
-
-Compulsivity: required
-
-Reference implementation: vt
-Reference implementation: kkbd
-
----------------------------------------------------------------------
-