Category : Communication (modem) tools and utilities
Archive   : ZIFF.ZIP
Filename : ZIFFPLUS.ASP

 
Output of file : ZIFFPLUS.ASP contained in archive : ZIFF.ZIP
;
; *************************************************
; *************************************************
; ** ZIFF **
; ** ÛßßÛ Û Û Û Ûßßß **
; ** ÛÜÜÛ Û Û Û ÛÜÜÜ Procomm Plus 2.x **
; ** Û Û Û Û Û Aspect(tm) Script **
; ** ß ßßßß ßßßß ßßßß **
; ** Version 1.00 **
; ** **
; ** Written by James D. McDaniel (72241,322) **
; ** Copyright (c) 1991 by Ziff Communications **
; ** Last Edit was on 10-3-91 **
; *************************************************
; *************************************************
;
; You may use this program free of charge. If you make changes that
; enhance its operation, please send a copy to the PC MagNet
; Utilities/Tips Forum!
;
; You will find both the compiled script (.ASX) and source file (.ASP) in
; this set. ZiffPlus maintains your PASSWORD & Account number in the file
; ZIFF.CFG so you do not need to recompile the script to use it. Should you
; pass out a copy of the ZiffPlus Script, DO NOT GIVE them your ZIFF.CFG
; file. If you forget, log on CIS/ZiffNet and change your password at once.
;
; This Script requires the Large Model ASPECT compiler. Please read the
; ZiffPlus document file for more details.
;
; This file also contains Script Segments From:
;
; DataStorm's Cserve Asp file / Rob Dunders ListBox Asp file
;
; ListBox is included by permission of Rob Dunders (6-25-91)
;
String CIS_Number,CIS_HighSpD,ID,PassWord,YourDir,RunCommand
String FCommand,TheDate,Month,Day,FName,TName,DFile,FTemp,DLib,Dlib2="0"
String Answer,IValue1,CRTMode,ScrnBlnk,OnLineScrn,DDnLdDir,DOld
String ActiveName,FileSpec,LogSpec
Integer Count,HighSpeed,SelForum,LargeBox=2,InKey,Config,Action=0,ScreenBlnk
Integer ForumSave,FirstTime,OnLine=0,XCurOn,BlankDone,VidLast=1,OpenScrn
Integer Lev0,Lev1,Lev2,Lev3,Lev4,Lev5,Lev6,ScreenMode,SoftAct=0,Klen,MMEM=0
;
; Default User Custom Forum Name
;
String UserForum="IBMOS2"
;
; Default Cursor State While OnLine, 1=BLOCK CUR ON & 0=BLOCK CUR OFF
;
Integer BState=1
;
; Default CisB Enquire State, 1=ON anytime online, 0=OFF except on download
;
Integer Enquire=1
;
;-------- System Colors, change if required ---------------
;
; When you configure ZIFFPLUS.ASP for COLOR,
; you will use the following colors
;
Integer CLev0=79 ; Menu Headings, top Level Menus
Integer CLev1=47 ; Secondary Menu Colors
Integer CLev2=31 ; Default OnLine backgrd Screen Color
Integer CLev3=63 ; Third Level Menu Colors
Integer CLev4=112 ; Menu Key Highlight
Integer CLev5=63 ; Default Ofline backgrd Screen Color
Integer CLev6=71 ; Configuration Line titles
;
;-------- Possible monochrome colors ----------------------
;
; When you configure ZIFFPLUS.ASP for B&W,
; you will use the following colors
;
Integer BLev0=112 ; Menu Headings, top Level Menus
Integer BLev1=112 ; Secondary Menu Colors
Integer BLev2=112 ; Default OnLine Screen Colors
Integer BLev3=112 ; Third Level Menu Colors
Integer BLev4=15 ; Menu Key Highlight
Integer BLev5=15 ; Default Ofline backgrd Screen Color
Integer BLev6=112 ; Configuration Line titles
;
;-------- Global variables used by ListBox ---------------
;
define TRUE 1
define FALSE 0
String ListBoxIt1 ; Item number 1 for ListBox
String ListBoxIt2 ; Item number 2 for ListBox
String ListBoxIt3 ; Item number 3 for ListBox
String ListBoxIt4 ; Item number 4 for ListBox
String ListBoxIt5 ; Item number 5 for ListBox
String ListBoxIt6 ; Item number 6 for ListBox
String ListBoxIt7 ; Item number 7 for ListBox
String ListBoxIt8 ; Item number 8 for ListBox
String ListBoxIt9 ; Item number 9 for ListBox
String Boxheading
Integer NumListBoxIts ; number of list box items
Integer ListBoxAction ; Return code from ListBox
Integer VideoScrn,Cur=1,x
;
;**************************************************************************
;* MAIN Program Menu *
;**************************************************************************
;
Proc Main
Integer Tmp
String Temp,SDir
Set RXData On
Lev0=BLev0
Lev1=BLev1
Lev2=BLev2
Lev3=BLev3
Lev4=BLev4
Lev5=BLev5
Lev6=BLev6
HighSpeed=TRUE
Set Keys On ; disable keyboard to host
Set Alarm Off
Set Atime 0
Cur=1
Set Screen 25x80
CurOff
Set StatLine Off
Call ReadFile
If Null CRTMode
Config=FALSE
Endif
If Config==FALSE
StrCpy FCommand "MENU"
Call ConfigMenu
EndIf
Call SetColors
Call SetBlank
Call ScrnOnLine
If FromDdir
Clear Lev2
AtSay 1 15 Lev0 "ZIFFPLUS.ASP Can not be run from the Dialing Directory!"
AtSay 3 23 Lev0 "Press Any Key to Exit ZIFFPLUS.ASP ..."
KeyGet
ParmRest
Exit
EndIf
OpenScrn=TRUE
Call ScrnBack
Atsay 1 16 Lev0 " ZIFF "
Atsay 2 16 Lev0 " ÛßßÛ Û Û Û Ûßßß "
Atsay 3 16 Lev0 " ÛÜÜÛ Û Û Û ÛÜÜÜ Procomm Plus 2.x "
Atsay 4 16 Lev0 " Û Û Û Û Û Aspect(tm) Script "
Atsay 5 16 Lev0 " ß ßßßß ßßßß ßßßß "
Atsay 6 16 Lev0 " Version 1.00 "
FOR TMP= 2 UPTO 7
PUTVATTR TMP 64 8
PUTVATTR TMP 65 8
ENDFOR
FOR TMP=18 UPTO 64
PUTVATTR 7 TMP 8
ENDFOR
Atsay 10 25 Lev1 " Written by James D. McDaniel "
Atsay 11 25 Lev1 " Copyright (c) 1991 by "
Atsay 12 25 Lev1 " Ziff Communications "
FOR TMP=11 UPTO 13
PUTVATTR TMP 55 8
PUTVATTR TMP 56 8
ENDFOR
FOR TMP=27 UPTO 55
PUTVATTR 13 TMP 8
ENDFOR
Atsay 15 13 Lev2 " - ZiffNet - "
Atsay 16 13 Lev2 " The Online Resource for Computer-Related Information "
Atsay 17 13 Lev2 " Home of PC MagNet from PC Magazine, "
Atsay 18 13 Lev2 " Extra! from PC Week, PC/Contact from PC Computing, "
Atsay 19 13 Lev2 " and Computer Shopper. "
FOR TMP=16 UPTO 20
PUTVATTR TMP 67 8
PUTVATTR TMP 68 8
ENDFOR
FOR TMP=15 UPTO 68
PUTVATTR 20 TMP 8
ENDFOR
Atsay 23 25 Lev5 " << Press Any Key To Start >> "
Call BlankMe
KeyGet
OpenScrn=FALSE
StartOver:
Call ScrnBack
BoxHeading = "ZiffPlus ProComm Plus 2.x Aspect(tm) Script v1.00"
Call HeadBox with 2, Lev0
Boxheading = \
"F1=Help, Use Up/Down Arrows with Enter Key or Select Option Number"
Call HeadBox With 21, Lev0
While Forever
ListBoxIt1 = "1 AfterHours, Editorial, Programming, UtilForum ... "
ListBoxIt2 = "2 Computer Shopper, PC Week, PC/Contact, Practice ..."
ListBoxIt3 = "3 File Finder, Reviews Index, SoftLib Library ... "
ListBoxIt4 = "4 Billing, Electronic Mail, Terminal Setup ... "
ListBoxIt5 = "5 Selected CompuServe Forums Menu ... "
ListBoxIt6 = "6 Read Message and File Capture Logs ... "
ListBoxIt7 = "7 Shell to DOS (Type Exit to Return} "
ListBoxIt8 = "8 Configure ZiffNet Script File ... "
ListBoxIt9 = "9 Exit ZiffPlus Script "
NumListBoxIts = 9
MMEM=1
Call ListBox with 6, 9, Lev1, Lev4 ; Display Main Menu Selections
MMEM=0
VidSave 1
Switch ListBoxAction
Case 1
Call Forum
Cur=1
EndCase
Case 2
Call Forum2
Cur=2
EndCase
Case 3
SelForum=9
Call SoftLib
Cur=3
EndCase
Case 4
Call CISMenu
Cur=4
EndCase
Case 5
Call CISForum
Cur=5
EndCase
Case 6
StrCpy FileSpec YourDir
StrCat FileSpec "\*.LOG"
Call GetFname With 7 18 Lev2
If Not Null ActiveName
StrCpy FName YourDir
StrCat FName "\"
StrCat Fname ActiveName
StrCpy TName RunCommand
StrCat TName " "
StrCat TName FName
RUN TName
EndIf
Cur=6
EndCase
Case 7
GetDir 0 SDir
Shell
ChDir SDir
Cur=7
EndCase
Case 8
StrCpy Temp CRTMode
Call ConfigMenu
StrCmp Temp CRTMode
If Not Success
goto StartOver
EndIf
Cur=8
EndCase
Case 9
BoxHeading = "Exit to OS or

