\begindata{text822, 0} Return-path: X-Andrew-Authenticated-as: 1342;andrew.cmu.edu;Mark Sherman Received: from mss.andrew.cmu.edu via trymail ID ; Thu, 4 Jan 90 08:36:38 -0500 (EST) Received: from mss.andrew.cmu.edu via qmail ID ; Thu, 4 Jan 90 08:36:33 -0500 (EST) Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.mss.andrew.cmu.edu.rt.r3 via MS.5.6.mss.andrew.cmu.edu.rt_r3; Thu, 4 Jan 90 08:36:33 -0500 (EST) ReSent-Message-ID: <8Zcp5VC00VsAQ1r0wQ@andrew.cmu.edu> ReSent-Date: Thu, 4 Jan 90 08:36:33 -0500 (EST) ReSent-From: Mark Sherman ReSent-To: Susan Straub Return-path: Message-Id: Date: Wed, 3 Jan 90 20:36:18 -0500 (EST) From: Nathaniel Borenstein To: info-andrew+@andrew.cmu.edu Subject: Insert-file in sendmessage bug This is a really odd one: I'm running with font preferences that are non-standard, so that my sendmessage is using andysans10 as the default font. All is well, until I type ^X^I to insert a file in the body of outgoing mail. After that, all is still fine, except that my entire mail body is transformed into a larger (12 or 14 point?) font. It doesn't have any styles in it, so clearly what has been trashed is the *global* style. It stays "trashed" until I hit the "reset" button, when it reverts to the smaller font. Very strange. It doesn't happen in ez when I insert a file, but sendmessage's insert-file function ultimately calls textview_InsertFileCmd to do all the work. I have no idea what is causing this bug, and it isn't fatal, but it sure is weird. -- Nathaniel (PS: This is on a Sun4, running X remotely on a GraphOn terminal.) \enddata{text822, 0} \begindata{text822, 1976} Return-path: X-Andrew-Authenticated-as: 1342;andrew.cmu.edu;Mark Sherman Received: from mss.andrew.cmu.edu via trymail ID ; Mon, 8 Jan 90 14:10:04 -0500 (EST) Received: from mss.andrew.cmu.edu via qmail ID ; Mon, 8 Jan 90 14:08:03 -0500 (EST) Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.mss.andrew.cmu.edu.rt.r3 via MS.5.6.mss.andrew.cmu.edu.rt_r3; Mon, 8 Jan 90 14:08:01 -0500 (EST) ReSent-Message-ID: ReSent-Date: Mon, 8 Jan 90 14:08:01 -0500 (EST) ReSent-From: Mark Sherman ReSent-To: Tom Neuendorffer , Susan Straub Return-path: Date: Mon, 8 Jan 90 12:15:15 CST From: grogers@bullwinkle.cs.uiuc.edu (Greg Rogers) Message-Id: <9001081815.AA14425@bullwinkle.cs.uiuc.edu> To: info-andrew@andrew.cmu.edu Subject: bug fixes I just picked up XR4 and I'm trying to compile andrew 3. I looked on expo and emsworth.andrew.cmu.edu for patches but they were gone. What happened to them? greg \enddata{text822, 1976} \begindata{text822, 3284} Return-path: X-Andrew-Authenticated-as: 1342;andrew.cmu.edu;Mark Sherman Received: from mss.andrew.cmu.edu via trymail ID ; Mon, 8 Jan 90 16:42:15 -0500 (EST) Received: from mss.andrew.cmu.edu via qmail ID ; Mon, 8 Jan 90 16:42:06 -0500 (EST) Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.mss.andrew.cmu.edu.rt.r3 via MS.5.6.mss.andrew.cmu.edu.rt_r3; Mon, 8 Jan 90 16:42:05 -0500 (EST) ReSent-Message-ID: ReSent-Date: Mon, 8 Jan 90 16:42:05 -0500 (EST) ReSent-From: Mark Sherman ReSent-To: Tom Neuendorffer , Susan Straub Return-path: Message-Id: <4ZeE0Q200hMNI3LV90@cs.cmu.edu> Date: Mon, 8 Jan 90 16:03:24 -0500 (EST) From: Damon.Lipparelli@cs.cmu.edu To: Info-Andrew Subject: fonts on hp300 (hp-ux 6.2) Cc: lipp@MIRACLE.EDRC.CMU.EDU Hello. I just spent 5 days building the andrew distribution on my hp 320 only to find that the fonts didn't come out right. The fonts look right with xfd, but when I try to start up an xterm with one of the andrew fonts (ie, "xterm -fn andytype10f"), I get the curious effect of _no_ lower case characters! I also get a problem with the fonts in the menus so that the work-around mentioned in the build docs (set *.bodyfont preference to some X font) doesn't help much. Any ideas? Thanks for any help, Damon Lipparelli (lipp@miracle.edrc.cmu.edu) \enddata{text822, 3284} \begindata{text822, 5022} 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-strip.dl) ID ; Mon, 8 Jan 90 21:38:57 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Mon, 8 Jan 90 21:35:39 -0500 (EST) Received: from arisia.Xerox.COM by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew+; Mon, 8 Jan 90 21:34:55 EST Received: from holmes.parc.Xerox.COM by arisia.Xerox.COM with SMTP (5.61+/IDA-1.2.8/gandalf) id AA21579; Mon, 8 Jan 90 18:28:25 -0800 Received: by holmes.parc.xerox.com (5.61+/IDA-1.2.8/gandalf) id AA07594; Mon, 8 Jan 90 18:34:10 PST Received: from Version.6.23.N.CUILIB.3.44.SNAP.NOT.LINKED.holmes.Unknown.Machine.Type via MS.5.5.holmes.sun3_35; Mon, 8 Jan 90 18:34:10 -0800 (PST) Message-Id: Date: Mon, 8 Jan 90 18:34:10 -0800 (PST) From: Bill Janssen To: Damon.Lipparelli@CS.CMU.EDU, Info-Andrew Subject: Re: fonts on hp300 (hp-ux 6.2) Cc: lipp@MIRACLE.EDRC.CMU.EDU In-Reply-To: <4ZeE0Q200hMNI3LV90@cs.cmu.edu> References: <4ZeE0Q200hMNI3LV90@cs.cmu.edu> There is a bug in Sun's OpenWindows font compiler that causes no lower case letters to be seen in the Andrew fonts. Perhaps the same problem is in the H-P font compiler? Bill \enddata{text822, 5022} \begindata{text822, 6680} 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-strip.dl) ID ; Tue, 9 Jan 90 15:08:22 -0500 (EST) Received: from andrew.cmu.edu via qmail ID ; Tue, 9 Jan 90 15:03:50 -0500 (EST) Received: from MIRACLE.EDRC.CMU.EDU by andrew.cmu.edu (5.54/3.15) id for info-andrew+; Tue, 9 Jan 90 15:03:33 EST Received: from VUI.Andrew.3.70.CUILIB.3.45.SNAP.NOT.LINKED.MIRACLE.EDRC.CMU.EDU.sun3.35 via MS.5.6.MIRACLE.EDRC.CMU.EDU.sun3_35; Tue, 9 Jan 90 15:03:05 -0500 (EST) Message-Id: <8ZeYBt200hMN8ENlI5@cs.cmu.edu> Date: Tue, 9 Jan 90 15:03:05 -0500 (EST) From: Damon.Lipparelli@cs.cmu.edu To: Info-Andrew Subject: Re: fonts on hp300 (hp-ux 6.2) Cc: In-Reply-To: References: <4ZeE0Q200hMNI3LV90@cs.cmu.edu>, Does this imply that the fonts might work on an hp300 running X11R4? Has anyone tried building the andrew stuff on a 300 running R4? Just wondering. Damon Lipparelli (lipp@cs.cmu.edu) \enddata{text822, 6680} \begindata{text822, 8091} Return-path: X-Andrew-Authenticated-as: 38;andrew.cmu.edu;Susan Straub Received: from hamburg.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl) ID ; Tue, 9 Jan 90 16:27:46 -0500 (EST) Received: from hamburg.andrew.cmu.edu via qmail ID ; Tue, 9 Jan 90 16:26:44 -0500 (EST) Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.hamburg.andrew.cmu.edu.rt.r3 via MS.5.6.hamburg.andrew.cmu.edu.rt_r3; Tue, 9 Jan 90 16:26:43 -0500 (EST) Message-ID: Date: Tue, 9 Jan 90 16:26:43 -0500 (EST) From: Susan Straub X-Andrew-Message-Size: 1082+0 Content-Type: X-BE2; 12 If-Type-Unsupported: alter To: Info-Andrew Subject: Andrew Patch 1 Available \begindata{text,270291180} \textdsversion{12} \template{messages} The latest patch, number 1, is available for your immediate action in the file /contrib/andrew/patch.001 or patch.001.Z compressed on expo.lcs.mit.edu (IP address 18.30.0.212). You can also retrieve the file from host emsworth.andrew.cmu.edu (IP address 128.2.11.64). This patch is available as file patches/patch.001 or patches/patch.001.Z compressed. This patch includes diffs for 10 source files. If you don't have ftp access, mail retrieval is available. For more information, send requests to andrew-service@andrew.cmu.edu. As you know, you should apply these patches with Larry Wall's patch program, which has been distributed on the X.V11R3 tape as well as on the X.V11R4 tape and via netnews. As the patches are all made from context diffs, you may specify the '-c' option to patch. You will also need the '-p' option to allow patch to understand the pathnames in the patch file. Thus, you should do this: (retrieve contrib/andrew/patch.001) cd (directory with andrew distribution) (thus, ./overhead and ./atk exist) patch -c -p < ..../patch.001 Good luck. \enddata{text,270291180} \enddata{text822, 8091} \begindata{text822, 10366} Return-path: X-Andrew-Authenticated-as: 91;andrew.cmu.edu;Tom Neuendorffer Received: from dublin.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl) ID ; Tue, 9 Jan 90 17:42:15 -0500 (EST) Received: from dublin.andrew.cmu.edu via qmail ID ; Tue, 9 Jan 90 17:41:11 -0500 (EST) Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.dublin.andrew.cmu.edu.rt.r3 via MS.5.6.dublin.andrew.cmu.edu.rt_r3; Tue, 9 Jan 90 17:41:10 -0500 (EST) Message-ID: Date: Tue, 9 Jan 90 17:41:10 -0500 (EST) From: Tom Neuendorffer X-Andrew-Message-Size: 446+0 Content-Type: X-BE2; 12 If-Type-Unsupported: alter To: Info-Andrew Subject: New IP address for Andrew ftp In-Reply-To: References: \begindata{text,269800368} \textdsversion{12} \template{messages} Apparently there was a reorganization of the local net last week and some IP address were changed around without my knowledge. The upshot is that if you plan to ftp Andrew or any patches from emsworth.andrew.cmu.edu ( and you don't have access to a reasonable name-server) , you will have to ftp to 128.2.30.62, (instead of 128.2.11.64, as posted on the recent Andrew and patch announcements). Sorry for the inconvenience. Tom Neuendorffer \enddata{text,269800368} \enddata{text822, 10366} \begindata{text822, 12098} 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-strip.dl) ID ; Wed, 10 Jan 90 00:24:23 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Wed, 10 Jan 90 00:22:34 -0500 (EST) Received: from a.cs.uiuc.edu by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Wed, 10 Jan 90 00:21:28 EST Received: from bullwinkle.cs.uiuc.edu by a.cs.uiuc.edu with SMTP (5.61+/IDA-1.2.8) id AA20056; Tue, 9 Jan 90 23:21:06 -0600 Received: by bullwinkle.cs.uiuc.edu (5.51/9.7) id AA18560; Tue, 9 Jan 90 23:18:50 CST Date: Tue, 9 Jan 90 23:18:50 CST From: grogers@bullwinkle.cs.uiuc.edu (Greg Rogers) Message-Id: <9001100518.AA18560@bullwinkle.cs.uiuc.edu> To: info-andrew@andrew.cmu.edu Subject: messages I have andrew version 3 compiled on my RT running 4.3 unix. However, I can't get messages to read my mailbox (/usr/spool/mail/grogers). The system is compiled without AMS delivery and all that (just basic unix). I looked at setting up an AndrewSetup file, but that didn't seem to make any difference. How do I get messages to read my mailbox on a plain unix machine? The message I'm getting says that messages cannot read my mail from ~grogers/Mailbox. I've added a /usr/andrew/etc/AndrewSetup file that has "AMS_MailBoxPrefix: /usr/spool/mail" in it. Messages is able to find my old messages directory and folders without any problems. Greg Rogers University of Illinois at Urbana-Champaign Department of Computer Science 1304 W. Springfield Ave. Urbana, IL 61801 grogers@cs.uiuc.edu \enddata{text822, 12098} \begindata{text822, 14003} 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-strip.dl) ID ; Wed, 10 Jan 90 03:15:05 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Wed, 10 Jan 90 03:09:41 -0500 (EST) Received: from mtfuji.gw.u-tokyo.ac.jp ([128.167.64.2]) by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew+; Wed, 10 Jan 90 03:08:40 EST Received: from relay.cc.u-tokyo.ac.jp by mtfuji.gw.u-tokyo.ac.jp (5.61/2.7W) id AA12204; Wed, 10 Jan 90 03:06:28 -0500 Received: from kogwy.cc.keio.ac.jp by relay.cc.u-tokyo.ac.jp (5.61/2.7W) id AA01562; Wed, 10 Jan 90 17:06:23 +0900 Received: from math-relay.math.keio.ac.jp by kogwy.cc.keio.ac.jp (5.61/6.4J.6-ko1.41) id AA08762; Wed, 10 Jan 90 17:06:21 +0900 Received: from kossvax.slab.math.keio.ac.jp (slab-relay.slab.math.keio.ac.jp) by cabbage.math.keio.ac.jp (4.0/6.4J.4-math1.3) id AA11920; Wed, 10 Jan 90 17:06:47 JST Received: by kossvax.slab.math.keio.ac.jp (5.51/6.4J.5-slab1.1) id AA12859; Wed, 10 Jan 90 17:05:51+0900 Received: from kris.mita.keio.ac.jp by mitasun.mita.keio.ac.jp (4.0/6.4J.5-slab1.1) id AA20262; Wed, 10 Jan 90 17:01:02 JST Received: by kris.mita.keio.ac.jp (5.51/6.4J.5-math-slab1.1) id AA22558; Wed, 10 Jan 90 17:00:23+0900 Date: Wed, 10 Jan 90 17:00:23+0900 From: kaz@mita.keio.ac.jp (Kazuhiro Kitagawa) Return-Path: Message-Id: <9001100800.AA22558@kris.mita.keio.ac.jp> To: info-andrew+@andrew.cmu.edu Subject: andrew bugs on XR4 The followings is the patch for overhaded/class/pp/class.c for RT-PC runs on AOS. We complied atk with hc2.1s. I elminate a void of verrorhandler. *** class.c Wed Jan 10 12:50:57 1990 --- class.orig Wed Jan 10 12:50:27 1990 *************** *** 289,295 **** ** Error handler for caught signals ** Left of unspecified type on purpose **/ ! static errorhandler(sig, code, scp) int sig; int code; struct sigcontext *scp; --- 289,295 ---- ** Error handler for caught signals ** Left of unspecified type on purpose **/ ! static void errorhandler(sig, code, scp) int sig; int code; struct sigcontext *scp; The Imakefile in ams/demo has spaces instead of tab. This should be tab. *** ams/demo/Imakefile Tue Jan 9 21:34:57 1990 --- ams/demo/Imakefile.orig Wed Jan 10 12:52:34 1990 *************** *** 35,41 **** install.time:: -${DESTDIR}/bin/cui rebuild ${DESTDIR}/.MESSAGES \; exit ! -${CSHELL} gendemo -force -DESTDIR ${DESTDIR} ${DESTDIR}/.MESSAGES/demo InstallDocs(gendemo.help, ${DESTDIR}/help) --- 35,41 ---- install.time:: -${DESTDIR}/bin/cui rebuild ${DESTDIR}/.MESSAGES \; exit ! -${CSHELL} gendemo -force -DESTDIR ${DESTDIR} ${DESTDIR}/.MESSAGES/demo InstallDocs(gendemo.help, ${DESTDIR}/help) -kaz kaz@slab.math.keio.ac.jp \enddata{text822, 14003} \begindata{text822, 17154} Return-path: X-Andrew-Authenticated-as: 91;andrew.cmu.edu;Tom Neuendorffer Received: from dublin.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl) ID ; Wed, 10 Jan 90 10:24:04 -0500 (EST) Received: from dublin.andrew.cmu.edu via qmail ID ; Wed, 10 Jan 90 10:22:39 -0500 (EST) Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.dublin.andrew.cmu.edu.rt.r3 via MS.5.6.dublin.andrew.cmu.edu.rt_r3; Wed, 10 Jan 90 10:22:38 -0500 (EST) Message-ID: Date: Wed, 10 Jan 90 10:22:38 -0500 (EST) From: Tom Neuendorffer X-Andrew-Message-Size: 788+0 Content-Type: X-BE2; 12 If-Type-Unsupported: alter To: Info-Andrew Subject: Re: andrew bugs on XR4 In-Reply-To: <9001100800.AA22558@kris.mita.keio.ac.jp> References: <9001100800.AA22558@kris.mita.keio.ac.jp> \begindata{text,269800368} \textdsversion{12} \template{messages} Thanks to Kaz for his interest in providing these patches, contributions of this type are greatly appreciated. However, the patches submitted fix known bugs that have been dealt with by patch001, currently available for ftp from emsworth.andrew.cmu.edu or via e-mail(see previous postings). We recommend that you apply the official patch in order to pick up some other bug fixes and keep your sources consistent with ours. We are planning to provide regular updates to the Andrew sources. If you discover bugs or can supply patches to fix them, please mail the information to info-andrew-bugs@andrew.cmu.edu. Thanks again to Kaz and the others who have made submissions over the years. Tom Neuendorffer tpn+@andrew.cmu.edu Information Technology Center Carnegie Mellon \enddata{text,269800368} \enddata{text822, 17154} \begindata{text822, 19238} 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-strip.dl) ID ; Wed, 10 Jan 90 16:05:16 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Wed, 10 Jan 90 16:02:02 -0500 (EST) Received: from ucbvax.Berkeley.EDU by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Wed, 10 Jan 90 15:59:43 EST Received: by ucbvax.Berkeley.EDU (5.61/1.41) id AA00202; Wed, 10 Jan 90 12:44:50 -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: 10 Jan 90 20:22:06 GMT From: saturn!barry@ames.arc.nasa.gov (Barry Lustig) Organization: Advanced Decision Systems, Mountain View, CA 94043, (415) 960-7300 Subject: Problems compile X11R4 + patch1 andrew Message-Id: <10363@saturn.ADS.COM> Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu I'm having problems compiling andrew. I've tried it on both a Sun 3/280 and and Sun 3/470 (68020 and 68030). Each time I reach a point where the make process calls makedo, I get the following error: cc -c -I. -O -I/export/local/exec/sun3/andrew/include/atk -I/export/local/exec/sun3/andrew/include -I//usr/include/X11 app.c /export/local/exec/sun3/andrew/bin/makedo -d /export/local/exec/sun3/andrew/lib -b /export/local/exec/sun3/andrew/bin -o app.do app.o dofix: Undefined: _end doload: Errors while processing doload: Undefined symbol: _end doload: Errors while processing doindex: NULL entrypoint from app.do...program terminated! *** Error code 1 Does anyone know what is going on? Thanks, Barry Lustig barry@ADS.COM Advanced Decision Systems \enddata{text822, 19238} \begindata{text822, 21313} 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-strip.dl) ID ; Thu, 11 Jan 90 09:14:44 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Thu, 11 Jan 90 09:11:01 -0500 (EST) Received: from mtfuji.gw.u-tokyo.ac.jp ([128.167.64.2]) by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Thu, 11 Jan 90 09:09:45 EST Received: from relay.cc.u-tokyo.ac.jp by mtfuji.gw.u-tokyo.ac.jp (5.61/2.7W) id AA16202; Thu, 11 Jan 90 09:07:26 -0500 Received: from kogwy.cc.keio.ac.jp by relay.cc.u-tokyo.ac.jp (5.61/2.7W) id AA06554; Thu, 11 Jan 90 23:07:45 +0900 Received: from math-relay.math.keio.ac.jp by kogwy.cc.keio.ac.jp (5.61/6.4J.6-ko1.41) id AA10673; Thu, 11 Jan 90 23:07:43 +0900 Received: from kossvax.slab.math.keio.ac.jp (slab-relay.slab.math.keio.ac.jp) by cabbage.math.keio.ac.jp (4.0/6.4J.4-math1.3) id AA01546; Thu, 11 Jan 90 23:02:18 JST Received: by kossvax.slab.math.keio.ac.jp (5.51/6.4J.5-slab1.1) id AA17151; Thu, 11 Jan 90 23:07:12+0900 Received: from kris.mita.keio.ac.jp by mitasun.mita.keio.ac.jp (4.0/6.4J.5-slab1.1) id AA14028; Thu, 11 Jan 90 22:52:52 JST Received: by kris.mita.keio.ac.jp (5.51/6.4J.5-math-slab1.1) id AA19600; Thu, 11 Jan 90 22:52:14+0900 Date: Thu, 11 Jan 90 22:52:14+0900 From: kaz@mita.keio.ac.jp (Kazuhiro Kitagawa) Return-Path: Message-Id: <9001111352.AA19600@kris.mita.keio.ac.jp> To: info-andrew@andrew.cmu.edu We ca not compile the latest relase of the ATK with X11R4 headers. The followings are result of make and then, hc died. The hc version is 2.1s. hc -c -I. -O -I/usr/andrew/include/atk -I/usr/andrew/include -I//usr/include/X11 cmcreate.c E "cmcreate.c",L207/C10: Type "GC" is not assignment compatible with type "Display*". E "cmcreate.c",L207/C10: Insufficient number of arguments to function. E "cmcreate.c",L209/C10: Type "GC" is not assignment compatible with type "Display*". E "cmcreate.c",L209/C10: Insufficient number of arguments to function. E "cmcreate.c",L212/C14: Type "Pixmap" is not assignment compatible with type "Display*". E "cmcreate.c",L212/C14: Insufficient number of arguments to function. 6 user errors No warnings The followings is the lists below the line 197. if (dp->grayGC != NULL) XFreeGC(display, dp->grayGC); if (dp->whiteGC != NULL) XFreeGC(display, dp->whiteGC); if (dp->titleBlackGC != NULL) XFreeGC(display, dp->titleBlackGC); if (dp->blackGC != NULL) XFreeGC(display, dp->blackGC); if (dp->saveUnderGC != NULL) XFreeGC(dp->saveUnderGC); if (dp->invertGC != NULL) XFreeGC(dp->invertGC); The above three lines should be XFreeGC(display, dp->saveUnderGC); if(...) XFreeGC(display, dp->invertGC); And the line 212, if (dp->wormIcon != NULL) /* Never happens, but here for safety when someone adds anothe r item... */ XFreePixmap(dp->wormIcon); should be XFreePixmap(display, dp->wormIcon); *** overhead/cmenu/cmcreate.c Thu Jan 11 20:24:23 1990 --- overhead/cmenu/cmcreate.c.orig Thu Jan 11 20:18:51 1990 *************** *** 204,215 **** if (dp->blackGC != NULL) XFreeGC(display, dp->blackGC); if (dp->saveUnderGC != NULL) ! XFreeGC(display, dp->saveUnderGC); if (dp->invertGC != NULL) ! XFreeGC(display, dp->invertGC); if (dp->wormIcon != NULL) /* Never happens, but here for safety when someone adds another item... */ ! XFreePixmap(display, dp->wormIcon); return -1; } --- 204,215 ---- if (dp->blackGC != NULL) XFreeGC(display, dp->blackGC); if (dp->saveUnderGC != NULL) ! XFreeGC(dp->saveUnderGC); if (dp->invertGC != NULL) ! XFreeGC(dp->invertGC); if (dp->wormIcon != NULL) /* Never happens, but here for safety when someone adds another item... */ ! XFreePixmap(dp->wormIcon); return -1; } -------------------Next-------------------- And same bugs in cmdraw.c *** overhead/cmenu/cmdraw.c Thu Jan 11 20:30:13 1990 --- overhead/cmenu/cmdraw.c.orig Thu Jan 11 20:29:37 1990 *************** *** 448,457 **** if (state->doSaveUnder) { /* Hair city... */ Window dummyWindow; ! unsigned int parentWidth; ! unsigned int parentHeight; ! unsigned int borderWidth; ! unsigned int depth; int menuX; int menuY; int menuWidth = state->stackWidth; --- 448,457 ---- if (state->doSaveUnder) { /* Hair city... */ Window dummyWindow; ! int parentWidth; ! int parentHeight; ! int borderWidth; ! int depth; int menuX; int menuY; int menuWidth = state->stackWidth; -kaz Kaz Kitagawa Phd. student KEIO Univ. Dept. of Math. Yokohama, Japan. \enddata{text822, 21313} \begindata{text822, 26551} Return-path: X-Andrew-Authenticated-as: 91;andrew.cmu.edu;Tom Neuendorffer Received: from dublin.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl) ID ; Thu, 11 Jan 90 16:57:52 -0500 (EST) Received: from dublin.andrew.cmu.edu via qmail ID ; Thu, 11 Jan 90 16:55:20 -0500 (EST) Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.dublin.andrew.cmu.edu.rt.r3 via MS.5.6.dublin.andrew.cmu.edu.rt_r3; Thu, 11 Jan 90 16:55:18 -0500 (EST) Message-ID: <8ZfE37600Vt1Q78WE=@andrew.cmu.edu> Date: Thu, 11 Jan 90 16:55:19 -0500 (EST) From: Tom Neuendorffer X-Andrew-Message-Size: 437+0 Content-Type: X-BE2; 12 If-Type-Unsupported: alter To: Info-Andrew Subject: errors in cmenu (was Re: ) In-Reply-To: <9001111352.AA19600@kris.mita.keio.ac.jp> References: <9001111352.AA19600@kris.mita.keio.ac.jp> \begindata{text,269891616} \textdsversion{12} \template{messages} Thanks to Kaz for catching these bugs, I will see that the fix goes out with the next set of patches. It should be noted that, while these look like disasterous bugs that will cause memory corruption, the code in question is only called in the case of other errors preventing the creation of menu cards, which probably means that the application isn't going to run anyway. Still, an important bug to fix and catch. Tom Neuendorffer \enddata{text,269891616} \enddata{text822, 26551} \begindata{text822, 28281} 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-strip.dl) ID ; Thu, 11 Jan 90 23:46:16 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Thu, 11 Jan 90 23:43:00 -0500 (EST) Received: from a.cs.uiuc.edu by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Thu, 11 Jan 90 23:41:55 EST Received: from bullwinkle.cs.uiuc.edu by a.cs.uiuc.edu with SMTP (5.61+/IDA-1.2.8) id AA05462; Thu, 11 Jan 90 22:41:44 -0600 Received: by bullwinkle.cs.uiuc.edu (5.51/9.7) id AA20720; Thu, 11 Jan 90 22:39:23 CST Date: Thu, 11 Jan 90 22:39:23 CST From: grogers@bullwinkle.cs.uiuc.edu (Greg Rogers) Message-Id: <9001120439.AA20720@bullwinkle.cs.uiuc.edu> To: info-andrew@andrew.cmu.edu Subject: bush Andrew version 3 looks pretty good so far. I think I've got everything working now except I can't get messages to look at /usr/spool/mail/grogers it wants to look at ~grogers/Mailbox. The bush program is pretty nice. However I can't figure out if there is some way to get a shell for the current directory being displayed. I think I can use bush for traversing and looking at files, but how do I execute a program that uses those files? 'Make' for example. If I have to manually follow the bush window with my own shell window I probably won't use bush (but I want to). Greg Rogers University of Illinois at Urbana-Champaign Department of Computer Science 1304 W. Springfield Ave. Urbana, IL 61801 grogers@cs.uiuc.edu \enddata{text822, 28281} \begindata{text822, 30118} Return-path: X-Andrew-Authenticated-as: 602;andrew.cmu.edu;Adam Stoller Received: from fishtank.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl) ID ; Fri, 12 Jan 90 08:23:40 -0500 (EST) Received: from fishtank.andrew.cmu.edu via qmail ID ; Fri, 12 Jan 90 08:22:56 -0500 (EST) Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.fishtank.andrew.cmu.edu.sun3.35 via MS.5.6.fishtank.andrew.cmu.edu.sun3_35; Fri, 12 Jan 90 08:22:55 -0500 (EST) Message-ID: Date: Fri, 12 Jan 90 08:22:55 -0500 (EST) From: Adam Stoller X-Andrew-Message-Size: 357+0 Content-Type: X-BE2; 12 If-Type-Unsupported: alter To: Info-Andrew Subject: Re: /usr/spool vs. ~/Mailbox [was Re: bush] In-Reply-To: <9001120439.AA20720@bullwinkle.cs.uiuc.edu> References: <9001120439.AA20720@bullwinkle.cs.uiuc.edu> \begindata{text,1986820} \textdsversion{12} \template{messages} \excerptedcaption{Excerpts from internet.info-andrew: 11-Jan-90 bush Greg Rogers@bullwinkle.c (726)} \quotation{I can't get messages to look at /usr/spool/mail/grogers }\quotation{it wants to look at ~grogers/Mailbox. } I believe this can be handled via the AndrewSetup file which should be documented in $(DESTDIR)/help/setup.help (accessible via 'help andrewsetup' or 'help andrew.setup') --fish \enddata{text,1986820} \enddata{text822, 30118} \begindata{text822, 31838} 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-strip.dl) ID ; Fri, 12 Jan 90 11:13:59 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Fri, 12 Jan 90 11:10:48 -0500 (EST) Received: from mtfuji.gw.u-tokyo.ac.jp ([128.167.64.2]) by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Fri, 12 Jan 90 11:09:11 EST Received: from relay.cc.u-tokyo.ac.jp by mtfuji.gw.u-tokyo.ac.jp (5.61/2.7W) id AA18633; Fri, 12 Jan 90 11:07:36 -0500 Received: from kogwy.cc.keio.ac.jp by relay.cc.u-tokyo.ac.jp (5.61/2.7W) id AA09987; Sat, 13 Jan 90 01:07:57 +0900 Received: from math-relay.math.keio.ac.jp by kogwy.cc.keio.ac.jp (5.61/6.4J.6-ko1.41) id AA06194; Sat, 13 Jan 90 01:07:55 +0900 Received: from kossvax.slab.math.keio.ac.jp (slab-relay.slab.math.keio.ac.jp) by cabbage.math.keio.ac.jp (4.0/6.4J.4-math1.3) id AA14734; Sat, 13 Jan 90 01:02:30 JST Received: by kossvax.slab.math.keio.ac.jp (5.51/6.4J.5-slab1.1) id AA20446; Sat, 13 Jan 90 01:07:25+0900 Received: from kris.mita.keio.ac.jp by mitasun.mita.keio.ac.jp (4.0/6.4J.5-slab1.1) id AA17059; Sat, 13 Jan 90 00:07:55 JST Received: by kris.mita.keio.ac.jp (5.51/6.4J.5-math-slab1.1) id AA00503; Sat, 13 Jan 90 00:07:17+0900 Date: Sat, 13 Jan 90 00:07:17+0900 From: kaz@mita.keio.ac.jp (Kazuhiro Kitagawa) Return-Path: Message-Id: <9001121507.AA00503@kris.mita.keio.ac.jp> To: info-andrew@andrew.cmu.edu Subject: X11R4 on RT/PC(AOS) with Mpel display To RT/AOS Mpel Users. We got a problem that the ATK does NOT run on X11R4 server for Mpel. I compiled X11R4 server for Mpel. But ATK does NOT run under Mpel server correctly. Does anyone has any idea ? But, the ATK runs X11R3 server for Mpel well. But cursor becomes white. The ATK runs under X server for APA16 runs correctly. -kaz Kaz Kitagawa Phd. student KEIO Univ. Dept. of Math. Yokohama Japan \enddata{text822, 31838} \begindata{text822, 34103} 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-strip.dl) ID ; Fri, 12 Jan 90 12:46:05 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Fri, 12 Jan 90 12:43:30 -0500 (EST) Received: from zeta.saintjoe.edu by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Fri, 12 Jan 90 12:42:33 EST Received: by zeta.saintjoe.edu (4.0/SMI-4.0) id AA08946; Fri, 12 Jan 90 11:39:51 CST Received: from Version.6.23.N.CUILIB.3.44.SNAP.NOT.LINKED.zeta.Unknown.Machine.Type via MS.5.5.zeta.sun3_35; Fri, 12 Jan 90 11:39:50 -0600 (CST) Message-Id: Date: Fri, 12 Jan 90 11:39:50 -0600 (CST) From: Brian Capouch To: info-andrew@andrew.cmu.edu Subject: Help? Bug? All of the sudden, after months of happy usage, I have begun to get strange error messages from AMS. Here is the message I'm getting, virtually every time I "read mail." >The primary error reported was: Messages in /home2/user/brianc/Mailbox could not be properly >read and delivered (2 successes, 1 failures (0 locked, 0 in progress)) >The secondary explanatory text was: Error: New mail has nowhere to go (in parse of new mail >distribution specification in Flames_Handlenew) Does anybody out there know what can be done about this? Thanks in advance Brian Capouch Saint Joseph's College brianc@saintjoe.edu \enddata{text822, 34103} \begindata{text822, 35884} Return-path: X-Andrew-Authenticated-as: 1447;andrew.cmu.edu;Gary Keim Received: from holmes.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl) ID ; Fri, 12 Jan 90 14:37:00 -0500 (EST) Received: from holmes.andrew.cmu.edu via qmail ID ; Fri, 12 Jan 90 14:35:19 -0500 (EST) Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.holmes.andrew.cmu.edu.rt.r3 via MS.5.6.holmes.andrew.cmu.edu.rt_r3; Fri, 12 Jan 90 14:35:18 -0500 (EST) Message-ID: Date: Fri, 12 Jan 90 14:35:18 -0500 (EST) From: Gary Keim X-Andrew-Message-Size: 700+0 Content-Type: X-BE2; 12 If-Type-Unsupported: alter To: Info-Andrew Subject: Re: bush In-Reply-To: <9001120439.AA20720@bullwinkle.cs.uiuc.edu> References: <9001120439.AA20720@bullwinkle.cs.uiuc.edu> \begindata{text,270294324} \textdsversion{12} \template{messages} \excerptedcaption{Excerpts from internet.info-andrew: 11-Jan-90 bush Greg Rogers@bullwinkle.c (726)} \quotation{However I can't figure out if there }\quotation{is some way to get a shell for the current directory being displayed.} \quotation{I think I can use bush for traversing and looking at files, but how }\quotation{do I execute a program that uses those files? } There is no such shell feature at this time. To execute a file, select that file in the listings and click on the 'Exec' control-button. By default, the current-working-directory is the root of visible directory tree. To set the current-working-directory, click in the control-title that contains the pathname of the current-directory being visited (at the top of the screen). Gary Keim \enddata{text,270294324} \enddata{text822, 35884} \begindata{text822, 37927} 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-strip.dl) ID ; Fri, 12 Jan 90 17:47:23 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Fri, 12 Jan 90 17:40:43 -0500 (EST) Received: from arisia.Xerox.COM by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Fri, 12 Jan 90 17:39:43 EST Received: from holmes.parc.Xerox.COM by arisia.Xerox.COM with SMTP (5.61+/IDA-1.2.8/gandalf) id AA24527; Fri, 12 Jan 90 14:33:16 -0800 Received: by holmes.parc.xerox.com (5.61+/IDA-1.2.8/gandalf) id AA03574; Fri, 12 Jan 90 14:39:21 PST Received: from Version.6.23.N.CUILIB.3.44.SNAP.NOT.LINKED.holmes.Unknown.Machine.Type via MS.5.5.holmes.sun3_35; Fri, 12 Jan 90 14:39:18 -0800 (PST) Message-Id: Date: Fri, 12 Jan 90 14:39:18 -0800 (PST) From: Bill Janssen To: grogers@bullwinkle.cs.uiuc.edu (Greg Rogers), info-andrew@andrew.cmu.edu Subject: Re: bush In-Reply-To: <9001120439.AA20720@bullwinkle.cs.uiuc.edu> References: <9001120439.AA20720@bullwinkle.cs.uiuc.edu> Maybe what we need is another button similar to the "edit" button that prompts for a command to execute on the files. There should also be a "prompt-for-editor" button in the choice-box of editors put up by the "Editor" top-level bush button. Bill \enddata{text822, 37927} \begindata{text822, 39636} 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-strip.dl) ID ; Sat, 13 Jan 90 01:44:39 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Sat, 13 Jan 90 01:40:43 -0500 (EST) Received: from uunet.uu.net by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Sat, 13 Jan 90 01:39:39 EST Received: from ibmsupt.UUCP by uunet.uu.net (5.61/1.14) with UUCP id AA07263; Sat, 13 Jan 90 01:39:25 -0500 Received: by ibmsupt.XXX (5.51/5.17) id AA05770; Fri, 12 Jan 90 19:22:25 19 Received: by ibmpa.tcspa.ibm.com (5.51/) id AA17244; Fri, 12 Jan 90 19:19:00 PST Received: by ibmsupt.XXX (5.51/5.17) id AA05161; Fri, 12 Jan 90 17:54:35 19 Received: from bullhead.tcspa.ibm.com by ibmpa.tcspa.ibm.com (5.51/) id AA16745; Fri, 12 Jan 90 17:49:06 PST Received: from localhost by bullhead.tcspa.ibm.com (5.61/5.17) id AA00400; Fri, 12 Jan 90 17:50:28 -0800 Message-Id: <9001130150.AA00400@bullhead.tcspa.ibm.com> To: kaz@mita.keio.ac.jp (Kazuhiro Kitagawa) Cc: info-andrew@andrew.cmu.edu, brunner@uunet.UU.NET, lmb%ibmpa@uunet.UU.NET Subject: hc2.1 status w.r.t. X11.r4 and ATK (was: none) Date: Fri, 12 Jan 90 17:50:26 -0800 From: MH 6.6 (Eric Brunner) Kazuhiro and the info-andrew list, > We ca not compile the latest relase of the ATK with X11R4 headers. > The followings are result of make and then, hc died. > The hc version is 2.1s. (details of failures omitted for brevity) Thanks for the information. I'm testing 2.1y against the X11.r4 tree and the Beta Release 9/22/89; patch level 7, 11/8/89 of ATK. I'll make a posting to comp.sys.ibm.pc.rt and to the info-andrew list when the official post-2.1s compiler is available, prior to USENIX I hope. Eric Brunner, Consultant, IBM AWD Palo Alto (415) 855-4486 inet: brunner@monet.berkeley.edu uucp: uunet!ibmsupt!brunner \enddata{text822, 39636} \begindata{text822, 41875} 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-strip.dl) ID ; Sun, 14 Jan 90 02:26:31 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Sun, 14 Jan 90 02:21:33 -0500 (EST) Received: from a.cs.uiuc.edu by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Sun, 14 Jan 90 02:20:06 EST Received: from bullwinkle.cs.uiuc.edu by a.cs.uiuc.edu with SMTP (5.61+/IDA-1.2.8) id AA17745; Sun, 14 Jan 90 01:19:55 -0600 Received: by bullwinkle.cs.uiuc.edu (5.51/9.7) id AA23870; Sun, 14 Jan 90 01:17:29 CST Date: Sun, 14 Jan 90 01:17:29 CST From: grogers@bullwinkle.cs.uiuc.edu (Greg Rogers) Message-Id: <9001140717.AA23870@bullwinkle.cs.uiuc.edu> To: info-andrew@andrew.cmu.edu Subject: round rectangle bugs Round cornered rectangles do not always draw correctly. When I drag-out a rounded rectangle in zip, the rubberband rectangle is white (on a white background). In my own simple test view, round rectangles drawn in graphic_INVERT mode draw in white. This is probably what zip is doing. However, if I set the line width to anything greater than 1, the X server crashes. This happens every time. When using graphic_BLACK the round rectangle is drawn, but again crashes the server if the line width is greater than 1. Square rectangles seem to work under all conditions. System: IBM AOS RT, hc2.1s, X11R4, Andrew3, patchlevel 1 Greg Rogers University of Illinois at Urbana-Champaign Department of Computer Science 1304 W. Springfield Ave. Urbana, IL 61801 grogers@cs.uiuc.edu \enddata{text822, 41875} \begindata{text822, 43789} 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-strip.dl) ID ; Mon, 15 Jan 90 02:47:28 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Mon, 15 Jan 90 02:43:14 -0500 (EST) Received: from a.cs.uiuc.edu by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Mon, 15 Jan 90 02:42:06 EST Received: from snidely.cs.uiuc.edu by a.cs.uiuc.edu with SMTP (5.61+/IDA-1.2.8) id AA22196; Mon, 15 Jan 90 01:41:46 -0600 Received: by snidely.cs.uiuc.edu (5.51/9.7) id AA18551; Mon, 15 Jan 90 01:39:51 CST Date: Mon, 15 Jan 90 01:39:51 CST From: grogers@snidely.cs.uiuc.edu (Greg Rogers) Message-Id: <9001150739.AA18551@snidely.cs.uiuc.edu> To: info-andrew@andrew.cmu.edu Subject: enhancements Here are the context diffs for several modifications that I have made to the ATK that I thought you might be interested in. These are not bug fixes but enhancements. The diffs are against Andrew version 3 as distributed with X11R4, patchlevel 1. (My first 7 fixes have already been sent to info-andrew-bugs.) 8 - adds SetLineStyle to the graphic, xgraphic, and view classes. This method pretty much matches the Xlib command. 9 - modifications to the dvi2disp.c font map table to match the fonts on the ibm 3812 page printer. 10 - lpair, bpair - promoted DoFullUpdate and ResetDimensions from static functions to methods. I needed to override these for some reason, but I didn't need to modify the methods that call them. My feeling is that there should not be any static functions, especially ones that perform useful operations like DoFullUpdate. The use of static functions eventually leads to unnecessary code duplication. The modifications to bpair where to remove the ResetDimensions function since it was exactly the same as lpair's (so is ComputeSizes, but I just did what I needed to do.) 11 - scroll - didn't implement DesiredSize and the inherited method did nothing. This prevented size negotiation between my top level view and bottom level view because a scroll view was between the two. After I did this I realized that I could (should) have just subclassed scroll. Oh well.... 12 - class - I modified the class preprocessor so that I could override the default Destroy method. This is necessary to support objects that allow multiple references and do reference counting. Unfortunately I didn't make it a method, I just prevent class from generating it if the .ch file specifies one. I was VERY disappointed when I discovered that Destroy was not a method of the class class as described in class/doc/Class.doc and class/doc/class.chng. Greg Rogers University of Illinois at Urbana-Champaign Department of Computer Science 1304 W. Springfield Ave. Urbana, IL 61801 grogers@cs.uiuc.edu #! /bin/sh # This is a shell archive, meaning: # 1. Remove everything above the #! /bin/sh line. # 2. Save the resulting text in a file. # 3. Execute the file with /bin/sh (not csh) to create the files: # 8 # 9 # 10 # 11 # 12 # This archive created: Mon Jan 15 01:37:27 1990 export PATH; PATH=/bin:$PATH if test -f '8' then echo shar: will not over-write existing file "'8'" else cat << \SHAR_EOF > '8' *** ./atk/basics/x/xgraphic.ch.orig Sun Jan 14 18:00:35 1990 --- ./atk/basics/x/xgraphic.ch Sun Jan 14 18:03:32 1990 *************** *** 66,71 **** --- 66,72 ---- ClearClippingRect(); SetLineWidth(short NewLineWidth); + SetLineStyle(int NewLineStyle, int NewCapStyle, int NewJoinStyle ); SetTransferMode(short NewTransferMode); *** ./atk/basics/x/xgraphic.c.orig Sun Jan 14 18:00:25 1990 --- ./atk/basics/x/xgraphic.c Sun Jan 14 18:02:43 1990 *************** *** 1366,1371 **** --- 1366,1390 ---- GCLineWidth,&tempGC); } + void + xgraphic__SetLineStyle(self, NewLineStyle, NewCapStyle, NewJoinStyle ) + struct xgraphic * self; + int NewLineStyle, NewCapStyle, NewJoinStyle; + { + XGCValues tempGC; + + self->header.graphic.lineStyle = NewLineStyle; + self->header.graphic.capStyle = NewCapStyle; + self->header.graphic.joinStyle = NewJoinStyle; + tempGC.line_style = NewLineStyle; + tempGC.cap_style = NewCapStyle; + tempGC.join_style = NewJoinStyle; + + XChangeGC(xgraphic_XDisplay(self), + xgraphic_XGC(self), + GCLineStyle | GCCapStyle | GCJoinStyle, &tempGC); + } + void xgraphic__SetTransferMode(self,NewTransferMode) struct xgraphic * self; *** ./atk/basics/common/graphic.ch.orig Sun Jan 14 18:04:34 1990 --- ./atk/basics/common/graphic.ch Sun Jan 14 18:11:26 1990 *************** *** 30,36 **** --- 30,56 ---- #define graphic_BETWEENTOPANDBOTTOM 0100 #define graphic_BETWEENTOPANDBASELINE 0200 + /* LineStyle */ + #define graphic_LineSolid 0 + #define graphic_LineOnOffDash 1 + #define graphic_LineDoubleDash 2 + + /* capStyle */ + + #define graphic_CapNotLast 0 + #define graphic_CapButt 1 + #define graphic_CapRound 2 + #define graphic_CapProjecting 3 + + /* joinStyle */ + + #define graphic_JoinMiter 0 + #define graphic_JoinRound 1 + #define graphic_JoinBevel 2 + + + class graphic : observable[observe] { methods: MoveToPt(struct point * Pt); *************** *** 124,129 **** --- 144,152 ---- SetLineWidth(short NewLineWidth); GetLineWidth() returns short; + SetLineStyle(int NewLineStyle, int NewCapStyle, int NewJoinStyle ); + GetLineStyle(int *lineStyle, int *capStyle, int *joinStyle ); + SetTransferMode(short NewTransferMode); GetTransferMode() returns short; *************** *** 180,185 **** --- 203,209 ---- short spaceShim; short transferMode; /* ALU function for bitblit */ short lineWidth; /* How thick to make outlines */ + int lineStyle, capStyle, joinStyle; struct rectangle * clippingRect; /* Rects for clipping */ struct point currentPoint; /* Start of drawing operations */ boolean internalFont; /* internal fontdescriptor */ *** ./atk/basics/common/graphic.c.orig Sun Jan 14 18:04:40 1990 --- ./atk/basics/common/graphic.c Sun Jan 14 18:08:59 1990 *************** *** 576,586 **** --- 576,589 ---- { struct point * tempPt; short tempLineWidth, tempTMode; + int tempLineStyle, tempCapStyle, tempJoinStyle; /* Slow, but correct -- instead of filling a rectangle, we should probably draw a one pixel long, one pixel wide line. */ graphic_GetCurrentPt(self,&tempPt); tempLineWidth = graphic_GetLineWidth(self); + graphic_GetLineStyle( self, &tempLineStyle, &tempCapStyle, &tempJoinStyle); + tempTMode = graphic_GetTransferMode(self); if (NewValue==TRUE) *************** *** 591,599 **** --- 594,605 ---- graphic_MoveTo(self,XPos,YPos); graphic_SetLineWidth(self,1); + graphic_SetLineStyle( self, 0, 1, 0); graphic_DrawLineTo(self,XPos,YPos); /* yep, this draws one dot in wm */ graphic_MoveToPt(self,&tempPt); + graphic_SetLineStyle( self, tempLineStyle, tempCapStyle, tempJoinStyle); + graphic_SetLineWidth(self,tempLineWidth); graphic_SetTransferMode(self,tempTMode); *************** *** 726,731 **** --- 732,758 ---- return self->lineWidth; } + void + graphic__SetLineStyle(self, NewLineStyle, NewCapStyle, NewJoinStyle) + struct graphic * self; + short NewLineStyle, NewCapStyle, NewJoinStyle; + { + self->lineStyle = NewLineStyle; + self->capStyle = NewCapStyle; + self->joinStyle = NewJoinStyle; + } + + void + graphic__GetLineStyle(self, lineStyle, capStyle, joinStyle) + struct graphic * self; + int *lineStyle, *capStyle, *joinStyle; + { + *lineStyle = self->lineStyle; + *capStyle = self->capStyle; + *joinStyle = self->joinStyle; + } + + void graphic__SetTransferMode(self,NewTransferMode) struct graphic * self; short NewTransferMode; *************** *** 1006,1011 **** --- 1033,1042 ---- self->spaceShim = 0; self->transferMode = graphic_COPY; self->lineWidth = 1; + self->lineStyle = 0; + self->capStyle = 1; + self->joinStyle = 0; + self->clippingRect = (struct rectangle * ) NULL; point_SetPt(&self->currentPoint,0,0); *** ./atk/basics/common/view.ch.orig Sun Jan 14 18:11:53 1990 --- ./atk/basics/common/view.ch Sun Jan 14 23:11:08 1990 *************** *** 58,63 **** --- 58,83 ---- #define view_BETWEENTOPANDBOTTOM 0100 #define view_BETWEENTOPANDBASELINE 0200 + + /* LineStyle */ + + #define view_LineSolid 0 + #define view_LineOnOffDash 1 + #define view_LineDoubleDash 2 + + /* capStyle */ + + #define view_CapNotLast 0 + #define view_CapButt 1 + #define view_CapRound 2 + #define view_CapProjecting 3 + + /* joinStyle */ + + #define view_JoinMiter 0 + #define view_JoinRound 1 + #define view_JoinBevel 2 + /* Error codes for the description procedure */ enum view_DescriberErrs { view_NoDescribeError, *************** *** 215,220 **** --- 235,243 ---- SetLineWidth(NewLineWidth) (graphic_SetLineWidth((self)->drawable, (NewLineWidth))) GetLineWidth() (graphic_GetLineWidth((self)->drawable)) + + SetLineStyle(NewLineStyle,NewCapStyle,NewJoinStyle) (graphic_SetLineStyle((self)->drawable,(NewLineStyle),(NewCapStyle),(NewJoinStyle))) + GetLineStyle(lineStyle,capStyle,joinStyle) (graphic_GetLineStyle((self)->drawable),(lineStyle),(capStyle),(joinStyle)) SetTransferMode(NewTransferMode) (graphic_SetTransferMode((self)->drawable,(NewTransferMode))) GetTransferMode() (graphic_GetTransferMode((self)->drawable)) SHAR_EOF fi # end of overwriting check if test -f '9' then echo shar: will not over-write existing file "'9'" else cat << \SHAR_EOF > '9' *** ./atk/preview/dvi2disp.c.orig Wed Nov 22 11:24:22 1989 --- ./atk/preview/dvi2disp.c Sat Jan 13 22:50:27 1990 *************** *** 546,558 **** switch (name[1]) { case 'R': break; ! case 'O': value += Italic; break; case 'B': value += Bold; break; ! case 'D': value += BoldItalic; break; } --- 546,558 ---- switch (name[1]) { case 'R': break; ! case 'I': value += Italic; break; case 'B': value += Bold; break; ! case 'Y': value += BoldItalic; break; } SHAR_EOF fi # end of overwriting check if test -f '10' then echo shar: will not over-write existing file "'10'" else cat << \SHAR_EOF > '10' *** ./atk/supportviews/lpair.ch.orig Sun Jan 14 14:39:15 1990 --- ./atk/supportviews/lpair.ch Sun Jan 14 14:40:48 1990 *************** *** 55,60 **** --- 55,64 ---- GetNth(int ai) returns struct view *; SetNth(int ai,register struct view *x) ; SetUp(struct view *l1, struct viewlpair *l2, int bsize, int porf, int vorh, boolean moveable) returns struct lpair *; + + DoFullUpdate(enum view_UpdateType type, struct rectangle *redrawRectangle); + ResetDimensions(); + macromethods: GetObjSize(i) (self->objsize[i]) classprocedures: *** ./atk/supportviews/lpair.c.orig Sun Jan 14 14:39:10 1990 --- ./atk/supportviews/lpair.c Sun Jan 14 14:43:04 1990 *************** *** 38,44 **** /* Forward Declarations */ static void lpair_ComputeSizesFromTotal (); static void lpair_ComputeSizes (); - static void lpair_ResetDimensions (); /* For use in ComputeSizes below. */ --- 38,43 ---- *************** *** 46,52 **** #define max(a, b) ((a < b) ? b : a) /* Basically, the only reason this routine exists is because the FullUpdate signature does not use rectangles. This routine expects its redrawRectangle argument to be valid know matter what the type argument is. The type arg is just passed through to the children that need to be redrawn. All in all, this, Update, and FullUpdate can probably be simplified. -Z- */ ! static void DoFullUpdate(self, type, redrawRectangle) struct lpair *self; enum view_UpdateType type; struct rectangle *redrawRectangle; --- 45,52 ---- #define max(a, b) ((a < b) ? b : a) /* Basically, the only reason this routine exists is because the FullUpdate signature does not use rectangles. This routine expects its redrawRectangle argument to be valid know matter what the type argument is. The type arg is just passed through to the children that need to be redrawn. All in all, this, Update, and FullUpdate can probably be simplified. -Z- */ ! void ! lpair__DoFullUpdate(self, type, redrawRectangle) struct lpair *self; enum view_UpdateType type; struct rectangle *redrawRectangle; *************** *** 157,163 **** /* I intentionally pass in view_FullRedraw here knowing that the DoFullUpdate * will still take the rectangle into account. */ ! DoFullUpdate(self, view_FullRedraw, &redrawRectangle); } } --- 157,163 ---- /* I intentionally pass in view_FullRedraw here knowing that the DoFullUpdate * will still take the rectangle into account. */ ! lpair_DoFullUpdate(self, view_FullRedraw, &redrawRectangle); } } *************** *** 194,200 **** lpair_GetVisualBounds(self, &redrawRectangle); break; } ! DoFullUpdate(self, type, &redrawRectangle); } --- 194,200 ---- lpair_GetVisualBounds(self, &redrawRectangle); break; } ! lpair_DoFullUpdate(self, type, &redrawRectangle); } *************** *** 416,422 **** } ! static void lpair_ResetDimensions(self) register struct lpair *self; { --- 416,423 ---- } ! void ! lpair__ResetDimensions(self) register struct lpair *self; { *** ./atk/supportviews/bpair.c.orig Sun Jan 14 14:50:18 1990 --- ./atk/supportviews/bpair.c Sun Jan 14 15:02:32 1990 *************** *** 35,41 **** --- 35,43 ---- /* Forward Declarations */ static void lpair_ComputeSizes (); + #ifdef LPAIR_RDIM_NOT_METHOD static void lpair_ResetDimensions(); + #endif /* the following two routines are needed for FullUpdate They are copied from lpair.c, with deletion of the line-between code, *************** *** 80,85 **** --- 82,88 ---- l->objcvt[1-i] = totalsize - l->objcvt[i]; } + #ifdef LPAIR_RDIM_NOT_METHOD static void lpair_ResetDimensions(self) register struct lpair *self; { *************** *** 105,110 **** --- 108,114 ---- } } } + #endif boolean *************** *** 151,157 **** self->header.lpair.needsfull = 0; lpair_ComputeSizes((struct lpair *)self); ! lpair_ResetDimensions((struct lpair *)self); /* reset the child lpair sizes */ view_GetLogicalBounds(leftTopObject, &r); view_FullUpdate(leftTopObject, type, r.left, r.top, r.width, r.height); --- 155,161 ---- self->header.lpair.needsfull = 0; lpair_ComputeSizes((struct lpair *)self); ! bpair_ResetDimensions(self); /* reset the child lpair sizes */ view_GetLogicalBounds(leftTopObject, &r); view_FullUpdate(leftTopObject, type, r.left, r.top, r.width, r.height); SHAR_EOF fi # end of overwriting check if test -f '11' then echo shar: will not over-write existing file "'11'" else cat << \SHAR_EOF > '11' *** ./atk/supportviews/scroll.ch.orig Sun Jan 14 18:14:56 1990 --- ./atk/supportviews/scroll.ch Sun Jan 14 18:17:48 1990 *************** *** 66,71 **** --- 66,72 ---- WantUpdate(struct view *requestor); LinkTree(struct view *parent); UnlinkNotification(struct view *unlinkedTree); + DesiredSize(long width, long height, enum view_DSpass pass, long *dWidth, long *dheight) returns enum view_DSattributes; methods: /* A ``location'' is a bitmask of scroll_LEFT, etc. describing the places for the scrollbars to appear. The location returned by GetLocation is the desired location, while GetCurrentLocation returns the real condititions based on the size of the region were in. */ *** ./atk/supportviews/scroll.c.orig Sun Jan 14 18:15:01 1990 --- ./atk/supportviews/scroll.c Sun Jan 14 18:17:13 1990 *************** *** 1304,1306 **** --- 1304,1330 ---- updatelist_DeleteTree(self->updatelist, unlinkedTree); super_UnlinkNotification(self, unlinkedTree); } + + enum view_DSattributes + scroll__DesiredSize(self, width, height, pass, desiredwidth, desiredheight) + struct scroll *self; + long width, height; + enum view_DSpass pass; + long *desiredwidth, *desiredheight; + { + long dw, dh; + int sw, sh; + + /* the space for the scrollbars */ + sw = scroll_GetLogicalWidth(self) - self->width; + sh = scroll_GetLogicalHeight(self) - self->height; + + view_DesiredSize(self->scrollee, width-sw, height-sh, pass, &dw, &dh); + *desiredwidth = (pass == view_WidthSet) ? width : dw + sw ; + *desiredheight = (pass == view_HeightSet) ? height : dh + sh ; + /*** + fprintf(stderr, "scroll__DesiredSize: scrollee %d %d me %d %d\n", dw, dh, *desiredwidth, *desiredheight ); + ***/ + + return(view_Fixed); + } SHAR_EOF fi # end of overwriting check if test -f '12' then echo shar: will not over-write existing file "'12'" else cat << \SHAR_EOF > '12' *** ./overhead/class/pp/classpp.h.orig Sun Jan 14 16:16:09 1990 --- ./overhead/class/pp/classpp.h Sun Jan 14 16:17:17 1990 *************** *** 51,70 **** #define name_Deallocate 2 #define name_InitializeClass 3 #define name_FinalizeObject 4 /* everything < name_RegularName is a special class procedures */ ! #define name_RegularName 5 ! #define name_ThisObject 6 ! #define name_Self 7 ! #define name_Unsigned 8 ! #define name_Int 9 ! #define name_Float 10 ! #define name_Void 11 ! #define name_Pointer 12 ! #define name_NULL 13 ! #define name_MinusOne 14 ! #define name_Exit 15 ! #define name_Boolean 16 ! #define name_Long 17 /* * ??? --- 51,71 ---- #define name_Deallocate 2 #define name_InitializeClass 3 #define name_FinalizeObject 4 + #define name_Destroy 5 /* everything < name_RegularName is a special class procedures */ ! #define name_RegularName 6 ! #define name_ThisObject 7 ! #define name_Self 8 ! #define name_Unsigned 9 ! #define name_Int 10 ! #define name_Float 11 ! #define name_Void 12 ! #define name_Pointer 13 ! #define name_NULL 14 ! #define name_MinusOne 15 ! #define name_Exit 16 ! #define name_Boolean 17 ! #define name_Long 18 /* * ??? *** ./overhead/class/pp/class.c.orig Wed Jan 10 21:51:16 1990 --- ./overhead/class/pp/class.c Sun Jan 14 16:15:55 1990 *************** *** 135,140 **** --- 135,141 ---- static int allocate; /* TRUE if a allocate procedure was found */ static int deallocate; /* TRUE if a deallocate procedure was found */ static int initializeclass; /* TRUE if an initializeclass procedure was found */ + static int destroydefined; /* TRUE if an destroy procedure was found */ static int SilentMode; /* TRUE if we are silent except for errors */ static int QuietMode; /* TRUE if we are not issuing warnings */ *************** *** 780,785 **** --- 781,787 ---- for (mp = methodlist->next; mp != NULL; mp = mp->next) { if (mp->type==ptype_classproc && mp->defined) { + if (strcmp("Destroy", mp->name) == 0) continue; outstr3("#define %s_%s(%s) \\\n", FinalClassName, mp->name, mp->methodargs); if (mp->argcount != 0) (void) fprintf(importfile, " (*((%s (*)()) (%s_classheader.classprocedures->routines[%d])))(&%s_classheader,%s)\n", mp->methodtype, FinalClassName, rtnNum, FinalClassName, mp->methodargs); *************** *** 886,892 **** (void) fprintf(exportfile, "\n};\n\n"); (void) fprintf(exportfile, "struct %s *%s__New();\n", FinalClassName, FinalClassName); ! (void) fprintf(exportfile, "void %s__Destroy();\n", FinalClassName); (void) fprintf(exportfile, "boolean %s__Initialize();\n", FinalClassName); (void) fprintf(exportfile, "void %s__Finalize();\n", FinalClassName); if (initializeobject && ! initializeobjectdefined) --- 888,895 ---- (void) fprintf(exportfile, "\n};\n\n"); (void) fprintf(exportfile, "struct %s *%s__New();\n", FinalClassName, FinalClassName); ! if ( ! destroydefined) ! (void) fprintf(exportfile, "void %s__Destroy();\n", FinalClassName); (void) fprintf(exportfile, "boolean %s__Initialize();\n", FinalClassName); (void) fprintf(exportfile, "void %s__Finalize();\n", FinalClassName); if (initializeobject && ! initializeobjectdefined) *************** *** 913,918 **** --- 916,923 ---- for (mp = methodlist->next; mp != NULL; mp = mp->next) if (mp->type==ptype_classproc && mp->defined) + if (strcmp( "Destroy", mp->name) == 0) continue; + else (void) fprintf(exportfile, ",\n (long (*)()) %s", getFuncName(mp)); *************** *** 1041,1058 **** } (void) fprintf(exportfile, "}\n\n"); ! (void) fprintf(exportfile, "void %s__Destroy(classID, self)\n", FinalClassName); ! (void) fprintf(exportfile, "struct classheader *classID;\n"); ! (void) fprintf(exportfile, "struct %s *self;\n{\n", FinalClassName); ! if (finalizeobject || FinalParentName[0]) ! (void) fprintf(exportfile, " %s__Finalize(classID, self);\n", FinalClassName); ! if (deallocate) { ! (void) fprintf(exportfile, " %s__Deallocate(classID, self);\n", FinalClassName); ! } ! else { ! (void) fprintf(exportfile, " free(self);\n"); ! } ! (void) fprintf(exportfile, "}\n"); } /* bottom of if (classDefinition) */ (void) fprintf(exportfile, "\nstruct classinfo *%s__GetClassInfo(classID, versionnumber)\n", FinalClassName); --- 1046,1065 ---- } (void) fprintf(exportfile, "}\n\n"); ! if ( ! destroydefined ) { ! (void) fprintf(exportfile, "void %s__Destroy(classID, self)\n", FinalClassName); ! (void) fprintf(exportfile, "struct classheader *classID;\n"); ! (void) fprintf(exportfile, "struct %s *self;\n{\n", FinalClassName); ! if (finalizeobject || FinalParentName[0]) ! (void) fprintf(exportfile, " %s__Finalize(classID, self);\n", FinalClassName); ! if (deallocate) { ! (void) fprintf(exportfile, " %s__Deallocate(classID, self);\n", FinalClassName); ! } ! else { ! (void) fprintf(exportfile, " free(self);\n"); ! } ! (void) fprintf(exportfile, "}\n"); ! } } /* bottom of if (classDefinition) */ (void) fprintf(exportfile, "\nstruct classinfo *%s__GetClassInfo(classID, versionnumber)\n", FinalClassName); *************** *** 1424,1429 **** --- 1431,1439 ---- case name_InitializeClass: initializeclass = TRUE; break; + case name_Destroy: + destroydefined = TRUE; + break; } } } *************** *** 2465,2470 **** --- 2475,2481 ---- deallocate = FALSE; initializeclass = FALSE; + destroydefined = FALSE; NumDirectories = 0; /* start off with no added search directories */ *** ./overhead/class/pp/classpp.l.orig Wed Nov 22 12:33:23 1989 --- ./overhead/class/pp/classpp.l Sun Jan 14 16:18:29 1990 *************** *** 23,28 **** --- 23,29 ---- Allocate[^A-Z0-9a-z_] return(class_TokName(name_Allocate)); Deallocate[^A-Z0-9a-z_] return(class_TokName(name_Deallocate)); InitializeClass[^A-Z0-9a-z_] return(class_TokName(name_InitializeClass)); + Destroy[^A-Z0-9a-z_] return(class_TokName(name_Destroy)); self[^A-Z0-9a-z_] return(class_TokName(name_Self)); thisobject[^A-Z0-9a-z] return(class_TokName(name_ThisObject)); SHAR_EOF fi # end of overwriting check # End of shell archive exit 0 \enddata{text822, 43789} \begindata{text822, 67936} 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-strip.dl) ID ; Mon, 15 Jan 90 13:24:02 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Mon, 15 Jan 90 13:19:44 -0500 (EST) Received: from ucbvax.Berkeley.EDU by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Mon, 15 Jan 90 13:18:56 EST Received: by ucbvax.Berkeley.EDU (5.61/1.41) id AA15177; Mon, 15 Jan 90 10:03:41 -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: 15 Jan 90 17:39:33 GMT From: tank!samg@handies.ucar.edu (Sam Gassel) Organization: University of Chicago Academic and Public Computing Subject: MacMessages? Message-Id: <7201@tank.uchicago.edu> Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu The Feb '88 Usenix article 'A Multi-media Message System for Andrew' mentions the existence of 'MacMessages - a native Macintosh interface' to the AMS. Has this been kept up to date, and is it available? If so, would it be difficult to make it use MacTCP, if it doesn't already? All information would be appreciated. Thanks, Sam -- Sam Gassel Academic and Public Computing samg@tank.uchicago.edu University of Chicago Computing Organizations \enddata{text822, 67936} \begindata{text822, 69652} Return-path: X-Andrew-Authenticated-as: 1342;andrew.cmu.edu;Mark Sherman Received: from mss.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl) ID ; Mon, 15 Jan 90 15:12:45 -0500 (EST) Received: from mss.andrew.cmu.edu via qmail ID ; Mon, 15 Jan 90 15:12:04 -0500 (EST) Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.mss.andrew.cmu.edu.rt.r3 via MS.5.6.mss.andrew.cmu.edu.rt_r3; Mon, 15 Jan 90 15:12:03 -0500 (EST) Message-ID: Date: Mon, 15 Jan 90 15:12:03 -0500 (EST) From: Mark Sherman X-Andrew-Message-Size: 107+0 Content-Type: X-BE2; 12 If-Type-Unsupported: alter To: tank!samg@handies.ucar.edu (Sam Gassel) Subject: Re: MacMessages? CC: Info-Andrew In-Reply-To: <7201@tank.uchicago.edu> References: <7201@tank.uchicago.edu> \begindata{text,269857316} \textdsversion{12} \template{messages} MacMail exists. It uses MacTCP. Contact Aaron Wohl (aw0g+@andrew.cmu.edu) to get more information. -Mark \enddata{text,269857316} \enddata{text822, 69652} \begindata{text822, 71030} 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-strip.dl) ID ; Tue, 16 Jan 90 00:48:23 -0500 (EST) Received: from po2.andrew.cmu.edu via qmail ID ; Tue, 16 Jan 90 00:45:34 -0500 (EST) If-Type-Unsupported: alter Received: from po3.andrew.cmu.edu via qmail ID ; Tue, 16 Jan 90 00:41:00 -0500 (EST) Received: from iag.hp.com (telford.iag.hp.com) by po3.andrew.cmu.edu (5.54/3.15) id ; Mon, 15 Jan 90 15:19:20 EST Received: from aspen.iag.hp.com by telford.iag.hp.com with SMTP (15.11/IAG42.42) id AA29299; Mon, 15 Jan 90 12:18:55 pst Received: from lecorbu.iag.hp.com by aspen.iag.hp.com with SMTP (15.11/IAG42.42) id AA00171; Mon, 15 Jan 90 11:20:56 pst Received: by kenzo.iag.hp.com (15.11/IAG42.42) id AA09013; Mon, 15 Jan 90 11:19:32 pst Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.lecorbu.HP9000.360 via MS.5.6.lecorbu.hp300; Mon, 15 Jan 90 11:19:27 -0800 (PST) Message-Id: Date: Mon, 15 Jan 90 11:19:27 -0800 (PST) From: Jean Gascon X-Andrew-Message-Size: 4180+0 Content-Type: X-BE2; 12 To: info-andrew@andrew.cmu.edu Subject: Status of ATK on HP-UX Cc: ajp+@andrew.cmu.edu, gascon@kenzo.iag.hp.com \begindata{text,1938692} \textdsversion{12} \template{messages} The original port of the Andrew Toolkit (ATK) for the HP 9000, series 300 machines was done on version 6.2 of HP-UX and X11R2. The version shipped on the X11R4 tape should also work with HP-UX 6.5 and X11R2. It will \bold{not} work (as a matter of fact it won't even build without errors) on the new version of HP-UX (HP-UX 7.0 with X11R3 and Motif) that is now being shipped to customers. We are working with the ITC at CMU at solving those problems and hope that patches will be made available from CMU as soon as we have things under control. ATK is not a supported HP product; as a matter of fact, I am the only person at HP who is working at solving those problems and I have to do it on top of my regular job assignments. Fortunately, the CMU people have been very helpful. Here are some of the problems that people are likely to encounter as they try to build ATK on top of HP-UX 7.0. I am using the product version of X11R3 (the one shipped with HP-UX 7.0) but I suspect that similar difficulties will arise if people try to build ATK on top of HP-UX 7.0 and X11R4. As stated in the documentation shipped with the X11R4 release from MIT, the R4 software has been tested with HP-UX 6.5, not 7.0. The problems result from changes in this major release of the operating system, especially the ones aimed at making the different C libraries compatible with a number of emerging standards like POSIX and X/Open. Here are the different problems that I have run into in building ATK on HP-UX 7.0 and some solutions. By the way, I am compiling things with \italic{-D_CLASSIC_TYPES} and without optimization for the time being. Jean ---------- 1. Symptom: \italic{make Makefiles} breaks in \italic{overhead/util/hdrs} \leftindent{Problem: The Makefile generated by imake is not acceptable to make. Imake uses the c-preprocessor cpp. The new cpp generates sequence line numbers and blank lines. In this particular case it generates: \example{./genhdr ... #35 mv andrdir.h.1 andrdir.h} and this is not acceptable to make.} \leftindent{Solution: There are at least 2 solutions. One would be to change the imake script in a way that would not put an #ifdef in the middle of commands to be executed by make (note that this is the only occurence in all the Imakefile scripts). Another solution is to build a new imake that sets a flag to cpp (the flag is -P) to prevent the generation of line numbers. This can be achieved by modifying mit/config/imakemdep.h, adding a cpp_argv of "-P" and defining FIXUP_CPP_WHITESPACE.} ---------- 2. Symptom: linking of executables leaves some undefined symbols \leftindent{Problem: a couple of files have to be modified in overhead/class/machdep/hp_68k to accommodate changes in the C libraries.} \leftindent{Solution: Patches will be shipped from CMU. }---------- 3. Symptom: linking of \italic{overhead/eli/bglisp/bglisp} generates a missing \italic{ _bcopy }\leftindent{Problem: bcopy is a BSD call, not defined in HP-UX (and probably not in other SYSV based systems). } \leftindent{Solution: overhead/malloc/malloc.ci needs an #include . By the way: why not call the file malloc.c (the .ci extension makes this file invisible to a grep *.c). }---------- 4. Symptom: compiling \italic{atk/typescript/tscript.c} and \italic{contrib/tm.c} gives an "Undefined variable t"). \leftindent{Problem: The \italic{t} in question is the first argument to _IO and _IOW. The new standards require that it be defined as a character constant 't'.} \leftindent{Solution: Put single quotes around the first argument to _IO and _IOW. If this fix works also on other systems make the change directly, otherwise embed in #ifdef hpux.} ---------- 5. Symptom: compiling \italic{atk/eq/symbols.c} cannot find include file parse.h. Problem: The file parse.h should have been generated from parse.y Solution: CMU should check the dependencies in the make script. ---------- 6. Symptom: In \italic{atk/ness/doc}, \italic{nessrun present.n nessauth.d} results in ness compile errors. \leftindent{Problem: The function sort_record_per_flags is not found, although /usr/andrew/lib/ness/sort.n is there and compiles properly.} \leftindent{Solution: ?? Note that dynamic loading is not working properly (see below). }---------- 7. Symptom: Programs like messages or ez insets not working. \leftindent{Problem: Dynamic loader } \leftindent{Solution: We are working on it. }----------- \enddata{text,1938692} \enddata{text822, 71030} \begindata{text822, 77348} 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-strip.dl) ID ; Tue, 16 Jan 90 01:48:08 -0500 (EST) Received: from po2.andrew.cmu.edu via qmail ID ; Tue, 16 Jan 90 01:45:25 -0500 (EST) Received: from schizo.samsung.com by po2.andrew.cmu.edu (5.54/3.15) id ; Mon, 15 Jan 90 21:32:23 EST Received: by schizo.samsung.com from imposter.samsung.com via SMTP (vers 5.61+) for info-andrew@andrew.cmu.edu (from hinman@imposter.samsung.com) id ; Mon, 15 Jan 90 21:21:55 -0500 Reply-To: Return-Path: Received: by imposter for info-andrew@andrew.cmu.edu (from hinman@imposter.samsung.com (David Hinman)) id ; Mon, 15 Jan 90 21:23:19 EST Message-Id: <9001160223.AA06386@imposter> Date: Mon, 15 Jan 90 21:23:19 EST From: hinman@imposter.samsung.com (David Hinman) To: info-andrew@andrew.cmu.edu Cc: hinman@schizo.samsung.com Subject: Request for info on -G 0 libc.a for MIPS Hello, I'm keen to build the latest version of Andrew on my DECstation 3100, but we don't seem to have the -G 0 versions of libc.a and libm.a that the installation instructions list as requirements. Can anybody tell me how I could round up these things legally? Thanks, Dave Hinman Samsung Software America (508) 685-7200 ext. 124 One Corporate Drive hinman@ginosko.samsung.com Andover, MA 01810 uunet!ginosko.samsung.com!hinman \enddata{text822, 77348} \begindata{text822, 79252} Return-path: X-Andrew-Authenticated-as: 13;andrew.cmu.edu;Fred Hansen Received: from bangor.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl) ID ; Tue, 16 Jan 90 11:51:57 -0500 (EST) If-Type-Unsupported: alter Received: from bangor.andrew.cmu.edu via qmail ID ; Tue, 16 Jan 90 11:50:35 -0500 (EST) Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.bangor.andrew.cmu.edu.rt.r3 via MS.5.6.bangor.andrew.cmu.edu.rt_r3; Tue, 16 Jan 90 11:50:35 -0500 (EST) Message-ID: Date: Tue, 16 Jan 90 11:50:35 -0500 (EST) From: Fred Hansen X-Andrew-Message-Size: 1419+0 Content-Type: X-BE2; 12 To: Info-Andrew , Jean Gascon Subject: Re: Status of ATK on HP-UX CC: Andrew Palay , gascon@kenzo.iag.hp.com, Tom Neuendorffer In-Reply-To: References: \begindata{text,270553148} \textdsversion{12} \template{messages} \excerptedcaption{Excerpts from internet.info-andrew: 15-Jan-90 Status of ATK on HP-UX Jean Gascon@iag.hp.com (4180+0)} \quotation{Solution: overhead/malloc/malloc.ci needs an #include . } Well, it has one. But its after the call to bcopy. Solution: move lines 1037 and 1038 to follow line 51: \bold{diff -c ~/bs/overhead/malloc/malloc.ci /tmp/malloc.ci} *** /afs/andrew.cmu.edu/usr13/wjh/bs/overhead/malloc/malloc.ci Tue Dec 12 16:24:20 1989 --- /tmp/malloc.ci Tue Jan 16 11:46:00 1990 *************** *** 49,55 **** --- 49,58 ---- #include #include "malloc.h" #include "imalloc.h" + #include /* bcopy, sys/types.h, sys/time.h */ + #include + static char msgbuf[200]; #define ferr4(fmt, a, b, c, d) \{sprintf(msgbuf, fmt, a, b, c, d); \\ write(2, msgbuf, strlen(msgbuf));\} *************** *** 1034,1041 **** \} - #include /* sys/types.h sys/time.h */ - #include /* must be the right number, is the same used by 4.3 on vax and s800 */ #ifdef hp9000s300 #define RLIMIT_DATA 2 --- 1037,1042 ---- \quotation{ By the way: why not call the file malloc.c (the .ci extension makes this file invisible to a grep *.c). } (sigh) there is a malloc.c. And a pmalloc.c. Both .c files consist almost entirely of #include . This should now be done in the Imakefile by testing MALLOC_DEBUG_ENV, but changing file names will be confusing at this point. \enddata{text,270553148} \enddata{text822, 79252} \begindata{text822, 82166} 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-strip.dl) ID ; Wed, 17 Jan 90 06:55:20 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Wed, 17 Jan 90 06:51:16 -0500 (EST) Received: from ucbvax.Berkeley.EDU by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Wed, 17 Jan 90 06:49:29 EST Received: by ucbvax.Berkeley.EDU (5.61/1.41) id AA07572; Wed, 17 Jan 90 03:46: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: 17 Jan 90 05:41:11 GMT From: zaphod.mps.ohio-state.edu!samsung!munnari.oz.au!cluster!ultima!keane@tut.cis.ohio-state.edu (Chris Keane) Organization: Comp Sci, NSWIT, Australia Subject: rofftext...please be gentle with me Message-Id: <17108@ultima.cs.uts.oz> Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu This is probably a really silly question. I'm trying to convert various troff documents to atk format. The troff stuff uses the 'ms' macro package and so I've been using the command % rofftext -t -ms Doccy > atkDoccy but all this does it produce an atk skeleton...that is: \begindata{text, 630704} \textdsversion{12} \template{roff} \majorheading{ } \enddata{text,630704} But the Doccy is fairly substantial! (and known formatted correctly) We are running Sun 3/50s SunOS4.0.3. X11R3 (Our Andrew Version is the one that was released on the X11R3 tape with no patches) hmmm...can anyone help me? regards... Chris. +-------------------------------------------------+ | The ultimate profit-making juke-box: It plays | keane@ultima.cs.uts.oz | Kylie Minogue songs until you put money in it...| keane@utscsd.oz +-------------------------------------------------+ \enddata{text822, 82166} \begindata{text822, 84420} Return-path: X-Andrew-Authenticated-as: 1369;andrew.cmu.edu;Aaron Wohl Received: from pcs8.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl) ID ; Wed, 17 Jan 90 07:44:55 -0500 (EST) Received: from pcs8.andrew.cmu.edu via qmail ID ; Wed, 17 Jan 90 07:44:09 -0500 (EST) Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.pcs8.andrew.cmu.edu.rt.r3 via MS.5.6.pcs8.andrew.cmu.edu.rt_r3; Wed, 17 Jan 90 07:44:08 -0500 (EST) Message-ID: Date: Wed, 17 Jan 90 07:44:08 -0500 (EST) From: Aaron Wohl X-Andrew-Message-Size: 1725+0 Content-Type: X-BE2; 12 If-Type-Unsupported: alter To: tank!samg@handies.ucar.edu (Sam Gassel), Mark Sherman , rapatel@khnphwzhn.njin.net, rtc@cunixf.cc.columbia.edu, chris@cs.columbia.edu, nash@parc.xerox.com, wdc@ATHENA.MIT.EDU, PC-Daemon , Info-Andrew Subject: MacMail for AMS \begindata{text,269942944} \textdsversion{12} \template{messages} There is a Macintosh interface to the AMS system. It was developed here at CMU by us (Special Projects) over the summer. MacMail was released to our campus community in october. It is currently used by about 800 users. MacMail uses MacTcp and opens TCP connections to a server machine. The servers currently run about 20-25 users on each of 8 APC and EAPC IBM RT systems with 16meg memory/300meg disks/ethernet. MacMail has a macintosh look and feel. There are windows for folders, captions, message body, message composition, console, help topics, help body. These are paged dynamicly from the server so there are no limits reading big messages/folders and the help files are updated on the server. It runs fine on a 1 meg mac plus. The name is 'MacMail 0.5', note the 0.5 so there are some obviously desirable features missing, like graphics (ATK) messages. The messages the mac sees are the unscribed (text only) versions. The andrew file system should not be needed to use MacMail, although it has not been tested without AFS. The software involved is a new guardian (supports tcp connections), a mac mail server, and the macintosh software. We just missed this x release and hoped to put MacMail along with the IBMPC client on a future x tape. Given all the requests that just came in we are looking at doing some sort of separate release in the near future. I will reply to this message when the more is known, hopefully by the end of January. We are looking and spending the next 6 months to do a clean up/rewrite of the pc and mac interfaces to AMS. This would allow the mac and pc do share the same server. The current pc implementation is running into the 640K limit. Aaron Wohl Special Projects \enddata{text,269942944} \enddata{text822, 84420} \begindata{text822, 87579} Return-path: X-Andrew-Authenticated-as: 469;andrew.cmu.edu;Craig F. Everhart Received: from apollo.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl) ID ; Wed, 17 Jan 90 09:12:03 -0500 (EST) Received: from barley.transarc.com via qmail ID ; Tue, 16 Jan 90 12:16:11 -0500 (EST) Received: from Messages.7.8.N.CUILIB.3.45.SNAP.NOT.LINKED.barley.transarc.com.rt.r3 via MS.5.6.barley.transarc.com.rt_r3; Tue, 16 Jan 90 12:16:08 -0500 (EST) Message-ID: Date: Tue, 16 Jan 90 12:16:08 -0500 (EST) From: "Craig F. Everhart" X-Andrew-Message-Size: 193+0 Content-Type: X-BE2; 12 If-Type-Unsupported: alter To: Info-Andrew , Brian Capouch Subject: Re: Help? Bug? In-Reply-To: References: \begindata{text,271541436} \textdsversion{12} \template{messages} Do you have an .AMS.flames file? The ``New mail has nowhere to go'' stuff suggests that you do, and that there's one message in your mailbox that it can't figure out what to do with. Craig \enddata{text,271541436} \enddata{text822, 87579} \begindata{text822, 89062} Return-path: X-Andrew-Authenticated-as: 469;andrew.cmu.edu;Craig F. Everhart Received: from apollo.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl) ID ; Wed, 17 Jan 90 09:13:13 -0500 (EST) Received: from barley.transarc.com via qmail ID ; Tue, 16 Jan 90 12:19:24 -0500 (EST) Received: from Messages.7.8.N.CUILIB.3.45.SNAP.NOT.LINKED.barley.transarc.com.rt.r3 via MS.5.6.barley.transarc.com.rt_r3; Tue, 16 Jan 90 12:19:23 -0500 (EST) Message-ID: Date: Tue, 16 Jan 90 12:19:23 -0500 (EST) From: "Craig F. Everhart" X-Andrew-Message-Size: 511+0 Content-Type: X-BE2; 12 If-Type-Unsupported: alter To: Info-Andrew , grogers@bullwinkle.cs.uiuc.edu (Greg Rogers) Subject: Re: messages In-Reply-To: <9001100518.AA18560@bullwinkle.cs.uiuc.edu> References: <9001100518.AA18560@bullwinkle.cs.uiuc.edu> \begindata{text,271541436} \textdsversion{12} \template{messages} Well, your Messages always reads mail from ~grogers/Mailbox; sometimes it moves mail from /usr/spool/mail/grogers into that directory first. Unfortunately, getting the error message to come out right is very messy, and isn't done. What are the details on the error message you're getting? Do you in fact have messages sitting in ~grogers/Mailbox? How about /usr/spool/mail/grogers? Which phase of the operation seems to be failing? What's your ThisDomain setting? What is your workstation name? Craig \enddata{text,271541436} \enddata{text822, 89062} \begindata{text822, 90906} Return-path: X-Andrew-Authenticated-as: 602;andrew.cmu.edu;Adam Stoller Received: from fishtank.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl) ID ; Wed, 17 Jan 90 15:41:12 -0500 (EST) Received: from fishtank.andrew.cmu.edu via qmail ID ; Wed, 17 Jan 90 15:40:14 -0500 (EST) Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.fishtank.andrew.cmu.edu.sun3.35 via MS.5.6.fishtank.andrew.cmu.edu.sun3_35; Wed, 17 Jan 90 15:40:11 -0500 (EST) Message-ID: Date: Wed, 17 Jan 90 15:40:11 -0500 (EST) From: Adam Stoller X-Andrew-Message-Size: 1201+0 Content-Type: X-BE2; 12 If-Type-Unsupported: alter To: Info-Andrew Subject: EYAWTKAKB - BWTOAA \begindata{text,2566192} \textdsversion{12} \template{messages} \define{footnote } \center{\bigger{\bold{E}verything \bold{Y}ou \bold{A}lways \bold{W}anted \bold{T}o \bold{K}now \bold{A}bout \bold{K}ey \bold{B}indings - \bold{B}ut \bold{W}ere \bold{T}ired \bold{O}f \bold{A}sking \bold{A}bout}} Well, maybe not *everything* - but quite a lot. Included in patch.002 is an ATK package which some of you may like and/or find useful. The rest of this message is applicable only *after* you've applied the patch and built/installed it. ---------------- In order to use it though - you need to have bindings (either key and/or menu) for some proctable entries in you \bold{~/.atkinit} file. \leftindent{ \smaller{(or ~/.be2init if you never renamed it - but make sure that whichever it is, is included in your other init files - see 'help atkinit' for info on this - look for info on 'include')} } Some suggested bindings (by me) are the following: addkey deskey-describe-key \\e? im addkey deskey-describe-bound-keys ^XK im addkey deskey-describe-bound-procs ^XP im addkey deskey-describe-proctable \\e- im Once you've added these to your .atkinit file - start up a new application (like bring up a new typescript - or ez - or table, etc.) and try them out. \smaller{(has no effect with respect to Console)} For more information about them - see 'help deskey' - but add the bindings first so that you can try them out within help) --fish \ \enddata{text,2566192} \enddata{text822, 90906} \begindata{text822, 93493} 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-strip.dl) ID ; Wed, 17 Jan 90 18:56:34 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Wed, 17 Jan 90 18:55:13 -0500 (EST) Received: from khnphwzhn.njin.net by po3.andrew.cmu.edu (5.54/3.15) id ; Wed, 17 Jan 90 16:19:41 EST Received: by khnphwzhn.njin.net (5.59/SMI4.0/RU1.3/3.05) id AA06535; Wed, 17 Jan 90 16:18:45 EST Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.khnphwzhn.njin.net.sun4.40 via MS.5.6.khnphwzhn.njin.net.sun4_40; Wed, 17 Jan 90 16:18:43 -0500 (EST) Message-Id: Date: Wed, 17 Jan 90 16:18:43 -0500 (EST) From: Rocky - Rakesh Patel To: info-andrew+@andrew.cmu.edu Subject: Bug ... While attempting (unsuccessfully) to experiment with the .amsalien feature to read netnews, I found a minor bug... In ams/libs/ms/bldpvmap.c, line 85: while ( PreorderSubscriptionStrcmp(SubsInPathOrder[subsindex]->key, name) < 0 && subsindex < NumSubsInUse && SubsInPathOrder[subsindex]->pathelt == pathindex) { The check for subsindex < NumSubsInUse should be done before the call to PreorderSubscriptionStrcmp : while ( subsindex < NumSubsInUse && PreorderSubscriptionStrcmp(SubsInPathOrder[subsindex]->key, name) < 0 && SubsInPathOrder[subsindex]->pathelt == pathindex) { By the way, has anyone actually gotten the amsalien feature to actually work and use to access /usr/spool/news? If so, what needs to be done to set that up? Thanks, Rakesh Patel. \enddata{text822, 93493} \begindata{text822, 95439} 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-strip.dl) ID ; Wed, 17 Jan 90 22:49:41 -0500 (EST) Received: from andrew.cmu.edu via qmail ID ; Wed, 17 Jan 90 22:46:29 -0500 (EST) Received: from a.cs.uiuc.edu by andrew.cmu.edu (5.54/3.15) id for info-andrew; Wed, 17 Jan 90 22:45:53 EST Received: from bullwinkle.cs.uiuc.edu by a.cs.uiuc.edu with SMTP (5.61+/IDA-1.2.8) id AA26279; Wed, 17 Jan 90 21:44:24 -0600 Received: by bullwinkle.cs.uiuc.edu (5.51/9.7) id AA01412; Wed, 17 Jan 90 21:41:40 CST Date: Wed, 17 Jan 90 21:41:40 CST From: grogers@bullwinkle.cs.uiuc.edu (Greg Rogers) Message-Id: <9001180341.AA01412@bullwinkle.cs.uiuc.edu> To: info-andrew@andrew.cmu.edu Subject: class hierarchy When I first saw the 'org' class in action, I immediately thought that it would be useful for looking at the class hierarchy. So I wrote this code. The ch script and chapp program will extract the class-superclass information from the .ch files in the current directory. From this it creates a file suitable for use with the "org" object. This allows you to view your class hierarchy as a tree. Greg Rogers University of Illinois at Urbana-Champaign Department of Computer Science 1304 W. Springfield Ave. Urbana, IL 61801 grogers@cs.uiuc.edu #! /bin/sh # This is a shell archive, meaning: # 1. Remove everything above the #! /bin/sh line. # 2. Save the resulting text in a file. # 3. Execute the file with /bin/sh (not csh) to create the files: # README # Imakefile # bintree.ch # chapp.ch # cnode.ch # darray.ch # node.ch # bintree.c # chapp.c # cnode.c # darray.c # node.c # This archive created: Wed Jan 17 21:36:18 1990 export PATH; PATH=/bin:$PATH if test -f 'README' then echo shar: will not over-write existing file "'README'" else cat << \SHAR_EOF > 'README' The ch script and chapp program will extract the class-superclass information from the .ch files in the current directory. From this it creates a file suitable for use with the "org" object. This allows you to view your class hierarchy as a tree. It writes it's output to standard output. example: cd /usr/andrew/include/atk ch > /tmp/atk.org org /tmp/atk.org (Make sure you have ch in your PATH and these .do files in your CLASSPATH.) NOTE: I use a simple sed script to extract the class-superclass names from the .ch files. It will fail if you have something like this: class foo /* fooclass */ : bar /* barclass */ { Sed thinks that is only one comment which includes " : bar ". I have used this on the /usr/andrew/include/atk directory without any problems (not that I noticed) and on my own directories. The classes used to build this might also be of interest to you. bintree - a simple binary tree darray - dynamic (the size) arrays Greg Rogers University of Illinois at Urbana-Champaign Department of Computer Science 1304 W. Springfield Ave. Urbana, IL 61801 grogers@cs.uiuc.edu SHAR_EOF fi # end of overwriting check if test -f 'Imakefile' then echo shar: will not over-write existing file "'Imakefile'" else cat << \SHAR_EOF > 'Imakefile' DOBJS = bintree.do node.do cnode.do chapp.do darray.do NormalATKRule() NormalObjectRule() DependTarget() SHAR_EOF fi # end of overwriting check if test -f 'bintree.ch' then echo shar: will not over-write existing file "'bintree.ch'" else cat << \SHAR_EOF > 'bintree.ch' class bintree : dataobject[dataobj] { methods: AddNode( struct node *node ); LookUpNode( struct node *template ) returns struct node *; classprocedures: InitializeObject( struct bintree *self ) returns boolean; FinalizeObject( struct bintree *self ); data: struct node *root; }; SHAR_EOF fi # end of overwriting check if test -f 'chapp.ch' then echo shar: will not over-write existing file "'chapp.ch'" else cat << \SHAR_EOF > 'chapp.ch' class chapp : application[app]{ overrides: Start() returns boolean; }; SHAR_EOF fi # end of overwriting check if test -f 'cnode.ch' then echo shar: will not over-write existing file "'cnode.ch'" else cat << \SHAR_EOF > 'cnode.ch' class cnode : node { macromethods: Name() ((self)->name) methods: AddSubClass( struct cnode *sub ); RemoveSubClass( struct cnode *sub ); overrides: Print(FILE *file, int level); Compare( struct cnode *other ) returns int; classprocedures: FinalizeObject( struct cnode *self ); InitializeObject( struct cnode *self ) returns boolean; data: char *name; struct darray *subs; }; SHAR_EOF fi # end of overwriting check if test -f 'darray.ch' then echo shar: will not over-write existing file "'darray.ch'" else cat << \SHAR_EOF > 'darray.ch' /* * Dynamic Array - an array of objects that grows monotonically to a size * large enough to hold all objects put into the array. * * In other words, a C array that is malloc'ed and realloc'ed to grow. */ class darray : dataobject[dataobj] { macromethods: Size() ((self)->size) InUse() ((self)->inuse) At(pos) (((pos)<(self)->inuse)?(self)->array[pos]:NULL) methods: AtPut( int pos, int item ) returns int; /* search for value put with there return the position or at end if not found */ Replace( int value, int with ) returns int; /* push over elements and insert item at pos. Stop pushing when stopvalue is * encountered (i.e. fill in that slot and stop ). */ InsertAt( int pos, int item, int stopvalue); DestroyItems(); Compress( int value ); /* shift array elements to eliminate values */ CompressFrom( int pos, int value ); /* starting at 'pos' */ overrides: Read(FILE *file, long id) returns long; Write(FILE *file, long writeid, int level) returns long; classprocedures: InitializeObject( struct darray *self ) returns boolean; FinalizeObject( struct darray *self); data: int *array; int size; int inuse; }; SHAR_EOF fi # end of overwriting check if test -f 'node.ch' then echo shar: will not over-write existing file "'node.ch'" else cat << \SHAR_EOF > 'node.ch' /* abstract node class */ class node : dataobject[dataobj] { macromethods: SetLeft(n) ((self)->left=(n)) Left() ((self)->left) SetRight(n) ((self)->right=(n)) Right() ((self)->right) methods: Compare( struct node *other ) returns int; /* -1< , 0=, +1> */ Print(FILE *file, int level); classprocedures: InitializeObject(struct node *self ) returns boolean; FinalizeObject(struct node *self ); data: struct node *left, *right; }; SHAR_EOF fi # end of overwriting check if test -f 'bintree.c' then echo shar: will not over-write existing file "'bintree.c'" else cat << \SHAR_EOF > 'bintree.c' #include #include #include "node.ih" #include "cnode.ih" #include "bintree.eh" void bintree__AddNode( self, node ) struct bintree *self; struct node *node; { struct node *c; int result; #ifdef DEBUG fprintf(stderr, "bintree__AddNode:%s\n",cnode_Name((struct cnode *)node)); #endif if ( ! self->root ) { self->root = node; #ifdef DEBUG fprintf(stderr, "bintree__AddNode: set root\n"); #endif return; } for( c=self->root; ; ) { result = node_Compare( c, node ); if ( result > 0 ) { if ( node_Left(c) ) c = node_Left(c); else { #ifdef DEBUG fprintf(stderr, "bintree__AddNode: SetLeft\n"); #endif node_SetLeft(c, node ); break; } } else if ( result == 0 ) { #ifdef DEBUG fprintf(stderr, "bintree__AddNode: Already in tree\n"); #endif break; } else { /* < 0 */ if ( node_Right(c) ) c = node_Right(c); else { #ifdef DEBUG fprintf(stderr, "bintree__AddNode: SetRight\n"); #endif node_SetRight(c, node ); break; } } } } struct node * bintree__LookUpNode( self, template ) struct bintree *self; struct node *template; { struct node *c; int result; #ifdef DEBUG fprintf(stderr, "bintree__LookUpNode\n"); #endif if ( ! self->root ) return NULL; for( c=self->root; ; ) { result = node_Compare( c, template ); if ( result > 0 ) { if ( node_Left(c) ) c = node_Left(c); else return NULL; } else if ( result == 0 ) { #ifdef DEBUG fprintf(stderr, "bintree__LookUpNode: found it.\n"); #endif return c; } else { /* < 0 */ if ( node_Right(c) ) c = node_Right(c); else return NULL; } } } boolean bintree__InitializeObject( classID, self) struct classheader *classID; struct bintree *self; { self->root = NULL; return TRUE; } void bintree__FinalizeObject( classID, self ) struct classheader *classID; struct bintree *self; { if (self->root != NULL) node_Destroy(self->root); } SHAR_EOF fi # end of overwriting check if test -f 'chapp.c' then echo shar: will not over-write existing file "'chapp.c'" else cat << \SHAR_EOF > 'chapp.c' #include #include #include "bintree.ih" #include "node.ih" #include "cnode.ih" #include "chapp.eh" char *malloc(); #define OBJECT "Object" boolean chapp__Start( self ) struct chapp *self ; { struct bintree *bintree; struct cnode *cnode, *scnode, *tnode, *objnode; char buf[1024], *c, *sc, *t; int n; if(!super_Start(self)) return FALSE; #ifdef DEBUG fprintf(stderr, ">>chapp__Start:create bintree\n"); #endif bintree = bintree_New(); #ifdef DEBUG fprintf(stderr, ">>chapp__Start:create tnode\n"); #endif tnode = cnode_New(); /* TOP OF THE CLASS HIERARCHY */ objnode = cnode_New(); cnode_Name(objnode) = malloc(strlen(OBJECT)+1); strcpy( cnode_Name(objnode), OBJECT ); bintree_AddNode( bintree, (struct node *)objnode ); #ifdef DEBUG fprintf(stderr, ">>chapp__Start:start reading\n"); #endif while( fgets(buf, 1024, stdin) ) { buf[strlen(buf)-1] = '\0'; #ifdef DEBUG fprintf(stderr, ">>%s\n",buf); #endif for(c=t=buf; *t && *t != ' '; t++) ; *t = '\0'; t++; for(;*t && (*t==' ' || *t=='\t');t++); for(sc=t; *t && *t != ' ' && *t != '\n'; t++) ; *t = '\0'; #ifdef DEBUG fprintf(stderr, ">>%s %s\n",c,sc); #endif /* SUPERCLASS */ if ( !sc || *sc == '\0') sc = OBJECT; cnode_Name(tnode) = sc; scnode = (struct cnode *)bintree_LookUpNode( bintree, tnode ); if ( !scnode ) { scnode = cnode_New(); cnode_Name(scnode) = malloc(strlen(sc)+1); strcpy( cnode_Name(scnode), sc ); bintree_AddNode( bintree, (struct node *)scnode ); /* SINCE WE DON'T KNOW WHAT THE SUPERCLASS MIGHT BE, MAKE IT OBJECT */ cnode_AddSubClass( objnode, scnode ); } /* SUBCLASS */ cnode_Name(tnode) = c; cnode = (struct cnode *)bintree_LookUpNode( bintree, tnode ); if ( !cnode ) { cnode = cnode_New(); cnode_Name(cnode) = malloc(strlen(c)+1); strcpy( cnode_Name(cnode), c ); bintree_AddNode( bintree, (struct node *)cnode ); } else { /* THIS CLASS ALREADY APPEARED AS THE SUPERCLASS FOR SOMETHING * ELSE. SO, CURRENTLY THINK IT'S SUPERCLASS IS OBJECT */ cnode_RemoveSubClass( objnode, cnode ); } cnode_AddSubClass( scnode, cnode ); } #ifdef DEBUG fprintf(stderr, ">> Done building now print out\n"); #endif cnode_Print( objnode, stdout, 0); bintree_Destroy(bintree); return FALSE; } SHAR_EOF fi # end of overwriting check if test -f 'cnode.c' then echo shar: will not over-write existing file "'cnode.c'" else cat << \SHAR_EOF > 'cnode.c' #include #include #include "darray.ih" #include "node.ih" #include "cnode.eh" int cnode__Compare( self, other ) struct cnode *self, *other; { #ifdef DEBUG fprintf(stderr, "cnode__Compare( %s, %s )\n", (self->name)?self->name:"NULL", (other->name)?other->name:"NULL"); #endif if (self->name && other->name) return(strcmp(self->name, other->name)); else return -1; } void cnode__Print( self, file, level ) struct cnode *self; FILE *file; int level; { struct cnode *sub; int i; if (level == 0 ) fprintf(file, "\\begindata{org,%ld}\n", cnode_GetID(self)); fprintf( file, "%s\n", self->name); if (darray_InUse(self->subs) > 0 ) { fprintf( file, "{\n"); for( i=0; isubs); i++) if ( (sub=(struct cnode *)darray_At(self->subs, i)) != NULL) cnode_Print( sub, file, level+1 ); fprintf( file, "}\n"); } if (level == 0 ) fprintf(file, "\\enddata{org,%ld}\n", cnode_GetID(self)); } void cnode__AddSubClass( self, sub ) struct cnode *self, *sub; { darray_AtPut( self->subs, darray_InUse(self->subs), sub ); } void cnode__RemoveSubClass( self, sub ) struct cnode *self, *sub; { int i; struct cnode *cnode; for( i=0; isubs); i++) if ((cnode= (struct cnode *)darray_At(self->subs, i)) && (cnode == sub)) { darray_AtPut( self->subs, i, NULL ); darray_CompressFrom( self->subs, i, NULL ); break; } } boolean cnode__InitializeObject( classID, self) struct classheader *classID; struct cnode *self; { self->subs = darray_New(); return TRUE; } void cnode__FinalizeObject( classID, self ) struct classheader *classID; struct cnode *self; { if (self->subs != NULL) darray_Destroy(self->subs); } SHAR_EOF fi # end of overwriting check if test -f 'darray.c' then echo shar: will not over-write existing file "'darray.c'" else cat << \SHAR_EOF > 'darray.c' #include #include #include #include "darray.eh" #define GROWSIZE 10 /*- methods ------------------------------------------------------------------*/ int darray__AtPut( self, pos, item ) struct darray *self; int pos; int item; { if (pos < 0) return item; if (pos >= self->size) { self->size += GROWSIZE; if (self->size <= pos) self->size = pos + GROWSIZE; self->array = (int *)realloc( self->array, sizeof(int) * self->size ); } self->array[pos] = item; if (pos >= self->inuse) self->inuse = pos +1; darray_SetModified(self); darray_NotifyObservers(self, self); return item; } int darray__Replace( self, value, with ) struct darray *self; int value, with; { int pos; for( pos=0; pos < self->inuse; pos++ ) if ( self->array[pos] == value ) break; darray_AtPut( self, pos, with ); return pos; } void darray__InsertAt( self, pos, item, stopvalue ) struct darray *self; int pos, item, stopvalue; { int old; fprintf(stderr, "darray__InsertAt: pos=%d item=0x%x stopvalue=0x%x inuse=%d\n",pos,item,stopvalue,self->inuse); if (pos < 0) return; if (pos >= self->size) { self->size += GROWSIZE; if (self->size <= pos) self->size = pos + GROWSIZE; self->array = (int *)realloc( self->array, sizeof(int) * self->size ); } for( ; pos <= self->inuse; pos++ ) { old = self->array[pos]; self->array[pos] = item; item = old; if (item == stopvalue) break; } fprintf(stderr, "darray__InsertAt: after moving pos=%d\n",pos); if (pos >= self->inuse ) self->inuse = pos+1; darray_SetModified(self); darray_NotifyObservers(self, self); } void darray__DestroyItems( self ) struct darray *self; { int pos; for( pos=0; pos < self->inuse; pos++ ) if ( self->array[pos] ) { dataobject_Destroy( (struct dataobject *)self->array[pos] ); self->array[pos] = NULL; } self->inuse = 0; } void darray__Compress( self, value ) struct darray *self; int value; { int to, from; for( to = 0; to < self->inuse; to++) /* find the first 'value' slot */ if ( self->array[to] == value ) break; for( from = to+1; from < self->inuse; from++) { if ( self->array[from] != value ) self->array[to++] = self->array[from]; } self->inuse = to; } void darray__CompressFrom( self, pos, value ) struct darray *self; int pos, value; { int to, from; for( to = pos, from = pos+1; from < self->inuse; from++) { if ( self->array[from] != value ) self->array[to++] = self->array[from]; } self->inuse = to; } /*- overrides ----------------------------------------------------------------*/ long darray__Read(self, file, id) struct darray *self; FILE *file; long id; { int status = dataobject_NOREADERROR; char buf[1024], *class, *cp, *idp; long objectid; struct dataobject *object; int numinfile, pos; /* change id to unique number */ darray_SetID(self, darray_UniqueID(self)); if (fscanf( file, "%d\n", &numinfile ) != 1) return dataobject_BADFORMAT; /* read each item in */ for( pos=0; pos < numinfile && status == dataobject_NOREADERROR; pos++) { if ( ! fgets( buf, 1024, file ) ) status = dataobject_PREMATUREEOF; else if ( strncmp( buf, "\\begindata{", 11) == 0) { /* create and read in next object */ class = & buf[11]; for( cp=class; *cp != ','; cp++) ; *cp = '\0'; for( idp = ++cp; *cp != '}'; cp++) ; *cp = '\0'; objectid = atoi( idp ); object = (struct dataobject *)class_NewObject( class ); dictionary_Insert( NULL, (char *)objectid, (char *)object); status = dataobject_Read( object, file, objectid); if (status != dataobject_NOREADERROR) dataobject_Destroy( object); else darray_AtPut(self, pos, (long)object); } else if ( strncmp( buf, "NULL", 4) == 0) continue; else status = dataobject_BADFORMAT; } if ( ! fgets( buf, 1024, file ) ) status = dataobject_PREMATUREEOF; if (strncmp( buf, "\\enddata", 8) != 0 ) status = dataobject_MISSINGENDDATAMARKER; return status; } long darray__Write(self, file, writeID, level) struct darray *self; FILE *file; long writeID; int level; { struct dataobject *obj; int pos; if (darray_GetWriteID(self) != writeID) { darray_SetWriteID(self,writeID); fprintf(file, "\\begindata{%s,%ld}\n", class_GetTypeName(self),darray_GetID(self)); fprintf(file, "%d\n", darray_InUse(self)); /* write out each object in the darray */ for( pos=0; pos < darray_InUse(self); pos++) if ( (obj = (struct dataobject *)self->array[pos]) != NULL ) dataobject_Write(obj, file, writeID, level +1 ); else fprintf(file, "NULL\n"); fprintf(file, "\\enddata{%s,%ld}\n", class_GetTypeName(self),darray_GetID(self)); } return darray_GetID(self); } /*- classprocedures ----------------------------------------------------------*/ boolean darray__InitializeObject( classID, self) struct classheader *classID; struct darray *self; { int i; self->size = GROWSIZE; self->inuse = 0; self->array = (int *) malloc( sizeof(int) * self->size ); for (i=0; isize; i++) self->array[i] = NULL; return TRUE; } void darray__FinalizeObject( classID, self ) struct classheader *classID; struct darray *self; { if (self->array != NULL) free(self->array); } SHAR_EOF fi # end of overwriting check if test -f 'node.c' then echo shar: will not over-write existing file "'node.c'" else cat << \SHAR_EOF > 'node.c' #include #include #include "node.eh" int node__Compare( self, other ) struct node *self, *other; { return 0; } void node__Print( self, file, level ) struct node *self; FILE *file; int level; { } boolean node__InitializeObject( classID, self) struct classheader *classID; struct node *self; { self->left = self->right = NULL; return TRUE; } void node__FinalizeObject( classID, self ) struct classheader *classID; struct node *self; { if (self->left != NULL) node_Destroy(self->left); if (self->right != NULL) node_Destroy(self->right); } SHAR_EOF fi # end of overwriting check # End of shell archive exit 0 \enddata{text822, 95439} \begindata{text822, 115305} 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-strip.dl) ID ; Thu, 18 Jan 90 03:47:21 -0500 (EST) Received: from po2.andrew.cmu.edu via qmail ID ; Thu, 18 Jan 90 03:37:15 -0500 (EST) Received: from a.cs.uiuc.edu by po2.andrew.cmu.edu (5.54/3.15) id ; Wed, 17 Jan 90 23:58:31 EST Received: from bullwinkle.cs.uiuc.edu by a.cs.uiuc.edu with SMTP (5.61+/IDA-1.2.8) id AA26589; Wed, 17 Jan 90 22:56:36 -0600 Received: by bullwinkle.cs.uiuc.edu (5.51/9.7) id AA01872; Wed, 17 Jan 90 22:53:54 CST Date: Wed, 17 Jan 90 22:53:54 CST From: grogers@bullwinkle.cs.uiuc.edu (Greg Rogers) Message-Id: <9001180453.AA01872@bullwinkle.cs.uiuc.edu> To: info-andrew@andrew.cmu.edu Subject: class hierarchy Oops. I was all wrong about my ch script working on the ATK classes. Their .ch files are all full of things like: class subclassname[key1]:superclassname[k2] { My sed script swallowed everything from the first [ to the last ]. If anyone knows how to get around this sort of thing with sed, I'd like to know about it. Greg Rogers University of Illinois at Urbana-Champaign Department of Computer Science 1304 W. Springfield Ave. Urbana, IL 61801 grogers@cs.uiuc.edu \enddata{text822, 115305} \begindata{text822, 116889} 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-strip.dl) ID ; Thu, 18 Jan 90 08:44:58 -0500 (EST) Received: from po2.andrew.cmu.edu via qmail ID ; Thu, 18 Jan 90 08:38:42 -0500 (EST) Received: from a.cs.uiuc.edu by po2.andrew.cmu.edu (5.54/3.15) id ; Wed, 17 Jan 90 23:31:23 EST Received: from bullwinkle.cs.uiuc.edu by a.cs.uiuc.edu with SMTP (5.61+/IDA-1.2.8) id AA26492; Wed, 17 Jan 90 22:29:18 -0600 Received: by bullwinkle.cs.uiuc.edu (5.51/9.7) id AA01800; Wed, 17 Jan 90 22:26:37 CST Date: Wed, 17 Jan 90 22:26:37 CST From: grogers@bullwinkle.cs.uiuc.edu (Greg Rogers) Message-Id: <9001180426.AA01800@bullwinkle.cs.uiuc.edu> To: info-andrew@andrew.cmu.edu Subject: class hierarchy As soon as I posted my ch program I realized how to make it MUCH faster. Here's a new version of the 'ch' script file. #!/bin/csh -f egrep '^class ' *.ch | sed 's/^.*:class //;s/:/ /;s/{//;s/\[.*\]//;s,/\*.*\*/,,' | runapp chapp Greg Rogers University of Illinois at Urbana-Champaign Department of Computer Science 1304 W. Springfield Ave. Urbana, IL 61801 grogers@cs.uiuc.edu \enddata{text822, 116889} \begindata{text822, 118382} 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-strip.dl) ID ; Thu, 18 Jan 90 09:18:46 -0500 (EST) Received: from po2.andrew.cmu.edu via qmail ID ; Thu, 18 Jan 90 09:16:48 -0500 (EST) Received: from a.cs.uiuc.edu by po2.andrew.cmu.edu (5.54/3.15) id ; Thu, 18 Jan 90 00:35:34 EST Received: from bullwinkle.cs.uiuc.edu by a.cs.uiuc.edu with SMTP (5.61+/IDA-1.2.8) id AA26794; Wed, 17 Jan 90 23:32:26 -0600 Received: by bullwinkle.cs.uiuc.edu (5.51/9.7) id AA01962; Wed, 17 Jan 90 23:29:44 CST Date: Wed, 17 Jan 90 23:29:44 CST From: grogers@bullwinkle.cs.uiuc.edu (Greg Rogers) Message-Id: <9001180529.AA01962@bullwinkle.cs.uiuc.edu> To: info-andrew@andrew.cmu.edu Subject: class hierarchy Ok, I figured out the sed problem with "[] []". here's the new ch script. #!/bin/csh -f egrep '^class ' *.ch | sed 's/^.*:class //;s/:/ /;s/{//;s/\[[^]]*\]//g;s,/\*.*\*/,,' | runapp chapp I really must apologize for all these notes. I should have tested this thing a little more before releasing it. I'll do that before I release my visual programming interface for "class". Greg Rogers University of Illinois at Urbana-Champaign Department of Computer Science 1304 W. Springfield Ave. Urbana, IL 61801 grogers@cs.uiuc.edu \enddata{text822, 118382} \begindata{text822, 120022} Return-path: X-Andrew-Authenticated-as: 602;andrew.cmu.edu;Adam Stoller Received: from fishtank.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl) ID ; Thu, 18 Jan 90 09:51:01 -0500 (EST) Received: from fishtank.andrew.cmu.edu via qmail ID ; Thu, 18 Jan 90 09:47:52 -0500 (EST) Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.fishtank.andrew.cmu.edu.sun3.35 via MS.5.6.fishtank.andrew.cmu.edu.sun3_35; Thu, 18 Jan 90 09:47:50 -0500 (EST) Message-ID: Date: Thu, 18 Jan 90 09:47:50 -0500 (EST) From: Adam Stoller X-Andrew-Message-Size: 263+0 Content-Type: X-BE2; 12 If-Type-Unsupported: alter To: Info-Andrew Subject: Re: class hierarchy In-Reply-To: <9001180529.AA01962@bullwinkle.cs.uiuc.edu> References: <9001180529.AA01962@bullwinkle.cs.uiuc.edu> \begindata{text,2293156} \textdsversion{12} \template{messages} You should probably add the following line to the [top of the] Imakefile for chapp: IHFILES = bintree.ih node.ih cnode.ih chapp.ih darray.ih This makes sure that all the *.[ie]h files are compiled (if need be) before it tries to compile the *.c files. --fish \enddata{text,2293156} \enddata{text822, 120022} \begindata{text822, 121581} 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-strip.dl) ID ; Thu, 18 Jan 90 22:59:55 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Thu, 18 Jan 90 22:57:00 -0500 (EST) If-Type-Unsupported: alter Received: from po3.andrew.cmu.edu via qmail ID ; Thu, 18 Jan 90 22:52:49 -0500 (EST) Received: from att-in.att.com by po3.andrew.cmu.edu (5.54/3.15) id ; Thu, 18 Jan 90 20:01:16 EST From: jis@mtgzx.att.com Received: from mtgz046 by gazelle.att.com (4.0/SMI-4.0) id AA25910; Thu, 18 Jan 90 19:37:53 EST Received: by mtgz046 (4.0/SMI-4.0) id AA00551; Thu, 18 Jan 90 19:37:52 EST Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.mtgz046.gazelle.att.com.sun4.40 via MS.5.6.mtgz046.gazelle.att.com.sun4_40; Thu, 18 Jan 90 19:37:51 -0500 (EST) Message-Id: Date: Thu, 18 Jan 90 19:37:51 -0500 (EST) >From: Jishnu Mukerji X-Andrew-Message-Size: 407+0 Content-Type: X-BE2; 12 To: andrew.cmu.edu!info-andrew@mtgzx.att.com Subject: AMS Bboard system on non-AFS machines? \begindata{text,2175584} \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{notetotypesetter menu:[Region~4,NoteToTypesetter~61] attr:[Flags PassThru Int Set]} \define{literal menu:[Region~4,Literal~62] attr:[Flags PassThru Int Set]} Is it possible to install and use the AMS bulletin board system on a machine that does not have AFS installed on it? If not, how difficult would it be to make the changes to make it possible? What particular features of AFS does the bulletin board system depend on? Thanks. \center{\bold{Jishnu Mukerji}, \smaller{\italic{jis@mtgzx.att.com}, \italic{+1 201 957 5986}, } \smaller{\italic{\smaller{\bold{AT&T Bell Laboratories}, MT 3K-423, 200 Laurel Ave., Middletown NJ 07748}}} }\enddata{text,2175584} \enddata{text822, 121581} \begindata{text822, 124500} 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-strip.dl) ID ; Fri, 19 Jan 90 09:05:30 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Fri, 19 Jan 90 09:04:23 -0500 (EST) Received: from uunet.UU.NET by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Fri, 19 Jan 90 09:03:06 EST Received: from munnari.UUCP by uunet.UU.NET (5.61/1.14) with UUCP id AA04186; Fri, 19 Jan 90 09:02:52 -0500 Received: from munnari.oz.au by murtoa.cs.mu.OZ.AU (5.5) id AA16487; Fri, 19 Jan 90 18:36:23 EST (from grahamd@otc.otca.oz for uunet!info-andrew@andrew.cmu.edu) Received: from otc.otca.oz (via basser) by munnari.oz.au with SunIII (5.61+IDA+MU) id AA04863; Fri, 19 Jan 90 18:36:13 +1100 (from grahamd@otc.otca.oz for info-andrew@andrew.cmu.edu) Received: (via otc) by otc (5.61) id AA18296; Fri, 19 Jan 90 18:35:25 +1100 (from grahamd@otc.otca.oz for info-andrew%andrew.cmu.edu@munnari.cs.mu.oz) Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.griffin.otca.oz.au.sun3.4 via MS.5.6.griffin.otca.oz.au.sun3_4; Fri, 19 Jan 90 18:36:25 +1100 (EST) Message-Id: Date: Fri, 19 Jan 90 18:36:25 +1100 (EST) From: Graham Dumpleton To: info-andrew@andrew.cmu.edu Subject: Do lset's print correctly using Adobe Transcript. We do not as yet have Adobe Transcript, but I have been able to modify our dvi to postscript converter to understand the way in which postscript is passed out in the troff generated by Andrew. I have also been able to work out some postscript macros for PB (Postscript begin) and PE (Posctscript end) which give the desired result when including raster or zip insets. I am having a problem though when it comes to pring lset's which contain other insets. The question I would like answered is whether or not; when using Adobe Transcript, it is possible to print out an lset which has been split vertically and where each cell contains a text inset; or possibly some other type of inset. I have been unsuccesful at getting lset's to print out correctly in the above type of situation, I kind of suspect that the troff generated by Andrew is the problem however before blaming Andrew I would like to know if the above can be done using Adobe Transcript. and that therefore the problem may lay with my PB, PE macros or with our dvi to postscript converter. Graham Dumpleton (grahamd@otc.otca.oz.au) \enddata{text822, 124500} \begindata{text822, 127346} 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-strip.dl) ID ; Fri, 19 Jan 90 09:08:05 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Fri, 19 Jan 90 09:06:27 -0500 (EST) Received: from thumper.bellcore.com by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew+; Fri, 19 Jan 90 09:06:06 EST Received: by thumper.bellcore.com (5.54/4.7) id AA10418; Fri, 19 Jan 90 09:05:08 EST Received: by greenbush.bellcore.com (4.12/4.7) id AA02767; Fri, 19 Jan 90 09:05:34 est Received: from Messages.7.12.N.CUILIB.3.45.SNAP.NOT.LINKED.greenbush.sins.sun4.40 via MS.5.6.greenbush.sins.sun4_40; Fri, 19 Jan 90 09:05:33 -0500 (EST) Message-Id: Date: Fri, 19 Jan 90 09:05:33 -0500 (EST) From: Nathaniel Borenstein To: jis@mtgzx.att.com, info-andrew+@andrew.cmu.edu Subject: Re: AMS Bboard system on non-AFS machines? Cc: kurt@kitchen.bae.bellcore.com In-Reply-To: References: It is certainly possible to set up an AMS bboard system without AFS; a few sites have done so, and I am currently doing so at Bellcore. In fact, they are *almost* entirely independent. Here's the scoop: 1. An optional AMS subsystem is the Andrew Message Delivery System, or AMDS. Think of this as a replacement for BSD sendmail, though that is a slight oversimplification. Basically, AMDS is a message delivery system designed to work very well with AFS. If you don't have AFS, you almost certainly don't have AMDS either. 2. As it turns out, there are no real AFS dependencies in the AMS code outside of AMDS. (There are several #ifdef's, but I assume you're compiling without defining AFS_ENV.) Thus the only thing that you really lose by not having AFS is a huge file system in which to efficiently store lots of bboards. But you can still have bboards, up to the size and performance limits of your file system. 3. There are, however, a few features in AMDS which are particularly useful, though not essential, for running a bboard system. If you don't have AFS, you won't have AMDS, and you will therefore not have these features. Thus your bboard system will have to be configured somewhat differently than, say, the ones at CMU, IBM Rochester, and Dartmouth, all of which I believe rely on AMDS features. Basically, there are two features AMDS provides that you'll miss: -- Under AMDS, any user id can be used with a trailing +suffix to be used for post-delivery routing. Thus you can set up a "bboard" account and have lots of mailing lists delivered to that account. For example, you would have info-andrew sent to "bboard+info-andrew@your-site". A FLAMES file would then look at the suffix to decide where to post the message. -- Under AMDS, one of the "Received" headers will always tell you the exact recipient address, even if it isn't in a header. Thus, for example, mail sent to info-andrew might just say "info-andrew" on the "To:" line, but one of the Received lines will say "... FOR bboard+info-andrew..." This is also very helpful in writing a FLAMES file to process incoming bboard messages. In the absence of these two features, you can certainly still run a bboard system, you just need a different algorithm for posting messages -- that is, you can't rely on doing things based on the +suffix. Here are four possibilities, though there are certainly many more: 1. The lazy man's way, which I'm using at Bellcore. Here you just write a FLAMES file that special-cases the incoming mailing lists. Thus for example, our bboard system at Bellcore, newly set up, has three bboards that it handles, so it has the relatively simple FLAMES file: (defun andrew-mail-hook (msg) (post-by-keyword msg "lost" '( (("subject")("BBoard Logs")("bb.daemons.bblogs")) (("to" "cc")("msgs")("bb.msgs")) (("to" "cc")("info-andrew")("internet.info-andrew")) ))) The only real disadvantage of this approach is that, as the number of bboards grows, the FLAMES file grows more complex and more costly to compute. 2. For bboards that are totally "local", you can use the RFC822 route-phrase. That is, even non andrew mailers will properly delivered mail addressed to something like "bboard+info-andrew" Here we're using the route phrase to simulate Andrew addressing on non-AMDS machines. This will work fine for local bboards where the addresses appear entirely in the headers. However, without the AMDS "FOR" clause in the Received headers, this won't work so well when the address is included in a mailing list, but never appears explicitly in a header. 3. Set up a different account for each bboard, and have mail sent to these accounts directly. Disadvantage: you'll need a dummy account for each bboard, and you'll need to make sure your bboard daemon checks all their mailboxes. Advantage: the FLAMES files are really trivial to write. 4. Set up a mail alias in /usr/lib/aliases for each bboard, e.g. an alias for "info-andrew-incoming" to go to something like "| post-bboard info-andrew". The "post-bboard" program will simply use its first argument to add a header to the mail it gets on stdin. (You can define the header, e.g. "X-Which-Bboard: info-andrew".) It will then just leave the mail, with header added, in a directory which is polled regularly by a bboard (cui) daemon, which posts the message based on the special header. Advantages: the scheme is very clean, and will use a simple, maintainable FLAMES file. Disadvantages: a new alias is required for each bboard (though the FLAMES file and everything else remain unchanged). Also, you have to write the post-bboard program, although this is probably about a three-line shell script. As I said, we're just getting started with a non-AMDS, non-AFS, AMS-based bboard system here at Bellcore. (Actually, we're building two of them, at two different Bellcore sites.) We'll also be checking out the AMS<->netnews interoperability features before too long. I'll try to keep info-andrew readers posted on anything I discover along the way. -- Nathaniel \enddata{text822, 127346} \begindata{text822, 133929} Return-path: X-Andrew-Authenticated-as: 469;andrew.cmu.edu;Craig F. Everhart Received: from apollo.andrew.cmu.edu via trymail ID ; Fri, 19 Jan 90 13:41:59 -0500 (EST) Received: from apollo.andrew.cmu.edu via qmail ID ; Fri, 19 Jan 90 13:41:49 -0500 (EST) Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.apollo.andrew.cmu.edu.rt.r3 via MS.5.6.apollo.andrew.cmu.edu.rt_r3; Fri, 19 Jan 90 13:41:48 -0500 (EST) ReSent-Message-ID: ReSent-Date: Fri, 19 Jan 90 13:41:48 -0500 (EST) ReSent-From: "Craig F. Everhart" ReSent-To: Susan Straub X-Andrew-WideReply: internet.info-andrew X-Added: With Flames (listbb v2.2) Return-path: Message-Id: Date: Wed, 17 Jan 90 16:18:43 -0500 (EST) From: Rocky - Rakesh Patel To: info-andrew+@andrew.cmu.edu Subject: Bug ... While attempting (unsuccessfully) to experiment with the .amsalien feature to read netnews, I found a minor bug... In ams/libs/ms/bldpvmap.c, line 85: while ( PreorderSubscriptionStrcmp(SubsInPathOrder[subsindex]->key, name) < 0 && subsindex < NumSubsInUse && SubsInPathOrder[subsindex]->pathelt == pathindex) { The check for subsindex < NumSubsInUse should be done before the call to PreorderSubscriptionStrcmp : while ( subsindex < NumSubsInUse && PreorderSubscriptionStrcmp(SubsInPathOrder[subsindex]->key, name) < 0 && SubsInPathOrder[subsindex]->pathelt == pathindex) { By the way, has anyone actually gotten the amsalien feature to actually work and use to access /usr/spool/news? If so, what needs to be done to set that up? Thanks, Rakesh Patel. \enddata{text822, 133929} \begindata{text822, 135906} Return-path: X-Andrew-Authenticated-as: 91;andrew.cmu.edu;Tom Neuendorffer Received: from dublin.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl) ID ; Fri, 19 Jan 90 13:58:22 -0500 (EST) Received: from dublin.andrew.cmu.edu via qmail ID ; Fri, 19 Jan 90 13:56:23 -0500 (EST) Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.dublin.andrew.cmu.edu.rt.r3 via MS.5.6.dublin.andrew.cmu.edu.rt_r3; Fri, 19 Jan 90 13:56:22 -0500 (EST) Message-ID: Date: Fri, 19 Jan 90 13:56:22 -0500 (EST) From: Tom Neuendorffer X-Andrew-Message-Size: 2417+0 Content-Type: X-BE2; 12 If-Type-Unsupported: alter To: Info-Andrew , Graham Dumpleton Subject: Re: Problem with Arbcon and lset printing. In-Reply-To: References: \begindata{text,269768592} \textdsversion{12} \template{messages} \excerptedcaption{Excerpts from mail: 19-Jan-90 Problem with Arbcon. Graham Dumpleton@uunet.U (432)} \quotation{When I run arb it is coming up okay but it is lacking the lower scrolled }\quotation{area which is shown in Figure 6 of the overview document to adew; }\quotation{"Overview.doc" in /usr/andrew/doc/adew.} The missing object is a menterstrV view on a value object, which also contains an metextview view on a mentertext object. Check that the files mentstrv.do, menttext.do and metextv.do are properly installed in $ANDREWDIR/dlib/atk and that they are referenced in that directory's index file. You may have to redo the make install of the andrew/atk/values directory. If you are still having problems, please let me know. \excerptedcaption{Excerpts from mail: 19-Jan-90 Do lset's print correctly u.. Graham Dumpleton@uunet.U (1098)} \quotation{ The question I would like answered is whether or not; when using Adobe Transcript, it is possible to print out an lset which has been split }\quotation{vertically and where each cell contains a text inset; or possibly some }\quotation{other type of inset. I have been unsuccesful at getting lset's to print }\quotation{out correctly in the above type of situation}... Lset was designed as an application-builder tool and does not do anything intelligent about printing. Currently, the lset print method justs echos the output of both of it's children's print methods which, in the case of text, will print the two texts one after the other. I have considered trying to implement a solution similar to what \italic{table} does, but it is not straight forward and no solution is likely to work in all cases, given 1. the current mix of troff and postscript that is used to do printing, and 2. the question of what is the proper way to print two scrollable 20 page text objects that are displayed one on top of the other? Most of the work on printing in Andrew has been concerned with getting good results from printing text and other top level objects containing at most one level of child objects. Other combinations will often work, but are more problematic. More general solutions may require some fundamental changes to the printing architecture. Still, I have talked to some other people about the specific problem of lset, and it is possible we might come up with something, in which case I will make sure that the patch gets distributed. Regards, Tom Neuendorffer (ITC/CMU) Internet: tpn+@andrew.cmu.edu UUCP: ..!harvard!andrew.cmu.edu!tpn+ Fax: (412) 268-6787 \enddata{text,269768592} \enddata{text822, 135906} \begindata{text822, 139853} 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-strip.dl) ID ; Sat, 20 Jan 90 14:01:23 -0500 (EST) Received: from po5.andrew.cmu.edu via qmail ID ; Sat, 20 Jan 90 13:58:22 -0500 (EST) If-Type-Unsupported: alter Received: from po2.andrew.cmu.edu via qmail ID ; Sat, 20 Jan 90 13:56:05 -0500 (EST) Received: from sparc01.icase.edu ([192.42.142.50]) by po2.andrew.cmu.edu (5.54/3.15) id ; Fri, 19 Jan 90 13:07:54 EST Received: by sparc01.icase.edu (4.0/SMI-DDN) id AA08422; Fri, 19 Jan 90 13:01:40 EST Received: from Version.6.23.N.CUILIB.3.44.SNAP.NOT.LINKED.sparc01.Unknown.Machine.Type via MS.5.5.sparc01.sun4_40; Fri, 19 Jan 90 13:01:37 -0500 (EST) Message-Id: Date: Fri, 19 Jan 90 13:01:37 -0500 (EST) From: Tom Crockett X-Andrew-Message-Size: 13940+0 Content-Type: X-BE2; 12 To: info-andrew@andrew.cmu.edu Subject: Trouble with "make World" \begindata{text, 1758640} \textdsversion{12} \template{messages} I am trying to build Andrew from the MIT X11R4 release on a SPARCstation 1 under SunOS 4.0.3c. I carefully went through the preliminaries in the \bold{README.ez} file, and then installed patches 001 and 002. I built the top-level \bold{Makefile }with the R4 \italic{imake}, but when I do a \italic{make World}, the make terminates right away, complaining that it doesn't know how to make \bold{config/MacroIncludeFile}. I presume I've done something stupid since I don't recall seeing anything about this problem on \italic{info-andrew}; does anyone have any ideas? I'm enclosing the output from \italic{make World} as well as my top-level \bold{Imakefile}. Thanks for any suggestions, \italic{Tom Crockett} \smaller{\bold{ICASE} Institute for Computer Applications in Science and Engineering \smaller{M.S. 132C e-mail: tom@icase.edu NASA Langley Research Center phone: (804) 864-2182 Hampton, VA 23665-5225 } \smaller{ }}\smaller{ } -------------------------------------------------------------------------------\ - \bold{From \italic{make World }}Checking that BASEDIR is not the location of the source files. Checking Destination Directories.... Making directory /usr/icase/andrew3/bin Making directory /usr/icase/andrew3/config Making directory /usr/icase/andrew3/etc Making directory /usr/icase/andrew3/include Making directory /usr/icase/andrew3/lib Making directory /usr/icase/andrew3/doc Making directory /usr/icase/andrew3/doc/atk Making directory /usr/icase/andrew3/doc/ams Making directory /usr/icase/andrew3/help Making directory /usr/icase/andrew3/man Making directory /usr/icase/andrew3/dlib Making directory /usr/icase/andrew3/examples Checking Destination Directories.... Making directory /usr/icase/andrew3/X11fonts rm -f /usr/icase/andrew3/bin/linkinst ln -s `pwd`/config/linkinst /usr/icase/andrew3/bin/linkinst rm -f /usr/icase/andrew3/doc/ImakeMacros.d ln -s `pwd`/config/ImakeMacros.d /usr/icase/andrew3/doc/ImakeMacros.d rm -f /usr/icase/andrew3/include/andyenv.h ln -s `pwd`/config/andyenv.h /usr/icase/andrew3/include/andyenv.h rm -f /usr/icase/andrew3/include/system.h ln -s `pwd`/config/sun4_40/system.h /usr/icase/andrew3/include/system.h rm -f /usr/icase/andrew3/include/andrewos.h ln -s `pwd`/config/andrewos.h /usr/icase/andrew3/include/andrewos.h rm -f /usr/icase/andrew3/include/allsys.h ln -s `pwd`/config/allsys.h /usr/icase/andrew3/include/allsys.h rm -f /usr/icase/andrew3/include/site.h ln -s `pwd`/config/site.h /usr/icase/andrew3/include/site.h make: Fatal error: Don't know how to make target `config/MacroIncludeFile' \bold{The top-level \italic{Makefile}} # Makefile generated by imake - do not edit! # $XConsortium: imake.c,v 1.51 89/12/12 12:37:30 jim Exp $ # # The cpp used on this machine replaces all newlines and multiple tabs and # spaces in a macro expansion with a single space. Imake tries to compensate # for this, but is not always successful. # # # This makefile is automatically generated by imake... do not modify # or you may lose your changes when imake generates makefiles again. # Ignore this message if you are not using imake. # # # The following comes from the macro file # SYSTEM_H_FILE = sun4_40/system.h SYS_IDENT = sun4_40 SYS_OS_ARCH = sun_sparc # # The following is from the allsys.mcr file, and may be over-ridden # by the platform-specific system.mcr file or the # site-specific site.mcr file. # XBASEDIR = / XSRCDIR = BASEDIR = /usr/icase/andrew3 DESTDIR = $\{BASEDIR\} XUTILDIR = /usr/local/bin CDEBUGFLAGS = -O MAKEDODEBUG = SHELL = /bin/sh CSHELL = /bin/csh CC = cc MALLOCALIGNMENT = 4 RESOLVLIB = ADDALIASES = $(BASEDIR)/etc/addalias CLASS = $\{BASEDIR\}/bin/class MAKEDO = $\{BASEDIR\}/bin/makedo MAKEDOFLAGS = $\{MAKEDODEBUG\} -d $\{BASEDIR\}/lib -b $\{BASEDIR\}/bin XINCDIR = $(XBASEDIR)/usr/include/X11 INCLUDES = -I$\{BASEDIR\}/include/atk -I$\{BASEDIR\}/include -I$\{XINCDIR\} CLASSINCLUDES = $\{INCLUDES\} DEPENDSCRIPT = $(TOP)/config/depend.csh XMAKEDEPEND = $(XUTILDIR)/makedepend IMAKE = $(XUTILDIR)/imake XLIBDIR = $(XBASEDIR)/usr/lib OLDXLIB = $(XLIBDIR)/liboldX.a IRULESRC = $(TOP)/config FDBWM = $(BASEDIR)/bin/fdbwm FDBBDF = $(BASEDIR)/bin/fdbbdf XFC = $(XBASEDIR)/usr/bin/X11/bdftosnf XMKFONTDIR = $(XBASEDIR)/usr/bin/X11/mkfontdir MACH = and TOP = . AS = as CPP = /lib/cpp LD = ld LINT = lint INSTALL = install TAGS = ctags RM = rm -f MV = mv CP = cp LN = ln -s RANLIB = ranlib AR = ar clq ARDEL = ar d CHMODW = chmod +w LS = ls AWK = awk SORT = sort TR = tr NM = nm MAKE = make SED = sed LEX = lex YACC = yacc SCRIBE = scribe LINTOPTS = -axz LINTLIBFLAG = -C STD_DEFINES = # # End of what comes from the allsys.mcr file. # XUTILDIR = $\{BASEDIR\}/bin/X11 MALLOCALIGNMENT = 8 XBASEDIR = /usr/icase/X11R4 BASEDIR = /usr/icase/andrew3 CDEBUGFLAGS = -O -pipe XUTILDIR = $(XBASEDIR)/bin XINCDIR = $(XBASEDIR)/include/X11 XMKFONTDIR = $(XUTILDIR)/mkfontdir XLIBDIR = $(XBASEDIR)/lib XFC = $(XUTILDIR)/bdftosnf RESOLVLIB = /usr/lib/libresolv.a # # Back from the macro file # MACROFILE = MacroIncludeFile .SUFFIXES: .PS .do .o .ih .eh .fwm .snf .rtx .c .s .spp .y .l .ch .mss .fdb MFLAGS = -$\{MAKEFLAGS\} CFLAGS = $(CDEBUGFLAGS) $(INCLUDES) $(STD_DEFINES) $(DEFINES) CLASSFLAGS = $(CLASSINCLUDES) LDFLAGS = $(CDEBUGFLAGS) $(SYS_LIBRARIES) $(SYSAUX_LIBRARIES) INSTUIDFLAGS = -c -m 4755 INSTLIBFLAGS = -c -m 0664 INSTINCFLAGS = -c -m 0444 INSTMANFLAGS = -c -m 0444 INSTAPPFLAGS = -c -m 0444 INSTPROGFLAGS = -c -m 0555 INSTDOFLAGS = -c -m 0444 INSTPROGRWFLAGS = -c -m 0755 UTILLIB = $\{BASEDIR\}/lib/libutil.a PRSLIB = MALLOCLIB = $\{BASEDIR\}/lib/libmalloc.a IMAKE_CMD = $(IMAKE) -Timake.tmpl -I. -I$(IRULESRC) -s Makefile DOTDOTIMAKE_CMD = $(IMAKE) -Timake.tmpl -I. -I../$(IRULESRC) -s Makefile # # The following comes from the rules file # # # Back from the rules file # All:: all Doc:: doc doc:: install.doc Aliases:: aliases aliases:: install.alias Install:: install install:: all install.time doc system: Install World:: world world:: depend install aliases Tidy:: tidy Clean:: clean clean:: tidy dependInstall:: depend make DESTDIR=$\{DESTDIR\} install dependAll:: depend make DESTDIR=$\{DESTDIR\} all depend:: all:: tidy:: $(RM) \\#* ,* *~ *.CKP *.BAK *.bas errs core $(RM) *.ln *.o *.dog tags TAGS make.log clean:: $(RM) *.do *.eh *.ih *.a *.fwm *.snf *.rtx $(RM) install.time install.doc Makefile:: Imakefile \\ $(IRULESRC)/andyenv.h \\ $(IRULESRC)/imake.tmpl \\ $(IRULESRC)/andrew.rls \\ $(IRULESRC)/allsys.h \\ $(IRULESRC)/allsys.mcr \\ $(IRULESRC)/site.h \\ $(IRULESRC)/site.mcr \\ $(IRULESRC)/$(MACROFILE) \\ $(IRULESRC)/$(SYSTEM_H_FILE) $(IMAKE_CMD) -DTOPDIR=$(TOP); \\ touch .depends; \\ cat .depends >>Makefile tags:: $(TAGS) -w *.[ch] $(TAGS) -xw *.[ch] > TAGS # # The following comes from the local Imakefile # AMS = ams atkams MKFONTDIR = xmkfontd HELP = helpindex helpaliases DIRS = $(DESTDIR) \\ $(DESTDIR)/bin \\ $(DESTDIR)/config \\ $(DESTDIR)/etc \\ $(DESTDIR)/include \\ $(DESTDIR)/lib \\ $(DESTDIR)/doc \\ $(DESTDIR)/doc/atk \\ $(DESTDIR)/doc/ams \\ $(DESTDIR)/help \\ $(DESTDIR)/man \\ $(DESTDIR)/dlib \\ $(DESTDIR)/examples SUBDIRS = overhead atk $(AMS) $(CONTRIB) $(ODA) $(MKFONTDIR) $(HELP) depend:: @echo 'Checking that BASEDIR is not the location of the source files.' @sh -c '(if [ "$(BASEDIR)" = "`pwd`" ]; then \\ echo "%% BASEDIR must be different from the location of the source files."; \\ echo "%% Currently, they are both $(BASEDIR) ."; \\ echo "%% This must be fixed before proceeding with installation."; \\ echo "%% (You may wish to move the source files to $(BASEDIR)/src .)"; \\ exit 1; \\ fi; exit 0)' World:: date make Makefiles make dependInstall World:: date install.time:: makedirs @echo -n '' install.doc:: makedirs @echo -n '' makedirs:: @echo "Checking Destination Directories...." @sh -c 'for i in $(DIRS); do \\ if [ -f $$i ]; then \\ echo MkdirTarget: $$i is a FILE; \\ exit 1; \\ elif [ ! -d $$i ]; then \\ echo Making directory $$i; \\ mkdir $$i; \\ fi; \\ done; \\ exit 0' install.time:: makedirs @echo -n '' install.doc:: makedirs @echo -n '' makedirs:: @echo "Checking Destination Directories...." @sh -c 'for i in $(DESTDIR)/X11fonts; do \\ if [ -f $$i ]; then \\ echo MkdirTarget: $$i is a FILE; \\ exit 1; \\ elif [ ! -d $$i ]; then \\ echo Making directory $$i; \\ mkdir $$i; \\ fi; \\ done; \\ exit 0' install.time:: $\{RM\} $\{DESTDIR\}/bin/linkinst $(LN) `pwd`/config/linkinst $(DESTDIR)/bin/linkinst install.time:: config/ImakeMacros.d $(RM) $(DESTDIR)/doc/ImakeMacros.d $(LN) `pwd`/config/ImakeMacros.d $(DESTDIR)/doc/ImakeMacros.d install.time:: config/andyenv.h $(RM) $\{DESTDIR\}/include/andyenv.h $(LN) `pwd`/config/andyenv.h $\{DESTDIR\}/include/andyenv.h install.time:: config/$\{SYSTEM_H_FILE\} $(RM) $\{DESTDIR\}/include/system.h $(LN) `pwd`/config/$\{SYSTEM_H_FILE\} $\{DESTDIR\}/include/system.h install.time:: config/andrewos.h $(RM) $\{DESTDIR\}/include/andrewos.h $(LN) `pwd`/config/andrewos.h $\{DESTDIR\}/include/andrewos.h install.time:: config/allsys.h $(RM) $\{DESTDIR\}/include/allsys.h $(LN) `pwd`/config/allsys.h $\{DESTDIR\}/include/allsys.h install.time:: config/site.h $(RM) $\{DESTDIR\}/include/site.h $(LN) `pwd`/config/site.h $\{DESTDIR\}/include/site.h install.time:: imake.tmp system.tmp @echo -n '' imake.tmp: config/imake.tmpl @$(SED) -e 's;<.*/system\\.mcr>;;g' \\ -e 's;#define.*MacroIncludeFile.*;#define MacroIncludeFile system.mcr;g' \\ config/imake.tmpl > imake.tmp system.tmp: config/MacroIncludeFile @$(SED) -e 's;<.*/system\\.h>;;g' \\ -e 's;SYSTEM_H_FILE =.*;SYSTEM_H_FILE = system.h;g' \\ config/MacroIncludeFile > system.tmp install.time:: (cd $(DESTDIR)/config; \\ $\{RM\} andrewos.h andyenv.h system.h allsys.h site.h; \\ $(LN) ../include/andrewos.h andrewos.h; \\ $(LN) ../include/andyenv.h andyenv.h; \\ $(LN) ../include/system.h system.h; \\ $(LN) ../include/allsys.h allsys.h; \\ $(LN) ../include/site.h site.h; ) install.time:: imake.tmp $(RM) $(DESTDIR)/config/imake.tmpl $(LN) `pwd`/imake.tmp $(DESTDIR)/config/imake.tmpl install.time:: system.tmp $(RM) $(DESTDIR)/config/system.mcr $(LN) `pwd`/system.tmp $(DESTDIR)/config/system.mcr install.time:: config/allsys.mcr $(RM) $(DESTDIR)/config/allsys.mcr $(LN) `pwd`/config/allsys.mcr $(DESTDIR)/config/allsys.mcr install.time:: config/site.mcr $(RM) $(DESTDIR)/config/site.mcr $(LN) `pwd`/config/site.mcr $(DESTDIR)/config/site.mcr install.time:: config/andrew.rls $(RM) $(DESTDIR)/config/andrew.rls $(LN) `pwd`/config/andrew.rls $(DESTDIR)/config/andrew.rls install.time:: config/depend.csh $(RM) $(DESTDIR)/config/depend.csh $(LN) `pwd`/config/depend.csh $(DESTDIR)/config/depend.csh install.time:: config/loginstall $(RM) $(DESTDIR)/config/loginstall $(LN) `pwd`/config/loginstall $(DESTDIR)/config/loginstall install.time:: config/COPYRITE $(RM) $(DESTDIR)/config/COPYRITE $(LN) `pwd`/config/COPYRITE $(DESTDIR)/config/COPYRITE # # Back from the local Imakefile # Makefiles:: Makefile All:: @(case '$(MFLAGS)' in *[ik]*) set +e;; esac; \\ for i in $(SUBDIRS) $(EXTRASUBDIRS); do \\ (cd $$i; echo "making (`pwd`)"; $(MAKE) $(MFLAGS)) done) dependAll:: @)case '$(MFLAGS)' in *[ik]*) set +e;; esac; \\ for i in $(SUBDIRS) $(EXTRASUBDIRS); do \\ (cd $$i; echo "depend/making (`pwd`)"; \\ $(MAKE) $(MFLAGS) dependAll) done) Install:: @(case '$(MFLAGS)' in *[ik]*) set +e;; esac; \\ for i in $(SUBDIRS); do \\ (cd $$i; echo "installing (`pwd`)"; \\ $(MAKE) $(MFLAGS) \\ DESTDIR='$(DESTDIR)' Install) done) Doc:: @case '$(MFLAGS)' in *[ik]*) set +e;; esac; \\ for i in $(SUBDIRS);\\ do \\ (cd $$i; echo "installing docs (`pwd`)"; \\ $(MAKE) $(MFLAGS) \\ DESTDIR='$(DESTDIR)' Doc) \\ done Aliases:: @case '$(MFLAGS)' in *[ik]*) set +e;; esac; \\ for i in $(SUBDIRS);\\ do \\ (cd $$i; echo "installing aliases (`pwd`)"; \\ $(MAKE) $(MFLAGS) \\ DESTDIR='$(DESTDIR)' Aliases) \\ done dependInstall:: @case '$(MFLAGS)' in *[ik]*) set +e;; esac; \\ for i in $(SUBDIRS);\\ do \\ (cd $$i;echo "building (dependInstall) (`pwd`)"; \\ $(MAKE) $(MFLAGS) \\ DESTDIR='$(DESTDIR)' dependInstall) \\ done World:: @case '$(MFLAGS)' in *[ik]*) set +e;; esac; \\ for i in $(SUBDIRS);\\ do \\ (cd $$i;echo "building (World)) (`pwd`)"; \\ $(MAKE) $(MFLAGS) \\ DESTDIR='$(DESTDIR)' World) \\ done Clean:: @case '$(MFLAGS)' in *[ik]*) set +e;; esac; \\ for i in $(SUBDIRS) $(EXTRASUBDIRS);\\ do \\ (cd $$i; echo "cleaning (`pwd`)"; \\ $(MAKE) $(MFLAGS) Clean) \\ done Tidy:: @case '$(MFLAGS)' in *[ik]*) set +e;; esac; \\ for i in $(SUBDIRS) $(EXTRASUBDIRS);\\ do \\ (cd $$i; echo "tidying (`pwd`)"; \\ $(MAKE) $(MFLAGS) Tidy) \\ done tags:: @case '$(MFLAGS)' in *[ik]*) set +e;; esac; \\ for i in $(SUBDIRS) $(EXTRASUBDIRS);\\ do \\ (cd $$i; echo "tagging (`pwd`)"; \\ $(MAKE) $(MFLAGS) TAGS='$(TAGS)' tags) \\ done Makefiles:: @case '$(MFLAGS)' in *[ik]*) set +e;; esac; \\ for i in $(SUBDIRS) $(EXTRASUBDIRS);\\ do \\ echo "Making Makefiles (`pwd`/$$i)..."; \\ $(MAKE) subdirMakefiles NEWTOP=../ \\ MAKE_SUBDIR=$$i;\\ done subdirMakefiles: cd $(MAKE_SUBDIR); \\ $(DOTDOTIMAKE_CMD) -DTOPDIR=../$(TOP); \\ touch .depends; \\ cat .depends >>Makefile; \\ $(MAKE) $(MFLAGS) Makefiles install.time:: touch install.time install.doc:: touch install.doc install.alias:: ##### DEPENDENCY LINE - DO NOT DELETE ##### \enddata{text,1758640} \enddata{text822, 139853} \begindata{text822, 156068} Return-path: X-Andrew-Authenticated-as: 602;andrew.cmu.edu;Adam Stoller Received: from fish.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl) ID ; Mon, 22 Jan 90 09:16:42 -0500 (EST) Received: from fish.andrew.cmu.edu via qmail ID ; Mon, 22 Jan 90 09:15:06 -0500 (EST) Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.fish.andrew.cmu.edu.rt.r3 via MS.5.6.fish.andrew.cmu.edu.rt_r3; Mon, 22 Jan 90 09:15:05 -0500 (EST) Message-ID: Date: Mon, 22 Jan 90 09:15:05 -0500 (EST) From: Adam Stoller X-Andrew-Message-Size: 1179+0 Content-Type: X-BE2; 12 If-Type-Unsupported: alter To: Info-Andrew Subject: Re: Trouble with "make World" In-Reply-To: References: \begindata{text,270570092} \textdsversion{12} \template{messages} I don't know exactly what's going wrong, or why, but..... MacroIncludeFile is a '#define'd symbol from andrew/config/imake.tmpl If for some reason your system does not match any of the specs in imake.tmpl, then MacroIncludeFile would not be defined, and not expanded - that's one possibility. (looking at your Makefile, it appears that it found the macro file - as if it were a sun4_40 - so it would appear that MacroIncludeFile must have been defined correctly......) If for some reason imake and/or cpp was not handling pre-processor expansion the same as other systems - that's another possibility. You could try changing the line in the Imakfile that reads like: \example{\smaller{system.tmp: config/MacroIncludeFile @$(SED) -e 's;<.*/system\\.h>;;g' \\ -e 's;SYSTEM_H_FILE =.*;SYSTEM_H_FILE = system.h;g' \\ config/MacroIncludeFile > system.tmp }} To: \smaller{\example{system.tmp: config/$(MACROFILE) @$(SED) -e 's;<.*/system\\.h>;;g' \\ -e 's;SYSTEM_H_FILE =.*;SYSTEM_H_FILE = system.h;g' \\ config/$(MACROFILE) > system.tmp}} i.e. change MacroIncludeFile to $(MACROFILE) [which is set to MacroIncludeFile earlier in the Makefile] beyond that I'm not sure what you could do. --fish \enddata{text,270570092} \enddata{text822, 156068} \begindata{text822, 158572} Return-path: X-Andrew-Authenticated-as: 13;andrew.cmu.edu;Fred Hansen Received: from bangor.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl) ID ; Mon, 22 Jan 90 09:29:17 -0500 (EST) If-Type-Unsupported: alter Received: from bangor.andrew.cmu.edu via qmail ID ; Mon, 22 Jan 90 09:28:41 -0500 (EST) Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.bangor.andrew.cmu.edu.rt.r3 via MS.5.6.bangor.andrew.cmu.edu.rt_r3; Mon, 22 Jan 90 09:28:40 -0500 (EST) Message-ID: Date: Mon, 22 Jan 90 09:28:40 -0500 (EST) From: Fred Hansen X-Andrew-Message-Size: 4933+0 Content-Type: X-BE2; 12 To: keane@ultima.cs.uts.oz.au, Info-Andrew Subject: Re: rofftext...please be gentle with me In-Reply-To: <17108@ultima.cs.uts.oz> References: <17108@ultima.cs.uts.oz> \begindata{text,270552220} \textdsversion{12} \template{messages} \excerptedcaption{Excerpts from internet.info-andrew: 17-Jan-90 rofftext...please be gentle.. Chris Keane@tut.cis.ohio (927)} \quotation{ I'm trying to convert }\quotation{various troff documents to atk format. The troff stuff uses the }\quotation{'ms' macro package and so I've been using the command } \quotation{% rofftext -t -ms Doccy > atkDoccy} There is now a toez command which converts Scribe or troff/nroff to ez. The following did a mostly-successful conversion for me: toez -ms input-file-name.ms > output-file-name The footnote was included in the text rather than made into a footnote inset, but otherwise the output looked okay. Fred Hansen (PS. The address .../munnari.oz.au!cluster!ultima!keane@... failed at muratoa.oz.au. I'm trying a direct path; we'll see.) The beginning of the input file I successfully tried toez on is: - - - - - - - - - - - - - - - - - - - - - - .TL Enhancing documents with embedded programs: How Ness extends insets in the Andrew ToolKit .AU Wilfred J. Hansen .AI Information Technology Center Carnegie Mellon University Pittsburgh, PA 15213-3890 .AB An enhanced document responds to its reader in non-traditional ways: a button press may scroll the document, play music, ... . Although such operations may be implemented as objects embedded in text, full generality requires that a programming language be available to the author of a document. This paper sketches the problems of embedding programs in documents and reviews the solutions adopted in the Ness component of the Andrew ToolKit. A key question is the connection from user actions to program functions. Other questions include the appropriate level of programming language, its string processing capabilities, and security. .AE .ig \\footnote\{\\ \\begindata\{fnote,268704092 \\textdsversion\{12 Copyright (C) IEEE, 1990. This paper will appear in the proceedings of the IEEE Computer Society 1990 International Conference on Computer Languages, New Orleans, LA, March 12-15, 1990.\\ \\enddata\{fnote,268704092 \\view\{fnotev,268704092,0,0,0 \\formatnote\{.\\\\"ll 4.75i .. .LP .FS \\(co 1990 IEEE Reprinted with permission, from Proceedings of IEEE Computer Society 1990 International Conference on Computer Languages, March 12-15, 1990, New Orleans, to appear. .FP Permission to copy without fee all or part of this material is granted provided that the copies are not made or distributed for direct commercial advantage, the IEEE copyright notice and the title of the publication and its date appear, and notice is given that copying is by permission of the Institute of Electrical and Electronics Engineers. To copy otherwise, or to republish, requires a fee and specific permission. .FE Traditionally a computer document is an emulation of a paper one; it sits there for the reader to explore at will. This present paper is no different because even though I am writing it on a computer I expect most readers will view it on paper. But suppose you were reading it at a computer; how much more could it do? Simulations, calculations, interactive examples, waving flags, music, fireworks? .LP The report below describes a system in which it is possible to write documents that have most of these behaviors. In order to provide the most general environment, the system incorporates a programming language, Ness, the design of which has been kept simple so as to reach a broad range of authors. The underlying system is the Andrew ToolKit (ATK). .LP Typical applications of such a system include .RS .XP \\fIenhanced documents\\fP: with various animations and simulations to illustrate the points of the document .XP \\fIparameterized letter\\fP: after the user fills in a few fields in a form letter other fields are calculated and the full letter is constructed .XP \\fIpersonal data base\\fP: addresses, appointments, course records, bibliography, ... .XP \\fIdirectory editor\\fP: click on a file to see its attributes or select it for moving or deleting .XP \\fIsystem status monitor\\fP: a user builds a personal monitor for work station status by selecting from a library of system measurement tools and a library of ways to view dynamically changing values: dials, strip charts, and so on. .XP \\fIdungeons and dragons\\fP: the description of the world is a large text through which the reader can scroll; as the reader solves puzzles, descriptions of new rooms and objects are added to the text. .RE .LP The remainder of this paper discusses the system as though it were intended for extending document: objects are inserted in the document at various places and their behavior is controlled by a .I "script" written in the programming language. In all cases the discussion applies equally well to programming an application; such a situation is just an image that cannot be scrolled off the screen as parts of a document can. For documents the substrate is a text; for applications the substrate is a drawing editor or some other tool for laying out the contents of a window. \enddata{text,270552220} \enddata{text822, 158572} \begindata{text822, 165011} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po3.andrew.cmu.edu via trymail ID ; Tue, 23 Jan 90 00:58:07 -0500 (EST) Received: from thumper.bellcore.com by po3.andrew.cmu.edu (5.54/3.15) id ; Mon, 22 Jan 90 10:53:42 EST Received: by thumper.bellcore.com (5.54/4.7) id AA07609; Mon, 22 Jan 90 10:52:06 EST Received: by greenbush.bellcore.com (4.12/4.7) id AA08786; Mon, 22 Jan 90 10:52:41 est Received: from Messages.7.12.N.CUILIB.3.45.SNAP.NOT.LINKED.greenbush.sins.sun4.40 via MS.5.6.greenbush.sins.sun4_40; Mon, 22 Jan 90 10:52:14 -0500 (EST) Message-Id: Date: Mon, 22 Jan 90 10:52:14 -0500 (EST) From: Nathaniel Borenstein X-Andrew-Message-Size: 4153+0 Content-Type: X-BE2; 12 If-Type-Unsupported: alter To: Tom Neuendorffer , susan+@andrew.cmu.edu Subject: Fwd: rofftext on Sparcstation ? References: , , \begindata{text,2333948} \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{notetotypesetter menu:[Region~4,NoteToTypesetter~61] attr:[Flags PassThru Int Set]} \define{literal menu:[Region~4,Literal~62] attr:[Flags PassThru Int Set]} \define{excerptedcaption attr:[LeftMargin LeftMargin Inch 32768] attr:[RightMargin RightMargin Inch 32768] attr:[FontFace Bold Int Set] attr:[FontFace Italic Int Set]} Is anybody reading info-andrew bugs? Is this bug that Charlie Hayden fixed going to be showing up in a future patch? (This is a bug that is biting me, too, by the way.) Thanks. -- Nathaniel ---------- Forwarded message begins here ---------- \smaller{\smaller{From cch@mtgzx.att.com Sun Jan 21 08:11:17 1990 Received: from thumper.bellcore.com (thumper.ARPA) by greenbush.bellcore.com (4.12/4.7) id AA06938; Sun, 21 Jan 90 08:11:12 est Received: by thumper.bellcore.com (5.54/4.7) id AA16014; Sun, 21 Jan 90 08:10:18 EST From: cch@mtgzx.att.com Received: from mtgz047 by gazelle.att.com (4.0/SMI-4.0) id AA18684; Sun, 21 Jan 90 08:01:52 EST Received: by mtgz047 (4.0/SMI-4.0) id AA18624; Sun, 21 Jan 90 08:01:59 EST Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.mtgz047.gazelle.att.com.sun3.4 via MS.5.6.mtgz047.gazelle.att.com.sun4_40; Sun, 21 Jan 90 08:01:58 -0500 (EST) Message-Id: Date: Sun, 21 Jan 90 08:01:58 -0500 (EST) >From: Charlie Hayden X-Andrew-Message-Size: 2800+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: Nathaniel Borenstein Subject: Re: rofftext on Sparcstation ? In-Reply-To: References: , }} I reported the problem to info-andrew-bugs, and also the solution, but I am beginning to wonder if anyone is listening. Here are the diffs to roffstyl.c to fix the problem. *** roffstyl.c Wed Jan 10 19:23:42 1990 --- ../andrew/atk/rofftext/roffstyl.c.dist Wed Dec 6 20:21:19 1989 *************** *** 20,32 **** #include #include - /* - * fixed by cch@mtgzx.att.com 1/10/90 - * program calling environment_InsertStyle with union environmentcontents - * where it should be passing struct *style. - * This is a no-no on SPARC. - */ - #define CCH WriteText(self) struct rofftext *self; --- 20,25 ---- *************** *** 64,79 **** CloseStyle(self); newid = BeginStyle(self,st); for(l=self->tempstack->level;l>=0;l--) \{ ! union environmentcontents data; self->stack++; self->stack->pos = self->pos; ! data.style = self->tempstack->style; ! #ifndef CCH ! self->stack->env = environment_InsertStyle((self->stack-1)->env, self->pos - (self->stack-1)->pos, data, TRUE); ! #else ! self->stack->env = environment_InsertStyle((self->stack-1)->env, self->pos - (self->stack-1)->pos, self->tempstack->style, TRUE); ! #endif self->stack->level = (self->stack-1)->level+1; self->stack->ID = self->tempstack->ID; self->tempstack--; --- 57,68 ---- CloseStyle(self); newid = BeginStyle(self,st); for(l=self->tempstack->level;l>=0;l--) \{ ! union environmentcontents data; self->stack++; self->stack->pos = self->pos; ! data.style = self->tempstack->style; ! self->stack->env = environment_InsertStyle((self->stack-1)->env, self->pos - (self->stack-1)->pos, data, TRUE); self->stack->level = (self->stack-1)->level+1; self->stack->ID = self->tempstack->ID; self->tempstack--; *************** *** 126,137 **** \} self->stack++; self->stack->pos = self->pos; ! data.style = style; ! #ifndef CCH ! self->stack->env = environment_InsertStyle((self->stack-1)->env, self->pos - (self->stack-1)->pos, data, TRUE); ! #else ! self->stack->env = environment_InsertStyle((self->stack-1)->env, self->pos - (self->stack-1)->pos, style, TRUE); ! #endif self->stack->level = (self->stack-1)->level+1; self->stack->ID = self->styleID++; --- 115,122 ---- \} self->stack++; self->stack->pos = self->pos; ! data.style = style; ! self->stack->env = environment_InsertStyle((self->stack-1)->env, self->pos - (self->stack-1)->pos, data, TRUE); self->stack->level = (self->stack-1)->level+1; self->stack->ID = self->styleID++; \bold{\bigger{Charles Hayden cch@mtgzx.att.com}} Bell Labs MT 3G-408 200 Laurel Ave, Middletown, NJ 07748 (201) 957-5558 \enddata{text,2333948} \enddata{text822, 165011} \begindata{text822, 171428} 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-strip.dl) ID ; Tue, 23 Jan 90 13:05:49 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Tue, 23 Jan 90 12:57:00 -0500 (EST) Received: from dartvax.dartmouth.edu by po3.andrew.cmu.edu (5.54/3.15) id ; Tue, 23 Jan 90 11:54:51 EST Received: from northstar5.dartmouth.edu by dartvax.dartmouth.edu (5.61D1/4.0HUB) id AA22601; Tue, 23 Jan 90 11:54:25 -0500 Received: by northstar5.dartmouth.edu (5.51/3.3LEAF) id AA06200; Tue, 23 Jan 90 11:50:38 EST Date: Tue, 23 Jan 90 11:50:38 EST From: kriso@northstar5.Dartmouth.EDU (Kris Olander) Message-Id: <9001231650.AA06200@northstar5.dartmouth.edu> To: info-andrew@andrew.cmu.edu Subject: X11R4 Andrew dist. problem Cc: kriso@northstar5.dartmouth.edu I've been trying to get the X11R4 ATK code compiled for about a week now. With the various hc, hc1.4 and pcc compilers, I've made it to the atk/console/cmd directory where I have now stubbled onto a library dependency which I can't resolve, or find anywhere in my source. I am running AFS3.0 so the VLIBS macro is in effect. Where do I find the libcont.a library???? The reference to it is in /usr/andy/lib/afs/, however, I can't find this in any of my AFS3.0 directories. Can anyone stear me through this? I know this hasn't been attempted by too many people since AFS3.0 is in Beta release mode. I'll keep plugging. I'd sure like vopcon to work eventually. It's been a long time since I've had the opportunity to use vopcon due to various IBM AFS deviations. -Kris Olander Sys. Eng., Proj. NORTHSTAR \enddata{text822, 171428} \begindata{text822, 173422} 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-strip.dl) ID ; Tue, 23 Jan 90 13:11:54 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Tue, 23 Jan 90 13:06:43 -0500 (EST) Received: from dartvax.dartmouth.edu by po3.andrew.cmu.edu (5.54/3.15) id ; Tue, 23 Jan 90 12:07:07 EST Received: from northstar5.dartmouth.edu by dartvax.dartmouth.edu (5.61D1/4.0HUB) id AA22870; Tue, 23 Jan 90 12:06:27 -0500 Received: by northstar5.dartmouth.edu (5.51/3.3LEAF) id AA06219; Tue, 23 Jan 90 12:02:41 EST Date: Tue, 23 Jan 90 12:02:41 EST From: kriso@northstar5.Dartmouth.EDU (Kris Olander) Message-Id: <9001231702.AA06219@northstar5.dartmouth.edu> To: info-andrew@andrew.cmu.edu Subject: RE:X11R4 Andrew dist. problem Cc: kriso@northstar5.dartmouth.edu Found it. libcont.a was located in the pre AFS3.0 server code. Now, can anyone tell me what happens when we mix IBM AFS code with Transarc AFS code???? Am I really linking in routines from IBM AFS that will act properly with Xarc AFS???? -Kris \enddata{text822, 173422} \begindata{text822, 174849} Return-path: X-Andrew-Authenticated-as: 602;andrew.cmu.edu;Adam Stoller Received: from fish.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl) ID ; Tue, 23 Jan 90 15:15:36 -0500 (EST) Received: from fish.andrew.cmu.edu via qmail ID ; Tue, 23 Jan 90 15:14:49 -0500 (EST) Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.fish.andrew.cmu.edu.rt.r3 via MS.5.6.fish.andrew.cmu.edu.rt_r3; Tue, 23 Jan 90 15:14:46 -0500 (EST) Message-ID: Date: Tue, 23 Jan 90 15:14:46 -0500 (EST) From: Adam Stoller X-Andrew-Message-Size: 747+0 Content-Type: X-BE2; 12 If-Type-Unsupported: alter To: Info-Andrew Subject: Re:X11R4 Andrew dist. problem CC: kriso@northstar5.dartmouth.edu In-Reply-To: <9001231702.AA06219@northstar5.dartmouth.edu> References: <9001231702.AA06219@northstar5.dartmouth.edu> \begindata{text,270782096} \textdsversion{12} \template{messages} 'vopcon' is on it's last legs. As you noticed - it depends on libraries which are not part of the curent AFS release. Transarc has a program called 'scout' (I believe) in their latest release - which is supposed to provide the functionality that vopcon used to (I haven't seen it yet) - when they finish their release, vopcon will probably cease to be supported. (this is *not* official) You stand a mediocre chance of vopcon working with a mix of AFS3.x and pre-AFS2.x -- i.e. our site is running AFS3.0 (if I recall correctly) but we've kept around a couple of libraries and include files from previous versions so that we could compile and run vopcon (which we currently can run) --- but it's not really a supported configuration. --fish \enddata{text,270782096} \enddata{text822, 174849} \begindata{text822, 176932} 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-strip.dl) ID ; Wed, 24 Jan 90 05:10:46 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Wed, 24 Jan 90 05:10:02 -0500 (EST) Received: from relay.cc.u-tokyo.ac.jp ([192.41.197.3]) by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew+; Wed, 24 Jan 90 05:08:29 EST Received: from kogwy.cc.keio.ac.jp by relay.cc.u-tokyo.ac.jp (5.61/2.7W) id AA12550; Wed, 24 Jan 90 19:07:38 +0900 Received: from math-relay.math.keio.ac.jp by kogwy.cc.keio.ac.jp (5.61/6.4J.6-ko1.41) id AA15685; Wed, 24 Jan 90 19:07:36 +0900 Received: from kossvax.slab.math.keio.ac.jp (slab-relay.slab.math.keio.ac.jp) by cabbage.math.keio.ac.jp (4.0/6.4J.4-math1.3) id AA15613; Wed, 24 Jan 90 19:07:44 JST Received: by kossvax.slab.math.keio.ac.jp (5.51/6.4J.5-slab1.1) id AA19166; Wed, 24 Jan 90 19:07:10+0900 Received: from kris.mita.keio.ac.jp by mitasun.mita.keio.ac.jp (4.0/6.4J.5-slab1.1) id AA01855; Wed, 24 Jan 90 18:07:02 JST Received: by kris.mita.keio.ac.jp (5.51/6.4J.5-math-slab1.1) id AA01152; Wed, 24 Jan 90 18:06:16+0900 Return-Path: Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.kris.rt.r3 via MS.5.6.kris.rt_r3; Wed, 24 Jan 90 18:06:14 +0900 Message-Id: Date: Wed, 24 Jan 90 18:06:14 +0900 From: Kazuhiro Kitagawa To: info-andrew+@andrew.cmu.edu Subject: IBM Mpel Display DOes anyone use the ATK runs on X11R4 with IBM Mpel display. We have critical Bug. Scroll bar, cursor when specifying region, screen update and menu do NOT work correctly. The ATK on apa16 is quite good. But on Mpel is worng. -kaz Kaz. Kitagawa KEIO Unv. Dept. of Math. Yokohama Japan \enddata{text822, 176932} \begindata{text822, 179073} Return-path: X-Andrew-Authenticated-as: 91;andrew.cmu.edu;Tom Neuendorffer Received: from dublin.andrew.cmu.edu via trymail ID ; Wed, 24 Jan 90 16:09:41 -0500 (EST) Received: from dublin.andrew.cmu.edu via qmail ID ; Wed, 24 Jan 90 16:09:31 -0500 (EST) Date: Wed, 24 Jan 90 16:09:29 -0500 (EST) From: Tom Neuendorffer To: susan+ Subject: rindex fix. It's hard to look at from here, but it sounds like the fix can't be any worse then the current code. Ask Fred about it if you want, or just go ahaead and put iit in. Did you talk to Fred about the things he wanted to fix? As you can see , I can read my mail from D.C. Let me know if anything important comes up. Tom \enddata{text822, 179073} \begindata{text822, 180006} 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-strip.dl) ID ; Wed, 24 Jan 90 19:39:36 -0500 (EST) Received: from andrew.cmu.edu via qmail ID ; Wed, 24 Jan 90 19:34:35 -0500 (EST) If-Type-Unsupported: alter Received: from po3.andrew.cmu.edu via qmail ID ; Wed, 24 Jan 90 19:32:49 -0500 (EST) Received: from dartvax.dartmouth.edu by po3.andrew.cmu.edu (5.54/3.15) id ; Wed, 24 Jan 90 15:46:54 EST Received: from northstar2.dartmouth.edu by dartvax.dartmouth.edu (5.61D1/4.0HUB) id AA15400; Wed, 24 Jan 90 15:46:18 -0500 Received: by northstar2.dartmouth.edu (5.51/3.3LEAF) id AA03191; Wed, 24 Jan 90 15:45:42 EST Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.northstar2.rt.r3 via MS.5.6.northstar2.rt_r3; Wed, 24 Jan 90 15:45:38 -0500 (EST) Message-Id: Date: Wed, 24 Jan 90 15:45:38 -0500 (EST) From: Anthony Edwards X-Andrew-Message-Size: 1059+0 Content-Type: X-BE2; 12 To: info-andrew@andrew.cmu.edu Subject: $forceformat in .AMS_aliases \begindata{text,269493744} \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{notetotypesetter menu:[Region~4,NoteToTypesetter~61] attr:[Flags PassThru Int Set]} \define{literal menu:[Region~4,Literal~62] attr:[Flags PassThru Int Set]} I've just finished reading the \italic{ms-aliases} help file. I got excited about the commands $forceformat $forcestrip and I promptly tried it out, but they didn't work. This may be part of the problem: At our site, the AndrewSetup file has this setting: ThisDomain: northstar.dartmouth.edu And yet I am sending my mail from northstar2.dartmouth.edu. In my .AMS_aliases file, I have this entry: $forceformat tobeye@northstar.dartmouth.edu (and I also tried $forceformat tobeye) but whenever I try sending a mail message to myself (To: tobeye), I \bold{always} get prompted with the Formatting/No Formatting message. Just as a variation to see if this feature really works, I changed my .AMS_aliases file to: $forceformat tobeye@northstar26.dartmouth.edu And then sent a mail message: To: tobeye@northstar26 which did work fine as advertised. Any ideas what I may have done wrong? Is the problem that the domain is 'northstar.dartmouth.edu' and my current host is 'northstar2.dartmouth.edu' and the $forceformat directive just can't handle that? - \underline{Anthony} \enddata{text,269493744} \enddata{text822, 180006} \begindata{text822, 183538} 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-strip.dl) ID ; Wed, 24 Jan 90 20:58:43 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Wed, 24 Jan 90 20:51:43 -0500 (EST) Received: from Xerox.COM by po3.andrew.cmu.edu (5.54/3.15) id ; Wed, 24 Jan 90 17:03:53 EST Received: from Concord.ms by ArpaGateway.ms ; 24 JAN 90 13:45:29 PST Sender: "Lennart_Lovstrand.EuroPARC"@Xerox.COM Date: 24 Jan 90 13:43:11 PST (Wednesday) Subject: Andrew mods to gdb From: "Lennart_Lovstrand.EuroPARC"@Xerox.COM To: info-andrew@andrew.cmu.edu Cc: "Lennart_Lovstrand.EuroPARC"@Xerox.COM Message-Id: <900124-134529-6003@Xerox> Hi. I enjoyed receiving Andrew with the X11R4 distribution tremendously! Have now compiled all the sources with only a couple of necessary bugfixes. [Such as a missing semicolon in struct declaration on line 2444 of ams/delivery/trymail/strong.c and a missing exit(0) on successful completion in main() of atk/ness/objects/nodeclss.c]. I like your dynamically loadable object files, but I think having your mods to gdb would make them even better. Would appreciate it much if you could send them by email or tell me where to pick them up by ftp on the Internet. Are there any mailing lists I would benefit from subscribing to? Automatic updates? Developers interrested in receiving wishlists? Thanks a lot, --Lennart Rank Xerox EuroPARC, 61 Regent Street, Cambridge CB2 1AB, England \enddata{text822, 183538} \begindata{text822, 185399} 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-strip.dl) ID ; Thu, 25 Jan 90 07:30:34 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Thu, 25 Jan 90 07:28:47 -0500 (EST) Received: from thumper.bellcore.com by po3.andrew.cmu.edu (5.54/3.15) id ; Wed, 24 Jan 90 22:30:04 EST Received: by thumper.bellcore.com (5.54/4.7) id AA00645; Wed, 24 Jan 90 22:28:22 EST Received: by greenbush.bellcore.com (4.12/4.7) id AA26190; Wed, 24 Jan 90 22:29:06 est Received: from Messages.7.12.N.CUILIB.3.45.SNAP.NOT.LINKED.greenbush.sins.sun4.40 via MS.5.6.greenbush.sins.sun4_40; Wed, 24 Jan 90 22:29:01 -0500 (EST) Message-Id: Date: Wed, 24 Jan 90 22:29:01 -0500 (EST) From: Nathaniel Borenstein To: info-andrew@andrew.cmu.edu Subject: Re: $forceformat in .AMS_aliases In-Reply-To: References: The "$force" stuff works pretty well for me, but there is a big caveat that you have to bear in mind. It turns out that there are a lot of different ways that an address can be written, and this form requires a *literal* match. A good rule of thumb would be this: type an address, let AMS validate & rewrite it, and use the exact form of the output of that rewriting process in your $force line. This does mean that there may be cases where you need more than one $force line for the same person. For example, when I reply to Bill Cattey's mail, it uses the address "Bill Cattey $forceformat wdc@athena.mit.edu In other words, you've got to be sure you're getting an exact match. I suspect that's your problem, but I'm sure you'll correct me if I'm wrong. I'd love to see someone make the $force line matching more intelligent, but it is really a pretty hard problem, if I recall correctly. -- Nathaniel PS -- Did you know (I hope it is documented) that the $force lines can be used for a site as a whole, again, with an overly-literal match to everything following the "@" character? For example, I have two lines in my .AMS_aliases file which, taken together, declare my faith in the ability of the CMU delivery system to do the right thing with anything I send them: $forcetrust @andrew.cmu.edu $forcetrust @andrew.cmu.edu> Note that the literal matching requires me to give separate specs for the two most common forms of addressing by which I send mail to CMU. Yes, this could definitely be improved. -- NB \enddata{text822, 185399} \begindata{text822, 188542} 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-strip.dl) ID ; Thu, 25 Jan 90 09:17:14 -0500 (EST) Received: from po2.andrew.cmu.edu via qmail ID ; Thu, 25 Jan 90 09:16:34 -0500 (EST) If-Type-Unsupported: alter Received: from po3.andrew.cmu.edu via qmail ID ; Thu, 25 Jan 90 09:14:50 -0500 (EST) Received: from dartvax.dartmouth.edu by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Thu, 25 Jan 90 09:12:16 EST Received: from northstar2.dartmouth.edu by dartvax.dartmouth.edu (5.61D1/4.0HUB) id AA28288; Thu, 25 Jan 90 09:11:42 -0500 Received: by northstar2.dartmouth.edu (5.51/3.3LEAF) id AA21828; Thu, 25 Jan 90 09:11:06 EST Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.northstar2.rt.r3 via MS.5.6.northstar2.rt_r3; Thu, 25 Jan 90 09:11:05 -0500 (EST) Message-Id: Date: Thu, 25 Jan 90 09:11:05 -0500 (EST) From: Anthony Edwards X-Andrew-Message-Size: 1059+0 Content-Type: X-BE2; 12 To: info-andrew@andrew.cmu.edu Subject: $forceformat in .AMS_aliases Cc: "bb+official.andrew" \begindata{text,270188808} \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{notetotypesetter menu:[Region~4,NoteToTypesetter~61] attr:[Flags PassThru Int Set]} \define{literal menu:[Region~4,Literal~62] attr:[Flags PassThru Int Set]} I've just finished reading the \italic{ms-aliases} help file. I got excited about the commands $forceformat $forcestrip and I promptly tried it out, but they didn't work. This may be part of the problem: At our site, the AndrewSetup file has this setting: ThisDomain: northstar.dartmouth.edu And yet I am sending my mail from northstar2.dartmouth.edu. In my .AMS_aliases file, I have this entry: $forceformat tobeye@northstar.dartmouth.edu (and I also tried $forceformat tobeye) but whenever I try sending a mail message to myself (To: tobeye), I \bold{always} get prompted with the Formatting/No Formatting message. Just as a variation to see if this feature really works, I changed my .AMS_aliases file to: $forceformat tobeye@northstar26.dartmouth.edu And then sent a mail message: To: tobeye@northstar26 which did work fine as advertised. Any ideas what I may have done wrong? Is the problem that the domain is 'northstar.dartmouth.edu' and my current host is 'northstar2.dartmouth.edu' and the $forceformat directive just can't handle that? - \underline{Anthony} \enddata{text,270188808} \enddata{text822, 188542} \begindata{text822, 192145} 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-strip.dl) ID ; Thu, 25 Jan 90 09:30:39 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Thu, 25 Jan 90 09:29:20 -0500 (EST) Received: from sics.se by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Thu, 25 Jan 90 09:25:30 EST Received: from indra.sics.se by sics.se (5.61-bind 1.5+ida/SiteCap-3.0) id AA17443; Thu, 25 Jan 90 15:24:44 +0100 Received: from localhost by indra.sics.se (5.61-bind 1.4+ida/SiteCap-3.0) id AA06392; Thu, 25 Jan 90 14:24:36 GMT Message-Id: <9001251424.AA06392@indra.sics.se> To: info-andrew@andrew.cmu.edu Subject: Patches for compilation of andrew with gcc on a SPARCstation Date: Thu, 25 Jan 90 15:24:21 +0000 From: Johan Widen I have compiled Andrew (patch level 2) with gcc on a SPARCstation. Most of the following patches should be needed to compile andrew with gcc on other architectures as well. I used gcc-1.36.93. My compilation options where -O -traditional -fstrength-reduce -fwritable-strings You need -traditional at least for the assembly code in overhead/class/machdep/sun_sparc I do not know if -fwritable-strings is required, I used it just to be on the safe side. I did not link with the Sun supplied -ldbm. I used a dbm library compiled with gcc. This was to get around the incompatibility in structure passing between gcc an cc on the Sun-4. The first patch below is for /usr/include/sun4c/a.out.h and this is needed only to get around a bug in the current version of gcc. The same holds for all the other places where I have removed a quote character in a comment: /* ... ' ... */ /* ... ... */ The patch to overhead/class/machdep/sun_sparc/makedo.csh should probably be done more cleanly: a configuration option should determine what extra libraries (if any) are to be accessed by makedo. Do the patches break anything for other compilers? I do not know! I hope not, but look through the patches before you apply them. Does everything work? I do not know that either... Everything that we have tried has worked, but andrew is BIG... *** /usr/include/sun4c/a.out.h~ Fri May 26 03:57:09 1989 --- /usr/include/sun4c/a.out.h Tue Jan 23 13:29:49 1990 *************** *** 46,52 **** #define N_DATOFF(x) /* data segment */ \ (N_TXTOFF(x) + (x).a_text) ! #define N_TRELOFF(x) /* text reloc'n */ \ (N_DATOFF(x) + (x).a_data) #define N_DRELOFF(x) /* data relocation*/ \ --- 46,52 ---- #define N_DATOFF(x) /* data segment */ \ (N_TXTOFF(x) + (x).a_text) ! #define N_TRELOFF(x) /* text relocation */ \ (N_DATOFF(x) + (x).a_data) #define N_DRELOFF(x) /* data relocation*/ \ *** overhead/class/machdep/sun_sparc/makedo.csh.org Wed Nov 22 19:32:01 1989 --- overhead/class/machdep/sun_sparc/makedo.csh Tue Jan 23 17:36:54 1990 *************** *** 78,84 **** if (! $?entrypoint) then set entrypoint=_${outfile:r}__GetClassInfo endif ! ld -r -o ${outfile:r}.dog $filelist ${libdir}/libcx.a | egrep "ld:" ${bindir}/dofix -e $entrypoint ${outfile:r}.dog set retcode=$status if (! $?gflag) rm ${outfile:r}.dog --- 78,84 ---- if (! $?entrypoint) then set entrypoint=_${outfile:r}__GetClassInfo endif ! ld -r -o ${outfile:r}.dog $filelist ${libdir}/libcx.a /usr/local/lib/gcc-gnulib | egrep "ld:" ${bindir}/dofix -e $entrypoint ${outfile:r}.dog set retcode=$status if (! $?gflag) rm ${outfile:r}.dog *** atk/typescript/tscript.c.org Thu Jan 18 15:52:48 1990 --- atk/typescript/tscript.c Tue Jan 23 15:17:20 1990 *************** *** 999,1005 **** of the encoding of ioctl's. BUT it compiles correctly with the ioctl.h from either 4.2 or 4.3. What can you do? Note that the ON flag is passed by reference in 4.3, by value in 4.2 */ ! #if defined(__STDC__) && !defined(__HIGHC__) if (ioctl (tp->SubChannel, _IOW('t', TIOCREMOTE&0xff, int), &ON) == -1) ioctl (tp->SubChannel, _IO('t', TIOCREMOTE&0xff), ON); #else /* defined(__STDC__) && !defined(__HIGHC__) */ --- 999,1005 ---- of the encoding of ioctl's. BUT it compiles correctly with the ioctl.h from either 4.2 or 4.3. What can you do? Note that the ON flag is passed by reference in 4.3, by value in 4.2 */ ! #if (defined(__STDC__) || defined(__unix__)) && !defined(__HIGHC__) if (ioctl (tp->SubChannel, _IOW('t', TIOCREMOTE&0xff, int), &ON) == -1) ioctl (tp->SubChannel, _IO('t', TIOCREMOTE&0xff), ON); #else /* defined(__STDC__) && !defined(__HIGHC__) */ *** atk/ness/objects/nodeclss.c.org Wed Nov 22 18:21:41 1989 --- atk/ness/objects/nodeclss.c Tue Jan 23 19:41:23 1990 *************** *** 226,229 **** --- 226,230 ---- /* bingo */ PutNodeClass(); else PutToken(); + exit(0); } *** contrib/m3text/m3text.c.org Thu Jan 18 15:53:32 1990 --- contrib/m3text/m3text.c Tue Jan 23 21:15:42 1990 *************** *** 532,540 **** int level; { long temp; ! compressv_HideBoxes(NULL); temp=super_Write(self,file,writeID,level); ! compressv_UnhideBoxes(NULL); return temp; } --- 532,540 ---- int level; { long temp; ! compressv_HideBoxes(); temp=super_Write(self,file,writeID,level); ! compressv_UnhideBoxes(); return temp; } *** contrib/m3text/m3textv.c.org Wed Nov 22 18:46:14 1989 --- contrib/m3text/m3textv.c Tue Jan 23 21:20:54 1990 *************** *** 357,363 **** return; } fn = compress_New(); ! compressv_HideBoxes(NULL); pos= m3textview_GetDotPosition(self); len= m3textview_GetDotLength(self); if (len==0 && m3text_GetChar(ct,pos)=='\n') pos--; --- 357,363 ---- return; } fn = compress_New(); ! compressv_HideBoxes(); pos= m3textview_GetDotPosition(self); len= m3textview_GetDotLength(self); if (len==0 && m3text_GetChar(ct,pos)=='\n') pos--; *************** *** 366,372 **** if (compress_IsHidden(fn,ct,pos+1)) { compress_Destroy(fn); ! compressv_UnhideBoxes(NULL); return; } /*if (environment_Remove(ct->header.text.rootEnvironment,pos,len, environment_Style,FALSE))*/ --- 366,372 ---- if (compress_IsHidden(fn,ct,pos+1)) { compress_Destroy(fn); ! compressv_UnhideBoxes(); return; } /*if (environment_Remove(ct->header.text.rootEnvironment,pos,len, environment_Style,FALSE))*/ *************** *** 377,383 **** fn->parentview=(struct textview *)(self->header.view.dataobject); compressv_MakeBox(fn); ! compressv_UnhideBoxes(NULL); m3text_RegionModified(ct,mark_GetPos(fn->cpmark)-1, mark_GetLength(fn->cpmark)+1); m3textview_CollapseDot(self); m3text_NotifyObservers(ct,0); --- 377,383 ---- fn->parentview=(struct textview *)(self->header.view.dataobject); compressv_MakeBox(fn); ! compressv_UnhideBoxes(); m3text_RegionModified(ct,mark_GetPos(fn->cpmark)-1, mark_GetLength(fn->cpmark)+1); m3textview_CollapseDot(self); m3text_NotifyObservers(ct,0); *************** *** 405,411 **** if (m3text_GetChar(ct,oldpos)=='\n') oldpos--; curInd=compress_CurrentIndentation(ct,oldpos); m3textview_CollapseDot(self); ! compressv_HideBoxes(NULL); while (pos>0) { fn=compress_New(); --- 405,411 ---- if (m3text_GetChar(ct,oldpos)=='\n') oldpos--; curInd=compress_CurrentIndentation(ct,oldpos); m3textview_CollapseDot(self); ! compressv_HideBoxes(); while (pos>0) { fn=compress_New(); *************** *** 427,433 **** } else compress_Destroy(fn); } ! compressv_UnhideBoxes(NULL); m3text_NotifyObservers(ct,0); im_SetWindowCursor(im,NULL); /*RSKadd*/ } --- 427,433 ---- } else compress_Destroy(fn); } ! compressv_UnhideBoxes(); m3text_NotifyObservers(ct,0); im_SetWindowCursor(im,NULL); /*RSKadd*/ } *************** *** 437,443 **** struct m3textview *self; long key; { ! compressv_DecompressAll(NULL); } /*-----------------RSKmod copied from 'compile.c'-------------------*/ --- 437,443 ---- struct m3textview *self; long key; { ! compressv_DecompressAll(); } /*-----------------RSKmod copied from 'compile.c'-------------------*/ *** contrib/rctext/rctext.c.org Thu Jan 18 15:53:33 1990 --- contrib/rctext/rctext.c Tue Jan 23 22:03:15 1990 *************** *** 127,135 **** long temp; if (len > 0 && rctext_GetChar(self, len - 1) != '\n') rctext_InsertCharacters(self, len, "\n", 1); ! compressv_HideBoxes(NULL); /*RSKadd*/ temp=super_Write(self, file, id, level); ! compressv_UnhideBoxes(NULL); /*RSKadd*/ return temp; } --- 127,135 ---- long temp; if (len > 0 && rctext_GetChar(self, len - 1) != '\n') rctext_InsertCharacters(self, len, "\n", 1); ! compressv_HideBoxes(); /*RSKadd*/ temp=super_Write(self, file, id, level); ! compressv_UnhideBoxes(); /*RSKadd*/ return temp; } *** contrib/rctext/rctextv.c.org Wed Nov 22 18:47:22 1989 --- contrib/rctext/rctextv.c Tue Jan 23 22:05:59 1990 *************** *** 413,419 **** return; } fn = compress_New(); ! compressv_HideBoxes(NULL); pos= rctextview_GetDotPosition(self); len= rctextview_GetDotLength(self); if (len==0 && rctext_GetChar(ct,pos)=='\n') pos--; --- 413,419 ---- return; } fn = compress_New(); ! compressv_HideBoxes(); pos= rctextview_GetDotPosition(self); len= rctextview_GetDotLength(self); if (len==0 && rctext_GetChar(ct,pos)=='\n') pos--; *************** *** 422,428 **** if (compress_IsHidden(fn,ct,pos+1)) { compress_Destroy(fn); ! compressv_UnhideBoxes(NULL); return; } /*if (environment_Remove(ct->header.text.rootEnvironment,pos,len, environment_Style,FALSE))*/ --- 422,428 ---- if (compress_IsHidden(fn,ct,pos+1)) { compress_Destroy(fn); ! compressv_UnhideBoxes(); return; } /*if (environment_Remove(ct->header.text.rootEnvironment,pos,len, environment_Style,FALSE))*/ *************** *** 433,439 **** fn->parentview=(struct textview *)(self->header.view.dataobject); compressv_MakeBox(fn); ! compressv_UnhideBoxes(NULL); rctext_RegionModified(ct,mark_GetPos(fn->cpmark)-1, mark_GetLength(fn->cpmark)+1); rctextview_CollapseDot(self); rctext_NotifyObservers(ct,0); --- 433,439 ---- fn->parentview=(struct textview *)(self->header.view.dataobject); compressv_MakeBox(fn); ! compressv_UnhideBoxes(); rctext_RegionModified(ct,mark_GetPos(fn->cpmark)-1, mark_GetLength(fn->cpmark)+1); rctextview_CollapseDot(self); rctext_NotifyObservers(ct,0); *************** *** 461,467 **** if (rctext_GetChar(ct,oldpos)=='\n') oldpos--; curInd=compress_CurrentIndentation(ct,oldpos); rctextview_CollapseDot(self); ! compressv_HideBoxes(NULL); while (pos>0) { fn=compress_New(); --- 461,467 ---- if (rctext_GetChar(ct,oldpos)=='\n') oldpos--; curInd=compress_CurrentIndentation(ct,oldpos); rctextview_CollapseDot(self); ! compressv_HideBoxes(); while (pos>0) { fn=compress_New(); *************** *** 483,489 **** } else compress_Destroy(fn); } ! compressv_UnhideBoxes(NULL); rctext_NotifyObservers(ct,0); im_SetWindowCursor(im,NULL); /*RSKadd*/ } --- 483,489 ---- } else compress_Destroy(fn); } ! compressv_UnhideBoxes(); rctext_NotifyObservers(ct,0); im_SetWindowCursor(im,NULL); /*RSKadd*/ } *************** *** 493,497 **** struct rctextview *self; long key; { ! compressv_DecompressAll(NULL); } --- 493,497 ---- struct rctextview *self; long key; { ! compressv_DecompressAll(); } *** contrib/rmtext/rmtext.c.org Thu Jan 18 15:53:35 1990 --- contrib/rmtext/rmtext.c Wed Jan 24 09:45:42 1990 *************** *** 522,530 **** int level; { long temp; ! compressv_HideBoxes(NULL); temp=super_Write(self,file,writeID,level); ! compressv_UnhideBoxes(NULL); return temp; } --- 522,530 ---- int level; { long temp; ! compressv_HideBoxes(); temp=super_Write(self,file,writeID,level); ! compressv_UnhideBoxes(); return temp; } *** contrib/rmtext/rmtextv.c.org Wed Nov 22 18:47:37 1989 --- contrib/rmtext/rmtextv.c Wed Jan 24 09:48:34 1990 *************** *** 418,424 **** return; } fn = compress_New(); ! compressv_HideBoxes(NULL); pos = rmtextview_GetDotPosition(self); len = rmtextview_GetDotLength(self); if (len==0 && rmtext_GetChar(ct,pos)=='\n') pos--; --- 418,424 ---- return; } fn = compress_New(); ! compressv_HideBoxes(); pos = rmtextview_GetDotPosition(self); len = rmtextview_GetDotLength(self); if (len==0 && rmtext_GetChar(ct,pos)=='\n') pos--; *************** *** 427,433 **** if (compress_IsHidden(fn,ct,pos+1)) { compress_Destroy(fn); ! compressv_UnhideBoxes(NULL); return; } /*if (environment_Remove(ct->header.text.rootEnvironment,pos,len, environment_Style,FALSE))*/ --- 427,433 ---- if (compress_IsHidden(fn,ct,pos+1)) { compress_Destroy(fn); ! compressv_UnhideBoxes(); return; } /*if (environment_Remove(ct->header.text.rootEnvironment,pos,len, environment_Style,FALSE))*/ *************** *** 438,444 **** fn->parentview=(struct textview *)(self->header.view.dataobject); compressv_MakeBox(fn); ! compressv_UnhideBoxes(NULL); rmtext_RegionModified(ct,mark_GetPos(fn->cpmark)-1, mark_GetLength(fn->cpmark)+1); rmtextview_CollapseDot(self); rmtext_NotifyObservers(ct,0); --- 438,444 ---- fn->parentview=(struct textview *)(self->header.view.dataobject); compressv_MakeBox(fn); ! compressv_UnhideBoxes(); rmtext_RegionModified(ct,mark_GetPos(fn->cpmark)-1, mark_GetLength(fn->cpmark)+1); rmtextview_CollapseDot(self); rmtext_NotifyObservers(ct,0); *************** *** 465,471 **** if (rmtext_GetChar(ct,oldpos)=='\n') oldpos--; curInd=compress_CurrentIndentation(ct,oldpos); rmtextview_CollapseDot(self); ! compressv_HideBoxes(NULL); while (pos>0) { fn=compress_New(); --- 465,471 ---- if (rmtext_GetChar(ct,oldpos)=='\n') oldpos--; curInd=compress_CurrentIndentation(ct,oldpos); rmtextview_CollapseDot(self); ! compressv_HideBoxes(); while (pos>0) { fn=compress_New(); *************** *** 487,493 **** } else compress_Destroy(fn); } ! compressv_UnhideBoxes(NULL); rmtext_NotifyObservers(ct,0); im_SetWindowCursor(im,NULL); /*RSKadd*/ } --- 487,493 ---- } else compress_Destroy(fn); } ! compressv_UnhideBoxes(); rmtext_NotifyObservers(ct,0); im_SetWindowCursor(im,NULL); /*RSKadd*/ } *************** *** 496,502 **** struct rmtextview *self; long key; { ! compressv_DecompressAll(NULL); } /*-----------------RSKmod copied from 'compile.c'-------------------*/ --- 496,502 ---- struct rmtextview *self; long key; { ! compressv_DecompressAll(); } /*-----------------RSKmod copied from 'compile.c'-------------------*/ *** contrib/tm/tm.c.org Wed Nov 22 18:47:51 1989 --- contrib/tm/tm.c Wed Jan 24 10:04:35 1990 *************** *** 930,937 **** --- 930,953 ---- } static int ON=1; + #if (defined(__STDC__) || defined(__unix__)) && !defined(__HIGHC__) #define ENTER_TIOCREMOTE(self) \ (self->remote || \ + ((ioctl(fileno(self->ptyFile),_IOW('t',TIOCREMOTE&0xff,int),&ON)!=-1 || \ + ioctl(fileno(self->ptyFile),_IO('t',TIOCREMOTE&0xff),ON)!=-1) && \ + (/*fprintf(stderr,"Into TIOCREMOTE mode.\n"),*/self->remote++))) + + #ifndef INCORRECTSIGNALS + static int OFF=0; + #define LEAVE_TIOCREMOTE(self) \ + (!self->remote || \ + ((ioctl(fileno(self->ptyFile),_IOW('t',TIOCREMOTE&0xff,int),&OFF)!=-1 || \ + ioctl(fileno(self->ptyFile),_IO('t',TIOCREMOTE&0xff),OFF)!=-1) && \ + (/*fprintf(stderr,"Out of TIOCREMOTE mode.\n"),*/self->remote--,TRUE))) + #endif /* INCORRECTSIGNALS */ + #else /* (defined(__STDC__) || defined(__unix__)) && !defined(__HIGHC__) */ + #define ENTER_TIOCREMOTE(self) \ + (self->remote || \ ((ioctl(fileno(self->ptyFile),_IOW(t,TIOCREMOTE&0xff,int),&ON)!=-1 || \ ioctl(fileno(self->ptyFile),_IO(t,TIOCREMOTE&0xff),ON)!=-1) && \ (/*fprintf(stderr,"Into TIOCREMOTE mode.\n"),*/self->remote++))) *************** *** 944,949 **** --- 960,966 ---- ioctl(fileno(self->ptyFile),_IO(t,TIOCREMOTE&0xff),OFF)!=-1) && \ (/*fprintf(stderr,"Out of TIOCREMOTE mode.\n"),*/self->remote--,TRUE))) #endif /* INCORRECTSIGNALS */ + #endif /* (defined(__STDC__) || defined(__unix__)) && !defined(__HIGHC__) */ int termulator__StartProcess(self,args) struct termulator *self; *** odatrans/ileaf/ascii-reader/src/ar5defs.h.org Wed Nov 22 19:15:25 1989 --- odatrans/ileaf/ascii-reader/src/ar5defs.h Wed Jan 24 13:17:13 1990 *************** *** 1572,1578 **** #endif #define BufEnter(thingP, whereP) \ ! /** make caller's buffer refer to this item. **/ \ { /** note this is the LONGALIGNED way to do this. **/ \ register short *sP; \ register int i; \ --- 1572,1578 ---- #endif #define BufEnter(thingP, whereP) \ ! /** make callers buffer refer to this item. **/ \ { /** note this is the LONGALIGNED way to do this. **/ \ register short *sP; \ register int i; \ *** odatrans/ileaf/ascii-reader/src/ar5private.h.org Wed Nov 22 19:16:22 1989 --- odatrans/ileaf/ascii-reader/src/ar5private.h Wed Jan 24 13:19:30 1990 *************** *** 49,55 **** Version date who what ------- ------ --- ----------------------------------------------- 6.27 06sep89 mss Copyrights, Imakefile and other modifications for ! X tape distribution as part of CMU's interleaf to oda translator 6.26 29aug89 kint Assorted "cleanup" for gcc by MD. (See xops.ar6) Fixed loss of table footer border info (ar5table.c) --- 49,55 ---- Version date who what ------- ------ --- ----------------------------------------------- 6.27 06sep89 mss Copyrights, Imakefile and other modifications for ! X tape distribution as part of CMUs interleaf to oda translator 6.26 29aug89 kint Assorted "cleanup" for gcc by MD. (See xops.ar6) Fixed loss of table footer border info (ar5table.c) Johan Widen SICS, PO Box 1263, S-164 28 KISTA, SWEDEN Internet: jw@sics.se Tel: +46 8 752 15 32 Ttx: 812 61 54 SICS S Fax: +46 8 751 72 30 \enddata{text822, 192145} \begindata{text822, 211396} Return-path: X-Andrew-Authenticated-as: 13;andrew.cmu.edu;Fred Hansen Received: from bangor.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl) ID ; Thu, 25 Jan 90 10:26:20 -0500 (EST) If-Type-Unsupported: alter Received: from bangor.andrew.cmu.edu via qmail ID ; Thu, 25 Jan 90 10:25:45 -0500 (EST) Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.bangor.andrew.cmu.edu.rt.r3 via MS.5.6.bangor.andrew.cmu.edu.rt_r3; Thu, 25 Jan 90 10:25:44 -0500 (EST) Message-ID: Date: Thu, 25 Jan 90 10:25:44 -0500 (EST) From: Fred Hansen X-Andrew-Message-Size: 450+0 Content-Type: X-BE2; 12 To: Info-Andrew Subject: Re: R4 tape on SPARC In-Reply-To: <8ZjUx9y0M2YtAXhERK@thumper.bellcore.com> References: <8ZjUx9y0M2YtAXhERK@thumper.bellcore.com> \begindata{text,270372492} \textdsversion{12} \template{messages} \excerptedcaption{Excerpts from internet.info-andrew: 24-Jan-90 R4 tape on SPARC Nathaniel Borenstein@thu (2172)} \quotation{Now, the insets redisplay, and then text redisplays, }\quotation{whiting out the insets, after which the insets redisplay again. } This may be due to a fix intended to make rasters display correctly. A FullUpdate with view_Remove is sent to insets, but textview_FullUpdate converts it to view_FullRedraw. (Rasters still don't align properly in their space anyway.)\ \enddata{text,270372492} \enddata{text822, 211396} \begindata{text822, 213170} 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-strip.dl) ID ; Thu, 25 Jan 90 12:16:16 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Thu, 25 Jan 90 12:13:34 -0500 (EST) Received: from thumper.bellcore.com by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Thu, 25 Jan 90 12:10:16 EST Received: by thumper.bellcore.com (5.54/4.7) id AA26376; Thu, 25 Jan 90 12:08:50 EST Received: by greenbush.bellcore.com (4.12/4.7) id AA29220; Thu, 25 Jan 90 12:09:33 est Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.greenbush.sins.sun4.40 via MS.5.6.greenbush.sins.sun4_40; Thu, 25 Jan 90 12:09:30 -0500 (EST) Message-Id: Date: Thu, 25 Jan 90 12:09:30 -0500 (EST) From: Nathaniel Borenstein X-Andrew-Message-Size: 506+0 Content-Type: X-BE2; 12 If-Type-Unsupported: alter To: info-andrew@andrew.cmu.edu Subject: Re: Andrew mods to gdb In-Reply-To: <900124-134529-6003@Xerox> References: <900124-134529-6003@Xerox> \begindata{text,2485840} \textdsversion{12} \template{messages} You no longer need any ITC modifications -- all you need is a sufficiently recent version of gdb. I think gdb 3.0 or later will suffice. You can just use the "add-file" command with a relocation address, e.g. add-file foo.dog 0x1048bd (Warning -- semi-commercial plug follows) You can find a more complete explanation of debugging dynamically loaded ATK files in Appendix D of my book, \italic{Multimedia Applications Development with the Andrew Toolkit}, published by Prentice Hall. Good luck. -- Nathaniel \enddata{text,2485840} \enddata{text822, 213170} \begindata{text822, 215221} Return-path: X-Andrew-Authenticated-as: 602;andrew.cmu.edu;Adam Stoller Received: from fishtank.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl) ID ; Thu, 25 Jan 90 14:02:00 -0500 (EST) Received: from fishtank.andrew.cmu.edu via qmail ID ; Thu, 25 Jan 90 14:01:28 -0500 (EST) Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.fishtank.andrew.cmu.edu.sun3.35 via MS.5.6.fishtank.andrew.cmu.edu.sun3_35; Thu, 25 Jan 90 14:01:27 -0500 (EST) Message-ID: Date: Thu, 25 Jan 90 14:01:27 -0500 (EST) From: Adam Stoller X-Andrew-Message-Size: 926+0 Content-Type: X-BE2; 12 If-Type-Unsupported: alter To: Info-Andrew Subject: Re: Andrew mods to gdb In-Reply-To: References: <900124-134529-6003@Xerox>, \begindata{text,2813264} \textdsversion{12} \template{messages} \excerptedcaption{Excerpts from internet.info-andrew: 25-Jan-90 Re: Andrew mods to gdb Nathaniel Borenstein@thu (506+0)} \quotation{You no longer need any ITC modifications -- all you need is a sufficiently recent version of gdb. I think gdb 3.0 or later will suffice. You can just use the "add-file" command with a relocation address, e.g. } \quotation{add-file foo.dog 0x1048bd } uhm, I don't know whether it's only a local situation, but: a) I don't think there is a gdb-3.x available for the RT's currently (and/or that works with the various 'hc' compilers *sigh*), and b) the version we have of 3.x on the suns here doesn't work for our dynamic objects. (it's got a lot of very nice features, but when you try to load the .dog file, it complains about a bad argument to free, or something, and exits) I'd offer you the modifications for gdb-2.x but I don't, personally, know that much about it, perhaps someone else here might be able to assisit. --fish \enddata{text,2813264} \enddata{text822, 215221} \begindata{text822, 217523} 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-strip.dl) ID ; Thu, 25 Jan 90 14:20:52 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Thu, 25 Jan 90 14:18:19 -0500 (EST) Received: from ucbvax.Berkeley.EDU by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Thu, 25 Jan 90 14:15:29 EST Received: by ucbvax.Berkeley.EDU (5.61/1.41) id AA09287; Thu, 25 Jan 90 11:02:15 -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: 25 Jan 90 18:59:46 GMT From: pasteur!jwz%teak.berkeley.edu@ucbvax.Berkeley.EDU (Jamie Zawinski) Subject: RE: $forceformat in .AMS_aliases Message-Id: <21439@pasteur.Berkeley.EDU> Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu In article nsb@THUMPER.BELLCORE.COM (Nathaniel Borenstein) writes: > I'd love to see someone make the $force line matching more intelligent, > but it is really a pretty hard problem, if I recall correctly. -- > Nathaniel Whay is it so hard? Shouldn't you be able to just parse both addresses (the one in the message and the one in the aliases file) into some canonical form before comparing them? As long as they're internet addresses, it seems pretty straightforward to me. -- Jamie \enddata{text822, 217523} \begindata{text822, 219302} 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-strip.dl) ID ; Thu, 25 Jan 90 16:58:03 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Thu, 25 Jan 90 16:52:28 -0500 (EST) Received: from thumper.bellcore.com by po3.andrew.cmu.edu (5.54/3.15) id ; Thu, 25 Jan 90 14:19:42 EST Received: by thumper.bellcore.com (5.54/4.7) id AA02872; Thu, 25 Jan 90 14:18:16 EST Received: by greenbush.bellcore.com (4.12/4.7) id AA29664; Thu, 25 Jan 90 14:19:01 est Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.greenbush.sins.sun4.40 via MS.5.6.greenbush.sins.sun4_40; Thu, 25 Jan 90 14:18:58 -0500 (EST) Message-Id: Date: Thu, 25 Jan 90 14:18:58 -0500 (EST) From: Nathaniel Borenstein To: info-andrew@andrew.cmu.edu Subject: Re: Andrew mods to gdb In-Reply-To: References: <900124-134529-6003@Xerox>, All I really know is that gdb 3.4 seems to work fine with dynamic objects on SunOS 4.0.3c on the Sun4, and a similar version of SunOS on the Sun3. -- Nathaniel \enddata{text822, 219302} \begindata{text822, 220869} Return-path: X-Andrew-Authenticated-as: 602;andrew.cmu.edu;Adam Stoller Received: from fish.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl) ID ; Thu, 25 Jan 90 17:03:47 -0500 (EST) Received: from fish.andrew.cmu.edu via qmail ID ; Thu, 25 Jan 90 17:02:51 -0500 (EST) Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.fish.andrew.cmu.edu.rt.r3 via MS.5.6.fish.andrew.cmu.edu.rt_r3; Thu, 25 Jan 90 17:02:50 -0500 (EST) Message-ID: Date: Thu, 25 Jan 90 17:02:50 -0500 (EST) From: Adam Stoller X-Andrew-Message-Size: 251+0 Content-Type: X-BE2; 12 If-Type-Unsupported: alter To: Info-Andrew Subject: Re: Andrew mods to gdb In-Reply-To: References: <900124-134529-6003@Xerox>, , \begindata{text,270598512} \textdsversion{12} \template{messages} (2nd attempt) I had previously said that gdb v3.0 did not work with our dynamic objects on the sun. I just tried gdb v3.4 on my sun - and it appears to work with our dynamic objects. So - 3.4 (or later?) is the version you want [for suns]. --fish \enddata{text,270598512} \enddata{text822, 220869} \begindata{text822, 222461} 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-strip.dl) ID ; Thu, 25 Jan 90 17:59:17 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Thu, 25 Jan 90 17:55:28 -0500 (EST) Received: from thumper.bellcore.com by po3.andrew.cmu.edu (5.54/3.15) id ; Thu, 25 Jan 90 15:13:48 EST Received: by thumper.bellcore.com (5.54/4.7) id AA05328; Thu, 25 Jan 90 15:12:25 EST Received: by greenbush.bellcore.com (4.12/4.7) id AA00407; Thu, 25 Jan 90 15:13:10 est Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.greenbush.sins.sun4.40 via MS.5.6.greenbush.sins.sun4_40; Thu, 25 Jan 90 15:13:06 -0500 (EST) Message-Id: Date: Thu, 25 Jan 90 15:13:06 -0500 (EST) From: Nathaniel Borenstein X-Andrew-Message-Size: 891+0 Content-Type: X-BE2; 12 If-Type-Unsupported: alter To: info-andrew+@andrew.cmu.edu Subject: Re: $forceformat in .AMS_aliases In-Reply-To: <21439@pasteur.Berkeley.EDU> References: <21439@pasteur.Berkeley.EDU> \begindata{text,2582392} \textdsversion{12} \template{messages} \excerptedcaption{Excerpts from info-andrew: 25-Jan-90 RE: $forceformat in .AMS_al.. Jamie Zawinski@ucbvax.be (534)} \quotation{Whay is it so hard? Shouldn't you be able to just parse both addresses (the }\quotation{one in the message and the one in the aliases file) into some canonical form }\quotation{before comparing them? As long as they're internet addresses, it seems }\quotation{pretty straightforward to me. } Two problems: 1. What is "some canonical form" -- that's less well defined than you think, even for Internet addresses. 2. The way the code works, the parsed version of the address is not available when this check is done -- it would require either some major restructuring of the code (which is a very complex piece nobody wants to touch gratuitously) or an extra parse. Certainly it could be done. The question is who, if anyone wants to take the time. (Count me out on this one; I can easily suffer with it the way it is...) \enddata{text,2582392} \enddata{text822, 222461} \begindata{text822, 224966} Return-path: X-Andrew-Authenticated-as: 602;andrew.cmu.edu;Adam Stoller Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl) ID ; Thu, 25 Jan 90 19:04:12 -0500 (EST) Received: from po2.andrew.cmu.edu via qmail ID ; Thu, 25 Jan 90 19:02:21 -0500 (EST) Received: from po5.andrew.cmu.edu via qmail ID ; Thu, 25 Jan 90 16:38:15 -0500 (EST) Received: from fishtank.andrew.cmu.edu via qmail ID ; Thu, 25 Jan 90 16:36:16 -0500 (EST) Received: from fishtank.andrew.cmu.edu via qmail ID ; Thu, 25 Jan 90 16:24:37 -0500 (EST) Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.fishtank.andrew.cmu.edu.sun3.35 via MS.5.6.fishtank.andrew.cmu.edu.sun3_35; Thu, 25 Jan 90 16:24:35 -0500 (EST) Message-ID: <8ZjquHq00as9Q63UVl@andrew.cmu.edu> Date: Thu, 25 Jan 90 16:24:35 -0500 (EST) From: Adam Stoller X-Andrew-Message-Size: 266+0 Content-Type: X-BE2; 12 If-Type-Unsupported: alter To: Info-Andrew Subject: Re: Andrew mods to gdb In-Reply-To: References: <900124-134529-6003@Xerox>, , \begindata{text,2009660} \textdsversion{12} [update] I just tried gdb 3.4 (it's soon to replace the 3.0 version here) on my sun - and.....it works with the dynamic objects (yay!) So, at least for the suns, you probably want to get at least version 3.4 of gdb. (still no info for RT's though, sorry) --fish \enddata{text,2009660} \enddata{text822, 224966} \begindata{text822, 227068} 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-strip.dl) ID ; Fri, 26 Jan 90 10:31:31 -0500 (EST) Received: from po5.andrew.cmu.edu via qmail ID ; Fri, 26 Jan 90 10:29:01 -0500 (EST) If-Type-Unsupported: alter Received: from po3.andrew.cmu.edu via qmail ID ; Fri, 26 Jan 90 10:27:00 -0500 (EST) Received: from sparc01.icase.edu ([192.42.142.50]) by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Fri, 26 Jan 90 10:25:57 EST Received: by sparc01.icase.edu (4.0/SMI-DDN) id AA06916; Fri, 26 Jan 90 10:22:52 EST Received: from Version.6.23.N.CUILIB.3.44.SNAP.NOT.LINKED.sparc01.Unknown.Machine.Type via MS.5.5.sparc01.sun4_40; Fri, 26 Jan 90 10:22:48 -0500 (EST) Message-Id: Date: Fri, 26 Jan 90 10:22:48 -0500 (EST) From: Tom Crockett X-Andrew-Message-Size: 1107+0 Content-Type: X-BE2; 12 To: Nathaniel Borenstein Subject: Re: R4 tape on SPARC Cc: info-andrew@andrew.cmu.edu In-Reply-To: <8ZjUx9y0M2YtAXhERK@thumper.bellcore.com> References: <8ZjUx9y0M2YtAXhERK@thumper.bellcore.com> \begindata{text, 1465036} \textdsversion{12} \template{messages} \bold{\quotation{Excerpts from info-andrew: 24-Jan-90 R4 tape on SPARC Nathaniel Borenstein@thu (2173)}} \quotation{If other people report similar troubles on the SPARC, you might} \quotation{tell them to get rid of the -O and recompile.} Thanks for posting about your problems on the SPARC! I've just finished building Andrew from the R4 tape + patches 1 & 2 with \typewriter{CDEBUGFLAGS = -O -pipe}, and I've been sitting here scratching my head about what to do next, since nearly all of the atk apps dump core without ever mapping a window (there are a few exceptions, such as \italic{ez} and \italic{typescript}). Guess I'll try rebuilding it without the -O. On a related note, my reading of the installation instructions and the man page for \italic{make(1)} would lead me to believe that I need to put a \typewriter{#define ConstructMFLAGS} in my \bold{site.mcr} file under SunOS 4.0.3c. Is this a correct interpretation? \italic{Tom Crockett} \smaller{\bold{ICASE} Institute for Computer Applications in Science and Engineering \smaller{M.S. 132C e-mail: tom@icase.edu NASA Langley Research Center phone: (804) 864-2182 Hampton, VA 23665-5225 } \smaller{ }}\smaller{ } \enddata{text,1465036} \enddata{text822, 227068} \begindata{text822, 230031} 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-strip.dl) ID ; Fri, 26 Jan 90 10:51:44 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Fri, 26 Jan 90 10:50:05 -0500 (EST) Received: from thumper.bellcore.com by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Fri, 26 Jan 90 10:48:03 EST Received: by thumper.bellcore.com (5.54/4.7) id AA10892; Fri, 26 Jan 90 10:46:46 EST Received: by greenbush.bellcore.com (4.12/4.7) id AA01621; Fri, 26 Jan 90 10:47:35 est Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.greenbush.sins.sun4.40 via MS.5.6.greenbush.sins.sun4_40; Fri, 26 Jan 90 10:47:33 -0500 (EST) Message-Id: Date: Fri, 26 Jan 90 10:47:33 -0500 (EST) From: Nathaniel Borenstein To: Tom Crockett Subject: Re: R4 tape on SPARC Cc: info-andrew@andrew.cmu.edu In-Reply-To: References: <8ZjUx9y0M2YtAXhERK@thumper.bellcore.com>, I didn't add anything for ConstructMFLAGS, and it seemed to work fine (at least once I got rid of the -O flag). Given the independent confirmation from Tom, I'd suggest more strongly now that -O should not be the default on the Sun4. -- Nathaniel \enddata{text822, 230031} \begindata{text822, 231718} 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-strip.dl) ID ; Fri, 26 Jan 90 10:55:02 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Fri, 26 Jan 90 10:52:40 -0500 (EST) Received: from thumper.bellcore.com by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Fri, 26 Jan 90 10:50:29 EST Received: by thumper.bellcore.com (5.54/4.7) id AA10951; Fri, 26 Jan 90 10:49:02 EST Received: by greenbush.bellcore.com (4.12/4.7) id AA01626; Fri, 26 Jan 90 10:49:45 est Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.greenbush.sins.sun4.40 via MS.5.6.greenbush.sins.sun4_40; Fri, 26 Jan 90 10:49:43 -0500 (EST) Message-Id: <0Zk76LG0M2Yt85y4hc@thumper.bellcore.com> Date: Fri, 26 Jan 90 10:49:43 -0500 (EST) From: Nathaniel Borenstein To: Tom Crockett Subject: PS -- Re: R4 tape on SPARC Cc: info-andrew@andrew.cmu.edu In-Reply-To: References: <8ZjUx9y0M2YtAXhERK@thumper.bellcore.com>, Do you suppose someone should report this problem to Sun? I mean, it is a reproducible problem in which the -O flag makes programs that otherwise work stop working. On the other hand, I'm sure they'll be really thrilled to have a reproducible bug that you have to compile nearly 50 megs of code to reproduce! -- Nathaniel \enddata{text822, 231718} \begindata{text822, 233487} 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-strip.dl) ID ; Fri, 26 Jan 90 11:46:27 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Fri, 26 Jan 90 11:45:23 -0500 (EST) Received: from dartvax.dartmouth.edu by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Fri, 26 Jan 90 11:44:14 EST Received: from northstar2.dartmouth.edu by dartvax.dartmouth.edu (5.61D1/4.0HUB) id AA17214; Fri, 26 Jan 90 11:44:02 -0500 Received: by northstar2.dartmouth.edu (5.51/3.3LEAF) id AA00683; Fri, 26 Jan 90 11:43:27 EST Date: Fri, 26 Jan 90 11:43:27 EST From: tobeye@northstar2.Dartmouth.EDU (Anthony Edwards) Message-Id: <9001261643.AA00683@northstar2.dartmouth.edu> Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.northstar2.rt.r3 via MS.5.6.northstar2.rt_r3; Fri, 26 Jan 90 11:43:26 -0500 (EST) Resent-Message-Id: <8Zk7sii1eVVaA0vc83@northstar.dartmouth.edu> Resent-Date: Fri, 26 Jan 90 11:43:26 -0500 (EST) Resent-From: Anthony Edwards If-Type-Unsupported: send Resent-To: info-andrew@andrew.cmu.edu Apparently-To: info-andrew@andrew.cmu.edu From tobeye Thu Jan 25 09:11:23 1990 Message-Id: Date: Thu, 25 Jan 90 09:11:05 -0500 (EST) From: Anthony Edwards X-Andrew-Message-Size: 1059+0 Content-Type: X-BE2; 12 To: info-andrew@andrew.cmu.edu Subject: $forceformat in .AMS_aliases Cc: "bb+official.andrew" \begindata{text,270188808} \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{notetotypesetter menu:[Region~4,NoteToTypesetter~61] attr:[Flags PassThru Int Set]} \define{literal menu:[Region~4,Literal~62] attr:[Flags PassThru Int Set]} I've just finished reading the \italic{ms-aliases} help file. I got excited about the commands $forceformat $forcestrip and I promptly tried it out, but they didn't work. This may be part of the problem: At our site, the AndrewSetup file has this setting: ThisDomain: northstar.dartmouth.edu And yet I am sending my mail from northstar2.dartmouth.edu. In my .AMS_aliases file, I have this entry: $forceformat tobeye@northstar.dartmouth.edu (and I also tried $forceformat tobeye) but whenever I try sending a mail message to myself (To: tobeye), I \bold{always} get prompted with the Formatting/No Formatting message. Just as a variation to see if this feature really works, I changed my .AMS_aliases file to: $forceformat tobeye@northstar26.dartmouth.edu And then sent a mail message: To: tobeye@northstar26 which did work fine as advertised. Any ideas what I may have done wrong? Is the problem that the domain is 'northstar.dartmouth.edu' and my current host is 'northstar2.dartmouth.edu' and the $forceformat directive just can't handle that? - \underline{Anthony} \enddata{text,270188808} \enddata{text822, 233487} \begindata{text822, 237363} 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-strip.dl) ID ; Fri, 26 Jan 90 12:59:32 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Fri, 26 Jan 90 12:57:48 -0500 (EST) Received: from ATHENA.MIT.EDU by po3.andrew.cmu.edu (5.54/3.15) id ; Fri, 26 Jan 90 12:14:57 EST Received: from OGLALA.MIT.EDU by ATHENA.MIT.EDU with SMTP id AA04012; Fri, 26 Jan 90 12:14:58 EST Received: by oglala.MIT.EDU (5.61/4.7) id AA18382; Fri, 26 Jan 90 12:14:06 -0500 Received: from cui.2.0.CUILIB.3.45.SNAP.NOT.LINKED.oglala.rt.r3 via MS.5.6.oglala.rt_r3; Fri, 26 Jan 90 12:14:01 -0500 (EST) Message-Id: Date: Fri, 26 Jan 90 12:14:01 -0500 (EST) From: Bill Cattey To: Info-Andrew Subject: Re: Andrew mods to gdb In-Reply-To: References: <900124-134529-6003@Xerox>, There is one slight problem with gdb version 3. No port yet exists for the RT. Anyone interested in helping write the necessary code, contact me, wdc@athena.mit.edu As soon as the port exists, we'll tell info-andrew, and try to get it into the gdb distribution. -wdc \enddata{text822, 237363} \begindata{text822, 238999} 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-strip.dl) ID ; Fri, 26 Jan 90 15:54:24 -0500 (EST) Received: from po5.andrew.cmu.edu via qmail ID ; Fri, 26 Jan 90 15:51:32 -0500 (EST) If-Type-Unsupported: alter Received: from po2.andrew.cmu.edu via qmail ID ; Fri, 26 Jan 90 15:50:37 -0500 (EST) Received: from sparc01.icase.edu ([192.42.142.50]) by po2.andrew.cmu.edu (5.54/3.15) id ; Fri, 26 Jan 90 15:34:44 EST Received: by sparc01.icase.edu (4.0/SMI-DDN) id AA06382; Fri, 26 Jan 90 15:29:04 EST Received: from Version.6.23.N.CUILIB.3.44.SNAP.NOT.LINKED.sparc01.Unknown.Machine.Type via MS.5.5.sparc01.sun4_40; Fri, 26 Jan 90 15:28:55 -0500 (EST) Message-Id: <0Zk=A7z0-csmQI-Hsw@sparc01> Date: Fri, 26 Jan 90 15:28:55 -0500 (EST) From: Tom Crockett X-Andrew-Message-Size: 543+0 Content-Type: X-BE2; 12 To: Nathaniel Borenstein Subject: Re: PS -- Re: R4 tape on SPARC Cc: info-andrew@andrew.cmu.edu In-Reply-To: <0Zk76LG0M2Yt85y4hc@thumper.bellcore.com> References: <8ZjUx9y0M2YtAXhERK@thumper.bellcore.com>, , <0Zk76LG0M2Yt85y4hc@thumper.bellcore.com> \begindata{text, 2124136} \textdsversion{12} \template{messages} \bold{\quotation{Excerpts from info-andrew: 26-Jan-90 PS -- Re: R4 tape on SPARC Nathaniel Borenstein@thu (0)}} \quotation{Do you suppose someone should report this problem to Sun? } Yes, someone should, along with the problem with \italic{sh} core dumping. I'm afraid I'm too swamped at the moment to worry about it though. Feel free :-). I rebuilt everything without -O and I'm still having the same problem with the apps core dumping, so I can't say for sure that -O is the problem. I guess my next move is to leave out the \typewriter{#define} for ConstructMFLAGS and try again. -Tom \enddata{text,2124136} \enddata{text822, 238999} \begindata{text822, 241348} 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-strip.dl) ID ; Fri, 26 Jan 90 17:51:05 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Fri, 26 Jan 90 17:49:53 -0500 (EST) Received: from thumper.bellcore.com by po3.andrew.cmu.edu (5.54/3.15) id ; Fri, 26 Jan 90 11:52:09 EST Received: by thumper.bellcore.com (5.54/4.7) id AA14133; Fri, 26 Jan 90 11:49:32 EST Received: by greenbush.bellcore.com (4.12/4.7) id AA01823; Fri, 26 Jan 90 11:50:19 est Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.greenbush.sins.sun4.40 via MS.5.6.greenbush.sins.sun4_40; Fri, 26 Jan 90 11:50:17 -0500 (EST) Message-Id: Date: Fri, 26 Jan 90 11:50:17 -0500 (EST) From: Nathaniel Borenstein To: Craig Everhart , bb+andrew.kudos@andrew.cmu.edu, info-andrew+@andrew.cmu.edu Subject: Kudos on alias validation I don't know how you did it, but somehow the latest version of Andrew seems to do just the right thing with our aliases file. After our various discussions on the topic, I wasn't even sure it was possible. I commend Craig, who I believe is responsible for this excellent state of affairs. -- Nathaniel \enddata{text822, 241348} \begindata{text822, 242999} 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-strip.dl) ID ; Fri, 26 Jan 90 20:36:46 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Fri, 26 Jan 90 20:35:47 -0500 (EST) Received: from khnphwzhn.njin.net by po3.andrew.cmu.edu (5.54/3.15) id ; Fri, 26 Jan 90 18:38:02 EST Received: by khnphwzhn.njin.net (5.59/SMI4.0/RU1.3/3.05) id AA01078; Fri, 26 Jan 90 18:37:14 EST Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.khnphwzhn.njin.net.sun4.40 via MS.5.6.khnphwzhn.njin.net.sun4_40; Fri, 26 Jan 90 18:37:11 -0500 (EST) Message-Id: Date: Fri, 26 Jan 90 18:37:11 -0500 (EST) From: Rocky - Rakesh Patel To: Tom Crockett , Nathaniel Borenstein Subject: Re: PS -- Re: R4 tape on SPARC Cc: info-andrew@andrew.cmu.edu In-Reply-To: <0Zk76LG0M2Yt85y4hc@thumper.bellcore.com> References: <8ZjUx9y0M2YtAXhERK@thumper.bellcore.com>, , <0Zk76LG0M2Yt85y4hc@thumper.bellcore.com> Actually, you might want to try using -O1... I found the same problem and recompiled without -O. I haven't tried -O1 yet, but it might help since -O really defaults to -O2. It might just work without the global optimization... Rakesh Patel. \enddata{text822, 242999} \begindata{text822, 244727} 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-strip.dl) ID ; Sat, 27 Jan 90 22:16:00 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Sat, 27 Jan 90 22:12:52 -0500 (EST) Received: from unix.cis.pitt.edu by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Sat, 27 Jan 90 22:11:45 EST Received: by unix.cis.pitt.edu (5.61/6.43) id AA06566; Sat, 27 Jan 90 22:11:26 -0500 Date: Sat, 27 Jan 90 22:11:26 -0500 From: Carl M. Fongheiser Message-Id: <9001280311.AA06566@unix.cis.pitt.edu> To: info-andrew@andrew.cmu.edu Subject: ltext inset? The FLAMES documentation suggests adding a line: addfiletype .flames ltext to one's .ezinit file. Unfortunately, there doesn't appear to be an ltext inset distributed, and it's an excellent way to make ez stop working for you. Was ltext supposed to be distributed? If not, shouldn't the documentation be changed? Carl Fongheiser cmf@unix.cis.pitt.edu \enddata{text822, 244727} \begindata{text822, 246086} 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-strip.dl) ID ; Sun, 28 Jan 90 00:38:28 -0500 (EST) Received: from po5.andrew.cmu.edu via qmail ID ; Sun, 28 Jan 90 00:37:14 -0500 (EST) If-Type-Unsupported: alter Received: from po3.andrew.cmu.edu via qmail ID ; Sun, 28 Jan 90 00:36:41 -0500 (EST) Received: from arisia.Xerox.COM by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Sun, 28 Jan 90 00:35:25 EST Received: from holmes.parc.Xerox.COM by arisia.Xerox.COM with SMTP (5.61+/IDA-1.2.8/gandalf) id AA15284; Sat, 27 Jan 90 21:34:28 -0800 Received: by holmes.parc.xerox.com (5.61+/IDA-1.2.8/gandalf) id AA14862; Sat, 27 Jan 90 17:19:22 PST Received: from Version.6.23.N.CUILIB.3.44.SNAP.NOT.LINKED.holmes.Unknown.Machine.Type via MS.5.5.holmes.sun3_35; Sat, 27 Jan 90 17:19:20 -0800 (PST) Message-Id: <0ZkYWMkB0KGWMLEVxj@holmes> Date: Sat, 27 Jan 90 17:19:20 -0800 (PST) From: Bill Janssen X-Andrew-Message-Size: 3483+0 Content-Type: X-BE2; 12 To: tpn+@andrew.cmu.edu, info-andrew@andrew.cmu.edu Subject: some complaints... \begindata{text, 2209836} \textdsversion{12} \template{default} \define{chapter menu:[Title~3,Chapter~20] attr:[Justification LeftJustified Point 0] attr:[FontFace Bold Int Set] attr:[FontSize PreviousFontSize Point 4]} \define{subsection menu:[Title~3,Subsection~22] attr:[Justification LeftJustified Point 0] attr:[FontFace Bold Int Set]} \define{indent menu:[Region~4,Indent~20] attr:[LeftMargin LeftMargin Inch 32768] attr:[RightMargin RightMargin Inch 32768]} \define{typewriter menu:[Font~1,Typewriter~40] attr:[FontFace FixedFace Int Set] attr:[FontFamily AndyType Int 0]} \define{display menu:[Region~4,Display~14] attr:[LeftMargin LeftMargin Inch 32768] attr:[RightMargin RightMargin Inch 32768] attr:[Justification LeftJustified Point 0]} \define{example menu:[Region~4,Example~12] attr:[LeftMargin LeftMargin Inch 32768] attr:[Justification LeftJustified Point 0] attr:[FontFace FixedFace Int Set] attr:[FontFamily AndyType Int 0]} \define{itemize menu:[Region~4,Itemize~31] attr:[LeftMargin LeftMargin Inch 32768]} \define{description menu:[Region~4,Description~11] attr:[LeftMargin LeftMargin Inch 32768] attr:[Indent 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{quotation menu:[Region~4,Quotation~10] attr:[LeftMargin LeftMargin Inch 32768] attr:[RightMargin RightMargin Inch 32768] attr:[FontFace Italic Int Set]} \define{heading menu:[Title~3,Heading~11] attr:[LeftMargin LeftMargin Inch -13107] attr:[Justification LeftJustified Point 0] attr:[FontFace Bold Int Set]} \define{majorheading menu:[Title~3,MajorHeading~10] attr:[Justification Centered Point 0] attr:[FontSize PreviousFontSize Point 4]} \define{notetotypesetter menu:[Region~4,NoteToTypesetter~61] attr:[Flags PassThru Int Set]} \define{subheading menu:[Title~3,Subheading~12] attr:[Justification LeftJustified Point 0] attr:[FontFace Bold Int Set]} \define{flushleft menu:[Justify~2,FlushLeft~20] attr:[Justification LeftJustified Point 0]} \define{flushright menu:[Justify~2,FlushRight~21] attr:[Justification RightJustified Point 0]} \define{leftindent menu:[Region~4,LeftIndent~21] attr:[LeftMargin LeftMargin Inch 32768]} Over the last six months, I've been generating/collecting both positive and negative comments about Andrew. I thought it might be useful to share some of the more negative ones with everyone, as they represent opportunities for improvement (and besides, we all know how \bold{nice} Andrew is :-). Actually, I should repeat that Andrew is the best (tempted to say \italic{only}) implementation of a real environment compatible with Unix file system, Unix work practices, and the X Window System, that I can find. But now for the warts. I think that they're all valid, though of different importances. \italic{General:} - Deck-of-cards menu is big & clumsy. Replace with something else. A menu bar, for example, would replace \bold{cmenu} one-for-one. - In almost all cases, only one top-level window of an application should contain the "Quit" command (for example, \bold{bush} spawned from \bold{messages} should not have it, etc.). Or perhaps "frame-exit" should simply call "frame-delete-window" directly. - Most of procs are implemented on subclass of \bold{view}, and are assumed to be called by user via keystroke or menu. This means that they cannot be called with parameters. Compare with GNU Emacs style of two routines for each proc, one for user/keystroke invocation, one for program invocation. - No insets should draw boxes around themselves when not "selected", though the containing view may do so. - \bold{ADEW}, while nice in functionality, needs a graphics designer. - \bold{class}, while simple, is a non-standard. C++ would be preferable. - \bold{typescript} doesn't work for rlogin (input chars don't echo). \italic{Text:} - Text doesn't move when scrollbar is dragged until it is released. - \bold{text} needs better support for tabs. - Selection disappears when minibuffer is active. - Editor doesn't understand syntactic units (sentence, paragraph, sexp in \bold{ltext}, etc.). - No shift-select. (This is a way of cutting and pasting in one (conceptual) operation. The user presses the shift-select key, selects the text to be inserted with the mouse, and releases the key. The selected text is inserted at the point.) - Top of inset should appear at top of text line, or bottom at the baseline, or selectable. Current default seems to be to have top of inset appear at baseline. - "Underline" attribute doesn't work in textview. - Printing is complicated, fragile, and requires outside (read: non-free) packages. - No "virtual paper" editor, so hard to use for research papers and journal papers (though full troff with macros can be used). \italic{Mail:} - No button panel or button strip on \bold{messages}. - Captions & messages not numbered in \bold{messages}. - \bold{cui} command interface incredibly clumsy. See /bin/Mail for better interface! - No way to text FLAMES functions from \bold{bglisp}. \italic{Drawings:} - No way to control \bold{zip} print size. - \bold{zip} seems needlessly complex and hard to use, compared to MacDraw or Idraw. - \bold{zip} and all other dataobjects (except perhaps \bold{text}) should always store \\begindata-\\enddata pairs in a file, even when top-level. - \bold{raster} editor doesn't support box, line, circle, and text (a la X "bitmap"). Once again, I hope no one is terribly offended. Just consider all things that are done \bold{right}! I like Andrew, I use it, and I intend to fix some of the above problems. If someone else is also interested in doing this, perhaps we should correspond. Bill -- \timesroman{\center{William C. Janssen, Jr. Xerox Palo Alto Research Center }}\center{\helvetica{\smaller{\smaller{\smaller{3333 Coyote Hill Road, Palo Alto, California 94304 (415) 494-4763 }}}}}\enddata{text,2209836} \enddata{text822, 246086} \begindata{text822, 253895} Return-path: X-Andrew-Authenticated-as: 5904;andrew.cmu.edu;Robert Andrew Ryan Received: from unix8.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl) ID ; Sun, 28 Jan 90 04:31:08 -0500 (EST) Received: from mansfield.andrew.cmu.edu via qmail ID ; Sun, 28 Jan 90 00:05:51 -0500 (EST) Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.mansfield.andrew.cmu.edu.sun3.35 via MS.5.6.mansfield.andrew.cmu.edu.sun3_35; Sun, 28 Jan 90 00:05:50 -0500 (EST) Message-ID: Date: Sun, 28 Jan 90 00:05:50 -0500 (EST) From: Robert Andrew Ryan X-Andrew-Message-Size: 177+0 Content-Type: X-BE2; 12 If-Type-Unsupported: alter To: Info-Andrew Subject: Re: ltext inset? In-Reply-To: <9001280311.AA06566@unix.cis.pitt.edu> References: <9001280311.AA06566@unix.cis.pitt.edu> \begindata{text,2118204} \textdsversion{12} \template{messages} The ltext source code is in the contrib directory in the X11R4 release. I'm not sure if it was put out with X11R3 or not though. -Rob "ATK Hacker" Ryan rr2b@andrew.cmu.edu \enddata{text,2118204} \enddata{text822, 253895} \begindata{text822, 255364} 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-strip.dl) ID ; Sun, 28 Jan 90 10:43:48 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Sun, 28 Jan 90 10:42:21 -0500 (EST) Received: from cadre.dsl.pitt.edu by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Sun, 28 Jan 90 10:41:34 EST Received: by cadre.dsl.pitt.edu (5.61/1.34) id AA14060; Sun, 28 Jan 90 10:40:40 -0500 Date: Sun, 28 Jan 90 10:40:40 -0500 From: sean@dsl.pitt.edu (Sean McLinden) Message-Id: <9001281540.AA14060@cadre.dsl.pitt.edu> To: info-andrew@andrew.cmu.edu Subject: Andrew on DECStation 3100 Ok. I give up. It seems inconceivable to me that DEC should have released Ultrix3.1/UWS2.1 without a libc compiled with the "-G 0" option, but apparently supporting applications programmers is not high on their priority list. If this were a Sun workstation, Sun would have, by now, made a copy of the library available for public FTP. It seems as though there are three possible work- arounds: 1. Convince DEC to allow someone to post the libc_G0.a library (or even better, have them do it themselves as a gesture to their customers). 2. Compile either the Berkeley Tahoe or Sun 4.0.x libc files with the "-G 0" options. 3. Use the GNU C compiler. Does anyone have any suggestions as to which of these would be most easily accomplished? Does anyone have Ken Olsen's home phone number? Sean McLinden Decision Systems Laboratory University of Pittsburgh \enddata{text822, 255364} \begindata{text822, 257225} Return-path: X-Andrew-Authenticated-as: 8158;andrew.cmu.edu;David Anderson Received: from larimer.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl) ID ; Sun, 28 Jan 90 11:41:04 -0500 (EST) Received: from larimer.andrew.cmu.edu via qmail ID ; Sun, 28 Jan 90 11:40:10 -0500 (EST) Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.larimer.andrew.cmu.edu.rt.r3 via MS.5.6.larimer.andrew.cmu.edu.rt_r3; Sun, 28 Jan 90 11:40:01 -0500 (EST) Message-ID: Date: Sun, 28 Jan 90 11:40:01 -0500 (EST) From: David Anderson X-Andrew-Message-Size: 626+0 Content-Type: X-BE2; 12 If-Type-Unsupported: alter To: Info-Andrew , Bill Janssen Subject: Re: some complaints... In-Reply-To: <0ZkYWMkB0KGWMLEVxj@holmes> References: <0ZkYWMkB0KGWMLEVxj@holmes> \begindata{text,270396932} \textdsversion{12} \template{messages} Bill, thanks for your carefully thought out message. I did notice one factual error (due, I think, to a lack of documentation). \excerptedcaption{Excerpts from internet.info-andrew: 27-Jan-90 some complaints... Bill Janssen@parc.xerox. (3483+0)} \quotation{- Text doesn't move when scrollbar is dragged until it is released. } These preferences control this behavior: *.ThumbScroll: yes *.AdjustScroll: yes *.Startscrolltime: 500 *.contscrolltime: 20 *.MaxContScrollTime: 700 Enjoy. -- David Anderson (dba+@andrew.cmu.edu) Information Technology Center School of Computer Science Carnegie Mellon University 412-268-5791 (office) 412-268-6787 (fax) \enddata{text,270396932} \enddata{text822, 257225} \begindata{text822, 259201} 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-strip.dl) ID ; Sun, 28 Jan 90 15:43:02 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Sun, 28 Jan 90 15:41:40 -0500 (EST) Received: from ucbvax.Berkeley.EDU by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Sun, 28 Jan 90 15:39:25 EST Received: by ucbvax.Berkeley.EDU (5.61/1.41) id AA13165; Sat, 27 Jan 90 15:30:50 -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: 27 Jan 90 17:11:22 GMT From: att!cbnewsh!hoswjc!wjc@ucbvax.Berkeley.EDU (Bill Carpenter) Organization: AT&T Bell Laboratories Subject: Re: R4 tape on SPARC Message-Id: References: Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu On 26 Jan 90 15:47:33 GMT, nsb@THUMPER.BELLCORE.COM (Nathaniel Borenstein) said: nsb> Given the independent confirmation from Tom, I'd suggest more nsb> strongly now that -O should not be the default on the Sun4. In a mass of unrelated software, we have found "-O2", "-O3", and "-O4" to create similar calamities on both sun3 and sun4. We have not yet seen any problem with "-O1". (Unfortunately, we have also not isolated exactly what gets broken in the optimization.) Many people (including us) are temporarily fooled because on sun3 "-O" means "-O1"; on sun4 "-O" means "-O2". -- Bill Carpenter att!ho5cad!wjc or attmail!bill \enddata{text822, 259201} \begindata{text822, 261166} 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-strip.dl) ID ; Sun, 28 Jan 90 21:20:29 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Sun, 28 Jan 90 21:18:41 -0500 (EST) Received: from uunet.uu.net by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Sun, 28 Jan 90 21:17:41 EST Received: from munnari.UUCP by uunet.uu.net (5.61/1.14) with UUCP id AA18394; Sun, 28 Jan 90 21:17:26 -0500 Received: from munnari.OZ.AU by murtoa.cs.mu.OZ.AU with SMTP (5.61+IDA+MU) id AA26778; Mon, 29 Jan 1990 13:13:55 +1100 (from grahamd@otc.otca.oz for uunet!info-andrew@andrew.cmu.edu) Received: from otc.otca.oz (via basser) by munnari.oz.au with SunIII (5.61+IDA+MU) id AA01628; Mon, 29 Jan 90 13:13:50 +1100 (from grahamd@otc.otca.oz for info-andrew@andrew.cmu.edu) Received: (via otc) by otc (5.61) id AA06766; Mon, 29 Jan 90 11:16:30 +1100 (from grahamd@otc.otca.oz for info-andrew%andrew.cmu.edu@munnari.cs.mu.oz) Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.griffin.otca.oz.au.sun3.4 via MS.5.6.griffin.otca.oz.au.sun3_4; Mon, 29 Jan 90 11:17:18 +1100 (EST) Message-Id: Date: Mon, 29 Jan 90 11:17:18 +1100 (EST) From: Graham Dumpleton To: info-andrew@andrew.cmu.edu Subject: Trouble printing an 'example' across a page boundary. If I have a section of text in an ez document which I make an 'example' by selecting Example from the Region menu card, and if it stretches over a page break when printed out; or previewed, only that part of it which appears on the first page is in typewriter font, the rest appears in a proportional font (Roman I guess). Is anyone else having this problem? Graham Dumpleton (grahamd@otc.otca.oz.au) \enddata{text822, 261166} \begindata{text822, 263347} 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-strip.dl) ID ; Sun, 28 Jan 90 22:58:04 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Sun, 28 Jan 90 22:54:36 -0500 (EST) Received: from arisia.Xerox.COM by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Sun, 28 Jan 90 22:53:30 EST Received: from holmes.parc.Xerox.COM by arisia.Xerox.COM with SMTP (5.61+/IDA-1.2.8/gandalf) id AA01103; Sun, 28 Jan 90 19:53:06 -0800 Received: by holmes.parc.xerox.com (5.61+/IDA-1.2.8/gandalf) id AA09351; Sun, 28 Jan 90 19:53:03 PST Received: from Version.6.23.N.CUILIB.3.44.SNAP.NOT.LINKED.holmes.Unknown.Machine.Type via MS.5.5.holmes.sun3_35; Sun, 28 Jan 90 19:53:00 -0800 (PST) Message-Id: Date: Sun, 28 Jan 90 19:53:00 -0800 (PST) From: Bill Janssen To: info-andrew@andrew.cmu.edu Subject: Building X11R4 Andrew on SPARC Well, I finally got around to compiling X11R4 contrib/toolkits/andrew. I used the -g switch on Sun "cc", on a SunOS 4.0.3 Sun-4/260 system. I'm using X11R4 without fix-1, and I've applied patches 001 and 002 to my Andrew sources. I had one glitch in the build: cmenu includes , but the include directories specified in the CCFLAGS are -I${XBASEDIR}/usr/include/X11, so the preprocessor is actually looking for ${XBASEDIR}/usr/include/X11/X11/Xlib.h. You won't have this problem, of course, if your X include files are installed in the `standard' place, /usr/include/X11. After that, everything seems to work. I built the contrib insets, but not the examples or the ODA toolkit (yet). In particular, `console' and `help' work (we've seen problems with them in the past). I did see `vui' manage to crash `tm', but don't know the cause yet. More later. Bill \enddata{text822, 263347} \begindata{text822, 265549} Return-path: X-Andrew-Authenticated-as: 1342;andrew.cmu.edu;Mark Sherman Received: from mss.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl) ID ; Mon, 29 Jan 90 07:09:37 -0500 (EST) Received: from mss.andrew.cmu.edu via qmail ID ; Mon, 29 Jan 90 07:08:23 -0500 (EST) Received: from VUI.Andrew.3.70.CUILIB.3.45.SNAP.NOT.LINKED.mss.andrew.cmu.edu.rt.r3 via MS.5.6.mss.andrew.cmu.edu.rt_r3; Mon, 29 Jan 90 07:08:22 -0500 (EST) Message-ID: Date: Mon, 29 Jan 90 07:08:22 -0500 (EST) From: Mark Sherman To: Info-Andrew , "Carl M. Fongheiser" Subject: Re: ltext inset? Cc: In-Reply-To: <9001280311.AA06566@unix.cis.pitt.edu> References: <9001280311.AA06566@unix.cis.pitt.edu> I agree that adding the line to .ezinit should not cause a problem. It should be ignored completely if you are editing anything but a .flames file, and should give an error message like (no ltext object) if you try to edit a flames file and you don'thave ltext installed. ltext is located in andrew/contrib/ltext. It is a "lisp" editor. You'll find the modula editor (mtext) and pascal editor (ptext) in the andrew/contrib as well. -Mark \enddata{text822, 265549} \begindata{text822, 267145} Return-path: X-Andrew-Authenticated-as: 1342;andrew.cmu.edu;Mark Sherman Received: from mss.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl) ID ; Mon, 29 Jan 90 07:18:06 -0500 (EST) Received: from mss.andrew.cmu.edu via qmail ID ; Mon, 29 Jan 90 07:17:34 -0500 (EST) Received: from VUI.Andrew.3.70.CUILIB.3.45.SNAP.NOT.LINKED.mss.andrew.cmu.edu.rt.r3 via MS.5.6.mss.andrew.cmu.edu.rt_r3; Mon, 29 Jan 90 07:17:34 -0500 (EST) Message-ID: Date: Mon, 29 Jan 90 07:17:34 -0500 (EST) From: Mark Sherman To: Info-Andrew , Bill Janssen Subject: Re: some complaints... Cc: In-Reply-To: References: <0ZkYWMkB0KGWMLEVxj@holmes>, As long as we're picking nits, cui really is a debugging interface for the mail server libraries rather than a user interface per se. If all you have is a tty33, then you may be stuck... Otherwise, use vui, batmail, messages or macmail. -Mark \enddata{text822, 267145} \begindata{text822, 268581} 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-strip.dl) ID ; Mon, 29 Jan 90 08:13:10 -0500 (EST) Received: from po5.andrew.cmu.edu via qmail ID ; Mon, 29 Jan 90 08:11:19 -0500 (EST) If-Type-Unsupported: alter Received: from po3.andrew.cmu.edu via qmail ID ; Mon, 29 Jan 90 08:10:47 -0500 (EST) Received: from sparc01.icase.edu ([192.42.142.50]) by po3.andrew.cmu.edu (5.54/3.15) id for tpn+; Mon, 29 Jan 90 08:09:54 EST Received: by sparc01.icase.edu (4.0/SMI-DDN) id AA01736; Mon, 29 Jan 90 08:07:26 EST Received: from Version.6.23.N.CUILIB.3.44.SNAP.NOT.LINKED.sparc01.Unknown.Machine.Type via MS.5.5.sparc01.sun4_40; Mon, 29 Jan 90 08:07:24 -0500 (EST) Message-Id: Date: Mon, 29 Jan 90 08:07:24 -0500 (EST) From: Tom Crockett X-Andrew-Message-Size: 1547+0 Content-Type: X-BE2; 12 To: tpn+@andrew.cmu.edu, info-andrew@andrew.cmu.edu Subject: Re: some complaints... In-Reply-To: <0ZkYWMkB0KGWMLEVxj@holmes> References: <0ZkYWMkB0KGWMLEVxj@holmes> \begindata{text, 1486484} \textdsversion{12} \template{messages} I would like to add a few comments to Bill's suggestions for Andrew. First, I agree that it is a very nice package, taken as a whole. From our perspective, the most serious problems which Bill mentions are \bold{\quotation{Excerpts from info-andrew: 27-Jan-90 some complaints... Bill Janssen@parc.xerox. (3483+0)}} \quotation{- \bold{class}, while simple, is a non-standard. C++ would be preferable.} \quotation{- Printing is complicated, fragile, and requires outside (read: non-free) packages. } \quotation{- No "virtual paper" editor, so hard to use for research papers and journal papers (though full troff with macros can be used).} I would like to add another point: - \bold{Flames}, while providing impressive functionality, is almost useless to non-Lisp programmers, i.e., nearly everybody outside of the computer science world. Our scientists and engineers aren't going to learn a Lisp dialect just so they can sort their mail. (A lot of them are just beginning to learn C, and a lot of them speak only FORTRAN. A \bold{Flames} file looks very foreign and complex to them.) Surely a more user-friendly user-interface is possible. I also kind of like the suggestion about menu bars instead of \bold{cmenu}. Please accept these comments in the spirit of constructive criticism in which they are intended, and keep up the good work. \italic{Tom Crockett} \smaller{\bold{ICASE} Institute for Computer Applications in Science and Engineering \smaller{M.S. 132C e-mail: tom@icase.edu NASA Langley Research Center phone: (804) 864-2182 Hampton, VA 23665-5225 } \smaller{ }}\smaller{ } \enddata{text,1486484} \enddata{text822, 268581} \begindata{text822, 271908} 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-strip.dl) ID ; Mon, 29 Jan 90 08:24:30 -0500 (EST) Received: from andrew.cmu.edu via qmail ID ; Mon, 29 Jan 90 08:21:50 -0500 (EST) If-Type-Unsupported: alter Received: from po3.andrew.cmu.edu via qmail ID ; Mon, 29 Jan 90 08:21:15 -0500 (EST) Received: from unix.cis.pitt.edu by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew+; Mon, 29 Jan 90 08:20:50 EST Received: by unix.cis.pitt.edu (5.61/6.43) id AA10224; Mon, 29 Jan 90 08:20:47 -0500 Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.unix.cis.pitt.edu.vax.22 via MS.5.6.unix.cis.pitt.edu.vax_22; Mon, 29 Jan 90 08:20:45 -0500 (EST) Message-Id: Date: Mon, 29 Jan 90 08:20:45 -0500 (EST) From: "Carl M. Fongheiser" X-Andrew-Message-Size: 394+0 Content-Type: X-BE2; 12 To: Info-Andrew Subject: Re: some complaints... In-Reply-To: References: <0ZkYWMkB0KGWMLEVxj@holmes>, , \begindata{text,1535352} \textdsversion{12} \template{messages} \excerptedcaption{Excerpts from info-andrew: 29-Jan-90 Re: some complaints... Mark Sherman@andrew.cmu. (278)} \quotation{Otherwise, use vui, batmail, messages or macmail. } Is it possible to build batmail in a non-AFS configuration? Someone recently provided me with a copy, and it complains about a lot of missing libraries. There don't appear to be any conditionals... Carl Fongheiser cmf@unix.cis.pitt.edu \enddata{text,1535352} \enddata{text822, 271908} \begindata{text822, 274041} Return-path: X-Andrew-Authenticated-as: 602;andrew.cmu.edu;Adam Stoller Received: from fishtank.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl) ID ; Mon, 29 Jan 90 09:57:11 -0500 (EST) Received: from fishtank.andrew.cmu.edu via qmail ID ; Mon, 29 Jan 90 09:55:06 -0500 (EST) Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.fishtank.andrew.cmu.edu.sun3.35 via MS.5.6.fishtank.andrew.cmu.edu.sun3_35; Mon, 29 Jan 90 09:55:05 -0500 (EST) Message-ID: <8Zl5Z9G00as9M0PEtK@andrew.cmu.edu> Date: Mon, 29 Jan 90 09:55:05 -0500 (EST) From: Adam Stoller X-Andrew-Message-Size: 5684+0 Content-Type: X-BE2; 12 If-Type-Unsupported: alter To: Info-Andrew Subject: Re: some complaints... In-Reply-To: References: <0ZkYWMkB0KGWMLEVxj@holmes>, , , \begindata{text,2813468} \textdsversion{12} \template{messages} \define{timesroman } \define{helvetica } (these are primarilly just my own personal comments - not to be confused with official statements): \excerptedcaption{Excerpts from internet.info-andrew: 27-Jan-90 some complaints... Bill Janssen@parc.xerox. (3483+0)} \quotation{\italic{General:} } \quotation{- Deck-of-cards menu is big & clumsy. Replace with something else. A menu bar, for example, would replace \bold{cmenu} one-for-one. } I think I would agree to this if it were handled [well] modularly - i.e. that a site (perhaps user) could determine what type of menu interface they wanted to use. Personally I find menu-bars much more cumbersome than deck-of-cards in most cases (though there are places where a good mix of the two would be an improvement over one or the other alone) \quotation{- In almost all cases, only one top-level window of an application should contain the "Quit" command (for example, \bold{bush} spawned from \bold{messages} should not have it, etc.). .... } This is something which has come up fairly recently - and given how projects tend to develop doing this right, after the fact, often becomes very difficult. I believe the latest version makes a good attempt of at least offering the Delete Window menu option whenever there is more than one window for a given application. \quotation{- Most of procs are implemented on subclass of \bold{view}, and are assumed to be called by user via keystroke or menu. This means that they cannot be called with parameters. .... } I'm not positive, but I believe that the procs do enable to passing of one [additional] parameter, which can be a structure or array if it needs to contain more than one argument. However, I agree it's not ideal in certain circumstances. \quotation{- No insets should draw boxes around themselves when not "selected", though the containing view may do so. } Reasonable. \quotation{- \bold{ADEW}, while nice in functionality, needs a graphics designer. } Unfortunately given the incredible amount of diversity in terms of displays, something which looks good in one environment will not necessarilly look good under another - one of the nice things about most of the buttons and such is that they can be controlled through fonts, so a different font could possibly be substituted (allows for reasonably quick prototyping -- unfortunately we don't have an X fonteditor *sigh*) \quotation{- \bold{class}, while simple, is a non-standard. C++ would be preferable. } (a) I believe that when class was designed, C++ either didn't exist, or was far from wide-spread. (b) I seem to recall (perhaps incorrectly) that C++ did not offer all of what we [felt we] needed and/or did not handle certain things "correctly" \quotation{\italic{Text:} [...]} \quotation{- \bold{text} needs better support for tabs. } God Yes! - but I think doing so would mean a drastic change to the entire toolkit (just think about the complexities of handling variable width screens [windows] with some coherent notion about how tabs should look on screen, and on print) - basically I think it would mean having to create a view in which the width of the textview were constrained by some notion of printed output (though I'm more than happy to be proved wrong.) \quotation{[...]} \quotation{- No shift-select. (This is a way of cutting and pasting in one (conceptual) operation. ..... } This sound extremely confusing to me, but then maybe I'm misunderstanding your description. Is there and example of this in other Xapplications, or in Emacs, or on the Mac?? \quotation{- ....Current default seems to be to have top of inset appear at baseline. } Ah consistency, wouldn't it be nice ;-) (sorry) - I agree. \quotation{- "Underline" attribute doesn't work in textview. } Hunh? \quotation{- Printing is complicated, fragile, and requires outside (read: non-free) packages. } (is C++ free?) I think printing will always be complicated - but being that our system was originally developed under troff only, and then tried to switch to supporting postscript output I can't say I'm surprised. I think if one were to redo the printing code so that it dealt entirely with one printing system [perhaps modular options as to which system that was] - then it would probably become less complicated and/or fragile (though I don't know if you'd be able to avoid non-free packages) \quotation{- No "virtual paper" editor, so hard to use for research papers and journal papers..... } (see comment on 'tabs') \quotation{\italic{Mail:} } \quotation{- No button panel or button strip on \bold{messages}. } For what? Is this a different statement than the menu-card/menu-bar item? \quotation{- Captions & messages not numbered in \bold{messages}. } This has to do with an entire underlying concept behind the messages database (I can't say whether that concept is truly right or wrong though, but I can imagine a lot of possible improvements) \quotation{- \bold{cui} command interface incredibly clumsy..... } CUI is mostly used for maintenance of messages databases, it's use as a real user interface is painful at best. VUI is much nicer. \quotation{- No way to text FLAMES functions from \bold{bglisp}. } Hunh? \quotation{\italic{Drawings:} } \quotation{- No way to control \bold{zip} print size.} \quotation{- \bold{zip} seems needlessly complex and hard to use, compared to MacDraw or Idraw. } \quotation{- \bold{zip} and all other dataobjects (except perhaps \bold{text}) should always store \\begindata-\\enddata pairs in a file, even when top-level. } I agree - in terms of what you are comparing it against. i.e. I think zip, for what it was originally intended did it's job well, but it really isn't a drawing or drafting editor in the same way that MacDraw and/or Idraw are - so comparing them in that respect is bound to show shortcomings in zip. (perhaps it's finest usage is as part of an educational program called GAHM (Great American History Machine)) \quotation{- \bold{raster} editor doesn't support box, line, circle, and text (a la X "bitmap"). } Yes, that would be nice, as too would be using the same such interface as a real font/icon editor - maybe someone will do it.... --fish\ \enddata{text,2813468} \enddata{text822, 274041} \begindata{text822, 281732} 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-strip.dl) ID ; Mon, 29 Jan 90 09:59:49 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Mon, 29 Jan 90 09:55:56 -0500 (EST) Received: from thumper.bellcore.com by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Mon, 29 Jan 90 09:54:50 EST Received: by thumper.bellcore.com (5.54/4.7) id AA08407; Mon, 29 Jan 90 09:53:20 EST Received: by greenbush.bellcore.com (4.12/4.7) id AA11447; Mon, 29 Jan 90 09:54:07 est Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.greenbush.sins.sun4.40 via MS.5.6.greenbush.sins.sun4_40; Mon, 29 Jan 90 09:54:05 -0500 (EST) Message-Id: <8Zl5YBa0M2YtAfEa0W@thumper.bellcore.com> Date: Mon, 29 Jan 90 09:54:05 -0500 (EST) From: Nathaniel Borenstein X-Andrew-Message-Size: 1227+0 Content-Type: X-BE2; 12 If-Type-Unsupported: alter To: tpn+@andrew.cmu.edu, info-andrew@andrew.cmu.edu Subject: Re: some complaints... In-Reply-To: <0ZkYWMkB0KGWMLEVxj@holmes> References: <0ZkYWMkB0KGWMLEVxj@holmes> \begindata{text,2921976} \textdsversion{12} \template{messages} A few minor responses: I agree that the deck-of-cards menu is big & clumsy under X11. What still persists here, I think, is a gap between CMU, which mostly doesn't run X11, and the rest of the world. Under wm, the deck-of-cards menus are so fast and usable that you've gotta love them. Under X11 -- even R4 -- they're still simply too slow. Either the code should be optimized or a new menu scheme should be implemented. Be warned, however, that you might not like a menu bar so much because many Andrew programs are in the habit of changing their menus *very* frequently, a fact that you don't have to notice now but would with a menu bar. What do you mean by a "button panel or button strip on message"? Not numbering the captions & messages in the messages interface was a conscious decision; most people don't seem to have missed the numbers at all. Why do you? Although I agree that cui stinks, I can't take /bin/Mail seriously as a better interface! If you want a model for a new command line interface, look at MH, or TOPS-20 MM. I agree with \underline{most} of your other suggestions, though. (Note, however, that the word "most" was underlined, which you say doesn't work. It does for me.) Cheers. -- Nathaniel \enddata{text,2921976} \enddata{text822, 281732} \begindata{text822, 284547} 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-strip.dl) ID ; Mon, 29 Jan 90 11:07:11 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Mon, 29 Jan 90 11:01:50 -0500 (EST) Received: from thumper.bellcore.com by po3.andrew.cmu.edu (5.54/3.15) id ; Mon, 29 Jan 90 09:44:50 EST Received: by thumper.bellcore.com (5.54/4.7) id AA07689; Mon, 29 Jan 90 09:42:58 EST Received: by greenbush.bellcore.com (4.12/4.7) id AA11427; Mon, 29 Jan 90 09:43:49 est Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.greenbush.sins.sun4.40 via MS.5.6.greenbush.sins.sun4_40; Mon, 29 Jan 90 09:43:47 -0500 (EST) Message-Id: Date: Mon, 29 Jan 90 09:43:47 -0500 (EST) From: Nathaniel Borenstein To: info-andrew+@andrew.cmu.edu Subject: Suggestion for bp object A minor suggestion for the bp object: If you use keystrokes to insert a bp object (e.g. "esc-tab-bp-return") instead of the "page break" menu item, it works exactly the same way except that the bp object gets the input focus. This is of course useless, but unavoidable as a general consequence of the way ESC-TAB works in the text object. However, a fix to the bp object would improve it. In general, bp does not expect the input focus, right? So how about if it's ReceiveInputFocus method simply called WantInputFocus on its parent, assuming it had a parent? Giving the focus to the parent can't be any worse than giving it to the bp object, which does nothing with it, and in many cases it will actually be the right thing to do. Just a thought. -- Nathaniel \enddata{text822, 284547} \begindata{text822, 286589} Return-path: X-Andrew-Authenticated-as: 118;andrew.cmu.edu;Chris Koenigsberg Received: from bramble.psy.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl) ID ; Mon, 29 Jan 90 11:46:12 -0500 (EST) Received: from bramble.psy.cmu.edu via qmail ID ; Mon, 29 Jan 90 11:44:43 -0500 (EST) Received: from Messages.7.8.N.CUILIB.3.45.SNAP.NOT.LINKED.bramble.psy.cmu.edu.sun3.35 via MS.5.6.bramble.psy.cmu.edu.sun3_35; Mon, 29 Jan 90 11:44:42 -0500 (EST) Message-ID: Date: Mon, 29 Jan 90 11:44:42 -0500 (EST) From: Chris Koenigsberg X-Andrew-Message-Size: 1031+0 Content-Type: X-BE2; 12 If-Type-Unsupported: alter To: Info-Andrew Subject: Re: some complaints... In-Reply-To: <8Zl5YBa0M2YtAfEa0W@thumper.bellcore.com> References: <0ZkYWMkB0KGWMLEVxj@holmes>, <8Zl5YBa0M2YtAfEa0W@thumper.bellcore.com> \begindata{text,2200120} \textdsversion{12} \template{messages} I think an example of the menu bars, button panels, button strips, etc. that Bill Janssen is referring to might be found in the Open Look interface specification (trademark of AT&T and Sun Microsystems, or something like that)........ I've looked into this a little and haven't gotten far enough but what does anyone else think who's more familiar with Open Look? It sounds like a lot of places out there in the "real world" are asking for Open Look compliance, although it sounds like the academic/research world is more excited by Motif..... Also, with respect to class vs. C++, I think the main consideration in going with class was that C++ is most definitely NOT free......the ITC didn't want to require yet another commercial package in order just to compile the ATK (i.e. in addition to Transcript which is assumed for printing)...... Some of us remember that an early version of "BE2", the successor to the Base Editor, which evolved into ATK, was written in a language invented by Mike Kazar, called "camphor"......... \enddata{text,2200120} \enddata{text822, 286589} \begindata{text822, 288945} 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-strip.dl) ID ; Mon, 29 Jan 90 17:19:48 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Mon, 29 Jan 90 17:17:24 -0500 (EST) Received: from ATHENA.MIT.EDU by po3.andrew.cmu.edu (5.54/3.15) id ; Mon, 29 Jan 90 15:52:43 EST Received: from OGLALA.MIT.EDU by ATHENA.MIT.EDU with SMTP id AA24454; Mon, 29 Jan 90 15:07:16 EST Received: by oglala.MIT.EDU (5.61/4.7) id AA13737; Mon, 29 Jan 90 15:06:15 -0500 Received: from cui.2.0.CUILIB.3.45.SNAP.NOT.LINKED.oglala.rt.r3 via MS.5.6.oglala.rt_r3; Mon, 29 Jan 90 15:06:10 -0500 (EST) Message-Id: Date: Mon, 29 Jan 90 15:06:10 -0500 (EST) From: Bill Cattey To: Tom Crockett Subject: Re: PS -- Re: R4 tape on SPARC Cc: Info-Andrew In-Reply-To: <0Zk76LG0M2Yt85y4hc@thumper.bellcore.com> References: <8ZjUx9y0M2YtAXhERK@thumper.bellcore.com>, , <0Zk76LG0M2Yt85y4hc@thumper.bellcore.com> If the cc program is written correctly, one needn't compile 50 meg to get a test case. I am not familiar with the Sun 4 C compiler, but when we had trouble with hc on the IBM RT, we did a cc -E to generate a C file which had all the inclusions and substitutions done. THAT file, was then compiled -O and without -O and the resulting -s output compared. Reputable vendors with reasonable user assistance should be able to take your -E compiled .c file, and your instructions and turn it into a compiler fix. Surely Sun will be able to. -wdc \enddata{text822, 288945} \begindata{text822, 290945} 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-strip.dl) ID ; Mon, 29 Jan 90 17:57:24 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Mon, 29 Jan 90 17:55:50 -0500 (EST) Received: from a.cs.uiuc.edu by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Mon, 29 Jan 90 17:52:22 EST Received: from bullwinkle.cs.uiuc.edu by a.cs.uiuc.edu with SMTP (5.61+/IDA-1.2.8) id AA26924; Mon, 29 Jan 90 16:52:03 -0600 Received: by bullwinkle.cs.uiuc.edu (5.51/9.7) id AA04793; Mon, 29 Jan 90 16:51:06 CST Date: Mon, 29 Jan 90 16:51:06 CST From: grogers@bullwinkle.cs.uiuc.edu (Greg Rogers) Message-Id: <9001292251.AA04793@bullwinkle.cs.uiuc.edu> To: info-andrew@andrew.cmu.edu Subject: stderr Where, oh where did my stderr go, Where, oh where can it be? Well I see that xim closed it and tried to connect it to the "console". However, the stderr printfs never show up in my console xterm. Besides, I want to capture the output in a file. Is there someway to override this redirection? At some point in time I just deleted that code from my R2 version of andrew. I don't really want to do that again. greg rogers \enddata{text822, 290945} \begindata{text822, 292485} Return-path: X-Andrew-Authenticated-as: 10706;andrew.cmu.edu;Michael J. McInerny Received: from duquesne.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl) ID ; Mon, 29 Jan 90 18:51:44 -0500 (EST) Received: from duquesne.andrew.cmu.edu via qmail ID ; Mon, 29 Jan 90 18:51:03 -0500 (EST) Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.duquesne.andrew.cmu.edu.rt.r3 via MS.5.6.duquesne.andrew.cmu.edu.rt_r3; Mon, 29 Jan 90 18:51:02 -0500 (EST) Message-ID: Date: Mon, 29 Jan 90 18:51:02 -0500 (EST) From: "Michael J. McInerny" X-Andrew-Message-Size: 1063+0 Content-Type: X-BE2; 12 If-Type-Unsupported: alter To: Info-Andrew Subject: Re: some complaints... In-Reply-To: <0ZkYWMkB0KGWMLEVxj@holmes> References: <0ZkYWMkB0KGWMLEVxj@holmes> \begindata{text,270187548} \textdsversion{12} \template{messages} \excerptedcaption{Excerpts from internet.info-andrew: 27-Jan-90 some complaints... Bill Janssen@parc.xerox. (3483+0)} \quotation{- Top of inset should appear at top of text line, or bottom at the baseline, or selectable. Current default seems to be to have top of inset appear at baseline. } Take a look at \italic{pushbutton} or \italic{link} in \typewriter{contrib}.... \excerptedcaption{Excerpts from internet.info-andrew: 29-Jan-90 Re: some complaints... Tom Crockett@icase.edu (1547+0)} \quotation{- \bold{Flames}, while providing impressive functionality, is almost useless to non-Lisp programmers, i.e., nearly everybody outside of the computer science world. Our scientists and engineers aren't going to learn a Lisp dialect just so they can sort their mail. (A lot of them are just beginning to learn C, and a lot of them speak only FORTRAN. A \bold{Flames} file looks very foreign and complex to them.) Surely a more user-friendly user-interface is possible. } Exercise for the reader: write some \bold{Ness} that gets pasted into the Flames.help file, and will build a \bold{Flames} file for the user based on the user's answers to some questions. -Michael\ \enddata{text,270187548} \enddata{text822, 292485} \begindata{text822, 294975} 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-strip.dl) ID ; Mon, 29 Jan 90 18:57:20 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Mon, 29 Jan 90 18:53:47 -0500 (EST) Received: from ucbvax.Berkeley.EDU by po3.andrew.cmu.edu (5.54/3.15) id ; Mon, 29 Jan 90 15:46:30 EST Received: by ucbvax.Berkeley.EDU (5.61/1.41) id AA05794; Mon, 29 Jan 90 12:41:38 -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: 29 Jan 90 19:17:07 GMT From: auspex!guy@uunet.uu.net (Guy Harris) Organization: Auspex Systems, Santa Clara Subject: Re: some complaints... Message-Id: <2857@auspex.auspex.com> References: <0ZkYWMkB0KGWMLEVxj@holmes>, Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu >(due, I think, to a lack of documentation). Add that to the list of complaints. I didn't like the tendency of messages on the message line to stick around after the keystroke following the one that provoked them, but had to poke around in the code to discover that setting "*.messagetimeout" to 0 would make them go away on the next interaction.... \enddata{text822, 294975} \begindata{text822, 296636} Return-path: X-Andrew-Authenticated-as: 1342;andrew.cmu.edu;Mark Sherman Received: from mss.andrew.cmu.edu via trymail ID ; Mon, 29 Jan 90 21:08:29 -0500 (EST) Received: from mss.andrew.cmu.edu via qmail ID ; Mon, 29 Jan 90 21:08:21 -0500 (EST) Received: from VUI.Andrew.3.70.CUILIB.3.45.SNAP.NOT.LINKED.mss.andrew.cmu.edu.rt.r3 via MS.5.6.mss.andrew.cmu.edu.rt_r3; Mon, 29 Jan 90 21:08:20 -0500 (EST) Message-ID: Date: Mon, 29 Jan 90 21:08:20 -0500 (EST) From: Mark Sherman To: Bill Janssen Subject: Re: some complaints... Cc: Tom Neuendorffer , Susan Straub In-Reply-To: <4ZlAn98B0KGWQLEZht@holmes> References: <0ZkYWMkB0KGWMLEVxj@holmes>, , , <4ZlAn98B0KGWQLEZht@holmes> Batmail is an emacs library interface for talking to a message server. Unfortunately, I don't use it so I can't tell you how to set it up, but* lots of people use it at CMU. Maybe Tom would know. -Mark \enddata{text822, 296636} \begindata{text822, 297986} 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-strip.dl) ID ; Mon, 29 Jan 90 22:34:54 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Mon, 29 Jan 90 22:29:55 -0500 (EST) Received: from ucbvax.Berkeley.EDU by po3.andrew.cmu.edu (5.54/3.15) id ; Mon, 29 Jan 90 18:22:41 EST Received: by ucbvax.Berkeley.EDU (5.61/1.41) id AA15555; Mon, 29 Jan 90 15:11:56 -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: 29 Jan 90 23:09:07 GMT From: tuna@athena.mit.edu (Kirk 'UhOh' Johnson) Organization: Massachusetts Institute of Technology Subject: build problems on 4.3 BSD vax Message-Id: <1990Jan29.230907.3131@athena.mit.edu> Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu i'm trying to build andrew (off of the X11R4 tape) on a uvax2 running 4.3 BSD (and X11R4) and i've run into a problem; perhaps somebody out there on the net could be of assistance. the compilation gets up to the point where it's working on the `overhead/index' subdirectory. in trying to compile the file `overhead/index/index.c', i get the error message: index.c: In function index_HashOpen: index.c:325: too many arguments to function `fopen' (although i don't think it should make any difference, i'm running with a fairly recent version of gcc.) the objectionable function, index_HashOpen, looks as follows: FILE *index_HashOpen(ai, ahash, awrite) register struct Index *ai; register long awrite; register long ahash; { char tpath[1024]; char tbuffer[20]; strcpy(tpath, ai->pathName); strcat(tpath, "/"); sprintf(tbuffer, "H%d", ahash); strcat(tpath, tbuffer); return fopen(tpath, (awrite? "w+" : "r"), 0666); } note that _three_ arguments are given to fopen. (as far i know (and as far as my man page will tell me), fopen only takes _two_ arguments ...) any ideas what the motivation behind the extra (0666) parameter is? i was thinking of just getting rid of it entirely and seeing if that solved the problem, but haven't gotten around to it yet. thanks for the help kirk ------------------------------------------------------------------------------- kirk johnson `Eat blue dogs tuna@masala.lcs.mit.edu and dig life.' \enddata{text822, 297986} \begindata{text822, 300870} 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-strip.dl) ID ; Mon, 29 Jan 90 23:13:27 -0500 (EST) Received: from andrew.cmu.edu via qmail ID ; Mon, 29 Jan 90 23:10:17 -0500 (EST) If-Type-Unsupported: alter Received: from po3.andrew.cmu.edu via qmail ID ; Mon, 29 Jan 90 23:09:41 -0500 (EST) Received: from arisia.Xerox.COM by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Mon, 29 Jan 90 23:05:57 EST Received: from holmes.parc.Xerox.COM by arisia.Xerox.COM with SMTP (5.61+/IDA-1.2.8/gandalf) id AA28909; Mon, 29 Jan 90 20:05:27 -0800 Received: by holmes.parc.xerox.com (5.61+/IDA-1.2.8/gandalf) id AA26440; Mon, 29 Jan 90 20:05:38 PST Received: from Version.6.23.N.CUILIB.3.44.SNAP.NOT.LINKED.holmes.Unknown.Machine.Type via MS.5.5.holmes.sun3_35; Mon, 29 Jan 90 20:05:37 -0800 (PST) Message-Id: Date: Mon, 29 Jan 90 20:05:37 -0800 (PST) From: Bill Janssen X-Andrew-Message-Size: 627+0 Content-Type: X-BE2; 12 To: info-andrew@andrew.cmu.edu Subject: zip code crashes MIT sample X server on Sun-4 \begindata{text, 2209836} \textdsversion{12} \template{messages} Just a warning... \bold{\quotation{Excerpts from mail: 29-Jan-90 Re: Building X11R4 Andrew o.. Guy Harris@auspex.com (547)}} \quotation{BTW, speaking of "zip" samples, you may find that one of them causes the} \quotation{server to blow chow ("features.zip") - it did so on my 3/50. I isolated} \quotation{it to some polyarc it was trying to draw, and sent a bug report to} \quotation{"xbugs" that includes a small test program that draws the same arcs. No} \quotation{report of a fix yet....} I've tried this on a Sun-4 (just visiting \typewriter{$ANDREWDIR/lib/zip/samples/features.zip}), with X11R4 \bold{ez}, and it does cause the server to crash. This is properly regarded as a server bug, not an Andrew bug. Bill \enddata{text,2209836} \enddata{text822, 300870} \begindata{text822, 303280} 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-strip.dl) ID ; Tue, 30 Jan 90 01:26:41 -0500 (EST) Received: from andrew.cmu.edu via qmail ID ; Tue, 30 Jan 90 01:24:41 -0500 (EST) If-Type-Unsupported: alter Received: from po3.andrew.cmu.edu via qmail ID ; Tue, 30 Jan 90 01:22:32 -0500 (EST) Received: from uunet.uu.net by po3.andrew.cmu.edu (5.54/3.15) id ; Mon, 29 Jan 90 17:44:33 EST Received: from munnari.UUCP by uunet.uu.net (5.61/1.14) with UUCP id AA02620; Mon, 29 Jan 90 17:43:57 -0500 Received: from munnari.OZ.AU by murtoa.cs.mu.OZ.AU with SMTP (5.61+IDA+MU) id AA15037; Tue, 30 Jan 1990 09:38:21 +1100 (from beadle@otc.otca.oz for uunet!info-andrew@andrew.cmu.edu) Received: from otc.otca.oz (via basser) by munnari.oz.au with SunIII (5.61+IDA+MU) id AA21937; Tue, 30 Jan 90 09:38:16 +1100 (from beadle@otc.otca.oz for info-andrew@andrew.cmu.edu) Received: (via otc) by otc (5.61) id AA06795; Tue, 30 Jan 90 09:37:46 +1100 (from beadle@otc.otca.oz for info-andrew%andrew.cmu.edu@munnari.oz) Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.beach.otca.oz.au.sun3.4 via MS.5.6.beach.otca.oz.au.sun3_4; Tue, 30 Jan 90 09:38:36 +1100 (EST) Message-Id: Date: Tue, 30 Jan 90 09:38:36 +1100 (EST) From: Peter Beadle X-Andrew-Message-Size: 1337+0 Content-Type: X-BE2; 12 To: info-andrew@andrew.cmu.edu Subject: dacon, insets and data \begindata{text,1590320} \textdsversion{12} \template{messages} Well, we just got the new version of Andrew from the X11R4 tape up and running. After writing a cute little laser disc interface using Adew and the Arbcon I'm wondering how I include some data with the 'data' file generated by the createcon. For the video disc controller this comprises a script of start and stop frame numbers and a network address for the disc. I want to be able to include the controller into a mail message and have the author fill in the script addresses so the recipient can play a scripted presentation from the laser disc. I can include the controller into a message or an ez document but whatever I put into the string and/or text fields of the controller is lost when it is mailed or stored to disc. So how do I get some user defined data to appear inside the lset data in an ez file before the \\view\{lset....\} command? Anybody got any clues as I've drawn a blank from the documentation and tutorial. P.S. please add me to the indo-andrew mailing list. Thanks. Peter Beadle |||| OTC || Network R&D ACSnet: beadle@otc.oz UUCP: \{uunet,mcvax\}!otc.oz!beadle Snail: GPO Box 7000, Sydney 2001, Australia Phone: +61 2 287 4185 FAX: +61 2 287 4990 \enddata{text,1590320} \enddata{text822, 303280} \begindata{text822, 306692} 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-strip.dl) ID ; Tue, 30 Jan 90 03:29:17 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Tue, 30 Jan 90 03:27:45 -0500 (EST) Received: from arisia.Xerox.COM by po3.andrew.cmu.edu (5.54/3.15) id ; Mon, 29 Jan 90 23:14:15 EST Received: from holmes.parc.Xerox.COM by arisia.Xerox.COM with SMTP (5.61+/IDA-1.2.8/gandalf) id AA28994; Mon, 29 Jan 90 20:13:34 -0800 Received: by holmes.parc.xerox.com (5.61+/IDA-1.2.8/gandalf) id AA26452; Mon, 29 Jan 90 20:13:43 PST Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.holmes.PARC.sun4.40 via MS.5.6.holmes.PARC.sun4_40; Mon, 29 Jan 90 20:13:42 -0800 (PST) Message-Id: <0ZlFFqAB0KGWFbH0ks@holmes.PARC> Date: Mon, 29 Jan 90 20:13:42 -0800 (PST) From: Bill Janssen To: Nathaniel Borenstein Subject: Underline *does* work Cc: info-andrew@andrew.cmu.edu In-Reply-To: <8Zl5YBa0M2YtAfEa0W@thumper.bellcore.com> References: <0ZkYWMkB0KGWMLEVxj@holmes>, <8Zl5YBa0M2YtAfEa0W@thumper.bellcore.com> I see that in X11R4 messages, the `underline' attribute does work properly. In fact, it seems that underline did not work here solely because of a bad local template file, which of course makes it my fault. Bill \enddata{text822, 306692} \begindata{text822, 308395} 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-strip.dl) ID ; Tue, 30 Jan 90 04:32:12 -0500 (EST) Received: from andrew.cmu.edu via qmail ID ; Tue, 30 Jan 90 04:31:18 -0500 (EST) If-Type-Unsupported: alter Received: from po3.andrew.cmu.edu via qmail ID ; Tue, 30 Jan 90 04:29:19 -0500 (EST) Received: from arisia.Xerox.COM by po3.andrew.cmu.edu (5.54/3.15) id ; Mon, 29 Jan 90 23:35:28 EST Received: from holmes.parc.Xerox.COM by arisia.Xerox.COM with SMTP (5.61+/IDA-1.2.8/gandalf) id AA29201; Mon, 29 Jan 90 20:34:24 -0800 Received: by holmes.parc.xerox.com (5.61+/IDA-1.2.8/gandalf) id AA26419; Mon, 29 Jan 90 19:36:11 PST Received: from Version.6.23.N.CUILIB.3.44.SNAP.NOT.LINKED.holmes.Unknown.Machine.Type via MS.5.5.holmes.sun3_35; Mon, 29 Jan 90 19:36:10 -0800 (PST) Message-Id: <4ZlEiecB0KGWALEdh2@holmes> Date: Mon, 29 Jan 90 19:36:10 -0800 (PST) From: Bill Janssen X-Andrew-Message-Size: 2275+0 Content-Type: X-BE2; 12 To: Adam Stoller , Info-Andrew Subject: Additional complaint explanations In-Reply-To: <8Zl5Z9G00as9M0PEtK@andrew.cmu.edu> References: <0ZkYWMkB0KGWMLEVxj@holmes>, , , , <8Zl5Z9G00as9M0PEtK@andrew.cmu.edu> \begindata{text, 2209836} \textdsversion{12} \template{messages} \define{excerptedcaption } \bold{\quotation{Excerpts from andrew: 29-Jan-90 Re: some complaints... Adam Stoller@andrew.cmu. (5684+0)}} \quotation{\quotation{- No shift-select. (This is a way of cutting and pasting in one (conceptual) operation. .....} } \quotation{This sound extremely confusing to me, but then maybe I'm misunderstanding your description. Is there and example of this in other Xapplications, or in Emacs, or on the Mac??} The notion is that you are in some application, and you want to grab some stuff from some other application that is showing on your screen. You press the INSERT key, sweep through the stuff you want to grab, and release the INSERT key. The swept-through stuff is automatically inserted in your current application at the current insert point. It is almost trivial to do in Andrew, once we have support for X11 ICCCM selections. \quotation{\quotation{- "Underline" attribute doesn't work in textview.} } \quotation{Hunh?} I'm afraid I don't understand the "Hunh?". Isn't "underline" a normal, supported attribute of styles? \quotation{\quotation{- Printing is complicated, fragile, and requires outside (read: non-free) packages.} } \quotation{(is C++ free?) } g++ is. \quotation{ I think printing will always be complicated - but being that our system was originally developed under troff only, and then tried to switch to supporting postscript output I can't say I'm surprised. I think if one were to redo the printing code so that it dealt entirely with one printing system [perhaps modular options as to which system that was] - then it would probably become less complicated and/or fragile (though I don't know if you'd be able to avoid non-free packages)} There's a CAT troff replacement that works very nicely posted to comp.sources.unix last year. I'm looking at it to see if I can expand it to handle 16 or so fonts, rather than the standard 4-6. \quotation{\italic{\quotation{Mail:}} } \quotation{\quotation{- No button panel or button strip on \bold{messages}.} } \quotation{For what? Is this a different statement than the menu-card/menu-bar item?} Yes. The argument here is that 90% of the mail reading takes only 3 actions: Next, Delete-Next, Reply. They should be exposed directly to the user, rather than hidden in menus. \quotation{\quotation{- No way to text FLAMES functions from \bold{bglisp}.} } \quotation{Hunh?} There needs to be a way to pass a "message" object to the FLAMES code. In addition, the FLAMES primitives are built into (CUI lib?), and are not in bglisp. Bill \enddata{text,2209836} \enddata{text822, 308395} \begindata{text822, 312948} Return-path: X-Andrew-Authenticated-as: 602;andrew.cmu.edu;Adam Stoller Received: from fish.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl) ID ; Tue, 30 Jan 90 08:43:05 -0500 (EST) Received: from fish.andrew.cmu.edu via qmail ID ; Tue, 30 Jan 90 08:42:20 -0500 (EST) Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.fish.andrew.cmu.edu.rt.r3 via MS.5.6.fish.andrew.cmu.edu.rt_r3; Tue, 30 Jan 90 08:42:19 -0500 (EST) Message-ID: Date: Tue, 30 Jan 90 08:42:19 -0500 (EST) From: Adam Stoller X-Andrew-Message-Size: 2751+0 Content-Type: X-BE2; 12 If-Type-Unsupported: alter To: Info-Andrew Subject: Re: Additional complaint explanations In-Reply-To: <4ZlEiecB0KGWALEdh2@holmes> References: <0ZkYWMkB0KGWMLEVxj@holmes>, , , , <8Zl5Z9G00as9M0PEtK@andrew.cmu.edu>, <4ZlEiecB0KGWALEdh2@holmes> \begindata{text,270591708} \textdsversion{12} \template{messages} (please pardon the amount of excerpting, I've tried to minimize its content here since it was just recently posted anyway) \excerptedcaption{Excerpts from andrew: 29-Jan-90 Additional complaint explan.. Bill Janssen@parc.xerox. (2275+0)} \quotation{\bold{\quotation{Excerpts from andrew: 29-Jan-90 Re: some complaints... Adam Stoller@andrew.cmu. (5684+0)}} }\quotation{\quotation{\quotation{- No shift-select. . .....} }} \quotation{\quotation{This sound extremely confusing to me, ......} } \quotation{The notion is that you are in some application, and you want to grab some stuff from some other application that is showing on your screen. ......... } (a) This still sounds more confusing than Cut/Copy/Paste (b) This doesn't sound very portable, especially in terms of documenting, since not all keyboards have INSERT keys (my sun3/60 for example does not have one) (c) I ask again, is there an already widely available example of this around (on X, Next, Mac, etc.)? or is this someone's idea of a neat way to do something based upon an assumed usefulness as opposed to a proven need? (d) despite the sound of the above, whether it happens in Andrew or not, certainly doesn't involve me - I ask all these questions simply because I'm curious. \quotation{\quotation{\quotation{- "Underline" attribute doesn't work in textview.} }} \quotation{\quotation{Hunh?} } \quotation{I'm afraid I don't understand the "Hunh?". Isn't "underline" a normal, supported attribute of styles? } I'm sorry - the 'Hunh?' is - "I don't understand what you are talking about" - i.e. how does this attribute *not* work in textview. I'm not trying to claim that you're wrong - simply trying to understand what it is that you expect and that doesn't work. \quotation{\quotation{\quotation{- Printing .....} }} \quotation{\quotation{ I think printing .......} } \quotation{There's a CAT troff replacement ...... } OK - I'm still not sure how easy it will be to fix printing in Andrew, though I certainly share your desire that it be made more durable and less confusing. \quotation{\quotation{\italic{\quotation{Mail:}} }} \quotation{\quotation{\quotation{- No button panel or button strip on \bold{messages}.} }} \quotation{\quotation{For what? .....} } \quotation{Yes. .... Next, Delete-Next, Reply. .... } Ahh - OK, there are also at least 2 to 3 different replies (Reply To Sender, Reply To Readers, Reply To All). I suppose I have a slight problem with cluttering up windows with buttons, but I admit the reason behind your proposal is reasonably sound. Out of curiosity, where would you put these buttons when Messages is started with the '-w' flag ? \quotation{\quotation{\quotation{- No way to text FLAMES functions from \bold{bglisp}.} }} \quotation{\quotation{Hunh?} } \quotation{There needs to be a way to pass a "message" object ....... } (gee - how come you were able to understand that 'hunh?' and not the other one? ;-) I don't have any argument for, or against, this - it was simply a case of my not understanding the original statement. --fish (PS: Again - this is all based on my own personal perspective of things - and not to be confused, in any way, as being the slightest bit official statements)\ \enddata{text,270591708} \enddata{text822, 312948} \begindata{text822, 317676} Return-path: X-Andrew-Authenticated-as: 10706;andrew.cmu.edu;Michael J. McInerny Received: from duquesne.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl) ID ; Tue, 30 Jan 90 08:47:24 -0500 (EST) Received: from duquesne.andrew.cmu.edu via qmail ID ; Tue, 30 Jan 90 08:46:56 -0500 (EST) Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.duquesne.andrew.cmu.edu.rt.r3 via MS.5.6.duquesne.andrew.cmu.edu.rt_r3; Tue, 30 Jan 90 08:46:55 -0500 (EST) Message-ID: Date: Tue, 30 Jan 90 08:46:55 -0500 (EST) From: "Michael J. McInerny" X-Andrew-Message-Size: 1295+0 Content-Type: X-BE2; 12 If-Type-Unsupported: alter To: Info-Andrew Subject: Re: Additional complaint explanations In-Reply-To: <4ZlEiecB0KGWALEdh2@holmes> References: <0ZkYWMkB0KGWMLEVxj@holmes>, , , , <8Zl5Z9G00as9M0PEtK@andrew.cmu.edu>, <4ZlEiecB0KGWALEdh2@holmes> \begindata{text,270699864} \textdsversion{12} \template{messages} \excerptedcaption{Excerpts from internet.info-andrew: 29-Jan-90 Additional complaint explan.. Bill Janssen@parc.xerox. (2275+0)} \quotation{\quotation{\italic{\quotation{Mail:}} }} \quotation{\quotation{\quotation{- No button panel or button strip on \bold{messages}.} }} \quotation{\quotation{For what? Is this a different statement than the menu-card/menu-bar item?} } \quotation{Yes. The argument here is that 90% of the mail reading takes only 3 actions: Next, Delete-Next, Reply. They should be exposed directly to the user, rather than hidden in menus. } I, for one, would never use a mouse-button to initiate these actions. I use the keyboard almost exclusively for these. I.e. for "do the right thing next", for "next", for "delete", and (or ) for "reply" (or "reply-all"). \excerptedcaption{Excerpts from internet.info-andrew: 29-Jan-90 Additional complaint explan.. Bill Janssen@parc.xerox. (2275+0)} \quotation{\quotation{\quotation{- No way to text FLAMES functions from \bold{bglisp}.} }} \quotation{\quotation{Hunh?} } \quotation{There needs to be a way to pass a "message" object to the FLAMES code. In addition, the FLAMES primitives are built into (CUI lib?), and are not in bglisp. } XFLAMES, the bglisp-like Flames interpreter is a project we've talked about many times, but it just never seems to happen. Usually, we whip up a few dummy routines in Eli to simulate Flames functions or we use judicious printf's and "set debug 0 0 0 4096" with cui to test Flames files. -Michael \enddata{text,270699864} \enddata{text822, 317676} \begindata{text822, 320727} 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-strip.dl) ID ; Tue, 30 Jan 90 09:07:40 -0500 (EST) Received: from po5.andrew.cmu.edu via qmail ID ; Tue, 30 Jan 90 09:05:23 -0500 (EST) If-Type-Unsupported: alter Received: from po3.andrew.cmu.edu via qmail ID ; Tue, 30 Jan 90 09:04:13 -0500 (EST) Received: from unix.cis.pitt.edu by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew+; Tue, 30 Jan 90 09:02:54 EST Received: by unix.cis.pitt.edu (5.61/6.43) id AA01705; Tue, 30 Jan 90 09:02:37 -0500 Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.unix.cis.pitt.edu.vax.22 via MS.5.6.unix.cis.pitt.edu.vax_22; Tue, 30 Jan 90 09:02:36 -0500 (EST) Message-Id: <0ZlNtwU_V0004SdGoi@unix.cis.pitt.edu> Date: Tue, 30 Jan 90 09:02:36 -0500 (EST) From: "Carl M. Fongheiser" X-Andrew-Message-Size: 456+1 Content-Type: X-BE2; 12 To: info-andrew+@ANDREW.CMU.EDU Subject: Problem with console \begindata{text,2233300} \textdsversion{12} \template{messages} I've been having trouble getting console to run properly on my workstation (VAXstation 3100, running Ultrix 3.1). Here's what happens: \typewriter{obie 8:53am % console Starting console (Version 7.6, ATK 14.2); please wait... Malloc arena corruption discovered at - fr Illegal instruction (core dumped) obie 8:56am % \begindata{text,2349920} \textdsversion{12} Any ideas? Any ideas?\ \enddata{text,2349920} \view{textview,2349920,3,0,0}} Carl Fongheiser - University of Pittsburgh - Computing and Info Services cmf@unix.cis.pitt.edu cmf@pittunix.BITNET ...!pitt!unix.cis.pitt.edu!cmf \enddata{text,2233300} \enddata{text822, 320727} \begindata{text822, 322854} Return-path: X-Andrew-Authenticated-as: 602;andrew.cmu.edu;Adam Stoller Received: from fish.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl) ID ; Tue, 30 Jan 90 09:34:41 -0500 (EST) Received: from fish.andrew.cmu.edu via qmail ID ; Tue, 30 Jan 90 09:34:17 -0500 (EST) Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.fish.andrew.cmu.edu.rt.r3 via MS.5.6.fish.andrew.cmu.edu.rt_r3; Tue, 30 Jan 90 09:34:16 -0500 (EST) Message-ID: Date: Tue, 30 Jan 90 09:34:16 -0500 (EST) From: Adam Stoller X-Andrew-Message-Size: 646+0 Content-Type: X-BE2; 12 If-Type-Unsupported: alter To: Info-Andrew Subject: Re: Problem with console In-Reply-To: <0ZlNtwU_V0004SdGoi@unix.cis.pitt.edu> References: <0ZlNtwU_V0004SdGoi@unix.cis.pitt.edu> \begindata{text,270591708} \textdsversion{12} \template{messages} \excerptedcaption{Excerpts from internet.info-andrew: 30-Jan-90 Problem with console "Carl M. Fongheiser"@uni (456+1)} \quotation{I've been having trouble getting console to run properly on my workstation }\quotation{(VAXstation 3100, running Ultrix 3.1). } \quotation{Here's what happens: } \typewriter{\quotation{obie 8:53am % console }\quotation{Starting console (Version 7.6, ATK 14.2); please wait... }\quotation{Malloc arena corruption discovered at - fr }\quotation{Illegal instruction (core dumped) }\quotation{obie 8:56am % } } Yes - I believe I just fixed this earlier this week, and it should come out in the next patch (003), probably soon. Basically it comes from trying to free an allocated array instead of what was assumed to be a malloc'd char * --fish \enddata{text,270591708} \enddata{text822, 322854} \begindata{text822, 324913} Return-path: X-Andrew-Authenticated-as: 91;andrew.cmu.edu;Tom Neuendorffer Received: from dublin.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl) ID ; Tue, 30 Jan 90 10:23:09 -0500 (EST) If-Type-Unsupported: alter Received: from dublin.andrew.cmu.edu via qmail ID ; Tue, 30 Jan 90 10:21:30 -0500 (EST) Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.dublin.andrew.cmu.edu.rt.r3 via MS.5.6.dublin.andrew.cmu.edu.rt_r3; Tue, 30 Jan 90 10:21:29 -0500 (EST) Message-ID: Date: Tue, 30 Jan 90 10:21:29 -0500 (EST) From: Tom Neuendorffer X-Andrew-Message-Size: 1284+1 Content-Type: X-BE2; 12 To: Info-Andrew , Peter Beadle Subject: Re: dacon, insets and data In-Reply-To: References: \begindata{text,270715580} \textdsversion{12} \template{messages} \excerptedcaption{Excerpts from info-andrew: 30-Jan-90 dacon, insets and data Peter Beadle@uunet.UU.NE (1337+0)} \quotation{ After writing a cute little laser disc interface using Adew and the Arbcon I'm wondering how I include some data with the 'data' file generated by the createcon. For the video disc controller this comprises a script of start and stop frame numbers and a network address for the disc. } \quotation{I want to be able to include the controller into a mail message and have the author fill in the script addresses so the recipient can play a scripted presentation from the laser disc}. ... If you want to have one person fill in some information that the application is to remember when it is remailed to another person, then you have to insure that the information is stored in some object that will remember it. The value objects (i.e. the buttons, switches, enter-string insets, etc. ) were not designed to do this. There is, however, a simple solution. Have the author enter the script address in a text object, instead of a value object. i.e. \begindata{lset,271080312} \V 1 \begindata{lset,271028052} \V 1 \begindata{lset,271089700} \V 1 \begindata{cel,271096788} \V 2 \begindata{value,271028988} >0 \enddata{value,271028988} 10 271028988 1 0 0 0 >OBJ< value >VIEW< stringV >REF< value \begindata{text,270996028} \textdsversion{12} [long] (12) [string] (andy) [string]