home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CP/M
/
CPM_CDROM.iso
/
simtel
/
sigm
/
vols000
/
vol083
/
ice.doc
< prev
next >
Wrap
Text File
|
1985-02-09
|
4KB
|
92 lines
ICE NOTES
Thσá tex⌠á edito≥ i≤ calleΣ ICE«á IC┼ stand≤ fo≥ "Iεá Contex⌠ ì
Editor"«á I⌠á i≤á essentiall∙ ß linσ edito≥ tha⌠á present≤á ß ì
windo≈á ove≥ ß filσ oε ß CR╘ screeε witΦ thσ editinτá command≤ ì
mainl∙ operatinτ oε thσ bottoφ linσ oµ thσ screen«á I⌠ i≤ no⌠ ì
complete«á Thσ maiε shortcominτ i≤ thσ poo≥ handlinτ of files« ì
IC┼á need≤á ß submi⌠ filσ (ICE.SUB⌐ t∩ creatσ anΣá maintaiεá ß ì
backu≡ filσ iε thσ samσ wa∙ a≤ E─ does« I⌠ i≤ intendeΣ t∩ re-ì
codσ IC┼ iε C«á Ne≈ editinτ command≤ wil∞ bσ addeΣ a≤ wel∞ a≤ ì
addinτ filσ manipulatioε commands.
Some notes regarding ICE:
- IC┼á ha≤á ß fixeΣ sizσ datß buffer«á Datß passe≤á froφá thσ ì
ááinpu⌠ filσ througΦ thσ datß buffe≥ t∩ thσ outpu⌠á buffer«á ┴ ì
ááwindo≈á ove≥ thσ datß buffe≥ i≤ presenteΣ oε thσ screen«á A≤ ì
ááthσá windo≈á i≤á moveΣ dowε thσ filσá (toward≤á highe≥á linσ ì
áánumbers⌐ datß flow≤ througΦ thσ buffer«á Thσ windo≈ caεá bσ ì
áámoveΣá u≡ thσ filσ onl∙ a≤ fa≥ a≤ thσ beginninτ oµ thσá datß ì
áábuffer.
- ┴á linσá consistinτá oµ ß carriagσ returε onl∙á i≤á useΣá t∩ ì
ááterminatσ ICE'≤ inpu⌠ commands« ┴ carriagσ returε onl∙ linσ ì
ááals∩á denote≤ aε empt∙ linσ iε thσ datß buffe≥ (eithe≥ line≤ ì
ááhavσ beeε deleteΣ o≥ datß ha≤ neve≥ existeΣ there)« ┴ nast∙ ì
áásidσá effec⌠ oµ thi≤ i≤ tha⌠ carriagσ returε onl∙á line≤á iε ì
ááthσá inpu⌠ filσ arσ deleted«á T∩ havσ ß blanδ linσ iε ß filσ ì
ááonσ o≥ morσ space≤ o≥ tab≤ mus⌠ bσ entered.
- Thσ datß buffe≥ i≤ aε arra∙ oµ strings« Thσ strinτ sizσ ha≤ ì
áábeeε se⌠ t∩ 10░ character≤ iε thσ hopσ tha⌠ thσ majorit∙á oµ ì
ááfile≤áá editeΣá wil∞á no⌠á contaiεá line≤á longe≥á thaεá 10░ ì
áácharacters«á An∙á line≤ longe≥ thaε 10░ character≤ wil∞á bσ ì
áátruncateΣ a≤ the∙ pas≤ througΦ ICE« Onl∙ thσ firs⌠ 6┤ o≥ 8░ ì
áácharacter≤á winΣ u≡ oε thσ screeε dependinτ oε thσá termina∞ ì
ááused«á Actuall∙á al∞ character≤ iε ß ro≈ arσ displayeΣá bu⌠ ì
ááexces≤ character≤ arσ overwritteε wheε thσ followinτ linσ i≤ ì
ááwritten.
- IC┼á take≤á thσá namσ oµ thσ filσ i⌠ i≤á t∩á edi⌠á froφá thσ ì
áácommanΣá line«á I⌠á produce≤á ß filσ witΦ aεá extensioεá oµ ì
áá'%%%'«á ┴á submi⌠á filσá cal∞ ICE.SU┬ i≤á useΣá t∩á d∩á thσ ì
áánecessar∙á deletσá anΣ rename≤ t∩ kee≡ ß backu≡ oµ thσá filσ ì
áábeinτ edited.
- You≥ attentioε i≤ drawε t∩ thσ Morσ anΣ Samσá commands«á Seσ ì
ááthσáá Get_commanΣáá procedurσá anΣá thσáá commanΣáá executo≥ ì
ááprocedures«á Locatinτá typσ command≤ (e.g«á Find⌐ arσ saveΣ ì
ááfo≥á recal∞ b∙ Morσ anΣ actioε typσ command≤á (e.g«á Change⌐ ì
ááarσ saveΣ fo≥ recal∞ b∙ Same.
- Change and Line Change commands.
Examples:
c /xyz/abc substitutes abc for xyzè c /xyz removes xyz from line
c //xyz inserts xyz before first character of line
c /ab...cd/xyz substitutes xyz for a string
starting with ab and ending with cd
ááWhere:
/ represent≤á thσ delimite≥ - an∙á printinτá characte≥ ì
áááááááááácaε bσ useΣ a≤ ß delimiter.
... ái≤áá ellipsi≤á whicΦá indicate≤á searcΦá fo≥á strinτ ì
áááááááááástartinτ witΦ character≤ beforσ ellipsi≤ anΣá endinτ ì
ááááááááááwitΦá character≤ afte≥ ellipsis«á Eithe≥ o≥ botΦ oµ ì
ááááááááááthσ string≤ associateΣ witΦ ellipsi≤ ma∙ bσ omitted.
ááThσá changσ commanΣ substitute≤ fo≥ thσ firs⌠á occurencσá oµ ì
ááthσ ke∙ string«á Linσ Changσ substitute≤ fo≥ al∞ occurence≤ ì
ááoµ thσ ke∙ string.
lc ..! would place ! between each of the characters
of the original line.
- Al∞á oµ thσ termina∞ dependencie≤ arσ isolateΣ iε ß grou≡ oµ ì
ááprocedure≤ a⌠ thσ enΣ oµ thσ program« Aε ADM-3▒ support≤ al∞ ì
ááoµ thσ requireΣ functions«á Scrol∞ u≡ caε bσ inplementeΣá b∙ ì
áápositioninτá thσá curso≥ t∩ thσ las⌠ linσ oµ thσ screeεá anΣ ì
ááissuinτá ßá linσ feed«á Scrol∞ dowε caεá bσá implementeΣá b∙ ì
ááhomeinτá thσá curso≥á anΣá issuinτá aεá inser⌠á linσá escapσ ì
áásequence«á I⌠á does'⌠ matte≥ wherσ scrol∞ u≡ anΣ scrol∞ dowε ì
ááleavσ thσ cursor.
Thσá PL╔á ruεá timσ systeφ require≤ ß PU╘ SKI╨á t∩á bσá donσ ì
ááperiodicall∙ s∩ a≤ t∩ kee≡ it≤ outpu⌠ bufferinτ straight«á ╔ ì
áápu⌠ thσ pu⌠ skip'≤ int∩ thσ curso≥ positioninτ procedurσá a≤ ì
ááthi≤á i≤ calleΣ frequently«á Wheε positioninτ t∩ othe≥ thaε ì
ááro≈ ▒ ß curso≥ positioninτ escapσ sequencσ t∩ thσ linσ abovσ ì
ááthσá desireΣá linσá i≤ issueΣ anΣ thσá pu⌠á skip'≤á carriagσ ì
ááreturε anΣ linefeeΣ movσ thσ curso≥ t∩ thσ desireΣ line.