rocomm : "
Call HeadBox With 11, Lev2
Locate 11 55
CurOn
KeyGet Tmp
CurOff
If Tmp==100
Tmp=68
EndIf
If Tmp==112
Tmp=80
EndIf
If Tmp==68
BYE
EndIf
If Tmp==80
Clear Lev2
Set AspDebug Off
Set StatLine on
Set RXData OFF
Set Alarm on
Set Atime 15
Set keys Off
ParmRest
Exit
Endif
EndCase
Case 15104
Call HelpMain
EndCase
EndSwitch
VidRest 1
EndWhile
EndProc
;
;**************************************************************************
;* Display ZiffNet's PC MagNet Forums Menu *
;**************************************************************************
;
Proc Forum
Integer Tmp
Cur=1
While ForEver
ListBoxIt1 = "1 PC MagNet - After Hours Forum ... "
ListBoxIt2 = "2 PC MagNet - Editorial Forum ... "
ListBoxIt3 = "3 PC MagNet - Programming Forum ... "
ListBoxIt4 = "4 PC MagNet - Utilities Forum ... "
If Action==0
NumListBoxIts = 4
Else
ListBoxIt5 = "5 ZiffNet Software Library ... "
ListBoxIt6 = "6 Go To The Electronic MAIL Menu ..."
NumListBoxIts = 6
EndIf
If Not Action==0
Tmp=Lev0
Else
Tmp=Lev2
EndIf
Call ListBox With 8, 20, Tmp, Lev4 ; Display Main Menu Selections
If Action==0
VidSave 2
EndIf
Switch ListBoxAction
Case 1
SelForum=4
If Action==0
Call ActionMenu
Else
ExitWhile
EndIf
Cur=1
EndCase
Case 2
SelForum=1
If Action==0
Call ActionMenu
Else
ExitWhile
EndIf
Cur=2
EndCase
Case 3
SelForum=2
If Action==0
Call ActionMenu
Else
ExitWhile
EndIf
Cur=3
EndCase
Case 4
SelForum=3
If Action==0
Call ActionMenu
Else
ExitWhile
EndIf
Cur=4
EndCase
Case 5
SelForum=8
ExitWhile
EndCase
Case 6
SelForum=10
ExitWhile
EndCase
Case 10
VidRest VideoScrn
ExitWhile
EndCase
Case 27
If Action==0
VidRest VideoScrn
EndIf
ExitWhile
EndCase
Case 15104
If Action==0
Call HelpForum
EndIf
EndCase
EndSwitch
Clear Lev2
If Action==0
VidRest 2
EndIf
EndWhile
EndProc
;
;**************************************************************************
;* Display Other ZiffNet Forums Menu *
;**************************************************************************
;
Proc Forum2
Integer Tmp
Cur=1
While ForEver
ListBoxIt1 = "1 Computer Shopper - COMPSHOPPER Forum ..."
ListBoxIt2 = "2 PC Computing - PC/Contact Forum ... "
ListBoxIt3 = "3 PC Week - PCWEEK Forum ... "
ListBoxIt4 = "4 Practice Forum - Free Connection ... "
If Action==0
NumListBoxIts = 4
Else
ListBoxIt5 = "5 ZiffNet File Finder ... "
ListBoxIt6 = "6 ZiffNet Reviews Database ... "
NumListBoxIts = 6
EndIf
If Not Action==0
Tmp=Lev0
Else
Tmp=Lev2
EndIf
Call ListBox With 8, 20, Tmp, Lev4 ; Display Main Menu Selections
If Action==0
VidSave 2
EndIf
Switch ListBoxAction
Case 1
SelForum=24
If Action==0
Call ActionMenu
Else
ExitWhile
EndIf
Cur=1
EndCase
Case 2
SelForum=5
If Action==0
Call ActionMenu
Else
ExitWhile
EndIf
Cur=2
EndCase
Case 3
SelForum=6
If Action==0
Call ActionMenu
Else
ExitWhile
EndIf
Cur=3
EndCase
Case 4
SelForum=7
If Action==0
Call ActionMenu
Else
ExitWhile
EndIf
Cur=4
EndCase
Case 5
SelForum=21
ExitWhile
EndCase
Case 6
SelForum=22
ExitWhile
EndCase
Case 10
VidRest VideoScrn
ExitWhile
EndCase
Case 27
If Action==0
VidRest VideoScrn
EndIf
ExitWhile
EndCase
Case 15104
If Action==0
Call HelpForum2
EndIf
EndCase
EndSwitch
Clear Lev2
If Action==0
VidRest 2
EndIf
EndWhile
EndProc
;
;**************************************************************************
;* SoftLib Database Menu *
;**************************************************************************
;
Proc SoftLib
Cur=1
While forever
ListBoxIt1 = "1 ZiffNet File Finder  "
ListBoxIt2 = "2 ZiffNet Reviews Database  "
ListBoxIt3 = "3 Auto Log To SoftLib Database  "
ListBoxIt4 = "4 Auto Download SoftLib File(s) ..."
NumListBoxIts = 4
Call ListBox With 8, 20, Lev2, Lev4 ; Display Main Menu Selections
VidSave 2
Switch ListBoxAction
Case 1
SelForum=21
Call AutoLog
Cur=1
EndCase
Case 2
SelForum=22
Call AutoLog
Cur=2
EndCase
Case 3
SelForum=8
Call AutoLog
Cur=3
EndCase
Case 4
SoftAct=-1
SelForum=8
Call DownFile
SoftAct=0
Cur=4
EndCase
Case 27
VidRest VideoScrn
ExitWhile
EndCase
Case 15104
Call HelpSoft
EndCase
EndSwitch
Clear Lev2
VidRest 2
EndWhile
EndProc
;
;**************************************************************************
;* CompuServe Service Menu *
;**************************************************************************
;
Proc CISMenu
Cur=1
While forever
ListBoxIt1 = "1 Auto Log To Billing Information Area "
ListBoxIt2 = "2 Auto Log To Electronic MAIL Area  "
ListBoxIt3 = "3 Auto Log To Terminal Setup Area  "
NumListBoxIts = 3
Call ListBox With 8, 20, Lev2, Lev4 ; Display Main Menu Selections
VidSave 2
Switch ListBoxAction
Case 1
SelForum=19
Call AutoLog
Cur=1

EndCase
Case 2
SelForum=10
Call AutoLog
Cur=2
EndCase
Case 3
SelForum=20
Call AutoLog
Cur=3
EndCase
Case 27
VidRest VideoScrn
ExitWhile
EndCase
Case 15104
Call HelpCIS2
EndCase
EndSwitch
Clear Lev2
VidRest 2
EndWhile
EndProc
;
;**************************************************************************
;* CompuServe Forums Menu *
;**************************************************************************
;
Proc CISForum
Cur=1
While Forever
ListBoxIt1 = "1 User Prompted CompuServe Forum Name ..."
ListBoxIt2 = "2 DataStorm Forum ... "
ListBoxIt3 = "3 IBM HardWare Forum ... "
ListBoxIt4 = "4 IBM Application Forum ... "
ListBoxIt5 = "5 IBM Systems Forum ... "
ListBoxIt6 = "6 IBM Communications Forum ... "
ListBoxIt7 = "7 MicroSoft Advanced Windows Forum ... "
ListBoxIt8 = "8 MicroSoft Operating System Forum ... "
NumListBoxIts = 8
Call ListBox With 8, 20, Lev2, Lev4 ; Display Main Menu Selections
VidSave 2
Switch ListBoxAction
Case 1
SelForum=100
Call AskForum
Call ActionMenu
Cur=1
EndCase
Case 2
SelForum=17
Call ActionMenu
Cur=2
EndCase
Case 3
SelForum=11
Call ActionMenu
Cur=3
EndCase
Case 4
SelForum=12
Call ActionMenu
Cur=4
EndCase
Case 5
SelForum=13
Call ActionMenu
Cur=5
EndCase
Case 6
SelForum=14
Call ActionMenu
Cur=6
EndCase
Case 7
SelForum=15
Call ActionMenu
Cur=7
EndCase
Case 8
SelForum=16
Call ActionMenu
Cur=8
EndCase
Case 27
VidRest VideoScrn
ExitWhile
EndCase
Case 15104
Call HelpCIS
EndCase
EndSwitch
Clear Lev2
VidRest 2
EndWhile
EndProc
;
;**************************************************************************
;* Display Action Selection Menu *
;**************************************************************************
;
Proc ActionMenu
Cur=1
While Forever
ListBoxIt1 = "1 Auto Log On To Forum  "
ListBoxIt2 = "2 Read New Messages  "
ListBoxIt3 = "3 Read New File Descriptions ..."
ListBoxIt4 = "4 Download a Forum File ... "
NumListBoxIts = 4
Call ListBox With 10, 31, Lev3, Lev4 ; Display Main Menu Selections
VidSave 0
Switch ListBoxAction
Case 1
Call AutoLog
Cur=1
EndCase
Case 2
Call SelLogName
Call Mess
Cur=2
EndCase
Case 3
Call SelLogName
Call FDeScript
Cur=3
EndCase
Case 4
Call SelLogName
Call DownFile
Cur=4
EndCase
Case 27
VidRest VideoScrn
ExitWhile
EndCase
Case 15104
Call HelpAction
EndCase
EndSwitch
VidRest 0
EndWhile
EndProc
;
;**************************************************************************
;* Log On To Forum and Switch to Manual *
;**************************************************************************
;
Proc AutoLog
Call SelLogName
StrCmp LogSpec "Q"
If Success
Goto EndAuto
EndIf
HighSpeed=FALSE
Clear Lev2
Set StatLine on
Call DialNum
Call GoForum
Call Idle
HighSpeed=TRUE
EndAuto:
EndProc
;
;**************************************************************************
;* Allow User to change Capture Log Name *
;**************************************************************************
;
Proc SelLogName
Integer Temp
BoxHeading="Change the default LOG file name (Y/N): "
Call HeadBox With 13 Lev0
Locate 13 59
CurOn
KeyGet Temp
CurOff
If Temp==121
Temp=89
EndIf
If Temp==89
StrCpy FName ""
Call MakeName
StrCpy LogSpec FName
StrCpy FName ""
AtSay 13 19 Lev0 "Enter an Eight Character FileName: "
AtGet 13 54 Lev0 8 LogSpec DEFAULT
Else
Strcpy LogSpec ""
EndIf
EndProc
;
;**************************************************************************
;* Capture Selected Forum Messages *
;**************************************************************************
;
Proc Mess
Call DialNum
Call GoForum
Call getmesg
TransMit "LOG^M"
Set ENQ Off
WaitFor "^M^JUser ID: "
Log Close
HANGUP
Call Idle
EndProc
;
;**************************************************************************
;* Capture Forum File Descriptions *
;**************************************************************************
;
Proc FDeScript
Call ScrnBack
Call GDays
StrCmp DLib "-1"
If Success

