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