Scroll - text editor review: ZX IBM Editor v1.0

Oberon #01
 ZX/IBM EDITOR v1.0 (1.5D)         
══════════════ ════════════════════════════
Have you ever had to use
computer as a typewriter? NO
?! Turn off your computer immediately!!!  All
What is written below is not for you!          
.......!!!! ......!!! .......!! .......!  
  Here you go. Now we are read only by those who
I encountered a problem entering text into
computer. If you are still new to our de-
le, then you probably won’t be uninterested
to find out that great things were created for THIS purpose
many editor programs. Until pos-
ice time with us (the authors of this
text) was a popular editor, part of
base package Is-DOS. It has mass
advantages, but one serious drawback -
it only works in the environment Is-DOS i.e.
to start working with it, you must first
run Is-DOS itself. But now we’re talking
not about him.                                 
                                          
 We bring to your attention a new (it
written at the end of 1993, but appeared on
software market quite recently) editor, has
having almost all the advantages Is-DOS-s-
Russian,except for one thing - it cannot format-
write text. But if you don't exercise because...
by publishing newspapers, magazines, ..., well, in general,
if you don't need to design it very beautifully
text, then you do not need its form -
tate, which means this editor is for you
has no flaws at all.              
  Although, owners of several drives
will be slightly disappointed - work editor
melts only with the CURRENT disk. Thanks aw-
Torah and for this - some are “iron” tied-
call their programs to disk "A",forgetting
that the number of disk drives the user has
his personal business, not the author's.            
  Yes, we forgot, it launches directly from
TRDOS, has full ASCII encoding (like
IBM andIs-DOS), designed according to the best standards
                                          
dartam of shell editors SI, PASCOAL for
IBM.                                      
                                          
  Who is he? His name"ZX/IBMText Editor".
It was written by Oleg Khokhlov.               
  And we are the group"STARS OF KELADAN"now
We'll tell you how to work with it.   
  So...                                   
  The entire screen can be split vertically
into three zones: menu bar, information
line, editable text area.       
  Where do we start? Okay, okay, let it be
the first one will be the menu.                        
                                          
Working with the menu.              
  Work with the menu (even if you never
done this before) very simply: key-
shami "up", "down", "left", "right" you
move the cursor (rectangle in-
standard color), and the "ENTER" key selects
Select the item you like. You can
it's even easier to be stupid: in the name of each
item has at least one capital letter -
this is the key letter if you press the key with
such a letter, then immediately select this one
item.  For example, item "File" - if you
press the key "F",thenit will be all the same
but what about moving the cursor to it and clicking
"ENTER".  Well, now about the menu itself. In it
you will find five items:                  
                                          
- File  - working with files:              
                                          
- Edit  - switch to editor mode:     
                                          
- Pribt  - working with the printer:            
                                          
- SetUp  - settings:                     
                                          
- Ibfo  - information.                    
                                          
Now, in order:                      
                                          
                                          
1. File  - working with files.              
  This is, in fact, a gateway to the “other world” for
texts.  With its help you can do-
perform mind-blowing tricks with your
texts.                                 
There are eight such tricks in total:                
- Save  - writing the current text to  
             file with the desired name, if  
             such a file already existed,  
             then it will automatically restart  
             is written:                  
- Load  - reading text from disk, te-  
             The current text is DESTROYED:    
- Catalogue  - view the disk directory:  
- New  - creating new text,  
             with DESTROYING the current one:     
- save Block - writing the marked block  
             to a file with the desired name:      
- Merge  - merging the current text  
             with text from file:          
- Erase file - deleting the file you need  
             la on disk:                 
- Quit  - exit from the editor, for us,  
             True, this item is "buggy"  
             so better use it  
             button "RESET".             
                                          
2. Edit  - editing mode.         
  If you select this item or just
click  "SPACE" (for experts IBM -here
this wonderful key plays the role of "ESC",
i.e.  this is the key "EXIT, CANCEL"), then
enter text editing mode. Oh
We'll tell you about it a little later.    
                                          