Return
EndIf
Call DialNum
Call GoForum
Call GetInfo
TransMit "LOG^M"
WaitFor "^M^JUser ID: "
Log Close
Set ENQ Off
HANGUP
Call Idle
EndProc
;
;**************************************************************************
;* Idle Time While Auto Log Connected *
;**************************************************************************
;
Proc Idle
Integer Tmp
Tmp=Cur
While Connected
If HitKey==16128
KFlush
Set keys On
CurOff
Action=-1
Call Forum
Call GoForum
Action=0
CurOn
IF BState==1
Set BlockCur ON
Else
Set BlockCur OFF
EndIf
Clear Lev2
Set keys Off
EndIf
If HitKey==16384
KFlush
Set keys On
CurOff
Action=-1
Call Forum2
Call GoForum
Action=0
CurOn
IF BState==1
Set BlockCur ON
Else
Set BlockCur OFF
EndIf
Clear Lev2
Set keys Off
EndIf
EndWhile
Pause 1
Set screen 25x80
Set Keys On ;disable key to host
CurOff
Cur=Tmp
SelForum=ForumSave
OnLine=FALSE
Set StatLine Off
LOG Close
Set RXData On
HangUp
EndProc
;
;**************************************************************************
;* Download Selected Forum Files *
;**************************************************************************
;
Proc DownFile
Integer Tmp
Call ScrnBack
Call GFile
strpeek Answer 0 Tmp
If Tmp==27
Return
EndIf
Set Enq CISb ; turn on auto CIS downloads
StrCmp s2 ""
If Success
goto getout
EndIf
Call DialNum
Call GoForum
If SoftAct==0
Call DwnLd
Else
Call SoftDwnLd
EndIf
TransMit "LOG^M"
WaitFor "^M^JUser ID: "
Set ENQ Off
HANGUP
Call Idle
Getout:
CurOff
EndProc
;
;************************************************************************
;* Ask for File to Download *
;************************************************************************
;
Proc GFile
Integer Tmp,temp
s1=""
s2=""
s3=""
s4=""
s5=""
s6=""
s7=""
s8=""
s9=""
s0=""
Count=1
Call ScrnBack
DLib="0"
BoxHeading = "Information On File(s) To Download"
Call HeadBox With 2, Lev0
LargeBox=8
If SoftAct==0
BoxHeading = "Entry - Lib # - Download File Name"
Else
BoxHeading = "Entry - Download File Name"
EndIf
Call HeadBox with 8, Lev1
LargeBox=2
AtSay 10 25 Lev1 "1 "
AtSay 11 25 Lev1 "2 "
AtSay 12 25 Lev1 "3 "
AtSay 13 25 Lev1 "4 "
AtSay 14 25 Lev1 "5 "
While Forever
Call AskName
StrCmp DFile ""
If Success
Count=6
Temp=78
EndIf
StrCmp Dlib ""
If Success
DLib="0"
EndIf
Tmp=Count+9
If Count < 6
If SoftAct==0
AtSay Tmp 32 Lev1 DLib
EndIf
AtSay Tmp 43 Lev1 DFile
EndIf
Switch Count
Case 1
StrCpy s1 DLib
StrCpy s2 DFile
EndCase
Case 2
StrCpy s3 DLib
StrCpy s4 DFile
EndCase
Case 3
StrCpy s5 DLib
StrCpy s6 DFile
EndCase
Case 4
StrCpy s7 DLib
StrCpy s8 DFile
EndCase
Case 5
StrCpy s9 DLib
StrCpy s0 DFile
EndCase
EndSwitch
Inc Count
If Count<6
AtSay 20 19 Lev2 "Download Another File (Y/N): "
Locate 20 48
CurOn
KeyGet Temp
CurOff
If Temp==110
Temp=78
EndIf
EndIf
If Temp==78
AtSay 20 17 Lev2 "Do You Wish to Continue the Download (Y/N) : "
Locate 20 62
CurOn
KeyGet Temp
If Temp==110
Temp=78
EndIf
If Temp==78
Strpoke Answer 0 27
Return
Else
Return
EndIf
EndIf
EndWhile
EndProc
;
;***********************************************************************
;* Ask For Library and File Name *
;***********************************************************************
;
Proc AskName
String Temp, Temp2

