$0%1!4#4HDom's Viewer version 1.00 - FreeWare software@#1

IDescription@

Dom's Viewer is a small  text viewer for multitasking system  such
as MultiTos  or Mag!X.  According avec  new AES,  View's Dom  uses
iconify window, Drag'n Drop  protocol and terminaison AES  message
(AP_TERM). Dom's Viewer uses Av-Protocol too.

IInstallation@

Copy  viewer.app,  viewer.rsc, viewer.cnf  and viewer.hlp  in  the
same directory. viewer.cnf  and viewer.hlp are  optional. I  don't
want integrate  ressource  file  in  viewer.app  in order to allow
an easy language translation.

DMultiTos:@
Modify in your gem.cnf:
setenv SHSHOW [dom's viewer path]\viewer.app

DMagxDesk:@
Add or modify your magx.inf the line:
#_DPG C:\BIN\VIEWER.APP
or use appropriate MagXdesk menu (Options\Setting)

ICommand line@

Dom's viewer accept args command line. This is its synopsis:

	Aviewer@ [-help|-nosetup] file1 file2 ...

		A-help@ option display an gem alert with Dom's Viewer
			  synopsis
		A-nosetup@ option force Dom's Viewer to not read the
				 viewer.cnf file (see Configuration file).
		A-noesc@ option force Dom's Viewer to not interpret
				 escape codes.

IShortcuts@

Help            Display small help message in info bar window.
Control-Help    Display viewer.hlp in new window.
Control-B       Load a new buffer in the current window. The old
                buffer is delete from the memory.
Control-O       Load a new buffer in a new window.
Control-U       Close window or quit if there is no more window.
Control-W		Cycle viewer's windows.
Control-C       Copy region buffer in GEM clipboard or buffer if
                there is no region define.
Control-P       Print region buffer or buffer.
Control-F       Search a string in buffer, use keyboard to search
                string.
Control-G       Search next string in buffer.
Escape          Cancel search.
Control-Q       Quit Dom's Viewer.


IScroll command@

left arrow
right arrow
up arrow
down arrow
shift left arrow
shift right arrow
shift up arrow
shift down arrow
space
shift-space
Home
shift-Home

IConfiguration file@

Dom's Viewer reads a configuration file called viewer.cnf to set
some parameters:

window=60,20,400,300  # set window size and position
next=10,10			  # set the next window position 
next=-10,-10		  # negative value is available
tabulator=5			  # set the default tabulation size
text_color=1		  # set the default text color (VDI index)
background=8		  # set the default background color (VDI index)
font=9,14			  # set the default id font and size font

IText attributes@

Dom's Viewer uses Idealist escape code to display texts attributs such
as bold, underlined, ... effects. But Dom's Viewer use extended escape
code to manage text color, background color and Gdos font.
Each escape code begins by  ($27) follow by a control character

Normal      		@
ABold@            A
BLight@           B
DItalic@          D
HUnderlined@      H
SupScript       P    D(not yet implemented)@
Subscript       `    D(not yet implemented)@

Attributes can be combined as a bitfield. For example :
	CBold+Light	= C @.

Now, this is the extended escape code:

BackGround color	$Ai@
	Set the background color to Ai@.
Text color		#Ai@
	Set the text color to Ai@.
	
	Ai@ is a vdi color index:
	0 -> white
	1 -> black
	2 -> #2red#1
	3 -> #3green#1
	 ...
	9 -> #9light-black#1
	: -> #:light-red#1
	 ...

Text size			(Ai@		D(Not yet implemented)@
Justified text		)Ai@		D(Not yet implemented)@
Set font Name		&Ai@Hfont name@.
Set font			%Ai@

	& gives an index to a font name. Thus, the sequence
&A2@HCourier@. sets the HCourier@ font index to 2. Index 0 and
1 are reserved by Dom's Viewer. . shows the end of the string.
	%A2@ sets the font to courier. Of course, you need 
(Speedo)Gdos or NVDI to display font else this escape sequence will
be ignored.

Tabulation size		!Ai@

	Set the tabulation size to size Ai@.

Caution: Background color and Tabulation size can't be used
twice or more.

INotes@

- Dom's Viewer has been compiled with PureC and WinDom librairies.
- This programm and his source-file are FreeWare.
- You can send yours suggestions or bugs report at:
        HDominique.Bereziat@inria.fr@
    or write me at:
        Dominique B‚r‚ziat
        13, rue George Sand
        91120 Palaiseau
        FRANCE

- Update version is available at:
        Hhttp://www-air.inria.fr/People/bereziat/windom.html@