3. Pribt  - working with the printer.         
- Pribt text - print all text:      
- pribt Block - print the selected block: 
- page Size - setting the page size, 
              i.e. how many lines didis on the page.           
                                          
4. SetUp - settings.                     
  This item prompts you to select a mode
editor's work:                         
 - EOLN code - selection of line separator:   
 - Compress  - on (ON) and off
             tion (OFF) text compression:
 - Driver  - select the print driver type,
             internal(Ibside)or user
             zovatelsky (User's).       
                                          
  Do you know what a delimiter is?
lines, and what kind is it? Let's explain. Time
line delimiter is one or two bytes,
which show that the current line
ended and the next symbol after it
must be different.  Separator in "ZX/IBM
Editore" is of two types: "CR" - return
carriages, one byte#D (same as in
Is-DOS): "CR/LF" - carriage return + re-
line water, two bytes #D,#A (and this is like in
IBM, that's why it is "ZX/IBM"). If you
write your text exclusively on (and for)
ZX-SPECTRUM, then it is better to put "CR" - it
takes up less space. And if you orient-
go to IBM, to "CR/LF". Although, if you
you need to change the separator in the already prepared one
text, then change it in "SetUp",and for-
then “run” the cursor through all the lines
text (bottom-up or top-down, but not
along the length of the line) - the separator will be replaced
nen.                                      
  If you enable (ON) text compression,
then the editor “collapses” repeating
spaces, causing the text to become
is smaller in volume, while the text is externally
looks quite normal (output editor
dityou compressed strings in "convenient
cooked" form).                           
  But woe betide you if you turn it off later.
(OFF) compression - reverse decompression
download this previously compressed text
the editor cannot yet, and the internal pre-
education "compression-decompression" you
just turned off, as a result on the e-
the wound will turn out to be a mixture of your text and service
hard bytes.  And in general, why is this needed?
compression ? We never use it
and we don't recommend it to you.                        
                                          
 A little about the printer driver. 3a does not have
Without the latter (the printer), we cannot
ensure that everything below is clean
TRUE.  But as hackers we can give you
a few of our thoughts on this matter
du (we have thoroughly researched the procedure
print).                                  
 First of all.   User (User's)
the driver must be located at address #5B03
(23299)  and occupy no more than 252 bytes (which
quite enough). If he's not there,
then when printing: a surprise awaits you - or half-
new "hangers" of the computer, or any "fuck-ka".                                      
 Secondly.  Internal (Ibside) driver.
For some reason, he first calls the procedure
#5B01 (23297),the consequences are the same (surprise),
and only after that the printing itself begins.
Once again we apologize for our ignorance
dominance, but still someone can understand
meth, what printer does the internal one work with?
driver, and we will only report what we understand:
- printing information (next sim-   
  ox) "throws" into the port #3F (63):        
- port #5F (95) is bidirectional  
  management/monitoring port. While reading  
  4th bit - 1-busy, printing in progress,        
            0-printer ready,              
  5th bit - 0 - print error (no paper)  
            or the printer is not connected,     
            1-respectively - “order”. 
  Record. It’s completely unclear - right away
  after printing a character to this port, "zaki- 
  "zero" is given, then one.          
[ While preparing the issue, we finally
found out thatthis is for the printer interface. This
interface CENTRONICS (parallel port),
built on the basis of the KPS8OBB55 chip.
In this case, alternate recording of zero and one
to port #5F generate a print strobe pulse
Port #7F - activate the printer. ]        
5.  Ibfo - information. Here they will show you
program name - "ZX/IBM Editor", ee
version (we have  1.0), author, and ... "Text
Lebgth"  - current text length (including
delimiter bytes), and "Free Space" - quantity
quality of free space for text.       
  Well, we seem to have sorted out the menu.    
                                          
Information line.          
  Everything is quite simple here. If you look
from left to right, you will see:            
- current alphabet, "Rus"-Russian, "Lat" -
  Latin (including English): 
- character size,"Lock" -lowercase,"Caps"-
  capitalized.                              
 If you have enabled pseudo-graphics mode, then
  instead of the two previous inscriptions there will be
  simply "Graphics".                      
- editing mode,  "Ibsert" - insert-
  ka new character with line expansion,
  "" - overlaying a new character
  to the old one, with the destruction of the latter:   
- decimal code of the character on which the "hundred"
  it" cursor (for owners of color models)
  Nitorov: code - red numbers):          
- "Libe xxx" - current line number:      
- "Col xx" - number of the cursor position in the line
  ke.                                     
  Well, that's all.                   
                                          
 Editable text area.       
  Unfortunately, without knowing everything stated above,
No, it would be very difficult for you (if at all)
still possible) edit normally
text, that's whydescription of the
we are just starting the editing process
now.                                   
  So.  If you have loaded text, or selected