StrCmp DLib ""
If Success
DLIB="0"
EndIf
Temp2=DLib
BoxHeading = " "
Call HeadBox With 20, Lev2
StrCpy Temp "Enter Library Number <"
StrCat Temp DLib
StrCat Temp ">: "
AtSay 20 19 Lev2 Temp
If SoftAct==0
AtGet 20 46 Lev2 3 DLib
If NULL DLIB
DLIB=Temp2
EndIf
EndIf
AtSay 20 19 Lev2 "Enter Name Of File To Download: "
AtGet 20 51 Lev2 13 DFile
EndProc
;
;***********************************************************************
;* Ask For User Forum Name *
;***********************************************************************
;
Proc AskForum
Integer Tmp
String Temp
StrCpy Temp UserForum
VidSave 0
LargeBox=5
BoxHeading = "The Default Forum Name is : "
Call HeadBox With 12, Lev3
LargeBox=2
AtSay 12 46 Lev3 UserForum
AtSay 15 17 Lev3 "Do You Wish to Enter a New Forum Name (Y/N): "
CurOn
locate 15 62
KeyGet Tmp
CurOff
If Tmp==121
Tmp=89
EndIf
If Tmp==89
AtSay 15 17 Lev3 "Enter The New CIS Forum Name: "
AtGet 15 47 Lev3 14 UserForum
EndIf
If Null UserForum
StrCpy UserForum Temp
EndIf
VidRest 0
EndProc
;
;************************************************************************
;* Download a file Section *
;************************************************************************
;
Proc DwnLd
N3=1
Integer Tmp
STRPEEK FCommand 0 Tmp
If NOT Tmp==67
WaitFor " !" 10
TransMit "^M"
Else
WaitFor "Forum !" 10
EndIf
n1=1
While forever
Switch n1
Case 1
StrCpy DLib s1
StrCpy DFile s2
EndCase
Case 2
StrCpy DLib s3
StrCpy DFile s4
EndCase
Case 3
StrCpy DLib s5
StrCpy DFile s6
EndCase
Case 4
StrCpy DLib s7
StrCpy DFile s8
EndCase
Case 5
StrCpy DLib s9
StrCpy DFile s0
EndCase
EndSwitch
If NOT Tmp==67
WaitFor "choice !"
EndIf
TransMit "LIB "
If Null DLib
TransMit "0^M"
Else
TransMit DLib
TransMit "^M"
EndIf
If NOT Tmp==67
WaitFor "choice !"
Else
WaitFor "!"
EndIf
TransMit "DOW " ; download a file
TransMit DFile
TransMit " PROTO:B+^M"
Pause 1
WaitFor "computer:" 15
If Not WaitFor
Goto OneMore
EndIf
StrCpy FTemp DDnLdDir
StrCat FTemp "\"
StrCat FTemp DFile
TransMit FTemp ; download file name with directory
TransMit "^M"
Pause 1
WaitFor "!" ForEver
OneMore:
TransMit "^M"
Inc N1
If N1==Count
Return
EndIf
EndWhile
EndProc
;
;************************************************************************
;* Download a file Section *
;************************************************************************
;
Proc SoftDwnLd
Integer Temp,Ftim=0,Ecount=0
Temp=0
N3=1
N1=1
While Forever
Again:
If Not Ftim==0
TransMit "go znt:softLib^M"
Else
Ftim=1
EndIf
WAITFOR "ZiffNet Library"
Pause 1
TRANSMIT "^C"
WAITFOR "M for prior MENU"
TRANSMIT "4^M"
WAITFOR "ample, DR.COM) : "
PAUSE 1
Switch N1
Case 1
StrCpy DLib s1
StrCpy DFile s2
EndCase
Case 2
StrCpy DLib s3
StrCpy DFile s4
EndCase
Case 3
StrCpy DLib s5
StrCpy DFile s6
EndCase
Case 4
StrCpy DLib s7
StrCpy DFile s8
EndCase
Case 5
StrCpy DLib s9
StrCpy DFile s0
EndCase
EndSwitch
TransMit DFile
TransMit "^M"
WaitFor " file? (Y/N):" 10
IF WAITFOR
TRANSMIT "^C"
WAITFOR "M for prior MENU"
TRANSMIT "Y^M"
Else
TransMit "^C"
WAITFOR "M for prior MENU"
TransMit "T^M"
If Not Ecount==1
Inc Ecount
Goto Again
Else
Ecount=0
Goto Cycle
EndIf
EndIf
WAITFOR "begin transfer" 15
PAUSE 1
TRANSMIT "^M"
WAITFOR "Kermit"
PAUSE 1
TRANSMIT "5^M"
PAUSE 2
WAITFOR "!"
PAUSE 1
TransMit "^M"
Cycle:
Inc N1
If N1==Count
Return
EndIf
EndWhile
EndProc
;
;**************************************************************************
;* Goto Selected Forum *
;**************************************************************************
;
Proc GoForum
Switch SelForum
Case 1
TransMit "go znt:editor^M"
EndCase
Case 2
TransMit "go znt:progra^M"
EndCase
Case 3
TransMit "go znt:utilfor^M"
EndCase
Case 4
TransMit "go znt:afterh^M"
EndCase
Case 5
TransMit "go znt:pccontact^M"
EndCase
Case 6
TransMit "go znt:pcweek^M"
EndCase
Case 7
TransMit "go znt:practice^M"
EndCase
Case 8
TransMit "go znt:SoftLib^M"
EndCase
Case 9
If FirstTime==False
TransMit "go cis:top^M"
EndIf
EndCase
Case 10
TransMit "go mail^M"
EndCase
Case 11
TransMit "go cis:ibmhw^M"
EndCase
Case 12
TransMit "go cis:ibmapp^M"
EndCase
Case 13
TransMit "go cis:ibmsys^M"
EndCase
Case 14
TransMit "go cis:ibmcom^M"
EndCase
Case 15
TransMit "go cis:winadv^M"
EndCase
Case 16
TransMit "go cis:msopsys^M"
EndCase
Case 17
TransMit "go cis:dstorm^M"
EndCase
Case 18
TransMit "go cis:top^M"
EndCase
Case 19
TransMit "go bill^M"
EndCase
Case 20
TransMit "go terminal^M"
EndCase
Case 21
TransMit "go znt:zntff^M"
EndCase
Case 22
TransMit "go znt:reviews^M"
EndCase
Case 24
TransMit "go znt:COMPSHOPPER^M"
EndCase
Case 100
TransMit "go cis:"
TransMit UserForum
TransMit "^M"
EndCase
EndSwitch
SelForum=0
FirstTime=False
EndProc
;
;************************************************************************
;* Get the Forum Messages *
;************************************************************************
;
Proc getmesg
Integer Tmp
STRPEEK FCommand 0 Tmp
If NOT Tmp==67
WaitFor " !" 60
TransMit "^M"
WaitFor "choice !"
Else
WaitFor "Forum !"
EndIf
TransMit "MES;SEL;ALL;ALL^M"
While forever
If NOT Tmp==67
WaitFor "CHOICES !" 10
Else
WaitFor "READ Action !" 10
EndIf
If WaitFor
TransMit "^M"
Else
ExitWhile
EndIf
EndWhile
EndProc
;
;************************************************************************
;* Get the Forum file descriptions *
;************************************************************************
;
Proc GetInfo
Integer Tmp,Temp1=0
STRPEEK FCommand 0 Tmp
If NOT Tmp==67
WaitFor " !" 10
TransMit "^M"
WaitFor "choice !"
Else
WaitFor "Forum !" 10
EndIf
While Temp1==0
TransMit "LIB "
TransMit DLib
TransMit "^M"
If NOT Tmp==67
WaitFor "choice !"
Else
WaitFor "!"
EndIf
TransMit "BRO AGE:"
TransMit DOld
TransMit "^M"
While forever
If NOT Tmp==67
WaitFor "CHOICES !" 5
Else
WaitFor "Disposition !" 5
EndIf
If WaitFor
TransMit "^M"
Else
ExitWhile
EndIf
EndWhile
If Null Dlib2
Temp1=-1
Goto EndDescrip
EndIf
StrCmp DLib DLib2
If Success
Temp1=-1
Goto EndDescrip
EndIf
Call NextLib
EndDescrip:
EndWhile
EndProc
;
;************************************************************************
;* Ask for New Files Days Old *
;************************************************************************
;
Proc GDays
Integer Tmp
StrCpy Dlib ""
StrCpy Dlib2 ""
BoxHeading = " Library Description Information "
Call HeadBox With 2, Lev0
BoxHeading = "Capture More than One Library (Y/N) : "
Call HeadBox With 7, Lev0
locate 7 59
CurOn
KeyGet Tmp
If Tmp==110
Tmp=78
EndIf
If Tmp==78
BoxHeading = " Enter the Library Number <0> : "
Call HeadBox With 7, Lev0
AtGet 7 56 Lev0 2 DLib
Else
BoxHeading = "Enter the First Library Number <0> : "
Call HeadBox With 7, Lev0
AtGet 7 58 Lev0 2 DLib
BoxHeading = "Enter the Last Library Number <16> : "
Call HeadBox With 12, Lev0
AtGet 12 58 Lev0 2 DLib2
If Null DLib2
StrCpy Dlib2 "16"
EndIf
EndIf
If Null Dlib
StrCpy Dlib "0"
EndIf
BoxHeading = " Enter the Number of Days Old <1> : "
Call HeadBox With 17, Lev0
AtGet 17 58 Lev0 3 DOld
If Null DOld
StrCpy DOld "1"
EndIf
BoxHeading = " Do You Wish To Continue (Y/N) : "
Call HeadBox With 22, Lev0
locate 22 57
CurOn
KeyGet Tmp
CurOff
If Tmp==110
Tmp=78
EndIf
If Tmp==78
StrCpy DLib "-1"
EndIf
EndProc
;
;************************************************************************
;* SEQUENCE THROUGH THE LIB NUMBERS 0-20 *
;************************************************************************
;
Proc NextLib
StrCmp Dlib "0"
If Success
Dlib="1"
Goto EndNL
EndIf
StrCmp Dlib "1"
If Success
Dlib="2"
Goto EndNL
EndIf
StrCmp Dlib "2"
If Success
Dlib="3"
Goto EndNL
EndIf
StrCmp Dlib "3"
If Success
Dlib="4"
Goto EndNL
EndIf
StrCmp Dlib "4"
If Success
Dlib="5"
Goto EndNL
EndIf
StrCmp Dlib "5"
If Success
Dlib="6"
Goto EndNL
EndIf
StrCmp Dlib "6"
If Success
Dlib="7"
Goto EndNL
EndIf
StrCmp Dlib "7"
If Success
Dlib="8"
Goto EndNL
EndIf
StrCmp Dlib "8"
If Success
Dlib="9"
Goto EndNL
EndIf
StrCmp Dlib "9"
If Success
Dlib="10"
Goto EndNL
EndIf
StrCmp Dlib "10"
If Success
Dlib="11"
Goto EndNL
EndIf
StrCmp Dlib "11"
If Success
Dlib="12"
Goto EndNL
EndIf
StrCmp Dlib "12"
If Success
Dlib="13"
Goto EndNL
EndIf
StrCmp Dlib "13"
If Success
Dlib="14"
Goto EndNL
EndIf
StrCmp Dlib "14"
If Success
Dlib="15"
Goto EndNL
EndIf
StrCmp Dlib "15"
If Success
Dlib="16"
Goto EndNL
EndIf
StrCmp Dlib "16"
If Success
Dlib="17"
Goto EndNL
EndIf
StrCmp Dlib "17"
If Success
Dlib="18"
Goto EndNL
EndIf
StrCmp Dlib "18"
If Success
Dlib="19"
Goto EndNL
EndIf
StrCmp Dlib "19"
If Success
Dlib="20"
Goto EndNL
EndIf
StrCpy Dlib Dlib2
EndNL:
EndProc
;
;************************************************************************
;* Dial the phone and logon to CIS *
;************************************************************************
;
Proc DialNum ; start of main procedure
If BState==1
Set BlockCur On
Else
Set BlockCur Off
EndIf
FirstTime=TRUE
ForumSave=SelForum
OnLine=TRUE
Set RXData Off
Clear Lev2 ; clear screen
Set Keys Off ; allow keyboard entries to be sent to host
Switch ScreenMode
Case 2
Set Screen Extrax80
EndCase
Case 3
Set Screen UserMode
EndCase
Case 4
Set Screen ExtraxUser
EndCase
Default
Set Screen 25X80
EndCase
EndSwitch
CurOn
Locate 0 0 ; locate Cursor at 0,0
Box 0 0 4 29 14 ; draw box
AtSay 2 2 14 "Logging onto COMPUSERVE..." ; put Message in box
Locate 6 0 ; Cursor to row 6
If Not HighSpeed ; if not downloading files use CIS_Number
Dial CIS_Number ; use dialing directory entry for CIS number
Else
Dial CIS_HighSpD ; Else Use CIS_HighSpD entry for fast dwnlods
EndIf
Set DataBits 7
Set Parity Even
Pause 3 ; wait three seconds
TransMit "^C" ; TransMit CTRL-C
WaitFor "User ID:" ; wait for "User ID:" to come in COM port
TransMit ID ; sEnd your ID
TransMit "^M" ; send carriage Return
WaitFor "Password:" ; wait for "PassWord:" to come in COM port
TransMit Password ; send PassWord
TransMit "^M" ; send carriage Return
Call MyLog
WaitFor "!" 10 ; wait for CompuServe prompt
If Enquire==1
Set Enq CISb ; turn on auto CIS downloads
Endif
EndProc
;
;************************************************************************
;* ZiffNet System Configuration Menu *
;************************************************************************
;
Proc ConfigMenu
Call ReadFile
If Null OnLineScrn
StrCpy OnLineScrn "Extrax80"
EndIf
If Null FCommand
StrCpy FCommand "Menu"
EndIf
If Null CRTMode
StrCpy CRTMode "B&W"
EndIf
If Null ScrnBlnk
StrCpy ScrnBlnk "0"
EndIf
If Null RunCommand
StrCpy RunCommand "PCEDIT /N"
EndIf
CurOn
XCurOn=TRUE
ConfigStart:
Call ScrnBack
LargeBox=16
BoxHeading = \
" ZiffNet ASPECT Script File Configuration Menu "
Call HeadBox With 2, Lev0
LargeBox=2
While forever
Call DisSettings
BoxHeading = \
"F1=Help, ESC=Abort, Enter Your Selection: "
Call HeadBox With 21, Lev0
locate 21 48
Call BlankMe
KeyGet InKey
If InKey==99
InKey=67
EndIf
If InKey==109
InKey=77
EndIf
If InKey==115
InKey=83
EndIf
Switch InKey
;
; Escape, Do Not Save
;
Case 27
Call ReadFile
ExitWhile
EndCase
;
; Low Speed Dial Number "1"
;
Case 49
Klen=3
Call GetInput
If NOT NULL IValue1
StrCpy CIS_Number IValue1
EndIf
EndCase
;
; High Speed Dial Number "2"
;
Case 50
Klen=3
Call GetInput
If NOT NULL IValue1
StrCpy CIS_HighSpd IValue1
EndIf
EndCase
;
; CompuServe ID Number "3"
;
Case 51
Klen=12
Call GetInput
If NOT NULL IValue1
StrCpy id IValue1
EndIf
EndCase
;
; CompuServe Password "4"
;
Case 52
Klen=25
AtSay 7 40 Lev0 " "
AtSay 7 40 Lev0 PassWord
Call GetInput
If NOT NULL IValue1
StrCpy PassWord IValue1
EndIf
EndCase
;
; Default Log File Directory "5"
;
Case 53
Klen=37
Call GetInput
If NOT NULL IValue1
StrCpy YourDir IValue1
StrCat IValue1 "\NUL"
IsFile IValue1
If Not Success
MkDir YourDir
EndIf
EndIf
EndCase
;
; Ascii File Viewer Name "6"
;
Case 54
Klen=37
Call GetInput
If NOT NULL IValue1
StrCpy RunCommand IValue1
EndIf
EndCase
;
; Default Download Directory "7"
;
Case 55
Klen=37
Call GetInput
If NOT NULL IValue1
StrCpy DDnLdDir IValue1
StrCat IValue1 "\NUL"
IsFile IValue1
If Not Success
MkDir DDnLdDir
EndIf
EndIf
EndCase
;
; Default Forum Mode "8"
;
Case 56
StrCmp FCommand "MENU"
If Success
FCommand="COMMAND"
Else
FCommand="MENU"
EndIf
EndCase
;
; Screen Blanking Interval "9"
;
Case 57
Klen=4
Call GetInput
If NOT NULL IValue1
StrCpy ScrnBlnk IValue1
EndIf
Call SetBlank
EndCase
;
; Display Color "C"
;
Case 67
StrCmp CRTMode "COLOR"
If Success
StrCpy CRTMode "B&W"
Else
StrCpy CRTMode "COLOR"
EndIf
Call SetColors
Goto ConfigStart
EndCase
;
; OnLine Screen Display Mode "M"
;
Case 77
StrCmp OnLineScrn "25X80"
If Success
StrCpy OnLineScrn "ExtraxUser"
Goto ModeDone
EndIf
StrCmp OnLineScrn "Extrax80"
If Success
StrCpy OnLineScrn "25X80"
Goto ModeDone
EndIf
StrCmp OnLineScrn "UserMode"
If Success
StrCpy OnLineScrn "Extrax80"
Goto ModeDone
EndIf
StrCmp OnLineScrn "ExtraxUser"
If Success
StrCpy OnLineScrn "UserMode"
Goto ModeDone
EndIf
ModeDone:
Call ScrnOnLine
EndCase
;
; Save Configuration "S"
;
Case 83
Call WriteFile
ExitWhile
EndCase
;
; Help Display "F1"
;
Case 15104
VidSave 2
CurOff
Call HelpConfig
CurOn
VidRest 2
EndCase
EndSwitch
EndWhile
CurOff
XCurOn=FALSE
EndProc
;
;************************************************************************
;* Input New Configuration Information *
;************************************************************************
;
Proc GetInput
String Temp,Tmp
Key2Ascii InKey Tmp
StrCpy Temp "New Value For <"
StrCat Temp Tmp
StrCat Temp ">: "
AtSay 21 6 Lev0 " "
AtSay 21 6 Lev0 Temp
IValue1 = ""
AtGet 21 25 Lev0 Klen IValue1
StrCmp Tmp "5"
If Success
Call BackFix
EndIf
StrCmp Tmp "7"
If Success
Call BackFix
EndIf
STRUPR IValue1
EndProc
;
;************************************************************************
;* Remove Ending backslash of directory names entries If present *
;************************************************************************
;
Proc BackFix
Integer Temp1, Temp2
Strlen IValue1 Temp1
Temp1=Temp1-1
Strpeek IValue1 Temp1 Temp2
If Temp2==92
StrCpy IValue1 IValue1 Temp1
EndIf
EndProc
;
;************************************************************************
;* Configuration Menu Data Fields *
;************************************************************************
;
Proc DisSettingS
Integer Tmp,Temp
String STemp
Tmp=Lev6
AtSay 4 06 Tmp \
"1) Dialing Directory Number (LO): "
AtSay 4 40 Lev0 CIS_Number
AtSay 5 06 Tmp \
"2) Dialing Directory Number (HI): "
AtSay 5 40 Lev0 CIS_HighSpD
AtSay 6 06 Tmp \
"3) Your CompuServe ID Number ->: "
AtSay 6 40 Lev0 ID
AtSay 7 06 Tmp \
"4) Your CompuServe Password --->: "
AtSay 7 40 Lev0 " "
StrLen PassWord Temp
Inc Temp
StrSet STemp 42 Temp
Dec Temp
StrPoke STemp Temp 0
AtSay 7 40 Lev0 STemp
AtSay 8 06 Tmp \
"5) Log File Directory --------->: "
AtSay 8 40 Lev0 YourDir
AtSay 9 06 Tmp \
"6) ASCII File Editor ---------->: "
AtSay 9 40 Lev0 RunCommand
AtSay 10 06 Tmp \
"7) File Download Directory ---->: "
AtSay 10 40 Lev0 DDnLdDir
AtSay 11 06 Tmp \
"8) Forum Mode (Menu/Command) -->: "
AtSay 11 40 Lev0 FCommand
AtSay 12 06 Tmp \
"9) Screen Blanking Delay (sec) >: "
AtSay 12 40 Lev0 ScrnBlnk
AtSay 13 06 Tmp \
"C) Display Color Mode --------->: "
AtSay 13 40 Lev0 CRTMode
AtSay 14 06 Tmp \
"M) Online Display Line Size --->: "
AtSay 14 40 Lev0 OnLineScrn
AtSay 16 06 Tmp "S) Save Configuration And Exit Menu"
EndProc
;
;************************************************************************
;* Write Configuration Data From File *
;************************************************************************
;
Proc WriteFile
String Tmp1,Tmp2,Tmp3,Tmp4,Tmp5,Tmp6,Tmp7,Tmp8,Tmp9,Tmp0,TmpA,TmpB,TmpC
GetEnv "ZIFFPLUS" TmpB
GetEnv "PCPLUS" TmpC
IsFile "ZIFF.CFG"
If Success
Fopen 1 "ZIFF.CFG" "WT"
Else
If Null TmpB
If Null TmpC
Fopen 1 "ZIFF.CFG" "WT"
Else
StrCat TmpC "\"
StrCat TmpC "ZIFF.CFG"
FOPEN 1 TmpC "WT"
EndIf
Else
StrCat TmpB "\"
StrCat TmpB "ZIFF.CFG"
FOPEN 1 TmpB "WT"
EndIf
Endif
StrCpy Tmp1 CIS_Number
StrCat Tmp1 "%c"
FStrFmt 1 Tmp1 10
StrCpy Tmp2 CIS_HighSpD
StrCat Tmp2 "%c"
FStrFmt 1 Tmp2 10
StrCpy Tmp3 ID
StrCat Tmp3 "%c"
FStrFmt 1 Tmp3 10
StrCpy Tmp4 PassWord
StrCat Tmp4 "%c"
FStrFmt 1 Tmp4 10
StrCpy Tmp5 YourDir
StrCat Tmp5 "%c"
FStrFmt 1 Tmp5 10
StrCpy Tmp6 RunCommand
StrCat Tmp6 "%c"
FStrFmt 1 Tmp6 10
StrCpy Tmp7 DDnLdDir
StrCat Tmp7 "%c"
FStrFmt 1 Tmp7 10
StrCpy Tmp8 FCommand
StrCat Tmp8 "%c"
FStrFmt 1 Tmp8 10
StrCpy Tmp9 ScrnBlnk
StrCat Tmp9 "%c"
FStrFmt 1 Tmp9 10
StrCpy Tmp0 CRTMode
StrCat Tmp0 "%c"
FStrFmt 1 Tmp0 10
StrCpy TmpA OnLineScrn
StrCat TmpA "%c"
FStrFmt 1 TmpA 10
FStrFmt 1 "%c" 26
FClose 1
EndProc
;
;************************************************************************
;* Read Configuration Data From File *
;************************************************************************
;
Proc ReadFile
Integer Cfg
String TmpB,TmpC
Set FGETS_CRLF Off
GetEnv "ZIFFPLUS" TmpB
GetEnv "PCPLUS" TmpC
IsFile "ZIFF.CFG"
If Success
Fopen 1 "ZIFF.CFG" "RT"
Else
If Null TmpB
If Null TmpC
Fopen 1 "ZIFF.CFG" "RT"
Else
StrCat TmpC "\"
StrCat TmpC "ZIFF.CFG"
FOPEN 1 TmpC "RT"
EndIf
Else
StrCat TmpB "\"
StrCat TmpB "ZIFF.CFG"
FOPEN 1 TmpB "RT"
EndIf
EndIf
If Success
While NOT EOF 1
FOR cfg=1 UPTO 11
FGETS 1 IValue1
If NOT Success
ExitWhile
EndIf
Switch Cfg
Case 1
StrCpy CIS_Number IValue1
EndCase
Case 2
StrCpy CIS_HighSpD IValue1
EndCase
Case 3
StrCpy ID IValue1
EndCase
Case 4
StrCpy PassWord IValue1
EndCase
Case 5
StrCpy YourDir IValue1
EndCase
Case 6
StrCpy RunCommand IValue1
EndCase
Case 7
StrCpy DDnLdDir IValue1
EndCase
Case 8
StrCpy FCommand IValue1
EndCase
Case 9
StrCpy ScrnBlnk IValue1
EndCase
Case 10
StrCpy CRTMode IValue1
EndCase
Case 11
StrCpy OnLineScrn IValue1
EndCase
EndSwitch
EndFOR
ExitWhile
EndWhile
FCLOSE 1
Config=TRUE
Else
Config=FALSE
EndIf
EndProc
;
;************************************************************************
;* OPEN USER LOG FILE - AutoLog *
;************************************************************************
;
Proc MyLog
String Tmp1
StrCpy FName YourDir
StrCat FName "\"
StrCmp LogSpec ""
If Success
Call MakeName
Else
StrCat FName LogSpec 8
EndIf
StrCat FName ".LOG" 4
IsFile FName
If Success
FOpen 1 Fname "AT"
Else
FOpen 1 Fname "WT"
EndIf
FStrFmt 1 " %c" 10
StrCpy Tmp1 ">>>> ZiffPlus Capture Log File Opened On "
StrCat Tmp1 $Date
StrCat Tmp1 " At "
StrCat Tmp1 $Time0
StrCat Tmp1 " <<<<"
StrCat Tmp1 "%c"
FStrFmt 1 Tmp1 10
StrCpy Tmp1 \
">>>> Procomm Plus 2 Aspect Script File For ZiffNet Forum Access <<<<"
StrCat Tmp1 " %c"
FStrFmt 1 Tmp1 10
FStrFmt 1 "%c" 10
FClose 1
Log Open FName
StrCpy LogSpec ""
EndProc
;
;************************************************************************
;* Create Default Log File Name *
;************************************************************************
;
Proc MakeName
Date TheDate
SubStr Month TheDate 0 2
SubStr Day TheDate 3 2
StrCat FName "ZIFF"
StrCat FName Month 2
StrCat FName Day 2
EndProc
;
;**************************************************************************
;* Display Information Boxes *
;**************************************************************************
;
Proc HeadBox
IntParm Row1, Attrib1
Integer I, Row2, Trow, Len, Centstr, Col2, Col1, Tc
Strlen BoxHeading Len
CentStr = 40-(Len/2)
Col1=Centstr-1
Col2=Col1+Len+5
Row2 = Row1 + LargeBox
;
; Make Shadow On Side
;
For I = Row1 Upto Row2
Putvattr I Col2 8
Endfor
Col2 = Col2 - 1
For I = Row1 Upto Row2
Putvattr I Col2 8
Endfor
;
; Make Shadow On Bottom
;
For I = Col1 Upto Col2
Putvattr Row2 I 8
Endfor
Row1 = Row1 - 1 ; Readjust for list box
Col1 = Col1 - 2
Row2 = Row2 - 1
Col2 = Col2 - 1
Tc=Attrib1/16
Tc=(Tc * 16)+Tc
Box Row1, Col1, Row2, Col2, Tc ; Put box
Trow = Row1 + 1
AtSay Trow Centstr Attrib1 Boxheading
EndProc
;
;**************************************************************************
;* Setup Program Colors *
;**************************************************************************
;
Proc SetColors
StrCmp CRTMode "COLOR"
If Success
Lev0=CLev0
Lev1=CLev1
Lev2=CLev2
Lev3=CLev3
Lev4=CLev4
Lev5=CLev5
Lev6=CLev6
Else
Lev0=BLev0
Lev1=BLev1
Lev2=BLev2
Lev3=BLev3
Lev4=BLev4
Lev5=BLev5
Lev6=BLev6
EndIf
EndProc
;
;**************************************************************************
;* Determine Screen Blanking Value *
;**************************************************************************
;
Proc SetBlank
ATOI ScrnBlnk ScreenBlnk
If ScreenBlnk < 0
ScreenBlnk=0
EndIf
EndProc
;
;**************************************************************************

