home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / a_man / cat1 / sysadm / getjavafrompref.z / getjavafrompref
Encoding:
Text File  |  2002-10-03  |  2.2 KB  |  67 lines

  1.  
  2.  
  3.  
  4. GGGGEEEETTTTJJJJAAAAVVVVAAAAFFFFRRRROOOOMMMMPPPPRRRREEEEFFFF((((1111MMMM))))                                        GGGGEEEETTTTJJJJAAAAVVVVAAAAFFFFRRRROOOOMMMMPPPPRRRREEEEFFFF((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      getjavafrompref - get the state of Java or JavaScript
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ////uuuussssrrrr////ssssyyyyssssaaaaddddmmmm////pppprrrriiiivvvvbbbbiiiinnnn////ggggeeeettttjjjjaaaavvvvaaaaffffrrrroooommmmpppprrrreeeeffff ----llll _l_o_g_i_n_N_a_m_e ----jjjj||||----ssss
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      _G_e_t_j_a_v_a_f_r_o_m_p_r_e_f gets the state of Java or JavaScript from the _p_r_e_f_e_r_e_n_c_e_s
  16.      file of the user account home directory.  If the preferences file does
  17.      not exist, it reads $_H_O_M_E/._E_Z_s_e_t_u_p_D_a_t_a/<_l_o_g_i_n>-_w_w_w_S_e_c_u_r_e_D_a_t_a for status.
  18.      For javaScript, it checks the WebViewer configuration file in
  19.      $_H_O_M_E/._w_e_b/._w_e_b_d_e_f_a_u_l_t_s also.
  20.  
  21.      When the command is completed, it writes a '0' to stdout if no status
  22.      file is found. It writes a '1' if Java or Netscape JavaScript is
  23.      disabled; it writes a '2' if Java or Netscape JavaScript is enabled; it
  24.      writes a '4' if WebViewer JavaScript is disabled; it writes an '8' if
  25.      WebViewer JavaScript is enabled.
  26.  
  27. OOOOPPPPTTTTIIIIOOOONNNNSSSS
  28.      ----llll _l_o_g_i_n_N_a_m_e
  29.                Specifies the name of the account that should be looked up.
  30.  
  31.      ----jjjj        It means get the status of Java.
  32.  
  33.      ----ssss        It means get the status of JavaScript.
  34.  
  35. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  36.      sysmgr(1M), runpriv(1M).
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.