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

  1. * This is a sample host information file for a VM host system with OfficeVision
  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=AUSVM1)
  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.   CLEAR  "Messages Waiting"             * if "Messages Waiting", send Clear
  18.   * The following definitions are for exiting intermediate functions
  19.   NEXT?  "SYSNEWS:",             "@s@3" * if "SYSNEWS:", send PF3
  20.   NEXT?  "FEEDBACK",             "@3"   * if "SYSNEWS:", send PF3
  21.   NEXT?  "In-Basket:",           "@3"   * if "In-Basket", send PF3
  22.   NEXT?  "F3=Exit",              "@3"   * if "F3=Exit", send PF3
  23.   NEXT?  "3=EXIT",               "@3"   * if "3=EXIT", send PF3
  24.   NEXT?  "3= Quit",              "@3"   * if "3= Quit", send PF3
  25.   NEXT?  "PF12  Return",         "@c"   * if "PF12  Return", send PF12
  26.   NEXT?  "PF12= Return",         "@c"   * if "PF12= Return", send PF12
  27.   NEXT?  "PF12 Return",          "@c"   * if "PF12 Return", send PF12
  28.   NEXT?  "MENU 2",               "@b"   * if "MENU 2", send PF11
  29.  
  30. LOGON                   * Section for logon screen definitions
  31.   START  "MSG10",                "@V2 @u@E"   * Start screen
  32.                                               * if found, send V2," ",UID,Enter
  33.    HNAVL "may be down.",         "help@E@S@4" * Host not available error screen
  34.                                               * if found, send "help", Enter,
  35.                                               *   Wait 2 seconds, send F4
  36.    UINV  "not in CP directory",  "logoff@E"   * UserID Invalid error screen
  37.                                               * if found, send "logoff",Enter
  38.    NEXT  "Enter your password",  "@p@E"       * Required next screen
  39.                                               * if found, send PW,Enter
  40.    STOP? "MENU 1"                             * Conditional stop screen
  41.    ULOGD "Already logged on",    "logoff@E"   * UserID is already logged on
  42.                                               * if found, send "logoff",Enter
  43.    PINV  "incorrect password",   "logoff@E"   * Password invalid error screen
  44.                                               * if found, send "logoff",Enter
  45.    PEXP  "PASSWORD EXPIRED",     "logoff@E"   * Password expired error screen
  46.                                               * if found, send "logoff",Enter
  47.    PWRN  "PASSWORD WILL EXPIRE"               * Password expiring warning screen
  48.    NEXT? "CP READ",              "b@E"        * Optional next screen
  49.                                               * if found, send "b",Enter
  50.   STOP   "MENU 1"                             * Required stop screen
  51.  
  52. PASSWORD                * Section for password change screen definitions
  53.   * Password change screen definitions if logged off
  54.   START  "MSG10",                "@V2 @u@E"   * Start screen
  55.                                               * if found, send V2," ",UID,Enter
  56.    HNAVL "may be down.",         "help@E@S@4" * Host not available error screen
  57.                                               * if found, send "help", Enter,
  58.                                               *   Wait 2 seconds, send F4
  59.    UINV  "not in CP directory",  "logoff@E"   * UserID Invalid error
  60.                                               * if found, send "logoff",Enter
  61.    NEXT  "Enter your password",  "@p/@n/@n@E" * Required next screen
  62.                                               * if found, send
  63.                                               *   PW,"/",NPW,"/",NPW,Enter
  64.    ULOGD "Already logged on",    "logoff@E"   * UserID is already logged on
  65.                                               * if found, send "logoff",Enter
  66.    PINV  "incorrect password",   "logoff@E"   * Password invalid error screen
  67.                                               * if found, send "logoff",Enter
  68.    NINV  "NEW PASSWORD INVALID", "logoff@E"   * NewPassword invalid error screen
  69.                                               * if found, send "logoff",Enter
  70.    NEXT? "CP READ",              "b@E@E"      * Optional next screen
  71.                                               * if found, send "b",Enter,Enter
  72.    NEXT  "MENU 1",               "logoff@E"   * Required next screen
  73.                                               * if found, send "logoff",Enter
  74.   STOP   "MSG10"                              * Required stop screen
  75.  
  76.   * Password change screen definitions if logged on and in OfficeVision
  77.   START  "MENU 1",               "@b"         * Start screen
  78.                                               * if found, send PF11
  79.    NEXT  "MENU 2",               "@5"         * Required next screen
  80.                                               * if found, send PF5
  81.    NEXT  "CHANGE PASSWORD",      "@N@N@P@E"   * Required next screen
  82.                                               * if found, send NPW,NPW,PW,Enter
  83.    PNINV "Password not changed", "@c@b"       * PW or NewPW invalid error screen
  84.                                               * if found, send PF12,PF11
  85.    NINV  "must be different",    "@c@b"       * NewPassword invalid error screen
  86.                                               * if found, send PF12,PF11
  87.    NEXT  "MENU 2",               "@b"         * Required next screen
  88.                                               * if found, send PF11
  89.   STOP   "MENU 1"                             * Required stop screen
  90.  
  91. LOGOFF                  * Section for logoff screen definitions
  92.   START  "MENU 1",               "logoff@E"   * Start screen
  93.                                               * if found, send "logoff",Enter
  94.   STOP   "MSG10"                              * Required stop screen
  95.