;* Setup OnLine Screen Size *
;**************************************************************************
;
Proc ScrnOnLine
StrCmp OnLineScrn "25X80"
If Success
ScreenMode=1
EndIf
StrCmp OnLineScrn "Extrax80"
If Success
ScreenMode=2
EndIf
StrCmp OnLineScrn "UserMode"
If Success
ScreenMode=3
EndIf
StrCmp OnLineScrn "ExtraxUser"
If Success
ScreenMode=4
EndIf
EndProc
;
;**************************************************************************
;* Fill Screen Back Ground *
;**************************************************************************
;
Proc ScrnBack
Clear Lev3
For X=0 Upto 24
AtSay X 0 Lev5 "±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±"
AtSay X 40 Lev5 "±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±"
Endfor
EndProc
;
;************************************************************************
;* Screen Blanking program *
;************************************************************************
;
PROC BlankMe
Integer blank_time = -1, screen_saved = FALSE
String time_str, blink_str = " "
BlankDone = FALSE
WHILE NOT ( HitKey || CONNECTED )
IF blank_time != ScreenBlnk
IF NOT OpenScrn
AtSay 0 69 Lev5 $time1
AtSay 0 03 Lev5 $date
ENDIF
IF ScreenBlnk > 0 ;Disable the screen blanker
INC blank_time ; if value is zero
ENDIF
ELSE
IF NOT screen_saved
IF VidLast == TRUE
VidSave 0
ENDIF
screen_saved = TRUE
Scroll 0 0 0 24 79 0 ;Scroll with color attrib
ENDIF ; zero hides the cursor
StrCmp blink_str " "
IF SUCCESS
blink_str = ""
ELSE
blink_str = " "
ENDIF
AtSay 24 79 15 blink_str
ENDIF
time_str = $time1
StrCmp time_str $time1
WHILE ( SUCCESS ) && ( HitKey == 0 ) ;Wait 1 second or
StrCmp time_str $time1 ; until a key is pressed
ENDWHILE
IF ( screen_saved ) && ( HitKey )
KeyGet blank_time ;Remove key stroke
blank_time = -1 ;Reset timer
screen_saved = FALSE
BlankDone = TRUE
IF VidLast == TRUE
VidRest 0
ELSE
Return ;The impossible fix
ENDIF
ENDIF
ENDWHILE
ENDPROC ; --------- BlankMe -----------
;
;--------------------------------------------------------
; ListBox Aspect Script for ProComm Plus 2.0
; Version 1.0
; Rob Dunder 1/24/91
; Compuserve 76334,2505
;--------------------------------------------------------
;------------------------------------------------------------------------
; The rest of this file contains the ListBox code
; There are two routines: ListBox and ListBoxGetstr
;
; usage: Call ListBox with row, col, normal attrib, highlight attrib
; with GLOBAL variables:
; numListBoxIt = number of items in list box (Integer)
; ListBoxIt1 --- ListBoxIt9 = text for item number ? (String)
; ListBoxAction = Return value from ListBox (Integer)
;------------------------------------------------------------------------
;
Proc ListBox
IntParm row1, col1, attrib1, attrib2
Integer len, maxlen, row2, col2, row, col, i, key, TC
String Tempstr
strlen ListBoxIt1 maxlen
for i = 1 UPTO numListBoxIts
Call ListBoxGetstr with i, &Tempstr
strlen Tempstr len
If len > maxlen
maxlen = len
EndIf
Endfor
row1 = row1 + 1 ; Adjust for shadow
col1 = col1 + 2
row2 = row1 + numListBoxIts + 1
col2 = col1 + maxlen + 1
for i = row1 upto row2
putvattr i col2 8
Endfor
col2 = col2 - 1
for i = row1 upto row2
putvattr i col2 8
Endfor
for i = col1 upto col2
putvattr row2 i 8
Endfor
row1 = row1 - 1 ; Readjust for list box
col1 = col1 - 2
row2 = row2 - 1
col2 = col2 - 1
TC=ATTRIB1/16
TC=(TC * 16)+TC
box row1, col1, row2, col2, TC ; Put box
for i = 1 UPTO numListBoxIts
row = row1+ i
col = col1 + 1
Call ListBoxGetstr with i, &Tempstr
AtSay row col attrib1 Tempstr
Endfor
key = 0
While key != 13
Call ListBoxGetstr with Cur, &Tempstr
row = Cur + row1
AtSay row col attrib2 Tempstr
ListBoxAction = Cur
Call BlankMe
KeyGet key
kflush
CurOff
Switch key
Case 27 ; pressed
ListBoxAction = 27
ExitWhile
EndCase
Case 17408 ; F10 Key Pressed
If MMEM==False
ListBoxAction = 27
Else
ListboxAction = NumListBoxIt
Cur = NumListBoxIt
AtSay row col attrib1 Tempstr
Call ListBoxGetstr with Cur, &Tempstr
row = Cur + row1
AtSay row col attrib2 Tempstr
Key = 13
EndIf
ExitWhile
EndCase
Case 15104 ; F1 Key Pressed
key=13
ListBoxAction = 15104
ExitWhile
EndCase
Case 19424 ; Seperate pressed
ListBoxAction = 27
ExitWhile
EndCase
Case 19200 ; Keypad pressed
ListBoxAction = 27
ExitWhile
EndCase
Case 18656 ; Seperate pressed
AtSay row col attrib1 Tempstr
Cur = Cur - 1
If Cur < 1
Cur = numListBoxIt
EndIf
EndCase
Case 18432 ; Keypad pressed
AtSay row col attrib1 Tempstr
Cur = Cur - 1
If Cur < 1
Cur = numListBoxIt
EndIf
EndCase
Case 20704 ; Seperate pressed
AtSay row col attrib1 Tempstr
Cur = Cur + 1
If Cur > numListBoxIt
Cur = 1
EndIf
EndCase
Case 20480 ; Keypad pressed
AtSay row col attrib1 Tempstr
Cur = Cur + 1
If Cur > numListBoxIt
Cur = 1
EndIf
EndCase
Case 19936 ; Seperate pressed
key=13
EndCase
Case 19712 ; Keypad pressed
key=13
EndCase
Case -8179 ; Keypad Pressed
key=13
EndCase
Case 49 ; Select Menu Option 1
If Not 1 > numListBox
ListBoxAction = 1
Cur = 1
AtSay row col attrib1 Tempstr
Call ListBoxGetstr with Cur, &Tempstr
row = Cur + row1
AtSay row col attrib2 Tempstr
Key = 13
EndIf
EndCase
Case 50 ; Select Menu Option 2
If Not 2 > numListBox
ListBoxAction = 2
Cur = 2
AtSay row col attrib1 Tempstr
Call ListBoxGetstr with Cur, &Tempstr
row = Cur + row1
AtSay row col attrib2 Tempstr
Key = 13
EndIf
EndCase
Case 51 ; Select Menu Option 3
If Not 3 > numListBox
ListBoxAction = 3
Cur = 3
AtSay row col attrib1 Tempstr
Call ListBoxGetstr with Cur, &Tempstr
row = Cur + row1
AtSay row col attrib2 Tempstr
Key = 13
EndIf
EndCase
Case 52 ; Select Menu Option 4
If Not 4 > numListBox
ListBoxAction = 4
Cur = 4
AtSay row col attrib1 Tempstr
Call ListBoxGetstr with Cur, &Tempstr
row = Cur + row1
AtSay row col attrib2 Tempstr
Key = 13
EndIf
EndCase
Case 53 ; Select Menu Option 5
If Not 5 > numListBox
ListBoxAction = 5
Cur = 5
AtSay row col attrib1 Tempstr
Call ListBoxGetstr with Cur, &Tempstr
row = Cur + row1
AtSay row col attrib2 Tempstr
Key = 13
EndIf
EndCase
Case 54 ; Select Menu Option 6
If Not 6 > numListBox
ListBoxAction = 6
Cur = 6
AtSay row col attrib1 Tempstr
Call ListBoxGetstr with Cur, &Tempstr
row = Cur + row1
AtSay row col attrib2 Tempstr
Key = 13
EndIf
EndCase
Case 55 ; Select Menu Option 7
If Not 7 > numListBox
ListBoxAction = 7
Cur = 7
AtSay row col attrib1 Tempstr
Call ListBoxGetstr with Cur, &Tempstr
row = Cur + row1
AtSay row col attrib2 Tempstr
Key = 13
EndIf
EndCase
Case 56 ; Select Menu Option 8
If Not 8 > numListBox
ListBoxAction = 8
Cur = 8
AtSay row col attrib1 Tempstr
Call ListBoxGetstr with Cur, &Tempstr
row = Cur + row1
AtSay row col attrib2 Tempstr
Key = 13
EndIf
EndCase
Case 57 ; Select Menu Option 9
If Not 9 > numListBox
ListBoxAction = 9
Cur = 9
AtSay row col attrib1 Tempstr
Call ListBoxGetstr with Cur, &Tempstr
row = Cur + row1
AtSay row col attrib2 Tempstr
Key = 13
EndIf
EndCase
EndSwitch
EndWhile
EndProc
;
;------------------------------------------------------------------------
; ListBoxGetstr
; usage: Call ListBoxGetstr with item_number, &String_var
; Returns the String value in ListBoxIt-, where "-" is the item_number
;------------------------------------------------------------------------
;
Proc ListBoxGetstr
IntParm i
strparm Tempstr

