GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
DEVDRAW(1) FreeBSD General Commands Manual DEVDRAW(1)

devdraw - draw device simulator

invoked via initdraw (see

Devdraw serves a custom graphics protocol and is the only program that talks directly to X window servers.

On macOS, because a laptop trackpad click only has one button (the trackpad itself) Option-click is button 2, and Command-click is button 3. While the main mouse button is held down, Control, Option, and Command serve as simulated buttons 1, 2, 3 for chording in For example, the 1-3 pasting chord in acme can be executed by highlighting text while holding down the trackpad button and then, while still holding down the button, pressing the Command key.

As usual, buttons 4 and 5 represent a scroll wheel. Two-finger scrolling on the trackpad sends those button events.

Holding down shift while clicking adds 5 to the button number. For example, Command-Click is button 3, so Command-Shift-Click is button 8. Most programs do not respond to those buttons; one notable exception is which interprets button 8 (shifted button 3) as a reverse search.

Typing Command-F toggles full screen mode.

Devdraw automatically detects high-resolution (retina) displays. For debugging, typing Command-R toggles retina mode.

Other than the special cases mentioned above, holding down Command while typing a character Kcmd (0xF100) plus that character. Some programs (notably acme(1)) recognize standard keyboard shortcuts such as Command-Z (undo), Command-Shift-Z (redo), Command-X (cut), and Command-V (paste).

On Unix systems, Control-click is mouse button 2, and Alt-click is mouse button 3. While the main mouse button is held down, Control and Alt serve as simulated buttons 2, 3 for chording in For example, the 1-3 pasting chord in acme can be executed by highlighting text while holding down the trackpad button and then, while still holding down the button, pressing the Alt key.

Because the Control and Alt keys have other meanings (see for the Alt key's meaning) and there is no third modifier key like on the Mac, there is no way to type Kcmd variants, so there is no access to keyboard shortcuts for undo, redo, cut, and paste.

/src/cmd/devdraw

Devdraw should probably present a standard 9P server instead of using its own protocol.


Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.