Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

defaultsedit(1)

loadkeys(1)

dumpkeys(1)

keytables(5)

INPUT_FROM_DEFAULTS(1)  —  USER COMMANDS

NAME

input_from_defaults, defaults_from_input − update the current state of the mouse and keyboard from the defaults database, and vice versa

SYNOPSIS

input_from_defaults
defaults_from_input

AVAILABILITY

This command is available with the SunView 1 User’s software installation option.  Refer to Installing the SunOS for information on how to install optional software. 

DESCRIPTION

input_from_defaults updates various parameters controlling mouse- and keyboard-processing on the machine on which it is run.  It should be used on systems that are running the SunView window system.  The parameters control the distribution of function keys on the keyboard, the assignment of buttons on the mouse, the scaling of mouse-to-cursor motion, and the effect of two filters on mouse-motion originally provided to compensate for defective mice.  The new values are taken from the defaults database, starting with the file .defaults in the user’s home directory. 

On the Sun386i system, the value /Input/Keyboard_Type is read from the user’s .defaults file. The values specified there are taken from the list of keyboard maps in /usr/share/lib/keytables/∗.  If the value is blank, then the keyboard will be mapped to the default map setting.  Keyboard maps can be created using the dumpkeys utility. 

defaults_from_input is the inverse operation to input_from_defaults.  It updates the user’s private defaults database (used by defaultsedit(1)) to reflect the current state of kernel input parameters listed above. 

FILES

$HOME/.defaults

/usr/lib/defaults/∗.d

/usr/share/lib/keytables/∗

SEE ALSO

defaultsedit(1), loadkeys(1), dumpkeys(1), keytables(5)

SunView 1 Beginner’s Guide

BUGS

input_from_defaults should be targetable to any user’s .defaults file. 

Sun Release 4.0  —  Last change: 6 October 1988

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