Switch i
Case 1
Tempstr = ListBoxIt1
EndCase
Case 2
Tempstr = ListBoxIt2
EndCase
Case 3
Tempstr = ListBoxIt3
EndCase
Case 4
Tempstr = ListBoxIt4
EndCase
Case 5
Tempstr = ListBoxIt5
EndCase
Case 6
Tempstr = ListBoxIt6
EndCase
Case 7
Tempstr = ListBoxIt7
EndCase
Case 8
Tempstr = ListBoxIt8
EndCase
Case 9
Tempstr = ListBoxIt9
EndCase
EndSwitch
EndProc
;
;------------------------------------------------------------------------
; End of ListBox code
;------------------------------------------------------------------------
;
; *******************************************************************
; * *
; * Program by James D. McDaniel / Copyright by Ziff Communications *
; * *
; * This is GetFName. It will display files that match the calling *
; * File description starting at the requested Row and Column *
; * location in the calling colors. Matchine File Name is returned *
; * as ActionName. *
; * *
; *******************************************************************
;
; Syntax:
; StrCpy FileSpec "*.*"
; Call GetFName Row Col Color
; Return: ActionName
;
; Global GetFName Varibles
string F00,F01,F02,F03,F04,F05,F06,F07,F08,F09
string F10,F11,F12,F13,F14,F15,F16,F17,F18,F19
string F20,F21,F22,F23,F24,F25,F26,F27,F28,F29
string F30,F31,F32,F33,F34,F35,F36,F37,F38,F39
Integer WhichWay,StrPointer,Y,ReadLevel
;Integer X,Lev4=112
Integer Fpage,HitMe,CurAt,CurSave,LastOne
;
; *********************************************************************
; * Main GetFName Proc, Makes Box, Get KeyStroke *
; *********************************************************************
;
Proc GetFName
IntParm XRow,YCol,Bcolor
Integer I,XRowX,YColY,XRowA,YColA,YColB
XRowX=XRow+11
YColY=YCol+57
Box XRow YCol XRowX YColY Bcolor
XRowA=XRow+1
YColA=YCol+59
YColB=YCol+58
For I = XRowA Upto XRowX

