home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 8 Other
/
08-Other.zip
/
nsc12.zip
/
nsciin.hif
< prev
next >
Wrap
Text File
|
1996-07-17
|
8KB
|
112 lines
* This is a sample host information file for the IBM Information Network.
* It requires the following HIF Variables in the NSC configuration file:
* V1=host session id (e.g. V1=A or V1=A-E)
* V2=the first command sent for a signon (e.g. V2=iin)
* V3=the account name, plus a tab if less than 8 characters (e.g. V3=AUSD@T)
* V4=first character of PW if extended PW reqd (e.g. V4="" or V4=".")
* V5=password field length: 7 if using extended PWs, 8 otherwise (e.g. V5=7)
CONFIGURATION * Section for configuration options
SESSION @V1 * Host session id from HIF Variable V1
HOSTWAIT 5 * Wait for Host up to 5 seconds
SESSIONWAIT 60 * Wait for Session up to 60 seconds
UFIELD 7 * UserID entry field length
PFIELD @V5 * Password entry field length
GLOBAL * Section for global screen definitions
* The following definitions are for when the screen needs to be cleared
* The following definitions are for exiting intermediate functions
LOGON * Section for logon screen definitions
START "MSG10", "@V2@E" * Start screen
* if found, send V2,Enter
NEXT "SVM0201P", "@V3@U@V4@p@E" * Required next screen
* if found,
* send V3,UID,V4,PW,Enter
STOP? "SVM0401P" * Conditional stop screen
UINV "account and userid", "@T@T@Tlogoff@E" * UserID Invalid error screen
* if found,
* send Tab,Tab,Tab,"logoff",Enter
PINV "an extended password", "@Tlogoff@E" * Password invalid error
* if found,
* send Tab,Tab,Tab,"logoff",Enter
PINV "a valid password", "@Tlogoff@E" * Password invalid error
* if found,
* send Tab,Tab,Tab,"logoff",Enter
PEXP "SVM3201P", "@3@T@T@Tlogoff@E" * Password expired error
* if found, send PF3,
* Tab,Tab,Tab,"logoff",Enter
STOP "SVM0401P" * Required stop screen
PASSWORD * Section for password change screen definitions
* Password change screen definitions if logged off
START "MSG10", "iin@E" * Start screen
* if found, send "iin",Enter
NEXT "SVM0201P", "@V3@U@V4@p@E" * Required next screen
* if found,
* send V3,UID,V4,PW,Enter
UINV "account and userid", "@T@T@Tlogoff@E" * UserID Invalid error screen
* if found,
* send Tab,Tab,Tab,"logoff",Enter
PINV "an extended password", "@T@T@Tlogoff@E" * Password invalid error
* if found,
* send Tab,Tab,Tab,"logoff",Enter
PINV "a valid password", "@T@T@Tlogoff@E" * Password invalid error
* if found,
* send Tab,Tab,Tab,"logoff",Enter
* Password change screen definitions if password has not expired
* If password has expired, system goes directly to the Required next screen
NEXT? "SVM0401P", "@5" * Conditional next screen
* if found, send PF5
NEXT? "SVM1501P", "PAS@E" * Conditional next screen
* if found, send "PAS",Enter
NEXT "SVM3201P", "@V4@P@V4@N@V4@N@E" * Required next screen
* if found,
* send V4,PW,V4,NPW,V4,NPW,Enter
PNINV "an extended password", "@3@3@3@T@T@Tlogoff@E"
* PW or NewPW invalid error screen
* if found, send PF3,PF3,PF3
* Tab,Tab,Tab,"logoff",Enter
PNINV "a valid password", "@3@3@3@T@T@Tlogoff@E"
* PW or NewPW invalid error screen
* if found, send PF3,PF3,PF3
* Tab,Tab,Tab,"logoff",Enter
NINV "new password was inv", "@3@3@3@T@T@Tlogoff@E"
* NewPW invalid error screen
* if found, send PF3,PF3,PF3
* Tab,Tab,Tab,"logoff",Enter
NEXT "successfully changed", "@3","@3@3@3@T@T@Tlogoff@E"
* Required next screen
* if found send PF3, else PF3,PF3
* PF3,Tab,Tab,Tab,"logoff",Enter
NEXT? "SVM1501P", "@3" * Conditional next screen
* if found, send PF3
NEXT "SVM0401P", "@3@T@T@Tlogoff@E" * Required next screen
* if found, send PF3,
* Tab,Tab,Tab,"logoff",Enter
STOP "MSG10" * Required stop screen
* Password change screen definitions if logged on at the main menu
START "SVM0401P", "@5" * Start screen
* if found, PF5
NEXT "SVM1501P", "PAS@E" * Required next screen
* if found, "PAS",Enter
NEXT "SVM3201P", "@V4@P@V4@N@V4@N@E" * Required next screen
* if found,
* send V4,PW,V4,NPW,V4,NPW,Enter
PNINV "an extended password", "@3@3" * PW or NewPW invalid error screen
* if found, send PF3,PF3
PNINV "a valid password", "@3@3" * PW or NewPW invalid error
* if found, send PF3,PF3
NINV "new password was inv", "@3@3" * NewPW invalid error screen
* if found, send PF3,PF3
NEXT "successfully changed", "@3@3","@3@3"* Required next screen
* send PF3,PF3
STOP "SVM0401P" * Required stop screen
LOGOFF * Section for logoff screen definitions
START "SVM0401P", "@3@T@T@Tlogoff@E" * Start screen
* if found, send PF3,
* Tab,Tab,Tab,"logoff",Enter
STOP "MSG10" * Required stop screen