unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (SunOS-4.1.3)
Page:
Section:
Apropos / Subsearch:
optional field

INPUT_FROM_DEFAULTS(1)      General Commands Manual     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  pro-
       vided  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  default-
       sedit(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.



                               8 September 1989         INPUT_FROM_DEFAULTS(1)