Putvattr I YColA 8
Endfor
For I = XRowA Upto XRowX
Putvattr I YColB 8
Endfor
XRowA=XRow+12
YColB=YCol+2
For I = YColB Upto YColA
Putvattr XRowA I 8
Endfor
LastOne=0
ReadLevel=1
CurOff
Strtup:
Call ReadName With XRow YCol Bcolor
If LastOne==0
If Null F00
Return
EndIf
EndIf
YColB=YCol+8
FAtSay XRow YColB Bcolor " Use Arrow Keys & Press Enter, ESC=QUIT " ReadLevel
If Not LastOne==0
FAtSay XRowX YColB Bcolor " Page (%d), Press Space Bar For Next Page " ReadLevel
Else
FAtSay XRowX YColB Bcolor " Last Page, Press Space Bar For Top Page " ReadLevel
EndIf
Inc ReadLevel
CurAt=-1
Call ReadValue With XRow YCol Bcolor
If LastOne==0
ReadLevel=1
Endif
GetMore:
Call BlankMe
KeyGet FPage
Call KeyStroke With XRow YCol Bcolor
If HitMe==1
Goto GetMore
EndIf
If Fpage==27
StrCpy ActiveName $NULL
Return
EndIf
If Fpage==13
Return
EndIf
If Fpage==-8179
Return
EndIf
If Fpage==32
Goto Strtup
AtSay XRow YColB Bcolor "ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ"
AtSay XRowX YColB Bcolor "ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ"
EndIf
Goto GetMore
EndProc
;
; *********************************************************************
; * Checks For Arrow Keys and Moves Highlighted File Name *
; *********************************************************************
;
Proc KeyStroke
IntParm XRow,YCol,Bcolor
Integer Temp
Temp=StrPointer-1
CurSave=CurAt
HitMe=0
Switch Fpage
Case 19424 ; Seperate pressed
Dec CurAt
HitMe=1
EndCase
Case 19200 ; Keypad pressed
Dec CurAt
HitMe=1
EndCase
Case 18656 ; Seperate pressed
CurAt=CurAt-4
HitMe=1
EndCase
Case 18432 ; Keypad pressed
CurAt=CurAt-4
HitMe=1
EndCase
Case 20704 ; Seperate pressed
CurAt=CurAt+4
HitMe=1
EndCase
Case 20480 ; Keypad pressed
CurAt=CurAt+4
HitMe=1
EndCase
Case 19936 ; Seperate pressed
Inc CurAt
HitMe=1
EndCase
Case 19712 ; Keypad pressed
Inc CurAt
HitMe=1
EndCase
EndSwitch
If CurAt < 1
CurAt=0
EndIf
If CurAt > Temp
CurAt=Temp
EndIf
If HitMe==1
Call ReadValue With XRow YCol Bcolor
EndIf
StrPointer=Temp+1
EndProc
;
; *********************************************************************
; * Reads Present Value For Requested File Location *
; *********************************************************************
;
Proc ReadValue
IntParm XRow,YCol,Bcolor
Integer Temp,Row,Col,Temp2
If CurAt==-1
CurAt=0
CurSave=0
EndIf
Temp2=CurSave
Mod Temp2 4 Y
Div Temp2 4 X
Col=(Y*14)+YCol+2
Row=X+XRow+1
AtSay Row Col Bcolor " "
AtSay Row Col Bcolor ActiveName
Temp=StrPointer
WhichWay=1
StrPointer=CurAt
Call SearchList
StrPointer=Temp
Mod CurAt 4 Y
Div CurAt 4 X
Col=(Y*14)+YCol+2
Row=X+XRow+1
AtSay Row Col Lev4 " "
AtSay Row Col Lev4 ActiveName
EndProc
;
; *********************************************************************
; * Gets Name And Stores It For Later Use *
; *********************************************************************
;
Proc ReadName
IntParm XRow,YCol,Bcolor
Integer Col,Row,Temp
StrPointer=0
WhichWay=0
If LastOne==0
FindFirst FileSpec
Inc LastOne
Endif
While Found
Call SearchList
Mod StrPointer 4 Y
Div StrPointer 4 X
Col=(Y*14)+YCol+2
Row=X+XRow+1
AtSay Row Col Bcolor " "
AtSay Row Col Bcolor $FileName
Inc StrPointer
If StrPointer==40
Return
EndIf
FindNext
EndWhile
LastOne=0
If Not StrPointer==40
Temp=StrPointer
While Temp < 40
Mod Temp 4 Y
Div Temp 4 X
Col=(Y*14)+YCol+2
Row=X+XRow+1
AtSay Row Col Bcolor " "
Inc Temp
EndWhile
EndIf
EndProc
;
; *********************************************************************
; * This Program is Used To Store And Find FileName *
; *********************************************************************
;
Proc SearchList
Switch StrPointer
Case 0
If WhichWay==0
StrCpy F00 $FileName
Else
StrCpy ActiveName F00
EndIf
EndCase
Case 1
If WhichWay==0
StrCpy F01 $FileName
Else
StrCpy ActiveName F01
EndIf
EndCase
Case 2
If WhichWay==0
StrCpy F02 $FileName
Else
StrCpy ActiveName F02
EndIf
EndCase
Case 3
If WhichWay==0
StrCpy F03 $FileName
Else
StrCpy ActiveName F03
EndIf
EndCase
Case 4
If WhichWay==0
StrCpy F04 $FileName
Else
StrCpy ActiveName F04
EndIf
EndCase
Case 5
If WhichWay==0
StrCpy F05 $FileName
Else
StrCpy ActiveName F05
EndIf
EndCase
Case 6
If WhichWay==0
StrCpy F06 $FileName
Else
StrCpy ActiveName F06
EndIf
EndCase
Case 7
If WhichWay==0
StrCpy F07 $FileName
Else
StrCpy ActiveName F07
EndIf
EndCase
Case 8
If WhichWay==0
StrCpy F08 $FileName
Else
StrCpy ActiveName F08
EndIf
EndCase
Case 9
If WhichWay==0
StrCpy F09 $FileName
Else
StrCpy ActiveName F09

EndIf
EndCase
Case 10
If WhichWay==0
StrCpy F10 $FileName
Else
StrCpy ActiveName F10
EndIf
EndCase
Case 11
If WhichWay==0
StrCpy F11 $FileName
Else
StrCpy ActiveName F11
EndIf
EndCase
Case 12
If WhichWay==0
StrCpy F12 $FileName
Else
StrCpy ActiveName F12
EndIf
EndCase
Case 13
If WhichWay==0
StrCpy F13 $FileName
Else
StrCpy ActiveName F13
EndIf
EndCase
Case 14
If WhichWay==0
StrCpy F14 $FileName
Else
StrCpy ActiveName F14
EndIf
EndCase
Case 15
If WhichWay==0
StrCpy F15 $FileName
Else
StrCpy ActiveName F15
EndIf
EndCase
Case 16
If WhichWay==0
StrCpy F16 $FileName
Else
StrCpy ActiveName F16
EndIf
EndCase
Case 17
If WhichWay==0
StrCpy F17 $FileName
Else
StrCpy ActiveName F17
EndIf
EndCase
Case 18
If WhichWay==0
StrCpy F18 $FileName
Else
StrCpy ActiveName F18
EndIf
EndCase
Case 19
If WhichWay==0
StrCpy F19 $FileName
Else
StrCpy ActiveName F19
EndIf
EndCase
Case 20
If WhichWay==0
StrCpy F20 $FileName
Else
StrCpy ActiveName F20
EndIf
EndCase
Case 21
If WhichWay==0
StrCpy F21 $FileName
Else
StrCpy ActiveName F21
EndIf
EndCase
Case 22
If WhichWay==0
StrCpy F22 $FileName
Else
StrCpy ActiveName F22
EndIf
EndCase
Case 23
If WhichWay==0
StrCpy F23 $FileName
Else
StrCpy ActiveName F23
EndIf
EndCase
Case 24
If WhichWay==0
StrCpy F24 $FileName
Else
StrCpy ActiveName F24
EndIf
EndCase
Case 25
If WhichWay==0
StrCpy F25 $FileName
Else
StrCpy ActiveName F25
EndIf
EndCase
Case 26
If WhichWay==0
StrCpy F26 $FileName
Else
StrCpy ActiveName F26
EndIf
EndCase
Case 27
If WhichWay==0
StrCpy F27 $FileName
Else
StrCpy ActiveName F27
EndIf
EndCase
Case 28
If WhichWay==0
StrCpy F28 $FileName
Else
StrCpy ActiveName F28
EndIf
EndCase
Case 29
If WhichWay==0
StrCpy F29 $FileName
Else
StrCpy ActiveName F29
EndIf
EndCase
Case 30
If WhichWay==0
StrCpy F30 $FileName
Else
StrCpy ActiveName F30
EndIf
EndCase
Case 31
If WhichWay==0
StrCpy F31 $FileName
Else
StrCpy ActiveName F31
EndIf
EndCase
Case 32
If WhichWay==0
StrCpy F32 $FileName
Else
StrCpy ActiveName F32
EndIf
EndCase
Case 33
If WhichWay==0
StrCpy F33 $FileName
Else
StrCpy ActiveName F33
EndIf
EndCase
Case 34
If WhichWay==0
StrCpy F34 $FileName
Else
StrCpy ActiveName F34
EndIf
EndCase
Case 35
If WhichWay==0
StrCpy F35 $FileName
Else
StrCpy ActiveName F35
EndIf
EndCase
Case 36
If WhichWay==0
StrCpy F36 $FileName
Else
StrCpy ActiveName F36
EndIf
EndCase
Case 37
If WhichWay==0
StrCpy F37 $FileName
Else
StrCpy ActiveName F37
EndIf
EndCase
Case 38
If WhichWay==0
StrCpy F38 $FileName
Else
StrCpy ActiveName F38
EndIf
EndCase
Case 39
If WhichWay==0
StrCpy F39 $FileName
Else
StrCpy ActiveName F39
EndIf
EndCase
EndSwitch
EndProc
;
;************************************************************************
;* Help Screen for Main Menu *
;************************************************************************
;
Proc HelpMain
Integer Tmp
String Temp
Call ScrnBack
LargeBox=21
BoxHeading = \
" "
Call HeadBox with 2, Lev0
LargeBox=2
AtSay 1 26 Lev0 "ZiffNet Main Menu Help Screen"
AtSay 3 6 Lev0 \
"Welcome to ZiffNet! At Ziff, we hope you will enjoy using this "
AtSay 4 6 Lev0 \
"Procomm Plus 2.x Aspect Script File. It provides easy access to the"
AtSay 5 6 Lev0 \
"ZiffNet forums, requiring few keystrokes, while automating several "
AtSay 6 6 Lev0 \
"basic forum functions. This includes log file capture of messages, "
AtSay 7 6 Lev0 \
"file descriptions, plus automated file downloads, up to five at a "
AtSay 8 6 Lev0 \
"time. You are reading the Main Menu Help Screen. From the Main "
AtSay 9 6 Lev0 \
"Menu the top five options access additional menus for the ZiffNet "
AtSay 10 6 Lev0 \
"Forums, SoftLib Database, and CompuServe area. After you have been "
AtSay 11 6 Lev0 \
"online with ZiffNet, you may elect to read any of your capture log "
AtSay 12 6 Lev0 \
"files or if you need to execute any basic DOS commands, select the "
AtSay 13 6 Lev0 \
"Shell to DOS option. Use the Configuration option to enter all "
AtSay 14 6 Lev0 \
"Aspect configuration data. All menu options ending with '...' will"
AtSay 15 6 Lev0 \
"lead to another menu. If the option ends with a '', its execu-"
AtSay 16 6 Lev0 \
"tion will cause automatic log on to CompuServe, then on to the "
AtSay 17 6 Lev0 \
"selected area and function. If you have a question, suggestion or "
AtSay 18 6 Lev0 \
"problem with this script file, please let us know. Send a message "
AtSay 19 6 Lev0 \
"to any of the fine ZiffNet SysOps or to me, James D. McDaniel, "
AtSay 20 6 Lev0 \
"CompuServe # 72241,322 . . . . . . . . Thank You for using ZiffNet!"
AtSay 22 6 Lev0 \
"Press F1 to read the ZIFFPLUS.DOC file, or any other key to Exit. "
Call BlankMe
KeyGet Tmp
If Tmp==15104
StrCpy Temp RunCommand
StrCat Temp " "
StrCat Temp "ZIFFPLUS.DOC"
Run Temp
EndIf
EndProc
;
;************************************************************************
;* After Hours, Editorial, Programming and Utility Menu Help *
;************************************************************************
;
Proc HelpForum
Call ScrnBack
LargeBox=14
BoxHeading = \
" After Hours, Editorial, Programming and Utilities Menu Help "
Call HeadBox with 2, Lev0
LargeBox=2
AtSay 4 8 Lev0 \
"From this menu you may select the ZiffNet forum you wish to use."
AtSay 5 8 Lev0 \
"Only PC MagNet forums are included here. After you have selected"
AtSay 6 8 Lev0 \
"the forum you wish to use, your next menu area is the Forum "
AtSay 7 8 Lev0 \
"Action Menu. From the Action Menu you can select to download a "
AtSay 8 8 Lev0 \
"forum file, read all new messages or read all new file descrip- "
AtSay 9 8 Lev0 \
"tions. All items in this menu will lead you to another menu and"
AtSay 10 8 Lev0 \
"do not log you onto ZiffNet without more option selections. Use"
AtSay 11 8 Lev0 \
"the arrow, Enter, or Esc keys to select the required functions. "
AtSay 12 8 Lev0 \
" "
AtSay 14 8 Lev0 \
" << Press Any key to Exit >> "
Call BlankMe
KeyGet
EndProc
;
;************************************************************************
;* Help Screen for Comp Shopper, PC Week, PC Contact, Practice *
;************************************************************************
;
Proc HelpForum2
Call ScrnBack
LargeBox=14
BoxHeading = \
" Computer Shopper, PC Week, PC/Contact and Practice Forum Help "
Call HeadBox with 2, Lev0
LargeBox=2
AtSay 4 8 Lev0 \
"From this menu you may select the ZiffNet forum you wish to use."
AtSay 5 8 Lev0 \
"This makes up the remaining Ziff forums. After you have selected"
AtSay 6 8 Lev0 \
"the forum you wish to use, your next menu area is the Forum "
AtSay 7 8 Lev0 \
"Action Menu. From the Action Menu you can select to download a "
AtSay 8 8 Lev0 \
"forum file, read all new messages or read all new file descrip- "
AtSay 9 8 Lev0 \
"tions. All items in this menu will lead you to another menu and"
AtSay 10 8 Lev0 \
"do not log you onto ZiffNet without more option selections. Use"

