juo@cloud9.Stratus.COM (John Oleynick) (07/28/89)
Hi, I just installed Andrew on my Sun tonight, and have a few questions and problems. I am using a diskless 3/60, which is connected to a 3/something server. Both are running SunOs 4.0.1, and X11R2. Somebody had already installed Andrew, but it had lots of problems, probably because whoever installed it (I don't know who) did it wrong. So, tonight, I took Andrew off of the X11R3 tape, and installed it. I set the define in config/andrewenv.h so it would know that it was running on R2, and not R3 (yet), and to only compile up to level 2. It compiled with only a few minor problems (details below, if you're interested). Andrew seems to work fine now, except for a few small problems. The first is that it seems to ignore my cwm.startup in .Xdefaults. I imagine this is because I am doing something wrong, but I have no idea what. The second has to do with menus. It is kind of hard to explain, and besides, if I had any language skills, I wouldn't have been a CS major, but I'll try. When I bring up a menu, it looks something like this, with 3 (I'm not sure what there supposed to be called, how about menu panel, for now) menu panels, stacked in front of each other like this: +------+ |C | | +------+ | |B | +-| +------+ | |A | +-| | | | +------+ If I move the cursor back to an exposed part of the C panel, the menus flip around like this, as I'd expect: +------+ | | | |-+ | C| | +------+ |-+ | B| | +------+ | | A| +------+ The problem comes when I try and select something on the C menu. As soon as I move the cursor anywhere over the B panel, including its unexposed area, covered by the C panel, the B menu flips to the front. Thus, the only way I can select anything on the C panel is to be really, really careful about keeping the cursor on just the edge of the C panel, and to not touch the covered part of the B panel. This is even more painful than the new Sunview menus. It seems to happen for any menu panel except the original front/top one, i.e. if the B panel is in front, as soon as I move over the covered part of the A panel, the A panel flips to the front. So, the question is, is this a bug or a feature, or something I can select in my .Xdefaults or preferences? Other than that, Andrew seems to work fine. I haven't used it much tonight, although I did get to use it a few years ago when I spent a semester at CMU (jo15, if anyone remembers me), and I've missed it since then. Oh, one other question. When I installed everything, I did it using the option to create symbolic links to everything, instead of actually copying everything to the /usr/andrew directories. Short of re-installing the whole thing, is there any easy way to actually copy everything to the directories, so I don't have to keep the whole source tree around, since we are kind of short on space. Finally in case anyone is interested, these were the compilation problems I ran into trying to install Andrew. This was on a Sun 3/60, with SunOs 4.0.1, and the standard Sun C compiler and cpp: andrew/overhead/malloc/malloc.h - Changed a line from #ifndef (_MALLOC_) to #ifndef _MALLOC_, since the cpp got confused by the parens. andrew/overhead/malloc/mallocitc.h - Changed a line from #ifndef (_MALLOCITC_) to #ifndef _MALLOCITC_. andrew/atk/console/lib/errormon.c - Added a #include <sys/stream.h> to get the queue_t structure, which is needed by <sys/tty.h>. andrew/atk/console/lib/errormonfreq.c - Added a #include <sys/stream.h> to get the queue_t structure, which is needed by <sys/tty.h>. andrew/atk/termulator/termulator.c - Added a #include <fcntl.h> to get the definition of O_NDELAY. Well, back to more Andrew fun. John John Oleynick juo@cloud9.stratus.com ..!harvard!cloud9!juo