SW(1M) UNIX Programmer's Manual SW(1M) NAME sw - dip switch settings SYNOPSIS /etc/sw [ -p ] [ -t file ] device [ address [ vector ] ] DESCRIPTION S_w_ knows the sometimes rather peculiar rules behind the dip switch settings for a number of UNIBUS device controllers. If invoked with the -p option, it will list the devices it knows about; otherwise it tells how to set the switches to configure the given d_e_v_i_c_e_ with its registers at a_d_d_r_e_s_s_ and at the given v_e_c_t_o_r_ (both in octal). A missing v_e_c_t_o_r_ or a_d_d_r_e_s_s_ is assumed to be zero. S_w_ reads its knowledge of devices from a file. If -t is specified, it reads the named f_i_l_e_; otherwise a default is used. EXAMPLE $ /etc/sw dz 176100 300 csr (e81) 1 2 3 4 5 6 7 8 9 0 0 0 0 + 0 0 0 + + + vec (e11) 1 2 3 4 5 6 7 8 + + + 0 0 + FILES /etc/dipswitch SEE ALSO config(1m), dipswitch(5) HEP INFO Written at HEP by Norman Wilson, based on an earlier program by Mark Bartelt. Printed 6/15/82 HEP 1