"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "README" between
most-5.0.0a.tar.gz and most-5.1.0.tar.gz

About: most is a textfile paging program (supports multiple windows and can scroll left and right).

README  (most-5.0.0a):README  (most-5.1.0)
Compiling MOST requires an ANSI C compiler. In addition you MUST have Compiling MOST requires an ANSI C compiler. In addition you MUST have
a copy of the S-Lang library version 2.X. Version 1 is nolonger a copy of the S-Lang library version 2.X. Version 1 is no longer
supported. This library is available from supported. This library is available from
<http://www.jedsoft.org/slang/>. <http://www.jedsoft.org/slang/>.
INSTALLATION INSTRUCTIONS INSTALLATION INSTRUCTIONS
On Unix, you should be able to simply type: On Unix, you should be able to simply type:
./configure; make ./configure; make
at the Unix prompt. If you are using CYGWIN, you will need to ensure at the Unix prompt. If you are using CYGWIN, you will need to ensure
skipping to change at line 47 skipping to change at line 47
1. MOST_SWITCHES is a list of commonly used switches. 1. MOST_SWITCHES is a list of commonly used switches.
2. MOST_EDITOR and SLANG_EDITOR are formatted strings describing what 2. MOST_EDITOR and SLANG_EDITOR are formatted strings describing what
editor to use. The string can contain %s and %d formatting descriptors editor to use. The string can contain %s and %d formatting descriptors
that represent the file name and line number, respectively. For that represent the file name and line number, respectively. For
example, if JED is your editor, then set MOST_EDITOR to 'jed %s -g %d'. example, if JED is your editor, then set MOST_EDITOR to 'jed %s -g %d'.
Since MOST is just one of several programs that use the S-Lang library, Since MOST is just one of several programs that use the S-Lang library,
I suggest that you use SLANG_EDITOR instead of MOST_EDITOR. I suggest that you use SLANG_EDITOR instead of MOST_EDITOR.
3. MOST_INITFILE specifies a configuration file for MOST. One can specifiy 3. MOST_INITFILE specifies a configuration file for MOST. One can specify
keymaps, colors, etc. via this file. In the absence of keymaps, colors, etc. via this file. In the absence of
MOST_INITFILE, the program will look for a file call .mostrc in MOST_INITFILE, the program will look for a file call .mostrc in
the home directory (most.rc on non-Unix systems). the home directory (most.rc on non-Unix systems).
See `lesskeys.rc' for an example of a key definition file that See `lesskeys.rc' for an example of a key definition file that
causes MOST to emulate the `less' pager. See also most-fun.txt causes MOST to emulate the `less' pager. See also most-fun.txt
for a list of functions that can be used for key definitions. The for a list of functions that can be used for key definitions. The
file `most.rc' list the bindings that are built-in to the file `most.rc' list the bindings that are built-in to the
viewer. viewer.
4. If MOST_HELP is defined to point to an existing file, MOST will load a 4. If MOST_HELP is defined to point to an existing file, MOST will load a
file as a help file. This is useful for describing custom keymaps. file as a help file. This is useful for describing custom keymaps.
Any problems with MOST should be reported to davis@space.mit.edu. Any problems with MOST should be reported to jed@jedsoft.org.
[Note also that this is really the first non-trivial C program that [Note also that this is really the first non-trivial C program that
I ever wrote. Because of this, much of the code appears very I ever wrote. Because of this, much of the code appears very
amateurish. For example, I tried very hard to avoid C constructs amateurish. For example, I tried very hard to avoid C constructs
that some some authors considered very bad, e.g., goto, continue, that some authors strongly discourage, e.g., goto, continue,
break. Of course this made some of the code convoluted, e.g., break. Of course this made some of the code convoluted, e.g.,
contrast contrast
int test = 1; int test = 1;
while (test) while (test)
{ {
function (); function ();
if (-1 == some_function ()) if (-1 == some_function ())
test = 0; test = 0;
 End of changes. 4 change blocks. 
4 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)