home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
CPM
/
ZCPR33
/
S-Z
/
VTCAP11.LBR
/
HLPSEL.1Z0
/
HLPSEL.18°
Wrap
Text File
|
2000-06-30
|
4KB
|
149 lines
; HELP SELECTION
;
; This section of code provides the necessary HELP information. It
; is driven from the [H]elp function of the main program. Once it
; is called, you may select the necessary help topic or use the [X]
; command to return to the database.
hlpsel: call clrhlp
call gxymsg
db 23,17
db 'Enter Help Selection or [X] to Exit ',0
call ereol
call capin
cp 'A'
jp z,hadd
cp 'S'
jp z,hsrch
cp 'U'
jp z,hupdt
cp 'D'
jp z,hdel
cp 'L'
jp z,hlist
cp 'M'
jp z,hmrg
cp 'H'
jp z,hhlp
cp 'X'
jp z,hlpex
jp nohlp
hadd: call clrhlp
call gxymsg
db 19,5
db 2,' ADD ',1
db '- Add records to database.',cr,lf
db ' Backspace - Does not erase old character.',cr,lf
db ' ^W - Write record and continue to next record.'
db cr,lf
db ' ^Q - Write record and quit. Exits database.'
db cr,lf
db ' ENTER - Terminate field input.',0
call sak
hsrch: call clrhlp
call gxymsg
db 19,5
db 2,' SEARCH ',1
db '- Search for specific TCAP entry in database.',cr,lf
db ' You will be prompted for the name of the terminal'
db cr,lf
db ' you wish to search for. You may use BACKSPACE to'
db cr,lf
db ' correct any mistakes during terminal name entry.'
db cr,lf
db ' <ENTER> to cancel search mode.',0
call sak
hupdt: call clrhlp
call gxymsg
db 19,5
db 2,' UPDATE ',1
db '- Update currently displayed record.',cr,lf
db ' Backspace - Does not erase old character.',cr,lf
db ' ^W - Write record and return to database.',cr,lf
db ' ^Q - Quit to database. Does not reocrd changes,'
db cr,lf
db ' ENTER - Terminate field input.',0
call sak
hdel:
call clrhlp
call gxymsg
db 19,5
db 2,' DELETE ',1
db '- Delete currently displayed record.',cr,lf
db ' Toggles the marking of the record for deletion.'
db cr,lf
db ' While marked for deletion, the information in the'
db cr,lf
db ' database will be shown in the standout mode.',cr,lf
db ' Marked records deleted on exit.',0
call sak
hlist: call clrhlp
call gxymsg
db 19,5
db 2,' LIST ',1
db '- List terminals in database.',cr,lf
db ' Deleted terminals will appear in the standout mode.'
db cr,lf
db ' Eighty terminals will be listed per screen. If more'
db cr,lf
db ' terminals exist, a [more] will be displayed at the '
db cr,lf
db ' bottom of the screen.',0
call sak
hmrg: call clrhlp
call gxymsg
db 19,5
db 2,' MERGE ',1
db '- Merge current TCAP with selected TCAP',cr,lf
db ' A new TCAP will be created containing all unique'
db cr,lf
db ' terminals from the default TCAP and the file'
db cr,lf
db ' selected. You will be prompted for a new version'
db cr,lf
db ' number. Use the form X.X',0
call sak
hhlp: call clrhlp
call gxymsg
db 19,5
db 2,' HELP ',1
db '- Help for the help menu.',cr,lf
db ' Select the SINGLE character displayed for the',cr,lf
db ' topic of your choice.',cr,lf
db ' Example: To get help for the MERGE function, ',cr,lf
db ' just press M.',0
call sak
nohlp: call clrhlp
call gxymsg
db 19,5
db bell,2,' The selected function is not supported.',1
db cr,lf,lf
db ' Check the menu above and select the character',cr,lf
db ' shown after the / for the selected topic.',0
call sak
clrhlp: call gxymsg
db 19,1
db 0
ld b,5
clhp: call ereol
call crlf
djnz clhp
ret
sak: call gxymsg
db 23,60
db '[Strike any key] ',0
call capin
jp hlpsel