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
/
VTCAP11.WZ
/
VTCAP11.WS
Wrap
Text File
|
2000-06-30
|
20KB
|
594 lines
V T C A P
Video Oriented TCAP Database Manager
Version 1.0 - 08/21/87
Access Programming RAS - 14385 SW Walker Rd. B3 - Beaverton, OR 97006
è
T A B L E O F C O N T E N T S
Introduction .................................... 3
Program Description ............................. 4
A - Add .................................... 5
D - Delete ................................. 5
H - Help ................................... 6
L - List ................................... 6
M - Merge .................................. 6
N - Next ................................... 7
P - Previous ............................... 7
S - Search ................................. 7
U - Update ................................. 8
Z - Z3 Load ................................ 8
X - Exit ................................... 8
Appendix A - TCAP File Description .............. 9
Appendix B - Program Listings ................... 12
è Introduction
VTCA╨ i≤ ß vide∩ orienteΣ databasσ manage≥ designeΣá specificall∙ ì
t∩á manipulatσ thσ Termina∞ CAPabilitie≤ (TCAP⌐á database«á Currently¼ ì
thσ onl∙ wa∙ t∩ modif∙ o≥ adΣ terminal≤ t∩ aε existinτ TCA╨ i≤ t∩ edi⌠ ì
thσ sourcσ codσ anΣ reassemblσ thσ code«á Thi≤ i≤ aε unfai≥ limitatioε ì
t∩á thosσ whosσ abilitie≤ witΦ assemble≥ arσ limiteΣ o≥á non-existant« ì
Eveε thosσ oµ u≤ witΦ assemble≥ ability¼á mus⌠ resor⌠ t∩ 'patchingº o≥ ì
re-assembling to just experiment with different terminal codes.
A≤á ß syso≡ runninτ ZCPR3/ZRDO╙ witΦ BYE51░ anΣ PBBS¼á ╔ wa≤ ver∙ ì
interesteΣ iε thσ growinτ suppor⌠ oµ TCAP« B∙ givinτ thσ ordinar∙ use≥ ì
ßá methoΣ witΦ whicΦ t∩ experimen⌠ witΦ TCA╨ listing≤ anΣ adΣá suppor⌠ ì
fo≥á terminal≤ oµ hi≤ choice¼á ╔ hopσ t∩ pu⌠ TCA╨ suppor⌠ oε morσá anΣ ì
morσá systems«á Thσ bes⌠ wa∙ t∩ accomplisΦ thi≤ i≤ t∩ suppl∙ thσá use≥ ì
witΦá softwarσ tha⌠ wil∞ makσ supportinτ sucΦ idea≤ easier«á VTCA╨á i≤ ì
jus⌠ onσ oµ ß fe≈ softwarσ package≤ availablσ fo≥ thi≤ purpose«á Othe≥ ì
such programs now available, or currently under development are,
PTCAP - TCAP installation package for PBBS systems AVAILABLE NOW
VTCAP - TCAP database manager AVAILABLE NOW
PCAP - Printer capabilities package UNDER DEVELOPMENT
PLIB - Printer support library UNDER DEVELOPMENT
GCAP - Graphics capabilities package UNDER DEVELOPMENT
GLIB - Graphics support library UNDER DEVELOPMENT
Future of VTCAP
Support for both printer and graphics packages when released.
Prin⌠á functioεá fo≥ hardcop∙ printou⌠ oµ individua∞ termina∞á iε ì
ááááádatabasσ o≥ ß lis⌠ oµ al∞ terminals.
Additioε oµ ß tes⌠ modulσ tha⌠ display≤ thσ effect≤ oµ thσ choseε ì
ááááádisplay attributes
Installatioεá functioεá tha⌠ wil∞ actuall∙ instal∞ you≥á selecteΣ ì
áááááTCAP in your system environment.
è V T C A P - T C A P M A N A G E R
Program Description
Thσá basiπ functioε oµ thi≤ prograφ i≤ t∩ providσ thσ man∙á user≤ ì
oµá thσ Z│ system≤ anΣ Termina∞ CAPabilit∙ file≤ (TCAP's⌐ ß methoΣá t∩ ì
easil∙á modif∙ thσ TCA╨ file≤ oε thei≥ systems«á TCA╨ Manage≥á (VTCAP⌐ ì
gives you the following:
1. AdΣ ß termina∞ t∩ thσ database
2. Deletσ ß terminalì
3. SearcΦ fo≥ ß requesteΣ terminal
4. Scaε forwarΣ o≥ backwarΣ througΦ thσ listings
5. Updatσá thσ currentl∙ displayeΣ terminal
6. Lis⌠ al∞ oµá thσ terminal≤ iε thσ database
7. Mergσ tw∩ TCA╨ file≤
8. Switch between Z3TCAP files
9. Provide≤ yo⌡ witΦ completσá on-linσ hel≡ fo≥ al∞ functions
Thσ distributioε librar∙ filσ contain≤ al∞ oµ thσ file≤ necessar∙ ì
t∩á completel∙á assemblσá anΣ linδ VTCAP«á Thi≤ i≤á ßá vide∩á orienteΣ ì
routinσ anΣ require≤ certaiε informatioε about your system.
Thi≤á prograφá i≤á offereΣá int∩ thσ publiπá domaiεá anΣá ma∙á bσ
redistributeΣ withou⌠ permission« VTCA╨ i≤ thσ solσ propert∙ oµ Acces≤ ì
Programminτá RA╙á anΣá canno⌠á bσ solΣá seperatel∙á o≥á packageΣá witΦ ì
product≤ a≤ aε incentivσ t∩ purchasσ withou⌠ prio≥ writteεá permissioε ì
froφá thσ author«á An∙ suggestion≤ o≥ modification≤ shoulΣ bσ directeΣ ì
t∩á mσá personall∙á a⌠á thσ systeφ below«á Wσá wil∞á NO╘á suppor⌠á an∙ ì
modification≤á tha⌠á havσá no⌠ beeε previousl∙á cleareΣá througΦá thi≤ ì
system.
Access Programming RAS
14385 SW Walker Rd. B3
Beaverton, OR 97006
Terry Pinto - Owner/SYSOP
(503) 646-4937 VOICE
(503) 644-0900 (300/1200 baud - 24 hours/day)
è
ADD
Thσá adΣ functioε wil∞ allo≈ thσ use≥ t∩ adΣ additiona∞á termina∞ ì
listing≤ t∩ thσ database«á Wheε yo⌡ ente≥ thσ AD─ mode¼á thσ datß wil∞ ì
bσ cleareΣ froφ thσ displa∙ givinτ yo⌡ ß 'blankº recorΣ t∩ worδá with« ì
A⌠á thi≤ timσ yo⌡ ma∙ ente≥ thσ information«á
Therσ arσ threσ type≤ oµ field≤ iε whicΦ yo⌡ ma∙ ente≥ data«á Thσ ì
firs⌠á oµ whicΦ i≤ thσ fixeΣ lengtΦ string«á Thσ onl∙ fielΣ tha⌠á use≤ ì
thi≤á entr∙ methoΣ i≤ thσ termina∞ name«á Yo⌡ arσ limiteΣ t∩ entr∙á oµ ì
sixteeε characters«á Iµ yo⌡ makσ ß mistake¼á yo⌡ ma∙ usσ thσ backspacσ ì
t∩ repositioε thσ curso≥ iε thσ field«á Wheε entr∙ i≤ complete¼á pres≤ ì
<ENTER╛á t∩á terminatσ thσ field«á Thi≤ wil∞ automaticall∙á erasσá an∙ ì
character≤á t∩á thσá righ⌠á oµ thσá curso≥á effectivel∙á clearinτá thσ ì
remainder of the field.
Thσá seconΣá typσ oµ entr∙ i≤ thσ singlσ character«á Al∞á oµá thσ ì
arro≈ key≤ anΣ screeε delay≤ arσ representeΣ b∙ thi≤ type«á Thi≤ fielΣ ì
i≤ automaticall∙ terminateΣ wheε yo⌡ ente≥ ß characte≥ anΣ thσá curso≥ ì
wil∞á bσ advanceΣ t∩ thσ nex⌠ field«á Iµ yo⌡ makσ ß mistake¼á jus⌠ usσ ì
the arrow key to reposition the cursor.
Thσ thirΣ typσ i≤ thσ variablσ lengtΦ string«á Al∞ oµ thσá screeε ì
contro∞á string≤ arσ formatteΣ witΦ thi≤ typσ oµ input«á Durinτ input¼ ì
yo⌡á ma∙ usσ thσ backspacσ t∩ correc⌠ mistakes«á Pressinτ thσá <ENTER╛ ì
ke∙ wil∞ terminatσ inpu⌠ oµ thσ fielΣ anΣ advancσ t∩ thσ next« T∩ ski≡ ì
ßá field¼á jus⌠ ente≥ ß carriagσ return«á REMEMBER¼á TH┼ ENTR┘á O╞á ┴ ì
CARRIAGE RETURN WILL ERASE THE REMAINDER OF THE FIELD.
Wheε yo⌡ exi⌠ froφ thσ AD─ mode¼á yo⌡ wil∞ bσ prompteΣ t∩ ente≥ ß ì
ne≈ versioε number«á Usσ an∙ tw∩ digi⌠ numbe≥ iε thσ followinτ format« ì
Version Number: 2.7 [major.minor]
Anytimσ yo⌡ makσ an∙ change≤ t∩ thσ database¼á increasσ thσ mino≥ ì
revisioε numbe≥ b∙ one.
DELETE
Thσá deletσ functioε i≤ ß togglσ anΣ wil∞ allo≈ yo⌡ t∩á 'markºá ß ì
recorΣá fo≥á deletion«á Wheε s∩ marked¼á thσ datß iε thσá recorΣá wil∞ ì
appea≥á iε thσ standou⌠ modσ anΣ thσ worΣ 'DELETEDº wil∞ appea≥ a⌠ thσ ì
to≡ oµ thσ screen«á Oncσ ß recorΣ ha≤ beeε markeΣ fo≥ deletion¼ i⌠ ma∙ ì
bσá reclaimeΣ b∙ usinτ thσ samσ function«á Thσ firs⌠ timσ thσá [D▌á i≤ ì
pressed¼á thσá recorΣ wil∞ bσ markeΣ fo≥ deletion¼á thσ nex⌠ time¼á i⌠ ì
wil∞ bσ reinstated«á Thσ markeΣ record≤ arσ no⌠ deleteΣ unti∞ yo⌡ exi⌠ ì
thσ database«á A⌠ tha⌠ timσ yo⌡ wil∞ bσ prompteΣ fo≥ ß versioε number« ì
Use the same proceedure as outlined above.
è HELP
Thσ hel≡ functioε wil∞ providσ yo⌡ witΦ on-linσ hel≡ oµ al∞ mode≤ ì
oµ operatioε iε thσ program« B∙ pressinτ [H]¼ yo⌡ caε ge⌠ thσ firs⌠ oµ ì
thσá HEL╨á screens«á Thi≤á screeε wil∞ presen⌠ yo⌡ witΦá hel≡á oεá thσ ì
commanΣá linσá synta°á oµá thσ program«á Yo⌡ ma∙ invokσá mos⌠á oµá thσ ì
operation≤ oµ thσ prograφ froφ thσ ZCPR│ commanΣ linσ b∙ specifinτ thσ ì
appropriatσá option«á Al∞ oµ thσ informatioε yo⌡ wil∞ neeΣ oεá ho≈á t∩ ì
accomplisΦá thi≤á i≤ displayeΣ oε thi≤ screen«á A⌠ thσ bottoφá oµá thσ ì
display¼ yo⌡ wil∞ seσ ß promp⌠ t∩ selec⌠ thσ topiπ yo⌡ wisΦ hel≡ with« ì
Al∞á oµá thσ topic≤ arσ representeΣ b∙ ß /o«á T∩ reques⌠ hel≡á witΦá ß ì
particula≥ topic¼á jus⌠ pres≤ thσ characte≥ afte≥ thσ /« Fo≥ instance¼ ì
the help function is shown as follows:
/H - Help
T∩á selec⌠á hel≡ witΦ thσ hel≡ functions¼á jus⌠ pres≤ H«á Iµá yo⌡ ì
pres≤ ß ke∙ tha⌠ i≤ no⌠ supported¼á aε erro≥ messagσ wil∞ bσ displayeΣ ì
oε thσ screen« Wheε yo⌡ selec⌠ ß topic¼ thσ informatioε requesteΣ wil∞ ì
bσá displayeΣá oεá thσá las⌠ fivσ line≤ oµá thσá displa∙á leavinτá thσ ì
origina∞ hel≡ screen«á Thesσ bottoφ fivσ line≤ wil∞ ac⌠ likσ ßá windo≈ ì
displayinτá thσ requireΣ informatioε wheε needed«á T∩ exi⌠ bacδ t∩ thσ ì
database, just press [X].
LIST
Thσ lis⌠ functioε wil∞ displa∙ al∞ oµ thσ terminal≤ currentl∙á iε ì
thσ database« The∙ wil∞ bσ displayeΣ iε thσ orde≥ iε whicΦ the∙ appea≥ ì
iεá thσ file«á EacΦ screeε wil∞ displa∙ u≡ t∩ eight∙ terminal≤ iε fou≥ ì
column≤á oµá twenty«á An∙ deleteΣ terminal≤ wil∞ bσ displayeΣá iεá thσ ì
standou⌠ mode«á Iµ therσ arσ eight∙ terminal≤ o≥ les≤ yo⌡ wil∞ seσ thσ ì
entirσá databasσ oε onσ screeε witΦ thσ [Strikσ an∙ key▌ promp⌠ a⌠ thσ ì
bottom«á Iµá therσ arσ morσ thaε eight∙ terminals¼á thσá displa∙á wil∞ ì
pausσ a⌠ eight∙ anΣ displa∙ thσ [more▌ prompt«á Herσ yo⌡ ma∙ pres≤ an∙ ì
ke∙ t∩ seσ u≡ t∩ eight∙ morσ listings.
MERGE
Thi≤ i≤ ß ver∙ powerfu∞ function«á I⌠ wil∞ allo≈ yo⌡ t∩ creatσá ß ì
TCA╨ filσ containinτ al∞ oµ thσ uniquσ listing≤ iε tw∩ files«á Thσ tw∩ ì
file≤ beinτ thσ defaul⌠ TCA╨ filσ (Z3TCAP.TCP⌐ anΣ thσ filσá specifieΣ ì
oεá thσ commanΣ linσ o≥ loadeΣ witΦ thσ 'Zº optioε withiεá VTCAP«á Thσ ì
tw∩á file≤ arσ compareΣ anΣ al∞ oµ thσ uniquσ listing≤ arσ writteεá t∩ ì
aε outpu⌠ file¼á Z3TCAPxx.TCP¼ wherσ x° i≤ thσ versioε numbe≥ thσ use≥ ì
supplie≤ a⌠ thσ beginninτ oµ thσ mergσ process« Yo⌡ wil∞ wan⌠ t∩ checδ ì
ove≥á thσ listing≤ ver∙ carefull∙ a≤ onl∙ thσ inde° namσ i≤á compared« ì
Iµá someonσ change≤ thσ inde° namσ iε onσ file¼á yo⌡ wil∞ enΣ u≡á witΦ ì
tw∩ seperatσ listing≤ fo≥ thσ samσ terminal« ┴ gooΣ examplσ oµ thi≤ i≤ ì
obtaineΣá b∙á merginτ Z3TCAP2│ witΦ Z3TCAP20«á Thσ mergσ oµ thesσá tw∩ ì
file≤á contaiε tw∩ listing≤ eacΦ fo≥ thσ HEAT╚ terminals¼á botΦá HeatΦ ì
èanΣá ANS╔á modes«á Thσ listinτ fo≥ thσ Genera∞ Termina∞á 10░á i≤á als∩ ì
duplicated«á Carefu∞á checkinτ oµ thσ outpu⌠ filσ i≤ ß smal∞ pricσá t∩ ì
pa∙á fo≥ thσ powe≥ oµ thσ mergσ function«á Yo⌡ ma∙ alway≤ g∩ iεá late≥ ì
with the delete mode and take care of any duplication.
Thσá mergσ proces≤ iε ver∙ comple° iε naturσ anΣ ha≤ beeε greatl∙ ì
simplifieΣ iε thσ descriptioε above«á Seσ thσ descriptioε oµ thσá TCA╨ ì
filσá anΣá thσá technica∞ descriptioε oµ thσ prograφá module≤á iεá thσ ì
appropriatσá appendicie≤á fo≥á ßá morσá completσá descriptioεá oµá thσ ì
operation of this and other functions.
NEXT
Thi≤á functioε wil∞ repositioε thσ databasσ t∩ thσ nex⌠ recorΣ iε ì
thσá database«á N∩ inde° filσ i≤ useΣ thereforσ thσ steppinτá i≤á donσ ì
sequentially«á Thσ record≤ arσ alphabetizeΣ anΣ thereforσ shoulΣ bσ iε ì
'indexed' order.
PREVIOUS
Thi≤á i≤ thσ oppositσ oµ thσ abovσ functioε anΣ wil∞ positioε thσ
databasσ t∩ thσ recorΣ beforσ thσ onσ currentl∙ displayed«á Again¼ thσ ì
stepping is done sequentially through an alphabetized listing.
SEARCH
Thσá searcΦá functioεá i≤á useΣ t∩ locatσ an∙á desireΣá entr∙á iε ì
database«á Wheε enterinτ thσ searcΦ mode¼ yo⌡ wil∞ bσ prompteΣ fo≥ thσ ì
namσ oµ thσ termina∞ t∩ searcΦ for« Thσ prograφ wil∞ determinσ betweeε ì
uppe≥ anΣ lowe≥ casσ, s∩ bσ exac⌠ wheε specifinτ thσ searcΦ criteria.
APPLE /// is not the same as Apple ///
Iµá yo⌡ reques⌠ ß namσ tha⌠ i≤ no⌠ iε thσ database¼á yo⌡ wil∞á bσ ì
giveεá aεá erro≥ messagσ and¼á afte≥ ß shor⌠ delay¼á returneΣá t∩á thσ ì
'Ente≥ Filename║ º prompt« Iµ thσ searcΦ i≤ sucessful¼ thσ searcΦ modσ ì
wil∞á bσá terminateΣ anΣ yo⌡ wil∞ bσ returneΣ t∩ thσ commanΣá modσá oµ ì
VTCAP«á Thσá namσ entereΣ mus⌠ bσ identica∞ t∩ thσ namσ iεá thσá inde° ì
sectioεá oµá thσ databasσ (seσ thσ sectioε oε thσ descriptioεá oµá thσ ì
TCA╨ files)« Iµ yo⌡ arσ unsurσ oµ thσ spellinτ o≥ thσ wa∙ thσ termina∞ ì
i≤á described¼á usσ thσ lis⌠ functioε t∩ displa∙ thσ terminal≤ iεá thσ ì
database«á Oncσ yo⌡ havσ locateΣ ß terminal¼á yo⌡ ma∙ scaε througΦ thσ ì
databasσ b∙ usinτ thσ [P]reviou≤ anΣ [N]ex⌠ commands.
è
UPDATE
Thσá updatσá functioεá i≤ ver∙ simila≥ iε operatioεá t∩á thσá adΣ ì
function«á Oncσ yo⌡ havσ selecteΣ thσ termina∞ yo⌡ wan⌠ t∩ update¼ yo⌡ ì
selec⌠á [U▌á anΣá thσ curso≥ i≤ placeΣ oε thσ firs⌠ characte≥á oµá thσ ì
firs⌠ fielΣ iε thσ record«á Thσ <ENTER╛ ke∙ wil∞ terminatσ fielΣ inpu⌠ ì
anΣ advancσ thσ curso≥ t∩ thσ nex⌠ field« Al∞ informatioε t∩ thσ righ⌠ ì
oµ thσ cursor¼á iε thσ curren⌠ field¼á wil∞ bσ los⌠ wheε yo⌡ terminatσ ì
thσ field«á T∩ writσ thσ datß t∩ thσ databasσ usσ '^W'« Iµ yo⌡ wisΦ t∩ ì
abor⌠ thσ curren⌠ update¼á pres≤ '^Q'« Thσ updatσ modσ wil∞ no⌠ promp⌠ ì
fo≥ thσ entr∙ oµ ß versioε number«á I⌠ i≤ assumeΣ tha⌠ thi≤ modσá wil∞ ì
bσá useΣ morσ fo≥ experimentatioε anΣ correctinτ oµ typinτ error≤á anΣ ì
thereforσá wil∞ no⌠ requirσ thσ generatioε oµ ß highe≥ versioε number« ì
Iµ yo⌡ fee∞ thσ neeΣ t∩ issuσ ß versioε numbe≥ fo≥ aε updateΣ listing¼ ì
you may rename the file externally.
Z3 LOAD
Thσá Z│á LoaΣá functioε i≤ useΣ t∩ exi⌠á onσá databasσá anΣá loaΣ ì
another« Yo⌡ wil∞ bσ prompteΣ fo≥ thσ namσ oµ thσ databasσ yo⌡ wisΦ t∩ ì
read«á D╧á NO╘ TYP┼ TH┼ FIL┼ EXTENT«á Al∞ file≤ shoulΣ bσ oµ thσá forφ ì
Z3TCAPxx¼á wherσ x° i≤ thσ versioε numbe≥ oµ thσ filσ t∩ bσ loaded« Iµ ì
yo⌡ reques⌠ ß filσ tha⌠ doe≤ no⌠ exist¼á yo⌡ seσ aε erro≥ message¼ anΣ ì
yo⌡ wil∞ bσ returneΣ t∩ thσ 'Ente≥ Filename║á º promp⌠ allowinτ yo⌡ t∩ ì
tr∙ agian«á Iµ you≥ reques⌠ i≤ sucessful¼á yo⌡ wil∞ bσ returneΣ t∩ thσ ì
VTCA╨á commanΣ level«á T∩ cance∞ thσ filenamσ entry¼á ente≥ ß carriagσ ì
return and the default Z3TCAP file will be loaded.
Exit
Thi≤ commanΣ i≤ selµ explanitory«á Al∞ opeε file≤ wil∞ bσ closed¼ ì
al∞á disδá housekeepinτ wil∞ bσ completeΣ anΣ yo⌡ wil∞ bσ returneΣá t∩ ì
the operating system level, exiting the program.
è
Appendix A
TCAP File Description
T∩ understanΣ thσ operatioε oµ VTCAP¼á yo⌡ mus⌠ firs⌠á understanΣ ì
the TCAP file and how it is constructed.
Thσá TCA╨á filσá consist≤á oµ tw∩ sections¼á thσá inde°á anΣá thσ ì
database«
Thσá inde° sectioε contain≤ thσ name≤ oµ al∞ oµ thσ terminal≤á iε ì
thσ database«á Al∞ sortinτ anΣ searchinτ i≤ donσ relativσ t∩ thσ name≤ ì
iεá thσ inde° section«á EacΦ termina∞ namσ i≤ sixteeε byte≤ iεá lengtΦ ì
anΣá eigh⌠ name≤ wil∞ occup∙ onσ physica∞ recorΣ iε thσ file«á Iµá thσ ì
termina∞ name≤ d∩ no⌠ completel∙ fil∞ thσ record¼ thσ remainde≥ oµ thσ ì
recorΣ wil∞ bσ filleΣ witΦ 0's«á Thσ termina∞ name≤ arσ entereΣ iε thσ ì
databasσá iε alphabetica∞ orde≥ thu≤ negatinτ thσ neeΣá fo≥á elaboratσ ì
inde°á files«á EacΦá termina∞á namσ i≤ paddeΣ witΦ blank≤á t∩á sixteeε ì
characters«á Thσá followinτá wil∞ illustratσ thσ constructioεá oµá thσ ì
inde° sectioε oµ TCA╨ files.
+---------------------------------------------+ +--------------+
00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 0123456789ABCDEF
57 59 53 45 20 31 30 30 20 20 20 20 20 20 20 20 WYSE 100
58 65 72 6F 78 20 38 32 30 2D 49 20 20 20 20 20 Xerox 820-I
58 65 72 6F 78 20 38 32 30 2D 49 49 20 20 20 20 Xerox 820-II
58 65 72 6F 78 20 38 2D 31 36 20 20 20 20 20 20 Xerox 8-16
20 32 22 36 20 20 20 20 20 20 20 20 20 20 20 20 2.6
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
+---------------------------------------------+ +--------------+
Noticσá tha⌠á eacΦ entr∙ take≤ thσ entirσ sixteeε byte≤á anΣá tha⌠á n∩
terminato≥á i≤ useΣ t∩ indicatσ thσ enΣ oµ thσ string«á Thσ las⌠ entr∙ ì
iεá thσá filσá i≤á thσ inde° entr∙á fo≥á thσá versioεá number«á I⌠á i≤ ì
recognizeΣ b∙ thσ fac⌠ tha⌠ thσ firs⌠ characte≥ iε thσ fielΣ i≤ blank« ì
Thi≤á i≤ thσ onl∙ recorΣ tha⌠ begin≤ witΦ ß blanδ character«á Thσ nex⌠ ì
threσá byte≤á denotσ thσ versioε number«á Thσ res⌠ oµá tha⌠á fielΣá i≤ ì
paddeΣá witΦá blanks«á Thσ remainde≥ oµ thσ physica∞ recorΣ i≤á filleΣ ì
witΦá binar∙á 0's«á Thσá firs⌠á oµ thesσ zero'≤ servσá a≤á thσá strinτ ì
terminato≥ fo≥ thσ inde° file«á Thu≤ thσ entirσ inde° filσ i≤á treateΣ ì
a≤ onσ lonτ strinτ terminateΣ b∙ ß binar∙ 0.
è
Thσ nex⌠ sectioε i≤ thσ database«á EacΦ 12╕ bytσ physica∞á recorΣ ì
represent≤á onσ termina∞ entry«á Thσ followinτ fielΣ structurσ define≤ ì
the database section.
Terminal Name 16 bytes
Up Arrow 1 byte
Down Arrow 1 byte
Left Arrow 1 byte
Right Arrow 1 byte
CLS Delay 1 byte
DCA Delay 1 byte
EOL Delay 1 byte
Clear Screen Variable Length --+
Dir Cur Pstn Variable Length |
Erase EOL Variable Length |
Begiε Standou⌠ Variablσ LengtΦ |--╛ Total =< 105 Bytes
End Standout Variable Length |
Terminal Init Variable Length |
Term De-Init Variable Length --+
Thσá termina∞ namσ i≤ thσ onl∙ fielΣ tha⌠ i≤ NO╘ terminateΣ b∙á ß ì
binar∙á 0«á Al∞á othe≥ field≤ arσ terminated«á Iµ ß serie≤á oµá zero'≤ ì
exist¼ easΦ wil∞ represen⌠ ß fielΣ entry« Thσ followinτ examplσ oµ thσ ì
Televideo 950 terminal should help to clarify.
00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 0123456789ABCDEF
54 56 49 39 35 30 20 20 20 20 20 20 20 20 20 20 TVI950
0B 16 0C 08 32 00 00 1B 2A 00 1B 3D 25 2B 20 25 ....2...*..=%+ %
2B 20 00 1B 74 00 1B 29 00 1B 28 00 00 00 00 00 + ..t..)..(.....
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
The following should help to translate the code.
54 56 49 39 35 30 20 20 20 20 20 20 20 20 20 20 TVI950
T V I 9 5 0
0B 16 0C 08 32 00 00 1B 2A 00 1B 3D 25 2B 20 25 ....2...*..=%+ %
| Arrows | |Delays| | CLS | | Direct Cursor
^K ^V ^L ^H |2ms dl| | ESC* | | ESC=%+ %+
+---------+ +------+ +------+ +----------------
2B 20 00 1B 74 00 1B 29 00 1B 28 00 00 00 00 00 + ..t..)..(.....
Addr | | EOL | |Beg SO| |End SO| TI TD
| | ESCt | |ESC) | |ESC( | | +- No De-initialization
-------+ +------+ +------+ +------+ +---- No Initialization
è
Thσá las⌠ databasσ entr∙ i≤ thσ versioε number«á Onσ entirσ recorΣá i≤ ì
reserveΣá fo≥á thi≤ entry«á I⌠ appear≤ thσ samσ a≤ thσá inde°á sectioε ì
entry«á Thσ firs⌠ sixteeε byte≤ arσ reserveΣ fo≥ thσ 'name'¼á whicΦ iε ì
thi≤ casσ wil∞ bσ thσ versioε numbe≥ preceedeΣ b∙ onσ blanδ anΣ paddeΣ ì
t∩ fil∞ thσ sixteeε bytσ namσ field«á Thσ res⌠ oµ thσ recorΣ i≤ filleΣ ì
witΦ ß binar∙ 0«á I⌠ i≤ importan⌠ t∩ notσ tha⌠ thσ firs⌠ recorΣ iε thσ ì
datßá sectioεá alway≤ begin≤ oε ß recorΣ boundary«á Thi≤ i≤á importan⌠ ì
becausσá i⌠á i≤á thσ basi≤ oµ thσ calculation≤ useΣá t∩á positioεá thσ ì
record pointer within the database.