INPUT_FROM_DEFAULTS(1)

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 software installation option. Refer to 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 which 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. When Private_only is False in the $HOME/.defaults file, the /usr/lib/defaults/*.d file is consulted. See defaultsedit(1) for more information about the defaults database.

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
$HOME/.login

SEE ALSO
csh(1), defaultsedit(1)

NOTES
The parameter settings set by input_from_defaults are lost when the system goes down. To set them automatically on login, csh(1) users can include the following in their .login files:

    if (`tty`==/dev/console) then
    	echo 'Setting input defaults'
    	input_from_defaults
    endif

BUGS

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