Rali "New"  and entered the editing mode
niya, the first thing you see on the screen
some kind of blinking “sikilda” is a cursor,
your irreplaceable assistant and partner. He
indicates where it will be inserted
the symbol you need. You can move it by pressing
vishami "left", "right", "up", "down".
 And since we are talking about keys,
please tell you about them:              
- "EDIT" - switches alphabets: Russian/ 
  Latin:                              
- "CAPS LOCK" - switches lowercase/urgent 
  main letters:                           
- "DELETE" - deletes one character on the LEFT 
  from cursor:                             
- "GRAPH" - destroys one character on the RIGHT 
  away from the cursor, using this key you   
  you can also shift lines (practically 
  dig into this, it will come in handy):            
- "TRUE VIDEO" - page forward, to the endtext:                                 
- "INV.VIDEO" - page back, to the beginning  
  text:                                 
- "EXT.MODE" - enter command mode, in 
  the inscription appears on the formation line  
  "Commabd:", about the keys in this mode we 
  let's say a little lower:                       
- "ENTER" - row expansion (appears 
 new line under the current one) and wrapping 
  all characters to the right of the cursor (if 
  there are some) on a new line, if disabled 
  mode Ibsert, then there will be no sliding:    
- "SS/Q" - to the beginning of the line:               
- "SS/W" - enable/disable the mode 
  inserts (Ibsert):                       
- "SS/E" - to the end of the line:                
- "SS/Space" - exit to the menu to get 
  back to the editor, you need to select the corresponding 
  appropriate item (see above) or press 
  key "Space":                        
- "CS/Space" - to the beginning of the next word, 
  located a line above (!), quite 
  confusing action meaning that 
  the cursor is set on the current line 
  to the position from which the next one begins 
  the main word on the previous line: now 
  understand?  If not, then experiment 
  understand - you will understand. It looks like this is an error 
  torus, all actions must be performed 
  on the current line.                       
 Now the command mode keys:           
- numbers 0..9 - input of the character code, i.e. this is 
  entering a character not by pressing the corresponding 
  corresponding key, and by entering it 
  code:                                   
- up arrow -go to the beginning of everything 
  text:                                 
- down arrow -go to the end of the text: 
- "L" - DELETION of the current line:          
- "J" - go to the line with the number you need - 
  measure, "Libe Number" - line number:    
- "G" - enable/disable pseudo mode 
  before-graphics, by the way, pseudo-graphicsIBM, 
 and not SPECTRUM (remember: faces, frames, 
  corners, ....: if you don’t remember, you’ll find out 
  themselves):                                  
- "S" - search (Search) sequences 
  characters, "Not Foubd" - such a fragment 
  not found:                              
- "R" - replacement (Replace) of one fragment 
  to others:                                 
- "B" - mark the beginning of the block:            
- "E" - mark the end of the block:             
- "Q" - unmark the block, uncheck it:  
- "C" - copy the block to the cursor position 
  sora:                                   
- "M" - moveblock to cursor position, 
   i.e. copy and destroy the old one:  
