EXOS 2.1 Editor Driver Specification
9. Quick Reference Summary
- Open/Create Channel
- Treated identically.
- Supports multiple channels.
- Device name "EDITOR:".
- Filename and unit number ignored.
- EXOS variables
VID_EDIT
, KEY_EDIT
,
BUF_EDIT
must be set before open.
- Close/Destroy Channel
- Treated identically.
- Read Character/Block
- Returns characters from buffer after allowing user to do
editing.
- Details controlled by
FLG_EDIT
EXOS variable.
- Write Character/Block
- Printing characters put in buffer and displayed.
- Responds to some control codes and
ESC=
.
- Some codes above
0A0h
do editing functions.
- Read Status
- Returns C=0 if a read character call would return
character immediately wwithout allowing user a chance to edit.
- Returns C=1 otherwise, or
C=
0FFh
if just finished a SEND
ALL
.
- Set Status
- Not supported.
- Special Function
@@MARG = 24 -
Set and read margins
@@CHLD = 25 -
Load document file.
@@CHSV = 26 -
Save document file.
- These must be set up before a channel is opened:
VID_EDIT -
channel number of video page
KEY_EDIT -
channel number of keyboard channel
BUF_EDIT -
buffer size in multiples of 256 bytes
- Miscellaneous:
FLG_EDIT -
flags to control reading from editor
b7 - SEND NOW
b5 - SEND ALL
b4 - NO READ
b3 - NO SOFT
b3 - NO PROMPT
b2 - AUTO ERA
b1 -
not used
b0 -
not used
David Bouman.
(dsbouma@cs.vu.nl)