source: trunk/athena/bin/xmore/README @ 6954

Revision 6954, 3.4 KB checked in by probe, 31 years ago (diff)
Initial revision
  • Property svn:executable set to *
Line 
1/*      This is the README file for the Xmore.   A Program for displaying
2 *      files on an X display.
3 *      It Contains: Information
4 *     
5 *      Created:        1/30/88
6 *      Last changed:   1/30/88
7 *      By:             Chris Peterson
8 *     
9 *      Copyright (c) 1988 Massachusetts Instute of Technology.
10 *
11 *      For further information on copyright and distribution
12 *      see the file notice.h
13 */     
14
15THANKS:
16
17        Many Thanks go to Ralph Swick who put up with my complaining
18about bugs and (mis)features, as well as helping me learn Xtk and Xlib
19from scratch.  Win Treese should also be thanked for putting up with
20endless general C questions.  I must not forget to mention Barry Shein
21whose Xmore for X Version 10 got me to thinking out this.
22
23ABOUT THE CODE:
24
25        This program was written as a quick hack from code in Xman as
26yet another example of application code that uses the Xtk, and thus it
27has much the same programming style.  This program uses the Xtk as an
28aid to the programmer and not as a means for allowing the user to make
29major changes to his/her user interface.  This has been, and will
30continue to be, a source of much religious flaming.  The reason that
31this programmer chose this method is that it allows things like the
32fonts to be changed without adversely affecting the layout of the
33widgets.  Hopefully when the widget library grows there will be less
34need to hard code this type of functionality into the widget itself.
35For those of you who care, this may not be the "blessed" method of
36using the Xtk, but it is a method, and one that I found quite useful.
37
38        One last note, in many places you may wonder why I didn't use
39a different widget, or a more compact method of coding.  There are two
40reasons for this, one is that the widget may just not have been
41avaliable and the other is that I may not have known about it, the
42documentation on the Xtk in those early days was scarce or
43nonexistent.  That is the price you pay for developing on a moving and
44Imncomplete baseline.
45
46ABOUT XMORE:
47
48This program allows easy and quick viewing of a file without using up
49an xterm to do it in.  It has its own on line help system and manual page.
50Moving through the file is done with a scrollbar in the same method as xmh,
51(why, because it is easy to code from the toolkit, and I have gotten used to
52it).  There is currently no way to change files once xmore starts up, but
53it would be easy to put it in.
54
55INSTALLING XMORE:
56
57The only system specific parameter is HELPFILE which should point to a
58world readable copy of xmore.help file, wherever such things live on
59your system.  Xmore has been tested on a VS2000 running 4.3BSD with
60nfs linking against approximatly the X11R2 Xlib and Xtk as well as the
61Athena widget set.  I didn't have a color machine, but tried not to
62build monochrom dependencies into this code.  Building the code shoule be as
63simple as editing the Makefile, to give it the correct information, then:
64
65                make all
66                make manual
67                make install
68
69Xmore assumes that usr/include/X has the correct toolkit file, not
70usr/include/X11, if this is not the case with your system you will
71have edit most of the files.
72
73NOTES:
74
75It would be nice if the following could be implemented, perhaps by stealing
76some code from more.
77
781) Changing files once xmore has started.
79
802) searching.
81
823) input from stdin.
83
844) ???
85
86                                                Chris Peterson     
87                                                Project Athena     
88                                                Systems Development
89
90ArpaNet: kit@athena.mit.edu             
91Phone: (617) 253 - 1326                 
92USMail: MIT - Room E40-342C             
93        77 Massachusetts Ave.           
94        Cambridge, MA 02139             
95
Note: See TracBrowser for help on using the repository browser.