\begindata{text822, 0} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po2.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Wed, 1 Apr 1992 15:35:11 -0500 (EST) Received: from po5.andrew.cmu.edu via qmail ID ; Wed, 1 Apr 1992 15:31:47 -0500 (EST) Received: from Athena.MIT.EDU by po5.andrew.cmu.edu (5.54/3.15) id ; Wed, 1 Apr 92 15:18:22 EST Received: from LAKOTA.MIT.EDU by Athena.MIT.EDU with SMTP id AA22326; Wed, 1 Apr 92 15:17:54 EST Received: by lakota.MIT.EDU (5.61/4.7) id AA02567; Wed, 1 Apr 92 15:17:48 -0500 Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.lakota.vax.bsd43 via MS.5.6.lakota.vax_43; Wed, 1 Apr 1992 15:17:45 -0500 (EST) Message-Id: Date: Wed, 1 Apr 1992 15:17:45 -0500 (EST) From: Bill Cattey To: gk5g+@andrew.cmu.edu, info-andrew+@andrew.cmu.edu Subject: Diffs for LineThruFormatNotes preference. The following context diffs will modify textv.ch, textv.c, and drawtxtv.c to add a new preference: LineThruFormatNotes. Default false. If true, format notes, when drawn on the screen, come up with a line through them. It is my fervent hope that this code can be incorporated in a subsequent release of Andrew as standard. Share and enjoy, -wdc *** textv.ch~ Mon Mar 30 15:45:14 1992 --- textv.ch Mon Mar 30 16:12:46 1992 *************** *** 219,224 **** --- 219,228 ---- int pixelsShownOffTop; int pixelsReadyToBeOffTop; int pixelsComingOffTop; + + /* This parameter determines if we draw a line through format + * notes when we display them on the screen. */ + int LineThruFormatNotes; }; #define EMACS 0 *** textv.c~ Mon Mar 30 15:46:18 1992 --- textv.c Mon Mar 30 16:13:38 1992 *************** *** 143,148 **** --- 143,150 ---- self->ScreenScaleMul = environ_GetProfileInt("TabScalingMultiplier", 14); self->ScreenScaleDiv = environ_GetProfileInt("TabScalingDivisor", 12); + self->LineThruFormatNotes = + environ_GetProfileSwitch("LineThruFormatNotes", FALSE); if ((font = environ_GetProfile("bodyfont")) == NULL || ! fontdesc_ExplodeFontName(font, bodyFont, sizeof(bodyFont), &fontStyle, &fontSize)) { strcpy(bodyFont, "Andy"); *** drawtxtv.c~ Mon Mar 30 15:38:31 1992 --- drawtxtv.c Mon Mar 30 16:14:24 1992 *************** *** 1391,1403 **** textview_DrawString(self, sPtr, graphic_ATBASELINE); if (tt->ti_styleFlags & ! (style_Underline | style_ChangeBar | ! style_PassThru | ! style_OverBar)) { DrawBar(self, tt, bx, by, StringWidth(tt->ti_fontWidths, sPtr) + tt->ti_rSpaces * currentBump); ! } } } } else if (type == textview_GetPosition) { --- 1391,1406 ---- textview_DrawString(self, sPtr, graphic_ATBASELINE); if (tt->ti_styleFlags & ! (style_Underline | style_ChangeBar | style_OverBar)) { DrawBar(self, tt, bx, by, StringWidth(tt->ti_fontWidths, sPtr) + + tt->ti_rSpaces * currentBump); + } + if ((tt->ti_styleFlags & style_PassThru) && self->LineThruFormatNotes) { + DrawBar(self, tt, bx, by, + StringWidth(tt->ti_fontWidths, sPtr) + tt->ti_rSpaces * currentBump); ! } } } } else if (type == textview_GetPosition) { *************** *** 1464,1474 **** /* line item (this is done before we mess with the */ /* buffer, bx, spaceBump, etc. */ if (tt->ti_styleFlags & ! (style_Underline | style_ChangeBar | style_PassThru | style_OverBar)) DrawBar(self, tt, bx, by, StringWidth(tt->ti_fontWidths, sPtr) + tt->ti_rSpaces * (currentBump + 1) - foundSpaces); info->lineBuffer[zapPos] = '\0'; if (info->lineAbove + info->textBelow <= ySize) { textview_MoveTo(self, bx, by); --- 1467,1484 ---- /* line item (this is done before we mess with the */ /* buffer, bx, spaceBump, etc. */ if (tt->ti_styleFlags & ! (style_Underline | style_ChangeBar | style_OverBar)) { DrawBar(self, tt, bx, by, StringWidth(tt->ti_fontWidths, sPtr) + tt->ti_rSpaces * (currentBump + 1) - + foundSpaces); + } + if ((tt->ti_styleFlags & style_PassThru) && self->LineThruFormatNotes) { + DrawBar(self, tt, bx, by, + StringWidth(tt->ti_fontWidths, sPtr) + + tt->ti_rSpaces * (currentBump + 1) - foundSpaces); + } info->lineBuffer[zapPos] = '\0'; if (info->lineAbove + info->textBelow <= ySize) { textview_MoveTo(self, bx, by); \enddata{text822, 0} \begindata{text822, 5839} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Thu, 2 Apr 1992 03:48:36 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Thu, 2 Apr 1992 03:47:02 -0500 (EST) Received: from chx400.switch.ch by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew+; Thu, 2 Apr 92 03:46:52 EST X400-Received: by mta chx400.switch.ch in /PRMD=switch/ADMD=arcom/C=CH/; Relayed; Thu, 2 Apr 1992 10:46:40 +0200 X400-Received: by /PRMD=switch/ADMD=arcom/C=ch/; Relayed; Thu, 2 Apr 1992 10:43:52 +0200 Date: Thu, 2 Apr 1992 10:43:52 +0200 X400-Originator: eric14@komsys.tik.ethz.ch X400-Recipients: info-andrew+@andrew.cmu.edu X400-Mts-Identifier: [/PRMD=switch/ADMD=arcom/C=ch/;920402104352] X400-Content-Type: P2-1984 (2) Content-Identifier: 67 From: Eric Baltischwiler Message-Id: <67*/S=eric14/OU=komsys/OU=tik/O=ethz/PRMD=SWITCH/ADMD=ARCOM/C=CH/@MHS> To: info-andrew+ Subject: Questions & class -p bug? Hi my group is starting to use the ATK (no mail, no file sys) from the rev5 X release and we have a few questions: 1) Is there a referance manual for the ATK? Other documentation? We are using the class .doc files and help stuff plus Borenstein's book and lots of source code reading. The epilogue of the book points us to the "voluminous reference manual"? 2) I am interested in using the -p option to class, but it seems to be buggy. A prototype in a .ch file with no place holder generates bad C. This can be worked around by always including place holders, but... An example: /* from .../atk/examples/atkbook/hwanim/hanimapp.ch */ InitializeObject(struct hanimapp *) returns boolean; | | /* After class -p the .eh reads */ /*BAD*/ V boolean hanimapp__InitializeObject(struct classheader *, struct * ); /* A fixed version */ V InitializeObject(struct hanimapp *a) returns boolean; Does anyone out there build the system using prototypes? I started to, but after the make died several times in example dirs I stopped. Each file that stopped the make could be fixed, but the ATK has a lot of files. Has anyone had success with this? 3) Are we up to date? Are there important patches or new versions out there? More classes or insets? Thanks \enddata{text822, 5839} \begindata{text822, 8606} Return-path: X-Andrew-Authenticated-as: 5904;andrew.cmu.edu;Robert Andrew Ryan Received: from po5.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Thu, 2 Apr 1992 16:00:01 -0500 (EST) Received: from po2.andrew.cmu.edu via qmail ID ; Thu, 2 Apr 1992 15:57:19 -0500 (EST) If-Type-Unsupported: send Received: from po5.andrew.cmu.edu via qmail ID ; Thu, 2 Apr 1992 15:54:26 -0500 (EST) Received: from freeport.andrew.cmu.edu via qmail ID ; Thu, 2 Apr 1992 15:52:46 -0500 (EST) Received: from freeport.andrew.cmu.edu via qmail ID ; Thu, 2 Apr 1992 15:52:24 -0500 (EST) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.freeport.andrew.cmu.edu.rt.aos4 via MS.5.6.freeport.andrew.cmu.edu.rt_aos4; Thu, 2 Apr 1992 15:52:23 -0500 (EST) Message-ID: Date: Thu, 2 Apr 1992 15:52:23 -0500 (EST) From: Robert Andrew Ryan X-Andrew-Message-Size: 371+0 Content-Type: X-BE2; 12 To: Info-Andrew Subject: Re: video/audio In-Reply-To: <9204021841.AA00644@happy.rc.arizona.edu> References: <9204021841.AA00644@happy.rc.arizona.edu> \begindata{text,270548892} \textdsversion{12} \template{messages} The stock distribution has no real support for sound or video. I believe there is an audio playback inset for Sparcstations in contrib, and there is the piano object for the IBM RT, but that's it. Another group here at CMU has been working on using ATK with audio and video, but as far as I know they haven't made a public release. -Rob Ryan Andrew Toolkit Consortium \enddata{text,270548892} \enddata{text822, 8606} \begindata{text822, 10795} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po3.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Thu, 2 Apr 1992 13:44:04 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Thu, 2 Apr 1992 13:41:39 -0500 (EST) Received: from happy.rc.arizona.edu by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Thu, 2 Apr 92 13:41:27 EST Received: by happy.rc.arizona.edu (NeXT-1.0 (From Sendmail 5.52)/NeXT-1.0) id AA00644; Thu, 2 Apr 92 11:41:21 MST Date: Thu, 2 Apr 92 11:41:21 MST From: ferng@happy.rc.arizona.edu (Jimmy M. Ferng) Message-Id: <9204021841.AA00644@happy.rc.arizona.edu> Received: by NeXT Mailer (1.63.RR) To: info-andrew@andrew.cmu.edu Subject: video/audio I read a book about Andrew Toolkit. It's been a while since the publication of that book. I could not find the support of video and audio process in the book. Since it's been a while since the publication of the book, could you please tell me if there is any such support yet? Thanks a lot. --- Jimmy M. Ferng | University of Arizona Internet: ferng@arizona.edu | Computer Center Bitnet: ferng@arizvms | User Support / Research Support Phone: 602.621.6263 | Tucson, AZ 85721 \enddata{text822, 10795} \begindata{text822, 12372} Return-path: X-Andrew-Authenticated-as: 5904;andrew.cmu.edu;Robert Andrew Ryan Received: from po2.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Thu, 2 Apr 1992 12:04:34 -0500 (EST) Received: from andrew.cmu.edu via qmail ID ; Thu, 2 Apr 1992 12:03:19 -0500 (EST) Received: from freeport.andrew.cmu.edu via qmail ID ; Thu, 2 Apr 1992 12:01:17 -0500 (EST) Received: from freeport.andrew.cmu.edu via qmail ID ; Thu, 2 Apr 1992 11:59:59 -0500 (EST) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.freeport.andrew.cmu.edu.rt.aos4 via MS.5.6.freeport.andrew.cmu.edu.rt_aos4; Thu, 2 Apr 1992 11:59:58 -0500 (EST) Message-ID: Date: Thu, 2 Apr 1992 11:59:58 -0500 (EST) From: Robert Andrew Ryan X-Andrew-Message-Size: 2013+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: Info-Andrew Subject: Re: Questions & class -p bug? In-Reply-To: <67*/S=eric14/OU=komsys/OU=tik/O=ethz/PRMD=SWITCH/ADMD=ARCOM/C=CH/@MHS> References: <67*/S=eric14/OU=komsys/OU=tik/O=ethz/PRMD=SWITCH/ADMD=ARCOM/C=CH/@MHS> \begindata{text,270548892} \textdsversion{12} \template{messages} \excerptedcaption{Excerpts from internet.other.info-andrew: 2-Apr-92 Questions & class -p bug? Eric Baltischwiler@komsy (1353)} \quotation{1) Is there a referance manual for the ATK? Other documentation? We }\quotation{ are using the class .doc files and help stuff plus Borenstein's book }\quotation{ and lots of source code reading. The epilogue of the book points us }\quotation{ to the "voluminous reference manual"? } Frankly, I can't recommend the "voluminous reference manual" while it does document many of the classes it is riddled with inaccuracies. At some point we hope to be able to invest the time to update and correct this documentation. The .doc files scattered throughout the source tree are probably just as good, though many are empty placeholders. And there are some classes which don't have even an empty .doc file. \excerptedcaption{Excerpts from internet.other.info-andrew: 2-Apr-92 Questions & class -p bug? Eric Baltischwiler@komsy (1353)} \quotation{2) I am interested in using the -p option to class, but it seems to be }\quotation{ buggy. A prototype in a .ch file with no place holder generates bad }\quotation{ C. } Unfortunately the prototyping support in the current release is half-done, and has been for some time now. Class is currently undergoing a major overhaul for the Modula-3 project (being done by another group at CMU.) Part of this overhaul includes improvements so that class -p should generate correct prototyping. \excerptedcaption{Excerpts from internet.other.info-andrew: 2-Apr-92 Questions & class -p bug? Eric Baltischwiler@komsy (1353)} \quotation{3) Are we up to date? Are there important patches or new versions out }\quotation{ there? More classes or insets? } We are in the final stages of preparing the CDROM release. It will also be available through the usual anonymous ftp channels. The only major bug fix I am aware of was the patch posted here awhile ago by Bill Janssen to fix xgraphic to work with more display types. There are no new classes or insets in the CDROM release, the only big change is the addition of MIME support in AMS clients. -Rob Ryan Andrew Toolkit Consortium \enddata{text,270548892} \enddata{text822, 12372} \begindata{text822, 16304} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po5.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Thu, 2 Apr 1992 15:18:13 -0500 (EST) Received: from po5.andrew.cmu.edu via qmail ID ; Thu, 2 Apr 1992 15:15:39 -0500 (EST) Received: from Athena.MIT.EDU by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Thu, 2 Apr 92 15:15:27 EST Received: from LAKOTA.MIT.EDU by Athena.MIT.EDU with SMTP id AA00578; Thu, 2 Apr 92 15:14:53 EST Received: by lakota.MIT.EDU (5.61/4.7) id AA26540; Thu, 2 Apr 92 15:14:47 -0500 Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.lakota.vax.bsd43 via MS.5.6.lakota.vax_43; Thu, 2 Apr 1992 15:14:45 -0500 (EST) Message-Id: Date: Thu, 2 Apr 1992 15:14:45 -0500 (EST) From: Bill Cattey To: info-andrew@andrew.cmu.edu, netcomsv!mork!steve@decwrl.dec.com (Stephen Williams) Subject: Re: Making format notes more obvious. In-Reply-To: References: , There is a risk that if you fool with the attributes of the FormatNote and add other things besides style_PassThru, that some present or future version of txttroff.c will attempt to format it in SPITE of the fact that it shouldn't. Inasmuch as the relevant routine in txttroff.c is a single procedure in excess of 500 lines long with static variables which calls itself recursively, I don't like to do ANYTHING that adds to the number of things future maintainers of it will have to remember. -wdc \enddata{text822, 16304} \begindata{text822, 18292} Return-path: X-Andrew-Authenticated-as: 5904;andrew.cmu.edu;Robert Andrew Ryan Received: from po2.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Thu, 2 Apr 1992 15:50:04 -0500 (EST) Received: from po2.andrew.cmu.edu via qmail ID ; Thu, 2 Apr 1992 15:49:03 -0500 (EST) Received: from freeport.andrew.cmu.edu via qmail ID ; Thu, 2 Apr 1992 15:47:28 -0500 (EST) Received: from freeport.andrew.cmu.edu via qmail ID ; Thu, 2 Apr 1992 15:47:20 -0500 (EST) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.freeport.andrew.cmu.edu.rt.aos4 via MS.5.6.freeport.andrew.cmu.edu.rt_aos4; Thu, 2 Apr 1992 15:47:18 -0500 (EST) Message-ID: Date: Thu, 2 Apr 1992 15:47:18 -0500 (EST) From: Robert Andrew Ryan X-Andrew-Message-Size: 363+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: Info-Andrew Subject: Re: Diffs for LineThruFormatNotes preference. In-Reply-To: References: \begindata{text,270548892} \textdsversion{12} \template{messages} \excerptedcaption{Excerpts from internet.other.info-andrew: 1-Apr-92 Diffs for LineThruFormatNot.. Bill Cattey@Athena.MIT.E (4568)} \quotation{It is my fervent hope that this code can be incorporated in a subsequent }\quotation{release of Andrew as standard. } This should show up in the first release after the CDROM release (neither date has been firmly fixed yet.) -Rob Ryan Andrew Toolkit Consortium\ \enddata{text,270548892} \enddata{text822, 18292} \begindata{text822, 20369} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po3.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Thu, 2 Apr 1992 20:11:44 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Thu, 2 Apr 1992 20:11:03 -0500 (EST) Received: from sun2.nsfnet-relay.ac.uk by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Thu, 2 Apr 92 20:10:38 EST Received: from cs.city.ac.uk by sun2.nsfnet-relay.ac.uk via JANET with NIFTP id <19805-0@sun2.nsfnet-relay.ac.uk>; Thu, 2 Apr 1992 18:37:35 +0100 Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.barney.cs.city.ac.uk.sun4.40 via MS.5.6.barney.cs.city.ac.uk.sun4_40; Thu, 2 Apr 1992 18:19:09 +0100 (BST) Message-Id: Date: Thu, 2 Apr 1992 18:19:09 +0100 (BST) From: Nick Williams X-Andrew-Message-Size: 584+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: info-andrew@andrew.cmu.edu Subject: Cannot print table of contents with groff \begindata{text,2380880} \textdsversion{12} \template{messages} Has anyone met the problem (and preferably cured it) of not being able to print out the table of contents in a document when \typewriter{\smaller{groff}} is the processing engine for output? I can see (via \typewriter{\smaller{ezprint -t}}) that the table of contents macros are being output in what looks like normal fashion... \typewriter{\smaller{nroff}} and \typewriter{\smaller{troff}} are both happy with displaying contents. \typewriter{\smaller{groff}} just seems to ignore it. [ATK version 5.0.0, SunOS 4.0, sparc.] Nick. System Architecture Research Centre, Computing Science Dept, City University, Northampton Square, London EC1V 0HB. Phone: +44 71 477 8551 FAX: +44 71 477 8587 \enddata{text,2380880} \enddata{text822, 20369} \begindata{text822, 22534} Return-path: X-Andrew-Authenticated-as: 5904;andrew.cmu.edu;Robert Andrew Ryan Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Thu, 2 Apr 1992 21:20:09 -0500 (EST) Received: from po2.andrew.cmu.edu via qmail ID ; Thu, 2 Apr 1992 21:19:47 -0500 (EST) If-Type-Unsupported: send Received: from po2.andrew.cmu.edu via qmail ID ; Thu, 2 Apr 1992 21:16:53 -0500 (EST) Received: from freeport.andrew.cmu.edu via qmail ID ; Thu, 2 Apr 1992 21:14:33 -0500 (EST) Received: from freeport.andrew.cmu.edu via qmail ID ; Thu, 2 Apr 1992 21:13:24 -0500 (EST) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.freeport.andrew.cmu.edu.rt.aos4 via MS.5.6.freeport.andrew.cmu.edu.rt_aos4; Thu, 2 Apr 1992 21:13:23 -0500 (EST) Message-ID: Date: Thu, 2 Apr 1992 21:13:23 -0500 (EST) From: Robert Andrew Ryan MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII To: Chandra Venkatraman Subject: Re: Question on console and chart CC: Info-Andrew In-Reply-To: References: Excerpts from internet.other.info-andrew: 27-Mar-92 Question on console and chart Chandra Venkatraman@iag. (1253) > Questions: > 1. In HP-UX, how can I use the External Function available in console? > Some examples will be useful. An example: Note: this hasn't been tested on HP-UX, but works on a RS/6000 and IBM RT. #!/bin/csh -f set histchars = '' set hosts = (atk.itc.cmu.edu akron.andrew.cmu.edu bangor.andrew.cmu.edu fallscree k.andrew.cmu.edu) while (1) set i = 1 foreach host ($hosts) ping -s $host 64 1 >& /dev/null if ($status != 0) then echo "!@#EXTERNAL: m$i 1 $host is DEAD" > /dev/console else echo "!@#EXTERNAL: m$i 0 $host is fine" > /dev/console endif @ i ++ end sleep 120 end Fragment from the console which used ping.csh: @instrument{ Function External2, ExternalName m2, Boxed, DisplayType Indicator, Text "Akron", LeftClickTo ErrorLog, LeftClickString "*", HighlightInvertMin 1, xmin 11, xmax 20, ymin 80, ymax 99, TextFont Andy6 } Excerpts from internet.other.info-andrew: 27-Mar-92 Question on console and chart Chandra Venkatraman@iag. (1253) > 2. Can I use chart in the following manner? Set a refresh rate (say 5, > meaning 5 times a minute); and refresh the file being chart-ed. The > real-time process can modify the file as and when the data changes. If > this is possible, any suggestions/hints (via ness or otherwise) will be > usefil. Using chart and some auxilary C code and/or classes, you have a couple of options. 1. boolean im_AddFileHandler(FILE *fp, procedure proc, char *procdata, long priority) This would allow you to have the chart update based on data coming in from a pipe, or over a network connection. Priority should be a small integer the exact value isn't very important, it simply determines which file handler will be ignored if there are too many. The procedure proc will be called as: foo(fp, procdata) If the AddFileHandler call fails because too many file handlers are in use it will return FALSE, otherwise it returns TRUE. 2. struct event *im_EnqueueEvent(procedure proc, char *procdata, long timeIncrement) Returns an object of type event, if you hold on to this pointer you can cancel the event before it happens by calling event_Cancel on it. The procedure proc will be called as: foo(procdata, currentTime); timeIncrement and currentTime are in magical numbers, the event class provides macros to convert between real time and magic time. They are: event_TUtoSEC(x) event_TUtoUSEC(x) event_TUtoMSEC(x) event_SECtoTU(x) event_USECtoTU(x) event_MSECtoTU(x) event_ENDOFTIME So to queue something for 5 seconds in the future it would be: struct event *fivefromnow=im_EnqueueEvent(foo, 42, event_SECtoTU(5)); There are probably still more ways, perhaps using timers and handling SIGALRM... Hope this helps, -Rob Ryan Andrew Toolkit Consortium \enddata{text822, 22534} \begindata{text822, 27393} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Sat, 4 Apr 1992 07:36:06 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Sat, 4 Apr 1992 07:31:22 -0500 (EST) Received: from chx400.switch.ch by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Sat, 4 Apr 92 07:31:17 EST X400-Received: by mta chx400.switch.ch in /PRMD=switch/ADMD=arcom/C=CH/; Relayed; Sat, 4 Apr 1992 14:31:10 +0200 X400-Received: by /PRMD=switch/ADMD=arcom/C=ch/; Relayed; Sat, 4 Apr 1992 14:28:17 +0200 Date: Sat, 4 Apr 1992 14:28:17 +0200 X400-Originator: eric14@komsys.tik.ethz.ch X400-Recipients: info-andrew@andrew.cmu.edu X400-Mts-Identifier: [/PRMD=switch/ADMD=arcom/C=ch/;920404142817] X400-Content-Type: P2-1984 (2) Content-Identifier: 73 From: Eric Baltischwiler Message-Id: <73*/S=eric14/OU=komsys/OU=tik/O=ethz/PRMD=SWITCH/ADMD=ARCOM/C=CH/@MHS> To: info-andrew Subject: complex forms? I'm trying to build an application which has dialog boxes with more then one "question" in them. For example: on startup we would like to present a login box. This would have 2 string entries and at least a cancel/quit button. Latter boxes would have more "widgets". ADEW looks like the right thing. I've built the login box and createcon'ed it as an inset. This works fine when I paste it into an ez doc, but when I replace the text inset in the hw example with my new inset, the inset losses all of its labels! What an I doing wrong? Assuming I can get this to work (Is this the right aproach?) is there a simple way to get message_AskForString() like behavior from such an inset? If not I'll just replace the im's view with the inset. Is there an example of this somewhere? Thanks in advance, Eric \enddata{text822, 27393} \begindata{text822, 29608} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po5.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Mon, 6 Apr 1992 05:17:35 -0400 (EDT) Received: from po3.andrew.cmu.edu via qmail ID ; Mon, 6 Apr 1992 05:16:34 -0400 (EDT) Received: from wn1.sci.kun.nl by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Mon, 6 Apr 92 05:16:20 EDT Received: by wn1.sci.kun.nl (5.57/2.1) on NUNET id AA29967; Mon, 6 Apr 92 11:16:38 +0200 Received: by cs.kun.nl (4.1/SMI-3.2) id AA24548; Mon, 6 Apr 92 11:16:31 +0200 Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.phoibos.cs.kun.nl.sun3.41 via MS.5.6.phoibos.cs.kun.nl.sun3_41; Mon, 6 Apr 1992 11:16:30 +0200 (MET DST) Message-Id: <4ds1Piq3fW015PQUcf@cs.kun.nl> Date: Mon, 6 Apr 1992 11:16:30 +0200 (MET DST) From: Harco de Hilster X-Andrew-Message-Size: 1639+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: info-andrew@andrew.cmu.edu Subject: non-unix clients \begindata{text,1094000} \textdsversion{12} \template{messages} Dear Andrew users, First my special thanks to every one that helped me with the installation of Andrew and the local bulletin board. My next question is about adding non-unix messages-clients to Andrew. In the documentation the PC and Mac clients are mentioned several times. I understood the PC client is \italic{vui}, but that there is a native Mac version too (MacMessages). I not sure what to believe from the following discussion on comp.soft-sys.andrew; \quotation{....... - Where can I get hold of the PC and Mac versions? I assume the Mac version uses MacTCP, but whose TCP stack (e.g., FTP Software's) does the PC version use? ........ Jamey Maze } \quotation{........ ATK/AMS are based on Unix. There are PC versions for AIX, SCO Unix, and Mach (port in progress). There is a version for Macintosh II MacMach. These are supported in the central sources, thanks to many generous people. ......... Fred Hansen }I reread the documentation, and it clearly says that there are clients for the PC and Mac. In the source code I even found instructions for building the PC client vui ($ANDREWSOURCE/ams/msclients/vui/HowToPC.d). So here are my questions: - Are there clients for the PC (Ms-Dos) and the Mac (system6/7)? - If yes, how can we obtain the sources/binaries? - If yes, does any one has experience with with these clients? - Can we run snapified clients without AMSDeliver? The availabilty of at least the Mac client is very important. I don't think the introduction of Andrew would be a succes if we tell the Mac users to telnet to our unix host and use vui. Any help would be appreciated, Harco de Hilster University of Nijmegen The Netherlands \enddata{text,1094000} \enddata{text822, 29608} \begindata{text822, 32749} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Mon, 6 Apr 1992 06:01:55 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Mon, 6 Apr 1992 06:01:09 -0400 (EDT) Received: from carla.dist.unige.it by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Mon, 6 Apr 92 06:00:43 EDT Received: from jrc.UUCP by carla.dist.unige.it with UUCP (5.61++/IDA-1.2.8) id AA29150; Mon, 6 Apr 92 12:03:05 +0200 Received: from iss.isei.jrc.it by jrc.it; Mon, 6 Apr 92 11:25:59 +0100 Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.iss.iss.isei.jrc.it.sun3.41 via MS.5.6.iss.iss.isei.jrc.it.sun3_41; Mon, 6 Apr 1992 11:30:05 +0100 (BST) Message-Id: <4ds2UhI00000M2NGl8@iss.isei.jrc.it> Date: Mon, 6 Apr 1992 11:30:05 +0100 (BST) From: Jose Perdigao To: info-andrew@andrew.cmu.edu Subject: Problem : AndrewR5 on X terminal Hi, Displaying Andrew programs on an mono NCD X terminal give us strange scroolbars and dialog windows ( a kind of white bars appear on the middle). We got the same strange effect when we used a mono X Sun server which loads the andrew fonts from a XR5 font server. It seems that the X servers are not able any more to correctly display the patterns used to paint the shadows. Oddly , when we tried to use black and white colors to display the shadows ( by the resource mechanism ) the programs just seems to ignore the preferences. Any hint will be appreciated. Thanks in advance . Jose Perdigao Commission of the European Communities Joint Research Centre (JRC) Informatic Systems Engeneering Institute (ISEI) 21020 ISPRA(VA) ITALY Tel: xx-39-332-789181 Fax: xx-39-332-789001 Telex: xx-39-332-380042 EUR I E-mail: j_perdigao@jrc.it \enddata{text822, 32749} \begindata{text822, 34912} Return-path: X-Andrew-Authenticated-as: 602;andrew.cmu.edu;Adam Stoller Received: from commander.itc.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Mon, 6 Apr 1992 07:46:03 -0400 (EDT) If-Type-Unsupported: send Received: from commander.itc.cmu.edu via qmail ID ; Mon, 6 Apr 1992 07:44:00 -0400 (EDT) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.commander.itc.cmu.edu.rs.aix31 via MS.5.6.commander.itc.cmu.edu.rs_aix31; Mon, 6 Apr 1992 07:43:59 -0400 (EDT) Message-ID: Date: Mon, 6 Apr 1992 07:43:59 -0400 (EDT) From: Adam Stoller X-Andrew-Message-Size: 351+0 Content-Type: X-BE2; 12 To: Info-Andrew Subject: Re: non-unix clients In-Reply-To: <4ds1Piq3fW015PQUcf@cs.kun.nl> References: <4ds1Piq3fW015PQUcf@cs.kun.nl> \begindata{text,539037236} \textdsversion{12} \template{messages} You might want to send mail to - they are a separate and distinct organization from the ATK Consortium - but responsible for the current PC and Mac AMS application being used at Carnegie-Mellon University - something called "EZMail" (please note - this has nothing to do with the ATK "EZ" multi-media editor) --fish \enddata{text,539037236} \enddata{text822, 34912} \begindata{text822, 36538} Return-path: X-Andrew-Authenticated-as: 6002;andrew.cmu.edu;Daniel Edward Lovinger Received: from freehold.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Mon, 6 Apr 1992 10:37:30 -0400 (EDT) Received: from freehold.andrew.cmu.edu via qmail ID ; Mon, 6 Apr 1992 10:36:31 -0400 (EDT) Received: from BatMail.robin.v2.13.CUILIB.3.45.SNAP.NOT.LINKED.freehold.andrew.cmu.edu.sun4c.411 via MS.5.6.freehold.andrew.cmu.edu.sun4c_411; Mon, 6 Apr 1992 10:36:28 -0400 (EDT) Message-ID: Date: Mon, 6 Apr 1992 10:36:28 -0400 (EDT) From: Daniel Edward Lovinger To: Info-Andrew Subject: Re: non-unix clients In-Reply-To: References: <4ds1Piq3fW015PQUcf@cs.kun.nl> Adam Stoller writes: > You might want to send mail to - they > are a separate and distinct organization from the ATK Consortium - but > responsible for the current PC and Mac AMS application being used at > Carnegie-Mellon University - something called "EZMail" (please note - > this has nothing to do with the ATK "EZ" multi-media editor) A few notes ... EZMail is on UNIX boxes or PCs, while MacMail is the Mac side. There is no EZMail on the Macs. MacMail is also being rewritten at the moment ... completetion date uncertain at this point, but most likely sometime this summer. Both interfaces use/will use a common server which runs on the UNIX side. dan \enddata{text822, 36538} \begindata{text822, 38439} Return-path: X-Andrew-Authenticated-as: 91;andrew.cmu.edu;Tom Neuendorffer Received: from highland.itc.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Mon, 6 Apr 1992 14:09:38 -0400 (EDT) Received: from highland.itc.cmu.edu via qmail ID ; Mon, 6 Apr 1992 14:07:16 -0400 (EDT) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.highland.itc.cmu.edu.rs.aix31 via MS.5.6.highland.itc.cmu.edu.rs_aix31; Mon, 6 Apr 1992 14:07:14 -0400 (EDT) Message-ID: Date: Mon, 6 Apr 1992 14:07:14 -0400 (EDT) From: Tom Neuendorffer X-Andrew-Message-Size: 2173+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: Info-Andrew Subject: Re: complex forms? CC: Eric Baltischwiler In-Reply-To: <73*/S=eric14/OU=komsys/OU=tik/O=ethz/PRMD=SWITCH/ADMD=ARCOM/C=CH/@MHS> References: <73*/S=eric14/OU=komsys/OU=tik/O=ethz/PRMD=SWITCH/ADMD=ARCOM/C=CH/@MHS> \begindata{text,538760200} \textdsversion{12} \template{messages} \excerptedcaption{Excerpts from internet.other.info-andrew: 4-Apr-92 complex forms? Eric Baltischwiler@komsy (814)} \quotation{I'm trying to build an application which has dialog boxes with more }\quotation{then one "question" in them. For example: on startup we would like to }\quotation{present a login box. This would have 2 string entries and at least a }\quotation{cancel/quit button. Latter boxes would have more "widgets". ADEW }\quotation{looks like the right thing. I've built the login box and createcon'ed }\quotation{it as an inset. This works fine when I paste it into an ez doc, but }\quotation{when I replace the text inset in the hw example with my new inset, the }\quotation{inset losses all of its labels! What an I doing wrong? }Most of ATK puts a frame object at the top of the view tree, and Adew insets take advantage of this. The hello world examples leave out this step . I can send you code to do what you want, \bold{however,} the \italic{runadew} program is basically designed to do just this, provide a simple framework for running Adew applications. You may want to see if it fills your needs before fiddling with this stuff (see the runadew section of the Adew reference manual). Alternately, you can look at the runadewa code (in atk/adew) to see what it does. The page object can be used to switch between different view or sets of views. One option is to make each question layout a different adew application, and then make a top level adew application that places each of the child applications on different pages, and then interacts with them to determine when and how to flip between them. \quotation{Assuming I can get this to work (Is this the right aproach?) is there }\quotation{a simple way to get message_AskForString() like behavior from such an }\quotation{inset? If not I'll just replace the im's view with the inset. } I am not sure which behavior you are referring to. Adew applications can do anything any other ATK application, and can call message_AskForString() to do what is needed, however the enterstring object itself does not have hooks to allow for file completion or some of the other features provided by the ATK dialog box. \quotation{Is there an example of this somewhere? } Have you looked at the Adew based prototype help program in the controllers directory? Tom N. \enddata{text,538760200} \enddata{text822, 38439} \begindata{text822, 42233} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Mon, 6 Apr 1992 14:47:05 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Mon, 6 Apr 1992 14:44:44 -0400 (EDT) Received: from elysees.dartmouth.edu by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Mon, 6 Apr 92 14:44:25 EDT Received: by elysees.dartmouth.edu (5.65D1/4.2) id AA16631; Mon, 6 Apr 92 14:44:18 -0400 Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.elysees.noname.sun4.40 via MS.5.6.elysees.noname.sun4_40; Mon, 6 Apr 1992 14:44:16 -0400 (EDT) Message-Id: Date: Mon, 6 Apr 1992 14:44:16 -0400 (EDT) From: "Anthony V. Edwards" To: info-andrew@andrew.cmu.edu Subject: ezprint memory fault on page feed For some reason, a lot of our users are now having this problem: we have a help document in straight ascii text (so users can lpr it or ezprint it) and it has page feeds (^L) in it. Ezprint used to handle this just fine, but now it just memory faults. Here's an example: ------------------ BOF: /tmp/x.junk This is a line on the first page. This is a line on the second page. ------------------ EOF And here's what happens: % ezprint /tmp/x.junk Starting ezprint (Version 7.0, ATK 17.0); please wait... Memory fault % By using the -troff option to ezprint, I've narrowed it down - the last line output in troff is the 'first page.' It never gets to the page feed character. We are still running ATK4 PL10 here, so please excuse this note if this bug has been fixed in ATK5. \enddata{text822, 42233} \begindata{text822, 44242} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po2.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Tue, 7 Apr 1992 09:38:55 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Tue, 7 Apr 1992 09:35:59 -0400 (EDT) Received: from elysees.dartmouth.edu by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Tue, 7 Apr 92 09:35:43 EDT Received: by elysees.dartmouth.edu (5.65D1/4.2) id AA18368; Tue, 7 Apr 92 09:35:39 -0400 Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.elysees.noname.sun4.40 via MS.5.6.elysees.noname.sun4_40; Tue, 7 Apr 1992 09:35:36 -0400 (EDT) Resent-Message-Id: Resent-Date: Tue, 7 Apr 1992 09:35:36 -0400 (EDT) Resent-From: "Anthony V. Edwards" Resent-To: info-andrew@andrew.cmu.edu Return-Path: Message-Id: <9204071255.AA09859@northstar.dartmouth.edu> To: source@northstar.Dartmouth.EDU Cc: admin@northstar.Dartmouth.EDU Subject: Could you all field this one please? Date: Tue, 07 Apr 92 08:55:32 EDT From: Tim Irvin ------- Forwarded Message Return-Path: jay Received: by northstar.dartmouth.edu (5.51/3.3LEAF) id AA07891; Mon, 6 Apr 92 19:21:04 EDT Date: Mon, 6 Apr 92 19:21:04 EDT From: jay (Jay B. Perry) Message-Id: <9204062321.AA07891@northstar.dartmouth.edu> To: admin@northstar Reply-To: jay@northstar.Dartmouth.EDU Hi! I would like to make my own version of the ctext template that is used in conjunction with ez. I have copied the file ctext.tpl to a subdirectory in my account, but can not find out what the various commands are that correspond to the various attributes that can be set using lookZ from within ez. Can you tell me where I can find this information out? Also, I would like to create a similar template for Fortran, but after looking at the template file using vi, can not discern how comments, functions and global text are recognized. Is this a part of ez, or is it something that can be done using the template format? Thanks in advance! Jay Perry ------- End of Forwarded Message \enddata{text822, 44242} \begindata{text822, 46746} Return-path: X-Andrew-Authenticated-as: 91;andrew.cmu.edu;Tom Neuendorffer Received: from highland.itc.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Tue, 7 Apr 1992 09:51:47 -0400 (EDT) Received: from highland.itc.cmu.edu via qmail ID ; Tue, 7 Apr 1992 09:50:52 -0400 (EDT) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.highland.itc.cmu.edu.rs.aix31 via MS.5.6.highland.itc.cmu.edu.rs_aix31; Tue, 7 Apr 1992 09:50:51 -0400 (EDT) Message-ID: <0dsOWva00hYS0XM34v@andrew.cmu.edu> Date: Tue, 7 Apr 1992 09:50:51 -0400 (EDT) From: Tom Neuendorffer X-Andrew-Message-Size: 1566+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: Eric Baltischwiler Subject: Re: complex forms? CC: Info-Andrew In-Reply-To: <78*/S=eric14/OU=komsys/OU=tik/O=ethz/PRMD=SWITCH/ADMD=ARCOM/C=CH/@MHS> References: <78*/S=eric14/OU=komsys/OU=tik/O=ethz/PRMD=SWITCH/ADMD=ARCOM/C=CH/@MHS> \begindata{text,538760200} \textdsversion{12} \template{messages} \excerptedcaption{Excerpts from mail: 7-Apr-92 Re: Re: complex forms? Eric Baltischwiler@komsy (842)} \quotation{Thanks for your answer to my last post. I now have labels on my buttons, but have another problem. I can not get pointers to views in my inset! I want to do this so that I can move the input focus to the next enterStrV when the user finishes a value (a la Mac). ... } Sorry, I guess this fix hasn't made it out yet. Try applying the following change to adew.h, and let me know if it fixes your problem, (the second version with the added lines is the correct one). This should cause the child view pointers to initialize correctly in all cases. Regards and good luck, Tom *** adew.h Tue Apr 7 09:33:50 1992 --- adew.h.new Tue Apr 7 09:44:35 EDT 1992 *************** *** 41,47 **** nm = cel_GetRefAtom(cel);\\ for(aa = ARRAY; aa->object != NULL;aa++)\{\\ if(aa->name == nm)\{\\ ! if(CLV)\{ *(aa->view) = celview_GetTrueChild((struct celview *)CLV);\\ (*(ICNT))--;\}\\ if(*(aa->object) != cel_GetObject(cel))\{\\ *(aa->object) = cel_GetObject(cel);\\ --- 41,49 ---- nm = cel_GetRefAtom(cel);\\ for(aa = ARRAY; aa->object != NULL;aa++)\{\\ if(aa->name == nm)\{\\ ! if(CLV)\{ \\ ! if(celview_GetTrueChild((struct celview *)CLV) == NULL) celview_InitChildren((struct celview *)CLV);\\ ! *(aa->view) = celview_GetTrueChild((struct celview *)CLV);\\ (*(ICNT))--;\}\\ if(*(aa->object) != cel_GetObject(cel))\{\\ *(aa->object) = cel_GetObject(cel);\\ \ \enddata{text,538760200} \enddata{text822, 46746} \begindata{text822, 49808} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Tue, 7 Apr 1992 11:07:21 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Tue, 7 Apr 1992 11:05:34 -0400 (EDT) Received: from ucbvax.Berkeley.EDU by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Tue, 7 Apr 92 11:05:16 EDT Received: by ucbvax.Berkeley.EDU (5.63/1.43) id AA28546; Tue, 7 Apr 92 07:54:46 -0700 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: 23 Mar 92 16:55:08 GMT From: dog.ee.lbl.gov!network.ucsd.edu!usc!cs.utexas.edu!utgpu!cunews!csi.uottawa.ca!news@ucbvax.Berkeley.EDU (Michael Kedem) Organization: MCRLab - University of Ottawa Subject: Re: ATK on SVR4/i386 Message-Id: <1992Mar23.165508.6643@csi.uottawa.ca> References: <1992Mar20.225354.4189@raid.dell.com> Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu In article <1992Mar20.225354.4189@raid.dell.com>, jrh@mustang.dell.com (Randy Howard) writes: ! ! Is anyone aware of an effort to port ATK to SVR4/386 or something similar? ! Should the SCO port work as is? I'm looking into doing this, but am trying ! to avoid duplicate effort. ! ! -- ! Randy Howard @'s: jrh@dell.com ! Dell Computer Corp. !'s: ...!uunet!dellunix!jrh Yes, ATK runs on SCO SV 3.2.2. There are some minor problems compiling it - email me for the patch file. It seems like the original SCO install program does not work with the original Imakefiles, so you need a BSD-compatible install. The install.c supplied with andrew does not compile on SCO, so I ported it, though there probably is a pd install which is BSD-compatible and compiles on SCO. Michael Kedem michael@shamin.genie.uottawa.ca problems:kedem@aix1.uottawa.ca \enddata{text822, 49808} \begindata{text822, 52091} Return-path: X-Andrew-Authenticated-as: 5904;andrew.cmu.edu;Robert Andrew Ryan Received: from po3.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Tue, 7 Apr 1992 11:38:20 -0400 (EDT) Received: from po2.andrew.cmu.edu via qmail ID ; Tue, 7 Apr 1992 11:36:48 -0400 (EDT) Received: from freeport.andrew.cmu.edu via qmail ID ; Tue, 7 Apr 1992 11:35:45 -0400 (EDT) Received: from freeport.andrew.cmu.edu via qmail ID ; Tue, 7 Apr 1992 11:35:37 -0400 (EDT) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.freeport.andrew.cmu.edu.rt.aos4 via MS.5.6.freeport.andrew.cmu.edu.rt_aos4; Tue, 7 Apr 1992 11:35:36 -0400 (EDT) Message-ID: Date: Tue, 7 Apr 1992 11:35:36 -0400 (EDT) From: Robert Andrew Ryan X-Andrew-Message-Size: 916+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: Info-Andrew Subject: Re: Could you all field this one please? CC: admin@northstar.Dartmouth.EDU In-Reply-To: <9204071255.AA09859@northstar.dartmouth.edu> References: <9204071255.AA09859@northstar.dartmouth.edu> \begindata{text,271123752} \textdsversion{12} \template{messages} \excerptedcaption{Excerpts from internet.other.info-andrew: 7-Apr-92 Could you all field this on.. Tim Irvin@betelgeuse.Dar (1014)} \quotation{Also, I would like to create a similar template for }\quotation{Fortran, but after looking at the template file using vi, can not }\quotation{discern how comments, functions and global text are recognized. Is this a part of ez, or is it something that can be done using the template format? Thanks in advance! } I'm afraid the best way to find out the names for attributes is to read other existing template files. If you want to look at the source code it's in andrew/atk/support, style and stylesheet are the main source files of interest. The recognition of comments, function names, etc is done with c-code. We distribute appropriate insets for C, Lisp, Pascal, Modula-2 and Modula-3. All of them except for the ctext inset are in andrew/contrib. ctext is in andrew/atk/ctext. -Rob Ryan Andrew Toolkit Consortium \enddata{text,271123752} \enddata{text822, 52091} \begindata{text822, 54787} Return-path: X-Andrew-Authenticated-as: 1210;alw.nih.gov;Bob Dew Received: from kirin.dcrt.nih.gov via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl@andrew.cmu.edu) ID ; Tue, 7 Apr 1992 12:13:19 -0400 (EDT) Received: from kirin.dcrt.nih.gov via qmail ID ; Tue, 7 Apr 1992 12:10:46 -0400 (EDT) If-Type-Unsupported: send Received: from kirin.dcrt.nih.gov via qmail ID ; Tue, 7 Apr 1992 12:08:25 -0400 (EDT) Received: from dude.dcrt.nih.gov via qmail ID ; Tue, 7 Apr 1992 12:06:01 -0400 (EDT) Received: from dude.dcrt.nih.gov via qmail ID ; Tue, 7 Apr 1992 12:05:54 -0400 (EDT) Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.dude.dcrt.nih.gov.sun4.41 via MS.5.6.dude.dcrt.nih.gov.sun4_41; Tue, 7 Apr 1992 12:05:54 -0400 (EDT) Message-ID: Date: Tue, 7 Apr 1992 12:05:54 -0400 (EDT) From: Bob_Dew@alw.nih.gov X-Andrew-Message-Size: 493+0 Content-Type: X-BE2; 12 To: Info-Andrew Subject: xgraphic patches fail with Graphon X Terminals \begindata{text,1850320} \textdsversion{12} \template{messages} Has anyone tried running Andrew Version 5 on a Graphon X terminal? We find that fonts in ATK application are "blacked-out" in various text areas, following our installation of the xgraphic patches to a Sun Sparc2 platform running X11R4 and OS 4.1.1. Un-patched ATK applications run fine on our Graphons. As things are, the font problem is severe enough that we need to operate with two sets of Andrew binaries--one for X terminal use, and the other for use on console monitors. Bob \ \enddata{text,1850320} \enddata{text822, 54787} \begindata{text822, 57024} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po5.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Tue, 7 Apr 1992 12:44:46 -0400 (EDT) Received: from po3.andrew.cmu.edu via qmail ID ; Tue, 7 Apr 1992 12:44:11 -0400 (EDT) If-Type-Unsupported: send Received: from po3.andrew.cmu.edu via qmail ID ; Tue, 7 Apr 1992 12:43:08 -0400 (EDT) Received: from thumper.bellcore.com by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Tue, 7 Apr 92 12:42:46 EDT Received: from greenbush.bellcore.com by thumper.bellcore.com (4.1/4.7) id for info-andrew@andrew.cmu.edu; Tue, 7 Apr 92 12:42:43 EDT Received: by greenbush.bellcore.com (4.1/4.7) id for info-andrew@andrew.cmu.edu; Tue, 7 Apr 92 12:42:43 EDT Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.greenbush.galaxy.sun4.41 via MS.5.6.greenbush.galaxy.sun4_41; Tue, 7 Apr 1992 12:42:41 -0400 (EDT) Message-Id: Date: Tue, 7 Apr 1992 12:42:41 -0400 (EDT) From: Nathaniel Borenstein Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII To: Info-Andrew Subject: Re: xgraphic patches fail with Graphon X Terminals Cc: Steve Rohall In-Reply-To: References: We run routinely on Graphons without any problem. I think most of us turn off the 3-D look & feel, however, which may make a difference. We've also gone through several versions of the famous xgraphic patch, and I'm therefore not sure whether or not we're running the same version of it. The new Andrew release in April will, as I understand it, have the xgraphic patch built-in. If so, then at least we can start over with a stable comparison state in figuring out what does & doesn't work on the graphon... -- Nathaniel \enddata{text822, 57024} \begindata{text822, 59368} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Tue, 7 Apr 1992 15:09:35 -0400 (EDT) Received: from po3.andrew.cmu.edu via qmail ID ; Tue, 7 Apr 1992 15:06:01 -0400 (EDT) Received: from alpha.xerox.com by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Tue, 7 Apr 92 15:05:53 EDT Received: from holmes.parc.xerox.com ([13.1.100.162]) by alpha.xerox.com with SMTP id <11725>; Tue, 7 Apr 1992 12:05:29 PDT Received: by holmes.parc.xerox.com id <25544>; Tue, 7 Apr 1992 12:05:21 -0700 Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.holmes.parc.xerox.com.sun4.41 via MS.5.6.holmes.parc.xerox.com.sun4_41; Tue, 7 Apr 1992 12:05:12 -0700 (PDT) Message-Id: Date: Tue, 7 Apr 1992 12:05:12 PDT Sender: Bill Janssen From: Bill Janssen To: Info-Andrew , Bob_Dew@alw.nih.gov Subject: Re: xgraphic patches fail with Graphon X Terminals In-Reply-To: References: I'd love to try it, but all our X terminals are NCD... Are all the fonts properly installed for the Graphon? I can't see how the xgraphic.c patch would affect text-drawing behavior, but it might have something to do with the foreground and background color settings, perhaps... Bill \enddata{text822, 59368} \begindata{text822, 61161} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Tue, 7 Apr 1992 19:42:08 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Tue, 7 Apr 1992 19:39:26 -0400 (EDT) Received: from ucbvax.Berkeley.EDU by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Tue, 7 Apr 92 19:39:13 EDT Received: by ucbvax.Berkeley.EDU (5.63/1.43) id AA17767; Tue, 7 Apr 92 16:36:55 -0700 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: 7 Apr 92 05:29:56 GMT From: elroy.jpl.nasa.gov!usc!cs.utexas.edu!mercury.unt.edu!mips.mitek.com!convex!datri@ames.arc.nasa.gov (Anthony A. Datri) Organization: Engineering, CONVEX Computer Corp., Richardson, Tx., USA Subject: Re: non-unix clients Message-Id: <1992Apr7.052956.9487@news.eng.convex.com> References: <4ds1Piq3fW015PQUcf@cs.kun.nl> Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu As I remember it, vui is the *direct* descent of the first msdos AMS client, which was called PC-Messages. This explains why some of the options seem strange in unixland -- choosing to save to a "local" or "remote" file. I once heard a claim that support for AMS to read netnews article trees would show up, but haven't heard anything since. Volunteers? -- ======================================================8--< \enddata{text822, 61161} \begindata{text822, 62998} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Wed, 8 Apr 1992 04:48:35 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Wed, 8 Apr 1992 04:45:33 -0400 (EDT) Received: from leon.nrcps.ariadne-t.gr ([143.233.2.1]) by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Wed, 8 Apr 92 04:44:32 EDT Received: by leon.nrcps.ariadne-t.gr id AA08393 (5.65c/ARIADNET.4.1 for info-andrew@andrew.cmu.edu); Wed, 8 Apr 1992 11:43:22 +0300 From: Dimitris Kalogeras - NRCPS Message-Id: <199204080843.AA08393@leon.nrcps.ariadne-t.gr> Organization: NETWORK ARIADNE , NCSR DEMOCRITOS Subject: Is this a Bug or what? To: info-andrew@andrew.cmu.edu Date: Wed, 8 Apr 92 11:43:19 EET DST X-Mailer: ELM [version 2.3 PL11] I am trying to compile and istall Andrew Distribuiton ver. 5.0.0 (1991) that was in the contrib section of X11R5. When I tried to build the Makefile with the xmkmf, I was reported an error on line 304 :Unexpected end of line. Unfortunatelly I can't see the problem . Thanks In Response Dimitris Kaloyeras \enddata{text822, 62998} \begindata{text822, 64499} Return-path: X-Andrew-Authenticated-as: 602;andrew.cmu.edu;Adam Stoller Received: from commander.itc.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Wed, 8 Apr 1992 07:46:30 -0400 (EDT) If-Type-Unsupported: send Received: from commander.itc.cmu.edu via qmail ID ; Wed, 8 Apr 1992 07:44:38 -0400 (EDT) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.commander.itc.cmu.edu.rs.aix31 via MS.5.6.commander.itc.cmu.edu.rs_aix31; Wed, 8 Apr 1992 07:44:37 -0400 (EDT) Message-ID: Date: Wed, 8 Apr 1992 07:44:37 -0400 (EDT) From: Adam Stoller X-Andrew-Message-Size: 622+0 Content-Type: X-BE2; 12 To: Info-Andrew , Dimitris Kalogeras - NRCPS Subject: Re: Is this a Bug or what? In-Reply-To: <199204080843.AA08393@leon.nrcps.ariadne-t.gr> References: <199204080843.AA08393@leon.nrcps.ariadne-t.gr> \begindata{text,538899344} \textdsversion{12} \template{messages} \excerptedcaption{Excerpts from internet.other.info-andrew: 8-Apr-92 Is this a Bug or what? Dimitris K. - NRCPS@leon (320)} \quotation{When I tried to build the Makefile with the xmkmf, I was reported an error on line 304 :Unexpected end of line. Unfortunatelly I can't see the problem . } The problem is that you didn't read the README file first - or carefully enough - otherwise you would not have used xmkmf. The Andrew Distribution has its own Imake config files and thus its own method for bootstrapping the creation of them. I suggest you scan the README file for mention of "imake" - after that it should be a lot easier to build. --fish \enddata{text,538899344} \enddata{text822, 64499} \begindata{text822, 66535} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po5.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Wed, 8 Apr 1992 08:09:36 -0400 (EDT) Received: from po3.andrew.cmu.edu via qmail ID ; Wed, 8 Apr 1992 08:07:29 -0400 (EDT) Received: from wn1.sci.kun.nl by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Wed, 8 Apr 92 08:07:20 EDT Received: by wn1.sci.kun.nl (5.57/2.1) on NUNET id AA28536; Wed, 8 Apr 92 14:07:31 +0200 Received: by cs.kun.nl (4.1/SMI-3.2) id AA26410; Wed, 8 Apr 92 14:07:27 +0200 Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.phoibos.cs.kun.nl.sun3.41 via MS.5.6.phoibos.cs.kun.nl.sun3_41; Wed, 8 Apr 1992 14:07:26 +0200 (MET DST) Message-Id: Date: Wed, 8 Apr 1992 14:07:26 +0200 (MET DST) From: Harco de Hilster To: Dimitris Kalogeras - NRCPS Subject: Re: Is this a Bug or what? Cc: info-andrew@andrew.cmu.edu In-Reply-To: <199204080843.AA08393@leon.nrcps.ariadne-t.gr> References: <199204080843.AA08393@leon.nrcps.ariadne-t.gr> Excerpts from andrew.mailing-list: 8-Apr-92 Is this a Bug or what? Dimitris K. - NRCPS@leon (321) > I am trying to compile and istall Andrew Distribuiton ver. 5.0.0 (1991) that > was in the contrib section of X11R5. When I tried to build the Makefile with > the xmkmf, I was reported an error on line 304 :Unexpected end of line. > Unfortunatelly I can't see the problem . That an easy one, Read the README file in the root directory of the source. It says: ..... To create the top-level Makefile .... use the following command imake -I. -I./config -Timake.tmpl -s Makefile -DTOPDIR=. If you didn't find that, then you probably forgot to set a lot of other things too. Hope this helps, Harco de Hilster \enddata{text822, 66535} \begindata{text822, 68705} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Wed, 8 Apr 1992 13:17:59 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Wed, 8 Apr 1992 13:16:06 -0400 (EDT) Received: from Athena.MIT.EDU by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Wed, 8 Apr 92 13:15:44 EDT Received: from LAKOTA.MIT.EDU by Athena.MIT.EDU with SMTP id AA20804; Wed, 8 Apr 92 13:15:16 EDT Received: by lakota.MIT.EDU (5.61/4.7) id AA23685; Wed, 8 Apr 92 13:14:30 -0400 Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.lakota.vax.bsd43 via MS.5.6.lakota.vax_43; Wed, 8 Apr 1992 13:14:26 -0400 (EDT) Message-Id: <8dsmbm8Gf03S9QSmAr@athena.mit.edu> Date: Wed, 8 Apr 1992 13:14:26 -0400 (EDT) From: Bill Cattey X-Andrew-Message-Size: 646+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: Info-Andrew , Bob_Dew@alw.nih.gov, Bill Janssen Subject: Re: xgraphic patches fail with Graphon X Terminals In-Reply-To: References: \begindata{text,1922608} \textdsversion{12} \template{messages} \excerptedcaption{Excerpts from mail: 7-Apr-92 Re: xgraphic patches fail w.. Bill Janssen@parc.xerox. (286)} \quotation{I'd love to try it, but all our X terminals are NCD... Are all the }\quotation{fonts properly installed for the Graphon? I can't see how the }\quotation{xgraphic.c patch would affect text-drawing behavior, but it might have }\quotation{something to do with the foreground and background color settings, }\quotation{perhaps... } \quotation{Bill } More grist for the mill: I just ran an ATK application with my X11fonts directory unreadable to the owner of my X server (but readable to me) My background came up in a REALLY wierd pattern even though it is normally white. (This was on a monochrome screen.) -wdc \enddata{text,1922608} \enddata{text822, 68705} \begindata{text822, 71125} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po3.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Wed, 8 Apr 1992 14:15:05 -0400 (EDT) Received: from po3.andrew.cmu.edu via qmail ID ; Wed, 8 Apr 1992 14:12:31 -0400 (EDT) Received: from mim.nersc.gov (mim2.nersc.gov) by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew+; Wed, 8 Apr 92 14:12:16 EDT Received: from ganz.nersc.gov.camelot by mim.nersc.gov (4.1/NERSC-1.18a) id AA07797; Wed, 8 Apr 92 11:12:06 PDT Received: by ganz.nersc.gov.camelot (4.1/SMI-4.1) id AA00558; Wed, 8 Apr 92 11:12:06 PDT Date: Wed, 8 Apr 92 11:12:06 PDT From: mike@ganz.nersc.gov (mike ganzberger) Message-Id: <9204081812.AA00558@ganz.nersc.gov.camelot> To: info-andrew+@andrew.cmu.edu Subject: AMS with MIME support in the clients Could someone tell me where I can get the latest release of AMS which contains support for MIME, if it's available? Thanks. ----------------------------------------------------------------------------- Michael Ganzberger | Distributed Computing Group Lawrence Livermore Nat. Lab. | National Energy Research SuperComputer Center P.O. Box 5509 L-561 | E-mail (internet) ganzbergermd@ES.net Livermore Ca. 94550 | Phone (510) 423-2674, FAX (510) 422-0435 ----------------------------------------------------------------------------- ---------------------------------------------------------------------------- Programs are but dreams / Ishi no ue ni mo san nen Born in formless, shapeless Zen /\ If you have patients, We are but dreamers. / \ You will be successful. ---------------------------------------------------------------------------- \enddata{text822, 71125} \begindata{text822, 73218} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po3.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Wed, 8 Apr 1992 15:11:46 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Wed, 8 Apr 1992 15:11:04 -0400 (EDT) If-Type-Unsupported: send Received: from po3.andrew.cmu.edu via qmail ID ; Wed, 8 Apr 1992 15:08:43 -0400 (EDT) Received: from thumper.bellcore.com by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Wed, 8 Apr 92 15:08:19 EDT Received: from greenbush.bellcore.com by thumper.bellcore.com (4.1/4.7) id for info-andrew@andrew.cmu.edu; Wed, 8 Apr 92 15:08:16 EDT Received: by greenbush.bellcore.com (4.1/4.7) id for info-andrew@andrew.cmu.edu; Wed, 8 Apr 92 15:08:16 EDT Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.greenbush.galaxy.sun4.41 via MS.5.6.greenbush.galaxy.sun4_41; Wed, 8 Apr 1992 15:08:15 -0400 (EDT) Message-Id: Date: Wed, 8 Apr 1992 15:08:15 -0400 (EDT) From: Nathaniel Borenstein X-Andrew-Message-Size: 343+0 Content-Type: X-BE2; 12 To: info-andrew@andrew.cmu.edu Subject: Re: non-unix clients In-Reply-To: <1992Apr7.052956.9487@news.eng.convex.com> References: <4ds1Piq3fW015PQUcf@cs.kun.nl> <1992Apr7.052956.9487@news.eng.convex.com> \begindata{text,1982552} \textdsversion{12} \template{messages} \excerptedcaption{Excerpts from internet.info-andrew: 7-Apr-92 Re: non-unix clients Anthony A. Datri@ames.ar (424)} \quotation{I once heard a claim that support for AMS to read netnews article trees }\quotation{would show up, but haven't heard anything since. Volunteers? } It's in the distributed code, but needs serious debugging. I don't volunteer, but will help anyone who does. \enddata{text,1982552} \enddata{text822, 73218} \begindata{text822, 75473} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Wed, 8 Apr 1992 18:09:34 -0400 (EDT) Received: from po3.andrew.cmu.edu via qmail ID ; Wed, 8 Apr 1992 18:07:25 -0400 (EDT) Received: from alpha.xerox.com by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Wed, 8 Apr 92 18:07:08 EDT Received: from holmes.parc.xerox.com ([13.1.100.162]) by alpha.xerox.com with SMTP id <11851>; Wed, 8 Apr 1992 15:06:53 PDT Received: by holmes.parc.xerox.com id <25544>; Wed, 8 Apr 1992 15:06:42 -0700 Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.holmes.parc.xerox.com.sun4.41 via MS.5.6.holmes.parc.xerox.com.sun4_41; Wed, 8 Apr 1992 15:06:38 -0700 (PDT) Message-Id: Date: Wed, 8 Apr 1992 15:06:38 PDT Sender: Bill Janssen From: Bill Janssen X-Andrew-Message-Size: 1035+1 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: Info-Andrew , Bob_Dew@alw.nih.gov, Bill Cattey Subject: Re: xgraphic patches fail with Graphon X Terminals In-Reply-To: <8dsmbm8Gf03S9QSmAr@athena.mit.edu> References: <8dsmbm8Gf03S9QSmAr@athena.mit.edu> \begindata{text,1799768} \textdsversion{12} \template{messages} \define{global } \excerptedcaption{Excerpts from direct: 8-Apr-92 Re: xgraphic patches fail w.. Bill Cattey@athena.mit.e (646+0)} \quotation{More grist for the mill: I just ran an ATK application with my X11fonts directory unreadable to the owner of my X server (but readable to me) My background came up in a REALLY wierd pattern even though it is normally white. (This was on a monochrome screen.) } \quotation{-wdc } I'm not sure this has anything to do with Bob's problem, but I just saw the same thing that Bill describes on MacX, with typescript displaying on a Mac that did not have the ATK fonts loaded. This is because all backgrounds (even black and white) are drawn with a `graphic' pattern, which is determined from one of the 17 characters in the font `xshape10' (what an intuitive name!). Naturally, if `xshape10' cannot be loaded, `fixed' or some such bogus alternative is used instead, and your "white" pattern looks like a really wierd array of whatever control character glyphs are present in that font. By the way, here are the patterns available in `xshape10': \begindata{raster,2187032} 2 0 65536 65536 0 0 412 86 bits 2187032 412 86 i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i8404g21111008 202202!11g8505 2021111008!55 02155540855550 21555408!7702 15554087Gf820 !ee083bbb80 | i80h20h!088082 04444082!5020 !aa082aaa820a aaa082aaa820!ee 083bbb821fGe0 85555021Gfe08 7fG80 | i80!4020!4408 022202!11g8525 g20!4408!5502 15554087777021 dddc08!77020a aaa087Gf821bb ba087fG80 | i80h20h"088204 444080525020!aa 08!22020aaaa0 82aaa820!aa08 2aaa821fGe086 eee821Gfe087f G80 | i8404g21111008 222002!11g8505 2021111008!55 02155540855550 21555408!7702 15554087Gf820 !ee083bbb80 | i80h20h08g8882 04444082!5020 !aa082aaa820a aaa082aaa820!ee 083bbb821fGe0 85555021Gfe08 7fG80 | i80!4020!4408 22!02!11g8525 g20!4408!5502 15554087777021 dddc08!77020a aaa087Gf821bb ba087fG80 | i80h20h!088802 04444080525020 !aa08!22020aaa a082aaa820!aa 082aaa821fGe0 86eee821Gfe08 7fG80 | i8404g21111008 202202!11g8505 2021111008!55 02155540855550 21555408!7702 15554087Gf820 !ee083bbb80 | i80h20h!088082 04444082!5020 !aa082aaa820a aaa082aaa820!ee 083bbb821fGe0 85555021Gfe08 7fG80 | i80!4020!4408 022202!11g8525 g20!4408!5502 15554087777021 dddc08!77020a aaa087Gf821bb ba087fG80 | i80h20h"088204 444080525020!aa 08!22020aaaa0 82aaa820!aa08 2aaa821fGe086 eee821Gfe087f G80 | i8404g21111008 222002!11g8505 2021111008!55 02155540855550 21555408!7702 15554087Gf820 !ee083bbb80 | i80h20h08g8882 04444082!5020 !aa082aaa820a aaa082aaa820!ee 083bbb821fGe0 85555021Gfe08 7fG80 | i80!4020!4408 22!02!11g8525 g20!4408!5502 15554087777021 dddc08!77020a aaa087Gf821bb ba087fG80 | i80h20h!088802 04444080525020 !aa08!22020aaa a082aaa820!aa 082aaa821fGe0 86eee821Gfe08 7fG80 | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | ZZQf0 | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | 1fGe085555020 h08h02i80h20h 08h02i80h20h08 h02i80h20h08i | 1fGe080h20h08 h02i80h20h08h 02i80h20h08h02 i80h20h08i | 1fGe082aaa820 h08h02i80h20h 08h02i80h20h08 h02i80h20h08i | 1fGe080h20h08 h02i80h20h08h 02i80h20h08h02 i80h20h08i | 1fGe085555020 h08h02i80h20h 08h02i80h20h08 h02i80h20h08i | 1fGe080h20h08 h02i80h20h08h 02i80h20h08h02 i80h20h08i | 1fGe082aaa820 h08h02i80h20h 08h02i80h20h08 h02i80h20h08i | 1fGe080h20h08 h02i80h20h08h 02i80h20h08h02 i80h20h08i | 1fGe085555020 h08h02i80h20h 08h02i80h20h08 h02i80h20h08i | 1fGe080h20h08 h02i80h20h08h 02i80h20h08h02 i80h20h08i | 1fGe082aaa820 h08h02i80h20h 08h02i80h20h08 h02i80h20h08i | 1fGe080h20h08 h02i80h20h08h 02i80h20h08h02 i80h20h08i | 1fGe085555020 h08h02i80h20h 08h02i80h20h08 h02i80h20h08i | 1fGe080h20h08 h02i80h20h08h 02i80h20h08h02 i80h20h08i | 1fGe082aaa820 h08h02i80h20h 08h02i80h20h08 h02i80h20h08i | 1fGe080h20h08 h02i80h20h08h 02i80h20h08h02 i80h20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | i80h20h08h02i 80h20h08h02i80 h20h08h02i80h 20h08i | \enddata{raster, 2187032} \view{rasterview,2187032,4,0,0} Bill \enddata{text,1799768} \enddata{text822, 75473} \begindata{text822, 83767} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po3.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Wed, 8 Apr 1992 20:13:34 -0400 (EDT) Received: from po3.andrew.cmu.edu via qmail ID ; Wed, 8 Apr 1992 20:12:36 -0400 (EDT) If-Type-Unsupported: send Received: from po3.andrew.cmu.edu via qmail ID ; Wed, 8 Apr 1992 20:10:39 -0400 (EDT) Received: from thumper.bellcore.com by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew+; Wed, 8 Apr 92 20:10:25 EDT Received: from greenbush.bellcore.com by thumper.bellcore.com (4.1/4.7) id for info-andrew+@andrew.cmu.edu; Wed, 8 Apr 92 20:10:23 EDT Received: by greenbush.bellcore.com (4.1/4.7) id for info-andrew+@andrew.cmu.edu; Wed, 8 Apr 92 20:10:23 EDT Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.greenbush.galaxy.sun4.41 via MS.5.6.greenbush.galaxy.sun4_41; Wed, 8 Apr 1992 20:10:20 -0400 (EDT) Message-Id: Date: Wed, 8 Apr 1992 20:10:20 -0400 (EDT) From: Nathaniel Borenstein X-Andrew-Message-Size: 294+0 Content-Type: X-BE2; 12 To: info-andrew+@andrew.cmu.edu Subject: Re: AMS with MIME support in the clients In-Reply-To: <9204081812.AA00558@ganz.nersc.gov.camelot> References: <9204081812.AA00558@ganz.nersc.gov.camelot> \begindata{text,1787800} \textdsversion{12} \template{messages} \excerptedcaption{Excerpts from internet.info-andrew: 8-Apr-92 AMS with MIME support in th.. mike ganzberger@ganz.ner (942)} \quotation{Could someone tell me where I can get the latest release of AMS which }\quotation{contains support for MIME, if it's available? Thanks. } I believe this release is imminent, but not yet available. \enddata{text,1787800} \enddata{text822, 83767} \begindata{text822, 85966} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po2.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Thu, 9 Apr 1992 08:45:03 -0400 (EDT) Received: from po3.andrew.cmu.edu via qmail ID ; Thu, 9 Apr 1992 08:42:38 -0400 (EDT) Received: from sun3.nsfnet-relay.ac.uk by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Thu, 9 Apr 92 08:42:23 EDT Via: sun3.nsfnet-relay.ac.uk; Thu, 9 Apr 1992 13:36:36 +0100 Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.barney.cs.city.ac.uk.sun4.40 via MS.5.6.barney.cs.city.ac.uk.sun4_40; Thu, 9 Apr 1992 13:43:23 +0100 (BST) Message-Id: Date: Thu, 9 Apr 1992 13:43:23 +0100 (BST) From: Nick Williams To: info-andrew@andrew.cmu.edu Subject: Fwd: Cannot print table of contents with groff References: <9204091204.AA04807@jclark.com> Thanks to James Clark.... Here is a temporary fix for printing table of contents using groff ---------- Forwarded message begins here ---------- Date: Thu, 9 Apr 92 13:04:58 BST From: jjc@jclark.com (James Clark) To: njw Subject: Cannot print table of contents with groff Sender: jjc@jclark.com DESCRIPTION OF INCORRECT BEHAVIOUR: The output of groff does not include the table of contents requested. This is consistent for all of the Andrew Toolkit output (i.e. using these macros). This looks like a bug in groff. I don't yet know exactly how this should be fixed, but you should be able to work around it by changing tmac.atk like this: *** tmac.atk.~1~ Thu Apr 9 11:42:28 1992 --- tmac.atk Thu Apr 9 12:56:51 1992 *************** *** 107,117 **** .ft \\n(PF .ps \\n(PX .po .if \\n(Tc=2 \{\ . nr Pc \\n% . nr Tc 3 . af PN i - . TC .\} .. . \" DP Duplex -- versus Simplex printing --- 107,117 ---- .ft \\n(PF .ps \\n(PX .po + .if \\n(Tc=3 \c .if \\n(Tc=2 \{\ . nr Pc \\n% . nr Tc 3 . af PN i .\} .. . \" DP Duplex -- versus Simplex printing *************** *** 307,315 **** --- 307,318 ---- .\" EM .\" check for work at end of file .de EM + .br .if \\n(Tc \{\ \c .nr Tc 2 + .TC + .nr Tc 0 .\} .\"tm EM called, Tc: \\n(Tc .. Let me know if you have any problems with this. System Architecture Research Centre, Computing Science Dept, City University, Northampton Square, London EC1V 0HB. Phone: +44 71 477 8551 FAX: +44 71 477 8560 \enddata{text822, 85966} \begindata{text822, 88723} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Thu, 9 Apr 1992 09:48:51 -0400 (EDT) Received: from po3.andrew.cmu.edu via qmail ID ; Thu, 9 Apr 1992 09:47:35 -0400 (EDT) Received: from wn1.sci.kun.nl by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Thu, 9 Apr 92 09:47:10 EDT Received: by wn1.sci.kun.nl (5.57/2.1) on NUNET id AA15105; Thu, 9 Apr 92 15:47:19 +0200 Received: by cs.kun.nl (4.1/SMI-3.2) id AA04621; Thu, 9 Apr 92 15:47:16 +0200 Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.phoibos.cs.kun.nl.sun3.41 via MS.5.6.phoibos.cs.kun.nl.sun3_41; Thu, 9 Apr 1992 15:47:15 +0200 (MET DST) Message-Id: Date: Thu, 9 Apr 1992 15:47:15 +0200 (MET DST) From: Harco de Hilster X-Andrew-Message-Size: 2334+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: info-andrew@andrew.cmu.edu Subject: non-unix clients part 2 \begindata{text,1206280} \textdsversion{12} \template{messages} Thanks to every one that responded to my original post! Unfortunately appears to be dead. I started with setting up a client-server on our unix machine. The unix server is necessary for the pc-client anyway. I found that the documentation about guardian, snap and the messageservers is almost absent and probably out of date. By going through the code I found that some services have to be added to /etc/services. There is no default port-number choosen if they are absent. What was almost impossible to find were the services to list in guardian.svc. With all debugging flags on I noticed cuis requested the server MS.10.3.(not messageserver) , and YES!! it worked. (Messageserver itself is linked to fakeclient. I don't know what it does, but the name isn't promising, and why is a server linked to a client?) So cuis is able to talk to the server MS.10.3 through guardian, but VUI dumps core and messagess never finishes initializing (or dumps core). a) Can someone please tell me what could be wrong b) Does any one know if special-projects is still alive. Many thanks in advance, Harco de Hilster. P.S. What is the difference between cuis and cuit. It seems that cuit uses tcp sockets and cuis udp sockets, but which one should I use and why the difference?. A) script that starts guardian: \typewriter{\smaller{/home7/harcoh/andrew_inst/etc/snap/guardian -u -v -l -r -n20,15 \\ -D1 -D2 -D4 -D8 -D16 -D32 -D64 -D128 -D256 -D512 -D1024 -D2048 -D4096 \\ -D8192 -D16384 \\ -s/home7/bbsman/etc/guardian.svc \\ -p/home7/bbsman/etc/user.permits \\ -q/home7/bbsman/guardian.log }} B) guardian.svc \smaller{MS.10.3 BOTH FALSE 5 /home7/harcoh/andrew_inst/etc/snap/services/MS.10.3 BIOYA BOTH FALSE 5 /home7/harcoh/andrew_inst/etc/snap/services/bioya PCSERVER BOTH FALSE 5 /home7/harcoh/andrew_inst/etc/snap/services/pcserver } C) user.permits harcoh bbsman D) /etc/services \typewriter{\smaller{snap.guardian 8000/udp # AMS/SNAP exp. harcoh snap.guardian01 8001/udp # AMS/SNAP exp. harcoh snap.guardian02 8002/udp # AMS/SNAP exp. harcoh snap.guardian03 8003/udp # AMS/SNAP exp. harcoh snap.guardiant 8004/tcp # AMS/SNAP exp. harcoh snap.guardiant.debug 8005/tcp # AMS/SNAP exp. harcoh snap.guardiant.stat 8006/udp # AMS/SNAP exp. harcoh}} \enddata{text,1206280} \enddata{text822, 88723} \begindata{text822, 92602} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po2.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Thu, 9 Apr 1992 13:09:33 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Thu, 9 Apr 1992 13:07:56 -0400 (EDT) Received: from relay1.UU.NET by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Thu, 9 Apr 92 13:07:47 EDT Received: from uunet.uu.net (via LOCALHOST.UU.NET) by relay1.UU.NET with SMTP (5.61/UUNET-internet-primary) id AA27786; Thu, 9 Apr 92 13:07:44 -0400 Received: from lupine.UUCP by uunet.uu.net with UUCP/RMAIL (queueing-rmail) id 130635.8172; Thu, 9 Apr 1992 13:06:35 EDT Received: from paradise1.ncd.com by lupine.ncd.com (4.1/SMI-4.1) id AA07728; Thu, 9 Apr 92 08:39:12 PDT Received: by paradise1.ncd.com (4.1/SMI-4.1) id AA14074; Thu, 9 Apr 92 08:46:39 PDT Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.paradise.paradise.ncd.com.sun4.41 via MS.5.6.paradise.paradise.ncd.com.sun4_41; Thu, 9 Apr 1992 08:46:38 -0700 (PDT) Message-Id: Date: Thu, 9 Apr 1992 08:46:38 -0700 (PDT) From: Kris Olander To: info-andrew@andrew.cmu.edu Subject: Mail conversion from Xmh to Messages Hopefully someone has already figured this out... We are starting to use Messages. The problem is that we have large volumes of Xmh mail in various folders and now would like to migrate that info to corresponding Messages folders. The only problem is that Messages uses a different naming format. I believe messages creates mail file names based on the time the file was read in. Has anyone ever created a conversion utility that would read the creation (or whatever) date of a file and then change the file name to it's Messages equivalent file name? -Kris Olander NCD Technical Support support@ncd.com -and/or- kriso@ncd.com \enddata{text822, 92602} \begindata{text822, 94870} X-Andrew-Authenticated-As: 469;andrew.cmu.edu;Craig F. Everhart Return-path: X-Andrew-Authenticated-as: 1312;transarc.com;Craig Everhart Received: from apollo.transarc.com via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl@andrew.cmu.edu) ID ; Thu, 9 Apr 1992 13:52:21 -0400 (EDT) If-Type-Unsupported: send Received: from apollo.transarc.com via qmail ID ; Thu, 9 Apr 1992 13:48:26 -0400 (EDT) Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.apollo.transarc.com.pmax.3 via MS.5.6.apollo.transarc.com.pmax_3; Thu, 9 Apr 1992 13:48:20 -0400 (EDT) Message-ID: Date: Thu, 9 Apr 1992 13:48:20 -0400 (EDT) From: Craig_Everhart@transarc.com X-Andrew-Message-Size: 566+0 Content-Type: X-BE2; 12 To: Info-Andrew , Kris Olander Subject: Re: Mail conversion from Xmh to Messages In-Reply-To: References: \begindata{text,18647216} \textdsversion{12} \template{messages} There's a tool floating around to do this. AMS-format folders are something like the following, in a directory: a .MS_MsgDir file a bunch of files with names beginning with the '+' character The names can be arbitrary other than the leading character. The simplest way to create a folder from a directory (say, /blah) is like this: % mkdir ~/.MESSAGES/blah % touch ~/.MESSAGES/blah/.MS_MsgDir % cd /blah % foreach foo (*) ? cp $foo ~/.MESSAGES/+$\{foo\} ? end % cui CUI> reconstruct ~/.MESSAGES/blah CUI> rebuild CUI> quit % Give it a shot. Craig \enddata{text,18647216} \enddata{text822, 94870} \begindata{text822, 96968} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po5.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Thu, 9 Apr 1992 15:50:31 -0400 (EDT) Received: from po3.andrew.cmu.edu via qmail ID ; Thu, 9 Apr 1992 15:49:29 -0400 (EDT) Received: from thumper.bellcore.com by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew+; Thu, 9 Apr 92 15:49:14 EDT Received: from greenbush.bellcore.com by thumper.bellcore.com (4.1/4.7) id for info-andrew+@andrew.cmu.edu; Thu, 9 Apr 92 15:48:54 EDT Received: by greenbush.bellcore.com (4.1/4.7) id for Craig_Everhart@transarc.com; Thu, 9 Apr 92 15:48:55 EDT Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.greenbush.galaxy.sun4.41 via MS.5.6.greenbush.galaxy.sun4_41; Thu, 9 Apr 1992 15:48:52 -0400 (EDT) Message-Id: Date: Thu, 9 Apr 1992 15:48:52 -0400 (EDT) From: Nathaniel Borenstein X-Andrew-Message-Size: 862+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: Info-Andrew , Kris Olander Subject: Re: Mail conversion from Xmh to Messages Cc: Craig_Everhart@transarc.com In-Reply-To: References: \begindata{text,1829656} \textdsversion{12} \template{messages} Actually, Craig's solution can be simplified \italic{considerably}: \excerptedcaption{Excerpts from internet.info-andrew: 9-Apr-92 Re: Mail conversion from Xm.. Craig_Everhart@transarc. (566+0)} \quotation{The simplest way to create a folder from a directory (say, /blah) is like this: }\quotation{ % mkdir ~/.MESSAGES/blah }\quotation{ % touch ~/.MESSAGES/blah/.MS_MsgDir }\quotation{ % cd /blah }\quotation{ % foreach foo (*) }\quotation{ ? cp $foo ~/.MESSAGES/+$\{foo\} }\quotation{ ? end }\quotation{ % cui }\quotation{ CUI> reconstruct ~/.MESSAGES/blah }\quotation{ CUI> rebuild } \quotation{ CUI> quit } That will work, but instead you can "simply" do this: % cui create blah ~/.MESSAGES\\; quit % cp Mail/blah/* ~/.MESSAGES/blah % cui reconstruct blah 1 \\; quit Note that the files do NOT need to start with + -- the reconstruction will rename them to take care of that. Also, using the "create" command not only saves a step at the beginning, it makes the "rebuild" step at the end unnecessary. -- Nathaniel \enddata{text,1829656} \enddata{text822, 96968} \begindata{text822, 99851} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po2.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Thu, 9 Apr 1992 21:00:53 -0400 (EDT) Received: from po3.andrew.cmu.edu via qmail ID ; Thu, 9 Apr 1992 20:59:00 -0400 (EDT) Received: from alpha.xerox.com by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Thu, 9 Apr 92 20:58:45 EDT Received: from holmes.parc.xerox.com ([13.1.100.162]) by alpha.xerox.com with SMTP id <11638>; Thu, 9 Apr 1992 17:58:25 PDT Received: by holmes.parc.xerox.com id <25544>; Thu, 9 Apr 1992 17:58:09 -0700 Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.holmes.parc.xerox.com.sun4.41 via MS.5.6.holmes.parc.xerox.com.sun4_41; Thu, 9 Apr 1992 17:57:58 -0700 (PDT) Message-Id: <8dtCUKIB0KGW44b3MJ@holmes.parc.xerox.com> Date: Thu, 9 Apr 1992 17:57:58 PDT Sender: Bill Janssen From: Bill Janssen To: Bob_Dew@alw.nih.gov Subject: Re: xgraphic patches fail with Graphon X Terminals Cc: info-andrew@andrew.cmu.edu In-Reply-To: References: Bob, My impression is that your Graphon problem has something to do with the way that textview does its drawing. Clearly it's not a font problem. Textview uses the transfer modes WHITE, BLACK, XOR, and COPY. In particular, using WHITE and BLACK seem risky when using a color model, but xgraphic.c seems to handle both cases properly. It looks to me as if someone is not setting the transfer mode from graphic_BLACK to graphic_COPY before doing a FillRect(), but I can't find the place. Also, I can't see why this wouldn't show up on a monochrome Sun display... You might want to try a test like "ez -fg navy -bg yellow", and see what the lossage looks like there. That could narrow it down a bit. If you do, would you please send me more snapshots? I'm going to look at it some more. Thanks. Bill \enddata{text822, 99851} \begindata{text822, 102384} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po3.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Sat, 11 Apr 1992 08:32:16 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Sat, 11 Apr 1992 08:28:40 -0400 (EDT) Received: from ucbvax.Berkeley.EDU by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Sat, 11 Apr 92 08:28:32 EDT Received: by ucbvax.Berkeley.EDU (5.63/1.43) id AA05638; Sat, 11 Apr 92 05:24:41 -0700 Received: from USENET by ucbvax.Berkeley.EDU with netnews for info-andrew@andrew.cmu.edu (info-andrew@andrew.cmu.edu) (contact usenet@ucbvax.Berkeley.EDU if you have questions) Date: 6 Apr 92 22:28:19 GMT From: van-bc!wolfe.wimsey.bc.ca!rsoft!agate!spool.mu.edu!mips!pacbell.com!pacbell!osc!george@ucbvax.Berkeley.EDU (George Baggott) Organization: Versant Object Technology, Menlo Park, CA Subject: eroff Message-Id: <5477@osc.COM> Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu I've been able to get basic Andrew printing to work with various public domain printing software (groff, psroff), but I haven't been able to get printing to work for postscript generating insets (i.e zip, raster, etc.). Has anyone out there been able to get more than basic text printing to work with something other than ditroff? Right now I'm looking at a package called eroff (by Elan Computer Group Inc, 415-964-2200) which claims to support ditroff. Does anyone have any experiences, good or bad, with it? Does it really support ditroff to the extent that ATK printing demands, or does it just provide the half-way support that groff and psroff seem to have? Many thanks, George george@osc.com uunet!amdcad!osc!george osc!george@pacbell.com \enddata{text822, 102384} \begindata{text822, 104466} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po5.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Sat, 11 Apr 1992 09:59:03 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Sat, 11 Apr 1992 09:57:51 -0400 (EDT) Received: from ucbvax.Berkeley.EDU by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Sat, 11 Apr 92 09:57:36 EDT Received: by ucbvax.Berkeley.EDU (5.63/1.43) id AA08176; Sat, 11 Apr 92 06:42:18 -0700 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: 26 Mar 92 02:33:24 GMT From: auspex-gw!guy@uunet.uu.net (Guy Harris) Organization: Auspex Systems, Santa Clara Subject: Re: ATK on SVR4/i386 Message-Id: <12236@auspex-gw.auspex.com> References: <1992Mar20.225354.4189@raid.dell.com> Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu >Is anyone aware of an effort to port ATK to SVR4/386 or something similar? >Should the SCO port work as is? Probably not. For example: 1) SCO's pseudo-tty mechanism is probably different from SVR4's mechanism. 2) SCO uses COFF, so you'd need a COFF-based dynamic loader. SVR4 uses ELF, so you'd need an ELF-based dynamic loader. The good news is that SVR4 *already comes with such a loader*; it has the same "dlopen()" interface that SunOS 4.1[.x] has (actually, it's the other way around; AT&T devised the interface, SunOS 4.x supplied some of the underpinnings of the SVR4 implementation, and SunOS 4.1[.x] also picked up the interface and put it atop its implementation). So if anybody out there is contemplating writing such a dynamic loader for ELF, they should STOP RIGHT NOW and just grab the SunOS 4.1[.x] dynamic loading code for ATK - it uses the "dlopen()" interface. (At least half the reason I did the "dlopen()" interface was to make sure nobody decided to whip up their own code to read and relocate ELF images.) The nice thing is that an SVR4/386 port of ATK would probably require *only* new versions of those damn assembler-language stubs to be an SVR4/ port, and stubs already exist for 68K, SPARC, MIPS, and some other architectures - they might only need some tweaking for different assembler-language syntax and different ways of doing SVR4-style position-independent code. (And if ATK were put atop something that didn't require those stubs, it'd be even better....) \enddata{text822, 104466} \begindata{text822, 107337} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po2.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Mon, 13 Apr 1992 00:41:26 -0400 (EDT) Received: from po3.andrew.cmu.edu via qmail ID ; Mon, 13 Apr 1992 00:38:15 -0400 (EDT) Received: from apollo.gl.pitt.edu by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew+; Mon, 13 Apr 92 00:38:06 EDT Received: by apollo.gl.pitt.edu (4.1/1.34) id AA13123; Mon, 13 Apr 92 00:38:01 EDT From: qralston@gl.pitt.edu (James Ralston Crawford) Message-Id: <9204130438.AA13123@apollo.gl.pitt.edu> Subject: Re: AMS with MIME support in the clients To: info-andrew+@andrew.cmu.edu Date: Mon, 13 Apr 92 0:37:58 EDT X-Mailer: ELM [version 2.3 PL11] In message , Nathaniel Borenstein states: > > Could someone tell me where I can get the latest release of AMS > > which contains support for MIME, if it's available? Thanks. > > I believe this release is imminent, but not yet available. I've been lurking on this mailing list for a few weeks now. I'm about to attempt to build the ATK for the Suns that comprise the gl.pitt.edu domain. However, doing so with the current version (as distributed in contrib/ of X11R5) would be a waste of time if a new version is indeed imminent. So... is there indeed a new release of the ATK due out soon? If so, when? Thanks, -J -- James Ralston Crawford {qralston,root,postmaster}@gl.pitt.edu Advanced Graphics Lab [CIS], University of Pittsburgh, PA, USA \enddata{text822, 107337} \begindata{text822, 109224} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Mon, 13 Apr 1992 02:56:11 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Mon, 13 Apr 1992 02:55:20 -0400 (EDT) Received: from carla.dist.unige.it by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Mon, 13 Apr 92 02:55:04 EDT Received: from jrc.UUCP by carla.dist.unige.it with UUCP (5.61++/IDA-1.2.8) id AA20072; Mon, 13 Apr 92 06:56:42 GMT Received: from kbs2.isei.jrc.it (kms1) by jrc.it; Mon, 13 Apr 92 08:38:23 +0100 Received: from calvin.isei.jrc.it by kbs2.isei.jrc.it (4.0/JRC-S-1.2) id AA12647; Mon, 13 Apr 92 08:50:05 +0200 Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.calvin.kbs2.isei.jrc.it.sun4.41 via MS.5.6.calvin.kbs2.isei.jrc.it.sun4_41; Mon, 13 Apr 1992 08:45:56 +0200 (MET DST) Message-Id: <0duGsYs01hID82XW1b@calvin.kbs2.isei.jrc.it> Date: Mon, 13 Apr 1992 08:45:56 +0200 (MET DST) From: manfred kohl X-Andrew-Message-Size: 1083+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: info-andrew@andrew.cmu.edu Subject: Re: eroff In-Reply-To: <5477@osc.COM> References: <5477@osc.COM> \begindata{text,1302264} \textdsversion{12} \template{messages} Hi George, I did not follow the discussion on groff and psroff so I do not know what George means by \italic{h}\italic{alf way support that groff and psroff seem to have. } We are using eroff since nearly 2 years to print "full" andrew documents. Eroff had some problems too. If I remember well the final filter to transfrom ditroff output into postscript did not recognize the embedded postscript of andrew rasters, etc. So as final filter we still use psdit (part of the sun transcript software). I reported this problem to elan but no answer. But as far as real ditroff processing is concerned eroff works. I include some lines from my preferences to for reference \smaller{FormatCommand:/home/elan/usr/local/bin/eqn -Tpsc /tmp/%s.n|/home/elan/usr/local/bin/troff -meroff -Tpsc -F/usr/tran/sparc/lib/ditroff.font/Times | PrintCommand:psdit| lpr -s } Oh yes there was also a problem with the font management so I decided to use the (ditroff) fonts from the Transcript package. If you have any questions Manfred Kohl Joint Research Centre of the EC T.P. 361 I-21020 Ispra (VA) Italy m_kohl@jrc.it \enddata{text,1302264} \enddata{text822, 109224} \begindata{text822, 112022} Return-path: X-Andrew-Authenticated-as: 13;andrew.cmu.edu;Fred Hansen Received: from lieutenant.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Mon, 13 Apr 1992 10:23:03 -0400 (EDT) If-Type-Unsupported: send Received: from lieutenant.andrew.cmu.edu via qmail ID ; Mon, 13 Apr 1992 10:19:11 -0400 (EDT) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.lieutenant.andrew.cmu.edu.rs.aix31 via MS.5.6.lieutenant.andrew.cmu.edu.rs_aix31; Mon, 13 Apr 1992 10:19:11 -0400 (EDT) Message-ID: <8duNVT200VtjBDt4wg@andrew.cmu.edu> Date: Mon, 13 Apr 1992 10:19:11 -0400 (EDT) From: Fred Hansen X-Andrew-Message-Size: 870+0 Content-Type: X-BE2; 12 To: Info-Andrew Subject: ATK Release plans \begindata{text,539527196} \textdsversion{12} \template{messages} The Consortium is working hard to prepare a CD-ROM version of ATK and are about ready to cut a tape to send to the disc maker. The disc itself will be ready sometime next month. The CD-ROM will include all sources and complete object trees for the IBM RS/6000, HP 700 Snake, DEC PMAX, and Sun 4. This release will include support for the MIME internet mail standard. Once the tape has been cut, we will make the same release available for anonymous ftp from emsworth.andrew.cmu.edu as well as through the contrib directory on the X distribution. I expect this to happen sometime THIS month. No further general public release or patches of ATK sources is planned for at least a year. Periodic updates will be available for members of the consortium. (Hint: Join now; help ensure there will be further updates ;-) Fred Hansen Director, Andrew Toolkit Consortium\ \enddata{text,539527196} \enddata{text822, 112022} \begindata{text822, 114097} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po5.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Mon, 13 Apr 1992 15:26:05 -0400 (EDT) Received: from po3.andrew.cmu.edu via qmail ID ; Mon, 13 Apr 1992 15:23:27 -0400 (EDT) Received: from alpha.xerox.com by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Mon, 13 Apr 92 15:22:53 EDT Received: from holmes.parc.xerox.com ([13.1.100.162]) by alpha.xerox.com with SMTP id <11572>; Mon, 13 Apr 1992 12:22:38 PDT Received: by holmes.parc.xerox.com id <25544>; Mon, 13 Apr 1992 12:22:25 -0700 Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.holmes.parc.xerox.com.sun4.41 via MS.5.6.holmes.parc.xerox.com.sun4_41; Mon, 13 Apr 1992 12:22:18 -0700 (PDT) Message-Id: Date: Mon, 13 Apr 1992 12:22:18 PDT Sender: Bill Janssen From: Bill Janssen To: info-andrew@andrew.cmu.edu, van-bc!wolfe.wimsey.bc.ca!rsoft!agate!spool.mu.edu!mips!pacbell.com!pacbell!osc!george@ucbvax.berkeley.edu (George Baggott) Subject: Re: eroff In-Reply-To: <5477@osc.COM> References: <5477@osc.COM> This list needs an FAQ posting... `groff' works just fine for everything I've tried (I understand there's a TOC problem, but there's also a work-around for it), including all the embedded PostScript stuff. I've been able to drop ditroff and psdit, and just use groff. Recommended. Get the latest version of groff. Bill \enddata{text822, 114097} \begindata{text822, 115959} Return-path: X-Andrew-Authenticated-as: 1210;alw.nih.gov;Bob Dew Received: from kirin.dcrt.nih.gov via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Mon, 13 Apr 1992 18:31:25 -0400 (EDT) Received: from kirin.dcrt.nih.gov via qmail ID ; Mon, 13 Apr 1992 18:28:23 -0400 (EDT) Received: from dude.dcrt.nih.gov via qmail ID ; Mon, 13 Apr 1992 18:26:55 -0400 (EDT) Received: from dude.dcrt.nih.gov via qmail ID ; Mon, 13 Apr 1992 18:26:47 -0400 (EDT) Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.dude.dcrt.nih.gov.sun4c.411 via MS.5.6.dude.dcrt.nih.gov.sun4_41; Mon, 13 Apr 1992 18:26:46 -0400 (EDT) Message-ID: <0duUeaK0ts4j41Gp0X@alw.nih.gov> Date: Mon, 13 Apr 1992 18:26:46 -0400 (EDT) From: Bob_Dew@alw.nih.gov X-Andrew-Message-Size: 2015+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: Info-Andrew Subject: Re: Messages: font preferences CC: Keith_Gorlen@alw.nih.gov, john_powell@alw.nih.gov In-Reply-To: References: \begindata{text,1955760} \textdsversion{12} \template{messages} \define{global } Several messages have circulated regarding strange font behavior in the Andrew R5 \italic{messages} program. Specifically, unpredictable font types are displayed when one customizes \italic{messages} font size or body type in the \italic{preferences} file. For our Sparc2 systems, I believe the problem lies in the way that Andrew R5 handles its fonts.alias file ($\{ANDREWDIR\}/X11fonts/fonts.alias). Since incorporating support for ISO 8859 fonts, Andrew's fonts.alias file no longer maps alias names to its own fonts.dir file, but rather provides pointers to specific MIT X11 fonts, under the X11 search path. All is fine when ISO 8859 fonts are used, but when non-ISO Andrew fonts are installed together with Andrew's "old-style" fonts.alias file, font selection can become confused. Fonts listed in Andrew's "fonts.alias" file are searched for within X11 directories, resulting, of course, in a mismatch, causing a substitute font to replace the requested one. To show an example of how font selection can fail, not only for \italic{messages} but for other ATK applications as well, consider the preferences option "ez.bodyfont: andytype14f". The old (patch level 9) fonts.alias file maps "andytype14f" to "courier14f", which in turn specifies the Andrew font, "cou14f.snf", in Andrew's fonts.dir file. Compare an ez session that has the preference, "ez.bodyfont: andytype14f", with one having the preference, "ez.bodyfont: courier14f", and you'll find that one displays an X11 font while the other displays the correct Andrew font. (This discussion assumes that the old Andrew fonts are installed in $\{ANDREWDIR\}/X11fonts). I suppose one could overcome the font selection problem by adhering to the ISO 8859 font scheme, but the ISO fonts are not nearly as nice as their Andrew counterparts. ATK applications like \italic{ez} can still specify Andrew fonts directly by using the fonts.dir alias, but the \italic{messages} program can only specify font family and font size, making it impossilbe to locate an Andrew font such as "andytype14f". Bob \enddata{text,1955760} \enddata{text822, 115959} \begindata{text822, 119692} Return-path: X-Andrew-Authenticated-as: 1210;alw.nih.gov;Bob Dew Received: from kirin.dcrt.nih.gov via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Mon, 13 Apr 1992 20:19:55 -0400 (EDT) Received: from kirin.dcrt.nih.gov via qmail ID ; Mon, 13 Apr 1992 20:17:58 -0400 (EDT) Received: from dude.dcrt.nih.gov via qmail ID ; Mon, 13 Apr 1992 20:16:05 -0400 (EDT) Received: from dude.dcrt.nih.gov via qmail ID ; Mon, 13 Apr 1992 20:16:01 -0400 (EDT) Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.dude.dcrt.nih.gov.sun4c.411 via MS.5.6.dude.dcrt.nih.gov.sun4_41; Mon, 13 Apr 1992 20:16:00 -0400 (EDT) Message-ID: Date: Mon, 13 Apr 1992 20:16:00 -0400 (EDT) From: Bob_Dew@alw.nih.gov X-Andrew-Message-Size: 1281+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: Info-Andre , Fred Hansen Subject: Re: ATK Release plans In-Reply-To: <8duNVT200VtjBDt4wg@andrew.cmu.edu> References: <8duNVT200VtjBDt4wg@andrew.cmu.edu> \begindata{text,2146472} \textdsversion{12} \template{messages} \define{global } \quotation{ No further general public release or patches of ATK sources is planned for at least a year. }Looking forward to seeing the new CD-ROM version! Would be great if the new version could include fixes, or README references to some of the known R5 problems for which patches don't currently exist, like: - Sun 4 Spell Checking: When Andrew is compiled with optimization and without debugging, ATK applications crash when the "spell" menu option is selected - Preferences: R5 changes to overhead/util/lib/setprof.c and overhead/util/lib/profile.c cause new \italic{messages }options to be saved in "~/preferences", regardless of whether the user uses ~/preferences, ~/.preferences, or ~/X11defaults as his personal preferences file - Fonts: R5 is apparently not fully downward compatible for use with non-ISO80 Andrew fonts; menubar and pull-down menus are "blacked-out" on DEC 3100, running PMAX_42 (possibly related to the xgraphic patches) --Console: console/stats code missing from sgi_4d source tree; severe problems on DEC 3100 running PMAX _42 (can't redirect console messages to Andrew \italic{console} program, "Xws alignment" error messages saturate application buffer, crash system) Many thanks to all for the help I received from others on some of these problems, Bob \enddata{text,2146472} \enddata{text822, 119692} \begindata{text822, 122643} Return-path: X-Andrew-Authenticated-as: 1477;andrew.cmu.edu;Walter Wong Received: from jhereg.cc.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Mon, 13 Apr 1992 23:28:45 -0400 (EDT) Received: from jhereg.cc.cmu.edu via qmail ID ; Mon, 13 Apr 1992 23:25:32 -0400 (EDT) Received: from BatMail.robin.v2.13.CUILIB.3.45.SNAP.NOT.LINKED.jhereg.cc.cmu.edu.pmax.ul4 via MS.5.6.jhereg.cc.cmu.edu.pmax_ul4; Mon, 13 Apr 1992 23:25:31 -0400 (EDT) Message-ID: Date: Mon, 13 Apr 1992 23:25:31 -0400 (EDT) From: Walter Wong To: Info-Andrew , Bob_Dew@alw.nih.gov Subject: Re: ATK Release plans In-Reply-To: References: <8duNVT200VtjBDt4wg@andrew.cmu.edu> Bob_Dew@alw.nih.gov writes: > --Console: [...] severe problems on DEC 3100 running PMAX _42 (can't > redirect console messages to Andrew console program, "Xws alignment" > error messages saturate application buffer, crash system) Actually, the unaligned access problems are a result of a DEC X server bug being tickled by one of the console fonts. I believe it only happens with the Xws server. If you use 'uac' to turn off unaligned access messages for the X server, you can actually run console without it crashing the machine. This problem has been reported to DEC, and acknowledged as a bug. I'm currently waiting for a patch/notfication it's fixed in the next release. Walter \enddata{text822, 122643} \begindata{text822, 124479} Return-path: X-Andrew-Authenticated-as: 1210;alw.nih.gov;Bob Dew Received: from kirin.dcrt.nih.gov via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl@andrew.cmu.edu) ID ; Tue, 14 Apr 1992 11:35:23 -0400 (EDT) Received: from kirin.dcrt.nih.gov via qmail ID ; Tue, 14 Apr 1992 11:33:58 -0400 (EDT) If-Type-Unsupported: send Received: from kirin.dcrt.nih.gov via qmail ID ; Tue, 14 Apr 1992 11:29:51 -0400 (EDT) Received: from dude.dcrt.nih.gov via qmail ID ; Tue, 14 Apr 1992 11:26:20 -0400 (EDT) Received: from dude.dcrt.nih.gov via qmail ID ; Tue, 14 Apr 1992 11:26:14 -0400 (EDT) Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.dude.dcrt.nih.gov.sun4c.411 via MS.5.6.dude.dcrt.nih.gov.sun4_41; Tue, 14 Apr 1992 11:26:13 -0400 (EDT) Message-ID: Date: Tue, 14 Apr 1992 11:26:13 -0400 (EDT) From: Bob_Dew@alw.nih.gov X-Andrew-Message-Size: 653+0 Content-Type: X-BE2; 12 To: Info-Andrew Subject: DECstation console redirection \begindata{text,1753384} \textdsversion{12} \template{messages} Does anyone know how to re-direct /dev/console output to the Andrew \italic{console} program on a DECstation 3100 running ULTRIX 4.2? As is, the Andrew\italic{ console} utility starts with the following error message: \typewriter{console: Incomplete error monitoring (open '/dev/xcons' and '/dev/smscreen' failed)} Apparently, \italic{console} needs to be run with uid root in order to collect /dev/console output--but that prevents one from monitoring AFS userid-associated things, like mail, tokens, quota, etc. I found that one work-around is to change /usr/andrew/bin/runapp to run as setuid root. That fixes\italic{ console}, but breaks \italic{tm}. Does anyone have other suggestions? Thanks, Bob\ \enddata{text,1753384} \enddata{text822, 124479} \begindata{text822, 126928} Return-path: X-Andrew-Authenticated-as: 38;andrew.cmu.edu;Susan Straub Received: from muffin.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Tue, 14 Apr 1992 12:49:26 -0400 (EDT) If-Type-Unsupported: send Received: from muffin.andrew.cmu.edu via qmail ID ; Tue, 14 Apr 1992 12:47:28 -0400 (EDT) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.muffin.andrew.cmu.edu.rs.aix31 via MS.5.6.muffin.andrew.cmu.edu.rs_aix31; Tue, 14 Apr 1992 12:47:25 -0400 (EDT) Message-ID: Date: Tue, 14 Apr 1992 12:47:25 -0400 (EDT) From: Susan Straub X-Andrew-Message-Size: 32785+0 MIME-Version: 1.0 Content-Type: text/richtext; charset=US-ASCII Content-Transfer-Encoding: quoted-printable To: Info-Andrew Subject: FAQ Andrew Toolkit Frequently Asked Questions Release 5.1 This file contains questions from everywhere and answers from many places. Th= e sections on General Information and Common Problems Building Andrew were com= piled by Susan Straub (susan+@andrew.cmu.edu). The section on User Questions = has been extracted from a larger FAQ for CMU maintained by Andrew Plotkin (ap1= i+@andrew.cmu.edu). You can send suggestions and comments to these people or = directly to the consortium's mailing list/bulletin board: info-andrew@andrew.cmu.edu. Send bug reports to: info-andrew-bugs@andrew.cmu.edu For information about the consortium you can contact: Wilfred J. Hansen Director, Andrew Toolkit Consortium 238 UCCB 4910 Forbes Ave. Pittsburgh, PA 15213 wjh+@andrew.cmu.edu 412 268 6710 General Information G1. What is Andrew? G2. How do I obtain the latest release?= G3. Which platforms has Andrew been ported to?<= /leftindent> G4. What books have been written fo= r Andrew and where can I obtain them? G5. What is the Remote Andrew Demo Service? Common Problems/Questions Building Andrew Q1. Why doesn't my macro expand in site.mcr? Q2. How can I instruct "messages" to use /= usr/spool/mail for mail drop? Q3. Why do I get errors when building Ultrix 4.2 aga= inst AFS 3.1 libraries? Q4. Why does the distribution as made available on M= IT's X.V11R5 tape install files as links instead of actual files? Q5. Which configuration variables are used mos= t often? Q6. Do I need to have AFS to run the Andrew Message = System (AMS)? Q7. How can I get other useful software? Q8. How can I use PostScript fonts other than = those defined in /usr/andrew/X11fonts both in displayed and printed documents?= Q9. How can I print Andrew documents? Q10. Ezprint outputs rasters in PostScript. Can = I print those rasters? User Questions (Extracted from CMU FAQ) U0. Introduction U1. Customizing your account U2. Playing with ATK things, including ez, typescript= , console, and help U3. Mail and bboards, including messages= U4. Strange file formats U5. Working with graphics and images= U6. Fancy key bindings U7. Programming in Ness and C ___________________________________________________
General Questions
G1. What is Andrew? The Andrew Toolkit (ATK) is a portable user-interface toolkit that run= s under X11. It provides a dynamically-loadable object-oriented environment wh= erein objects can be embedded in one-another. Thus, one could use our 'generic= -object' editor (ez) to edit text that, in addition to containing multiple fon= ts, contains embedded raster images, spreadsheets, drawing editors, equations,= simple animations, etc.. These embedded objects could themselves contain othe= r objects, including text. With the toolkit, programmers can create new object= s that can be embedded as easily as those that come with the system. Many obje= cts, including those mentioned above, along with a help system, a system monit= oring tool (console), an editor based shell interface (typescript), and suppor= t for printing multi-media documents, are included in the release, making it u= seful to programmers and non-programmers alike. The Andrew Message System(AMS) provides a multi-media interface to mail and bu= lletin-boards. AMS contains many advanced features including authentication,= return receipts, automatic sorting of mail, vote collection and tabulation, e= nclosures, audit trails of related messages, and subscription management. It a= lso provides a variety of interfaces that support ttys and low-function person= al computers in addition to the high-function workstations. G2. How do I obtain the latest release? This release, 5.1, can be obtained in several ways. The entire X dist= ribution is available via anonymous ftp from the Internet host export.lcs.mit.= edu (Internet address: 18.30.0.238). The sources of ATK and AMS are located = in the contrib/andrew tree, one of the contributed toolkits. Just the andrew = tree from the X distribution, as well as the latest patches, is available via = anonymous ftp from the Internet host, emsworth.andrew.cmu.edu (Internet: 128.2= .30.62). Due to its size, the compressed tar'd tree is split into 11 files, = andrew.aa through andrew.ak (about 1MB each) in the split/ directory. You s= hould cat andrew.* together into andrew.tar.Z, uncompress the tree then tar -x= vpf. G3. Which platforms has Andrew been ported to? The (intended) available machine types are: Machine Type Operating System machine> IBM RT AOS December 1988 rt_aos4 IBM RT AIX 2.2.1 rt_aix221 IBM RS/6000 AIX 3.1 rs_aix31 IBM PS/2 M70/80 AIX 1.2 ps_aix12 Sun 3 SunOS 3.5 sun3_35 Sun 3 SunOS 4.0 sun3_4 Sun 3 SunOS 4.1 sun3_41 Sun 4 SunOS 4.0 sun4_40 Sun 4 SunOS 4.1 sun4_41 DEC Vax Ultrix 3.0 vax_3 DEC Vax BSD (4.3) vax_43 HP 300 HP UX hp300 HP 900 HP UX hp800 Macintosh II MacMach mac2_51 Apollo DomainOS apollo68k DEC MIPS Ultrix 3.0 pmax_3 DEC MIPS Ultrix 4.1 pmax_41 DEC MIPS Ultrix 4.2 pmax_42 SGI IRIX 4.0 sgi_4d SCO SCO sco_i386 G4. What books have been written for Andrew and where can I obtain them= ? Nathaniel S. Borenstein's book: Multimedia Applications Development wi= th the Andrew Toolkit (Prentice-Hall). ODA Project Book: Multi-media Document Interchange: ODA and the EXPRES= Project (Springer Verlag). ____________________________
Common Problems/Questions Building Andrew
Q1. Why doesn't my macro expand in site.mcr? Tabs are not allowed before macro declarations in the site.mcr. A= lthough the error is not reported as such, the macro is not expanded properly = and thus not noticed by imake. Use spaces. Q2. How can I instruct "messages" to use /usr/spool/mail for mail drop?= Although the following lines are in /usr/andrew/etc/AndrewSetup: AMS_NonAMSDelivery: yes AMS_MailBoxPrefix: /usr/spool/mail Messages says, "/usr/user/Mailbox" could not be properly read and delivered (0= success, 0 failure)". You should create a file $HOME/.mailrc and put in this line: unset hold WARNING: Once you start reading mail with messages, you inco= ming mail will be stored within directories maintained by messages. It is possible to return to other mail handling systems, but it may no= t be easy. Q3. Why do I get errors when building Ultrix 4.2 against AFS 3.1 librar= ies? You need to define AFS_ULTRIX in your site.h file. Q4. Why does the distribution as made available on MIT's X.V11R5 tape in= stall files as links instead of actual files? This fails in two directories: = overhead/class/lib and xmkfontd. The distribution defaults to install links instead of files. To c= hange this, #undef LINKINSTALL_ENV in your site.h file. If you want to build= using LINKINSTALL_ENV, you will have to change the following two files: overhead/class/lib/Imakefile: 29,32d28 #ifdef LIBDL_ENV install.time:: libclass.a $(INSTALL) $(INSTLIBFLAGS) libclass.a $(DESTDIR)/lib #else /* LIBDL_ENV */ 34d29 #endif /* LIBDL_ENV */ xmkfontd/Imakefile: 18c18 $(INSTALL) ${INSTLIBFLAGS} non-andrew.fonts.alias ${DESTDIR}/X11fonts/= fonts.alias --- > InstallFileToFile(non-andrew.fonts.alias, ${INSTLIBFLAGS}, ${DESTDIR}/X11fon= ts/fonts.alias) Q5. Which configuration variables are used most often? AFS30_ENV AFS31_ENV AMS_DELIVERY_ENV WHITEPAGES_ENV SNAP_ENV ANDREW_MALLOC_ENV DEBUG_MALLOC_ENV MK_BASIC_UTILS MK_AUTHORING MK_AUX_UTILS MK_AUX_INSETS MK_EXAMPLES RUN_AMDS_ENV ANDREW_PRINTING_ENV LINKINSTALL_ENV CONTRIB_ENV PRE_X11R4_ENV DPS_ENV DEFAULT_ANDREWDIR_ENV BUILDANDREWINSTALL_ENV ISO80_FONTS_ENV FONTS_TO_PCF_ENV CDEBUGFLAGS =3D -g MAKEDODEBUG =3D -g AFSBASEDIR =3D /usr/local XMKFONTDIR =3D /usr/local/bin/mkfontdir XFC =3D /usr/local/bin/bdftosnf XLIBDIR =3D /usr/local/lib XINCDIR =3D /usr/local/include RESOLVLIB =3D ${AFSBASEDIR}/lib/res/libresolv.a RESINC =3D -I$(AFSBASEDIR)/include/res INCLUDES =3D -I${BASEDIR}/include -I$(BASEDIR)/include/atk $(RESINC) -I$(AFSB= ASEDIR)/include -I${XINCDIR} Q6. Do I need to have AFS to run the Andrew Message System (AMS)? No, but having AFS gives you better functionality. Q7. How can I get other useful software? Enormous quantities of software are available for free from the in= ternet. Many of the pieces are also available via electronic mail. Subsequen= t paragraphs list some software that may be of value as an adjunct to ATK/AMS.= archie - archive locator A major source of information about the location of software on th= e network is 'archie'. Send mail to archie@archie.rutgers.edu In the body of the message include line(s) of the form prog name where name is the name of the software you would like to find out about. For = more information, the body can contain the line help The listing returned from a 'prog' request will list ftp sites containing info= rmation with the name you gave. A site with a name ending in .com, .edu, or .= gov will be in the United States and will be the best place to try. ftp - file transfer package To retrieve information via ftp over the internet: Give the comma= nd ftp site name> The response will ask for your login; reply anonymous the response will ask for your email address; type it in. Now you can give t= he help command to see the commands. I generally use ls, dir, cd, lcd, pwd, a= nd get. on the ATK cd-rom Some useful non-ATK software is included in the ATK cd-rom. For d= etails see subsequent paragraphs. binaries only: X11 for RS6000, Sun 4, Dec Pmax, and HP700 binaries and source: metamail imake makedepend patch source only: ispell, psroff, pbmplus X Windows System: X11, imake, makedepend, patch Screen management and graphics software Binaries on cdrom in system>/X11/... Bdf fonts on cdrom in src/util/bdffonts imake, makedepend, and patch source on cdrom in src/util/... objects on cdrom in system>/util/... ftp: export.mit.edu and numerous other sites (see archie) newsgroup: comp.windows.x mail address: MIT Software Distribution Center Technology Licensing Office room E32-300 77 Massachusetts Avenue Cambridge, MA 02139 phone: (617) 258-8330 metamail Converter for implementing MIME multi-media internet standard. newer version due early April, 1992 contact: Nathaniel Borenstein Bellcore Room 2A-274 Morristown, NJ 07962-1910 phone: (201) 829-4270 email: nsb@thumper.bellcore.com ftp: thumper.bellcore.com, see pub/nsb/README source: $ATKSRC/overhead/mail/metamail pbmplus Portable bit map conversion and transformation software version in cdrom:/src/util/pbmplus is from 10 December 1991 contact: Jef Poskanzer email: jef@well.sf.ca.us psroff Software augmenting troff and providing printer drivers. on cdrom: src/util/psroff is version 3.0 patch level 07 contact: Chris Lewis psroff-request@ferret.ocunix.on.ca ispell version ion cdrom in src/util/ispell is 2.0.02 updated with a bigger dictionary new version 3.0 is coming soon contact: Geoff Kuenning email: geoff@ITcorp.com GNU software: groff, g++, gcc, gdb, gnuemacs, ... Free software, eventually replacing Un*x ftp: prep.ai.mit.edu see pub/gnu/GNUinfo/FTP and pub/gnu/etc/DISTRIB email: gnu@prep.ai.mit.edu mailing address: Free Software Foundation, Inc. 675 Massachusetts Avenue Cambridge, MA 02139 USA phone: +1 617-876-3296 transcript (psdit) Contact: Adobe 1585 Charleston Road P.O. Box 7900 Mountain View, CA 94039-7900 phone: 1-800-833-6687 Documenter's WorkBench AT&T / NCR Computer Division 800 225 5627 Gary Wagner 513 445 1475 Q8. How can I use PostScript fonts other than those defined in /usr/and= rew/X11fonts both in displayed and printed documents? There are two aspects of this problem: screen display and print display. Screen Display To have your own fonts used by ATK applications for displaying tex= t you must first create those fonts and place them in a directory, possibly se= t up a fonts.alias file, run mkfontdir to get a fonts.dir file, and finally ad= d that directory to your X fontpath. Also, you'll have to specify in your pre= ferences file the fontname: ez.bodyfont: myfont12 Print Display To get these fonts to print you have to create the appropriate tro= ff device-specific font description files (see /usr/lib/font/devpsc for the Po= stscript fonts). Question: Are there tools around that let you create a troff= font? Furthermore, you'd have to alter the ATK-to-troff text translator (../a= ndrew/atk/text/txtroff.c) to recognize your new font family and to make the ap= propriate mapping from your fontname to the troff fontname. Currently, the on= ly fonts used for printing are Times, Helvetica, and Courier.= Q9. How can I print Andrew documents? Printing requires two steps, text formatting and then driving the printer. AT= K utilizes troff for text formatting. That is adequate for printing documents= with styled texts, but some insets such as rasters and zip require that the p= rinter be driven with PostScript. Print processing is controlled via the FormatCommand and PrintCommand options,= which can be specified in site.h during system build, the global preferences = in $ANDREWDIR/lib/global.prf, or the user's ~/preferences file. The most gene= ral defaults are: *.FormatCommand: eqn -Tpsc /tmp/%s.n | troff -Tpsc - | *.PrintCommand: lpr -n The -Tpsc flags specify that the troff output is ultimately inten= ded for a PostScript printer. If you do not have one, this value must be set = to whatever is appropriate for your printer. ATK documents containing only st= yled text can be printed via most versions of troff and most print drivers. To print ATK documents via PostScript printers, you have three options: troff - psroff ditroff - psdit groff These differ in cost and the difficulty of installation. See Q8 for hints on = acquiring these packages. troff - psroff Standard Unix systems are often delivered with an old troff which generates ou= tput for the "CAT" typesetter. This troff can be used to print ATK documents = by sending the output through the psroff processor, available freely on the in= ternet. See the psroff documentation. ditroff - psdit This is the route we use at CMU. ditroff is the device indep= endent troff which comes with the Documenters Work Bench portion of Unix Syste= m V. psdit is part of the "Transcript" package available fro= m Adobe software. Both ditroff and Transcript cost money. Adjust the FormatC= ommand to utilize the ditroff version of troff (it is usually called t= roff). The PrintCommand should usually use the -n switch and the lpr= daemon will run psdit. groff This package is free from the Free Software Foundation, the gnu people. The o= nly hitch is that to build groff you must first build g++ and to build g++ you must first build gcc. We have compiled groff without any problems with g++-1.= 39.1. g++ also compiled gpic, geqn, gtbl. Groff includes gtroff to do text formatting and grops to generate PostScript. = To To use both, have this specification: *.formatcommand: groff -pte -E /tmp/%s.n | *.PrintCommand: lpr -v Note: The -pte switches tell it to run gpic, gtbl, and geqn before running gt= roff. The output of gtroff is automatically piped into grops, which generates= the PostScript. (This assumes that /usr/gnu/bin (or wherever groff is instal= led) is on one's path.) The drawback of this simple approach is that the ATK preview option will no lo= nger work. To retain the preview command, I believe, one can use specificatio= ns something like this: *.FormatCommand: cat /tmp/%s.n | gpic|gtbl|geqn|gtroff -Tpsc | *.PrintCommand: grops | lpr -v Q10. Ezprint outputs rasters in PostScript. Can I print those rasters?= If you just want to print one raster from an Andrew document, you = can extract the raster from the troff output with a raw text editor and print = it directly. You may have to add the line 20 20 translate to get it out of the bottom corner. You may also have to add an initial line = containing only %! If you haven't got a postscript printer, the raster image can still be massage= d with the pbm package. pbm understands the Andrew format or you can use the = output of ezprint -t file> which will include the raster encoded in PostScript / hex form. ___________________________________________________
User Questions
U0. Introduction
This section has been extracted from a larger FAQ file maintained at CMU by An= drew Plotkin (ap1i+@andrew.cmu.edu). Its permission information reads: Everything in this file is public domain. You can copy it, mail it to = people, put bits of it in other files, print it out in 500-point type and stap= le it to the walls, whatever you want -- I'm happy to give you the opportunity= , and I couldn't do a thing about it if I wanted to. Thanks to the multiple people who provided me with questions and answers.
U1. Customizing your account
How can I customize my Andrew account? For info on your preferences file: help preferences (or help prefs) I edited my .cshrc, but now I get strange errors when I start ty= pescript, or I edited my .login, but now I get strange errors when I log in, or I edited my .plan, but now I get strange symbols when I finger myself, or I edited my .Xresources, but now I get strange errors when I start X, o= r I edited this file, but now I get strange errors.... If you use ez to edit your .plan, .login, .logout= , preferences, .cshrc, .Xresources, .Xclients, .Xmodmap, .signature, or any fi= le like that: you must get rid of any styles you put in. You = can't have sections of bold, or typewriter, or italics, or different text size= s, or indentation. (Not even in your .plan file or .signature, although that w= ould be nice.) Use "Plainest" on the whole file if you have to.
U2. Playing with ATK things
How do I customize an ATK program? See the help file on it. The ATK help files are more friend= ly than average; lots of examples, no words over two syllables, etc. How do I change the behavior, fonts, and so on in ATK windows and menus?= Most of these are controlled by preferences: help preferences help menubar The lines described in these help files go in your preferences= file. For example, *.Thumbscroll: yes will cause the text in any ATK window to swoop up and down when you wi= ggle the scroll bar. typescript.Thumbscroll: yes will cause that to happen only in typescript windows.= A major exception is the appearance of the pop-up menus you get when you press= and hold the middle button. These are controlled by X resources (when you are= running X.) help cmenu The resources described in this help file go in your .Xresourc= es file. *TitleFont: andysans22b will cause your menu card titles to be printed in a 22-point bold sans= -serif font. help*TitleFont: andysans22b will cause that to happen only in help windows. (Notice the format of an .Xresources entry is different from = a preferences entry.) I have a color display. Can I get windows in colors other than black an= d white? Yes, set the colors in your preference file with lines like this:<= nl> # darker blue on lighter tan. tan good. (blue not really dark en= ough) ez.foregroundcolor: #003ea2 ez.backgroundcolor: wheat For colors you can run xcolorpick or edit the file /usr/lib/X= 11/rgb.txt. Color names are recognized by X only if they are in rgb.txt.= If you want colors just for one execution of a program, you can set them on t= he command line: typescript -fg black -bg burlywood Here's a technique for setting color preferences based on the value of the env= ironment variable ISCOLOR, which you can set in your .login file as follows: = set TTY =3D `tty` if ($TTY =3D=3D /dev/console || \ $TTY =3D=3D /dev/hft/0 || \ $TTY =3D=3D /dev/ttyaed || \ $TTY =3D=3D /dev/ttyapa16 || \ $TTY =3D=3D /dev/ttyap16 || \ $TTY =3D=3D /dev/tty8514 || \ $TTY =3D=3D /dev/pty/ttyse || \ $TTY =3D=3D /dev/ttymono) then set consolelogin =3D 1 echo -n "Color display? [y/n]: " set answer =3D $ if ($answer" =3D~ [Yy]*) then setenv ISCOLOR 1 echo "color console login" else echo "console login" endif unset answer endif You can then reference this variable in your preferences file: ?E=3DISCOLOR=3D1:ez.backgroundcolor: antiquewhite1 ?E=3DISCOLOR=3D1:console.backgroundcolor: cornsilk ?E=3DISCOLOR=3D1:typescript.backgroundcolor: cornsilk3 ?E=3DISCOLOR=3D1:help.backgroundcolor: cornsilk3 ?E=3DISCOLOR=3D1:messages.backgroundcolor: cornsilk2 ?E=3DISCOLOR=3D1:bush.backgroundcolor: #e5d7c6 How do I add styles to ATK documents? help ez-styles How do I add tables of contents and footnotes to ATK documents? help ez-contents help ez-footnotes How do I adjust line spacing and margins in ATK documents? help ez and scroll down to "Formatting text: line spacing and margins". What keystroke commands work in ATK programs? help ez-keys Notice that most gnu-emacs keys work in ATK programs. How do I work with multiple ez windows or multiple buffers? help ez-buffers How do I remove ATK formatting from an ATK document, to turn it into pla= in text? The easy way is to edit it with ez, select= (highlight) the entire document, and select "Plainest". This will not work if the document has pagebreaks, footnotes, or insets (such = as embedded rasters.) If you don't want to start up ez, you can use ez2asci= i: ez2ascii filename Another alternative is to type rtfm -f filename This produces output with terminal formatting. It will look ok in an x= term, and underlining and boldface will show up correctly. However, it will fa= il nastily in a typescript, or if you put the output in a file and edit it. For more info, see help ez2ascii help rtfm How can I write my own console layout? help lacc The publically-available console layouts are in /usr/local/lib/console= s. If you want to write your own, it's best to start with one of these and mod= ify it. Once you've written your console layout file, add this line to your preference= s: console.default: consolefilename where consolefile is a full pathname (no ~'s), for example /afs/andrew/usr99/userid/layoutfile What is a help search path? Look at help preferences and scroll down to "Help preferences." (Redundant, aren't I? And repet= itive.) The default help search path includes the help directories for all the standar= d Andrew programs, and everything in /usr/contributed. To add, for example, th= e help directory for the Computer Club's programs, you would add this line to = your preferences: help.searchpath: /afs/andrew.cmu.edu/usr0/cl0x/man If you have more than one directory in this line, they should be separ= ated by colons, not spaces. The search path is read in when you start help. If help is al= ready running, you can add a directory to the search path by choosing "Add Sea= rch Directory" from the menu. This change is only temporary and will go away w= hen you quit help. To permanently add a directory, you have to put it in your = preferences.
U3. Mail and bboards
How do I set options for messages? Select "Set Options" on the "Other" menu card. This will br= ing up a long list of options where the message titles usually are, and explan= ations and switches where the message bodies usually are. You can scroll throu= gh either list, and click on the switches to change things. (Some of these cha= nges take effect immediately; for others, you have to quit and restart messages.) There are a few, more obscure, options that you can set in your preferences fi= le. Type help preferences and scroll down to "Andrew Messages System preferences".
U4. Strange file formats
How do I convert rasters, bitmaps, or images from one type to another? To convert old-style ATK rasters (.ras) to new-style ATK= rasters (.raster) or vice-versa, help convertraster convertraster claims to be able to convert MacPaint f= iles that you have ftp'd to Andrew. This may not be reliable. To convert other image types, including X bitmaps, MacPaint files, and GIFs, <= nl> help pbm help pnm and also see the help files on all the little programs they mention. Some notes: PBM, PPM, and PGM are special image file formats which are designed to be "in= termediate" conversion formats. That is, you can convert anything to these for= mats, and then convert it to anything else. (The RLE format is another "interm= ediate" format available on Andrew. For information on it, see the help file o= n URT.) PBM ("portable bitmap") is for simple black-and-white images like those produ= ced by MacPaint or bitmap. PGM ("portable greymap") is for im= ages with shades of grey, and PPM ("portable pixmap") is for full-color images= . PNM ("portable any-map") is not a file format; a program called "pnm-somethi= ng" can handle PBM, PPM, or PGM files. PBM, PGM, and PPM can be interconverted with the appropriate programs (ppmtopgm, pgmtopbm.) Both of these lose information, of cours= e: ppmtopgm reduces the color image to shades of grey, and pgmtopbm changes sh= ades to grey to black-and-white (although it will simulate grey by mixing blac= k and white dots.) Also, a PGM file can be used whenever a PPM file is expected (ie, as input to= ppm-something), and a PBM file can be used whenever either o= f the other two formats is expected. This is reasonable, since a bitmap is jus= t a greyscale image with only two shades of grey, and a greyscale image is jus= t a color image with only grey colors. The PBM, PNM, PPM, and PGM programs (xbmtopbm, pbmto= rast, pnmrotate, etc.) are not invoked directly; ins= tead, you run pbm with the actual program name as the first a= rgument. (Umm, that's still confusing. See the examples below.) All the conversion programs (except convertraster) work as filters. See the e= xamples below. There are two programs, atobm and bmtoa, wh= ich convert X bitmaps to and from ASCII files. There are no help files on them= . The MacPaint to RLE program, painttorle, is not reliable for= large (full-screen) MacPaint files. PostScript files are designed only to be printed, so they're hard to convert = to any other format. If you want to do that, you should view the file with dxpsview and then take a window dump of the dxpsview<= /italic> window (which produces an XWD file), and then convert that. To convert an X bitmap to a PBM file, use cat file.bm | pbm xbmtopbm > file.pbm To convert a PBM file to an X bitmap file, use cat file.pbm | pbm pbmtoxbm > file.bm To convert a GIF to PostScript, use cat file.gif | pbm giftoppm | pbm ppmtops > file.ps To convert a MacPaint file that you've ftp'd to Andrew to PBM, use cat file.paint | painttorle | rletoppm | pbm ppmtopgm | pbm pgmtopbm >= file.pbm
U5. Working with graphics and images
What drawing and painting programs are available on Andrew? (Drawing programs are the ones like MacDraw, that let you p= ut down geometric objects and then move them around, change their sizes, and s= o on. Painting programs, like MacPaint, let you splot paint down on a raster, = possibly in geometric shapes, and edit it pixel by pixel.) There are the ATK versions, zip (drawing) and raster<= /italic> (painting). zip is slow and somewhat buggy, and nobo= dy uses it. raster is very primitive, and nobody uses it. How= ever, they have the advantage of letting you put zip-drawings or rasters into = ATK documents along with text. help zip help raster
U6. Fancy key bindings
Some packages commonly used by developers are not normally bound to keys in or= der to simplify the user interface. If you want to bind them, add the given l= ine to your ~/.atkinit file or to apply the binding just to application xxx, add the line to ~/.xxxinit. help initfiles How can I execute an arbitrary expression? help ness and read $ANDREWDIR/doc/atk/ness/nesshack.doc The normal binding of this function is ESC-ESC, though some people find this t= oo easy to type by mistake (and Ness does take a couple of seconds to load the= first time it is called). To get the ESC-ESC binding add to your .atkinit th= e line: addkey ness-dostmt \e\e view What is the "proctable"? help procs Menu entries and key sequences are not bound directly to functions in C code. = Instead they are bound to routines made available by the C code for the vario= us insets. For instance, the operation on text usually bound to ESC-b, which = moves the cursor backward by one word, is the proctable function textv= iew-backward-word. When such a function is called from Ness, however= , the dashes are written as underscores: textview_backward_word. How can I find out what is in the proctable? help deskey The deskey package offers several proctable functions which can be bound to ke= ys or menu entries. My own usage is given by these lines in my ~/.atkinit: addkey deskey-describe-bound-keys ^XK im addkey deskey-describe-proctable ^XP im Then control-X-shift-K opens another window showing all the current key bindin= gs and control-X-shift-P opens a window showing all functions currently in the= proctable. More functions are added as insets with new user interfaces are a= dded. How can I execute an arbitrary proctable function? help metax The metax package offers two operations to bind to keys. They prompt for a fu= nction to execute and provide name completion by examining the proctable for f= unction names. To bind ESC-x the operation that calls a function without pass= ing an argument add to .atkinit the line: addkey metax "\ex" view metax How can I get file name completion in typescript? If you are typing a file name to ez, you can get file name completion with spa= ce and question mark. The same functionality is available in the typescript w= indow, but it is better to bind it to other keys. The following in you .atkin= it: addkey fcomp-complete-filename "\t" typescript addkey fcomp-possible-completions "\e\t" typescript will bind TAB so it completes the currently entered file name as far as it can= and will bind ESC-TAB so it offers a list of all possible completions (as a l= ist in the typescript). Can I perform incremental search as in gnuemacs? help search help gsearch Yes, three different alternative search packages are available. Dynam= ic search is described in the help file for search and a gnuemacs clone is des= cribed in the gsearch helpfile. (Unfortunately, when you ask for help on 'sea= rch', you get the gsearch helpfile; you have to select twice= the menu option Show More Documentation.) A simplified incremental search package with no documentation can be bound wit= h addkey incsearch-forward ^S textview addkey incsearch-backward ^R textview Note that incsearch-forward MUST be bound to ^S or it will do backward searche= s. How can I convert paragraphs that have hard newlines within them to ATK = paragraphs with newlines only at the ends? read $ANDREWDIR/lib/ness/format.n To convert text in messages or DOS files to ATK format, you need to wrap the l= ines. This can be done with a query replace changing newlines to spaces, but = this is not always satisfactory because multiple spaces are needed after sente= nce ending punctuation. When you have a binding for ness-dostmt you can use a= Ness function. Select the text to be wrapped, type ESC-ESC or your binding f= or ness-dostmt, and then answer the prompt with format_wrap() The selected text will be wrapped appropriately.
U7. Programming in Ness and C
Is there a way to bind a keystroke or menu to a simple combination of ot= her operations? You could write a "package" following the model of incremental sea= rch, but it's lots easier just to write a short Ness function. help ness A simple approach is to create a directory ~/nesslib and put in it the files--= say f.n and g.n--with the Ness functions. Then in your .atkinit or other .XXX= init file, add the lines load ness call ness-load /usr/you/nesslib/f.n call ness-load /usr/you/nesslib/g.n Substitute the full path to your nesslib directory. Do the "load ness" line o= nly once. Example 1: Provide a menu operation to start up a typescript. (= This was written for a user whose window manager and typescripts died often; = if any window was left the user could start a typescript.) The Ness code is:<= nl> extend "view:frame" on menu "File,Typescript~85" system("typescript" -- launch typescript -- and don't wait: ~ " >/dev/null /dev/null 2>&1 &") end menu end extend Example 2: Add to messages a menu option "FollowUp-To" which sets= up a reply to the sender of the current message, excerpts the body of the mes= sage into the reply, and warps the mouse to the sendmessage window. This code= was the subject of a "call ness-load" in ~/.messagesinit. extend "view:messwind" on menu "This Message,Followup-To" messages_reply_to_sender(currentwindow) messages_sendmessage_compound(currentwindow, "sendmessage-excerpt-body;" ~ "sendmessage-focus-on-body") frame_next_window(currentwindow) textview_end_of_text(currentinputfocus) end menu end extend How can I create the C code for a new inset? help createinset This program creates a directory and puts seven files in it which constitute a= working, though not useful, inset. You need only modify the appropriate port= ions to make an inset which does what you want. _______________________ \enddata{text822, 126928} \begindata{text822, 168802} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po5.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Tue, 14 Apr 1992 14:21:39 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Tue, 14 Apr 1992 14:19:57 -0400 (EDT) Received: from research.att.com by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Tue, 14 Apr 92 14:19:48 EDT Received: by inet; Tue Apr 14 14:19 EDT 1992 Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.gargoyle.sun4.41 via MS.5.6.gargoyle.sun4_41; Tue, 14 Apr 1992 14:19:36 -0400 (EDT) Message-Id: Date: Tue, 14 Apr 1992 14:19:36 -0400 (EDT) From: Bill Schell To: info-andrew@andrew.cmu.edu Subject: patch collection Has anyone collected up the release 5 patches that have been posted to info-andrew into a single file? We have a group here that wants to build release 5 from scratch and needs all the patches. Or, do the tar files on emsworth.andrew.cmu.edu already have the patches incorporated in them? Thanks, Bill Schell AT&T Bell Labs, Murray Hill, NJ bill@allegra.att.com \enddata{text822, 168802} \begindata{text822, 170288} Return-path: X-Andrew-Authenticated-as: 38;andrew.cmu.edu;Susan Straub Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Tue, 14 Apr 1992 15:21:44 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Tue, 14 Apr 1992 15:21:17 -0400 (EDT) If-Type-Unsupported: send Received: from po5.andrew.cmu.edu via qmail ID ; Tue, 14 Apr 1992 15:19:47 -0400 (EDT) Received: from emsworth.andrew.cmu.edu via qmail ID ; Tue, 14 Apr 1992 15:17:40 -0400 (EDT) Received: from emsworth.andrew.cmu.edu via qmail ID ; Tue, 14 Apr 1992 15:17:34 -0400 (EDT) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.emsworth.andrew.cmu.edu.rt.aos4 via MS.5.6.emsworth.andrew.cmu.edu.rt_aos4; Tue, 14 Apr 1992 15:17:31 -0400 (EDT) Message-ID: Date: Tue, 14 Apr 1992 15:17:31 -0400 (EDT) From: Susan Straub X-Andrew-Message-Size: 32841+0 Content-Type: X-BE2; 12 To: Info-Andrew Subject: FAQ (again...) \begindata{text,271398072} \textdsversion{12} \template{help} \define{global } \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{excerptedcaption attr:[LeftMargin LeftMargin Inch 32768] attr:[RightMargin RightMargin Inch 32768] attr:[FontFace Bold Int Set] attr:[FontFace Italic Int Set]} \define{literal menu:[Region~4,Literal~62] attr:[Flags PassThru Int Set]} \define{black menu:[Color,Black] attr:['color' 'Black']} \define{red menu:[Color,Red] attr:['color' 'Red']} \define{green menu:[Color,Green] attr:['color' 'Green']} \define{blue menu:[Color,Blue] attr:['color' 'Blue']} \define{magenta menu:[Color,Magenta] attr:['color' 'Magenta']} \define{cyan menu:[Color,Cyan] attr:['color' 'Cyan']} \define{yellow menu:[Color,Yellow] attr:['color' 'Yellow']} \define{index menu:[Title~3,Index~91] attr:[FontFace Italic Int Set]} \define{indexi menu:[Title~3,InvisibleIndex~92] attr:[Script PreviousScriptMovement Point -2] attr:[FontFace Italic Int Set]} \define{footnote attr:[Flags OverBar Int Set] attr:[FontSize PreviousFontSize Point -2]} Here's the non-MIME format version ... my apologies. \bigger{\bold{ Andrew Toolkit Frequently Asked Questions Release 5.1}} This file contains questions from everywhere and answers from many places. The sections on General Information and Common Problems Building Andrew were compiled by Susan Straub (susan+@andrew.cmu.edu). The section on User Questions has been extracted from a larger FAQ for CMU maintained by Andrew Plotkin (ap1i+@andrew.cmu.edu). You can send suggestions and comments to these people or directly to the consortium's mailing list/bulletin board: info-andrew@andrew.cmu.edu. Send bug reports to: info-andrew-bugs@andrew.cmu.edu For information about the consortium you can contact: \leftindent{Wilfred J. Hansen Director, Andrew Toolkit Consortium 238 UCCB 4910 Forbes Ave. Pittsburgh, PA 15213 wjh+@andrew.cmu.edu 412 268 6710} \bold{General Information} \bold{G1.} What is Andrew? \bold{G2.} \leftindent{How do I obtain the latest release?} \bold{G3.} \leftindent{Which platforms has Andrew been ported to?} \bold{G4.} \leftindent{What books have been written for Andrew and where can I obtain them?} \bold{G5.} \leftindent{What is the Remote Andrew Demo Service?} \bold{Common Problems/Questions Building Andrew} \bold{Q1. } \leftindent{Why doesn't my macro expand in site.mcr?} \bold{Q2. } \leftindent{How can I instruct "messages" to use /usr/spool/mail for mail drop?} \bold{Q3. } \leftindent{Why do I get errors when building Ultrix 4.2 against AFS 3.1 libraries?} \bold{Q4.} \leftindent{ Why does the distribution as made available on MIT's X.V11R5 tape install files as links instead of actual files? } \bold{Q5.} \leftindent{Which configuration variables are used most often? } \bold{Q6.} \leftindent{Do I need to have AFS to run the Andrew Message System (AMS)?} \bold{Q7. } \leftindent{How can I get other useful software?} \bold{Q8.} \leftindent{How can I use PostScript fonts other than those defined in /usr/andrew/X11fonts both in displayed and printed documents? } \bold{Q9.} \leftindent{How can I print Andrew documents?} \bold{Q10.} \leftindent{Ezprint outputs rasters in PostScript. Can I print those rasters?} \bold{User Questions} (Extracted from CMU FAQ) \bold{U0.} \leftindent{Introduction} \bold{U1. }\leftindent{Customizing your account} \bold{U2.} \leftindent{Playing with ATK things, including ez, typescript, console, and help} \bold{U3.} \leftindent{Mail and bboards, including messages} \bold{U4. }\leftindent{Strange file formats} \bold{U5.} \leftindent{Working with graphics and images} \bold{U6. }\leftindent{Fancy key bindings} \bold{U7.} \leftindent{Programming in Ness and C} ___________________________________________________ \section{General Questions} \bold{G1. What is Andrew?} \indent{The Andrew Toolkit (ATK) is a portable user-interface toolkit that runs under X11. It provides a dynamically-loadable object-oriented environment wherein objects can be embedded in one-another. Thus, one could use our 'generic-object' editor (ez) to edit text that, in addition to containing multiple fonts, contains embedded raster images, spreadsheets, drawing editors, equations, simple animations, etc.. These embedded objects could themselves contain other objects, including text. With the toolkit, programmers can create new objects that can be embedded as easily as those that come with the system. Many objects, including those mentioned above, along with a help system, a system monitoring tool (console), an editor based shell interface (typescript), and support for printing multi-media documents, are included in the release, making it useful to programmers and non-programmers alike. The Andrew Message System(AMS) provides a multi-media interface to mail and bulletin-boards. AMS contains many advanced features including authentication, return receipts, automatic sorting of mail, vote collection and tabulation, enclosures, audit trails of related messages, and subscription management. It also provides a variety of interfaces that support ttys and low-function personal computers in addition to the high-function workstations. } \bold{G2. How do I obtain the latest release?} \indent{This release, 5.1, can be obtained in several ways. The entire X distribution is available via anonymous ftp from the Internet host export.lcs.mit.edu (Internet address: 18.30.0.238). The sources of ATK and AMS are located in the contrib/andrew tree, one of the contributed toolkits. Just the andrew tree from the X distribution, as well as the latest patches, is available via anonymous ftp from the Internet host, emsworth.andrew.cmu.edu (Internet: 128.2.30.62). Due to its size, the compressed tar'd tree is split into 11 files, andrew.aa through andrew.ak (about 1MB each) in the split/ directory. You should cat andrew.* together into andrew.tar.Z, uncompress the tree then tar -xvpf. }\bold{G3. Which platforms has Andrew been ported to?} The (intended) available machine types are: \formatnote{\leftindent{Machine Type Operating System IBM RT AOS December 1988 rt_aos4 IBM RT AIX 2.2.1 rt_aix221 IBM RS/6000 AIX 3.1 rs_aix31 IBM PS/2 M70/80 AIX 1.2 ps_aix12 Sun 3 SunOS 3.5 sun3_35 Sun 3 SunOS 4.0 sun3_4 Sun 3 SunOS 4.1 sun3_41 Sun 4 SunOS 4.0 sun4_40 Sun 4 SunOS 4.1 sun4_41 DEC Vax Ultrix 3.0 vax_3 DEC Vax BSD (4.3) vax_43 HP 300 HP UX hp300 HP 900 HP UX hp800 Macintosh II MacMach mac2_51 Apollo DomainOS apollo68k DEC MIPS Ultrix 3.0 pmax_3 DEC MIPS Ultrix 4.1 pmax_41 DEC MIPS Ultrix 4.2 pmax_42 SGI IRIX 4.0 sgi_4d SCO SCO sco_i386 }} \bold{G4. What books have been written for Andrew and where can I obtain them?} \indent{ Nathaniel S. Borenstein's book: \italic{Multimedia Applications Development with the Andrew Toolkit }(Prentice-Hall). ODA Project Book: \italic{Multi-media Document Interchange: ODA and the EXPRES Project }(Springer Verlag).} ____________________________ \section{Common Problems/Questions Building Andrew } \bold{Q1. Why doesn't my macro expand in site.mcr?} \leftindent{Tabs are not allowed before macro declarations in the site.mcr. Although the error is not reported as such, the macro is not expanded properly and thus not noticed by imake. Use spaces. } \bold{Q2. How can I instruct "messages" to use /usr/spool/mail for mail drop?} \leftindent{Although the following lines are in /usr/andrew/etc/AndrewSetup: \leftindent{AMS_NonAMSDelivery: yes AMS_MailBoxPrefix: /usr/spool/mail } Messages says, "/usr/user/Mailbox" could not be properly read and delivered (0 success, 0 failure)". \quotation{ } You should create a file $HOME/.mailrc and put in this line: \leftindent{unset hold} WARNING: Once you start reading mail with \italic{messages}, you incoming mail will be stored within directories maintained by \italic{messages}. It is possible to return to other mail handling systems, but it may not be easy. } \bold{Q3. Why do I get errors when building Ultrix 4.2 against AFS 3.1 libraries? } \leftindent{You need to define AFS_ULTRIX in your site.h file. } \bold{Q4. Why does the distribution as made available on MIT's X.V11R5 tape install files as links instead of actual files? This fails in two directories: overhead/class/lib and xmkfontd. } \leftindent{The distribution defaults to install links instead of files. To change this, #undef LINKINSTALL_ENV in your site.h file. If you want to build using LINKINSTALL_ENV, you will have to change the following two files: overhead/class/lib/Imakefile:\indent{ 29,32d28 < #ifdef LIBDL_ENV < install.time:: libclass.a < $(INSTALL) $(INSTLIBFLAGS) libclass.a $(DESTDIR)/lib < #else /* LIBDL_ENV */ 34d29 < #endif /* LIBDL_ENV */ }xmkfontd/Imakefile: \indent{ 18c18 < $(INSTALL) $\{INSTLIBFLAGS\} non-andrew.fonts.alias $\{DESTDIR\}/X11fonts/fonts.alias --- > InstallFileToFile(non-andrew.fonts.alias, $\{INSTLIBFLAGS\}, $\{DESTDIR\}/X11fonts/fonts.alias) }}\indent{ } \bold{Q5. Which configuration variables are used most often? } \leftindent{AFS30_ENV AFS31_ENV AMS_DELIVERY_ENV WHITEPAGES_ENV SNAP_ENV ANDREW_MALLOC_ENV DEBUG_MALLOC_ENV MK_BASIC_UTILS MK_AUTHORING MK_AUX_UTILS MK_AUX_INSETS MK_EXAMPLES RUN_AMDS_ENV ANDREW_PRINTING_ENV LINKINSTALL_ENV CONTRIB_ENV PRE_X11R4_ENV DPS_ENV DEFAULT_ANDREWDIR_ENV BUILDANDREWINSTALL_ENV ISO80_FONTS_ENV FONTS_TO_PCF_ENV CDEBUGFLAGS = -g MAKEDODEBUG = -g AFSBASEDIR = /usr/local XMKFONTDIR = /usr/local/bin/mkfontdir XFC = /usr/local/bin/bdftosnf XLIBDIR = /usr/local/lib XINCDIR = /usr/local/include RESOLVLIB = $\{AFSBASEDIR\}/lib/res/libresolv.a RESINC = -I$(AFSBASEDIR)/include/res INCLUDES = -I$\{BASEDIR\}/include -I$(BASEDIR)/include/atk $(RESINC) -I$(AFSBASEDIR)/include -I$\{XINCDIR\} } \bold{Q6. Do I need to have AFS to run the Andrew Message System (AMS)?} \leftindent{No, but having AFS gives you better functionality. } \bold{Q7. How can I get other useful software?} \leftindent{Enormous quantities of software are available for free from the internet. Many of the pieces are also available via electronic mail. Subsequent paragraphs list some software that may be of value as an adjunct to ATK/AMS. } \bold{archie - archive locator} \leftindent{A major source of information about the location of software on the network is 'archie'. Send mail to archie@archie.rutgers.edu In the body of the message include line(s) of the form prog name where name is the name of the software you would like to find out about. For more information, the body can contain the line help The listing returned from a 'prog' request will list ftp sites containing information with the name you gave. A site with a name ending in .com, .edu, or .gov will be in the United States and will be the best place to try. } \bold{ftp - file transfer package} \leftindent{To retrieve information via ftp over the internet: Give the command ftp The response will ask for your login; reply anonymous the response will ask for your email address; type it in. Now you can give the help command to see the commands. I generally use ls, dir, cd, lcd, pwd, and get. } \bold{on the ATK cd-rom} \leftindent{Some useful non-ATK software is included in the ATK cd-rom. For details see subsequent paragraphs. binaries only: X11 for RS6000, Sun 4, Dec Pmax, and HP700 binaries and source: metamail imake makedepend patch source only: ispell, psroff, pbmplus } \bold{X Windows System: X11, imake, makedepend, patch} \leftindent{Screen management and graphics software Binaries on cdrom in /X11/... Bdf fonts on cdrom in src/util/bdffonts imake, makedepend, and patch source on cdrom in src/util/... objects on cdrom in /util/... ftp: export.mit.edu and numerous other sites (see archie) newsgroup: comp.windows.x mail address: MIT Software Distribution Center Technology Licensing Office room E32-300 77 Massachusetts Avenue Cambridge, MA 02139 phone: (617) 258-8330 } \bold{metamail} Converter for implementing MIME multi-media internet standard. newer version due early April, 1992 contact: Nathaniel Borenstein Bellcore Room 2A-274 Morristown, NJ 07962-1910 phone: (201) 829-4270 email: nsb@thumper.bellcore.com ftp: thumper.bellcore.com, see pub/nsb/README source: $ATKSRC/overhead/mail/metamail \bold{pbmplus} Portable bit map conversion and transformation software version in cdrom:/src/util/pbmplus is from 10 December 1991 contact: Jef Poskanzer email: jef@well.sf.ca.us \bold{psroff} Software augmenting troff and providing printer drivers. on cdrom: src/util/psroff is version 3.0 patch level 07 contact: Chris Lewis psroff-request@ferret.ocunix.on.ca \bold{ispell} version ion cdrom in src/util/ispell is 2.0.02 updated with a bigger dictionary new version 3.0 is coming soon contact: Geoff Kuenning email: geoff@ITcorp.com \bold{GNU software: groff, g++, gcc, gdb, gnuemacs, ... }\leftindent{ Free software, eventually replacing Un*x ftp: prep.ai.mit.edu see pub/gnu/GNUinfo/FTP and pub/gnu/etc/DISTRIB email: gnu@prep.ai.mit.edu mailing address: Free Software Foundation, Inc. 675 Massachusetts Avenue Cambridge, MA 02139 USA phone: +1 617-876-3296 } \bold{transcript (psdit)} Contact: Adobe 1585 Charleston Road P.O. Box 7900 Mountain View, CA 94039-7900 phone: 1-800-833-6687 \bold{Documenter's WorkBench} AT&T / NCR Computer Division 800 225 5627 Gary Wagner 513 445 1475 \bold{Q8. How can I use PostScript fonts other than those defined in /usr/andrew/X11fonts both in displayed and printed documents? There are two aspects of this problem: screen display and print display. Screen Display} \leftindent{To have your own fonts used by ATK applications for displaying text you must first create those fonts and place them in a directory, possibly set up a fonts.alias file, run mkfontdir to get a fonts.dir file, and finally add that directory to your X fontpath. Also, you'll have to specify in your preferences file the fontname: ez.bodyfont: myfont12 }\bold{Print Display} \leftindent{To get these fonts to print you have to create the appropriate troff device-specific font description files (see /usr/lib/font/devpsc for the Postscript fonts). Question: Are there tools around that let you create a troff font? Furthermore, you'd have to alter the ATK-to-troff text translator (../andrew/atk/text/txtroff.c) to recognize your new font family and to make the appropriate mapping from your fontname to the troff fontname. Currently, the only fonts used for printing are Times, Helvetica, and Courier.} \bold{Q9. How can I print Andrew documents?} \leftindent{ Printing requires two steps, text formatting and then driving the printer. ATK utilizes troff for text formatting. That is adequate for printing documents with styled texts, but some insets such as rasters and zip require that the printer be driven with PostScript. Print processing is controlled via the FormatCommand and PrintCommand options, which can be specified in site.h during system build, the global preferences in $ANDREWDIR/lib/global.prf, or the user's ~/preferences file. The most general defaults are: \leftindent{*.FormatCommand: eqn -Tpsc /tmp/%s.n | troff -Tpsc - | *.PrintCommand: lpr -n }The -Tpsc flags specify that the troff output is ultimately intended for a PostScript printer. If you do not have one, this value must be set to whatever is appropriate for your printer. ATK documents containing only styled text can be printed via most versions of troff and most print drivers. To print ATK documents via PostScript printers, you have three options: troff - psroff ditroff - psdit groff These differ in cost and the difficulty of installation. See Q8 for hints on acquiring these packages. \italic{troff - psroff} Standard Unix systems are often delivered with an old troff which generates output for the "CAT" typesetter. This troff can be used to print ATK documents by sending the output through the psroff processor, available freely on the internet. See the psroff documentation. \italic{ditroff - psdit} This is the route we use at CMU. \italic{ditroff} is the device independent troff which comes with the Documenters Work Bench portion of Unix System V. \italic{psdit} is part of the "Transcript" package available from Adobe software. Both ditroff and Transcript cost money. Adjust the FormatCommand to utilize the ditroff version of troff (it is usually called \italic{troff}). The PrintCommand should usually use the -n switch and the lpr daemon will run psdit. }\italic{ }\leftindent{\italic{groff } This package is free from the Free Software Foundation, the gnu people. The only hitch is that to build \italic{groff} you must first build \italic{g++} and to build \italic{g++} you must first build \italic{gcc}. We have compiled groff without any problems with g++-1.39.1. g++ also compiled gpic, geqn, gtbl. Groff includes gtroff to do text formatting and grops to generate PostScript. To To use both, have this specification: *.formatcommand: groff -pte -E /tmp/%s.n | *.PrintCommand: lpr -v Note: The -pte switches tell it to run gpic, gtbl, and geqn before running gtroff. The output of gtroff is automatically piped into grops, which generates the PostScript. (This assumes that /usr/gnu/bin (or wherever groff is installed) is on one's path.) The drawback of this simple approach is that the ATK preview option will no longer work. To retain the preview command, I believe, one can use specifications something like this: *.FormatCommand: cat /tmp/%s.n | gpic|gtbl|geqn|gtroff -Tpsc | *.PrintCommand: grops | lpr -v } \bold{Q10. Ezprint outputs rasters in PostScript. Can I print those rasters?} \leftindent{If you just want to print one raster from an Andrew document, you can extract the raster from the troff output with a raw text editor and print it directly. You may have to add the line 20 20 translate to get it out of the bottom corner. You may also have to add an initial line containing only %! If you haven't got a postscript printer, the raster image can still be massaged with the pbm package. pbm understands the Andrew format or you can use the output of ezprint -t which will include the raster encoded in PostScript / hex form. } ___________________________________________________ \section{User Questions} \section{U0. Introduction} This section has been extracted from a larger FAQ file maintained at CMU by Andrew Plotkin (ap1i+@andrew.cmu.edu). Its permission information reads: \indent{Everything in this file is public domain. You can copy it, mail it to people, put bits of it in other files, print it out in 500-point type and staple it to the walls, whatever you want -- I'm happy to give you the opportunity, and I couldn't do a thing about it if I wanted to. Thanks to the multiple people who provided me with questions and answers.} \smaller{ } \section{U1. Customizing your account } \bold{How can I customize my Andrew account?} \leftindent{For info on your preferences file: \typewriter{ help preferences} (or \typewriter{help prefs})\typewriter{ }} \bold{I edited my .cshrc, but now I get strange errors when I start \italic{typescript}}, or\bold{ I edited my .login, but now I get strange errors when I log in}, or\bold{ I edited my .plan, but now I get strange symbols when I \italic{finger} myself}, or\bold{ I edited my .Xresources, but now I get strange errors when I start X}, or\bold{ I edited this file, but now I get strange errors....} \leftindent{If you use \italic{ez} to edit your .plan, .login, .logout, preferences, .cshrc, .Xresources, .Xclients, .Xmodmap, .signature, or any file like that: you \italic{must} get rid of any styles you put in. You can't have sections of bold, or typewriter, or italics, or different text sizes, or indentation. (Not even in your .plan file or .signature, although that would be nice.) Use "Plainest" on the whole file if you have to. } \section{U2. Playing with ATK things } \bold{How do I customize an ATK program? }\leftindent{See the help file on it. The ATK help files are more friendly than average; lots of examples, no words over two syllables, etc. } \bold{How do I change the behavior, fonts, and so on in ATK windows and menus? }\leftindent{Most of these are controlled by preferences: \typewriter{ help preferences help menubar }The lines described in these help files go in your \italic{preferences} file. For example, \typewriter{ *.Thumbscroll: yes }will cause the text in any ATK window to swoop up and down when you wiggle the scroll bar. \typewriter{ typescript.Thumbscroll: yes }will cause that to happen only in \italic{typescript} windows. A major exception is the appearance of the pop-up menus you get when you press and hold the middle button. These are controlled by X resources (when you are running X.) \typewriter{ help cmenu }The resources described in this help file go in your \italic{.Xresources} file. \typewriter{ *TitleFont: andysans22b }will cause your menu card titles to be printed in a 22-point bold sans-serif font. \typewriter{ help*TitleFont: andysans22b }will cause that to happen only in \italic{help} windows. (Notice the format of an \italic{.Xresources} entry is different from a \italic{preferences} entry.) } \bold{I have a color display. Can I get windows in colors other than black and white?} \leftindent{Yes, set the colors in your preference file with lines like this: \leftindent{# darker blue on lighter tan. tan good. (blue not really dark enough) ez.foregroundcolor: #003ea2 ez.backgroundcolor: wheat } For colors you can run \italic{xcolorpick} or edit the file /usr/lib/X11/rgb.txt. Color names are recognized by X only if they are in rgb.txt. If you want colors just for one execution of a program, you can set them on the command line: typescript -fg black -bg burlywood Here's a technique for setting color preferences based on the value of the environment variable ISCOLOR, which you can set in your .login file as follows: \leftindent{set TTY = `tty` if ($TTY == /dev/console || \\ $TTY == /dev/hft/0 || \\ $TTY == /dev/ttyaed || \\ $TTY == /dev/ttyapa16 || \\ $TTY == /dev/ttyap16 || \\ $TTY == /dev/tty8514 || \\ $TTY == /dev/pty/ttyse || \\ $TTY == /dev/ttymono) then set consolelogin = 1 echo -n "Color display? [y/n]: " set answer = $< if ($answer" =~ [Yy]*) then setenv ISCOLOR 1 echo "color console login" else echo "console login" endif unset answer endif} You can then reference this variable in your preferences file: \leftindent{?E=ISCOLOR=1:ez.backgroundcolor: antiquewhite1 ?E=ISCOLOR=1:console.backgroundcolor: cornsilk ?E=ISCOLOR=1:typescript.backgroundcolor: cornsilk3 ?E=ISCOLOR=1:help.backgroundcolor: cornsilk3 ?E=ISCOLOR=1:messages.backgroundcolor: cornsilk2 ?E=ISCOLOR=1:bush.backgroundcolor: #e5d7c6 }} \bold{How do I add styles to ATK documents? }\typewriter{\leftindent{ help ez-styles }} \bold{How do I add tables of contents and footnotes to ATK documents? }\typewriter{\leftindent{ help ez-contents help ez-footnotes }} \bold{How do I adjust line spacing and margins in ATK documents? }\leftindent{\typewriter{ help ez }and scroll down to "Formatting text: line spacing and margins". } \bold{What keystroke commands work in ATK programs? }\leftindent{\typewriter{ help ez-keys }Notice that most gnu-emacs keys work in ATK programs. } \bold{How do I work with multiple ez windows or multiple buffers? }\typewriter{\leftindent{ help ez-buffers }} \bold{How do I remove ATK formatting from an ATK document, to turn it into plain text? }\leftindent{The easy way is to edit it with \italic{ez}, select (highlight) the entire document, and select "Plainest". This will not work if the document has pagebreaks, footnotes, or insets (such as embedded rasters.) If you don't want to start up \italic{ez}, you can use \italic{ez2ascii}: \typewriter{ ez2ascii filename } Another alternative is to type \typewriter{ rtfm -f filename }This produces output with terminal formatting. It will look ok in an xterm, and underlining and boldface will show up correctly. However, it will fail nastily in a typescript, or if you put the output in a file and edit it. For more info, see \typewriter{ help ez2ascii help rtfm }} \bold{How can I write my own \italic{console} layout? }\leftindent{\typewriter{ help lacc }The publically-available console layouts are in /usr/local/lib/consoles. If you want to write your own, it's best to start with one of these and modify it. Once you've written your console layout file, add this line to your preferences: \typewriter{ console.default: consolefilename }where consolefile is a full pathname (no ~'s), for example /afs/andrew/usr99/userid/layoutfile } \bold{What is a help search path? }\leftindent{Look at \typewriter{ help preferences }and scroll down to "Help preferences." (Redundant, aren't I? And repetitive.) The default help search path includes the help directories for all the standard Andrew programs, and everything in /usr/contributed. To add, for example, the help directory for the Computer Club's programs, you would add this line to your preferences: \typewriter{ help.searchpath: /afs/andrew.cmu.edu/usr0/cl0x/man }If you have more than one directory in this line, they should be separated by colons, not spaces. The search path is read in when you start \italic{help}. If help is already running, you can add a directory to the search path by choosing "Add Search Directory" from the menu. This change is only temporary and will go away when you quit help. To permanently add a directory, you have to put it in your preferences. } \section{U3. Mail and bboards }\bold{ How do I set options for \italic{messages}? }\leftindent{Select "Set Options" on the "Other" menu card. This will bring up a long list of options where the message titles usually are, and explanations and switches where the message bodies usually are. You can scroll through either list, and click on the switches to change things. (Some of these changes take effect immediately; for others, you have to quit and restart \italic{messages}.) There are a few, more obscure, options that you can set in your preferences file. Type \typewriter{ help preferences }and scroll down to "Andrew Messages System preferences". } \section{U4. Strange file formats } \bold{How do I convert rasters, bitmaps, or images from one type to another? }\leftindent{To convert old-style ATK rasters (.ras) to new-style ATK rasters (.raster) or vice-versa, \typewriter{ help convertraster }\italic{convertraster} claims to be able to convert MacPaint files that you have ftp'd to Andrew. This may not be reliable. To convert other image types, including X bitmaps, MacPaint files, and GIFs, \typewriter{ help pbm help pnm} and also see the help files on all the little programs they mention. Some notes: PBM, PPM, and PGM are special image file formats which are designed to be "intermediate" conversion formats. That is, you can convert anything to these formats, and then convert it to anything else. (The RLE format is another "intermediate" format available on Andrew. For information on it, see the help file on URT.) PBM ("portable bitmap") is for simple black-and-white images like those produced by MacPaint or \italic{bitmap}. PGM ("portable greymap") is for images with shades of grey, and PPM ("portable pixmap") is for full-color images. PNM ("portable any-map") is not a file format; a program called "pnm-something" can handle PBM, PPM, or PGM files. PBM, PGM, and PPM can be interconverted with the appropriate programs (\italic{ppmtopgm, pgmtopbm}.) Both of these lose information, of course: ppmtopgm reduces the color image to shades of grey, and pgmtopbm changes shades to grey to black-and-white (although it will simulate grey by mixing black and white dots.) Also, a PGM file can be used whenever a PPM file is expected (ie, as input to \italic{ppm-something}), and a PBM file can be used whenever either of the other two formats is expected. This is reasonable, since a bitmap is just a greyscale image with only two shades of grey, and a greyscale image is just a color image with only grey colors. The PBM, PNM, PPM, and PGM programs (\italic{xbmtopbm}, \italic{pbmtorast}, \italic{pnmrotate}, etc.) are not invoked directly; instead, you run \italic{pbm} with the actual program name as the first argument. (Umm, that's still confusing. See the examples below.) All the conversion programs (except convertraster) work as filters. See the examples below. There are two programs, \italic{atobm} and \italic{bmtoa}, which convert X bitmaps to and from ASCII files. There are no help files on them. The MacPaint to RLE program, \italic{painttorle}, is not reliable for large (full-screen) MacPaint files. PostScript files are designed only to be printed, so they're hard to convert to any other format. If you want to do that, you should view the file with \italic{dxpsview} and then take a window dump of the \italic{dxpsview} window (which produces an XWD file), and then convert that. To convert an X bitmap to a PBM file, use \typewriter{ cat file.bm | pbm xbmtopbm > file.pbm }To convert a PBM file to an X bitmap file, use \typewriter{ cat file.pbm | pbm pbmtoxbm > file.bm } To convert a GIF to PostScript, use \typewriter{ cat file.gif | pbm giftoppm | pbm ppmtops > file.ps} To convert a MacPaint file that you've ftp'd to Andrew to PBM, use \typewriter{ cat file.paint | painttorle | rletoppm | pbm ppmtopgm | pbm pgmtopbm > file.pbm }} \section{ U5. Working with graphics and images } \bold{What drawing and painting programs are available on Andrew? }\leftindent{(Drawing programs are the ones like MacDraw, that let you put down geometric objects and then move them around, change their sizes, and so on. Painting programs, like MacPaint, let you splot paint down on a raster, possibly in geometric shapes, and edit it pixel by pixel.) There are the ATK versions, \italic{zip} (drawing) and \italic{raster} (painting). \italic{zip} is slow and somewhat buggy, and nobody uses it. \italic{raster} is very primitive, and nobody uses it. However, they have the advantage of letting you put zip-drawings or rasters into ATK documents along with text. \typewriter{ help zip help raster }}\section{ U6. Fancy key bindings} Some packages commonly used by developers are not normally bound to keys in order to simplify the user interface. If you want to bind them, add the given line to your ~/.atkinit file or to apply the binding just to application \italic{xxx}, add the line to ~/.\italic{xxx}init. \typewriter{help initfiles} \bold{How can I execute an arbitrary expression?} \typewriter{help ness} and read \typewriter{$ANDREWDIR/doc/atk/ness/nesshack.doc} The normal binding of this function is ESC-ESC, though some people find this too easy to type by mistake (and Ness does take a couple of seconds to load the first time it is called). To get the ESC-ESC binding add to your .atkinit the line: \typewriter{addkey ness-dostmt \\e\\e view } \bold{What is the "proctable"?} \typewriter{ help procs} Menu entries and key sequences are not bound directly to functions in C code. Instead they are bound to routines made available by the C code for the various insets. For instance, the operation on text usually bound to ESC-b, which moves the cursor backward by one word, is the proctable function \italic{textview-backward-word}. When such a function is called from Ness, however, the dashes are written as underscores: \italic{textview_backward_word}. How can I find out what is in the proctable? \typewriter{help deskey} The deskey package offers several proctable functions which can be bound to keys or menu entries. My own usage is given by these lines in my ~/.atkinit: \typewriter{addkey deskey-describe-bound-keys ^XK im addkey deskey-describe-proctable ^XP im} Then control-X-shift-K opens another window showing all the current key bindings and control-X-shift-P opens a window showing all functions currently in the proctable. More functions are added as insets with new user interfaces are added. \bold{How can I execute an arbitrary proctable function?} \typewriter{help metax} The metax package offers two operations to bind to keys. They prompt for a function to execute and provide name completion by examining the proctable for function names. To bind ESC-x the operation that calls a function without passing an argument add to .atkinit the line: \typewriter{addkey metax "\\ex" view metax} \bold{How can I get file name completion in typescript?} If you are typing a file name to ez, you can get file name completion with space and question mark. The same functionality is available in the typescript window, but it is better to bind it to other keys. The following in you .atkinit: addkey fcomp-complete-filename "\\t" typescript addkey fcomp-possible-completions "\\e\\t" typescript will bind TAB so it completes the currently entered file name as far as it can and will bind ESC-TAB so it offers a list of all possible completions (as a list in the typescript). \bold{Can I perform incremental search as in gnuemacs? }\typewriter{help search}\bold{ }\typewriter{ help gsearch }Yes, three different alternative search packages are available. Dynamic search is described in the help file for search and a gnuemacs clone is described in the gsearch helpfile. (Unfortunately, when you ask for help on 'search', you get the gsearch helpfile; you have to select \italic{twice} the menu option Show More Documentation.) A simplified incremental search package with no documentation can be bound with addkey incsearch-forward ^S textview addkey incsearch-backward ^R textview Note that incsearch-forward MUST be bound to ^S or it will do backward searches. \bold{How can I convert paragraphs that have hard newlines within them to ATK paragraphs with newlines only at the ends?} read $ANDREWDIR/lib/ness/format.n To convert text in messages or DOS files to ATK format, you need to wrap the lines. This can be done with a query replace changing newlines to spaces, but this is not always satisfactory because multiple spaces are needed after sentence ending punctuation. When you have a binding for ness-dostmt you can use a Ness function. Select the text to be wrapped, type ESC-ESC or your binding for ness-dostmt, and then answer the prompt with \typewriter{format_wrap()} The selected text will be wrapped appropriately. \section{U7. Programming in Ness and C} \bold{Is there a way to bind a keystroke or menu to a simple combination of other operations?} \leftindent{You could write a "package" following the model of incremental search, but it's lots easier just to write a short Ness function. \typewriter{help ness} A simple approach is to create a directory ~/nesslib and put in it the files--say f.n and g.n--with the Ness functions. Then in your .atkinit or other .XXXinit file, add the lines load ness call ness-load /usr/you/nesslib/f.n call ness-load /usr/you/nesslib/g.n Substitute the full path to your nesslib directory. Do the "load ness" line only once. \bold{Example 1:} Provide a menu operation to start up a typescript. (This was written for a user whose window manager and typescripts died often; if any window was left the user could start a typescript.) The Ness code is: \leftindent{extend "view:frame" on menu "File,Typescript~85" system("typescript" -- launch typescript -- and don't wait: ~ " >/dev/null &1 &") end menu end extend } \bold{Example 2:} Add to messages a menu option "FollowUp-To" which sets up a reply to the sender of the current message, excerpts the body of the message into the reply, and warps the mouse to the sendmessage window. This code was the subject of a "call ness-load" in ~/.messagesinit. \indent{extend "view:messwind" on menu "This Message,Followup-To" messages_reply_to_sender(currentwindow) messages_sendmessage_compound(currentwindow, "sendmessage-excerpt-body;" ~ "sendmessage-focus-on-body") frame_next_window(currentwindow) textview_end_of_text(currentinputfocus) end menu end extend }} \bold{How can I create the C code for a new inset?} \leftindent{ \typewriter{help createinset} This program creates a directory and puts seven files in it which constitute a working, though not useful, inset. You need only modify the appropriate portions to make an inset which does what you want. } _______________________ \enddata{text,271398072} \enddata{text822, 170288} \begindata{text822, 209411} Return-path: X-Andrew-Authenticated-as: 13;andrew.cmu.edu;Fred Hansen Received: from lieutenant.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Tue, 14 Apr 1992 16:19:37 -0400 (EDT) If-Type-Unsupported: send Received: from lieutenant.andrew.cmu.edu via qmail ID ; Tue, 14 Apr 1992 16:18:59 -0400 (EDT) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.lieutenant.andrew.cmu.edu.rs.aix31 via MS.5.6.lieutenant.andrew.cmu.edu.rs_aix31; Tue, 14 Apr 1992 16:18:59 -0400 (EDT) Message-ID: Date: Tue, 14 Apr 1992 16:18:59 -0400 (EDT) From: Fred Hansen X-Andrew-Message-Size: 2645+0 Content-Type: X-BE2; 12 To: Info-Andrew , nac@tekbspa.tss.com, XANNOUNCE@EXPO.LCS.MIT.EDU Subject: C-F-PAPERS - Andrew Technical Conference, 1992 CC: bb-general@pt.cs.cmu.edu \begindata{text,539487436} \textdsversion{12} \template{messages} CALL FOR PAPERS - Andrew Technical Conference, 1992 The Andrew Toolkit Consortium is pleased to invite your contributions to Andrew Technical Conference, 1992 -- Interfaces beyond ASCII -- When I write a program, I usually draw little pictures to explain data structures or decision logic. Why are these pictures lost when the program exists? This is part of the larger question of universal information forms. The canonical information form--the lingua franca between applications--has progressed from single-case text, to ASCII, and now ISO-8859. Applications are beyond this stage, however, incorporating typographic text and embedded images, so it is time to begin extending the canonical information form with support for enhanced text at a fundamental level of the system. It should always be possible to cut and paste between applications. Program constants and comments (at least) should allow illustrations. Data bases should store pictures of parts and logos of suppliers. Electronic mail should routinely transfer information with the full complexity of the printed page, but without the frozen and bloated form of fax representations. As a reader of an electronic message, I should be able to extract all or a portion of a message and massage it further with the same ease as the original author. ATK and AMS, the Andrew Toolkit and Andrew Message System, offer an environment in which applications can shareextended text and other objects. Indeed, AMS has offered interchange of formated information since 1987. The theme of this year's ATK/AMS technical conference -- Interfaces beyond ASCII -- is to share experience and speculate on further requirements and possibilities for integrated environments with higher level information forms. In addition to papers related to the theme, the conference invites papers on the entire realm of ATK and AMS: applications based on the toolkit extensions to the toolkit new objects data stream alternatives alternative toolkits Proposals due: 10 May 1992 Acceptance by: 20 May Completed papers due: 15 June Electronic submission in ATK format is encouraged, but not required. Conference dates and location: June 25-26, 1992 (Thursday and Friday) Adamson Wing Carnegie Mellon University Pittsburgh PA Tutorials: 25 June 1992 Annual meeting: evening of June 25 Technical Conference: 26 June Proceedings will be made available. For more information, contact: Wilfred J. Hansen Director, Andrew Toolkit Consortium School of Computer Science Carnegie Mellon 238 UCCB 4910 Forbes Ave. Pittsburgh, PA 15213 wjh+@andrew.cmu.edu 412-268-6788 \enddata{text,539487436} \enddata{text822, 209411} \begindata{text822, 213416} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Wed, 15 Apr 1992 14:38:06 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Wed, 15 Apr 1992 14:36:39 -0400 (EDT) Received: from ucbvax.Berkeley.EDU by po5.andrew.cmu.edu (5.54/3.15) id ; Wed, 15 Apr 92 14:26:41 EDT Received: by ucbvax.Berkeley.EDU (5.63/1.43) id AA13463; Wed, 15 Apr 92 11:10:54 -0700 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: 14 Apr 92 14:20:37 GMT From: micro-heart-of-gold.mit.edu!wupost!cs.utexas.edu!convex!convex!datri@bloom-beacon.mit.edu (Anthony A. Datri) Organization: Engineering, CONVEX Computer Corp., Richardson, Tx., USA Subject: Re: ATK Release plans Message-Id: <1992Apr14.142037.20968@news.eng.convex.com> References: <8duNVT200VtjBDt4wg@andrew.cmu.edu>, Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu >"~/preferences", regardless of whether the user uses ~/preferences, >~/.preferences, or ~/X11defaults as his personal preferences file Where'd ~/X11defaults come from? Do you mean .Xdefaults? -- ======================================================8--< \enddata{text822, 213416} \begindata{text822, 215113} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Wed, 15 Apr 1992 23:13:37 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Wed, 15 Apr 1992 23:12:37 -0400 (EDT) Received: from ucbvax.Berkeley.EDU by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Wed, 15 Apr 92 23:12:29 EDT Received: by ucbvax.Berkeley.EDU (5.63/1.43) id AA27146; Wed, 15 Apr 92 20:01:27 -0700 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: 14 Apr 92 21:01:16 GMT From: auspex-gw!guy@uunet.uu.net (Guy Harris) Organization: Auspex Systems, Santa Clara Subject: Re: ATK Release plans Message-Id: <12437@auspex-gw.auspex.com> References: <8duNVT200VtjBDt4wg@andrew.cmu.edu>, <12427@auspex-gw.auspex.com>, <8dulHQK00Vs9ROd0dG@andrew.cmu.edu> Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu > SUN 4c Sparcstation (SunOS 4.1.1) I.e., it's built using the SunOS 4.1[.x] version of the dynamic linking code, running atop the SunOS 4.1[.x] "-ldl" stuff, rather than the pre-4.1[.x] version, with its own dynamic loader? Most people are probably running 4.1[.x] on their SPARC machines, but it's still useful to note that it requires 4.1[.x], just in case some laggard out there is still running 4.0.3c or something silly such as that. > For example, the HP700 binaries will probably run on the HP800. Presumably you compiled it with the "don't use PA 1.1 features" flag mentioned in an earlier message, then? >Can't Auspex fork over some cash instead of you? Well, given that the main use Auspex currently has for ATK is that the build of ATK is used as a test of memory expansion boards, I suspect not. (Yes, I'm serious.) \enddata{text822, 215113} \begindata{text822, 217331} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po3.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Thu, 16 Apr 1992 00:01:24 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Wed, 15 Apr 1992 23:58:40 -0400 (EDT) Received: from ucbvax.Berkeley.EDU by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Wed, 15 Apr 92 23:58:19 EDT Received: by ucbvax.Berkeley.EDU (5.63/1.43) id AA01919; Wed, 15 Apr 92 20:54:25 -0700 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: 7 Apr 92 05:29:56 GMT From: cis.ohio-state.edu!zaphod.mps.ohio-state.edu!qt.cs.utexas.edu!cs.utexas.edu!mercury.unt.edu!mips.mitek.com!convex!datri@ucbvax.Berkeley.EDU (Anthony A. Datri) Organization: Engineering, CONVEX Computer Corp., Richardson, Tx., USA Subject: Re: non-unix clients Message-Id: <1992Apr7.052956.9487@news.eng.convex.com> References: <4ds1Piq3fW015PQUcf@cs.kun.nl> Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu As I remember it, vui is the *direct* descent of the first msdos AMS client, which was called PC-Messages. This explains why some of the options seem strange in unixland -- choosing to save to a "local" or "remote" file. I once heard a claim that support for AMS to read netnews article trees would show up, but haven't heard anything since. Volunteers? -- ======================================================8--< \enddata{text822, 217331} \begindata{text822, 219217} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po2.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Thu, 16 Apr 1992 06:17:05 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Thu, 16 Apr 1992 06:14:15 -0400 (EDT) Received: from ucbvax.Berkeley.EDU by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Thu, 16 Apr 92 06:14:06 EDT Received: by ucbvax.Berkeley.EDU (5.63/1.43) id AA06795; Thu, 16 Apr 92 03:09:53 -0700 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: 14 Apr 92 02:05:48 GMT From: prism!gt0963d@gatech.edu (Deeptendu Majumder) Organization: The Dream Chasers Syndicate Subject: Re: ATK Release plans Message-Id: <54512@hydra.gatech.EDU> References: <8duNVT200VtjBDt4wg@andrew.cmu.edu>, Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu In article Bob_Dew@ALW.NIH.GOV writes: > > > >- Sun 4 Spell Checking: When Andrew is compiled with optimization and >without debugging, ATK applications crash when the "spell" menu option >is selected I did not realize this is a software bug. So has anybody had any luck with it ? thanks d. -- ------ "Like a harsh neon streaking through the velvet darkness the whetted knife of Life tore its path through her Dreams" \enddata{text822, 219217} \begindata{text822, 221020} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po5.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Thu, 16 Apr 1992 06:45:44 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Thu, 16 Apr 1992 06:44:17 -0400 (EDT) Received: from ucbvax.Berkeley.EDU by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Thu, 16 Apr 92 06:44:01 EDT Received: by ucbvax.Berkeley.EDU (5.63/1.43) id AA08468; Thu, 16 Apr 92 03:32:27 -0700 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: 14 Apr 92 01:35:35 GMT From: auspex-gw!guy@uunet.uu.net (Guy Harris) Organization: Auspex Systems, Santa Clara Subject: Re: ATK Release plans Message-Id: <12427@auspex-gw.auspex.com> References: <8duNVT200VtjBDt4wg@andrew.cmu.edu> Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu >The CD-ROM will include all sources and complete object trees for the >IBM RS/6000, HP 700 Snake, Are the Snakes the only HP-PA machines running HP-UX 8.0? If not, will the Snake binaries run on other HP-PA machines running 8.0? (I'm assuming you require 8.0's dynamic linking.) > DEC PMAX, And, presumably other DEC MIPS-based machines. > and Sun 4. And, presumably, other SPARC-based machines running SunOS 4.x. ("champion.auspex.com", as cited in the "Nntp-Posting-Host" header, is a SPARC-based machine running SunOS 4.x, but it ain't a Sun-4, or any kind of Sun - and it *can* run ATK. No prizes for guessing what kind of machine it is.... :-)) (I.e., using reasonably inclusive names for families of machines is a Good Thing, as in the three examples above.) >(Hint: Join now; help ensure there will be further updates ;-) I would, if you'd allow individuals to join, but when I asked about it, you indicated there wouldn't be any provisions for that. I'd might even be willing to some non-negligible amount, being a typical overpaid underworked Silly Valley UNIX weenie.... :-) \enddata{text822, 221020} \begindata{text822, 223427} X-Andrew-Authenticated-As: 469;andrew.cmu.edu;Craig F. Everhart Return-path: X-Andrew-Authenticated-as: 1312;transarc.com;Craig Everhart Received: from apollo.transarc.com via trymail ID ; Thu, 16 Apr 1992 09:54:22 -0400 (EDT) Received: from apollo.transarc.com via qmail ID ; Thu, 16 Apr 1992 09:53:53 -0400 (EDT) Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.apollo.transarc.com.pmax.3 via MS.5.6.apollo.transarc.com.pmax_3; Thu, 16 Apr 1992 09:53:49 -0400 (EDT) Message-ID: Date: Thu, 16 Apr 1992 09:53:49 -0400 (EDT) From: Craig_Everhart@transarc.com X-Andrew-Message-Size: 1662+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: Nathaniel Borenstein , Bill Janssen Subject: Re: comments on Messages 8.5 CC: Susan Straub , Gary Keim , Fred Hansen In-Reply-To: References: \begindata{text,18267680} \textdsversion{12} \template{messages} I have to agree that Bill sounds quite reasonable on this one, but the only observation I really want to make is this. If MIME (multipart) can't encode at least some multi-object ATK documents for mailing, then there's a deficiency in MIME or its interpretation. Can I presume that an entire multipart boundary can be interpreted as something like ``\\enddata\{x\}\\begindata\{y\}''? Certainly this doesn't give you real nesting, but if you interpret the whole multi-part message as having the first part start with something like ``\\begindata\{z\}\\begindata\{x\}'' and the last part end with ``\\enddata\{y\}\\enddata\{z\}'', you get most ATK uses of objects. (Caveat--I'm really out of my expertise here.) There's a simple architecture to all the proposals: - if a document is OK to represent as text, represent as text; - else if it's OK to represent as MIME, represent as MIME; - else represent as full ATK. (Yes, there's the dither about providing fallback representations for non-extended readers.) Nathaniel apparently thinks that documents are never OK to represent as text and that it's always OK to represent them as MIME. Bill thinks that it's sometimes OK to represent as text, but if not, it's never adequate to represent as MIME. I'd suggest that Bill's plan is good, but that there are some documents (simple sequences of objects) that could not be represented as text but that MIME can capture. This suggestion is based on my belief that Nathaniel will work hard to make that set encompass lots of ATK, but is also based on my hope that he won't lose ATK-specific information simply because he wishes that MIME \italic{\bold{should}} be able to do anything. Craig \enddata{text,18267680} \enddata{text822, 223427} \begindata{text822, 226615} Return-path: X-Andrew-Authenticated-as: 2368;andrew.cmu.edu;Douglas F. DeJulio Received: from terminus.mercury.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Thu, 16 Apr 1992 10:10:47 -0400 (EDT) Received: from terminus.mercury.andrew.cmu.edu via qmail ID ; Thu, 16 Apr 1992 10:09:07 -0400 (EDT) Received: from BatMail.robin.v2.13.CUILIB.3.45.SNAP.NOT.LINKED.terminus.mercury.andrew.cmu.edu.pmax.ul4 via MS.5.6.terminus.mercury.andrew.cmu.edu.pmax_ul4; Thu, 16 Apr 1992 10:09:06 -0400 (EDT) Message-ID: Date: Thu, 16 Apr 1992 10:09:06 -0400 (EDT) From: "Douglas F. DeJulio" To: Info-Andrew Subject: Re: non-unix clients In-Reply-To: <1992Apr7.052956.9487@news.eng.convex.com> References: <4ds1Piq3fW015PQUcf@cs.kun.nl> <1992Apr7.052956.9487@news.eng.convex.com> cis.ohio-state.edu!zaphod.mps.ohio-state.edu!qt.cs.utexas.edu!cs.utexas.\ writes: > I once heard a claim that support for AMS to read netnews article trees > would show up, but haven't heard anything since. Volunteers? I'm doing this right now, sorta. Here's what I did. I keep my news in /usr/spool/news (aka. ~news). I created ~news/.MESSAGES, and put a ".amsalien" file in there. I made symbolic links from all the top level news trees into ~news/.MESSAGES. I whipped up a little Perl script to read /usr/lib/news/active and create ~news/.MESSAGES/.SubscriptionMap from it. Then I hacked together another perl script to do a reconstruct of all the folders in the .SubscriptionMap file (it invokes cui). If I'm remembering right, that's all it took to get started. It's not as clean as it could be -- every once in a while I need to do a "cui scavenge foo purge recurse" for new messages under "foo.*" to show up, and I'm still doing that by hand at this point (easy to put in cron though). I haven't yet looked at making the scavenge operation more efficient (lack of time). I don't have too many newsgroups on my machine, so it's not so bad. -- Doug DeJulio dd26+@andrew.cmu.edu (AMS/ATK mail welcome) ddj@zardoz.club.cc.cmu.edu (MIME, ATK/AMS and NeXT mail welcome) \enddata{text822, 226615} \begindata{text822, 229113} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po2.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Thu, 16 Apr 1992 11:34:46 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Thu, 16 Apr 1992 11:33:36 -0400 (EDT) Received: from ibminet.awdpa.ibm.com by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Thu, 16 Apr 92 11:33:18 EDT Received: by ibminet.awdpa.ibm.com (5.61/1.15) id AA04433; Thu, 16 Apr 92 08:33:12 -0700 Received: from amazon.awdpa.ibm.com by ibmpa.awdpa.ibm.com (5.65b(em1)/2.06) id AA22977; Thu, 16 Apr 92 08:32:23 -0700 Received: by amazon.awdpa.ibm.com (AIX 3.1/UCB 5.61/4.10) id AA25117; Thu, 16 Apr 92 08:31:29 -0700 From: marc@ibmpa.awdpa.ibm.com (Marc Pawliger) Message-Id: <9204161531.AA25117@amazon.awdpa.ibm.com> Subject: getstats for DEC risc boxes? To: info-andrew@andrew.cmu.edu Date: Thu, 16 Apr 92 8:31:28 PDT Will the new release include a working getstats for multi-cpu DEC machines? I don't think any of the currently released getstats will work on them now... --marc + Marc Pawliger IBM Advanced Workstations Division Palo Alto, CA + | Internet marc@awdpa.ibm.com UUCP uunet!ibminet!marc | | IBMinet marc@ibmpa.awdpa.ibm.com phone (415) 855-3493 | + VNET MARCP at AUSTIN IBM phone T/L 465-3493 + \enddata{text822, 229113} \begindata{text822, 230833} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Thu, 16 Apr 1992 16:31:28 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Thu, 16 Apr 1992 16:29:18 -0400 (EDT) Received: from ucbvax.Berkeley.EDU by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Thu, 16 Apr 92 16:29:01 EDT Received: by ucbvax.Berkeley.EDU (5.63/1.43) id AA19613; Thu, 16 Apr 92 13:11:09 -0700 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 Apr 92 18:31:41 GMT From: micro-heart-of-gold.mit.edu!wupost!darwin.sura.net!nih-csl!newssrv.dcrt.nih.gov!ghebeles@bloom-beacon.mit.edu (Timothy G. Ghebeles) Organization: National Institutes of Health, Bethesda, MD Subject: DECstation/SPARCstation rlogin Message-Id: Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu Is it possible to pass tokens while doing an rlogin under AFS 3.1? I have tried various combinations of rlogin's from DEC/SUN AFS clients to other DEC/SUN AFS clients and can't get any authentication on the remote AFS client. Any help would be appreciated. Thanks, Tim -- Timothy G.Ghebeles phone: (301) 496-2962 Building 12A, Room 2029 FAX: (301) 402-2867 National Institutes of Health uucp: uunet!ghebeles%alw.nih.gov Bethesda, MD 20892 internet: ghebeles@alw.nih.gov ghebeles@helix.nih.gov \enddata{text822, 230833} \begindata{text822, 232783} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po5.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Thu, 16 Apr 1992 17:25:52 -0400 (EDT) Received: from po3.andrew.cmu.edu via qmail ID ; Thu, 16 Apr 1992 17:24:24 -0400 (EDT) Received: from alpha.xerox.com by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Thu, 16 Apr 92 17:24:05 EDT Received: from holmes.parc.xerox.com ([13.1.100.162]) by alpha.xerox.com with SMTP id <11531>; Thu, 16 Apr 1992 14:23:10 PDT Received: by holmes.parc.xerox.com id <25544>; Thu, 16 Apr 1992 14:23:00 -0700 Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.holmes.parc.xerox.com.sun4.41 via MS.5.6.holmes.parc.xerox.com.sun4_41; Thu, 16 Apr 1992 14:22:52 -0700 (PDT) Message-Id: <8dvT0gAB0KGW4tlP9u@holmes.parc.xerox.com> Date: Thu, 16 Apr 1992 14:22:52 PDT Sender: Bill Janssen From: Bill Janssen To: info-andrew@andrew.cmu.edu Subject: X11 font name from xfontdesc I need, given an xfontdesc instance, to determine the name of the X font used to implement it. There is a method called GetRealFontDesc, which returns something of type "struct font *", which type I can't find defined anywhere. Is "struct font *" really another name for "void *"? Shouldn't there be some method on xfontdesc to determine this? Bill \enddata{text822, 232783} \begindata{text822, 234505} Return-path: X-Andrew-Authenticated-as: 5920;andrew.cmu.edu;Chris Newman Received: from nifty.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Thu, 16 Apr 1992 18:45:43 -0400 (EDT) Received: via niftymail; Thu, 16 Apr 1992 18:43:08 -0400 (EDT) Sender: Chris Newman Date: Thu, 16 Apr 1992 18:43:08 -0400 (EDT) From: Chris Newman Subject: Re: ATK Release plans To: Info-Andrew In-Reply-To: <54512@hydra.gatech.EDU> References: <54512@hydra.gatech.EDU> <8duNVT200VtjBDt4wg@andrew.cmu.edu> Message-ID: <703464188.732.0@nifty.andrew.cmu.edu> In article Bob_Dew@ALW.NIH.GOV writes: >- Sun 4 Spell Checking: When Andrew is compiled with optimization and >without debugging, ATK applications crash when the "spell" menu option >is selected I'd be willing to bet that the "spell" option calls vfork(), and failed to "#include " on the SparcStation. This would definitely cause the problem you describe. - Chris \enddata{text822, 234505} \begindata{text822, 235818} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po5.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Thu, 16 Apr 1992 19:52:58 -0400 (EDT) Received: from po2.andrew.cmu.edu via qmail ID ; Thu, 16 Apr 1992 19:52:06 -0400 (EDT) If-Type-Unsupported: send Received: from po5.andrew.cmu.edu via qmail ID ; Thu, 16 Apr 1992 19:50:40 -0400 (EDT) Received: from Athena.MIT.EDU by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew+; Thu, 16 Apr 92 19:50:05 EDT Received: from LAKOTA.MIT.EDU by Athena.MIT.EDU with SMTP id AA03810; Thu, 16 Apr 92 19:48:41 EDT Received: by lakota.MIT.EDU (5.61/4.7) id AA04231; Thu, 16 Apr 92 19:48:38 -0400 Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.lakota.vax.bsd43 via MS.5.6.lakota.vax_43; Thu, 16 Apr 1992 19:48:35 -0400 (EDT) Message-Id: Date: Thu, 16 Apr 1992 19:48:35 -0400 (EDT) From: Bill Cattey Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII To: Info-Andrew , Chris Newman Subject: Re: Sun Spell check bug fix! In-Reply-To: <703464188.732.0@nifty.andrew.cmu.edu> References: <54512@hydra.gatech.EDU> <8duNVT200VtjBDt4wg@andrew.cmu.edu> <703464188.732.0@nifty.andrew.cmu.edu> Hey everybody! This list contain a posting that contained the patch that corrected the problem with spell and other sub-processes. This was a problem in several modules in atk/extensions: spell.c, tags.c, filter.c, compile.c. It's ***FIXED***! -wdc I don't have the message, but here's the RCS log and the context diff again: date: 91/12/03 18:47:13; author: gk5g; state: Exp; lines added/del: 4/4 Added exit call after exec'ing the child process. This was previously a return call and that caused core dumps on the Sun when optimization is enabled. The main symptom was that the spell checker would core dump in this case. *** /tmp/,RCSt1004226 Thu Apr 16 19:46:41 1992 --- spell.c Mon Jan 13 15:20:48 1992 *************** *** 97,103 **** setpgrp(0, getpid()); #endif execlp("/bin/csh", "csh", "-cf", command, (char *)NULL); ! return NULL; } close(outpipe[READFD]); --- 97,103 ---- setpgrp(0, getpid()); #endif execlp("/bin/csh", "csh", "-cf", command, (char *)NULL); ! exit(0); } close(outpipe[READFD]); \enddata{text822, 235818} \begindata{text822, 238695} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po3.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Thu, 16 Apr 1992 20:11:20 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Thu, 16 Apr 1992 20:06:50 -0400 (EDT) Received: from ucbvax.Berkeley.EDU by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Thu, 16 Apr 92 20:06:28 EDT Received: by ucbvax.Berkeley.EDU (5.63/1.43) id AA02521; Thu, 16 Apr 92 16:54:15 -0700 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: 9 Apr 92 04:40:04 GMT From: cis.ohio-state.edu!zaphod.mps.ohio-state.edu!mips!mips!munnari.oz.au!metro!otc!gregm@ucbvax.Berkeley.EDU (Greg McFarlane) Organization: R&D, OTC Sydney, Australia Subject: Keybindings in ATK "ez" multi-media editor Message-Id: <5412@otc.otca.oz> Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu Does anyone know if there are ez keybindings for Bold, Italic, Bigger, Smaller, etc? For example, the keystrokes ^X^S is equivalent to selecting Save on the main menu. How about keybinding for the other menu items? Is there a general way to map keys to functions? Greg -- ACSnet: gregm@otc.otca.oz.au Greg McFarlane UUCP: {uunet,mcvax}!otc.otca.oz.au!gregm |||| OTC || Snail: OTC R&D GPO Box 7000, Sydney 2001, Australia Phone: +61 2 287 3139 Fax: +61 2 287 3299 \enddata{text822, 238695} \begindata{text822, 240573} Return-path: X-Andrew-Authenticated-as: 602;andrew.cmu.edu;Adam Stoller Received: from commander.itc.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Thu, 16 Apr 1992 20:28:53 -0400 (EDT) If-Type-Unsupported: send Received: from commander.itc.cmu.edu via qmail ID ; Thu, 16 Apr 1992 20:28:29 -0400 (EDT) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.commander.itc.cmu.edu.rs.aix31 via MS.5.6.commander.itc.cmu.edu.rs_aix31; Thu, 16 Apr 1992 20:28:24 -0400 (EDT) Message-ID: Date: Thu, 16 Apr 1992 20:28:24 -0400 (EDT) From: Adam Stoller X-Andrew-Message-Size: 239+0 Content-Type: X-BE2; 12 To: Info-Andrew Subject: Re: Keybindings in ATK "ez" multi-media editor In-Reply-To: <5412@otc.otca.oz> References: <5412@otc.otca.oz> \begindata{text,539123556} \textdsversion{12} \template{messages} Alt-'b => bold Alt-'i => italic Alt-'p => plainer Alt-'l => insert-style-prompt At least this is how it looks by default from an RS/6000 keyboard. (I actually use Alt-s as my prefix rather than Alt-', but that's another story...) --fish \enddata{text,539123556} \enddata{text822, 240573} \begindata{text822, 242092} Return-path: X-Andrew-Authenticated-as: 602;andrew.cmu.edu;Adam Stoller Received: from commander.itc.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Thu, 16 Apr 1992 20:34:02 -0400 (EDT) If-Type-Unsupported: send Received: from commander.itc.cmu.edu via qmail ID ; Thu, 16 Apr 1992 20:33:48 -0400 (EDT) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.commander.itc.cmu.edu.rs.aix31 via MS.5.6.commander.itc.cmu.edu.rs_aix31; Thu, 16 Apr 1992 20:33:47 -0400 (EDT) Message-ID: Date: Thu, 16 Apr 1992 20:33:47 -0400 (EDT) From: Adam Stoller X-Andrew-Message-Size: 1205+0 Content-Type: X-BE2; 12 To: Info-Andrew Subject: PS -- Re: Keybindings in ATK "ez" multi-media editor In-Reply-To: <5412@otc.otca.oz> References: <5412@otc.otca.oz> \begindata{text,539123556} \textdsversion{12} \template{messages} \define{bindlist } \define{binddesc } You might want to try adding some of the following proctable entries to your init files (if they're not gloably set already?) ---------------- ^X-K deskey-describe-bound-keys - Show bindings for all keys. ^X-P deskey-describe-bound-procs - Show bindings for all keys. Esc-? deskey-describe-key - Show binding of a typed in key sequence. Esc-_ deskey-describe-proctable - List all proctable entries.; Return count. ---------------- deskey-describe-bound-keys (im) - Show bindings for all keys. deskey-describe-bound-procs (im) - Show bindings for all keys. deskey-describe-key (im) - Show binding of a typed in key sequence. deskey-describe-proctable (im)=> Long - List all proctable entries.; Return count. deskey-list-proctable (im)=> Long - List the entries in the proctable to /tmp/ProcList; Return count. ---------------- format: [.atkinit] addkey [] (the last field(s) actually have a meaning, I just don't remember what off-hand) example: 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 --fish \enddata{text,539123556} \enddata{text822, 242092} \begindata{text822, 244646} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po5.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Fri, 17 Apr 1992 09:57:34 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Fri, 17 Apr 1992 09:54:53 -0400 (EDT) Received: from ucbvax.Berkeley.EDU by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Fri, 17 Apr 92 09:54:44 EDT Received: by ucbvax.Berkeley.EDU (5.63/1.43) id AA19245; Fri, 17 Apr 92 06:45:20 -0700 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: 26 Mar 92 21:39:43 GMT From: willis.cis.uab.edu!utkcs2!ornl!tdum.CTD.ORNL.GOV!jnm@gatech.edu (Jamey Maze) Organization: Oak Ridge National Laboratory Subject: ATK Consortium? Message-Id: <1992Mar26.213943.25288@ornl.gov> Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu I just got andrew built on my Sun today and am rather impressed. Could someone answer few questions for me? - I'd like to find out more about the ATK Consortium, like what does it do, who are the current members, and how much does it cost to join. - Where can I get hold of the PC and Mac versions? I assume the Mac version uses MacTCP, but whose TCP stack (e.g., FTP Software's) does the PC version use? - Isn't there an RFC that defines a standard for multmedia mail? How close is AMS to meeting that standard? What other mailers can do multimedia mail? Thanks! -- Jamey Maze | Computing & Telecommunications Division Oak Ridge National Lab | Advanced Technology Group P.O. Box 2008, MS-6238 | Internet: jnm@ornl.gov Oak Ridge, TN 37831-6238 | 615/574-6355, FAX 615/574-9646 "Years ago my mother said to me, 'In this world, Elwood, you must be oh so smart or oh so pleasant.' For years I was smart. I recommend pleasant." - Elwood P. Dowd, "Harvey" \enddata{text822, 244646} \begindata{text822, 246936} Return-path: X-Andrew-Authenticated-as: 5904;andrew.cmu.edu;Robert Andrew Ryan Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Fri, 17 Apr 1992 12:43:03 -0400 (EDT) Received: from andrew.cmu.edu via qmail ID ; Fri, 17 Apr 1992 12:42:47 -0400 (EDT) Received: from freeport.andrew.cmu.edu via qmail ID ; Fri, 17 Apr 1992 12:41:51 -0400 (EDT) Received: from freeport.andrew.cmu.edu via qmail ID ; Fri, 17 Apr 1992 12:41:49 -0400 (EDT) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.freeport.andrew.cmu.edu.rt.aos4 via MS.5.6.freeport.andrew.cmu.edu.rt_aos4; Fri, 17 Apr 1992 12:41:49 -0400 (EDT) Message-ID: Date: Fri, 17 Apr 1992 12:41:49 -0400 (EDT) From: Robert Andrew Ryan X-Andrew-Message-Size: 363+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: Info-Andrew Subject: Re: getstats for DEC risc boxes? In-Reply-To: <9204161531.AA25117@amazon.awdpa.ibm.com> References: <9204161531.AA25117@amazon.awdpa.ibm.com> \begindata{text,271110368} \textdsversion{12} \template{messages} \excerptedcaption{Excerpts from internet.other.info-andrew: 16-Apr-92 getstats for DEC risc boxes? Marc Pawliger@ibmpa.awdp (466)} \quotation{Will the new release include a working getstats for multi-cpu DEC machines? } I don't think so. We don't have any multi-cpu machines, so unless someone contributes it we probably won't have any support for them. -Rob Ryan Andrew Toolkit Consortium \enddata{text,271110368} \enddata{text822, 246936} \begindata{text822, 248992} Return-path: X-Andrew-Authenticated-as: 5904;andrew.cmu.edu;Robert Andrew Ryan Received: from po3.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Fri, 17 Apr 1992 12:53:27 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Fri, 17 Apr 1992 12:52:50 -0400 (EDT) Received: from freeport.andrew.cmu.edu via qmail ID ; Fri, 17 Apr 1992 12:51:03 -0400 (EDT) Received: from freeport.andrew.cmu.edu via qmail ID ; Fri, 17 Apr 1992 12:51:01 -0400 (EDT) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.freeport.andrew.cmu.edu.rt.aos4 via MS.5.6.freeport.andrew.cmu.edu.rt_aos4; Fri, 17 Apr 1992 12:51:01 -0400 (EDT) Message-ID: Date: Fri, 17 Apr 1992 12:51:01 -0400 (EDT) From: Robert Andrew Ryan X-Andrew-Message-Size: 675+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: Info-Andrew Subject: Re: X11 font name from xfontdesc In-Reply-To: <8dvT0gAB0KGW4tlP9u@holmes.parc.xerox.com> References: <8dvT0gAB0KGW4tlP9u@holmes.parc.xerox.com> \begindata{text,271110368} \textdsversion{12} \template{messages} \excerptedcaption{Excerpts from internet.other.info-andrew: 16-Apr-92 X11 font name from xfontdesc Bill Janssen@parc.xerox. (353)} \quotation{ Is "struct font *" really another name for "void *"? }\quotation{Shouldn't there be some method on xfontdesc to determine this? } Yes, it is basically meant as void *. Really you should never rely on being under X... (Of course that's mainly a philosophical stance at this point, but ATK is supposed to be window-system independent.) It might be useful to add a method to fontdesc to return a char * representing the font name. Then override this in xfontdesc. We would be happy to incorporate a patch for this in our next release. -Rob Ryan Andrew Toolkit Consortium \enddata{text,271110368} \enddata{text822, 248992} \begindata{text822, 251386} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po5.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Fri, 17 Apr 1992 15:49:40 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Fri, 17 Apr 1992 15:47:39 -0400 (EDT) Received: from ucbvax.Berkeley.EDU by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Fri, 17 Apr 92 15:47:22 EDT Received: by ucbvax.Berkeley.EDU (5.63/1.43) id AA04677; Fri, 17 Apr 92 11:20:08 -0700 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: 26 Mar 92 20:30:07 GMT From: dog.ee.lbl.gov!network.ucsd.edu!usc!cs.utexas.edu!utgpu!cunews!csi.uottawa.ca!news@ucbvax.Berkeley.EDU (Michael Kedem) Organization: MCRLab - University of Ottawa Subject: Re: Compiling ATK with gcc Message-Id: <1992Mar26.203007.12972@csi.uottawa.ca> References: <138*.S=wilde.OU=komsys.OU=tik.O=ethz.PRMD=SWITCH.ADMD=ARCOM.C=CH.@MHS> Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu In article <138*.S=wilde.OU=komsys.OU=tik.O=ethz.PRMD=SWITCH.ADMD=ARCOM.C=CH.@MHS>, wilde@komsys.tik.ethz.ch (Erik Wilde) writes: ! We are trying to compile the ATK with gcc on a Sun3 running SunOS 4.0. ! We had some problems concerning the linker, because one class, boxview, included ! a header file which was modified by gcc (in comparison to the normal Sun ! includes) to use a gcc-specific library function. Since the gcc compiler is only ! used for compiling, not for linking, the Andrew class system doesn't know ! anything about the gcc library. We were able to modify the makedo shell script ! to include the gcc library. However, the doindex binary complained about the ! undefined symbol and we couldn't figure out how to modify doindex. The way we ! solved the problem was to remodify the modified header file (assert.h) so that ! the gcc-lib function (it's __eprintf) isn't used any more. ! Now there's the question, are there any experiences compiling ATK and ATK ! applications with gcc and is there any configuration option that allows adding ! libraries to the class system? Any help is greatly appreciated. ! ! Erik Wilde ! Phone: +41-1-254-7009 Fax: +41-1-262-3973 Mail: wilde@komsys.tik.ethz.ch I have a problem with ness : /X/usr/andrew/bin/makedo -g -d /X/usr/andrew/lib -b /X/usr/andrew/bin -o lex.do lex.o dofix: Undefined: ___fixunsdfsi doload: Errors while processing doindex: indexing lex.do ...doload: Undefined symbol: ___fixunsdfsi doload: Errors while processing doindex: NULL entrypoint from lex.do...program terminated! *** Error code 1 I haven't solved it. This reminds me of something that exists in the port to SCO unix: There is a macro called COMPILERLIBS, which should be set to /usr/local/lib/gcc-gnulib. It is used in the Imakefile in overhead/class/machdep/sco_i386. I never quite figured out what it does, but it solved some problems with unresolved externals from the gcc library. ----------------------------------------------------------------------------- Michael Kedem michael@shamin.genie.uottawa.ca University of Ottawa problems: kedem@aix1.uottawa.ca Electrical Engineering, MCRlab ----------------------------------------------------------------------------- \enddata{text822, 251386} \begindata{text822, 255104} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po2.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Fri, 17 Apr 1992 16:02:20 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Fri, 17 Apr 1992 16:00:26 -0400 (EDT) Received: from ucbvax.Berkeley.EDU by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Fri, 17 Apr 92 16:00:07 EDT Received: by ucbvax.Berkeley.EDU (5.63/1.43) id AA04725; Fri, 17 Apr 92 11:21:04 -0700 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: 26 Mar 92 22:15:11 GMT From: dog.ee.lbl.gov!network.ucsd.edu!usc!cs.utexas.edu!utgpu!cunews!csi.uottawa.ca!news@ucbvax.Berkeley.EDU (Michael Kedem) Organization: MCRLab - University of Ottawa Subject: Re: Compiling ATK with gcc Message-Id: <1992Mar26.221511.13841@csi.uottawa.ca> Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu Please send me an email address you know I can use. I tried using caf@OMEN.UUCP, but the message bounced from UUCP. ----------------------------------------------------------------------------- Michael Kedem michael@shamin.genie.uottawa.ca University of Ottawa problems: kedem@aix1.uottawa.ca Electrical Engineering, MCRlab "Time flies like an arrow, Fruit flies like bananas" Le temps vole comme un fleche, mais les fruits vole comme des bananes Zeit fliegt wie ein Pfeil, aber Fruechtenfliegen haben bananen gerne ----------------------------------------------------------------------------- \enddata{text822, 255104} \begindata{text822, 257107} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po2.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Fri, 17 Apr 1992 16:26:28 -0400 (EDT) Received: from po2.andrew.cmu.edu via qmail ID ; Fri, 17 Apr 1992 16:25:17 -0400 (EDT) If-Type-Unsupported: send Received: from po5.andrew.cmu.edu via qmail ID ; Fri, 17 Apr 1992 16:23:23 -0400 (EDT) Received: from Athena.MIT.EDU by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Fri, 17 Apr 92 16:23:05 EDT Received: from LAKOTA.MIT.EDU by Athena.MIT.EDU with SMTP id AA23977; Fri, 17 Apr 92 16:22:44 EDT Received: by lakota.MIT.EDU (5.61/4.7) id AA16611; Fri, 17 Apr 92 16:22:40 -0400 Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.lakota.vax.bsd43 via MS.5.6.lakota.vax_43; Fri, 17 Apr 1992 16:22:38 -0400 (EDT) Message-Id: Date: Fri, 17 Apr 1992 16:22:38 -0400 (EDT) From: Bill Cattey Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII To: info-andrew@andrew.cmu.edu, cis.ohio-state.edu!zaphod.mps.ohio-state.edu!mips!mips!munnari.oz.au!metro!otc!gregm@ucbvax.berkeley.edu (Greg McFarlane) Subject: Re: Keybindings in ATK "ez" multi-media editor In-Reply-To: <5412@otc.otca.oz> References: <5412@otc.otca.oz> Here is the documentation I gave my users on key bindings for formatting commands: (Note that "M-" represents the "Meta" key which is the "Alt" key on an IBM RT, the "Compose Character" key on a DEC LK-201 keyboard, and is also the "Esc" key.) The following new keyboard commands enable you to stylilze regions, or to change the style of the next characters you type: M-' M-i italic M-' M-b bold M-' M-^ superscript M-' M-! subscript M-' M-_ underline M-' M-t typewriter M-' M-+ bigger M-' M-- smaller M-' M-= center M-' M-< flushleft M-' M-> flushright M-' M- TAB> leftindent M-' M-p Plainer M-' M-P Plainest \enddata{text822, 257107} \begindata{text822, 259570} Return-path: X-Andrew-Authenticated-as: 602;andrew.cmu.edu;Adam Stoller Received: from commander.itc.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Fri, 17 Apr 1992 16:42:51 -0400 (EDT) If-Type-Unsupported: send Received: from commander.itc.cmu.edu via qmail ID ; Fri, 17 Apr 1992 16:40:32 -0400 (EDT) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.commander.itc.cmu.edu.rs.aix31 via MS.5.6.commander.itc.cmu.edu.rs_aix31; Fri, 17 Apr 1992 16:40:32 -0400 (EDT) Message-ID: Date: Fri, 17 Apr 1992 16:40:32 -0400 (EDT) From: Adam Stoller X-Andrew-Message-Size: 166+0 Content-Type: X-BE2; 12 To: Info-Andrew Subject: Re: Keybindings in ATK "ez" multi-media editor In-Reply-To: References: <5412@otc.otca.oz> \begindata{text,539019256} \textdsversion{12} \template{messages} (oooooooooops :-) Bill is right - the Meta/Alt key is the prefix for *both* keys, not just the first one, as I made it appear in my post. Sorry 'bout that. --fish\ \enddata{text,539019256} \enddata{text822, 259570} \begindata{text822, 261068} Return-path: X-Andrew-Authenticated-as: 1312;transarc.com;Craig Everhart Received: from transarc.com via trymail ID ; Fri, 17 Apr 1992 16:43:02 -0400 (EDT) Received: from transarc.com via qmail ID ; Fri, 17 Apr 1992 16:39:43 -0400 (EDT) Received: from apollo.transarc.com via qmail ID ; Fri, 17 Apr 1992 15:49:44 -0400 (EDT) Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.apollo.transarc.com.pmax.3 via MS.5.6.apollo.transarc.com.pmax_3; Fri, 17 Apr 1992 15:49:32 -0400 (EDT) Message-ID: Date: Fri, 17 Apr 1992 15:49:32 -0400 (EDT) From: Craig_Everhart@transarc.com X-Andrew-Message-Size: 301+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: Info-Andrew , Chris Newman , wdc@athena.mit.edu Subject: Re: Sun Spell check bug fix! In-Reply-To: References: <54512@hydra.gatech.EDU> <8duNVT200VtjBDt4wg@andrew.cmu.edu> <703464188.732.0@nifty.andrew.cmu.edu> \begindata{text,18447724} \textdsversion{12} \template{messages} Would it be better to use one of _exit(0) _exit(1) in the sub-fork rather than exit(0) ? The _exit function won't do the stdio fclose() functions on open files that exit() will, and it probably makes sense to return some sort of error rather than just pretending that everything went OK. Craig \enddata{text,18447724} \enddata{text822, 261068} \begindata{text822, 262883} Return-path: X-Andrew-Authenticated-as: 1447;andrew.cmu.edu;Gary Keim Received: from rascal.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Fri, 17 Apr 1992 16:49:41 -0400 (EDT) Received: from rascal.andrew.cmu.edu via qmail ID ; Fri, 17 Apr 1992 16:47:08 -0400 (EDT) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.rascal.andrew.cmu.edu.rs.aix31 via MS.5.6.rascal.andrew.cmu.edu.rs_aix31; Fri, 17 Apr 1992 16:47:07 -0400 (EDT) Message-ID: Date: Fri, 17 Apr 1992 16:47:07 -0400 (EDT) From: Gary Keim X-Andrew-Message-Size: 360+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: Info-Andrew , Chris Newman , wdc@athena.mit.edu Subject: Re: Sun Spell check bug fix! In-Reply-To: References: <54512@hydra.gatech.EDU> <8duNVT200VtjBDt4wg@andrew.cmu.edu> <703464188.732.0@nifty.andrew.cmu.edu> \begindata{text,538981880} \textdsversion{12} \template{messages} \excerptedcaption{Excerpts from misc: 17-Apr-92 Re: Sun Spell check bug fix! Craig_Everhart@transarc. (301+0)} \quotation{The _exit function won't do the stdio fclose() functions on open files that exit() will, and it probably makes sense to return some sort of error rather than just pretending that everything went OK. } Yes, after the CD I'll change those occurances to _exit(1). -Gary \enddata{text,538981880} \enddata{text822, 262883} \begindata{text822, 264789} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po2.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Fri, 17 Apr 1992 17:33:42 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Fri, 17 Apr 1992 17:31:59 -0400 (EDT) Received: from ucbvax.Berkeley.EDU by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Fri, 17 Apr 92 17:31:40 EDT Received: by ucbvax.Berkeley.EDU (5.63/1.43) id AA13066; Fri, 17 Apr 92 13:49:01 -0700 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: 9 Apr 92 16:59:12 GMT From: rr2b+@andrew.cmu.edu (Robert Andrew Ryan) Organization: School of Computer Science, Carnegie Mellon, Pittsburgh, PA Subject: Re: Keybindings in ATK "ez" multi-media editor Message-Id: References: <5412@otc.otca.oz> Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu Excerpts from netnews.comp.soft-sys.andrew: 9-Apr-92 Keybindings in ATK "ez" mul.. Greg McFarlane@otc.otca. (527) > How about keybinding for the other menu items? Is there a general way > to map keys to functions? The deskey package (help deskey) provides several proctable entries for obtaining information on available functions and their current keybindings. There is no direct way to establish which functions are bound to what menu items without looking at the source unfortunately. Other packages of interest when dealing with bindings are: metax and ness. -Rob Ryan Andrew Toolkit Consortium p.s. the release after the CDROM release will have most key equivalents for menu options displayed on the menus. \enddata{text822, 264789} \begindata{text822, 266863} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po5.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Fri, 17 Apr 1992 18:04:22 -0400 (EDT) Received: from po3.andrew.cmu.edu via qmail ID ; Fri, 17 Apr 1992 18:03:46 -0400 (EDT) Received: from vnet.ibm.com by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew+; Fri, 17 Apr 92 18:03:38 EDT Received: from RCHLAND by vnet.ibm.com (IBM VM SMTP V2R2) with BSMTP id 6931; Fri, 17 Apr 92 18:03:07 EST Reply-To: "Todd Inglett,553813 " Received: by po1.rchland.ibm.com (5.51/4.7) id for info-andrew+@andrew.cmu.edu; Fri, 17 Apr 92 16:55:59 CDT Received: via switchmail; Fri, 17 Apr 1992 16:55:58 -0500 (CDT) Received: from q.rchland.ibm.com via qmail ID ; Fri, 17 Apr 1992 16:55:39 -0500 (CDT) Received: from q.rchland.ibm.com via qmail ID ; Fri, 17 Apr 1992 16:55:37 -0500 (CDT) Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.q.rchland.ibm.com.rs.aix32 via MS.5.6.q.rchland.ibm.com.rs_aix32; Fri, 17 Apr 1992 16:55:36 -0500 (CDT) Message-Id: <0dvoZMQ91JbdF3ZZx4@rchland.ibm.com> Date: Fri, 17 Apr 1992 16:55:36 -0500 (CDT) From: Todd Inglett X-Andrew-Message-Size: 1296+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: Info-Andrew Subject: Re: Andrew Beta Test In-Reply-To: References: <4dvjJim0ts4jATAF15@alw.nih.gov> \begindata{text,538709080} \textdsversion{12} \template{messages} \excerptedcaption{Excerpts from ext.misc.info-andrew: 17-Apr-92 Re: Andrew Beta Test Bob Dew@RCHGATE.rchland. (919+1)} \quotation{One problem, or perhaps personal dislike I have with the beta releases in general, however, is that mono screens don't handle color preferences options well--ATK displays viewed on mono screens become unreadable when certain color combinations are selected. } I was brainstorming a way to solve this problem the other day. Suppose ATK parsed a color name which looks like this: \example{SlateBlue|white } where the left side is the color name and the right side is the monochrome alternative (is a pipe char a good choice?). The monochrome alternatives would be \italic{white}, \italic{black} or \italic{dither}, where \italic{dither} would be the default. Then we could use color names in templates without having to keep color and monochrome templates separate. This hack should affect only a couple of lines of code in the toolkit. The idea could be extended to solve the text highlighting problem for color text. Perhaps the color ``specification'' could include the inverted color choice (which means textview needs to be changed to redraw in the inverted color if specified). Currently my preferences is filled with ?E's, and my TEMPLATEPATH is special on a color display. Lots of yucky stuff to keep straight. -todd inglett \enddata{text,538709080} \enddata{text822, 266863} \begindata{text822, 270405} Return-path: X-Andrew-Authenticated-as: 5904;andrew.cmu.edu;Robert Andrew Ryan Received: from po2.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Fri, 17 Apr 1992 18:45:32 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Fri, 17 Apr 1992 18:44:29 -0400 (EDT) Received: from freeport.andrew.cmu.edu via qmail ID ; Fri, 17 Apr 1992 18:42:09 -0400 (EDT) Received: from freeport.andrew.cmu.edu via qmail ID ; Fri, 17 Apr 1992 18:42:08 -0400 (EDT) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.freeport.andrew.cmu.edu.rt.aos4 via MS.5.6.freeport.andrew.cmu.edu.rt_aos4; Fri, 17 Apr 1992 18:42:07 -0400 (EDT) Message-ID: Date: Fri, 17 Apr 1992 18:42:07 -0400 (EDT) From: Robert Andrew Ryan X-Andrew-Message-Size: 1133+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: Info-Andrew Subject: Re: Andrew Beta Test In-Reply-To: <0dvoZMQ91JbdF3ZZx4@rchland.ibm.com> References: <4dvjJim0ts4jATAF15@alw.nih.gov> <0dvoZMQ91JbdF3ZZx4@rchland.ibm.com> \begindata{text,271110368} \textdsversion{12} \template{messages} \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]} \excerptedcaption{Excerpts from internet.other.info-andrew: 17-Apr-92 Re: Andrew Beta Test Todd Inglett@rchland.ibm (1296+0)} \quotation{I was brainstorming a way to solve this problem the other day. Suppose ATK parsed a color name which looks like this: } \example{\quotation{SlateBlue|white }} \quotation{where the left side is the color name and the right side is the monochrome alternative (is a pipe char a good choice?). } This seems like a sensible idea to me, the '|' character is probably as good a choice as any. \excerptedcaption{Excerpts from internet.other.info-andrew: 17-Apr-92 Re: Andrew Beta Test Todd Inglett@rchland.ibm (1296+0)} \quotation{The idea could be extended to solve the text highlighting problem for color text. Perhaps the color ``specification'' could include the inverted color choice (which means textview needs to be changed to redraw in the inverted color if specified). } I'm afraid you really don't want text redrawing as you extend a selection... Unfortunately the text drawing code is pretty expensive, and doesn't know how to do partial updates very well. That issue aside the syntax could be something like: \example{SlateBlue/MidnightBlue|dither} -Rob Ryan Andrew Toolkit Consortium \enddata{text,271110368} \enddata{text822, 270405} \begindata{text822, 273609} Return-path: X-Andrew-Authenticated-as: 5904;andrew.cmu.edu;Robert Andrew Ryan Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Fri, 17 Apr 1992 18:50:56 -0400 (EDT) Received: from po3.andrew.cmu.edu via qmail ID ; Fri, 17 Apr 1992 18:50:28 -0400 (EDT) If-Type-Unsupported: send Received: from andrew.cmu.edu via qmail ID ; Fri, 17 Apr 1992 18:49:13 -0400 (EDT) Received: from freeport.andrew.cmu.edu via qmail ID ; Fri, 17 Apr 1992 18:47:54 -0400 (EDT) Received: from freeport.andrew.cmu.edu via qmail ID ; Fri, 17 Apr 1992 18:47:52 -0400 (EDT) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.freeport.andrew.cmu.edu.rt.aos4 via MS.5.6.freeport.andrew.cmu.edu.rt_aos4; Fri, 17 Apr 1992 18:47:52 -0400 (EDT) Message-ID: Date: Fri, 17 Apr 1992 18:47:52 -0400 (EDT) From: Robert Andrew Ryan X-Andrew-Message-Size: 200+0 Content-Type: X-BE2; 12 To: Info-Andrew Subject: PS -- Re: Andrew Beta Test In-Reply-To: <0dvoZMQ91JbdF3ZZx4@rchland.ibm.com> References: <4dvjJim0ts4jATAF15@alw.nih.gov> <0dvoZMQ91JbdF3ZZx4@rchland.ibm.com> \begindata{text,271110368} \textdsversion{12} \template{messages} Another idea... The field after the | could have the value \typewriter{threshold} to indicate that the choice of black or white should be made on the brightness of the color. -Rob Ryan Andrew Toolkit Consortium \enddata{text,271110368} \enddata{text822, 273609} \begindata{text822, 275744} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Fri, 17 Apr 1992 20:51:23 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Fri, 17 Apr 1992 20:50:02 -0400 (EDT) If-Type-Unsupported: send Received: from po5.andrew.cmu.edu via qmail ID ; Fri, 17 Apr 1992 20:48:09 -0400 (EDT) Received: from Athena.MIT.EDU by po5.andrew.cmu.edu (5.54/3.15) id for rr2b+; Fri, 17 Apr 92 20:48:01 EDT Received: from LAKOTA.MIT.EDU by Athena.MIT.EDU with SMTP id AA06852; Fri, 17 Apr 92 20:47:52 EDT Received: by lakota.MIT.EDU (5.61/4.7) id AA16714; Fri, 17 Apr 92 20:47:48 -0400 Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.lakota.vax.bsd43 via MS.5.6.lakota.vax_43; Fri, 17 Apr 1992 20:47:46 -0400 (EDT) Message-Id: Date: Fri, 17 Apr 1992 20:47:46 -0400 (EDT) From: Bill Cattey Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII To: Info-Andrew , Robert Andrew Ryan Subject: Re: Multi-display color setting. In-Reply-To: References: <4dvjJim0ts4jATAF15@alw.nih.gov> <0dvoZMQ91JbdF3ZZx4@rchland.ibm.com> At MIT we've independently developed a kludge for another application to specify colors for multiple display types that separates the fields with a comma: Wherever a color (such as foreground or background) is specified, the user is allowed to specify THREE items instead of one. By way of example, a user might write: xclock.foreground: white,gray75,red On a black&white display, white would be used, on a grayscale, gray75 is used, and an a color display, red is used. If only TWO items are specified, then the first is used on b&w, and the second on grayscale and color. If only ONE item is specified, then it is used on all 3 display types. In this manner, it is backwardly compatible with the standard Xt method of specifying colors. I don't suppose I could convince you to go with something compatible with our kludge? -wdc \enddata{text822, 275744} \begindata{text822, 278454} Return-path: X-Andrew-Authenticated-as: 5904;andrew.cmu.edu;Robert Andrew Ryan Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Fri, 17 Apr 1992 21:44:55 -0400 (EDT) Received: from po2.andrew.cmu.edu via qmail ID ; Fri, 17 Apr 1992 21:44:07 -0400 (EDT) Received: from freeport.andrew.cmu.edu via qmail ID ; Fri, 17 Apr 1992 21:43:01 -0400 (EDT) Received: from freeport.andrew.cmu.edu via qmail ID ; Fri, 17 Apr 1992 21:42:59 -0400 (EDT) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.freeport.andrew.cmu.edu.rt.aos4 via MS.5.6.freeport.andrew.cmu.edu.rt_aos4; Fri, 17 Apr 1992 21:42:58 -0400 (EDT) Message-ID: Date: Fri, 17 Apr 1992 21:42:58 -0400 (EDT) From: Robert Andrew Ryan X-Andrew-Message-Size: 912+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: Info-Andrew , Bill Cattey Subject: Re: Multi-display color setting. In-Reply-To: References: <4dvjJim0ts4jATAF15@alw.nih.gov> <0dvoZMQ91JbdF3ZZx4@rchland.ibm.com> \begindata{text,271110368} \textdsversion{12} \template{messages} \excerptedcaption{Excerpts from mail: 17-Apr-92 Re: Multi-display color set.. Bill Cattey@Athena.MIT.E (887*)} \quotation{Wherever a color (such as foreground or background) is specified, the }\quotation{ user is allowed to specify THREE items instead of one. By way of }\quotation{ example, a user might write: } \quotation{ xclock.foreground: white,gray75,red } \quotation{ On a black&white display, white would be used, on a grayscale, gray75 is }\quotation{ used, and an a color display, red is used. } I think this and the previous method could coexist reasonably well. In the case of only one color being present both do the same thing, If there are more that two items the different separator characters can distinguish between the two formats. -Rob Ryan Andrew Toolkit Consortium p.s. It may actually be time to take this one step further and specify foreground and background, and shadow colors all in one preference... (just an off the tip of the brain remark :-) \enddata{text,271110368} \enddata{text822, 278454} \begindata{text822, 281344} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po5.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Fri, 17 Apr 1992 22:48:04 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Fri, 17 Apr 1992 22:47:04 -0400 (EDT) Received: from ucbvax.Berkeley.EDU by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Fri, 17 Apr 92 22:46:53 EDT Received: by ucbvax.Berkeley.EDU (5.63/1.43) id AA02435; Fri, 17 Apr 92 19:19:48 -0700 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: 26 Mar 92 02:33:24 GMT From: auspex-gw!guy@uunet.uu.net (Guy Harris) Organization: Auspex Systems, Santa Clara Subject: Re: ATK on SVR4/i386 Message-Id: <12236@auspex-gw.auspex.com> References: <1992Mar20.225354.4189@raid.dell.com> Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu >Is anyone aware of an effort to port ATK to SVR4/386 or something similar? >Should the SCO port work as is? Probably not. For example: 1) SCO's pseudo-tty mechanism is probably different from SVR4's mechanism. 2) SCO uses COFF, so you'd need a COFF-based dynamic loader. SVR4 uses ELF, so you'd need an ELF-based dynamic loader. The good news is that SVR4 *already comes with such a loader*; it has the same "dlopen()" interface that SunOS 4.1[.x] has (actually, it's the other way around; AT&T devised the interface, SunOS 4.x supplied some of the underpinnings of the SVR4 implementation, and SunOS 4.1[.x] also picked up the interface and put it atop its implementation). So if anybody out there is contemplating writing such a dynamic loader for ELF, they should STOP RIGHT NOW and just grab the SunOS 4.1[.x] dynamic loading code for ATK - it uses the "dlopen()" interface. (At least half the reason I did the "dlopen()" interface was to make sure nobody decided to whip up their own code to read and relocate ELF images.) The nice thing is that an SVR4/386 port of ATK would probably require *only* new versions of those damn assembler-language stubs to be an SVR4/ port, and stubs already exist for 68K, SPARC, MIPS, and some other architectures - they might only need some tweaking for different assembler-language syntax and different ways of doing SVR4-style position-independent code. (And if ATK were put atop something that didn't require those stubs, it'd be even better....) \enddata{text822, 281344} \begindata{text822, 284215} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Sat, 18 Apr 1992 08:22:14 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Sat, 18 Apr 1992 08:18:44 -0400 (EDT) Received: from ucbvax.Berkeley.EDU by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Sat, 18 Apr 92 08:18:31 EDT Received: by ucbvax.Berkeley.EDU (5.63/1.43) id AA09098; Sat, 18 Apr 92 05:11:04 -0700 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: 16 Apr 92 18:55:03 GMT From: nih-csl!alw.nih.gov!rdew@uunet.uu.net (Bob Dew) Organization: National Inst. of Health, DCRT, CSL Subject: Re: Makefile problem on ULTRIX Message-Id: <1992Apr16.185503.23359@alw.nih.gov> References: <1992Apr16.171859.4454@ornl.gov> Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu In article <1992Apr16.171859.4454@ornl.gov>, jnm@tdum.CTD.ORNL.GOV (Jamey Maze) writes: |> I recently built ATK on SunOS will few problems, so I decided to do |> the same on ULTRIX, but I'm having trouble making it to 1st base. When I |> do make with any target, it complains about a syntax error in line 130, |> with is where the first variable (AFSBASEDIR) gets redefined from |> site.mcr. Can someone tell me what I've done wrong? |> |> Here's my site.mcr: |> |> AFSBASEDIR = /usr/afsws |> XUTILDIR = /usr/local/X11R5/bin |> XINCDIR = /usr/local/X11R5/include |> XMKFONTDIR = /usr/local/X11R5/bin/mkfontdir |> XLIBDIR = /usr/local/X11R5/lib |> XFC = /usr/local/X11R5/bin/bdftopcf |> RESOLVLIB = /usr/lib/libresolv.a |> PMAX is picky about white space in its Makefiles. Remove the tabs from your site.mcr, and you should go further. Bob \enddata{text822, 284215} \begindata{text822, 286402} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Sun, 19 Apr 1992 18:39:34 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Sun, 19 Apr 1992 18:34:40 -0400 (EDT) Received: from ucbvax.Berkeley.EDU by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Sun, 19 Apr 92 18:34:32 EDT Received: by ucbvax.Berkeley.EDU (5.63/1.43) id AA21437; Sun, 19 Apr 92 15:24:53 -0700 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: 12 Apr 92 19:18:59 GMT From: borg!bartok!linjk@mcnc.org (Jin-Kun Lin) Organization: University of North Carolina, Chapel Hill Subject: Failed ez and fad when ther is no window manager running. Message-Id: <11242@borg.cs.unc.edu> Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu It is quite strange but it happened. When I invoke ez or fad without running any window manager, I only get blank windows. When there is a window manager running, they work fine. This problem started to happen when we upgrade our ATK recently. The previous version does not have this problem. Do I need to use ez or fad without window manager? Unfortunately, yes. It is really a strange behavior! Can anyone tell me what causes it to happen? How can I fix it? Thanks! \enddata{text822, 286402} \begindata{text822, 288203} Return-path: X-Andrew-Authenticated-as: 13;andrew.cmu.edu;Fred Hansen Received: from lieutenant.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Mon, 20 Apr 1992 11:26:10 -0400 (EDT) If-Type-Unsupported: send Received: from lieutenant.andrew.cmu.edu via qmail ID ; Mon, 20 Apr 1992 11:25:13 -0400 (EDT) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.lieutenant.andrew.cmu.edu.rs.aix31 via MS.5.6.lieutenant.andrew.cmu.edu.rs_aix31; Mon, 20 Apr 1992 11:25:11 -0400 (EDT) Message-ID: Date: Mon, 20 Apr 1992 11:25:11 -0400 (EDT) From: Fred Hansen X-Andrew-Message-Size: 1834+0 Content-Type: X-BE2; 12 To: Info-Andrew Subject: re: Future free versions of Andrew? \begindata{text,539450660} \textdsversion{12} \template{messages} \quotation{Date: Fri, 17 Apr 92 18:57:44 -0400 From: rms@gnu.ai.mit.edu (Richard Stallman) Subject: Future free versions of Andrew? The ATK Consortium announcement led some people to worry about whether there will be any further improvement in the free software that we now know from the X distribution tape. } We are busily engaged in further improvements. The imminent CD-rom release will have at least 700 files differing from the release that came out with X.V11R5. \quotation{They suggested I should organize maintenance for the free version so that it remains a viable alternative. But I see that you say you will be making releases of Andrew through X from time to time (which implies they would be free software). Is this a firm promise? } This is a firm promise: As long as the Andrew Toolkit Consortium exists, we will continue to make freely usable and distributable versions of ATK and AMS. The Consortium will only exist if members support us. To provide some membership incentive, members will get updates more frequent than the free distributions and the interval between free distributions will be at least a year (as it has been for our distributions through the X tape). In addition to more frequent updates, full members of the Consortium get software support, the right to request new features, the right to demand that code they prepare be included in the distribution, and other benefits. For full details, send me a request for our membership flyer. Should the Consortium cease to exist, it would be a valuable contribution for you, or someone else, to organize continued maintenance of a free ATK and I would be delighted to help in that effort as much as I could. Please feel free to refer to me anyone with questions about ATK's future. Fred Hansen Director, Andrew Toolkit Consortium 412 421 5121 wjh+@cmu.edu \enddata{text,539450660} \enddata{text822, 288203} \begindata{text822, 291303} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Mon, 20 Apr 1992 19:18:37 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Mon, 20 Apr 1992 19:15:54 -0400 (EDT) Received: from relay2.UU.NET by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Mon, 20 Apr 92 19:15:39 EDT Received: from uunet.uu.net (via LOCALHOST.UU.NET) by relay2.UU.NET with SMTP (5.61/UUNET-internet-primary) id AB24176; Mon, 20 Apr 92 19:15:40 -0400 Received: from fed.UUCP by uunet.uu.net with UUCP/RMAIL (queueing-rmail) id 191413.22889; Mon, 20 Apr 1992 19:14:13 EDT Received: from arcss8.FRB.GOV by fed.FRB.GOV (4.1/SMI-4.0) id AA08759; Mon, 20 Apr 92 16:27:56 BST Received: by arcss8.FRB.GOV (4.1/SMI-4.0) id AA21506; Mon, 20 Apr 92 16:26:24 EDT Date: Mon, 20 Apr 92 16:26:24 EDT From: fed!m1eyr00@uunet.UU.NET (Edward Reznichenko) Message-Id: <9204202026.AA21506@arcss8.FRB.GOV> To: info-andrew@andrew.cmu.edu Subject: White Pages and mail setup Howdy, I had a couple of questions about 5.0 (which probably will apply to atk 5.1). My platform is SPARCstation IPC, SunOS 4.1.1. This is my site.h: #define AMS_DELIVERY_ENV 1 #define RUN_AMDS_ENV 1 #define WHITEPAGES_ENV 1 #define SNAP_ENV 1 #define MK_BASIC_UTILS 1 #define MK_AUTHORING 1 #define MK_AUX_UTILS 1 #define MK_AUX_INSETS 1 #define MK_EXAMPLES 1 #define CONTRIB_ENV 1 #define DEFAULT_LOCALDIR_ENV /usr/andrew #undef LINKINSTALL_ENV #undef RESOLVER_ENV I have set up my white pages and it seems to authenticate locals without problems. The fuzzy name lookup works beautifully. We don't have AFS here so I had to fake /afs/.CELLNAME/service/mailqs/q1... Is there a way to make switchmail to hand off undelivarable mail to /usr/lib/sendmail instead of saving it in /afs/.CELLNAME/service/mailqs/q1... forever. As it stands now, I had to modify the call to VM_open which calls CheckDirInAFS which then calls dirinAFS in overhead/mail/lib/vmail.c to return ON_AFS instead of NOT_ON_AFS (line 118 of vmail.c). That made queuemail/trymail/switchmail/ vicemail work - well sort of. When I send mail via messages to an outside destination, WP can't verify that (since we are not on the internet and don't use resolver DNS (only yellow pages)) the host is valid and asks me if I am sure, to which I click of course. then the email just sits in the /afs/.frv.gov/service/mailqs/q1 directory with the following message in one of the SF files (in this case I was trying to send mail to my old school account with the external email address of edvax@pyrite.som.cwru.edu): #From || #To |edvax@pyrite.som.cwru.edu (Temp failure validating destination domain)| #Auth |6158;frb.gov| I am running all my queuemail daemons with a -s option to run sendmail when all else fails. Also, I am not entirely clear on the -X and -O options. How many queuemail daemons should run on my machine and with what options. It seems that it doesn't even look in /usr/spool/ViceMsgQueue but puts the messages in /afs/frb.gov/service/mailqs/q1 directly if it fails immediate delivery. To summarize, I would like /usr/lib/sendmail to take control of delivery if queuemail/trymail/switchmail fail. Or do I need the whole CMU environment with AFS to do this properly. Also the WP.ins and AMDS manuals describes a program called 'package'. Where is it located? I coulnd't find it in the release. your help is greatly appreciated, --ed internet: m1eyr00@fed.frb.gov bang: ...!uunet!fed!m1eyr00 ps: also, a local /etc/passwd entry authenticates to a user+ while a YP (NIS) passwd entry authenticates to just 'user' . How do I control the plus sign being appended in messages? \enddata{text822, 291303} \begindata{text822, 295482} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Tue, 21 Apr 1992 10:55:21 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Tue, 21 Apr 1992 10:51:42 -0400 (EDT) Received: from ucbvax.Berkeley.EDU by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Tue, 21 Apr 92 10:51:37 EDT Received: by ucbvax.Berkeley.EDU (5.63/1.43) id AA00935; Tue, 21 Apr 92 07:42:18 -0700 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: 14 Apr 92 17:08:28 GMT From: gk5g+@andrew.cmu.edu (Gary Keim) Organization: School of Computer Science, Carnegie Mellon, Pittsburgh, PA Subject: Re: ATK Release plans Message-Id: References: <8duNVT200VtjBDt4wg@andrew.cmu.edu> Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu Excerpts from netnews.comp.soft-sys.andrew: 14-Apr-92 Re: ATK Release plans Guy Harris@Auspex.COM (1099) > Are the Snakes the only HP-PA machines running HP-UX 8.0? If not, will > the Snake binaries run on other HP-PA machines running 8.0? (I'm > assuming you require 8.0's dynamic linking.) From Jean Gascon (gascaon@hpl.hp.com): > The current Series 800 machines conforms to the PA-RISC 1.0 spec. > whereas the Series 700 is PA-RISC 1.1. PA-RISC 1.1 contains a few > additional instructions, supports additional floating-point registers > etc. Binaries for the Series 800 run without problems on the Series > 700. Binaries compiled on the Series 700 may run on the Series 800 if > certain options where set at compile time. By default, the Series 700 > generates code that supports all the options of the 700, for better > performance. \enddata{text822, 295482} \begindata{text822, 297666} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po5.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Tue, 21 Apr 1992 11:22:17 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Tue, 21 Apr 1992 11:21:06 -0400 (EDT) Received: from ucbvax.Berkeley.EDU by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Tue, 21 Apr 92 11:20:58 EDT Received: by ucbvax.Berkeley.EDU (5.63/1.43) id AA02210; Tue, 21 Apr 92 08:17:17 -0700 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: 14 Apr 92 17:23:29 GMT From: rr2b+@andrew.cmu.edu (Robert Andrew Ryan) Organization: School of Computer Science, Carnegie Mellon, Pittsburgh, PA Subject: Re: DECstation console redirection Message-Id: References: Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu Excerpts from netnews.comp.soft-sys.andrew: 14-Apr-92 DECstation console redirection Bob_Dew@ALW.NIH.GOV (654) > I found that one work-around is to change /usr/andrew/bin/runapp to run > as setuid root. Certainly not desirable... A better solution is to set the mode on /dev/xcons so that anyone can read from it (write access may also be necessary but I don't think so.) Note that console monitoring of /dev/console output assumes a single invocation of the console program per machine. -Rob Ryan Andrew Toolkit Consortium \enddata{text822, 297666} \begindata{text822, 299554} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po5.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Tue, 21 Apr 1992 11:23:58 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Tue, 21 Apr 1992 11:21:42 -0400 (EDT) Received: from ucbvax.Berkeley.EDU by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Tue, 21 Apr 92 11:21:29 EDT Received: by ucbvax.Berkeley.EDU (5.63/1.43) id AA02176; Tue, 21 Apr 92 08:16:19 -0700 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: 14 Apr 92 17:22:36 GMT From: gk5g+@andrew.cmu.edu (Gary Keim) Organization: School of Computer Science, Carnegie Mellon, Pittsburgh, PA Subject: Re: ATK Release plans Message-Id: <8dulHQK00Vs9ROd0dG@andrew.cmu.edu> References: <8duNVT200VtjBDt4wg@andrew.cmu.edu> Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu Excerpts from netnews.comp.soft-sys.andrew: 14-Apr-92 Re: ATK Release plans Guy Harris@Auspex.COM (1099) > And, presumably, other SPARC-based machines running SunOS 4.x. > ("champion.auspex.com", as cited in the "Nntp-Posting-Host" header, is a > SPARC-based machine running SunOS 4.x, but it ain't a Sun-4, or any kind > of Sun - and it *can* run ATK. No prizes for guessing what kind of > machine it is.... :-)) > (I.e., using reasonably inclusive names for families of machines is a > Good Thing, as in the three examples above.) The reason we are being so specific about what machines our binaries will run on is that we don't have any actual experience with similar variants. We do mention the possibility of running on variants in the CD-ROM top-level README: Binaries are included for the following system types: IBM RS/6000 (AIX 3.1) SUN 4c Sparcstation (SunOS 4.1.1) DECstation 3100 PMAX (Ultrix 4.2) Hewlett Packard 700 "Snake" (HPUX 8.05) While we have compiled the Andrew binaries on the above platforms, it is possible that they will execute properly on similar variants. For example, the HP700 binaries will probably run on the HP800. We have not tested the binaries on this disc on any variants. Excerpts from netnews.comp.soft-sys.andrew: 14-Apr-92 Re: ATK Release plans Guy Harris@Auspex.COM (1099) > >(Hint: Join now; help ensure there will be further updates ;-) > I would, if you'd allow individuals to join, but when I asked about it, > you indicated there wouldn't be any provisions for that. I'd might even > be willing to some non-negligible amount, being a typical overpaid > underworked Silly Valley UNIX weenie.... :-) Can't Auspex fork over some cash instead of you? I'd really like to see you in the Consortium in some capacity. \enddata{text822, 299554} \begindata{text822, 302727} X-Andrew-Authenticated-As: 469;andrew.cmu.edu;Craig F. Everhart Return-path: X-Andrew-Authenticated-as: 1312;transarc.com;Craig Everhart Received: from apollo.transarc.com via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl@andrew.cmu.edu) ID ; Tue, 21 Apr 1992 11:34:00 -0400 (EDT) If-Type-Unsupported: send Received: from apollo.transarc.com via qmail ID ; Tue, 21 Apr 1992 11:30:46 -0400 (EDT) Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.apollo.transarc.com.pmax.3 via MS.5.6.apollo.transarc.com.pmax_3; Tue, 21 Apr 1992 11:30:40 -0400 (EDT) Message-ID: <4dx3IUv0BwwOAm4lY2@transarc.com> Date: Tue, 21 Apr 1992 11:30:40 -0400 (EDT) From: Craig_Everhart@transarc.com X-Andrew-Message-Size: 3720+0 Content-Type: X-BE2; 12 To: Info-Andrew , fed!m1eyr00@uunet.UU.NET (Edward Reznichenko) Subject: Re: White Pages and mail setup In-Reply-To: <9204202026.AA21506@arcss8.FRB.GOV> References: <9204202026.AA21506@arcss8.FRB.GOV> \begindata{text,18891012} \textdsversion{12} \template{messages} Yours is an amazing story. I'm not sure where to begin. The queuemail daemons are supposed to take messages out of /afs/.CELLNAME/service/mailqs/q* and deliver mail by calling trymail or switchmail. Their ``-s'' option is disfunctional. Instead, you would have to get switchmail to drop mail to sendmail, and they should do that pretty normally. Can you describe what problems switchmail is having with doing that? (You can use the ``-d'' option to switchmail to get it to print debugging info, and I can probably help you reconstruct a command line to get it to try to deliver a piece of mail.) You have basically two choices, overall: (a) Turn off RUN_AMDS_ENV and don't try to run AMDS. You can still have your local mail validated via WP with some AndrewSetup option, where you tell the system where you've put a WP that describes names in ThisDomain. Mail delivery, local or remote, would then go through sendmail (via the OldSendmailProgram path). (b) Get AMDS to work well without AFS (which is, I guess, what you're trying to do). Presumably you're getting AMDS to create files in the ~userid/Mailbox directory. (Yes, overhead/mail/lib/vmail.c shouldn't be requiring destination directories to be in AFS if AFS_ENV isn't set!) You should also create a (at least one) ``slow queue'' directory /afs/frb.gov/service/mailqs/sq1 to hold messages for which initial delivery failed, and run a daemon to service that directory. (WP doesn't verify whether remote hosts are valid; that's done by overhead/mail/lib/valhost.c, and you'll probably need the AndrewSetup option that says never to bother validating remote hosts. This is named something like AMS_ValidateDestHosts, and you'd want to turn it off.) I expect that switchmail is discovering that it can't validate remote host names like pyrite.som.cwru.edu, getting the same valhost.c result that you get when you have to confirm that a host exists. In switchmail's case it expects that it would be pointless to tell sendmail about the given host, since the lookup that switchmail does is no more restrictive than that performed by sendmail. (Thus, you have to configure the valhost.c lookup to be no more restrictive than the sendmail host name validation!) Switchmail then hangs on to the mail, with the ``Temp failure validating destination domain'' annotation. All machines that try to run AMDS would run the ANDREWDIR/etc/startmailsystem script to crank up the ``workstation'' portion. This will start up a queuemail daemon servicing /usr/spool/ViceMsgQueue, and it will use the -X option to cause it to accept UDP-grams from processes on the local machine to cause them to deliver mail that has been queued in ~userid/.Outgoing . (/usr/spool/ViceMsgQueue is a queue of last resort, designed to be on the local disk of a workstation when queues like /afs/CELLNAME/service/mailqs/* are in AFS, and are thus sometimes unavailable.) The ``package'' program is generally shipped with AFS. The idea is to configure the ``dataless'' components of a workstation by running the program, which does things like copying files from AFS to the local disk of the workstation. A real ``dataless'' machine would have its local disk totally managed by package in cooperation with the AFS cache manager. For example, its /vmunix would be maintained by package, and all files to be preserved by users' interactive work would reside on AFS. (You can build a variation on this where some designated local directories also house the results of interactive work.) Hope this answers your first round of questions. Congratulations for getting as far as you did down the non-AFS AMDS path! Let me know if I can help you with other pieces of it. Craig \enddata{text,18891012} \enddata{text822, 302727} \begindata{text822, 307965} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Tue, 21 Apr 1992 11:52:25 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Tue, 21 Apr 1992 11:51:25 -0400 (EDT) Received: from ucbvax.Berkeley.EDU by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Tue, 21 Apr 92 11:51:07 EDT Received: by ucbvax.Berkeley.EDU (5.63/1.43) id AA03068; Tue, 21 Apr 92 08:39:49 -0700 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: 14 Apr 92 17:32:04 GMT From: gk5g+@andrew.cmu.edu (Gary Keim) Organization: School of Computer Science, Carnegie Mellon, Pittsburgh, PA Subject: Re: ATK Release plans Message-Id: References: <8duNVT200VtjBDt4wg@andrew.cmu.edu>, Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu Excerpts from netnews.comp.soft-sys.andrew: 14-Apr-92 Re: ATK Release plans Deeptendu Majumder@prism (459) > >- Sun 4 Spell Checking: When Andrew is compiled with optimization and > >without debugging, ATK applications crash when the "spell" menu option > >is selected > I did not realize this is a software bug. So has anybody had any luck > with it ? The problem was with andrew/atk/extensions/spell.c:StartProcess(): if ((pid = osi_vfork()) == 0) { /* In child */ int numfds = getdtablesize(); int fd; dup2(outpipe[READFD], 0); dup2(inpipe[WRITEFD], 1); dup2(1, 2); /* Should have more control over this. */ /* Don't leave any open file descriptors for child. */ for (fd = 3; fd < numfds; fd++) close(fd); #if defined(SGI_4D_ENV) setpgrp(); #else setpgrp(0, getpid()); #endif execlp("/bin/csh", "csh", "-cf", command, (char *)NULL); exit(0); } The exit(0) call was a return NULL in the previous version. Even though control should never get to this statement, with optimization enabled this caused the core-dump. Why? Don't ask me.... I just track down these buggers. \enddata{text822, 307965} \begindata{text822, 310522} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Tue, 21 Apr 1992 12:22:31 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Tue, 21 Apr 1992 12:21:22 -0400 (EDT) Received: from ucbvax.Berkeley.EDU by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Tue, 21 Apr 92 12:21:05 EDT Received: by ucbvax.Berkeley.EDU (5.63/1.43) id AA04513; Tue, 21 Apr 92 09:09:34 -0700 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: 14 Apr 92 17:38:32 GMT From: gk5g+@andrew.cmu.edu (Gary Keim) Organization: School of Computer Science, Carnegie Mellon, Pittsburgh, PA Subject: Re: DECstation console redirection Message-Id: References: Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu Excerpts from netnews.comp.soft-sys.andrew: 14-Apr-92 DECstation console redirection Bob_Dew@ALW.NIH.GOV (654) > Apparently, console needs to be run with uid root in order to collect > /dev/console output--but that prevents one from monitoring AFS > userid-associated things, like mail, tokens, quota, etc. Actually, /usr/andrew/bin/getstats should be setuid and owned by root: % su root $ chown root /usr/andrew/bin/getstats $ chmod ugo=rxs /usr/andrew/bin/getstats $ exit \enddata{text822, 310522} \begindata{text822, 312345} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Tue, 21 Apr 1992 15:09:39 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Tue, 21 Apr 1992 15:07:01 -0400 (EDT) Received: from ucbvax.Berkeley.EDU by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Tue, 21 Apr 92 15:06:47 EDT Received: by ucbvax.Berkeley.EDU (5.63/1.43) id AA13792; Tue, 21 Apr 92 11:56:43 -0700 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: 14 Apr 92 19:19:12 GMT From: rr2b+@andrew.cmu.edu (Robert Andrew Ryan) Organization: School of Computer Science, Carnegie Mellon, Pittsburgh, PA Subject: Re: DECstation console redirection Message-Id: References: Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu Excerpts from netnews.comp.soft-sys.andrew: 14-Apr-92 Re: DECstation console redi.. Gary Keim@andrew.cmu.edu (477) > Excerpts from netnews.comp.soft-sys.andrew: 14-Apr-92 DECstation console > redirection Bob_Dew@ALW.NIH.GOV (654) > > Apparently, console needs to be run with uid root in order to collect > > /dev/console output--but that prevents one from monitoring AFS > > userid-associated things, like mail, tokens, quota, etc. > Actually, /usr/andrew/bin/getstats should be setuid and owned by root: Just to clarify, getstats doesn't have anything to do with monitoring /dev/console messages, only disk and vm usage. -Rob Ryan Andrew Toolkit Consortium \enddata{text822, 312345} \begindata{text822, 314398} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Tue, 21 Apr 1992 20:54:35 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Tue, 21 Apr 1992 20:52:14 -0400 (EDT) Received: from ucbvax.Berkeley.EDU by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Tue, 21 Apr 92 20:52:07 EDT Received: by ucbvax.Berkeley.EDU (5.63/1.43) id AA01995; Tue, 21 Apr 92 17:47:28 -0700 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: 14 Apr 92 19:26:03 GMT From: cis.ohio-state.edu!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ucselx!bionet!raven.alaska.edu!acad2.alaska.edu!asrs@ucbvax.Berkeley.EDU Organization: University of Alaska Subject: Macintosh File Servers on CMU campus Message-Id: <1992Apr14.152603.1@acad2.alaska.edu> Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu Hello, Is their any Apple Macintosh (CMU) users reading this messages. My older brother went to CMU. When I was vistiting I looked in the file servers on the macintosh computers. I saw some software which I would like to have (public domain) but when I was at CMU I didn't have time to pick it up. Please contact me about working out arangement, thanks. Robert Sprick ASRS@ACAD2.ALASKA.EDU \enddata{text822, 314398} \begindata{text822, 316164} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po5.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Tue, 21 Apr 1992 21:36:34 -0400 (EDT) Received: from po3.andrew.cmu.edu via qmail ID ; Tue, 21 Apr 1992 21:34:58 -0400 (EDT) Received: from zeta.saintjoe.edu by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Tue, 21 Apr 92 21:34:31 EDT Received: by zeta.saintjoe.edu (4.0/SMI-4.0) id AA15851; Tue, 21 Apr 92 20:33:54 CDT Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.zeta.saintjoe.edu.sun3.4 via MS.5.6.zeta.saintjoe.edu.sun3_4; Tue, 21 Apr 92 20:33:53 -0500 (CDT) Message-Id: Date: Tue, 21 Apr 92 20:33:53 -0500 (CDT) From: Brian Capouch To: info-andrew@andrew.cmu.edu Subject: Galloping Horses Cc: freder@ecn.purdue.edu I'm trying to help a friend get his Sparc2 running Andrew. He's working in the OpenWindows environment, and when he opens Andrew's message window, his cursor suddenly turns into a gigantic horse. Other things are similarly messed up, but this dramatic behavior, I hope, will set off a bell in someone's head. X11R5, running the rev of Andrew that comes with R4. I don't think this is a problem. If he starts Andrew under a "not having started OpenWindows" situation everything is fine. Anyone out there be able to help? Thanks. Brian Capouch Saint Joseph's College brianc@saintjoe.edu \enddata{text822, 316164} \begindata{text822, 317971} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Wed, 22 Apr 1992 06:06:35 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Wed, 22 Apr 1992 06:06:00 -0400 (EDT) Received: from wn1.sci.kun.nl by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Wed, 22 Apr 92 06:05:52 EDT Received: by wn1.sci.kun.nl (5.57/2.1) on NUNET id AA07969; Wed, 22 Apr 92 12:06:21 +0200 Received: by cs.kun.nl (4.1/SMI-3.2) id AA24959; Wed, 22 Apr 92 12:06:20 +0200 Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.phoibos.cs.kun.nl.sun3.41 via MS.5.6.phoibos.cs.kun.nl.sun3_41; Wed, 22 Apr 1992 12:06:19 +0200 (MET DST) Message-Id: Date: Wed, 22 Apr 1992 12:06:19 +0200 (MET DST) From: Harco de Hilster To: info-andrew@andrew.cmu.edu Subject: i386_mach and Andrew Hi, I noticed that Andrew could be build on i386_mach. If found i386_mach on a ftp-site, but the README says that it is a bare kernel with no file system. Is there an i386_mach available that is ready to run andrew (with file system + X11) ? What are the system requirements for i386_mach? (disk space, memory, graphics-card) Thanks, Harco de Hilster \enddata{text822, 317971} \begindata{text822, 319599} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po3.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Wed, 22 Apr 1992 11:41:22 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Wed, 22 Apr 1992 11:37:35 -0400 (EDT) Received: from research.att.com by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Wed, 22 Apr 92 11:37:24 EDT Received: by inet; Wed Apr 22 11:37 EDT 1992 Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.gargoyle.sun4.41 via MS.5.6.gargoyle.sun4_41; Wed, 22 Apr 1992 11:36:56 -0400 (EDT) Message-Id: Date: Wed, 22 Apr 1992 11:36:56 -0400 (EDT) From: Bill Schell To: Brian Capouch Subject: Re: Galloping Horses Cc: info-andrew@andrew.cmu.edu In-Reply-To: References: The galloping horse is the classic symptom of your font path not including the Openwindows fonts for andrew. Make sure you do a "xset +fp /usr/andrew/xnewsfonts,/usr/andrew/X11fonts" before running any andrew applications. If the xnewsfonts directory is not there (or another one with a similar name, since the name has changed in the last few releases), you need to rebuild andrew (actually only part of it) with OPENWINDOWS_ENV defined in your site.h file. Bill Schell AT&T Bell Labs, Murray Hill, NJ bill@allegra.att.com \enddata{text822, 319599} \begindata{text822, 321398} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po5.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Wed, 22 Apr 1992 12:42:09 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Wed, 22 Apr 1992 12:40:39 -0400 (EDT) Received: from ucbvax.Berkeley.EDU by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Wed, 22 Apr 92 12:40:28 EDT Received: by ucbvax.Berkeley.EDU (5.63/1.43) id AA20854; Wed, 22 Apr 92 09:30:54 -0700 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: 22 Apr 92 15:05:32 GMT From: eru.mt.luth.se!lunic!sunic!corax.udac.uu.se!Haag!uli@bloom-beacon.mit.edu (Ulf Lindback) Organization: DVL, Uppsala University Subject: AndrewSetup for SUN4 wanted Message-Id: Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu Hi, is there someone out there who's running the Andrew System on SPARCstations with an environment similar to ours who could mail me their AndrewSetup file. Our environment is: ANDREW DIST: Version 5.0.0 OS: SUNOS 4.1.1 FILESYSTEM: NFS MAIL: /usr/ucb/mail troff: groff 1.05 (no ditroff) X: X11R5 Ulf Lindback | email: Sernandersv. 10:214 | uli@bern.docs.uu.se or S-752 62 UPPSALA | uli@meryl.csd.uu.se SWEDEN | -- Ulf Lindback | email: Sernandersv. 10:214 | uli@bern.docs.uu.se or S-752 62 UPPSALA | uli@zorn.csd.uu.se SWEDEN | \enddata{text822, 321398} \begindata{text822, 323282} Return-path: X-Andrew-Authenticated-as: 1210;alw.nih.gov;Bob Dew Received: from kirin.dcrt.nih.gov via trymail ID ; Wed, 22 Apr 1992 14:38:03 -0400 (EDT) Received: from sparkler.dcrt.nih.gov via qmail ID ; Wed, 22 Apr 1992 14:37:35 -0400 (EDT) Received: from sparkler.dcrt.nih.gov via qmail ID ; Wed, 22 Apr 1992 14:37:34 -0400 (EDT) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.sparkler.dcrt.nih.gov.sun4c.411 via MS.5.6.sparkler.dcrt.nih.gov.sun4_41; Wed, 22 Apr 1992 14:37:34 -0400 (EDT) Message-ID: Date: Wed, 22 Apr 1992 14:37:34 -0400 (EDT) From: Bob Dew X-Andrew-Message-Size: 233+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: nsb@thumper.bellcore.com, gascon@hpl.hp.com, wdc@athena.mit.edu, tinglett@ibm.com, janssen@parc.xerox.com, Susan Straub Subject: Re: Andrew Beta Test In-Reply-To: <0dx8tpq00VsBEo5HQR@andrew.cmu.edu> References: <0dx8tpq00VsBEo5HQR@andrew.cmu.edu> \begindata{text,2419784} \textdsversion{12} \template{messages} \quotation{This is because the symbol $\{XFC\} is set to /usr/local/bin/bdftopcf in config/rs_aix31/site.mcr} I mean, config/rs_aix31/\red{system}.mcr. (I think the line that reads, \typewriter{\smaller{XFC = /usr/local/bin/bdftopcf }}should be omitted from this file).\ \enddata{text,2419784} \enddata{text822, 323282} \begindata{text822, 325045} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Wed, 22 Apr 1992 15:14:34 -0400 (EDT) Received: from po3.andrew.cmu.edu via qmail ID ; Wed, 22 Apr 1992 15:13:23 -0400 (EDT) Received: from alpha.xerox.com by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Wed, 22 Apr 92 15:13:17 EDT Received: from holmes.parc.xerox.com ([13.1.100.162]) by alpha.xerox.com with SMTP id <11977>; Wed, 22 Apr 1992 12:12:53 PDT Received: by holmes.parc.xerox.com id <25544>; Wed, 22 Apr 1992 12:12:44 -0700 Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.holmes.parc.xerox.com.sun4.41 via MS.5.6.holmes.parc.xerox.com.sun4_41; Wed, 22 Apr 1992 12:12:34 -0700 (PDT) Resent-Message-Id: Resent-Date: Wed, 22 Apr 1992 12:12:34 PDT Resent-Sender: Bill Janssen Resent-From: Bill Janssen Resent-To: info-andrew@andrew.cmu.edu Return-Path: Message-Id: Date: Wed, 22 Apr 1992 10:50:20 PDT Sender: Susan Irwin From: Susan Irwin To: sunsupport.PARC@xerox.com, macsupport.PARC@xerox.com Subject: mail trouble Cc: irwin@parc.xerox.com, burwell.PARC@xerox.com, janssen@parc.xerox.com I came in this AM and started up Andrew Messages -- it delivered 18 messages to me on start up, told me I was out of disk space and displayed those 18 messages, repeated 3 times over, in the reader. I then cleaned out a bunch of old mail, purged and tried again; and it told me: 1 message in ~/mailbox were deliveries in progress; try again I have tried again (and again, and again...) to no avail -- any idea what to do next? (yes, I have restarted my x connection -- no change) --Susan \enddata{text822, 325045} \begindata{text822, 327262} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Wed, 22 Apr 1992 15:38:29 -0400 (EDT) Received: from po3.andrew.cmu.edu via qmail ID ; Wed, 22 Apr 1992 15:36:37 -0400 (EDT) Received: from vnet.ibm.com by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew+; Wed, 22 Apr 92 15:36:22 EDT Received: from RCHLAND by vnet.ibm.com (IBM VM SMTP V2R2) with BSMTP id 1661; Wed, 22 Apr 92 15:35:49 EST Reply-To: "Robert Kemmetmueller,553765 " Received: by po1.rchland.ibm.com (5.51/4.7) id for info-andrew+@andrew.cmu.edu; Wed, 22 Apr 92 14:33:52 CDT Received: via switchmail; Wed, 22 Apr 1992 14:33:47 -0500 (CDT) Received: from rsaix1.rchland.ibm.com via qmail ID ; Wed, 22 Apr 1992 14:33:13 -0500 (CDT) Received: from rsaix1.rchland.ibm.com via qmail ID ; Wed, 22 Apr 1992 14:33:09 -0500 (CDT) Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.rsaix1.rchland.ibm.com.rs.aix31 via MS.5.6.rsaix1.rchland.ibm.com.rs_aix31; Wed, 22 Apr 1992 14:33:09 -0500 (CDT) Message-Id: Date: Wed, 22 Apr 1992 14:33:09 -0500 (CDT) From: Robert Kemmetmueller X-Andrew-Message-Size: 265+2 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: Info-Andrew , Bboard Service Subject: textview-insert-file not selecting \begindata{text,538727304} \textdsversion{12} \template{messages} \define{center attr:[Justification Centered Point 0]} \define{footnote attr:[Flags OverBar Int Set] attr:[FontSize PreviousFontSize Point -2]} \define{comment } \define{keyword } \define{function } \define{h attr:[FontFamily rom Int 0] attr:[FontSize ConstantFontSize Point 6]} \define{a attr:[Script PreviousScriptMovement Point -1] attr:['color' '#F0A000']} \define{b attr:[Script PreviousScriptMovement Point -1] attr:['color' '#E08000']} \define{c attr:[Script PreviousScriptMovement Point -1] attr:['color' '#D06000']} \define{d attr:[Script PreviousScriptMovement Point -1] attr:['color' '#C05000']} \define{e attr:[Script PreviousScriptMovement Point -2] attr:['color' '#B03000']} \define{f attr:[Script PreviousScriptMovement Point 6] attr:['color' '#A02000']} \define{g attr:['color' '#CD8500']} The "textview-insert-file" proc, from looking at the code... \footnote{\ \begindata{fnote,538803464} \textdsversion{12} \define{italic menu:[Font~1,Italic~11] attr:[FontFace Italic Int Set]} \define{keyword } \define{function } \define{bold menu:[Font~1,Bold~10] attr:[FontFace Bold Int Set]} \define{comment } \italic{(from atk/text/txtvcmod.c)} \keyword{void} \function{textview_InsertFile}(self) \keyword{struct} textview *self; \{ ... ... \bold{initialPos} = pos = textview_GetDotPosition(self); textview_PrepareInsertion(self, FALSE); text_InsertFile(Text(self), inputFile,filename, pos); textview_FinishInsertion(self); fclose(inputFile); textview_SetDot\bold{Position}(self,\bold{initialPos}); textview_SetDot\bold{Length}(self, \bold{pos - initialPos}); \comment{/* im_SetLastCmd(textview_GetIM(self), lcYank); */} text_NotifyObservers(Text(self), observable_OBJECTCHANGED); \} \enddata{fnote,538803464} \view{fnotev,538803464,5,0,0}} ...would seem to indicate that it was designed to SELECT (i.e. highlight, wrap the dot around) the file that was inserted. Well, it doesn't :-( \italic{Almost} a fix: \footnote{\ \begindata{fnote,539460616} \textdsversion{12} \define{italic menu:[Font~1,Italic~11] attr:[FontFace Italic Int Set]} \define{keyword } \define{function } \define{bold menu:[Font~1,Bold~10] attr:[FontFace Bold Int Set]} \define{comment } \italic{(add the three boldfaced lines below, to atk/text/txtvcmod.c)} \keyword{void} \function{textview_InsertFile}(self) \keyword{struct} textview *self; \{ ... ... initialPos = pos = textview_GetDotPosition(self); \bold{ textview_SetDotPosition(self,pos+1); \comment{/*RSKadd*/} } textview_PrepareInsertion(self, FALSE); text_InsertFile(Text(self), inputFile,filename, pos); textview_FinishInsertion(self); fclose(inputFile); \bold{ pos= textview_GetDotPosition(self)-1; \comment{/*RSKadd*/} } textview_SetDotPosition(self,initialPos); textview_SetDotLength(self, pos - initialPos); \comment{/* im_SetLastCmd(textview_GetIM(self), lcYank); */} text_NotifyObservers(Text(self), observable_OBJECTCHANGED); \} \bold{/* NOTE: this fix does not work at the END of a file-- rather than trying to kludge around it, I'm hoping someone at CMU knows of a better way to make the selected region work for inserted files... --RSK*/} \enddata{fnote,539460616} \view{fnotev,539460616,7,0,0}} \center{ \h{\f{R\e{o\d{b\c{er\b{t K\a{emme}tmu}el}l}e}r }\g{rskm@rchland 3-4968 }}}\enddata{text,538727304} \enddata{text822, 327262} \begindata{text822, 332711} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po3.andrew.cmu.edu via trymail ID ; Wed, 22 Apr 1992 18:02:07 -0400 (EDT) Received: from thumper.bellcore.com by po3.andrew.cmu.edu (5.54/3.15) id for gk5g+; Wed, 22 Apr 92 18:01:58 EDT Received: from greenbush.bellcore.com by thumper.bellcore.com (4.1/4.7) id for susan+@andrew.cmu.edu; Wed, 22 Apr 92 18:01:41 EDT Received: by greenbush.bellcore.com (4.1/4.7) id for Craig_Everhart@transarc.com; Wed, 22 Apr 92 18:01:40 EDT Received: from cui.2.0.CUILIB.3.45.SNAP.NOT.LINKED.greenbush.galaxy.sun4.41 via MS.5.6.greenbush.galaxy.sun4_41; Wed, 22 Apr 1992 18:01:38 -0400 (EDT) Message-Id: <4dxS92e0M2Yt89D5kw@thumper.bellcore.com> Date: Wed, 22 Apr 1992 18:01:38 -0400 (EDT) From: Nathaniel Borenstein To: gascon@hpl.hp.com, wdc@athena.mit.edu, tinglett@ibm.com, janssen@parc.xerox.com, Bob Dew , Susan Straub , Bob Dew , Gary Keim , Craig_Everhart@transarc.com Subject: Re: Andrew Beta Test Cc: In-Reply-To: References: <4dx9CyO0ts0tESI0YR@alw.nih.gov> Since this behavior was apparently not encountered at CMU, I suspect that Craig's hypothesis that you're running an old AMDS is very plausible. If that doesn't explain it, an easy fix might be to always have the MIME- generating AMS software include "If-type-unsupported: send" in the headers. However, this is not a really good solution, since other MIME-sending software won't do this... -- Nathaniel \enddata{text822, 332711} \begindata{text822, 334612} Return-path: X-Andrew-Authenticated-as: 1210;alw.nih.gov;Bob Dew Received: from kirin.dcrt.nih.gov via trymail ID ; Thu, 23 Apr 1992 11:33:53 -0400 (EDT) Received: from dude.dcrt.nih.gov via qmail ID ; Thu, 23 Apr 1992 11:32:56 -0400 (EDT) Received: from dude.dcrt.nih.gov via qmail ID ; Thu, 23 Apr 1992 11:32:54 -0400 (EDT) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.dude.dcrt.nih.gov.sun4c.411 via MS.5.6.dude.dcrt.nih.gov.sun4_41; Thu, 23 Apr 1992 11:32:54 -0400 (EDT) Message-ID: Date: Thu, 23 Apr 1992 11:32:54 -0400 (EDT) From: Bob Dew X-Andrew-Message-Size: 202+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: gascon@hpl.hp.com, wdc@athena.mit.edu, tinglett@ibm.com, janssen@parc.xerox.com, Bob Dew , Susan Straub , Gary Keim , Craig_Everhart@transarc.com, Nathaniel Borenstein Subject: Re: Andrew Beta Test In-Reply-To: <4dxS92e0M2Yt89D5kw@thumper.bellcore.com> References: <4dx9CyO0ts0tESI0YR@alw.nih.gov> <4dxS92e0M2Yt89D5kw@thumper.bellcore.com> \begindata{text,3959048} \textdsversion{12} \template{messages} I rebuilt \magenta{\cyan{trymail}} and \cyan{\green{\cyan{switchmail}}} using the latest Beta source (on rt_aos4), and substituted these utilities into our existing postoffice system, with no other changes. Everything works fine now. Bob \enddata{text,3959048} \enddata{text822, 334612} \begindata{text822, 336493} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Fri, 24 Apr 1992 09:50:51 -0400 (EDT) Received: from po3.andrew.cmu.edu via qmail ID ; Fri, 24 Apr 1992 09:49:55 -0400 (EDT) Received: from vnet.ibm.com by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew+; Fri, 24 Apr 92 09:49:44 EDT Received: from RCHLAND by vnet.ibm.com (IBM VM SMTP V2R2) with BSMTP id 5647; Fri, 24 Apr 92 09:49:10 EST Reply-To: "Robert Kemmetmueller,553765 " Received: by po1.rchland.ibm.com (5.51/4.7) id for info-andrew+@andrew.cmu.edu; Fri, 24 Apr 92 08:47:20 CDT Received: via switchmail; Fri, 24 Apr 1992 08:47:18 -0500 (CDT) Received: from rsaix1.rchland.ibm.com via qmail ID ; Fri, 24 Apr 1992 08:46:46 -0500 (CDT) Received: from rsaix1.rchland.ibm.com via qmail ID ; Fri, 24 Apr 1992 08:46:45 -0500 (CDT) Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.rsaix1.rchland.ibm.com.rs.aix31 via MS.5.6.rsaix1.rchland.ibm.com.rs_aix31; Fri, 24 Apr 1992 08:46:44 -0500 (CDT) Message-Id: Date: Fri, 24 Apr 1992 08:46:44 -0500 (CDT) From: Robert Kemmetmueller X-Andrew-Message-Size: 234+2 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: Info-Andrew , Bboard Service Subject: Re: textview-insert-file not selecting In-Reply-To: References: \begindata{text,539210888} \textdsversion{12} \template{messages} \define{center attr:[Justification Centered Point 0]} \define{footnote attr:[Flags OverBar Int Set] attr:[FontSize PreviousFontSize Point -2]} \define{h attr:[FontFamily rom Int 0] attr:[FontSize ConstantFontSize Point 6]} \define{a attr:[Script PreviousScriptMovement Point -1] attr:['color' '#F0A000']} \define{b attr:[Script PreviousScriptMovement Point -1] attr:['color' '#E08000']} \define{c attr:[Script PreviousScriptMovement Point -1] attr:['color' '#D06000']} \define{d attr:[Script PreviousScriptMovement Point -1] attr:['color' '#C05000']} \define{e attr:[Script PreviousScriptMovement Point -2] attr:['color' '#B03000']} \define{f attr:[Script PreviousScriptMovement Point 6] attr:['color' '#A02000']} \define{g attr:['color' '#CD8500']} \excerptedcaption{Excerpts from advisor.atk: 22-Apr-92 textview-insert-file not se.. Robert Kemmetmueller (265+2)} \quotation{\italic{Almost} a fix: \smaller{[bogus fix deleted]} } Thanks to Paul Johnsen \footnote{\ \begindata{fnote,539629832} \textdsversion{12} here at IBM\ \enddata{fnote,539629832} \view{fnotev,539629832,43,0,0}}. Here's how it \italic{ought} to be fixed: \footnote{\ \begindata{fnote,539051016} \textdsversion{12} \define{italic menu:[Font~1,Italic~11] attr:[FontFace Italic Int Set]} \define{bold menu:[Font~1,Bold~10] attr:[FontFace Bold Int Set]} \italic{(in atk/text/txtvcmod.c) Just add 'pos+=', shown boldfaced below. (no, ATK 5.1 does NOT have this fixed already)} void textview_InsertFile(self) struct textview *self; \{ ... ... initialPos = pos = textview_GetDotPosition(self); textview_PrepareInsertion(self, FALSE); \bold{pos+= }text_InsertFile(Text(self), inputFile,filename, pos); \bold{/*added 'pos+=' --RSK*/} textview_FinishInsertion(self); fclose(inputFile); textview_SetDotPosition(self,initialPos); textview_SetDotLength(self, pos - initialPos); /* im_SetLastCmd(textview_GetIM(self), lcYank); */ text_NotifyObservers(Text(self), observable_OBJECTCHANGED); \} \enddata{fnote,539051016} \view{fnotev,539051016,44,0,0}} \center{ \h{\f{R\e{o\d{b\c{er\b{t K\a{emme}tmu}el}l}e}r }\g{rskm@rchland 3-4968 }}}\enddata{text,539210888} \enddata{text822, 336493} \begindata{text822, 340848} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po3.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Sun, 26 Apr 1992 14:15:19 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Sun, 26 Apr 1992 14:12:48 -0400 (EDT) Received: from stinson.CS.Berkeley.EDU by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Sun, 26 Apr 92 14:12:37 EDT Received: by stinson.CS.Berkeley.EDU (5.57/Ultrix3.0-C) id AA05814; Sun, 26 Apr 92 11:13:00 -0700 Date: Sun, 26 Apr 92 11:13:00 -0700 From: John T Kohl Message-Id: <9204261813.AA05814@stinson.CS.Berkeley.EDU> To: info-andrew@andrew.cmu.edu Subject: refs on Butler? X-Us-Snail: 3124 Yosemite Ave. #3, El Cerrito, CA 94530 A few years ago I remember hearing about a remote execution/process migration system from CMU called Butler. Can you point me to any papers/references on this system? Thanks, John \enddata{text822, 340848} \begindata{text822, 342111} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po5.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Mon, 27 Apr 1992 05:03:16 -0400 (EDT) Received: from po3.andrew.cmu.edu via qmail ID ; Mon, 27 Apr 1992 05:01:43 -0400 (EDT) Received: from chx400.switch.ch by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew+; Mon, 27 Apr 92 05:01:33 EDT X400-Received: by mta chx400.switch.ch in /PRMD=switch/ADMD=arcom/C=CH/; Relayed; Mon, 27 Apr 1992 10:28:59 +0200 X400-Received: by /PRMD=switch/ADMD=arcom/C=ch/; Relayed; Mon, 27 Apr 1992 10:27:22 +0200 Date: Mon, 27 Apr 1992 10:27:22 +0200 X400-Originator: eric14@komsys.tik.ethz.ch X400-Recipients: info-andrew+@andrew.cmu.edu X400-Mts-Identifier: [/PRMD=switch/ADMD=arcom/C=ch/;920427102722] X400-Content-Type: P2-1984 (2) Content-Identifier: 125 From: Eric Baltischwiler Message-Id: <125*/S=eric14/OU=komsys/OU=tik/O=ethz/PRMD=SWITCH/ADMD=ARCOM/C=CH/@MHS> To: info-andrew+ Subject: This is not real helpful... For those of us that don't have AMS this message was not real informative... ================== Delivery-date: Mon, 27 Apr 1992 10:17:29 UTC+0200 Originator: atkbb+Bad-Addresses@andrew.cmu.edu Send-date: Fri, 24 Apr 1992 8:46:44 UTC-0500 From: Robert Kemmetmueller To: Info-Andrew , Bboard Service Reply-To: Robert Kemmetmueller,553765 In-Reply-To: UdxPxpY91HtaIwWHhl(a)rchland.ibm.com Importance: normal Message-ID: inbox:3 References: UdxPxpY91HtaIwWHhl(a)rchland.ibm.com Subject: Re: textview-insert-file not selecting Excerpts from advisor.atk: 22-Apr-92 textview-insert-filenot se.. Robert Kemmetmueller (265+2) > Almost a fix: [bogus fix deleted] Thanks to Paul Johnsen[An Andrew ToolKit view (a footnote) was included here, but could not be displayed.]. Here's how it ought to be fixed: [An Andrew ToolKit view (a footnote) was included here, but could not be displayed.] Robert Kemmetmueller rskm@rchland 3-4968 \enddata{text822, 342111} \begindata{text822, 344723} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po5.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Mon, 27 Apr 1992 09:18:14 -0400 (EDT) Received: from po3.andrew.cmu.edu via qmail ID ; Mon, 27 Apr 1992 09:17:39 -0400 (EDT) Received: from vnet.ibm.com by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew+; Mon, 27 Apr 92 09:17:30 EDT Received: from RCHLAND by vnet.ibm.com (IBM VM SMTP V2R2) with BSMTP id 5003; Mon, 27 Apr 92 09:16:56 EST Reply-To: "Robert Kemmetmueller,553765 " Received: by po1.rchland.ibm.com (5.51/4.7) id for info-andrew+@andrew.cmu.edu; Mon, 27 Apr 92 08:16:50 CDT Received: via switchmail; Mon, 27 Apr 1992 08:16:47 -0500 (CDT) Received: from rsaix1.rchland.ibm.com via qmail ID ; Mon, 27 Apr 1992 08:16:13 -0500 (CDT) Received: from rsaix1.rchland.ibm.com via qmail ID ; Mon, 27 Apr 1992 08:16:10 -0500 (CDT) Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.rsaix1.rchland.ibm.com.rs.aix31 via MS.5.6.rsaix1.rchland.ibm.com.rs_aix31; Mon, 27 Apr 1992 08:16:10 -0500 (CDT) Message-Id: Date: Mon, 27 Apr 1992 08:16:10 -0500 (CDT) From: Robert Kemmetmueller X-Andrew-Message-Size: 948+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: info-andrew+ Subject: Re: This is not real helpful... In-Reply-To: <125*/S=eric14/OU=komsys/OU=tik/O=ethz/PRMD=SWITCH/ADMD=ARCOM/C=CH/@MHS> References: <125*/S=eric14/OU=komsys/OU=tik/O=ethz/PRMD=SWITCH/ADMD=ARCOM/C=CH/@MHS> \begindata{text,539210888} \textdsversion{12} \template{messages} \define{center attr:[Justification Centered Point 0]} \define{h attr:[FontFamily rom Int 0] attr:[FontSize ConstantFontSize Point 6]} \define{a attr:[Script PreviousScriptMovement Point -1] attr:['color' '#F0A000']} \define{b attr:[Script PreviousScriptMovement Point -1] attr:['color' '#E08000']} \define{c attr:[Script PreviousScriptMovement Point -1] attr:['color' '#D06000']} \define{d attr:[Script PreviousScriptMovement Point -1] attr:['color' '#C05000']} \define{e attr:[Script PreviousScriptMovement Point -2] attr:['color' '#B03000']} \define{f attr:[Script PreviousScriptMovement Point 6] attr:['color' '#A02000']} \define{g attr:['color' '#CD8500']} \excerptedcaption{Excerpts from ext.misc.info-andrew: 27-Apr-92 This is not real helpful... Eric Baltischwiler@RCHGA (1182)} \quotation{For those of us that don't have AMS this message was not real informative... } Oops! My apologies to the AMS-less folks. Here's the fix in plain ol' text: (in atk/text/txtvcmod.c) Just add 'pos+=', shown below on `|' line. -------------------------------------------- void textview_InsertFile(self) struct textview *self; \{ ... ... initialPos = pos = textview_GetDotPosition(self); textview_PrepareInsertion(self, FALSE); | pos+= text_InsertFile(Text(self), inputFile,filename, pos); /*added 'pos+=' --RSK*/ textview_FinishInsertion(self); fclose(inputFile); textview_SetDotPosition(self,initialPos); textview_SetDotLength(self, pos - initialPos); /* im_SetLastCmd(textview_GetIM(self), lcYank); */ text_NotifyObservers(Text(self), observable_OBJECTCHANGED); \} \center{ \h{\f{R\e{o\d{b\c{er\b{t K\a{emme}tmu}el}l}e}r }\g{rskm@rchland 3-4968 }}}\enddata{text,539210888} \enddata{text822, 344723} \begindata{text822, 348638} Return-path: X-Andrew-Authenticated-as: 13;andrew.cmu.edu;Fred Hansen Received: from lieutenant.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Mon, 27 Apr 1992 13:09:55 -0400 (EDT) If-Type-Unsupported: send Received: from lieutenant.andrew.cmu.edu via qmail ID ; Mon, 27 Apr 1992 13:08:54 -0400 (EDT) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.lieutenant.andrew.cmu.edu.rs.aix31 via MS.5.6.lieutenant.andrew.cmu.edu.rs_aix31; Mon, 27 Apr 1992 13:08:54 -0400 (EDT) Message-ID: <8dz3IaO00Vtj9RI41F@andrew.cmu.edu> Date: Mon, 27 Apr 1992 13:08:54 -0400 (EDT) From: Fred Hansen X-Andrew-Message-Size: 204+0 Content-Type: X-BE2; 12 To: Info-Andrew , John T Kohl Subject: Re: refs on Butler? In-Reply-To: <9204261813.AA05814@stinson.CS.Berkeley.EDU> References: <9204261813.AA05814@stinson.CS.Berkeley.EDU> \begindata{text,539518640} \textdsversion{12} \template{messages} Butler was done by Dave Nichols: David Nichols I am a graduate of CS. Work: Xerox PARC, 415 494-4452 Home: 881 Richardson Ct. Palo Alto, CA 94303, 415 424-0407 Mail Address: nichols.parc@xerox.com\ \enddata{text,539518640} \enddata{text822, 348638} \begindata{text822, 350197} Return-path: X-Andrew-Authenticated-as: 1447;andrew.cmu.edu;Gary Keim Received: from rascal.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Mon, 27 Apr 1992 13:31:51 -0400 (EDT) If-Type-Unsupported: send Received: from rascal.andrew.cmu.edu via qmail ID ; Mon, 27 Apr 1992 12:47:37 -0400 (EDT) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.rascal.andrew.cmu.edu.rs.aix31 via MS.5.6.rascal.andrew.cmu.edu.rs_aix31; Mon, 27 Apr 1992 12:47:37 -0400 (EDT) Message-ID: Date: Mon, 27 Apr 1992 12:47:37 -0400 (EDT) From: Gary Keim X-Andrew-Message-Size: 1340+0 Content-Type: X-BE2; 12 To: Info-Andrew Subject: Re: Some Problems with Andrew on an Xterminal In-Reply-To: <1992Apr27.045512.2004@ml.csiro.au> References: <1992Apr27.045512.2004@ml.csiro.au> \begindata{text,538667048} \textdsversion{12} \template{messages} \excerptedcaption{Excerpts from netnews.comp.soft-sys.andrew: 27-Apr-92 Some Problems with Andrew o.. Bill Hart@ml.csiro.au (953)} \quotation{On my xterminal (Labtam MT200) I have DISPLAY set to xt10:0.0 }\quotation{and when I start help I get :- } \quotation{Starting ez (Version 7.0, ATK 5.0.0); please wait... }\quotation{Could not open the display; this program will not run without a window system. } This is a bug in Andrew's use of the resolver on the Sparc, caused by multiple copies of the resolver code getting into runapp. Setting your DISPLAY to the IP dot-notation works. \excerptedcaption{Excerpts from netnews.comp.soft-sys.andrew: 27-Apr-92 Some Problems with Andrew o.. Bill Hart@ml.csiro.au (953)} \quotation{Could not find host 192.67.12.29 in help(xim). Error messages may not go to console. } This is a warning you can safely ignore- it occurs when you set your DISPLAY to the IP dot-notation form. \excerptedcaption{Excerpts from netnews.comp.soft-sys.andrew: 27-Apr-92 Some Problems with Andrew o.. Bill Hart@ml.csiro.au (953)} \quotation{X error BadValue (integer parameter out of range for operation) (2) major code 51 minor code 0 ignored }\quotation{xfontdesc_CvtCharToGraphic: 0 width character 16 in 1401F0 } Do you first have to convert the Andrew fonts to a format specific to your Xterminal? I just started using an Xterminal from home and first had to convert the fonts and then make them available to the Xtermainal Xserver. \enddata{text,538667048} \enddata{text822, 350197} \begindata{text822, 353002} Return-path: X-Andrew-Authenticated-as: 602;andrew.cmu.edu;Adam Stoller Received: from commander.itc.cmu.edu via trymail ID ; Tue, 28 Apr 1992 08:53:50 -0400 (EDT) Received: from commander.itc.cmu.edu via qmail ID ; Tue, 28 Apr 1992 08:53:46 -0400 (EDT) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.commander.itc.cmu.edu.rs.aix31 via MS.5.6.commander.itc.cmu.edu.rs_aix31; Tue, 28 Apr 1992 08:53:45 -0400 (EDT) Message-ID: Date: Tue, 28 Apr 1992 08:53:45 -0400 (EDT) From: Adam Stoller X-Andrew-Message-Size: 903+0 Content-Type: X-BE2; 12 If-Type-Unsupported: alter To: gk5g+@andrew.cmu.edu, susan+@andrew.cmu.edu Subject: colors? \begindata{text,539037256} \textdsversion{12} \template{messages} Did one of you remake the rgb.\{dir,pag\} files in: /afs/andrew.cmu.edu/itc/rs_aix31/destdir/campus/local/depot/X.V11R5/lib/X11 yesterday? ================ -rw-r--r-- 1 gk5g system 4096 Apr 27 18:50 rgb.dir -rw-r--r-- 1 gk5g system 29696 Apr 27 18:50 rgb.pag -rw-r--r-- 1 gk5g system 16992 Aug 12 1991 rgb.txt ================ (I've learned not to trust ownership as authenticity of deed) I've just run into two problems this morning - one with a debugger (xcdb) not being able to find \bold{SlateBlue} - and one with a game (spider) not being able to find \bold{navyblue} - the latter worked yesterday, but now uses white instead (annoyance) - the former worked last week, and now will not run at all (potentially critical) Please see if you can fix this - you can use ~ghoti/bin/spider (6000's) as a test case (at least for part of the problem) if you want. Thanks much, --fish \enddata{text,539037256} \enddata{text822, 353002} \begindata{text822, 354999} Return-path: X-Andrew-Authenticated-as: 602;andrew.cmu.edu;Adam Stoller Received: from commander.itc.cmu.edu via trymail ID ; Tue, 28 Apr 1992 11:50:44 -0400 (EDT) Received: from commander.itc.cmu.edu via qmail ID ; Tue, 28 Apr 1992 11:50:41 -0400 (EDT) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.commander.itc.cmu.edu.rs.aix31 via MS.5.6.commander.itc.cmu.edu.rs_aix31; Tue, 28 Apr 1992 11:50:40 -0400 (EDT) Message-ID: Date: Tue, 28 Apr 1992 11:50:40 -0400 (EDT) From: Adam Stoller X-Andrew-Message-Size: 288+0 Content-Type: X-BE2; 12 If-Type-Unsupported: alter To: gk5g+@andrew.cmu.edu, susan+@andrew.cmu.edu Subject: Re: colors? In-Reply-To: References: \begindata{text,538641636} \textdsversion{12} \template{messages} Apparently killing off my X windows and restarting them fresh fixes the problem - you might keep this in mind in case you modify those files again, so that you can post and warn folks that they may have to restart X in order to be able to get the colors they are used to getting. --fish \enddata{text,538641636} \enddata{text822, 354999} \begindata{text822, 356453} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Tue, 28 Apr 1992 22:47:14 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Tue, 28 Apr 1992 22:44:05 -0400 (EDT) Received: from ucbvax.Berkeley.EDU by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Tue, 28 Apr 92 22:43:59 EDT Received: by ucbvax.Berkeley.EDU (5.63/1.43) id AA29233; Tue, 28 Apr 92 19:30:51 -0700 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 Apr 92 04:55:12 GMT From: munnari.oz.au!newsroom.utas.edu.au!ml.csiro.au!ocean!hart@tcgould.tn.cornell.edu (Bill Hart) Organization: CSIRO Division of Oceanography Subject: Some Problems with Andrew on an Xterminal Message-Id: <1992Apr27.045512.2004@ml.csiro.au> Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu Hi, I've just compiled Andrew (straight of the X11R5 contrib software) on a SS2 running SunOS 4.1.1. It seems to work fine on a console, but not so well on an xterminal. On my xterminal (Labtam MT200) I have DISPLAY set to xt10:0.0 and when I start help I get :- Starting ez (Version 7.0, ATK 5.0.0); please wait... Could not open the display; this program will not run without a window system. Then I set DISPLAY to the x terminal's IP number and I get :- Starting help (Version 7.2, ATK 5.0.0); please wait... Could not find host 192.67.12.29 in help(xim). Error messages may not go to console. X error BadValue (integer parameter out of range for operation) (2) major code 51 minor code 0 ignored xfontdesc_CvtCharToGraphic: 0 width character 16 in 1401F0 Probably something simple, but I've spend quite a while searching through the docs. Thanks for any tips --- Bill Hart CSIRO Division of Oceanography hart@ocean.ml.csiro.au \enddata{text822, 356453} \begindata{text822, 358745} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Sat, 2 May 1992 13:07:37 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Sat, 2 May 1992 13:05:59 -0400 (EDT) Received: from ucbvax.Berkeley.EDU by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Sat, 2 May 92 13:05:45 EDT Received: by ucbvax.Berkeley.EDU (5.63/1.43) id AA28477; Sat, 2 May 92 09:52:50 -0700 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: 30 Apr 92 19:12:55 GMT From: mintaka.lcs.mit.edu!olivea!tymix!grimoire!mooring@bloom-beacon.mit.edu (Ed Mooring) Organization: BT Tymnet Bit Bucket Brigade Subject: Re: Can Andrew handle grayscale X terminals? (was Re: Using Andrew) Message-Id: <1631@tymix.Tymnet.COM> References: <1992Apr28.170512.7280@msuinfo.cl.msu.edu>, <10183@tetons.idaho.amdahl.com> Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu [ various people describe core dumps using Sun SS[12] ] I chased the core dump just a little further and found that xgraphic.c passes null pointers to some Xlib routines. OpenWindows 3.0's excuse for an Xlib dumps core. Xsun from the X11R5 distribution seems to work OK. Maybe somebody who knows more about X than I do can contribute a patch to xgraphic.c or the correct text for a bug report to Sun :) Regards, Ed Mooring (mooring@tymix.tymnet.com 408-922-7504) \enddata{text822, 358745} \begindata{text822, 360641} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Sun, 3 May 1992 19:58:12 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Sun, 3 May 1992 19:57:27 -0400 (EDT) Received: from ucbvax.Berkeley.EDU by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Sun, 3 May 92 19:57:19 EDT Received: by ucbvax.Berkeley.EDU (5.63/1.43) id AA21267; Sun, 3 May 92 16:46:32 -0700 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: 28 Apr 92 17:05:12 GMT From: cis.ohio-state.edu!zaphod.mps.ohio-state.edu!mips!darwin.sura.net!jvnc.net!netnews.upenn.edu!msuinfo!news@ucbvax.Berkeley.EDU (Alan D. Cabrera) Organization: Michigan State University Subject: Using Andrew Message-Id: <1992Apr28.170512.7280@msuinfo.cl.msu.edu> Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu After compiling Andrew on a SS2 running SunOS 4.1.1 and OpenWindows 3.0, I've tried to run several programs. They all display an intro message and a window pops up with some text and then it disappears with no error messages. A core file is all that's left behind. What I am I doing wrong? -- Alan Cabrera internet: adc@tardis.cl.msu.edu Michigan State University phone: (517) 353-3027 514a Computer Center fax: (517) 353-9847 East Lansing, MI 48824 bitnet: CABRERA@MSU \enddata{text822, 360641} \begindata{text822, 362503} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Tue, 5 May 1992 02:36:20 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Tue, 5 May 1992 02:34:20 -0400 (EDT) Received: from ucbvax.Berkeley.EDU by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Tue, 5 May 92 02:34:11 EDT Received: by ucbvax.Berkeley.EDU (5.63/1.43) id AA05539; Mon, 4 May 92 23:26:31 -0700 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 Apr 92 16:03:12 GMT From: pitt!cs.pitt.edu@gatech.edu (Ken Mitchum) Organization: Computer Science Dept., University of Pittsburgh Subject: weird cursors Message-Id: <14523@pitt.UUCP> Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu I have started playing with Andrew 5.0.0 under both Mach 2.5 and 3.0 on a 386 machine, using X11R4. The cursors on all programs start out okay (simple arrow), and occassionally work after that, but are usually replaced by letters of the alphabet, which vary according to what the user is doing, just as the cursor is supposed to, but never change into real cursor graphics. Has anyone else experienced this? -Ken Mitchum (KY3B) km@cs.pitt.edu \enddata{text822, 362503} \begindata{text822, 364207} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po5.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Tue, 5 May 1992 22:20:35 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Tue, 5 May 1992 22:19:22 -0400 (EDT) Received: from ucbvax.Berkeley.EDU by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Tue, 5 May 92 22:19:11 EDT Received: by ucbvax.Berkeley.EDU (5.63/1.43) id AA27987; Tue, 5 May 92 19:10:27 -0700 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: 30 Apr 92 16:19:41 GMT From: charon.amdahl.com!amdahl!tetons!targhee!gnd@uunet.uu.net (Greg Darnell) Organization: Amdahl Corp., Rexburg, ID Subject: Can Andrew handle grayscale X terminals? (was Re: Using Andrew) Message-Id: <10183@tetons.idaho.amdahl.com> References: <1992Apr28.170512.7280@msuinfo.cl.msu.edu> Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu In article <1992Apr28.170512.7280@msuinfo.cl.msu.edu>, adc@tardis.cl.msu.edu (Alan D. Cabrera) writes: > > After compiling Andrew on a SS2 running SunOS 4.1.1 and OpenWindows 3.0, I've > tried to run several programs. They all display an intro message and a > window pops up with some text and then it disappears with no error messages. > A core file is all that's left behind. > I had a very similar problem on a SS1+, SunOS 4.1.1 without OpenWin. Running ez would bring up the editor with the file displayed, then as soon as the cursor appeared the window died. dbx shows: program terminated by signal SEGV (no mapping at the fault address) (dbx) where xgraphic_SetupFillGC() at 0x8d80c xgraphic__FillRectSize() at 0x8d8a8 sbuttonv__DrawBorder() at 0x524d0 draw_bar() at 0x5ed54 draw_everything() at 0x5f120 scroll__FullUpdate() at 0x5fe68 DoFullUpdate() at 0x49534 lpair__FullUpdate() at 0x49994 frame__FullUpdate() at 0xe974 xim__HandleRedraw() at 0x81068 HandleExposure() at 0x81c24 xim__RedrawWindow() at 0x83514 im__RedrawChangedWindows() at 0xaa194 im__Interact() at 0xaac94 im__KeyboardProcessor() at 0xab214 ezapp__Run() at 0xd154 main() at 0x2b1c Seeing the failing xgraphic call reminded me of some other problems I have seen running X on grayscale terminals, so I went to a color terminal and ez works fine. I can't find anything in the installation documents about configuration for different X servers, such as mono, 4-bit gray, or color, so it appears that it just can't handle grayscale. Any ideas? -- Greg Darnell Amdahl Corporation 143 N. 2 E., Rexburg, Idaho 83440 UUCP:{ames,decwrl,sun,uunet}!amdahl!tetons!gnd (208) 356-8915 INTERNET: gnd@idaho.amdahl.com \enddata{text822, 364207} \begindata{text822, 367307} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Wed, 6 May 1992 08:06:32 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Wed, 6 May 1992 08:05:33 -0400 (EDT) Received: from ucbvax.Berkeley.EDU by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Wed, 6 May 92 08:05:27 EDT Received: by ucbvax.Berkeley.EDU (5.63/1.43) id AA18122; Wed, 6 May 92 04:54:17 -0700 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: 30 Apr 92 20:08:00 GMT From: rr2b+@andrew.cmu.edu (Robert Andrew Ryan) Organization: School of Computer Science, Carnegie Mellon, Pittsburgh, PA Subject: Re: Can Andrew handle grayscale X terminals? (was Re: Using Andrew) Message-Id: References: <1992Apr28.170512.7280@msuinfo.cl.msu.edu> Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu Excerpts from netnews.comp.soft-sys.andrew: 30-Apr-92 Can Andrew handle grayscale.. Greg Darnell@idaho.amdah (1712) > I can't find anything in the installation documents about configuration > for different X servers, such as mono, > 4-bit gray, or color, so it appears that it just can't handle grayscale. Which version of ATK are you using? The initial support for greyscale and static gray displays with >1 bits/pixel was buggy. The latest code should be better, but it still has problems on some displays. (e.g. NeXT 2-bit static-grey, and TrueColor). The currently released version is 5.0. There have been some patches posted here by Bill Janssen which address some problems with different displays too. I can mail you those if you'd like. -Rob Ryan Andrew Toolkit Consortium \enddata{text822, 367307} \begindata{text822, 369492} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po2.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Sun, 10 May 1992 03:15:29 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Sun, 10 May 1992 03:13:33 -0400 (EDT) Received: from ucbvax.Berkeley.EDU by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Sun, 10 May 92 03:13:21 EDT Received: by ucbvax.Berkeley.EDU (5.63/1.43) id AA19212; Sun, 10 May 92 00:06:46 -0700 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 Apr 92 04:55:12 GMT From: munnari.oz.au!newsroom.utas.edu.au!ml.csiro.au!ocean!hart@tcgould.tn.cornell.edu (Bill Hart) Organization: CSIRO Division of Oceanography Subject: Some Problems with Andrew on an Xterminal Message-Id: <1992Apr27.045512.2004@ml.csiro.au> Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu Hi, I've just compiled Andrew (straight of the X11R5 contrib software) on a SS2 running SunOS 4.1.1. It seems to work fine on a console, but not so well on an xterminal. On my xterminal (Labtam MT200) I have DISPLAY set to xt10:0.0 and when I start help I get :- Starting ez (Version 7.0, ATK 5.0.0); please wait... Could not open the display; this program will not run without a window system. Then I set DISPLAY to the x terminal's IP number and I get :- Starting help (Version 7.2, ATK 5.0.0); please wait... Could not find host 192.67.12.29 in help(xim). Error messages may not go to console. X error BadValue (integer parameter out of range for operation) (2) major code 51 minor code 0 ignored xfontdesc_CvtCharToGraphic: 0 width character 16 in 1401F0 Probably something simple, but I've spend quite a while searching through the docs. Thanks for any tips --- Bill Hart CSIRO Division of Oceanography hart@ocean.ml.csiro.au \enddata{text822, 369492} \begindata{text822, 371788} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Sun, 10 May 1992 11:01:28 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Sun, 10 May 1992 10:59:23 -0400 (EDT) Received: from ucbvax.Berkeley.EDU by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Sun, 10 May 92 10:59:14 EDT Received: by ucbvax.Berkeley.EDU (5.63/1.43) id AA27777; Sun, 10 May 92 07:51:02 -0700 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 Apr 92 17:20:43 GMT From: rr2b+@andrew.cmu.edu (Robert Andrew Ryan) Organization: School of Computer Science, Carnegie Mellon, Pittsburgh, PA Subject: Re: Some Problems with Andrew on an Xterminal Message-Id: References: <1992Apr27.045512.2004@ml.csiro.au> Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu Excerpts from netnews.comp.soft-sys.andrew: 27-Apr-92 Some Problems with Andrew o.. Bill Hart@ml.csiro.au (953) > Starting ez (Version 7.0, ATK 5.0.0); please wait... > Could not open the display; this program will not run without a window system. Other X apps work alright? I can't think of any reason ATK would die in this way if other apps work... Excerpts from netnews.comp.soft-sys.andrew: 27-Apr-92 Some Problems with Andrew o.. Bill Hart@ml.csiro.au (953) > Then I set DISPLAY to the x terminal's IP number and I get :- > Starting help (Version 7.2, ATK 5.0.0); please wait... > Could not find host 192.67.12.29 in help(xim). Error messages may not go > to console. > X error BadValue (integer parameter out of range for > operation) (2) major code 51 minor code 0 ignored > xfontdesc_CvtCharToGraphic: 0 width character 16 in 1401F0 The first message is not important, it just means errors will be reported to stderr instead of being sent to the console program. (ATK assumes the console program will be running on the machine at the IP address of the display.) The second error is due to ATK trying to add to the fontpath, but the X terminal doesn't have access to the ATK font directory ($ANDREWDIR/X11fonts). The last is probably related to the second in that the correct fonts were not found. Have you installed the Andrew fonts for the X terminal? -Rob Ryan Andrew Toolkit Consortium \enddata{text822, 371788} \begindata{text822, 374581} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Tue, 12 May 1992 21:35:17 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Tue, 12 May 1992 21:34:00 -0400 (EDT) Received: from ucbvax.Berkeley.EDU by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Tue, 12 May 92 21:33:53 EDT Received: by ucbvax.Berkeley.EDU (5.63/1.43) id AA08812; Tue, 12 May 92 18:23:57 -0700 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: 28 Apr 92 17:05:12 GMT From: dog.ee.lbl.gov!overload.lbl.gov!agate!spool.mu.edu!wupost!darwin.sura.net!jvnc.net!netnews.upenn.edu!msuinfo!news@ucbvax.Berkeley.EDU (Alan D. Cabrera) Organization: Michigan State University Subject: Using Andrew Message-Id: <1992Apr28.170512.7280@msuinfo.cl.msu.edu> Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu After compiling Andrew on a SS2 running SunOS 4.1.1 and OpenWindows 3.0, I've tried to run several programs. They all display an intro message and a window pops up with some text and then it disappears with no error messages. A core file is all that's left behind. What I am I doing wrong? -- Alan Cabrera internet: adc@tardis.cl.msu.edu Michigan State University phone: (517) 353-3027 514a Computer Center fax: (517) 353-9847 East Lansing, MI 48824 bitnet: CABRERA@MSU \enddata{text822, 374581} \begindata{text822, 376453} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po2.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Thu, 14 May 1992 10:42:20 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Thu, 14 May 1992 10:39:01 -0400 (EDT) Received: from ucbvax.Berkeley.EDU by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Thu, 14 May 92 10:38:52 EDT Received: by ucbvax.Berkeley.EDU (5.63/1.43) id AA25955; Thu, 14 May 92 07:33:48 -0700 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 Apr 92 16:03:12 GMT From: pitt!cs.pitt.edu@gatech.edu (Ken Mitchum) Organization: Computer Science Dept., University of Pittsburgh Subject: weird cursors Message-Id: <14523@pitt.UUCP> Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu I have started playing with Andrew 5.0.0 under both Mach 2.5 and 3.0 on a 386 machine, using X11R4. The cursors on all programs start out okay (simple arrow), and occassionally work after that, but are usually replaced by letters of the alphabet, which vary according to what the user is doing, just as the cursor is supposed to, but never change into real cursor graphics. Has anyone else experienced this? -Ken Mitchum (KY3B) km@cs.pitt.edu \enddata{text822, 376453} \begindata{text822, 378163} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po3.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Mon, 18 May 1992 05:08:42 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Mon, 18 May 1992 05:04:44 -0400 (EDT) Received: from ucbvax.Berkeley.EDU by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Mon, 18 May 92 05:04:37 EDT Received: by ucbvax.Berkeley.EDU (5.63/1.43) id AA02343; Mon, 18 May 92 01:51:29 -0700 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: 30 Apr 92 16:19:41 GMT From: charon.amdahl.com!amdahl!tetons!targhee!gnd@uunet.uu.net (Greg Darnell) Organization: Amdahl Corp., Rexburg, ID Subject: Can Andrew handle grayscale X terminals? (was Re: Using Andrew) Message-Id: <10183@tetons.idaho.amdahl.com> References: <1992Apr28.170512.7280@msuinfo.cl.msu.edu> Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu In article <1992Apr28.170512.7280@msuinfo.cl.msu.edu>, adc@tardis.cl.msu.edu (Alan D. Cabrera) writes: > > After compiling Andrew on a SS2 running SunOS 4.1.1 and OpenWindows 3.0, I've > tried to run several programs. They all display an intro message and a > window pops up with some text and then it disappears with no error messages. > A core file is all that's left behind. > I had a very similar problem on a SS1+, SunOS 4.1.1 without OpenWin. Running ez would bring up the editor with the file displayed, then as soon as the cursor appeared the window died. dbx shows: program terminated by signal SEGV (no mapping at the fault address) (dbx) where xgraphic_SetupFillGC() at 0x8d80c xgraphic__FillRectSize() at 0x8d8a8 sbuttonv__DrawBorder() at 0x524d0 draw_bar() at 0x5ed54 draw_everything() at 0x5f120 scroll__FullUpdate() at 0x5fe68 DoFullUpdate() at 0x49534 lpair__FullUpdate() at 0x49994 frame__FullUpdate() at 0xe974 xim__HandleRedraw() at 0x81068 HandleExposure() at 0x81c24 xim__RedrawWindow() at 0x83514 im__RedrawChangedWindows() at 0xaa194 im__Interact() at 0xaac94 im__KeyboardProcessor() at 0xab214 ezapp__Run() at 0xd154 main() at 0x2b1c Seeing the failing xgraphic call reminded me of some other problems I have seen running X on grayscale terminals, so I went to a color terminal and ez works fine. I can't find anything in the installation documents about configuration for different X servers, such as mono, 4-bit gray, or color, so it appears that it just can't handle grayscale. Any ideas? -- Greg Darnell Amdahl Corporation 143 N. 2 E., Rexburg, Idaho 83440 UUCP:{ames,decwrl,sun,uunet}!amdahl!tetons!gnd (208) 356-8915 INTERNET: gnd@idaho.amdahl.com \enddata{text822, 378163} \begindata{text822, 381265} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po2.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Mon, 18 May 1992 12:08:10 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Mon, 18 May 1992 12:05:00 -0400 (EDT) Received: from ucbvax.Berkeley.EDU by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Mon, 18 May 92 12:04:51 EDT Received: by ucbvax.Berkeley.EDU (5.63/1.43) id AA25848; Mon, 18 May 92 08:52:15 -0700 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: 30 Apr 92 19:12:55 GMT From: dog.ee.lbl.gov!network.ucsd.edu!usc!sol.ctr.columbia.edu!spool.mu.edu!olivea!tymix!grimoire!mooring@ucbvax.Berkeley.EDU (Ed Mooring) Organization: BT Tymnet Bit Bucket Brigade Subject: Re: Can Andrew handle grayscale X terminals? (was Re: Using Andrew) Message-Id: <1631@tymix.Tymnet.COM> References: <1992Apr28.170512.7280@msuinfo.cl.msu.edu>, <10183@tetons.idaho.amdahl.com> Sender: info-andrew-request@andrew.cmu.edu To: info-andrew@andrew.cmu.edu [ various people describe core dumps using Sun SS[12] ] I chased the core dump just a little further and found that xgraphic.c passes null pointers to some Xlib routines. OpenWindows 3.0's excuse for an Xlib dumps core. Xsun from the X11R5 distribution seems to work OK. Maybe somebody who knows more about X than I do can contribute a patch to xgraphic.c or the correct text for a bug report to Sun :) Regards, Ed Mooring (mooring@tymix.tymnet.com 408-922-7504) \enddata{text822, 381265}