Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

suntools(1)

login(1)

switcher(1)

ADJACENTSCREENS(1)  —  USER COMMANDS

NAME

adjacentscreens − notify the window driver of the physical relationships of screens

SYNOPSIS

adjacentscreens [ −c| −m ] center-screen [ [ −l| −r| −t| −b ] side-screen ] [ −x ]

DESCRIPTION

Adjacentscreens tells the mouse cursor tracking mechanism of the window driver how to move between screens that contain windows.  Once properly notified using adjacentscreens, the mouse cursor slides from one screen to another when the user moves the cursor off the edge of a screen.

OPTIONS

−c center-screen
center-screen is a frame buffer device name, such as /dev/fb.  All the other physical screen-positions are relative to this reference point.  The −c flag (c for center) is optional. If no further arguments are present on the command line, center-screen is set to have no neighbors. 

−m center-screen
The −m flag (m for middle) may be used instead of −c. 

−l side-screen
side-screen is also a frame buffer device name, such as /dev/cgone0.  The −l flag means that side-screen is to the left of center-screen.  Up to four repetitions of “flag side-screen” may be specified on the command line to define the four neighbors of center-screen. 

−r side-screen
Like −l, but means that side-screen is to the right of center-screen. 

−t side-screen
Like −l, but means that side-screen is on top of center-screen. 

−b side-screen
Like −l, but means that side-screen is below center-screen. 

−x Suppresses the normal notification to a side-screen cursor tracker that center-screen is its only neighbor.  This option is useful if you have a large number of screens or want strange inter-window cursor movement. 

EXAMPLE

A common configuration would be two screens, a monochrome (/dev/fb) and a color screen (/dev/cgone0).  Let us assume that the user has set up an instance of suntools on each screen (the window systems must be running before adjacentscreens is run).  He would notify the window driver that the color screen was to the right of the monochrome screen by running

% adjacentscreens /dev/fb -r /dev/cgone0

in a Shelltool (see suntools(1)). This sets up cursor tracking so that the cursor slides from the monochrome screen to the color screen when the cursor moves off the right hand side. Similarly, the cursor slides from the color screen to the monochrome screen when the cursor moves off the left hand side of the color screen.

FILES

/usr/bin/adjacentscreens

SEE ALSO

suntools(1), login(1), switcher(1)

BUGS

Window systems on the screens have to be initialized before running adjacentscreens. 

Sun Release 3.5  —  Last change: 3 June 1986

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026