home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / nsc12.zip / nscvm.hif < prev    next >
Text File  |  1996-07-17  |  6KB  |  84 lines

  1. * This is a sample host information file for a VM host system
  2. * It requires the following HIF Variables in the NSC configuration file:
  3. *   V1=host session id  (e.g. V1=A or V1=A-E)
  4. *   V2=the first command sent for a signon with the userid (e.g. V2=AUSVM2)
  5.  
  6. CONFIGURATION           * Section for configuration options
  7.   SESSION     @V1                       * Host session id from HIF Variable V1
  8.   HOSTWAIT    5                         * Wait for Host up to 5 seconds
  9.   SESSIONWAIT 60                        * Wait for Session up to 60 seconds
  10.   UFIELD      8                         * UserID entry field length
  11.   PFIELD      8                         * Password entry field length
  12.  
  13. GLOBAL                  * Section for global screen definitions
  14.   * The following definitions are for when the screen needs to be cleared
  15.   CLEAR  "HOLDING"                      * if "HOLDING", send Clear
  16.   CLEAR  "MORE..."                      * if "MORE...", send Clear
  17.   * The following definitions are for exiting intermediate functions
  18.   NEXT?  "SYSNEWS:",             "@s@3" * if "SYSNEWS:", send PF3
  19.   NEXT?  "F3=Exit",              "@3"   * if "F3=Exit", send PF3
  20.   NEXT?  "3=EXIT",               "@3"   * if "3=EXIT", send PF3
  21.   NEXT?  "3= Quit",              "@3"   * if "3= Quit", send PF3
  22.   NEXT?  "PF12  Return",         "@c"   * if "PF12  Return", send PF12
  23.  
  24. LOGON                   * Section for logon screen definitions
  25.   START  "MSG10",                "@V2 @u@E"   * Start screen
  26.                                               * if found, send V2," ",UID,Enter
  27.    HNAVL "may be down.",         "help@E@S@4" * Host not available error screen
  28.                                               * if found, send "help", Enter,
  29.                                               *   Wait 2 seconds, send F4
  30.    UINV  "not in CP directory",  "logoff@E"   * UserID Invalid error screen
  31.                                               * if found, send "logoff",Enter
  32.    NEXT  "Enter your password",  "@p@E"       * Required next screen
  33.                                               * if found, send PW,Enter
  34.    STOP? "Ready;"                             * Conditional stop screen
  35.    ULOGD "Already logged on",    "logoff@E"   * UserID is already logged on
  36.                                               * if found, send "logoff",Enter
  37.    PINV  "incorrect password",   "logoff@E"   * Password invalid error screen
  38.                                               * if found, send "logoff",Enter
  39.    PEXP  "PASSWORD EXPIRED",     "logoff@E"   * Password expired error screen
  40.                                               * if found, send "logoff",Enter
  41.    PWRN  "PASSWORD WILL EXPIRE"               * Password expiring warning screen
  42.    NEXT? "CP READ",              "b@E"        * Optional next screen
  43.                                               * if found, send "b",Enter
  44.    STOP? "Ready;"                             * Conditional stop screen
  45.   STOP   "RUNNING"                            * Required stop screen
  46.  
  47. PASSWORD                * Section for password change screen definitions
  48.   * Password change screen definitions if logged off
  49.   START  "MSG10",                "@V2 @u@E"   * Start screen
  50.                                               * if found, send V2," ",UID,Enter
  51.    HNAVL "may be down.",         "help@E@S@4" * Host not available error screen
  52.                                               * if found, send "help", Enter,
  53.                                               *   Wait 2 seconds, send F4
  54.    UINV  "not in CP directory",  "logoff@E"   * UserID Invalid error
  55.                                               * if found, send "logoff",Enter
  56.    NEXT  "Enter your password",  "@p/@n/@n@E" * Required next screen
  57.                                               * if found, send
  58.                                               *   PW,"/",NPW,"/",NPW,Enter
  59.    ULOGD "Already logged on",    "logoff@E"   * UserID is already logged on
  60.                                               * if found, send "logoff",Enter
  61.    PINV  "incorrect password",   "logoff@E"   * Password invalid error screen
  62.                                               * if found, send "logoff",Enter
  63.    NINV  "NEW PASSWORD INVALID", "logoff@E"   * NewPassword invalid error screen
  64.                                               * if found, send "logoff",Enter
  65.    NEXT? "CP READ",              "b@E@E"      * Optional next screen
  66.                                               * if found, send "b",Enter,Enter
  67.    NEXT  "Ready;",               "logoff@E"   * Required next screen
  68.                                               * if found, send "logoff",Enter
  69.   STOP   "MSG10"                              * Required stop screen
  70.  
  71.   * Password change screen definitions if logged on and in native CMS
  72.   START  "RUNNING",              "password@E" * Start screen
  73.                                               * if found, send "password",Enter
  74.    NEXT  "U P D A T E",          "@P@N@N@E"   * Required next screen
  75.                                               * if found, send PW,NPW,NWP,Enter
  76.    PNINV "RACF did not like",    "@C"         * PW or NewPW invalid error screen
  77.                                               * if found, send Clear
  78.   STOP   "Ready;"                             * Required stop screen
  79.  
  80. LOGOFF                  * Section for logoff screen definitions
  81.   START  "RUNNING",              "logoff@E"   * Start screen
  82.                                               * if found, send "logoff",Enter
  83.   STOP   "MSG10"                              * Required stop screen
  84.