home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CP/M
/
CPM_CDROM.iso
/
beehive
/
utilitys
/
addlf15.arc
/
ADDLF15.DOC
< prev
Wrap
Text File
|
1990-07-21
|
5KB
|
109 lines
Documentatioε fo≥ ADDLF.CO═ versioε 1.5 - MarcΦ 15¼ 1983
b∙ Harr∙ Smith
1962╕ Viß Montσ Dr.
Saratoga¼ C┴ 95070
Thi≤á prograφá processe≤á ß tex⌠ filσ receiveΣá froφá ßá non-CP/═ ì
systeφá anΣ convert≤ i⌠ t∩ ß standarΣ CP/═ tex⌠ filσ s∩ i⌠ caε bσ ì
useΣ b∙ ß CP/═ tex⌠ edito≥ sucΦ a≤ E─ o≥ WordStar«á I⌠ i≤ writteε ì
iε MBASI├ anΣ ha≤ beeε compileΣ usinτ BASCO═ t∩ producσ thσá .CO═ ì
file« Thσ .BA╙ filσ i≤ iε ASCI╔ forma⌠ s∩ i⌠ caε bσ TYPE'd.
T∩ executσ thσ program¼á inpu⌠ ß commanΣ linσ containinτ thσ namσ ì
oµá thσá .CO═ file«á Therσ shoulΣ bσ n∩ parameter≤ inpu⌠á oεá thσ ì
commanΣá line«á Wheεá thσá prograφá start≤ i⌠á wil∞á displa∙á thσ ì
followinτ message:
**¬ AdΣ line-feed≤ t∩ non-standarΣ CP/═ tex⌠ file≤ ***
This program:
1⌐ Remove≤ al∞ existinτ line-feed≤ (L╞ ╜ 0┴ hex).
2⌐ Add≤ ß L╞ afte≥ eacΦ RETUR╬ (C╥ ╜ 0─ hex).
3⌐ Add≤ ß L╞ afte≥ eacΦ SOFT-RETUR╬ (S╥ ╜ 8─ hex).
4⌐ Remove≤ al∞ null≤ (NU╠ ╜ 0░ hex).
5⌐ Stop≤ a⌠ enΣ oµ filσ characte≥, if present (EO╞ ╜ 1┴ hex).
6⌐ Stop≤ a⌠ physica∞ EO╞ anΣ add≤ EO╞ character¼ iµ no⌠ present.
7⌐ Insert≤ SOFT-RETUR╬ anΣ L╞ t∩ replacσ firs⌠ spacσ afte≥ 55th
character of line if the WordStar option below is selected.
8) Allows for upper or lower case in all operator inputs.
9) Accepts file name of d: to list files on drive d:.
DO YOU ALSO WANT TO ADD SOFT-RETURNS FOR WordStar (Y/N) ? _
YOU MAY CHANGE DISKS NOW BEFORE ANSWERING NEXT QUESTION!
FILE NAME MAY HAVE DRIVE INDICATOR, AS: B:filename.ext
TYPE CONTROL-C TO EXIT PROGRAM.
INPUT FILE NAME: ? _
┴ morσ detaileΣ explanitioε oµ thi≤ i≤:
1⌐ Al∞á existinτá line-feed≤ arσ initiall∙á deleteΣá t∩á preven⌠ ì
creatinτ consecutivσ line-feed≤.
2⌐ Line-feed≤ arσ addeΣ afte≥ eacΦ RETUR╬ t∩ conforφ t∩ standarΣ ì
CP/═ tex⌠ files«
3⌐ SOFT-RETURN╙ arσ useΣ b∙ somσ tex⌠ editor≤ t∩ enΣ eacΦ linσ oµ ì
ß paragraph«á Thesσ SOFT-RETURN╙ caε anΣ arσ moveΣ b∙ thσ tex⌠ ì
edito≥ wheε thσ paragrapΦ i≤ editeΣ b∙ thσ user.
4⌐áNull≤ arσ removeΣ sincσ somσ file≤ sucΦ a≤ APPL┼á tex⌠á file≤ ì
enΣ witΦ nulls.
5⌐ Thσ prograφ stop≤ a⌠ EO╞ characte≥ t∩ bσ compatablσ witΦá CP/═ ì
files«á Iµá ßá standarΣá CP/═ tex⌠ filσ i≤ processeΣá i⌠á wil∞ ì
normall∙ bσ lef⌠ unchanged.
6⌐ Thσ EO╞ characte≥ i≤ addeΣ a⌠ thσ enΣ oµ thσ filσ t∩á conforφ ì
t∩ CP/═ standards.è7⌐ Somσ tex⌠ editor≤ sucΦ a≤ APPL┼ WRITE╥ storσ ßá paragrapΦá a≤ ì
onσá lonτ strinτ oµ word≤ witΦ n∩ harΣ o≥ sof⌠ return≤á excep⌠ ì
a⌠ thσ enΣ oµ thσ paragraph« Thesσ lonτ string≤ mus⌠ bσ brokeε ì
u≡ b∙ SOFT-RETURN≤ beforσ WordSta≥ caε edi⌠ thσ file.
8⌐áFile≤á name≤ a≤ wel∞ a≤ yes/n∩ (Y/N⌐ answer≤ ma∙ bσ inpu⌠á a≤ ì
upper or lower casσ characters.
9⌐ Iµá thσ filσ namσ oµ thσ inpu⌠ o≥ outpu⌠ filσ i≤ giveεá a≤á ß ì
drivσá namσ (A║á o≥ B║á etc.⌐ witΦ n∩ filσ namσá following¼á ß ì
director∙ listinτ oµ thσ file≤ oε tha⌠ drivσ i≤ output« Iµ thσ ì
filσá namσ i≤ giveε a≤ ß nul∞ strinτ (""⌐ o≥ thσ filσá i≤á no⌠ ì
found¼á ßá director∙ listinτ oµ thσ file≤ oε thσ defaul⌠ drivσ ì
i≤ output.
Thσá questioε abou⌠ addinτ SOFT-RETURN╙ fo≥ WordSta≥á applie≤á t∩ ì
iteφ 7⌐ above«á I⌠ shoulΣ bσ answereΣ ┘ iµ (1⌐ APPL┼ WRITE╥ file≤ ì
arσá t∩ bσ processeΣ b∙ WordSta≥ o≥ (2⌐ an∙ timσ file≤ havσ line≤ ì
large≥ thaε 25╡ character≤ anΣ arσ t∩ bσ processeΣ b∙ WordStar.
Thσ prograφ perform≤ ß disδ systeφ rese⌠ beforσ openinτ thσ inpu⌠ ì
file« Thi≤ allow≤ thσ disk≤ t∩ bσ changeΣ an∙ timσ berforσ givinτ ì
thσ inpu⌠ filσ mane.
Thσá inpu⌠á anΣ outpu⌠ filσ caε bσ oε thσ samσ o≥ differen⌠á disδ ì
drives« Iµ ß filσ i≤ oε thσ defaul⌠ drivσ thσ drivσ namσ neeΣ no⌠ ì
bσá given¼á otherwisσá thσ drivσ anΣ filσ namσ mus⌠ bσá giveεá a≤ ì
d:filename.ext.
Afte≥á thσá filσ i≤ converted¼á ß messagσ i≤á outpu⌠á givinτá thσ ì
numbe≥á oµá byte≤ iε thσ outpu⌠ filσ u≡ t∩ bu⌠ no⌠ includinτá thσ ì
EO╞ character« Thσ prograφ theε asks:
DO YOU WISH TO CONVERT ANOTHER FILE (Y/N) ? _
Iµ thi≤ i≤ answereΣ witΦ ß ┘ thσ prograφ cycle≤ bacδ anΣ ask≤ fo≥ ì
filσá name≤ again«á Thσ disk≤ caε bσ changeΣ a⌠ thi≤ poin⌠ iε thσ ì
proces≤ a≤ before«á Iµ n∩ morσ file≤ arσ t∩ bσ converted¼á answe≥ ì
thσá questioεá witΦá aε ╬ anΣ thσá prograφá wil∞á terminate«á Thσ ì
prograφá caε bσ forceΣ t∩ terminatσ a⌠ an∙ timσ i⌠ i≤ askinτá fo≥ ì
operator input by typing control-C.
Afte≥á thσ prograφ terminate≤ i⌠ caε bσ reentereΣá withou⌠á beinτ ì
reloadeΣá froφá disδ b∙ jumpinτ t∩ addres≤ 10░ hex«á Iµá yo⌡á arσ ì
usinτá ZCP╥ thi≤ caε donσ b∙ typinτ G╧ o≥ JUM╨ 100«á Iµ no⌠ usinτ ì
ZCP╥ thi≤ caε bσ donσ b∙ executinτ ß .CO═ filσ oµ zer∩ length.
Whilσá readinτ thi≤ documen⌠ someonσ ma∙ havσ thσ questioε oµ ho≈ ì
d∩ yo⌡ ge⌠ ß non-standarΣ CP/═ tex⌠ filσ oε ß CP/═ disδ t∩á star⌠ ì
with« Onσ wa∙ i≤ b∙ usinτ ß prograφ likσ APDO╙ tha⌠ caε reaΣ froφ ì
ß non-CP/═ disδ (iε thi≤ casσ aε APPL┼ DO╙ disk⌐ anΣ caε writσ t∩ ì
ßá CP/═ disk«á APDO╙ i≤ supplieΣ witΦ Microsoft'≤ SOFTCAR─ systeφ ì
fo≥ thσ APPL┼ II«á Anothe≥ wa∙ i≤ t∩ usσ ß prograφ likσ MODEM╖ t∩ ì
catcΦá ß tex⌠ filσ froφ ß non-CP/═ system«á Thi≤ non-CP/═á systeφ ì
coulΣ bσ aε RBB╙ o≥ i⌠ coulΣ bσ ß mucΦ large≥ systeφ tha⌠á allow≤ ì
remote editing of text files such as an HP3000 system.