1
1
Compiling MOST requires an ANSI C compiler. In addition you MUST have
2
- a copy of the S-Lang library version 2.X. Version 1 is nolonger
2
+ a copy of the S-Lang library version 2.X. Version 1 is no longer
3
3
supported. This library is available from
4
4
<http://www.jedsoft.org/slang/>.
5
5
6
6
INSTALLATION INSTRUCTIONS
7
-
7
+
8
8
On Unix, you should be able to simply type:
9
9
10
10
./configure; make
@@ -14,7 +14,7 @@ that libslang.dll is on your PATH; otherwise the chkslang program will
14
14
not run.
15
15
16
16
If using DJGPP or MINGW32, do:
17
-
17
+
18
18
<edit src/makefile.w32, setting ARCH to either dgj or gw32>
19
19
cd src
20
20
make -f makefile.w32
@@ -26,16 +26,16 @@ installed as a foreign command. This means that you must first type:
26
26
$ most :== $device:[dir.containing.most]most.exe
27
27
28
28
I suggest that you first build MOST then view the doc file using MOST (`most
29
- most.doc'). If you need help, hit the `h' key from within MOST.
29
+ most.doc'). If you need help, hit the `h' key from within MOST.
30
30
31
31
MOST understands the following environment variables:
32
32
33
- MOST_SWITCHES
33
+ MOST_SWITCHES
34
34
MOST_EDITOR, SLANG_EDITOR, EDITOR
35
35
MOST_INITFILE
36
36
MOST_HELP
37
37
38
- 1. MOST_SWITCHES is a list of commonly used switches.
38
+ 1. MOST_SWITCHES is a list of commonly used switches.
39
39
40
40
2. MOST_EDITOR and SLANG_EDITOR are formatted strings describing what
41
41
editor to use. The string can contain %s and %d formatting descriptors
@@ -44,7 +44,7 @@ MOST understands the following environment variables:
44
44
Since MOST is just one of several programs that use the S-Lang library,
45
45
I suggest that you use SLANG_EDITOR instead of MOST_EDITOR.
46
46
47
- 3. MOST_INITFILE specifies a configuration file for MOST. One can specifiy
47
+ 3. MOST_INITFILE specifies a configuration file for MOST. One can specify
48
48
keymaps, colors, etc. via this file. In the absence of
49
49
MOST_INITFILE, the program will look for a file call .mostrc in
50
50
the home directory (most.rc on non-Unix systems).
@@ -57,8 +57,8 @@ MOST understands the following environment variables:
57
57
58
58
4. If MOST_HELP is defined to point to an existing file, MOST will load a
59
59
file as a help file. This is useful for describing custom keymaps.
60
-
61
- Any problems with MOST should be reported to
[email protected] .
60
+
61
+ Any problems with MOST should be reported to
[email protected] .
62
62
63
63
[Note also that this is really the first non-trivial C program that
64
64
I ever wrote. Because of this, much of the code appears very
74
74
75
75
if (-1 == some_function ())
76
76
test = 0;
77
-
77
+
78
78
if (test)
79
79
some_other_function ();
80
80
}
81
-
81
+
82
82
with:
83
-
83
+
84
84
while (1)
85
85
{
86
86
function ();
0 commit comments