AtSay 11 8 Lev0 \
"the arrow, Enter, or Esc keys to select the required functions. "
AtSay 12 8 Lev0 \
" "
AtSay 14 8 Lev0 \
" << Press Any key to Exit >> "
Call BlankMe
KeyGet
EndProc
;
;************************************************************************
;* Help Screen for SoftLib Database Menu *
;************************************************************************
;
Proc HelpSoft
Call ScrnBack
LargeBox=14
BoxHeading = \
" ZiffNet SoftLib Database, File Finder and Reviews Help Screen "
Call HeadBox with 2, Lev0
LargeBox=2
AtSay 4 8 Lev0 \
"This menu provides two SoftLib Database selections. Select AUTO"
AtSay 5 8 Lev0 \
"LOG TO SOFTLIB DATABASE if you wish to browse the database files"
AtSay 6 8 Lev0 \
"to determine what is available. After you have selected up to "
AtSay 7 8 Lev0 \
"five files you wish to download, logout of ZiffNet and select "
AtSay 8 8 Lev0 \
"Option 4. Option 4 allows you to name up to five files for "
AtSay 9 8 Lev0 \
"automatic download. Option 1 gives access to the ZiffNet File "
AtSay 10 8 Lev0 \
"Finder feature and Option 2 provides access to the ZiffNet "
AtSay 11 8 Lev0 \
"Product Reviews. Use the Esc Key or the left arrow key to "
AtSay 12 8 Lev0 \
"return to the Main Menu. "
AtSay 14 8 Lev0 \
" << Press Any key to Exit >> "
Call BlankMe
KeyGet
EndProc
;
;************************************************************************
;* Help Screen for Forum Action Menu *
;************************************************************************
;
Proc HelpAction

helpstart:
Call ScrnBack
LargeBox=21
BoxHeading = \
" Forum Action Menu Help Screen "
Call HeadBox with 2, Lev0
LargeBox=2
AtSay 4 8 Lev0 \
"This is the Forum Action Menu. After you have selected the "
AtSay 5 8 Lev0 \
"forum, you need to choose the desired action in that forum. The"
AtSay 6 8 Lev0 \
"first option will Auto Log you to the selected forum and then "
AtSay 7 8 Lev0 \
"switch you to manual. While you are in manual mode you will see"
AtSay 8 8 Lev0 \
"that the ZIFFPLUS.ASP file is still running. At any time you can"
AtSay 9 8 Lev0 \
"press and hold down the F5 or F6 keys. In a moment, a forum "
AtSay 10 8 Lev0 \
"selection menu will appear. You may then elect to 'GOTO' any of"
AtSay 11 8 Lev0 \
"the other ZiffNet forums. The next option allows you to read "
AtSay 12 8 Lev0 \
"all new Forum messages. Selection of either of the first two "
AtSay 13 8 Lev0 \
"options log you on to ZiffNet at once. The next two options "
AtSay 14 8 Lev0 \
"take you to another menu. Before you can read the file "
AtSay 15 8 Lev0 \
"descriptions you must enter the library number and how many days"
AtSay 16 8 Lev0 \
"old the file descriptions can be. To download a file, you must "
AtSay 17 8 Lev0 \
"select the library number and enter the filename for up to five "
AtSay 18 8 Lev0 \
"files total. All four options allow you to change the default "
AtSay 19 8 Lev0 \
"capture log file name. The file extension of LOG is used. "
AtSay 21 8 Lev0 \
" << Press Any key to Exit >> "
VidLast=FALSE
Call BlankMe
VidLast=TRUE
If BlankDone==TRUE
goto HelpStart
EndIf
KeyGet
EndProc
;
;************************************************************************
;* Help Screen for CompServe Menu *
;************************************************************************
;
Proc HelpCIS
Call ScrnBack
LargeBox=15
BoxHeading = \
" Selected CompuServe Forums Menu Help Screen "
Call HeadBox with 2, Lev0
LargeBox=2
AtSay 4 8 Lev0 \
"This menu provides you with several automatic functions for the "
AtSay 5 8 Lev0 \
"CompuServe forums. The first option permits you to enter any "
AtSay 6 8 Lev0 \
"CompuServe forum names. After you have used this option for the"
AtSay 7 8 Lev0 \
"first time during one setting its name will be remembered. The "
AtSay 8 8 Lev0 \
"forum name is not saved when you Exit this script file. The "
AtSay 9 8 Lev0 \
"next seven options provide the same kind of forum access to the "
AtSay 10 8 Lev0 \
"IBM & MS forums as you have in the ZiffNet forums. Sometimes "
AtSay 11 8 Lev0 \
"as a user you may require a file that is not located in the "
AtSay 12 8 Lev0 \
"ZiffNet area. From this menu, you can Auto Log to any of them, "
AtSay 13 8 Lev0 \
"read all new messages, and download up to five files. "
AtSay 15 8 Lev0 \
" << Press Any key to Exit >> "
Call BlankMe
KeyGet
EndProc
;
;************************************************************************
;* Billing, Electronic Mail, Terminal Setup *
;************************************************************************
;
Proc HelpCIS2
Call ScrnBack
LargeBox=11
BoxHeading = \
" Billing, Electronic Mail, Terminal Setup "
Call HeadBox with 2, Lev0
LargeBox=2
AtSay 4 8 Lev0 \
"This menu provides you with automatic logon to several useful "
AtSay 5 8 Lev0 \
"areas for the ZiffNet or CompuServe user. You can check your "
AtSay 6 8 Lev0 \
"billing information, electronic mail or terminal setup from this"
AtSay 7 8 Lev0 \
"menu. After you make your selection, you will be asked if you "
AtSay 8 8 Lev0 \
"want to change the default capture log filename. The file "
AtSay 9 8 Lev0 \
"extension of LOG will always be used. "
AtSay 11 8 Lev0 \
" << Press Any key to Exit >> "
Call BlankMe
KeyGet
EndProc
;
;************************************************************************
;* Help Screen for Configuration Menu *
;************************************************************************
;
Proc HelpConfig
XCurOn=FALSE
Call ScrnBack
LargeBox=21
BoxHeading = \
" "
Call HeadBox with 2, Lev0
LargeBox=2
AtSay 1 24 Lev0 "ZiffNet Configuration Help Screen"
AtSay 3 6 Lev0 \
"The Configuration Menu allows entry and editing of personal Config- "
AtSay 4 6 Lev0 \
"uration data without the need to recompile this Aspect script file. "
AtSay 5 6 Lev0 \
"Items 1 and 2 require the dialing number from your Primary dialing "
AtSay 6 6 Lev0 \
"directory. The first number is for the lowest online speed you "
AtSay 7 6 Lev0 \
"would use while in manual mode. The second number is for the "
AtSay 8 6 Lev0 \
"highest speed you would use for all automated online service. Option"
AtSay 9 6 Lev0 \
"3 is your CompuServe Password. Option 5 is your existing Log file "
AtSay 10 6 Lev0 \
"directory. Option 6 is your ASCII file editor or viewer. You may "
AtSay 11 6 Lev0 \
"add the full path name if needed. Option 7 is your default file "
AtSay 12 6 Lev0 \
"download directory. Option 8 is your default Online Forum mode that"
AtSay 13 6 Lev0 \
"you use. You must Setup the forum to match. Option 9 allows you to"
AtSay 14 6 Lev0 \
"set the screen blanking interval in seconds. If you enter a time of"
AtSay 15 6 Lev0 \
"0, screen blanking will not be active. Option 'C' sets either the "
AtSay 16 6 Lev0 \
"COLOR or B&W display mode. Option 'M' sets the number of display "
AtSay 17 6 Lev0 \
"lines you see when online. Option S allows the saving of configur- "
AtSay 18 6 Lev0 \
"ations. You can use Esc to abort the present entries. All options "
AtSay 19 6 Lev0 \
"are saved in the file 'ZIFF.CFG'. If you pass out a copy of this "
AtSay 20 6 Lev0 \
"program, do not give them the CFG file! "
AtSay 22 6 Lev0 \
" << Press Any Key To Continue >> "
Call BlankMe
KeyGet
XCurOn=TRUE
EndProc


  3 Responses to “Category : Communication (modem) tools and utilities
Archive   : ZIFF.ZIP
Filename : ZIFFPLUS.ASP

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/