summaryrefslogtreecommitdiff
path: root/support/mnu/!README.TXT
blob: 4821d0ebd354c078c854272212141d7349288604 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
==========================================================================
The Program MNU: The Configurable Menu for the Control of DOS Applications
==========================================================================
September 10, 1992                                            Petr Olsak


The program MNU with a cooperation with a control-batch (.bat) runs
repeatedly the application programs. It was developed for the emTeX
program package managing but it can be used for other purposes.

The batch "demotex.bat" starts the exhibition of possibilities of the
program MNU with the configuration file developed for the TeX system.

The full documentation is for users with ambitions to change the existing
MNU program configurations or to develop new ones. In this case the advanced
skills in DOS bath programming is assumed.

The control-batch starts the program MNU with one parameter--the name of
configuration file. The program MNU enables the user to choose comfortably
the demanded item. The structure of the items in a menu, including colors of
windows, texts of items, text of helps and so on, is described in the
configuration file. The program returns the error code depending on
the chosen item to DOS and terminates. The control-bath evaluates the error
code by a set of commands "if errorlevel" and starts the relevant
application process. After application process terminating the
control-batch usually again starts the program MNU and user usually again
chooses comfortably a next item and so on\dots

The control-batch can communicate with the program MNU not only by the
error codes but also by DOS environment variables and input/output files.
The program can present and edit the values of these environment variables.
In addition there is a special environment variable named "MNU"--when
the program MNU starts the item specificated in "MNU" variable is offered.
The control-batch can set the "MNU" value so that the sequence of
application processes can be rationally related and user can just press the
"Enter" key.

The list of files contained in the program MNU package follows.

!README.TXT ......... the first information about the program
MNU.DOC ............. the documentation
MNUTRICK.DOC ........ the description of some tricks used in presented batches
MNU.TEX ............. the contents of the previous three files in Plain TeX
DEMOTEX.BAT ......... the demo-batch
MNU.EXE ............. the program MNU self
TEXCFG.MNU .......... the suggested configuration file for TeX system
TOTEXT.EXE .......... returns the screen to the text mode 80x25
*.BAT ............... suggested batches for emTeX
KALK.EXE, KALK.HLP .. the calculator--the exhibition of the application program

The software listed above is ``public domain'' and it is not allowed to use
these programs and/or modifications of these files for commercial purposes.

The author will not improve or radically change this software but all
mentions leading to error elimination will be welcome.

Address: Petr OLSAK   (Ol\v s\'ak)
         katedra matematiky FEL CVUT
         160 00  PRAGUE
         --------------
         CZECHOSLOVAKIA
email:   <olsak@csearn.bitnet>