\begindata{text822, 0} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Fri, 1 Nov 1991 15:17:40 -0500 (EST) Received: from po2.andrew.cmu.edu via qmail ID ; Fri, 1 Nov 1991 15:12:32 -0500 (EST) Received: from research.att.com by po2.andrew.cmu.edu (5.54/3.15) id for info-andrew; Fri, 1 Nov 91 15:12:01 EST Received: by inet; Fri Nov 1 15:11 EST 1991 Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.gargoyle.sun4.41 via MS.5.6.gargoyle.sun4_41; Fri, 1 Nov 1991 15:11:46 -0500 (EST) Message-Id: Date: Fri, 1 Nov 1991 15:11:46 -0500 (EST) From: Bill Schell To: info-andrew@andrew.cmu.edu Subject: ez dumps core when invoking textview-plainer I was editing today and accidentally typed ESC-^P to ez, which proceeded to give me a core dump. Looking at the key bindings, I found that I had invoked textview-plainer. The file I was editing was just straight ascii text, no styles, etc. Examining the core dump with gdb gives the following trace: (gdb) where #0 0xf76f40bc in w4cmp () #1 0x32760 in ConfirmReadOnly (...) (...) #2 0x3eed0 in textview_PlainerCmd (...) (...) #3 0x97c58 in keystate__DoProc (...) (...) #4 0x8e7f4 in im__DoKey (...) (...) #5 0x90c44 in ProcessInputQueue (...) (...) #6 0x90d84 in im__Interact (...) (...) #7 0x91330 in im__KeyboardProcessor (...) (...) #8 0xcc44 in ezapp__Run (...) (...) #9 0x2b24 in main (...) (...) I'm running andrew PL10 on a Sparcstation-2, Sun OS 4.1.1, with X11R4. Could someone check if this bug also exists in release 5? Bill Schell AT&T Bell Labs, Murray Hill, NJ bill@allegra.att.com \enddata{text822, 0} \begindata{text822, 2044} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po5.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Sat, 2 Nov 1991 13:45:29 -0500 (EST) Received: from po2.andrew.cmu.edu via qmail ID ; Fri, 1 Nov 1991 11:14:12 -0500 (EST) Received: from relay2.UU.NET by po2.andrew.cmu.edu (5.54/3.15) id for info-andrew; Fri, 1 Nov 91 11:13:35 EST Received: from uunet.uu.net (via LOCALHOST.UU.NET) by relay2.UU.NET with SMTP (5.61/UUNET-internet-primary) id AA13593; Fri, 1 Nov 91 11:13:36 -0500 Received: from lupine.UUCP by uunet.uu.net with UUCP/RMAIL (queueing-rmail) id 111202.23413; Fri, 1 Nov 1991 11:12:02 EST Received: from paradise1.ncd.com (paradise2) by lupine.ncd.com (4.1/SMI-4.1) id AA09061; Fri, 1 Nov 91 07:53:10 PST Received: by paradise1.ncd.com (4.1/SMI-4.1) id AA15771; Fri, 1 Nov 91 08:05:31 PST Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.paradise.paradise.ncd.com.sun4.41 via MS.5.6.paradise.paradise.ncd.com.sun4_41; Fri, 1 Nov 1991 08:05:30 -0800 (PST) Message-Id: Date: Fri, 1 Nov 1991 08:05:30 -0800 (PST) From: Kris Olander To: meaddata!gordon@uunet.UU.NET (Gordon Edwards) Subject: Re: Need help with mail. Cc: info-andrew@andrew.cmu.edu In-Reply-To: <1991Oct31.185202.13213@meaddata.com> References: <1991Oct31.185202.13213@meaddata.com> Hi Grodon, I had to do a few things to get my messages running on our Sun4. I added the following entries to my /usr/andrew/etc/AndrewSetup file: AMS_MailBoxPrefix: /usr/spool/mail/ AMS_NonAMSDelivery: yes Also, you need to make sure you don't have the following line in /etc/Mail.rc, or ~/.mailrc: set hold I don't know what it does, but it was causing problems, so I just put unset hold at the end of my ~/.mailrc file and everything is working. Can anyone tell us why the 'set hold' causes problems with messages? -Kris Olander NCD Technical Support kriso@ncd.com \enddata{text822, 2044} \begindata{text822, 4404} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Sat, 2 Nov 1991 14:21:07 -0500 (EST) Received: from po2.andrew.cmu.edu via qmail ID ; Fri, 1 Nov 1991 18:43:30 -0500 (EST) Received: from gn.ecn.purdue.edu by po2.andrew.cmu.edu (5.54/3.15) id for info-andrew; Fri, 1 Nov 91 18:42:59 EST Received: by gn.ecn.purdue.edu (5.65/1.30jrs) id AA26377; Fri, 1 Nov 91 18:42:55 -0500 Date: Fri, 1 Nov 91 18:42:55 -0500 From: tryfonid@ecn.purdue.edu (Michael Tryfonidis) Message-Id: <9111012342.AA26377@gn.ecn.purdue.edu> To: info-andrew@andrew.cmu.edu Is it possible to send me some info about your list? Thanx in advance. M. T. \enddata{text822, 4404} \begindata{text822, 5457} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po3.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Sat, 2 Nov 1991 15:47:44 -0500 (EST) Received: from po2.andrew.cmu.edu via qmail ID ; Sat, 2 Nov 1991 15:29:37 -0500 (EST) If-Type-Unsupported: send Received: from po3.andrew.cmu.edu via qmail ID ; Fri, 1 Nov 1991 11:30:48 -0500 (EST) Received: from thumper.bellcore.com by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Fri, 1 Nov 91 11:30:32 EST Received: from greenbush.bellcore.com by thumper.bellcore.com (4.1/4.7) id for info-andrew@andrew.cmu.edu; Fri, 1 Nov 91 11:30:27 EST Received: by greenbush.bellcore.com (4.1/4.7) id for info-andrew@andrew.cmu.edu; Fri, 1 Nov 91 11:30:26 EST Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.greenbush.galaxy.sun4.41 via MS.5.6.greenbush.galaxy.sun4_41; Fri, 1 Nov 1991 11:30:24 -0500 (EST) Message-Id: Date: Fri, 1 Nov 1991 11:30:24 -0500 (EST) From: Nathaniel Borenstein X-Andrew-Message-Size: 591+0 Content-Type: X-BE2; 12 To: info-andrew@andrew.cmu.edu Subject: Re: Need help with mail. In-Reply-To: <1991Oct31.185202.13213@meaddata.com> References: <1991Oct31.185202.13213@meaddata.com> \begindata{text,1895560} \textdsversion{12} \template{messages} \excerptedcaption{Excerpts from internet.info-andrew: 31-Oct-91 Need help with mail. Gordon Edwards@uunet.uu. (277)} \quotation{Does anyone use message and sendmessage in conjunction with standard unix mail? }\quotation{I would like to use the programs but I am having trouble recognizing new mail. } Sure, most of us use it that way, and it is supposed to work that way "right out of the box." One possible gotcha: You may need to add the line unset hold to your .mailrc file, if your global mailrc file is oppositely configured. If that's not the problem, please post a more detailed description of your symptoms. -- Nathaniel\ \enddata{text,1895560} \enddata{text822, 5457} \begindata{text822, 7927} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po2.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Mon, 4 Nov 1991 01:16:37 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Mon, 4 Nov 1991 01:11:59 -0500 (EST) Received: from ucbvax.Berkeley.EDU by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Mon, 4 Nov 91 01:11:44 EST Received: by ucbvax.Berkeley.EDU (5.63/1.42) id AA29461; Sun, 3 Nov 91 21:33:30 -0800 Received: from USENET by ucbvax.Berkeley.EDU with netnews for info-andrew@andrew.cmu.edu (info-andrew@andrew.cmu.edu) (contact usenet@ucbvax.Berkeley.EDU if you have questions) Date: 4 Nov 91 04:51:51 GMT From: snorkelwacker.mit.edu!spool.mu.edu!munnari.oz.au!bunyip.cc.uq.oz.au!brolga!ggm@bloom-beacon.mit.edu (George Michaelson) Organization: Prentice Centre, University of Queensland Subject: make on SunOS 4.1.1 blows up with ld -assert problem. Message-Id: Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu In overhead/class/machdep/sun_sparc_41, We're using hacked bind code, to get some Ultrixlike behaviour into the DNS (lookup in local file before DNS query, remove spurious searches with extra domains... common hacks off the network) the ld -assert from /usr/lib/libresolv.a that builds a shareable lib fails because some of the modules (herror.c strcasecmp.c and strerror.c) are not cc -pic when libresolv.a is made. they're not in /usr/lib/shlib.etc cos they dont get included in the shareable code, so I went back to sources and recompiled these three by hand. dependInstall carries on a bit happier. I think a few extra warnings in README[.ez] about how localized libs may impact the shared object build would help here, but clearly if you're local libs are non-standard there is little CMU can do. -George -- George Michaelson G.Michaelson@cc.uq.oz.au The Prentice Centre | There's no market for University of Queensland | hippos in Philadelphia Phone: +61 7 365 4079 QLD Australia 4072 | -Bertold Brecht \enddata{text822, 7927} \begindata{text822, 10390} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po5.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Mon, 4 Nov 1991 09:53:01 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Mon, 4 Nov 1991 09:50:44 -0500 (EST) Received: from thumper.bellcore.com by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Mon, 4 Nov 91 09:50:26 EST Received: from greenbush.bellcore.com by thumper.bellcore.com (4.1/4.7) id for info-andrew@andrew.cmu.edu; Mon, 4 Nov 91 09:50:24 EST Received: by greenbush.bellcore.com (4.1/4.7) id for info-andrew@andrew.cmu.edu; Mon, 4 Nov 91 09:50:22 EST Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.greenbush.galaxy.sun4.41 via MS.5.6.greenbush.galaxy.sun4_41; Mon, 4 Nov 1991 09:50:20 -0500 (EST) Message-Id: Date: Mon, 4 Nov 1991 09:50:20 -0500 (EST) From: Nathaniel Borenstein To: meaddata!gordon@uunet.uu.net (Gordon Edwards) Subject: Re: Need help with mail. Cc: info-andrew@andrew.cmu.edu In-Reply-To: References: <1991Oct31.185202.13213@meaddata.com> Excerpts from internet.info-andrew: 1-Nov-91 Re: Need help with mail. Kris Olander@uunet.uu.ne (580) > Can anyone tell us why the 'set hold' causes problems with messages? It's intentional. Without it, the following horrible thing happens: Imagine a BSD mail user, who normally keeps EVERYTHING in /usr/spool/mail/whatever because he has "set hold" on, tries out Andrew once -- perhaps just to use the bboard system at a site. Without this protection, Andrew would promptly EAT all his mail, burying it (unbeknownst to him) in ~/.MESSAGES/mail/garbage-names. This happened once or twice, and people were NOT amused. They tended to regard Andrew as a dangerous instrument after that. And that's th reason for the check on "set hold". -- NB \enddata{text822, 10390} \begindata{text822, 12734} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po2.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Mon, 4 Nov 1991 14:04:59 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Mon, 4 Nov 1991 13:56:44 -0500 (EST) Received: from sadye.uvm.edu by po3.andrew.cmu.edu (5.54/3.15) id ; Mon, 4 Nov 91 13:31:06 EST Received: by sadye.uvm.edu id AA08497 (5.65/1.23); Mon, 4 Nov 91 13:30:53 -0500 Date: Mon, 4 Nov 91 13:30:53 -0500 From: wollman@uvm-gen.UVM.EDU Message-Id: <9111041830.AA08497@sadye.uvm.edu> To: info-andrew+@andrew.cmu.edu Subject: hanging cui/messages problem found! I was able to trace through the execution of a CUI for long enough to find out that it was hanging on a flock(). It turns out that AIX, unlike BSD-derived systems, will translate a flock() into the appropriate lockf() and pass the result along through rcp.lockd to the file server's kernel, as opposed to the standard behavior of ignoring the call. Our AIX system and our Sun-4 server were, apparently, not speaking the same lock protocol version, or some such. Perhaps a note could be inserted in the README file. -GAWollman \enddata{text822, 12734} \begindata{text822, 14240} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Mon, 4 Nov 1991 14:22:57 -0500 (EST) Received: from po2.andrew.cmu.edu via qmail ID ; Mon, 4 Nov 1991 14:10:16 -0500 (EST) Received: from ucbvax.Berkeley.EDU by po2.andrew.cmu.edu (5.54/3.15) id ; Mon, 4 Nov 91 13:42:25 EST Received: by ucbvax.Berkeley.EDU (5.63/1.42) id AA22420; Mon, 4 Nov 91 09:04:43 -0800 Received: from USENET by ucbvax.Berkeley.EDU with netnews for info-andrew@andrew.cmu.edu (info-andrew@andrew.cmu.edu) (contact usenet@ucbvax.Berkeley.EDU if you have questions) Date: 4 Nov 91 15:03:09 GMT From: meaddata!gordon@uunet.uu.net (Gordon Edwards) Organization: Mead Data Central, Dayton OH Subject: Re: Need help with mail. Message-Id: <1991Nov4.150309.19591@meaddata.com> References: <1991Oct31.185202.13213@meaddata.com> Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu In article <1991Oct31.185202.13213@meaddata.com>, gordon@meaddata.com (Gordon Edwards) writes: |> Does anyone use message and sendmessage in conjunction with standard unix mail? |> I would like to use the programs but I am having trouble recognizing new mail. |> Thanks to all the people who answered. My problems were twofold. 1) I needed unset hold in my .mailrc. 2) I needed AMS_NonAMSDelivery: set to yes in my .Xdefaults (It is not explicitly set in our site configuration file. Thanks again, Gordon Edwards Mead Data Central gordon@meaddata.com \enddata{text822, 14240} \begindata{text822, 16105} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po5.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Tue, 5 Nov 1991 12:19:46 -0500 (EST) Received: from po2.andrew.cmu.edu via qmail ID ; Tue, 5 Nov 1991 12:09:33 -0500 (EST) Received: from carla.dist.unige.it by po2.andrew.cmu.edu (5.54/3.15) id for info-andrew; Tue, 5 Nov 91 12:09:12 EST Received: from romaint.UUCP by carla.dist.unige.it with UUCP (5.61++/IDA-1.2.8) id AA21244; Tue, 5 Nov 91 18:09:31 +0100 Received: from ginger.noname by roma.intecs.it (4.0/SMI-4.0) id AA00628; Tue, 5 Nov 91 15:37:08 +0100 Received: by ginger.noname (4.1/SMI-4.1) id AA00400; Tue, 5 Nov 91 15:33:37 +0100 Date: Tue, 5 Nov 91 15:33:37 +0100 From: andy@ginger.roma.intecs.it (Andrew Takats) Message-Id: <9111051433.AA00400@ginger.noname> Subject: Menubar Problems Apparently-To: info-andrew@andrew.cmu.edu Greetings, a few questions for the all-knowing out there (thanks!!!): 1. After diddling with my menu entries, I now cannot get the More... functionality to work. A small window gives me overlapping titles. Ugly. 2. Is there any way to get rid of the greyed out More... option? 3. Can I turn popup menus and/or the menubar on & off at runtime (so far I've only been able to manipulate things with the pref file) Thanks for any help, please respond via email. Ciao! Andy Takats andy@roma.intecs.it \enddata{text822, 16105} \begindata{text822, 17839} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Tue, 5 Nov 1991 15:39:06 -0500 (EST) Received: from po2.andrew.cmu.edu via qmail ID ; Tue, 5 Nov 1991 15:36:30 -0500 (EST) Received: from corton.inria.fr by po2.andrew.cmu.edu (5.54/3.15) id for info-andrew; Tue, 5 Nov 91 15:36:10 EST Received: from adnt.UUCP by corton.inria.fr (5.65c8d/90.0.9) via Fnet-EUnet id AA10680; Tue, 5 Nov 1991 20:29:38 +0100 (MET) From: phh@adnt.fr (Philippe ) X-Mailer: SCO System V Mail (version 3.2) To: info-andrew@andrew.cmu.edu Subject: andrew Cc: marc@corton.inria.fr Date: Tue, 5 Nov 91 18:42:31 FRH Message-Id: <9111051842.aa04954@adnt.fr> Hi, We are going to receive with X11.5 tape andrew We have already tested a previous version and we faced a few problem. Does the X11 distribution tape hold the latest available version of andrew ? We are using SUN, ISC & SCO plateforms. Have you a specific distribubtion for ISC & SCO ? If yes what are the conditions for a tape distribution. Do you happen to know if anybody has developped a translator from word5 files (.doc) to andrew ? Thanks Philippe \enddata{text822, 17839} \begindata{text822, 19367} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po2.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Tue, 5 Nov 1991 19:29:14 -0500 (EST) Received: from po2.andrew.cmu.edu via qmail ID ; Tue, 5 Nov 1991 19:23:22 -0500 (EST) Received: from ucbvax.Berkeley.EDU by po2.andrew.cmu.edu (5.54/3.15) id for info-andrew; Tue, 5 Nov 91 19:23:04 EST Received: by ucbvax.Berkeley.EDU (5.63/1.42) id AA05977; Tue, 5 Nov 91 05:50:51 -0800 Received: from USENET by ucbvax.Berkeley.EDU with netnews for info-andrew@andrew.cmu.edu (info-andrew@andrew.cmu.edu) (contact usenet@ucbvax.Berkeley.EDU if you have questions) Date: 5 Nov 91 03:01:19 GMT From: auspex!guy@uunet.uu.net (Guy Harris) Organization: Auspex Systems, Santa Clara Subject: Re: compiling andrew on Sun4_41 arc. type. Message-Id: <10863@auspex.auspex.com> References: <9110302316.AA29308@bryant.ncd.com>, <1991Oct31.163207.21115@cherokee.uswest.com> Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu >And when you've got it up, try running "ez" on a remote display, like this: > mysys> ez -display othersys:0 file >Let me know if it does or doesn't work.... Worked for me when I tried it (server and client both "Desktop SPARC" machines running SunOS 4.1.1). \enddata{text822, 19367} \begindata{text822, 20991} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po3.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Tue, 5 Nov 1991 23:12:14 -0500 (EST) Received: from po2.andrew.cmu.edu via qmail ID ; Tue, 5 Nov 1991 23:07:40 -0500 (EST) Received: from ucbvax.Berkeley.EDU by po2.andrew.cmu.edu (5.54/3.15) id for info-andrew; Tue, 5 Nov 91 23:07:09 EST Received: by ucbvax.Berkeley.EDU (5.63/1.42) id AA02368; Tue, 5 Nov 91 19:42:02 -0800 Received: from USENET by ucbvax.Berkeley.EDU with netnews for info-andrew@andrew.cmu.edu (info-andrew@andrew.cmu.edu) (contact usenet@ucbvax.Berkeley.EDU if you have questions) Date: 5 Nov 91 01:39:50 GMT From: auspex!guy@uunet.uu.net (Guy Harris) Organization: Auspex Systems, Santa Clara Subject: Re: dynamic linking of runapp against libclass Message-Id: <10859@auspex.auspex.com> References: , <10671@auspex.auspex.com>, <1991Oct23.235407.742@convex.com> Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu >It's kind of odd, though, that a file with the extention .a is a dynamic >library, which are by convention called *.so.n.n. All of the other >.a files in /usr/andrew/lib are normal archives. It appeared to be the easiest way to change the Imakefiles, given that it didn't involve changing the name of the library.... >Actually, why do these .a files exist at all in a dynamic system? Because if they didn't, you'd have to back out all the static linking stuff, which seemed like more effort than I cared to invest. Other platforms where native dynamic linking was used appeared to use the static linking as well; dunno why they didn't nuke it. \enddata{text822, 20991} \begindata{text822, 23032} Return-path: X-Andrew-Authenticated-as: 13;andrew.cmu.edu;Fred Hansen Received: from shaler.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Wed, 6 Nov 1991 11:11:43 -0500 (EST) Received: from shaler.andrew.cmu.edu via qmail ID ; Wed, 6 Nov 1991 11:07:08 -0500 (EST) Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.shaler.andrew.cmu.edu.rs.aix31 via MS.5.6.shaler.andrew.cmu.edu.rs_aix31; Wed, 6 Nov 1991 11:07:08 -0500 (EST) Message-ID: Date: Wed, 6 Nov 1991 11:07:08 -0500 (EST) From: Fred Hansen X-Andrew-Message-Size: 540+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: Info-Andrew , phh@adnt.fr (Philippe ) Subject: Re: andrew CC: marc@corton.inria.fr In-Reply-To: <9111051842.aa04954@adnt.fr> References: <9111051842.aa04954@adnt.fr> \begindata{text,539725656} \textdsversion{12} \template{messages} \excerptedcaption{Excerpts from internet.info-andrew: 5-Nov-91 andrew Philippe @adnt.fr (465)} \quotation{Do you happen to know if anybody has developped a translator from word5 files (.doc) to andrew ? } There is a translator from RTF files to ATK format. It is in $(ANDREWDIR)/lib/ness/fromrtf.n; this is a Ness program and the file begins with extensive comments documenting usage. \{RTF is rather ill-defined since it has many versions. If your document demonstrates quirks in the translation, send me a copy and maybe I can improve the translator.\} Fred Hansen \enddata{text,539725656} \enddata{text822, 23032} \begindata{text822, 24914} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Wed, 6 Nov 1991 11:56:36 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Wed, 6 Nov 1991 11:55:18 -0500 (EST) Received: from vnet.ibm.com (IINUS1.IBM.COM) by po3.andrew.cmu.edu (5.54/3.15) id ; Wed, 6 Nov 91 11:40:01 EST Received: from RCHLAND by vnet.ibm.com (IBM VM SMTP V2R1) with BSMTP id 3271; Wed, 06 Nov 91 11:40:05 EST Reply-To: "Wayne D Richardson" Received: by po1.rchland.ibm.com (5.51/4.7) id for info-andrew@andrew.cmu.edu; Wed, 6 Nov 91 10:39:12 CST Received: via switchmail; Wed, 6 Nov 1991 10:39:12 -0600 (CST) Received: from number1.rchland.ibm.com via qmail ID ; Wed, 6 Nov 1991 10:38:57 -0600 (CST) Received: from number1.rchland.ibm.com via qmail ID ; Wed, 6 Nov 1991 10:38:54 -0600 (CST) Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.number1.rchland.ibm.com.rs.aix31 via MS.5.6.number1.rchland.ibm.com.rs_aix31; Wed, 6 Nov 1991 10:38:52 -0600 (CST) Message-Id: Date: Wed, 6 Nov 1991 10:38:52 -0600 (CST) From: Wayne D Richardson X-Andrew-Message-Size: 621+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: info-andrew@andrew.cmu.edu Subject: Re: ez dumps core when invoking textview-plainer In-Reply-To: References: \begindata{text,538917128} \textdsversion{12} \template{messages} \excerptedcaption{Excerpts from ext.cmu.info-andrew: 1-Nov-91 ez dumps core when invoking.. Bill Schell@RCHGATE.rchl (913)} \quotation{I was editing today and accidentally typed ESC-^P to ez, which proceeded }\quotation{to give me a core dump. Looking at the key bindings, I found that }\quotation{I had invoked textview-plainer. [...] } In ez, at both ATK 15.5 (patchlevel 8) and ATK 5.0.0 (latest), I get an error message ("Esc-^P: Unknown command") when I type ESC-^P. ^X-^P is bound to textview-plainer at both levels, and, additionally, Esc-'-Esc-p is bound to textview-plainer at the latest level (5.0.0). For me, all work correctly at their respective levels. -wr \enddata{text,538917128} \enddata{text822, 24914} \begindata{text822, 27696} Return-path: X-Andrew-Authenticated-as: 38;andrew.cmu.edu;Susan Straub Received: from muffin.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Wed, 6 Nov 1991 13:27:10 -0500 (EST) Received: from muffin.andrew.cmu.edu via qmail ID ; Wed, 6 Nov 1991 13:21:26 -0500 (EST) Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.muffin.andrew.cmu.edu.rs.aix31 via MS.5.6.muffin.andrew.cmu.edu.rs_aix31; Wed, 6 Nov 1991 13:21:25 -0500 (EST) Message-ID: <4d63_ZW00VuAMpK0wJ@andrew.cmu.edu> Date: Wed, 6 Nov 1991 13:21:25 -0500 (EST) From: Susan Straub X-Andrew-Message-Size: 689+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: phh@adnt.fr (Philippe ) Subject: Re: andrew CC: Info-Andrew In-Reply-To: <9111051842.aa04954@adnt.fr> References: <9111051842.aa04954@adnt.fr> \begindata{text,539506532} \textdsversion{12} \template{messages} \excerptedcaption{Excerpts from misc: 5-Nov-91 andrew Philippe @adnt.fr (465)} \quotation{Does the X11 distribution tape }\quotation{hold the latest available version of andrew ? } Yes, the X.V11R5 tape has the latest Andrew distribution. You can find andrew in the contrib-3 section. \excerptedcaption{Excerpts from misc: 5-Nov-91 andrew Philippe @adnt.fr (465)} \quotation{We are using SUN, ISC & SCO plateforms. Have you a }\quotation{specific distribubtion for ISC & SCO ? } ATK has been built and tested on Sun 4s. A partial SCO port is included in the general distribution, although we've heard that there are problems and are awaiting patches for it to work properly. We have not ported ATK to ISC. Susan Straub Andrew Toolkit Group \enddata{text,539506532} \enddata{text822, 27696} \begindata{text822, 29768} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Wed, 6 Nov 1991 14:49:15 -0500 (EST) Received: from po2.andrew.cmu.edu via qmail ID ; Wed, 6 Nov 1991 14:46:35 -0500 (EST) Received: from att.att.com by po2.andrew.cmu.edu (5.54/3.15) id for info-andrew; Wed, 6 Nov 91 14:46:19 EST From: mtgzfs3!mtgzy!cch@mtgzy.att.com Received: from mtgz047.gazelle.att.com by mtgzfs3.att.com (4.1/SMI-4.0) id AA14612; Wed, 6 Nov 91 14:40:20 EST Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.mtgz047.gazelle.att.com.sun4.41 via MS.5.6.mtgz047.gazelle.att.com.sun4_41; Wed, 6 Nov 1991 14:40:12 -0500 (EST) Message-Id: Date: Wed, 6 Nov 1991 14:40:12 -0500 (EST) Original-From: C C Hayden X-Andrew-Message-Size: 2148+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: info-andrew@andrew.cmu.edu Subject: Re: ez dumps core when invoking textview-plainer Cc: "Wayne D Richardson" , William M Schell In-Reply-To: References: \begindata{text,1973728} \textdsversion{12} \template{default} \define{global attr:[FontSize ConstantFontSize Point 12]} \define{itemize menu:[Region~4,Itemize~31] attr:[LeftMargin LeftMargin Inch 32768]} \define{enumerate menu:[Region~4,Enumerate~30] attr:[LeftMargin LeftMargin Inch 32768]} \define{programexample menu:[Region~4,ProgramExample~13] attr:[LeftMargin LeftMargin Inch 32768] attr:[Justification LeftJustified Point 0] attr:[FontFace FixedFace Int Set] attr:[FontFamily AndyType Int 0]} \define{excerptedcaption attr:[LeftMargin LeftMargin Inch 32768] attr:[RightMargin RightMargin Inch 32768] attr:[FontFace Bold Int Set] attr:[FontFace Italic Int Set]} \define{literal menu:[Region~4,Literal~62] attr:[Flags PassThru Int Set]} \excerptedcaption{Excerpts from andrew-info: 6-Nov-91 Re: ez dumps core when invo.. Wayne D Richardson@rchla (621+0)} \quotation{\excerptedcaption{Excerpts from ext.cmu.info-andrew: 1-Nov-91 ez dumps core when invoking.. Bill Schell@RCHGATE.rchl (913)} } \quotation{\quotation{I was editing today and accidentally typed ESC-^P to ez, which proceeded }}\quotation{\quotation{to give me a core dump. Looking at the key bindings, I found that }}\quotation{\quotation{I had invoked textview-plainer. }\quotation{[...] }} \quotation{In ez, at both ATK 15.5 (patchlevel 8) and ATK 5.0.0 (latest), I get an error message ("Esc-^P: Unknown command") when I type ESC-^P. ^X-^P is bound to textview-plainer at both levels, and, additionally, Esc-'-Esc-p is bound to textview-plainer at the latest level (5.0.0). For me, all work correctly at their respective levels. } I have also observed the same behavior. The core dump happens (in ATK 15.5) because \typewriter{keystate__DoProc} calls \typewriter{textview_PlainerCmd}. In doing so, it passes as the rock the last key typed (\\020, ^P). However, \typewriter{textview_PlainerCmd }is expecting a string pointer for a rock. As soon as it does a strcmp using \\020 as a string pointer, its all over. Why is passing that particular rock ? In txtvcmds.c textview-plainer is bound to two (other) sets of keystrokes and passes the rock "new" in both places. The place where passing the last character of the keysequence happens is in init.c, when a key binding is made through an init file. This rock is established if none is supplied in the init file. So you are probably using something like: \typewriter{addkey textview-plainer \\e^p textview }in your .ezinit, or perhaps global.ezinit, whereas you should have \typewriter{addkey textview-plainer \\e^p textview textview inherit new }instead. This, indeed, was my problem, and the change above fixed it. By the way, the passing of a rock to a key function is not documented, even in the comments in init.c. It is in the code, and does work, and is required for situations such as this one. You may also want to consider simply removing Esc-^P as a way to invoke textview-plainer and just use Esc-'-Esc-p (this would also fix the problem). \bold{\bigger{Charles Hayden cch@mtgzfs3.att.com}} Bell Labs MT 3G-408 200 Laurel Ave, Middletown, NJ 07748 (908) 957-5558 \enddata{text,1973728} \enddata{text822, 29768} \begindata{text822, 34550} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po2.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Wed, 6 Nov 1991 16:14:26 -0500 (EST) Received: from po2.andrew.cmu.edu via qmail ID ; Wed, 6 Nov 1991 16:10:51 -0500 (EST) Received: from ucbvax.Berkeley.EDU by po2.andrew.cmu.edu (5.54/3.15) id for info-andrew; Wed, 6 Nov 91 16:09:55 EST Received: by ucbvax.Berkeley.EDU (5.63/1.42) id AA10047; Wed, 6 Nov 91 11:29:26 -0800 Received: from USENET by ucbvax.Berkeley.EDU with netnews for info-andrew@andrew.cmu.edu (info-andrew@andrew.cmu.edu) (contact usenet@ucbvax.Berkeley.EDU if you have questions) Date: 6 Nov 91 18:30:49 GMT From: auspex!guy@uunet.uu.net (Guy Harris) Organization: Auspex Systems, Santa Clara Subject: Re: Class preprocessor failing Message-Id: <10889@auspex.auspex.com> References: <1991Nov5.142732.15094@bmw.mayo.edu> Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu > message: error closing import file > exit code = 8. > >Is there a fix for this? Yeah, put the ATK source on a file system with more space, or delete some stuff on the file system containing the ATK source. :-) I.e., that message is most likely a somewhat poor way of saying "out of space"; unfortunately, the code doesn't print the error message associated with "errno" if the "fclose()" fails - yes, the system doesn't *guarantee* that value in "errno" corresponds to the reason why "fclose()" failed, but it's sufficiently likely to that printing the error message associated with it will, overall, do more good than harm - so you have to check elsewhere to find out that you ran out of space. \enddata{text822, 34550} \begindata{text822, 36559} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po5.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Thu, 7 Nov 1991 10:58:56 -0500 (EST) Received: from po2.andrew.cmu.edu via qmail ID ; Thu, 7 Nov 1991 10:51:55 -0500 (EST) Received: from ucbvax.Berkeley.EDU by po2.andrew.cmu.edu (5.54/3.15) id for info-andrew; Thu, 7 Nov 91 10:46:54 EST Received: by ucbvax.Berkeley.EDU (5.63/1.42) id AA07119; Thu, 7 Nov 91 07:41:14 -0800 Received: from USENET by ucbvax.Berkeley.EDU with netnews for info-andrew@andrew.cmu.edu (info-andrew@andrew.cmu.edu) (contact usenet@ucbvax.Berkeley.EDU if you have questions) Date: 5 Nov 91 14:27:32 GMT From: csus.edu!wupost!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!paperboy.micro.umn.edu!cs.umn.edu!ux.acs.umn.edu!bru!bru!bmc@ucdavis.ucdavis.edu (Bruce Cameron) Organization: Biomedical Imaging Resource Subject: Class preprocessor failing Message-Id: <1991Nov5.142732.15094@bmw.mayo.edu> Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu While trying to build the latest release of andrew on a Sparc (SunOS 4.1.1), I keep getting the following error: Andrew class preprocessor exiting abnormally! processing file: /home/camaro/ANDREW/SUN/include/atk/text.ch message: error closing import file exit code = 8. Is there a fix for this? Can anyone point out where/what I should RTFM to get andrew up and running? Many Thanks. -- --Bruce "An eye for an eye makes the whole world blind" Ghandi ---------------------------------------------------- Bruce M. Cameron bmc@bru.mayo.edu Medical Sciences 1-18 voice: (507) 284-3288 Mayo Foundation fax: (507) 284-9623 200 1st ST SW Rochester, MN 55905 ARS -- WD9CKW ---------------------------------------------------- The views expressed are those of the author and do not reflect those of the Mayo Foundation, the Biomedical Imaging Resource or any person connected with those organizations. They don't speak for me, I don't speak for them. \enddata{text822, 36559} \begindata{text822, 38975} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po5.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Thu, 7 Nov 1991 11:55:26 -0500 (EST) Received: from po2.andrew.cmu.edu via qmail ID ; Thu, 7 Nov 1991 11:50:53 -0500 (EST) Received: from ucbvax.Berkeley.EDU by po2.andrew.cmu.edu (5.54/3.15) id ; Thu, 7 Nov 91 11:15:42 EST Received: by ucbvax.Berkeley.EDU (5.63/1.42) id AA08253; Thu, 7 Nov 91 08:05:03 -0800 Received: from USENET by ucbvax.Berkeley.EDU with netnews for info-andrew@andrew.cmu.edu (info-andrew@andrew.cmu.edu) (contact usenet@ucbvax.Berkeley.EDU if you have questions) Date: 6 Nov 91 22:52:41 GMT From: micro-heart-of-gold.mit.edu!wupost!spool.mu.edu!munnari.oz.au!bunyip.cc.uq.oz.au!brolga!ggm@bloom-beacon.mit.edu (George Michaelson) Organization: Prentice Centre, University of Queensland Subject: which version of tmac.psatk? Message-Id: Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu groff-1.03[+] has a 1-line different tmac.psatk (ok, so it excludes an IBM copyright as well) from that on the latest andrews dist. This appears to prime the "T" variable toggle. Why does it matter which .so file I include in tmac.atk? I am also a bit concerned at how many .ez..n tempfiles get dumped into /tmp, albiet from a grossly simplistic set of values for formatcommand printcommand and previewcommand. Should I have some cronjob to remove these, or is there some other way to do this? the andrews "preview" tool dislikes groffs dvi output format, so I'm using gxditview as the preview tool, which works but is not a runapp. just for the developers... -building groff was harder than building andrews! -George -------------------------------- ~ggm/preferences file: PRINTERTYPE:ps # # andrews demanded the full path to some binaries... dont know why. # this is in PATH and path ok for my shell (tcsh) # FORMATCOMMAND: eqn -T$PRINTERTYPE /tmp/%s.n \ | tbl | /usr/local/bin/gtroff -mps -Tps | # # these args to gxditview appear to permit *IT* to submit printjobs directly # which is a useful adjunct to the print selection within EZ. # PREVIEWCOMMAND: /usr/local/bin/X11/gxditview -title %s -xrm '*iconName:%s' \ -printCommand '/usr/local/bin/grops | /usr/ucb/lpr -Psc' - PRINTCOMMAND: /usr/local/bin/grops | /usr/ucb/lpr -Psc # # no, I am not an anti-mac fanatic # *.Menubar:on # # but alas popups AND motifstyle freaks my lobes too much. # *.PopupMenus:off MimicOldScrollbar:false ScrollbarPosition:left MotifScrollBars:yes -- George Michaelson G.Michaelson@cc.uq.oz.au The Prentice Centre | There's no market for University of Queensland | hippos in Philadelphia Phone: +61 7 365 4079 QLD Australia 4072 | -Bertold Brecht \enddata{text822, 38975} \begindata{text822, 42158} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po5.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Thu, 7 Nov 1991 14:53:03 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Thu, 7 Nov 1991 14:50:10 -0500 (EST) Received: from sunlight.Stanford.EDU by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew+; Thu, 7 Nov 91 14:49:23 EST Received: from elaine21.Stanford.EDU by sunlight.Stanford.EDU (4.1/AIR-1.0) id AA00472; Thu, 7 Nov 91 11:49:30 PST Received: from VUI.Andrew.3.70.CUILIB.3.45.SNAP.NOT.LINKED.elaine21.Stanford.EDU.sun4.41 via MS.5.6.elaine21.Stanford.EDU.sun4_41; Thu, 7 Nov 1991 11:45:09 -0800 (PST) Message-Id: Date: Thu, 7 Nov 1991 11:45:09 -0800 (PST) From: Mark_Warren@ir.stanford.edu To: info-andrew+@andrew.cmu.edu Subject: NeXTStep AMS client? Cc: Are there AMS clients that use a non-X based, graphical interface? For instance NextStep, Windows, or MacOS clients? (I suppose that you would first need to get the afs filesystem mounted on your system which kind of limit the MacOS and Windows clients). Thanks, Mark warren@jessica.stanford.edu \enddata{text822, 42158} \begindata{text822, 43688} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po5.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Thu, 7 Nov 1991 17:44:25 -0500 (EST) Received: from po2.andrew.cmu.edu via qmail ID ; Thu, 7 Nov 1991 17:39:07 -0500 (EST) Received: from nucssun1.newcastle.edu.au by po2.andrew.cmu.edu (5.54/3.15) id ; Thu, 7 Nov 91 16:48:39 EST Received: by nucssun1.newcastle.edu.au (5.65+/1.34) id AA27247; Fri, 8 Nov 91 08:48:32 +1100 From: owie@nucssun1.newcastle.edu.au (Simon Oldfield) Message-Id: <9111072148.AA27247@nucssun1.newcastle.edu.au> Subject: compiling andrew 5.0.0 To: info-andrew@andrew.cmu.edu Date: Fri, 8 Nov 91 8:48:31 EST X-Mailer: ELM [version 2.3 PL4] I have just compiled andrew with a few hassles !! The first problem was that none of the Makefiles had andrew/config added to the INCLUDES def. I thought that the purpose of the imake command at the start would have been to do this ! Did I miss something ? The steps I followed were :- imake -I. -I./config -Timake.tmpl -s Makefile -DTOPDIR=. from contrib/lib/andrew directory. And then make World This blew up in my face very quickly complaining that it couldn't find the include file allsys.h !! The second question I have is that when it is finished everything is linked back from my DESTDIR ( /usr/local/andrew ) to where the contrib sources are ! I don't want this anything that needs to be installed I would like to be copied to my DESTDIR. Can anyone tell me how to solve these problems please. Any suggestions will be gratefully appreciated !! Please reply to me ( owie@cs.newcastle.edu.au ) by email Thanks in advance Simon Oldfield owie@cs.newcastle.edu.au \enddata{text822, 43688} \begindata{text822, 45724} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po3.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Fri, 8 Nov 1991 19:43:17 -0500 (EST) Received: from po2.andrew.cmu.edu via qmail ID ; Fri, 8 Nov 1991 19:38:00 -0500 (EST) Received: from iag.hp.com (telford.iag.hp.com) by po2.andrew.cmu.edu (5.54/3.15) id for info-andrew+; Fri, 8 Nov 91 19:37:46 EST Received: from hpboz.iag.hp.com by telford.iag.hp.com with SMTP (16.6/IAG42.42) id AA02604; Fri, 8 Nov 91 16:37:36 -0800 Received: by kitzbuhl.iag.hp.com (16.6/IAG42.42) id AA20068; Fri, 8 Nov 91 16:37:10 -0800 Date: Fri, 8 Nov 91 16:37:10 -0800 From: Lee Boswell Message-Id: <9111090037.AA20068@kitzbuhl.iag.hp.com> To: info-andrew+@andrew.cmu.edu Subject: operations for raster Cc: boswell@kitzbuhl.iag.hp.com Does anyone know how I write a macro to center a raster and scale it in a particular way so that I can bind this operation to a single key stroke ? Lee Boswell HP IAG \enddata{text822, 45724} \begindata{text822, 47068} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po2.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Fri, 8 Nov 1991 22:36:36 -0500 (EST) Received: from po2.andrew.cmu.edu via qmail ID ; Fri, 8 Nov 1991 22:32:59 -0500 (EST) Received: from ucbvax.Berkeley.EDU by po2.andrew.cmu.edu (5.54/3.15) id for info-andrew; Fri, 8 Nov 91 22:32:41 EST Received: by ucbvax.Berkeley.EDU (5.63/1.42) id AA00277; Fri, 8 Nov 91 19:20:34 -0800 Received: from USENET by ucbvax.Berkeley.EDU with netnews for info-andrew@andrew.cmu.edu (info-andrew@andrew.cmu.edu) (contact usenet@ucbvax.Berkeley.EDU if you have questions) Date: 6 Nov 91 21:18:40 GMT From: cis.ohio-state.edu!magnus.acs.ohio-state.edu!csn!cherokee!tomahawk!scoffin@ucbvax.Berkeley.EDU (Steve Coffin) Organization: U S WEST Advanced Technologies Subject: Multi-user ez.... Message-Id: <1991Nov6.211840.17615@cherokee.uswest.com> Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu OK, follows are a couple of patches to make "ez" run on multiple displays. This means that "ez" becomes a multi-user editor in which multiple users can make changes to a file simultaneously. Updates made by one user will immediately appear at the display of all users.... To apply the patches: 1. Read the patches first. Only "eza.c" and "eza.ch" will change. 2. cd contrib/lib/andrew/atk/ez. 3. patch -p < this_file 4. make dependInstall 5. cd ../apps 6. make dependInstall To use the new version: A new command-line option "-u" is available, which takes an X11 display name. You can have up to 8 "-u" options for up to 8 simultaneous users: $ ez -u my_sys:0 -u your_sys:0 file.to.edit or $ ez -u my_sys:0 -u my_sys:0 file.to.edit for two "ez" windows on the same display. These act as normal: $ ez file.to.edit $ ez -u my_sys:0 file.to.edit $ ez -display your_sys:0 file.to.edit ps= These patches are for the new (5.0) version of ez as delivered in X11R5, but the hacks (not the exact patches) were formerly used with the older X11R4 (patch 9) release. I didn't test these with patch 10. pps= This is probably not the best or most desirable solution, but it worked for me.... Your mileage may vary. Mail me to give advice and/or flames. ppps= Thanks to auspex!guy@uunet.UU.NET for helping with a BIND problem in compiling andrew v5.0. =S.Coffin scoffin@uswest.com ======================================================================= *** eza.ch.orig Fri Oct 25 09:32:30 1991 --- eza.ch Wed Nov 6 10:41:49 1991 *************** *** 10,15 **** --- 10,16 ---- static char *rcsidezapp_H = "$Header: /afs/andrew.cmu.edu/itc/sm/releases/X.V11R5/ftp/src/atk/ez/RCS/eza.ch,v 2.8 1991/10/03 16:07:05 bobg Exp $"; #endif /* !defined(lint) && !defined(LOCORE) && defined(RCS_HDRS) */ + #define MAXUSER 8 /*SC 8 users max */ struct ezapp_fileList { struct ezapp_fileList *next; *************** *** 32,40 **** struct ezapp_fileList *files,**fileLink; boolean initFile; boolean haveBufferInWindow; ! struct im *im; ! struct frame *frame; struct buffer *buffer; struct buffer *errorBuffer; char *defaultObject; }; --- 33,43 ---- struct ezapp_fileList *files,**fileLink; boolean initFile; boolean haveBufferInWindow; ! struct im *im[MAXUSER]; /*SC*/ ! struct frame *frame[MAXUSER]; /*SC*/ struct buffer *buffer; + char display [MAXUSER][40]; /*SC*/ struct buffer *errorBuffer; char *defaultObject; + int usercnt; /*SC*/ }; *** eza.c.orig Thu Oct 24 13:52:16 1991 --- eza.c Wed Nov 6 13:13:01 1991 *************** *** 48,64 **** struct classheader *classID; struct ezapp *self; { self->initFile=TRUE; self->files=NULL; self->fileLink= &self->files; self->haveBufferInWindow = FALSE; - self->im = NULL; - self->frame = NULL; self->buffer = NULL; self->errorBuffer = NULL; self->defaultObject = NULL; ezapp_SetMajorVersion(self, 7); ezapp_SetMinorVersion(self, 0); return TRUE; } --- 48,71 ---- struct classheader *classID; struct ezapp *self; { + int i; /*SC*/ self->initFile=TRUE; self->files=NULL; self->fileLink= &self->files; self->haveBufferInWindow = FALSE; self->buffer = NULL; self->errorBuffer = NULL; self->defaultObject = NULL; ezapp_SetMajorVersion(self, 7); ezapp_SetMinorVersion(self, 0); + + self->usercnt = 0; /*SC*/ + for( i=0; iframe[i] = NULL; /*SC*/ + self->im[i] = NULL; /*SC*/ + self->display[i][0] = '\0'; /*SC*/ + } /*SC*/ + return TRUE; } *************** *** 205,210 **** --- 212,218 ---- struct buffer *buffer; long count = 0; int cc; + /* Loop until we have a file in a buffer. */ while (frame_VisitFilePrompting(frame, "Please enter the name of an initial file: ", FALSE, FALSE) < 0) { *************** *** 295,300 **** --- 303,310 ---- if (maxInitWindows < 2) maxInitWindows = 1; + self->usercnt = 0; /*SC*/ + while(*++argv!=NULL){ if(**argv=='-') switch((*argv)[1]){ *************** *** 301,306 **** --- 311,328 ---- case 'o': /* Create a buffer on object */ pendingObject=TRUE; break; + case 'u': /*SC get users.... */ + if( self->usercnt < MAXUSER ) { + strcpy( self->display[self->usercnt], *++argv ); + fprintf( stderr, "ez: Using display >>%s<<\n", + self->display[self->usercnt] ); + ++self->usercnt; + } + else { + fprintf( stderr, "%s: too many users; %s ignored!\n", + ezapp_GetName(self), *++argv ); + } + break; /*SC*/ case 'r': /* Next file should be readonly. */ pendingReadOnly = TRUE; break; *************** *** 330,335 **** --- 352,368 ---- } } + /* always at least one user! =SC */ + if( self->usercnt <= 0 ) self->usercnt = 1; + + /*SC this is an unknown glitch: must have a file specified to + *SC get multi-user menu.... + */ + if( self->files == NULL ) { + fprintf( stderr, "ez: At least one file required!\n" ); + return FALSE; + } + return TRUE; } *************** *** 377,382 **** --- 410,416 ---- { struct ezapp_fileList *fileEntry, *next; struct text *errtext; + int i; /*SC*/ if(!super_Start(self)) return FALSE; *************** *** 422,439 **** buffer_SetCkpVersion(self->buffer, version); buffer_SetWriteVersion(self->buffer, version); if (fileEntry->newWindow) { ! if((self->frame = frame_New()) == NULL) { ! fprintf(stderr,"Could not allocate enough memory.\nexiting.\n"); ! return(FALSE); } - frame_SetCommandEnable(self->frame, TRUE); - if((self->im = im_Create(NULL)) == NULL) { - fprintf(stderr,"Could not create new window.\nexiting.\n"); - return(FALSE); - } - im_SetView(self->im, self->frame); - frame_PostDefaultHandler(self->frame, "message", frame_WantHandler(self->frame, "message")); - frame_SetBuffer(self->frame, self->buffer, TRUE); self->haveBufferInWindow = TRUE; /* go to line */ --- 456,482 ---- buffer_SetCkpVersion(self->buffer, version); buffer_SetWriteVersion(self->buffer, version); if (fileEntry->newWindow) { ! for( i=0; i < self->usercnt; ++i ) { /*SC ... and ff */ ! self->frame[i] = frame_New(); ! if( self->frame[i] == NULL) { ! fprintf(stderr, ! "Could not allocate enough memory.\nexiting.\n"); ! return(FALSE); ! } ! frame_SetCommandEnable(self->frame[i], TRUE); ! self->im[i] = im_Create( self->display[i] ); ! if( self->im[i] == NULL) { ! fprintf(stderr, ! "Could not create new window on %s.\nexiting.\n", ! self->display[i]); ! return(FALSE); ! } ! ! im_SetView(self->im[i], self->frame[i]); ! /*XXX*/ frame_PostDefaultHandler(self->frame[i], "message", ! frame_WantHandler(self->frame[i], "message")); ! frame_SetBuffer(self->frame[i], self->buffer, TRUE); } self->haveBufferInWindow = TRUE; /* go to line */ *************** *** 492,521 **** self->errorBuffer = NULL; } ! if (self->frame == NULL || self->errorBuffer != NULL) { /* Dont have a window yet, or need one for error buffer. */ ! self->frame = frame_New(); ! frame_SetCommandEnable(self->frame, TRUE); if (self->haveBufferInWindow) ! frame_SetTitle(self->frame, "Startup Errors."); else ! frame_SetTitle(self->frame, "No files specified."); /* This will get reset below. */ ! self->im = im_Create(NULL); ! if(self->im == NULL) { /* Cannot run any further anyway, so just exit instead of dumping core! j_mukerji@att.com*/ exit(1); } ! im_SetView(self->im, self->frame); ! frame_PostDefaultHandler(self->frame, "message", frame_WantHandler(self->frame, "message")); } ! if (self->errorBuffer) ! frame_SetBuffer(self->frame, self->errorBuffer, TRUE); waitCursor = cursor_Create(NULL); cursor_SetStandard(waitCursor, Cursor_Wait); return TRUE; } --- 535,567 ---- self->errorBuffer = NULL; } ! if (self->frame[0] == NULL || self->errorBuffer != NULL) { /*SC*/ /* Dont have a window yet, or need one for error buffer. */ ! self->frame[0] = frame_New(); /*SC*/ ! frame_SetCommandEnable(self->frame[0], TRUE); /*SC*/ if (self->haveBufferInWindow) ! frame_SetTitle(self->frame[0], "Startup Errors."); /*SC*/ else ! frame_SetTitle(self->frame[0], "No files specified."); /* This will get reset below. */ /*SC*/ ! self->im[0] = im_Create( self->display[0]); /*SC*/ ! if(self->im[0] == NULL) { /*SC*/ /* Cannot run any further anyway, so just exit instead of dumping core! j_mukerji@att.com*/ exit(1); } ! im_SetView(self->im[0], self->frame[0]); /*SC*/ ! frame_PostDefaultHandler(self->frame[0], "message", frame_WantHandler(self->frame[0], "message")); /*SC*/ } ! if (self->errorBuffer) { ! for( i=0; iusercnt; ++i ) /*SC*/ ! frame_SetBuffer(self->frame[i], self->errorBuffer, TRUE); /*SC*/ ! } waitCursor = cursor_Create(NULL); cursor_SetStandard(waitCursor, Cursor_Wait); + return TRUE; } *************** *** 522,528 **** int ezapp__Run(self) struct ezapp *self; { ! if(!ezapp_Fork(self)) return -1; --- 568,575 ---- int ezapp__Run(self) struct ezapp *self; { ! int i; /*SC*/ ! if(!ezapp_Fork(self)) return -1; *************** *** 533,547 **** if (self->errorBuffer == NULL) { self->buffer = buffer_Create("", NULL, "text", NULL); text = (struct text *) buffer_GetData(self->buffer); ! frame_SetBuffer(self->frame, self->buffer, TRUE); text_InsertCharacters(text, 0, INITIALHELP, sizeof(INITIALHELP) - 1); } ! inputFocus = im_GetInputFocus(self->im); ! view_LoseInputFocus(inputFocus); ! Startup(self->frame); if (self->errorBuffer == NULL) /* If we had to create a buffer to hold the error text. */ buffer_Destroy(self->buffer); - frame_SetTitle(self->frame, NULL); } /* A CheckPointInterval of 0 means don't checkpoint. */ --- 580,599 ---- if (self->errorBuffer == NULL) { self->buffer = buffer_Create("", NULL, "text", NULL); text = (struct text *) buffer_GetData(self->buffer); ! for( i=0; iusercnt; ++i ) { /*SC*/ ! frame_SetBuffer(self->frame[i], self->buffer, TRUE); ! } text_InsertCharacters(text, 0, INITIALHELP, sizeof(INITIALHELP) - 1); } ! for( i=0; iusercnt; ++i ) { /*SC*/ ! inputFocus = im_GetInputFocus(self->im[i]); /*SC*/ ! view_LoseInputFocus(inputFocus); ! Startup(self->frame[i]); /*SC*/ ! frame_SetTitle(self->frame[i], NULL); /*SC*/ ! } ! if (self->errorBuffer == NULL) /* If we had to create a buffer to hold the error text. */ buffer_Destroy(self->buffer); } /* A CheckPointInterval of 0 means don't checkpoint. */ \enddata{text822, 47068} \begindata{text822, 60226} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po5.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Sat, 9 Nov 1991 10:33:09 -0500 (EST) Received: from po2.andrew.cmu.edu via qmail ID ; Sat, 9 Nov 1991 10:29:31 -0500 (EST) Received: from ucbvax.Berkeley.EDU by po2.andrew.cmu.edu (5.54/3.15) id for info-andrew; Sat, 9 Nov 91 10:29:19 EST Received: by ucbvax.Berkeley.EDU (5.63/1.42) id AA20805; Sat, 9 Nov 91 07:24:18 -0800 Received: from USENET by ucbvax.Berkeley.EDU with netnews for info-andrew@andrew.cmu.edu (info-andrew@andrew.cmu.edu) (contact usenet@ucbvax.Berkeley.EDU if you have questions) Date: 8 Nov 91 16:40:07 GMT From: mcsun!uknet!edcastle!spider!raft.spider.co.uk!spiderman!scottm@uunet.uu.net (Scott Mackie) Organization: Spider Systems Limited, Edinburgh, UK. Subject: Andrew v5.0 build on MIPS RISCos 4.52 Message-Id: <1991Nov8.164007.18991@spider.co.uk> Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu Has any brave soul tried to port the Andrew distribution on the X11R5 tape up on to any RISCos 4.52 machines (mainly R2XXX or R3XXX boxes)? I've put a tentative toe in the water and got burned in the overhead/class/cmd stuff (the dynamic loader/indexer I presume). If anyone's ported the source or has any advice I'd welcome mail from them. Cheers Scott...... -- Spider Systems Limited Net: scottm@spider.co.uk Spider Park, Stanwell Street, Edinburgh YellNet: +44 31 554 9424 #include "Rockin' Good, Peanut!" \enddata{text822, 60226} \begindata{text822, 62106} Return-path: X-Andrew-Authenticated-as: 1369;andrew.cmu.edu;Aaron Wohl Received: from akutaktak.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Sun, 10 Nov 1991 11:03:57 -0500 (EST) If-Type-Unsupported: send Received: from akutaktak.andrew.cmu.edu via qmail ID ; Sun, 10 Nov 1991 10:59:59 -0500 (EST) Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.akutaktak.andrew.cmu.edu.pmax.ul4 via MS.5.6.akutaktak.andrew.cmu.edu.pmax_ul4; Sun, 10 Nov 1991 10:59:58 -0500 (EST) Message-ID: <8d7JRye00WA1Q1Xl9T@andrew.cmu.edu> Date: Sun, 10 Nov 1991 10:59:58 -0500 (EST) From: Aaron Wohl X-Andrew-Message-Size: 295+0 Content-Type: X-BE2; 12 To: Info-Andrew , Mark_Warren@ir.stanford.edu Subject: Re: NeXTStep AMS client? In-Reply-To: References: \begindata{text,19304476} \textdsversion{12} \template{messages} The only graphical AMS client I know of is messages. A future version of macmail may have some translation of ATK fonts and styles. We are working on a new version of macmail for the next six months the feature set hasn't been pined down yet. I will post on info-andrew when we know. Aaron \enddata{text,19304476} \enddata{text822, 62106} \begindata{text822, 63730} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po2.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Mon, 11 Nov 1991 14:29:02 -0500 (EST) Received: from po2.andrew.cmu.edu via qmail ID ; Mon, 11 Nov 1991 14:27:54 -0500 (EST) Received: from iag.hp.com (telford.iag.hp.com) by po2.andrew.cmu.edu (5.54/3.15) id for info-andrew+; Mon, 11 Nov 91 14:27:32 EST Received: from hpboz.iag.hp.com by telford.iag.hp.com with SMTP (16.6/IAG42.42) id AA06775; Mon, 11 Nov 91 11:27:25 -0800 Received: by kitzbuhl.iag.hp.com (16.6/IAG42.42) id AA01350; Mon, 11 Nov 91 11:27:18 -0800 Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.hpboz.iag.hp.com.HP9000.300 via MS.5.6.hpboz.iag.hp.com.hp300; Mon, 11 Nov 1991 11:27:16 -0800 (PST) Message-Id: Date: Mon, 11 Nov 1991 11:27:16 -0800 (PST) From: Lee Boswell X-Andrew-Message-Size: 2839+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: info-andrew+@andrew.cmu.edu Subject: Fwd: operations for raster References: <9111090037.AA20068@kitzbuhl.iag.hp.com> \begindata{text,2160132} \textdsversion{12} \template{messages} ---------- Forwarded message begins here ---------- \smaller{\smaller{Return-Path: Received: by kitzbuhl.iag.hp.com (16.6/IAG42.42) id AA00792; Mon, 11 Nov 91 11:20:55 -0800 Return-Path: Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.hpboz.iag.hp.com.HP9000.300 via MS.5.6.hpboz.iag.hp.com.hp300; Mon, 11 Nov 1991 11:20:50 -0800 (PST) Message-Id: Date: Mon, 11 Nov 1991 11:20:50 -0800 (PST) From: Lee Boswell X-Andrew-Message-Size: 2016+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: Fred Hansen Subject: Re: operations for raster Cc: andrew-info@+andrew.cmu.edu In-Reply-To: References: <9111090037.AA20068@kitzbuhl.iag.hp.com> }} Hi Fred, Yes, this is pretty much what I want to do, namely center the raster and scale it (relative) to one-third usual size (possibly then center it again as this does not always leave it centered after doing the scaling), and do this in one keystroke ! Unfortunately I cannot use Ness as this part of our Andrew build (version 5 on HP-UX on the hp300) did not work and there will not be time to sort this out before the demo for which I need the auto-scaling. Have you (or anyone else) got any other suggestions please ? Could you tell me how to write the Ness script you mailed me in C ? Thanks, Lee Boswell \excerptedcaption{Excerpts from mail: 11-Nov-91 Re: operations for raster Fred Hansen@andrew.cmu.e (1553)} \quotation{The best way is (unfortunately) to write C code, but something like what }\quotation{you may want is possible with the Ness code below. It dumps core on my }\quotation{machine, but that may be hardware specific. } \quotation{Your message is fuzzy as to exactly what sort of scaling you want. Do }\quotation{you want the bits changed or merely thesize of their image on the }\quotation{screen. (The latter is implemented below.) } \quotation{To TEST COMPILE this code: }\quotation{ `ez /tmp/test` and give further commands to the new ez }\quotation{ `ESC-TAB ness` to insert a ness object in the text. }\quotation{ copy the text below and insert it in the new ness object }\quotation{ select from the Ness menu card the option }\quotation{ `Empower-Compile` }\quotation{The compilation takes a while because it parses a number of .ch files. }\quotation{ONLY IF IT SUCCEEDS should you modify your .ezinit as indiacted in the }\quotation{program below. } \quotation{-------------------------------------------- }\quotation{-- Ness code to center a raster image and scale it by one-third }\quotation{-- }\quotation{-- This code is stored in some file, say /usr/you/nesslib/rastop.n }\quotation{-- Then the file is loaded into your program by adding these lines to -- }\quotation{.ezinit: }\quotation{-- load ness }\quotation{-- call ness-load /usr/you/nesslib/rastop.n } \quotation{--$enable class access } \quotation{extend "view:rasterview" }\quotation{ on menu "ScaleThird" }\quotation{ rasterv_center_image(currentinset) }\quotation{ rasterv_SetScale(CurrentInset, rasterview_GetScale()/3) }\quotation{ end menu }\quotation{end extend } \enddata{text,2160132} \enddata{text822, 63730} \begindata{text822, 68684} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po2.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Mon, 11 Nov 1991 16:14:44 -0500 (EST) Received: from po2.andrew.cmu.edu via qmail ID ; Mon, 11 Nov 1991 16:08:39 -0500 (EST) Received: from relay1.UU.NET by po2.andrew.cmu.edu (5.54/3.15) id for info-andrew+; Mon, 11 Nov 91 16:08:25 EST Received: from uunet.uu.net (via LOCALHOST.UU.NET) by relay1.UU.NET with SMTP (5.61/UUNET-internet-primary) id AA09649; Mon, 11 Nov 91 16:07:37 -0500 Message-Id: <9111112107.AA09649@relay1.UU.NET> Received: from tron.UUCP by uunet.uu.net with UUCP/RMAIL (queueing-rmail) id 160636.13104; Mon, 11 Nov 1991 16:06:36 EST Date: Mon, 11 Nov 91 15:57:36 -0500 From: tron!swars.dnet!beser@uunet.UU.NET (Eric L. Beser (301) 765-1010) To: "uunet!andrew.cmu.edu!info-andrew+"@uunet.UU.NET Subject: building andrew on decstation ultrix 4.2 I am having a hard time building the Andrew system on the dec station (mips) runing ultrix 4.2. I built up a special libX11_g0, to go with the libc_g0 and libm_g0, however to use the network features of xwindows especially the decnet features, I tried to link in libdnet.a. Of course, the makedo program died becuase the libdnet.a file was compiled without -G 0 option. Question 1. How do you successfully build the Andrew system on the decstation. would some kind soul please email an alsys.mcr and alsys.h (or site.mcr, site.h) that allows for some success? Question 2. I am getting undefined symbols in some links, and Make dies. Do I have to disable all the dynamic loading? This may be related to question 1 above. Thanks Eric Beser Westinghouse Aerospace Software Engineering \enddata{text822, 68684} \begindata{text822, 70734} Return-path: X-Andrew-Authenticated-as: 13;andrew.cmu.edu;Fred Hansen Received: from shaler.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Tue, 12 Nov 1991 11:18:25 -0500 (EST) Received: from shaler.andrew.cmu.edu via qmail ID ; Tue, 12 Nov 1991 11:16:36 -0500 (EST) Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.shaler.andrew.cmu.edu.rs.aix31 via MS.5.6.shaler.andrew.cmu.edu.rs_aix31; Tue, 12 Nov 1991 11:16:36 -0500 (EST) Message-ID: Date: Tue, 12 Nov 1991 11:16:36 -0500 (EST) From: Fred Hansen X-Andrew-Message-Size: 1453+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: Info-Andrew Subject: Re: operations for raster In-Reply-To: References: <9111090037.AA20068@kitzbuhl.iag.hp.com> \begindata{text,539434568} \textdsversion{12} \template{messages} \excerptedcaption{Excerpts from maillog: } \quotation{Unfortunately I cannot use Ness as this part of our Andrew build (version 5 on HP-UX on the hp300) did not work } Too bad. If anyone can give me more information, we can get this fixed. I responded further to Lee's question with the C code solution below. Fred Hansen \excerptedcaption{Excerpts from maillog: 11-Nov-91 Re: operations for raster => L. Boswell@iag.hp.com (1101+0)} \quotation{If you do want to fool with C code, you could simply revise $ANDREWDIR/atk/raster/cmd/rasterv.c. You would add something like the routines below (I will not have time to test this). } \quotation{I've used the keystrokes ESC-^ and the menu RasterOps:Scale/3. } \quotation{static void CenterThirdCommand(self) }\quotation{struct rasterview *self; }\quotation{\{ }\quotation{ struct raster *ras = (struct raster *)rasterview_GetDataObject(self); }\quotation{ struct rasterimage *pix, *new; } \quotation{ if ((ras == NULL) || ((pix = raster_GetPix(ras)) == NULL)) }\quotation{ return; } \quotation{ rasterview_SetScale(self, self->Scale/3); }\quotation{ CenterViewSelection(self); }\quotation{ /* here we may want rasterview_WantNewSize(self, self); */ }\quotation{ rasterimage_NotifyObservers(pix, rasterview_SCALECHANGED); }\quotation{\} } \quotation{additional text for rasterview__InitializeClass: } \quotation{ proc = proctable_DefineProc("rasterv-center-and-third", CenterThirdCommand, }\quotation{ &rasterview_classinfo, NULL, }\quotation{ "Center the image and scale it to one third"); }\quotation{ keymap_BindToKey(EmbeddedKeymap, "\\033^", proc, 0); /* ESC - ^ */ }\quotation{ menulist_AddToML(EmbeddedMenus, "Raster Ops~20,Scale/3~32", proc, 0, menuScale); } \enddata{text,539434568} \enddata{text822, 70734} \begindata{text822, 73925} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po5.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Tue, 12 Nov 1991 14:15:26 -0500 (EST) Received: from po5.andrew.cmu.edu via qmail ID ; Tue, 12 Nov 1991 14:14:15 -0500 (EST) If-Type-Unsupported: send Received: from po3.andrew.cmu.edu via qmail ID ; Tue, 12 Nov 1991 14:11:48 -0500 (EST) Received: from thumper.bellcore.com by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew+; Tue, 12 Nov 91 14:10:48 EST Received: from greenbush.bellcore.com by thumper.bellcore.com (4.1/4.7) id for tpn+@andrew.cmu.edu; Tue, 12 Nov 91 14:10:44 EST Received: by greenbush.bellcore.com (4.1/4.7) id for info-andrew+@andrew.cmu.edu; Tue, 12 Nov 91 14:10:43 EST Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.greenbush.galaxy.sun4.41 via MS.5.6.greenbush.galaxy.sun4_41; Tue, 12 Nov 1991 14:10:42 -0500 (EST) Message-Id: Date: Tue, 12 Nov 1991 14:10:42 -0500 (EST) From: Nathaniel Borenstein X-Andrew-Message-Size: 839+1 Content-Type: X-BE2; 12 To: Tom Neuendorffer , info-andrew+@andrew.cmu.edu Subject: Oh, no! Say it ain't so! \begindata{text,1640760} \textdsversion{12} \template{default} \define{global attr:[FontSize ConstantFontSize Point 12]} \define{itemize menu:[Region~4,Itemize~31] attr:[LeftMargin LeftMargin Inch 32768]} \define{enumerate menu:[Region~4,Enumerate~30] attr:[LeftMargin LeftMargin Inch 32768]} \define{programexample menu:[Region~4,ProgramExample~13] attr:[LeftMargin LeftMargin Inch 32768] attr:[Justification LeftJustified Point 0] attr:[FontFace FixedFace Int Set] attr:[FontFamily AndyType Int 0]} \define{excerptedcaption attr:[LeftMargin LeftMargin Inch 32768] attr:[RightMargin RightMargin Inch 32768] attr:[FontFace Bold Int Set] attr:[FontFace Italic Int Set]} \define{literal menu:[Region~4,Literal~62] attr:[Flags PassThru Int Set]} Apparently the R5 release of Andrew has BROKEN the famous Girl Scout cookies demo! Now the individual sliders all work, but they don't cause the total ordered or the cost to be incremented. This is clearly a disaster of epic proportions! The R5 release should be recalled immediately! Well, OK, so it isn't quite that bad, but I am actually saddened to see it broken... -- Nathaniel ---------- Forwarded message begins here ---------- \smaller{\smaller{Date: Wed, 28 Nov 1990 12:36:20 -0500 (EST) Subject: An Active Message for Ordering Girl Scout Cookies, using Andrew Extensions Content-Type: X-BE2; 12 }}\bigger{\bigger{\bigger{\bigger{ \bold{\bigger{\bigger{\bigger{\bigger{\center{Girl Scout Cookies for Sale!}}}}}} This is an active message. You can use it to order Girl Scout Cookies. If you hit the "send" button, I'll really get you the cookies. When you're done, use the middle mouse button to choose the "Quit" menu. \begindata{lset,3480104} \V 1 \begindata{lset,3458200} \V 1 \begindata{lset,3479904} \V 1 \begindata{lset,3458000} \V 1 \begindata{cel,3479768} \V 2 \begindata{value,3457928} >9 \enddata{value,3457928} 10 3457928 1 0 0 0 >OBJ< value >VIEW< sliderV >REF< value_0 \begindata{text,2101584} \textdsversion{12} [string]