
xvtx-s, a program to view Videotex pages stored by xcha.
It reads from directory ~.xcha/vtx/ .


This is an adaption of xkrs (http://www.home.zonnet.nl/panteltje/xkrs/ )
This is a pre-release.

You can edit the first lines of the Imakefile for different directories. 
Normally the defaults will work just fine.

To make a makefile:
xmkmf

To compile:
make

To install
make install

to run:
nice -n 19 xvtx

Please create a directory for the macro command files:
mkdir ~/.xvtx

and for the saved pages:
mkdir ~/.xvtx/teletext

An icon xvtx.xpm is copied to XICONDIR (see Imakefile) for your use.

How to use:
In the red bar that appears in each txt page the meaning of the numbers and
(click in a screen if you see no red bar)
characters:

0123456789 combine page numbers with these.
C clear page number.
? reveal conceal toggle.
R previous page (from RAM).
S save page  filename asked for (to  directory ~/.xvtx/teletext/ ).
L load page filename asked for (to  directory ~/.xvtx/teletext/ ).
E erase page (clear).
M toggle manual sequencing of subpages on / off.
P in manual sequencing mode move to previous subpage.
N in manual sequencing mode move to next subpage.
G increment channel group.

Page selection:
For example page 130:
left mouse click on 1, click on 3 click on 0.
Now click in the screen area (one of the 4) where you want the page.

example 222 / 1 (sub page 1).
left mouse click 2, click 2, click 2, click 1
Now click in the screen area (one of the 4) where you want the page.

example from displayed page:
if text reads: latest news at 101
left mouse click on 101, then click somewhere (NOT on a number) in the
display area you want this page.

Hold:
toggle middle mouse.

Exit program:
right mouse click on E.

Macros:
To open a macro for write, right mouse click on one of the ABCDEFGHI
top right.
It will become red.
click what you wanted to go to the macro.
To close the macro, right mouse click on the same character top right again.

To call a macro left mouse click on any of the ABCDEFGHI characters top
right.

Note:
The delay between sequencing subpages is set in xvtxlib.c:
#define SEQUENCE_DELAY  3000000
This is in micro seconds, so 3 seconds.
To hold a page click the middle mouse button, or perhaps switch to manual
by clicking on the 'M' in the red status bar of that display.
Then you can click on 'P' or 'N' for the previous and next subpage.

The difference between 'hold' and manual, is that in hold, no more updates
of the selected page take place, while in manual the selected subpage is
still updated (if the file on disk is updated by xcha).

Tips:
To get the value of a double high number, click in the top half.
Runx xvtx-slike this:
nice -n 19 xvtx-s, not just like xvtx, to save processor cycles.
Do not get addicted !

Work in progress.
xvtx (was xkrs) was designed to run on a 640 x 480 screen.
It will look a bit small on 800 x 600.
Regards
Jan