- "D" - delete block:                     
- any other key - display help 
  (HELP) using the above-described keys on 
  English.                       
                                          
  Now a little about the Russian alphabet. Yes
as in Russian there are several more letters,
than in English, then some letters can be
get by pressing  "SYMB.SHIFT" + some
key. But in general, Russian letters are located
wives according to the standard "QWERTY",oh, sorry,
"YAVERS", and if you worked in Is-DOS, then
you can easily master them, in addition, you will find
surprise - you can enter numbers without switching
hoping for the Latin alphabet. For the rest
Let's show the correspondence of keys and Russian
letters (lowercase, uppercase - the same, but
in "CAPS" mode or with a key
"CAPS.SHIFT") :                           
                                          
a- A     и - I     р - R     ш - SS/F  
  б - B     й - J     с - S     щ - SS/G  
  в - W     к - K     т - T     ъ - SS/D  
  г - G     л - L     у - U     ы - Y     
  д - D     м - M     ф - F     ь - X     
  е - E     н - N     х - H     э - SS/S  
  ж - V     о - O     ц - C     ю - SS/X  
  з - Z     п - P     ч - SS/A  я - Q     
                                          
  [SS - клавиша "SYMBOL SHIFT"]           
                                          
  Если  вы  вводите текст с далеко идущими
планами (использовать его в своей програм-
ме, или что то в этом роде), то вам полез-
но  будет знать, что русские символы зани-
мают область национальных шрифтов в табли-
це ASCII (ACKUU, а не АCЦ-2 !!) т.е. имеют
код больший, чем десятичное 127.          
That's basically all. Have fun and
good and competent (very relevant)
texts.                                  
                                          
P.S.  During the preparation of the issue, we all
I still “got through” (we are people too!) a lot -
disk drive chauvinism - we have begun adaptation
editor to multiple drives.  Re-
We present to you the result of our labors
(Dear owners of N drives, not "for-
rush") as version 1.5D.              
 And now a little “chernukha”. It turns out
v1.0 (the one we wanted to include in our
number, and which we described above) completely
not a program version, this is one of the STAGES
DEVELOPMENT of the first version!!! We found that
it turns out there is a procedure in the program
own print of the disk directory (!!), but
due to the debugging code supplied by the author
lushki directory output occurs stan-
dart procedure  TR-DOS.  In addition,
"carelessly" processing is performed "Quit"
(remember, just above we wrote that the output
doesn’t work), or rather processing in general
is not fulfilled at all.  And most importantly -The editor is also designed to work with MS-
DOS-disks, but it was done so
primitive (there is no possibility of working with subdire-
quizzes), which is completely unclear how
work with these disks. In our opinion
It is better to work with MS-DOSdisks through IS-
DOS.                                      
After thinking a little, we made version 1.5D,
which we present to you. Now instead of
item "Quit" (in the submenu  "File") is
item "mOre" (letter "O" - key letter), it
will allow you to get into the second part of the sub-
menu "File". There you can go to BASIC
(option "Basic","fixed" by us "Quit")
or select another drive (option "Chabge
disk", purely our gadget), where in its
Now you can select a disk.  In addition, we removed several stubs
and now the output of the disk directory will be practically
essentially the same as it was for MS-DOS  
(although, we confess, we changed it a little, for example
For example, we added an output by key "Space"
between catalog pages): set
"stubs" of the printer driver for that purpose
tea if the printer driver is not loaded (and
you should load it by going to BASIC from
editor).                               
Now owners of 128K machines will not have
almost no problems with the editor -
it automatically puts the computer into
pseudo 48K mode ("natural" 48K, but with
saving 128K memory). And now you can-
you can safely go out to BASIC and log in
back to the editor, the text is saved, and
The computer is not "glitchy".                    
P.P.S. Mind you, don't hit your ears. On the head then-
same. Happy hunting for apt words.  
══════════════ ════════════════════════════
                 * * * * *                
                                          

Share your thoughts about the article