\begindata{text822, 0}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
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 </afs/andrew.cmu.edu/usr22/susan/Mailbox/kdXLdRi00UddAPRE8h>;
          Mon,  3 Feb 1992 12:22:40 -0500 (EST)
Received: from po2.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q001/QF.MdXLcPq00jZd0Df05k>;
          Mon,  3 Feb 1992 12:21:33 -0500 (EST)
Received: from mcsun.EU.net by po2.andrew.cmu.edu (5.54/3.15) id <AA04007> for info-andrew+; Mon, 3 Feb 92 12:21:15 EST
Received: from bnrgate.bnr.co.uk by mcsun.EU.net with SMTP;
	id AA15798 (5.65a/CWI-2.138); Mon, 3 Feb 1992 18:21:00 +0100
Received: from arran.tcom.stc.co.uk by hedera.bnr.co.uk with Internal SMTP (PP) 
          id <19920203171839-0@hedera.bnr.co.uk>;
          Mon, 3 Feb 1992 17:18:40 +0000
Received: from adur.tcom.stc.co.uk by arran.Tcom.STC.co.UK (4.12/UK-1.4(stc));
          Mon, 3 Feb 92 16:39:42 GMT
Received: from newt.tcom.stc.co.uk.tcom.stc.co.uk 
          by adur.tcom.stc.co.uk (4.0/SMI-4.0) id AA28572;
          Mon, 3 Feb 92 16:40:42 GMT
Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.newt.nmec.tcom.stc.co.uk.sun4.40 
          via MS.5.6.newt.nmec.tcom.stc.co.uk.sun4_40;
          Mon, 3 Feb 1992 16:40:40 +0000 (GMT)
Message-Id: <kdXL28O0lyBlQ2alQw@tcom.stc.co.uk>
Date: Mon, 3 Feb 1992 16:40:40 +0000 (GMT)
From: Graham Bardsley <graham@tcom.stc.co.uk>
X-Andrew-Message-Size: 2847+0
Content-Type: X-BE2; 12
If-Type-Unsupported: send
To: info-andrew+@andrew.cmu.edu
Subject: Andrew and OpenWindows 3
Cc: Graham Bardsley <graham@tcom.stc.co.uk>

\begindata{text,3085896}
\textdsversion{12}
\template{messages}
    We've been running X.V11R5 OK here now for a couple of months, with no 
problems, I've built Andrew version 5.0.0 (As on the R5 contrib tape) for Sun 
SparcStations (with the posted fixes to get Andrew to build). There's a 
problem though. Basically every Andrew application will core dump when started 
under OpenWindows version 3. I wonder if anyone else has had the same problem. 
When an application is started, It gets as far as drawing most of the window, 
including the outside elements of the scroller `widget', but fails to create 
the scrollbar itself, then it coredumps. I've tried altering the scrollbar 
style using the preference \bold{ScrollStyle }but that doesn't help.


   It may be something to do with the way I built X11 since we have a variety 
of OS releases, I built most of it under SunOS 4.0.3. OpenWindows 3 needs 
SunOS 4.1.1 or later to run and I was wondering if that is the cause. 
Everything else seems to work OK with OpenWindows, and I have no trouble 
running Andrew Apps under 4.1.1 and X11R5 (This message is being posted on a 
Sparc running 4.1.2). This release of Andrew also works OK with OpenWindows 2. 
I've re-built the fonts for OpenWindows so that's not the problem either.


   I'd like a definite answer about whether a re-build is needed though `cos 
building Andrew is not a trivial job (especially if you've archived away the 
source due to lack of disk space). Below is a traceback using gdb. Any help at 
all would be gratefully received.


\typewriter{\example{\smaller{\smaller{
newt$ \bold{gdb /usr/andrew/bin/runapp core}

GDB is free software and you are welcome to distribute copies of it

 under certain conditions; type "info copying" to see the conditions.

There is absolutely no warranty for GDB; type "info warranty" for details.

GDB 4.1, Copyright 1991 Free Software Foundation, Inc...

(no debugging symbols found)...

Core file invoked as `runapp'.

Program terminated with signal 11, Segmentation fault.

Reading symbols from /usr/lib/libc.so.1.7...(no debugging symbols found)...

done.

Reading symbols from /usr/lib/libdl.so.1.0...(no debugging symbols found)...

done.

#0  0x617d4 in xgraphic__DrawTrapezoid ()

Function fatal not defined.

(gdb) \bold{where}

#0  0x617d4 in xgraphic__DrawTrapezoid ()

#1  0x61828 in xgraphic__FillRectSize ()

#2  0x39944 in sbuttonv__DrawBorder ()

#3  0x42000 in scroll__GetEndToBarSpace ()

#4  0x422cc in scroll__GetEndToBarSpace ()

#5  0x42d40 in scroll__FullUpdate ()

#6  0x33ed0 in lpair__GetClassInfo ()

#7  0x341f8 in lpair__FullUpdate ()

#8  0x33ed0 in lpair__GetClassInfo ()

#9  0x341f8 in lpair__FullUpdate ()

#10 0xb4e0 in frame__FullUpdate ()

#11 0x59054 in xim__HandleRedraw ()

#12 0x598d8 in HandleExposure ()

#13 0x5aae0 in xim__RedrawWindow ()

#14 0x74340 in im__RedrawChangedWindows ()

#15 0x74ab4 in im__Interact ()

#16 0x21be28 in end ()

#17 0x11b80c in end ()

#18 0x28ac in main ()

(gdb) \bold{quit

}newt$ 

}}}}
Graham..

\enddata{text,3085896}

\enddata{text822, 0}
\begindata{text822, 4854}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
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 </afs/andrew.cmu.edu/usr22/susan/Mailbox/IdXMD1600WD54HxE41>;
          Mon,  3 Feb 1992 13:02:41 -0500 (EST)
Received: from freehold.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/usr12/dl2n/.Outgoing/QF.gdXMC8:00WD54:Mp5g>;
          Mon,  3 Feb 1992 13:01:44 -0500 (EST)
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,  3 Feb 1992 13:01:43 -0500 (EST)
Message-ID: <8dXMC7W00WD5Q_Motm@andrew.cmu.edu>
Date: Mon,  3 Feb 1992 13:01:43 -0500 (EST)
From: Daniel Edward Lovinger <dl2n+@andrew.cmu.edu>
To: Info-Andrew <info-andrew+@andrew.cmu.edu>
Subject: Re: Andrew and OpenWindows 3
CC: Graham Bardsley <graham@tcom.stc.co.uk>
In-Reply-To: <kdXL28O0lyBlQ2alQw@tcom.stc.co.uk>
References: <kdXL28O0lyBlQ2alQw@tcom.stc.co.uk>

	This may be related, it might not be (esp. since the dump
didn't happen inside of XDrawLines()), but shouldn't that magic number
5 inside (SRCDIR/atk/basics/x/xgraphic.c)xgraphic__DrawTrapezoids() be
4? And from a purely aesthetic point of view, the thought of a
malloc/free every single time an atomic graphic is drawn really bugs
me.

      Dan Lovinger     Computing & Communications      Carnegie Mellon U.
    Internet: dl2n+@andrew.cmu.edu   Bitnet: dl2n+%andrew.cmu.edu@carnegie
   "... and in the stillness, they heard the cry of the golden banana ..."
\enddata{text822, 4854}
\begindata{text822, 6608}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
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 </afs/andrew.cmu.edu/usr22/susan/Mailbox/IdXPNsC00jZdMOqE8h>;
          Mon,  3 Feb 1992 16:39:04 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q003/QF.QdXPMvW00UkTAvhE5t>;
          Mon,  3 Feb 1992 16:38:06 -0500 (EST)
Received: from eros.uknet.ac.uk by po3.andrew.cmu.edu (5.54/3.15) id <AA15262> for info-andrew; Mon, 3 Feb 92 16:37:20 EST
Received: from bnrgate.bnr.co.uk by eros.uknet.ac.uk via UKIP with SMTP (PP) 
          id <20350-1@eros.uknet.ac.uk>; Mon, 3 Feb 1992 17:58:41 +0000
Received: from arran.tcom.stc.co.uk by hedera.bnr.co.uk with Internal SMTP (PP) 
          id <19920203175539-0@hedera.bnr.co.uk>;
          Mon, 3 Feb 1992 17:55:39 +0000
Received: from adur.tcom.stc.co.uk by arran.Tcom.STC.co.UK (4.12/UK-1.4(stc));
          Mon, 3 Feb 92 17:31:38 GMT
Received: from newt.tcom.stc.co.uk.tcom.stc.co.uk 
          by adur.tcom.stc.co.uk (4.0/SMI-4.0) id AA28885;
          Mon, 3 Feb 92 17:32:28 GMT
Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.newt.nmec.tcom.stc.co.uk.sun4.40 
          via MS.5.6.newt.nmec.tcom.stc.co.uk.sun4_40;
          Mon, 3 Feb 1992 17:32:27 +0000 (GMT)
Message-Id: <IdXLmfG0lyBl82anJ3@tcom.stc.co.uk>
Date: Mon, 3 Feb 1992 17:32:27 +0000 (GMT)
From: Graham Bardsley <graham@tcom.stc.co.uk>
X-Andrew-Message-Size: 755+0
Content-Type: X-BE2; 12
If-Type-Unsupported: send
To: info-andrew@andrew.cmu.edu
Subject: Re: Andrew and OpenWindows 3
In-Reply-To: <kdXL28O0lyBlQ2alQw@tcom.stc.co.uk>
References: <kdXL28O0lyBlQ2alQw@tcom.stc.co.uk>

\begindata{text,3085896}
\textdsversion{12}
\template{messages}
In message id  <AdWAtyEB0KGW1aCkhe@holmes.parc.xerox.com>, Bill Janssen 
<janssen@parc.xerox.com> writes:

\quotation{This may be the long-standing bug in xgraphic that we have just 
tripped over again with Open Windows 3.0 \bold{\italic{and}} the new SGI 
X-server (both in the same week!).  The problem is in xgraphic/SetupFillGC(), 
which seems to assume that \typewriter{lastFillTile} will always have 
something of use in it.  But sometimes, especially when you are just creating 
the graphic, the value of \typewriter{lastFillTile} will be NULL.

}

It looks as if Bill  has reported the same problem as me, only a lot earlier. 
It's just that due to a backlog of stuff in a downstream site I didn't get the 
above message until just now. It was the \italic{2 possible bugs in Andrew} 
which sparked off my posting.


Graham\
\enddata{text,3085896}

\enddata{text822, 6608}
\begindata{text822, 9411}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
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 </afs/andrew.cmu.edu/usr22/susan/Mailbox/QdXd7CK00Udd06pE9t>;
          Tue,  4 Feb 1992 08:14:55 -0500 (EST)
Received: from po5.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q000/QF.kdXd6Qq00Udd46n04F>;
          Tue,  4 Feb 1992 08:14:05 -0500 (EST)
Received: from lazy.qt.IPA.FhG.de by po5.andrew.cmu.edu (5.54/3.15) id <AA01735> for info-andrew; Tue, 4 Feb 92 08:13:50 EST
Received: by lazy.qt.IPA.FhG.de
	(5.61+/IDA-1.2.8/gandalf.2) id AA17529; Tue, 4 Feb 92 14:13:32 +0100
Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.lazy.qt.IPA.FhG.de.pmax.ul4
          via MS.5.6.lazy.qt.IPA.FhG.de.pmax_ul4;
          Tue,  4 Feb 1992 14:13:31 +0100 (MET DST)
Message-Id: <8dXd5vNn1U00R22oVM@lazy.qt.IPA.FhG.de>
Date: Tue,  4 Feb 1992 14:13:31 +0100 (MET DST)
From: Juergen Henke <henke@qt.IPA.FhG.de>
X-Andrew-Message-Size: 959+0
Content-Type: X-BE2; 12
If-Type-Unsupported: send
To: info-andrew@andrew.cmu.edu
Subject: strange errors when sending e-mail...

\begindata{text,18480316}
\textdsversion{12}
\template{messages}
Last week i did the upgrade  to \typewriter{Ultrix V4.2A} (hey, i've got a 
X11R4 server now...) on my \typewriter{DECstation 5000/200PX}. Since then i 
get strange errors when sending mails:


\excerptedcaption{Excerpts from mail: 31-Jan-92 BUG -- y ... Juergen 
Henke@qt.IPA.FhG (15586)}


\quotation{The primary error reported was:

}\quotation{	Submission failed: Can't write message to /usr/lib/sendmail: 
Error number 0

}
\quotation{The secondary explanatory text was:

}\quotation{	Error: Unknown operating system error (in dropoff in 
SubmitMessage)

}

I've switched on debug mode for my sendmail - \bold{all works fine} - but 
messages insists there was an error. Any quick help ? It's very annoying to 
get bug reports, especially if you are the "postmonster", ehh, sorry 
"postmaster"...


Thanks in advance


	J\^{|}rgen


_________________________________________________________________________

Juergen Henke, e-mail juh@IPA.FhG.de, PSI-mail PSI%4505016002::JUH_IPA

Fraunhofer-Institut f. Produktionstechnik u. Automatisierung

Nobelstrasse 12, D-7000 Stuttgart 80

\enddata{text,18480316}

\enddata{text822, 9411}
\begindata{text822, 11898}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
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 </afs/andrew.cmu.edu/usr22/susan/Mailbox/sdXhrMS00UddIaqU9y>;
          Tue,  4 Feb 1992 13:39:21 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q000/QF.YdXhqd:00UkTMaFE5a>;
          Tue,  4 Feb 1992 13:38:34 -0500 (EST)
Received: from sun2.nsfnet-relay.ac.uk by po3.andrew.cmu.edu (5.54/3.15) id <AA09775> for info-andrew; Tue, 4 Feb 92 13:38:00 EST
Received: from cs.city.ac.uk by sun2.nsfnet-relay.ac.uk via JANET with NIFTP 
          id <16593-1@sun2.nsfnet-relay.ac.uk>; Tue, 4 Feb 1992 15:42:52 +0000
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;
          Tue, 4 Feb 1992 15:37:35 +0000 (GMT)
Message-Id: <AdXfAzC__5g8EgIkMU@cs.city.ac.uk>
Date: Tue, 4 Feb 1992 15:37:35 +0000 (GMT)
From: Nick Williams <njw@cs.city.ac.uk>
X-Andrew-Message-Size: 1301+0
Content-Type: X-BE2; 12
If-Type-Unsupported: send
To: info-andrew@andrew.cmu.edu
Subject: Preferences modification failure

\begindata{text,2361072}
\textdsversion{12}
\template{messages}
\define{symbola

attr:[FontFamily AndySymbola Int 0]}
\smaller{Info: arch=sun4_40, atk=5.0.0

}
I've been having problems with modifying the preferences from within 
\bold{messages} (using the "Set Options" facility).


Whenever an attempt is made by the program to modify the ".preferences" file, 
it goes through random variations of:

\description{\leftindent{\symbola{7}	No error reported, no change in the 
".preferences" file

\symbola{7}	Error reported of "Not a directory"

\symbola{7}	Other bogus errors.

\symbola{7}	A new "preferences" file is created ignoring the ".preferences"

\symbola{7}	The "global.prf" file is almost changed (when the user can write 
to the relevant dir). I say `almost' because it manages to read in the file 
and modify it accordingly, but writes out the new file under a garbage name 
such as global.prf\\003\\021x.

}}
I've poked around in the code to see if I can see what is going on but nothing 
leaps out and makes faces at me.  No problems occur if the user has the 
environment variable "PROFILES" set to a reasonable pathname which it can use, 
so it suggests that its going wrong somewhere in the routine which locates the 
preferences file to use.  Other than that I don't know why it's happening, but 
it sure is annoying.


Nick.


Nick Williams, Computing Science Dept, City University, London.


``Kids! Bringing about Armageddon can be dangerous.

Do not attempt it in your own home.''

				Terry Pratchett, Good Omens.


\enddata{text,2361072}

\enddata{text822, 11898}
\begindata{text822, 14819}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
X-Andrew-Authenticated-as: 38;andrew.cmu.edu;Susan Straub
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 </afs/andrew.cmu.edu/usr22/susan/Mailbox/AdXk5nu00UkT4saU5l>;
          Tue,  4 Feb 1992 16:11:16 -0500 (EST)
Received: from po5.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q000/QF.odXk3wm00UddMrUk4j>;
          Tue,  4 Feb 1992 16:09:16 -0500 (EST)
If-Type-Unsupported: send
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q003/QF.odXjzxy00UkTAs404R>;
          Tue,  4 Feb 1992 16:05:02 -0500 (EST)
Received: from emsworth.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q000/QF.sdXjzjG00Vsy40PUpa>;
          Tue,  4 Feb 1992 16:04:47 -0500 (EST)
Received: from emsworth.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/usr22/susan/.Outgoing/QF.AdXjwIC00VsyMoRUh5>;
          Tue,  4 Feb 1992 16:01:10 -0500 (EST)
Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.emsworth.andrew.cmu.edu.rt.aos4
          via MS.5.6.emsworth.andrew.cmu.edu.rt_aos4;
          Tue,  4 Feb 1992 16:00:50 -0500 (EST)
Message-ID: <UdXjw2e00Vsy8oRUUD@andrew.cmu.edu>
Date: Tue,  4 Feb 1992 16:00:50 -0500 (EST)
From: Susan Straub <susan+@andrew.cmu.edu>
X-Andrew-Message-Size: 489+0
Content-Type: X-BE2; 12
To: Info-Andrew <info-andrew+@andrew.cmu.edu>
Subject: calc, champ => unsupported

\begindata{text,271386192}
\textdsversion{12}
\template{messages}
The Andrew Toolkit Consortium is considering moving calc and champ into the 
contributed (meaning unsupported) section of the distribution. 


We are considering this for the following reasons: 


1.  calc will not work for the rs_aix31 (and xcalc is available)


2.  champ is no longer supported by anyone at the ATC and to our knowledge, 
not heavily used.  


If you feel strongly against this move, we'd like to hear from you. 


Susan Straub

Andrew Toolkit Consortium

<susan+@andrew.cmu.edu>\
\enddata{text,271386192}

\enddata{text822, 14819}
\begindata{text822, 17023}
X-Andrew-Authenticated-As: 38;andrew.cmu.edu;Susan Straub
Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.emsworth.andrew.cmu.edu.rt.aos4
          via MS.5.6.emsworth.andrew.cmu.edu.rt_aos4;
          Tue,  4 Feb 1992 16:00:50 -0500 (EST)
Message-ID: <UdXjw2e00Vsy8oRUUD@andrew.cmu.edu>
Date: Tue,  4 Feb 1992 16:00:50 -0500 (EST)
From: Susan Straub <susan+@andrew.cmu.edu>
X-Andrew-Message-Size: 489+0
Content-Type: X-BE2; 12
If-Type-Unsupported: alter
To: Info-Andrew <info-andrew+@andrew.cmu.edu>
Subject: calc, champ => unsupported

\begindata{text,271386192}
\textdsversion{12}
\template{messages}
The Andrew Toolkit Consortium is considering moving calc and champ into the 
contributed (meaning unsupported) section of the distribution. 


We are considering this for the following reasons: 


1.  calc will not work for the rs_aix31 (and xcalc is available)


2.  champ is no longer supported by anyone at the ATC and to our knowledge, 
not heavily used.  


If you feel strongly against this move, we'd like to hear from you. 


Susan Straub

Andrew Toolkit Consortium

<susan+@andrew.cmu.edu>\
\enddata{text,271386192}

\enddata{text822, 17023}
\begindata{text822, 18216}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
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 </afs/andrew.cmu.edu/usr22/susan/Mailbox/EdXnnFS00jZd0VaU49>;
          Tue,  4 Feb 1992 20:24:33 -0500 (EST)
Received: from po5.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q002/QF.sdXnjWW00Udd5En04l>;
          Tue,  4 Feb 1992 20:20:34 -0500 (EST)
Received: from ucbvax.Berkeley.EDU by po5.andrew.cmu.edu (5.54/3.15) id <AA20668> for info-andrew; Tue, 4 Feb 92 20:20:19 EST
Received: by ucbvax.Berkeley.EDU (5.63/1.43)
	id AA10936; Tue, 4 Feb 92 16:32:55 -0800
Received: from USENET by ucbvax.Berkeley.EDU with netnews
	for info-andrew@andrew.cmu.edu (info-andrew@andrew.cmu.edu)
	(contact usenet@ucbvax.Berkeley.EDU if you have questions)
Date: 3 Feb 92 16:56:26 GMT
From: sun-barr!newstop!eastapps!eastnews!blevine@ames.arc.nasa.gov  (Brian Levine - Sun BOS Software)
Organization: Sun Microsystems, Inc. - Boston Development Center
Subject: Problem printing 'org' objects
Message-Id: <BLEVINE.92Feb3115626@pdq.East.Sun.COM>
Sender: info-andrew-request@andrew.cmu.edu
To: info-andrew@andrew.cmu.edu

Hi,

I'm trying to create a Postscript output file from an object created with
'org' using 'ezprint' as shown in the following script:

ezprint -t $FILENAME | eqn -Tpsc | ditroff -Tpsc | psdit > $OUTFILE


I get the following error message:

Malloc arena corruption discovered   at - fr

Anyone out there have an idea why this is happening and perhaps
a patch?

TIA.


-Brian Levine
SunSoft, Inc.
Boston Development Center
Billerica, MA. 01821
\enddata{text822, 18216}
\begindata{text822, 20013}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
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 </afs/andrew.cmu.edu/usr22/susan/Mailbox/odXooMm00Ui38tbk8K>;
          Tue,  4 Feb 1992 21:34:01 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q001/QF.MdXomla00UkTBJjE4e>;
          Tue,  4 Feb 1992 21:32:18 -0500 (EST)
Received: from alpha.xerox.com by po3.andrew.cmu.edu (5.54/3.15) id <AA21944> for info-andrew; Tue, 4 Feb 92 21:32:09 EST
Received: from holmes.parc.xerox.com ([13.1.100.162]) by alpha.xerox.com with SMTP id <11964>; Tue, 4 Feb 1992 18:31:55 PST
Received: by holmes.parc.xerox.com id <33025>; Tue, 4 Feb 1992 18:31:48 -0800
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,  4 Feb 1992 18:31:45 -0800 (PST)
Message-Id: <0dXomF8B0KGWJeZyFa@holmes.parc.xerox.com>
Date: 	Tue, 4 Feb 1992 18:31:45 PST
Sender: Bill Janssen <janssen@parc.xerox.com>
From: Bill Janssen <janssen@parc.xerox.com>
X-Andrew-Message-Size: 9877+0
Content-Type: X-BE2; 12
If-Type-Unsupported: send
To: info-andrew@andrew.cmu.edu, Graham Bardsley <graham@tcom.stc.co.uk>
Subject: patch for OW 3.0 and SGI
In-Reply-To: <IdXLmfG0lyBl82anJ3@tcom.stc.co.uk>
References: <kdXL28O0lyBlQ2alQw@tcom.stc.co.uk>
	<IdXLmfG0lyBl82anJ3@tcom.stc.co.uk>

\begindata{text,3161480}
\textdsversion{12}
\template{messages}
Here is the patch (by Dale MacDonald) that we have applied to 
\typewriter{atk/basics/x/xgraphic.c} to allow use with \bold{OW 3.0}.  This 
also handles screens with multiple visuals better, and fixes the long-standing 
dangling NULL \typewriter{lastFillTile} bug in xgraphic.c.  (I've added a 
little ATK formatting to this message to keep the lines from being wrapped by 
sendmessage!  Which I don't guess will help you folks reading it as 
netnews...)


Bill



*** xgraphic.c	Mon Feb  3 15:46:00 1992

--- xgraphic.c.orig	Wed Oct  2 19:09:58 1991

***************

*** 825,840 ****

  	 \}

  	 return;

      \}

! /*

!     if (tile == NULL) tile = (self->lastFillTile) ? self->lastFillTile : 
self->gray_shades[16];

! */

!     if ( tile == NULL &&

! 	(( xgraphic_DisplayClass( self ) & graphic_Color ) ||

! 	 ( xgraphic_DisplayClass( self ) & graphic_StaticGray )))

        tile = ( struct xgraphic * ) xgraphic_BlackPattern( self );

!     else if ( tile == NULL )

!       tile = (self->lastFillTile != NULL) ? self->lastFillTile : (struct 
xgraphic *) xgraphic_BlackPattern(self);

! 

      /* Hm, depends on sources, but source may be white or black, so let's 
special case those as well */

      if (self->gray_shades[16] && self->gray_shades[16] == tile) \{

  	/* We're using black, make sure context is OK */

--- 825,833 ----

  	 \}

  	 return;

      \}

!     if ( tile == NULL && ( xgraphic_DisplayClass( self ) & graphic_Color ))

        tile = ( struct xgraphic * ) xgraphic_BlackPattern( self );

!     else if ( tile == NULL ) tile = self->lastFillTile;

      /* Hm, depends on sources, but source may be white or black, so let's 
special case those as well */

      if (self->gray_shades[16] && self->gray_shades[16] == tile) \{

  	/* We're using black, make sure context is OK */

***************

*** 2235,2245 ****

  static long RealDisplayClass( self )

  struct xgraphic		    *self;

  \{

!     long		    class, vclass;

      XVisualInfo	    vTemplate;

      XVisualInfo  *vList = NULL;

!     Depth *dp;

!     int	    matched = 0, nvisuals = 0, visual;

  

      vTemplate.screen = xgraphic_XScreen( self );

      vTemplate.depth = DisplayPlanes( xgraphic_XDisplay( self ), 
xgraphic_XScreen( self ));

--- 2228,2237 ----

  static long RealDisplayClass( self )

  struct xgraphic		    *self;

  \{

!     long		    class;

      XVisualInfo	    vTemplate;

      XVisualInfo  *vList = NULL;

!     int	    matched = 0;

  

      vTemplate.screen = xgraphic_XScreen( self );

      vTemplate.depth = DisplayPlanes( xgraphic_XDisplay( self ), 
xgraphic_XScreen( self ));

***************

*** 2246,2288 ****

      vList = XGetVisualInfo( xgraphic_XDisplay( self ), VisualScreenMask | 
VisualDepthMask, &vTemplate, &matched );

      if ( matched )

      \{

!       Screen *screenUsed;

!       

!       screenUsed = xgraphic_XDisplay(self)->screens + 
xgraphic_XScreen(self);

!       for ( dp = screenUsed->depths;

! 	   dp < (screenUsed->depths + screenUsed->ndepths); ++dp)

! 	\{

! 	  if (dp->depth != vTemplate.depth)

! 	    continue;

! 	  nvisuals = dp->nvisuals;

! 	  class = 0l;

! 	  for (visual = 0; visual < nvisuals; ++visual)

! 	    \{

! 	      /* scan through all the visuals, use the most "interesting" one */

! 	      vclass = vList[visual].class;

! 	      if (( ! class & TrueColor ) && ( vclass != TrueColor ))

! 		if (( ! class & DirectColor ) && ( vclass != DirectColor ))

! 		  if (( ! class & PseudoColor ) && ( vclass != PseudoColor ))

! 		    if (( ! class & StaticColor ) && ( vclass != StaticColor ))

! 		      if (( ! class & GrayScale ) && ( vclass != GrayScale ))

! 			if ( DisplayPlanes( xgraphic_XDisplay( self ), xgraphic_XScreen( self )) 
== 1 )

! 			  class = graphic_Monochrome | graphic_StaticGray;

! 			else 

! 			  class = graphic_StaticGray;

! 		      else

! 			class = graphic_GrayScale;

! 		    else

! 		      class = graphic_StaticColor | graphic_Color;

! 		  else

! 		    class = graphic_PseudoColor | graphic_Color;

! 		else

! 		  class = graphic_DirectColor | graphic_Color;

! 	      else

! 		class = graphic_TrueColor | graphic_Color;

! 	    \}

! 	\}

      \}

!   

      return class;

  \}

  long xgraphic__DisplayClass( self )

--- 2238,2266 ----

      vList = XGetVisualInfo( xgraphic_XDisplay( self ), VisualScreenMask | 
VisualDepthMask, &vTemplate, &matched );

      if ( matched )

      \{

!       switch ( vList[0].class )

!       \{

! 	  case PseudoColor: class = graphic_PseudoColor;

! 	      class |= graphic_Color;

! 	      break;

! 	  case GrayScale: class = graphic_GrayScale;

! 	      break;

! 	  case DirectColor: class = graphic_DirectColor;

! 	      class |= graphic_Color;

! 	      break;

! 	  case TrueColor: class = graphic_TrueColor;

! 	      class |= graphic_Color;

! 	      break;

! 	  case StaticColor: class = graphic_StaticColor;

! 	      class |= graphic_Color;

! 	      break;

! 	  case StaticGray: if ( DisplayPlanes( xgraphic_XDisplay( self ), 
xgraphic_XScreen( self )) == 1 ) class = graphic_Monochrome;

! 	      else class = 0l;

! 	      class |= graphic_StaticGray;

! 	      break;

!       \}

      \}

!     else class = graphic_Monochrome | graphic_StaticGray;

      return class;

  \}

  long xgraphic__DisplayClass( self )

/a/atk/basics/x 116 % diff -c xgraphic.c.orig xgraphic.c

*** xgraphic.c.orig	Wed Oct  2 19:09:58 1991

--- xgraphic.c	Mon Feb  3 15:46:00 1992

***************

*** 825,833 ****

  	 \}

  	 return;

      \}

!     if ( tile == NULL && ( xgraphic_DisplayClass( self ) & graphic_Color ))

        tile = ( struct xgraphic * ) xgraphic_BlackPattern( self );

!     else if ( tile == NULL ) tile = self->lastFillTile;

      /* Hm, depends on sources, but source may be white or black, so let's 
special case those as well */

      if (self->gray_shades[16] && self->gray_shades[16] == tile) \{

  	/* We're using black, make sure context is OK */

--- 825,840 ----

  	 \}

  	 return;

      \}

! /*

!     if (tile == NULL) tile = (self->lastFillTile) ? self->lastFillTile : 
self->gray_shades[16];

! */

!     if ( tile == NULL &&

! 	(( xgraphic_DisplayClass( self ) & graphic_Color ) ||

! 	 ( xgraphic_DisplayClass( self ) & graphic_StaticGray )))

        tile = ( struct xgraphic * ) xgraphic_BlackPattern( self );

!     else if ( tile == NULL )

!       tile = (self->lastFillTile != NULL) ? self->lastFillTile : (struct 
xgraphic *) xgraphic_BlackPattern(self);

! 

      /* Hm, depends on sources, but source may be white or black, so let's 
special case those as well */

      if (self->gray_shades[16] && self->gray_shades[16] == tile) \{

  	/* We're using black, make sure context is OK */

***************

*** 2228,2237 ****

  static long RealDisplayClass( self )

  struct xgraphic		    *self;

  \{

!     long		    class;

      XVisualInfo	    vTemplate;

      XVisualInfo  *vList = NULL;

!     int	    matched = 0;

  

      vTemplate.screen = xgraphic_XScreen( self );

      vTemplate.depth = DisplayPlanes( xgraphic_XDisplay( self ), 
xgraphic_XScreen( self ));

--- 2235,2245 ----

  static long RealDisplayClass( self )

  struct xgraphic		    *self;

  \{

!     long		    class, vclass;

      XVisualInfo	    vTemplate;

      XVisualInfo  *vList = NULL;

!     Depth *dp;

!     int	    matched = 0, nvisuals = 0, visual;

  

      vTemplate.screen = xgraphic_XScreen( self );

      vTemplate.depth = DisplayPlanes( xgraphic_XDisplay( self ), 
xgraphic_XScreen( self ));

***************

*** 2238,2266 ****

      vList = XGetVisualInfo( xgraphic_XDisplay( self ), VisualScreenMask | 
VisualDepthMask, &vTemplate, &matched );

      if ( matched )

      \{

!       switch ( vList[0].class )

!       \{

! 	  case PseudoColor: class = graphic_PseudoColor;

! 	      class |= graphic_Color;

! 	      break;

! 	  case GrayScale: class = graphic_GrayScale;

! 	      break;

! 	  case DirectColor: class = graphic_DirectColor;

! 	      class |= graphic_Color;

! 	      break;

! 	  case TrueColor: class = graphic_TrueColor;

! 	      class |= graphic_Color;

! 	      break;

! 	  case StaticColor: class = graphic_StaticColor;

! 	      class |= graphic_Color;

! 	      break;

! 	  case StaticGray: if ( DisplayPlanes( xgraphic_XDisplay( self ), 
xgraphic_XScreen( self )) == 1 ) class = graphic_Monochrome;

! 	      else class = 0l;

! 	      class |= graphic_StaticGray;

! 	      break;

!       \}

      \}

!     else class = graphic_Monochrome | graphic_StaticGray;

      return class;

  \}

  long xgraphic__DisplayClass( self )

--- 2246,2288 ----

      vList = XGetVisualInfo( xgraphic_XDisplay( self ), VisualScreenMask | 
VisualDepthMask, &vTemplate, &matched );

      if ( matched )

      \{

!       Screen *screenUsed;

!       

!       screenUsed = xgraphic_XDisplay(self)->screens + 
xgraphic_XScreen(self);

!       for ( dp = screenUsed->depths;

! 	   dp < (screenUsed->depths + screenUsed->ndepths); ++dp)

! 	\{

! 	  if (dp->depth != vTemplate.depth)

! 	    continue;

! 	  nvisuals = dp->nvisuals;

! 	  class = 0l;

! 	  for (visual = 0; visual < nvisuals; ++visual)

! 	    \{

! 	      /* scan through all the visuals, use the most "interesting" one */

! 	      vclass = vList[visual].class;

! 	      if (( ! class & TrueColor ) && ( vclass != TrueColor ))

! 		if (( ! class & DirectColor ) && ( vclass != DirectColor ))

! 		  if (( ! class & PseudoColor ) && ( vclass != PseudoColor ))

! 		    if (( ! class & StaticColor ) && ( vclass != StaticColor ))

! 		      if (( ! class & GrayScale ) && ( vclass != GrayScale ))

! 			if ( DisplayPlanes( xgraphic_XDisplay( self ), xgraphic_XScreen( self )) 
== 1 )

! 			  class = graphic_Monochrome | graphic_StaticGray;

! 			else 

! 			  class = graphic_StaticGray;

! 		      else

! 			class = graphic_GrayScale;

! 		    else

! 		      class = graphic_StaticColor | graphic_Color;

! 		  else

! 		    class = graphic_PseudoColor | graphic_Color;

! 		else

! 		  class = graphic_DirectColor | graphic_Color;

! 	      else

! 		class = graphic_TrueColor | graphic_Color;

! 	    \}

! 	\}

      \}

!   

      return class;

  \}

  long xgraphic__DisplayClass( self )

\enddata{text,3161480}

\enddata{text822, 20013}
\begindata{text822, 31950}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
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 </afs/andrew.cmu.edu/usr22/susan/Mailbox/UdXoq3600Udd9Lm04z>;
          Tue,  4 Feb 1992 21:35:50 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q000/QF.UdXoo4y00UkT1Jy05t>;
          Tue,  4 Feb 1992 21:33:42 -0500 (EST)
Received: from alpha.xerox.com by po3.andrew.cmu.edu (5.54/3.15) id <AA22003> for info-andrew; Tue, 4 Feb 92 21:33:31 EST
Received: from holmes.parc.xerox.com ([13.1.100.162]) by alpha.xerox.com with SMTP id <11965>; Tue, 4 Feb 1992 18:33:16 PST
Received: by holmes.parc.xerox.com id <33025>; Tue, 4 Feb 1992 18:33:05 -0800
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,  4 Feb 1992 18:33:04 -0800 (PST)
Message-Id: <cdXonU4B0KGW5eZydH@holmes.parc.xerox.com>
Date: 	Tue, 4 Feb 1992 18:33:04 PST
Sender: Bill Janssen <janssen@parc.xerox.com>
From: Bill Janssen <janssen@parc.xerox.com>
To: info-andrew@andrew.cmu.edu
Subject: ATK 5.0.0 and SGI Indigo

Whenever I run an ATK 5.0.0 application on my Sun, and display it on an
SGI Indigo, it causes the Indigo X server to re-initialize.  No ideas
yet.

Bill
\enddata{text822, 31950}
\begindata{text822, 33462}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
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 </afs/andrew.cmu.edu/usr22/susan/Mailbox/odXoqT200UddJLnk8n>;
          Tue,  4 Feb 1992 21:36:15 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q003/QF.sdXoq=e00UkT9K:05i>;
          Tue,  4 Feb 1992 21:35:56 -0500 (EST)
Received: from alpha.xerox.com by po3.andrew.cmu.edu (5.54/3.15) id <AA22046> for info-andrew; Tue, 4 Feb 92 21:35:42 EST
Received: from holmes.parc.xerox.com ([13.1.100.162]) by alpha.xerox.com with SMTP id <11958>; Tue, 4 Feb 1992 18:35:16 PST
Received: by holmes.parc.xerox.com id <33025>; Tue, 4 Feb 1992 18:35:06 -0800
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,  4 Feb 1992 18:34:51 -0800 (PST)
Message-Id: <QdXop=8B0KGWJeZzA_@holmes.parc.xerox.com>
Date: 	Tue, 4 Feb 1992 18:34:51 PST
Sender: Bill Janssen <janssen@parc.xerox.com>
From: Bill Janssen <janssen@parc.xerox.com>
X-Andrew-Message-Size: 422+0
Content-Type: X-BE2; 12
If-Type-Unsupported: send
To: Susan Straub <susan+@andrew.cmu.edu>
Subject: Re: calc, champ => unsupported
Cc: info-andrew@andrew.cmu.edu
In-Reply-To: <UdXjw2e00Vsy8oRUUD@andrew.cmu.edu>
References: <UdXjw2e00Vsy8oRUUD@andrew.cmu.edu>

\begindata{text,3161480}
\textdsversion{12}
\template{messages}
\excerptedcaption{Excerpts from ext.andrew: 4-Feb-92 calc, champ => 
unsupported Susan Straub@andrew.cmu. (489+0)}


\quotation{The Andrew Toolkit Consortium is considering moving calc and champ 
into the contributed (meaning unsupported) section of the distribution. 

}
Overall, good idea.


\quotation{xcalc is available

}
Bad reason.  Emacs is available too -- why support EZ?  The fact that calc is 
an ATK inset is an important feature not provided by xcalc.


Bill

\enddata{text,3161480}

\enddata{text822, 33462}
\begindata{text822, 35606}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
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 </afs/andrew.cmu.edu/usr22/susan/Mailbox/wdY36RK00UddEf2k92>;
          Wed,  5 Feb 1992 13:49:02 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q000/QF.8dY34we00UkT8cIU55>;
          Wed,  5 Feb 1992 13:47:25 -0500 (EST)
Received: from sun2.nsfnet-relay.ac.uk by po3.andrew.cmu.edu (5.54/3.15) id <AA10311> for info-andrew; Wed, 5 Feb 92 13:47:06 EST
Received: from cs.city.ac.uk by sun2.nsfnet-relay.ac.uk via JANET with NIFTP 
          id <24246-0@sun2.nsfnet-relay.ac.uk>; Wed, 5 Feb 1992 17:13:12 +0000
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;
          Wed, 5 Feb 1992 17:21:06 +0000 (GMT)
Message-Id: <4dY1o2O__5g8MJ2lIF@cs.city.ac.uk>
Date: Wed, 5 Feb 1992 17:21:06 +0000 (GMT)
From: Nick Williams <njw@cs.city.ac.uk>
X-Andrew-Message-Size: 990+0
Content-Type: X-BE2; 12
If-Type-Unsupported: send
To: info-andrew@andrew.cmu.edu
Subject: Reading netnews with messages

\begindata{text,2421216}
\textdsversion{12}
\template{messages}
I just tried to set up a link into the usenet news hierarchy of articles, by 
simply creating a top level mail folder containing an `.amsalien' file and a 
symlink into the news tree at relevant points. 

e.g.

\example{$local$/.MESSAGES/.amsalien

$local$/.MESSAGES/usenet/

$local$/.MESSAGES/usenet/comp -> /news/articles/comp

}
cui rebuild can discover the complete tree of mail folders, but attempting to 
access any of them gives "folder does not exist" and similar errors. I would 
guess this is because of the `.amsalien' file not doing it's thang properly 
and the mail interface attempting to find `MsgDir' files littered about.


Has anyone gotten messages to work at reading random hierarchies which should 
be considered read-only?  Or is the only way to do this to maintain a seperate 
tree for andrew?


Nick.

Nick Williams, Computing Science Dept, City University, London.


``Kids! Bringing about Armageddon can be dangerous.

Do not attempt it in your own home.''

				Terry Pratchett, Good Omens.


\enddata{text,2421216}

\enddata{text822, 35606}
\begindata{text822, 38066}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
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 </afs/andrew.cmu.edu/usr22/susan/Mailbox/sdY37:q00jZd0IvU8X>;
          Wed,  5 Feb 1992 13:49:47 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q003/QF.YdY34o200UkTAcH05k>;
          Wed,  5 Feb 1992 13:47:16 -0500 (EST)
Received: from sun2.nsfnet-relay.ac.uk by po3.andrew.cmu.edu (5.54/3.15) id <AA10299> for info-andrew; Wed, 5 Feb 92 13:46:48 EST
Received: from cs.city.ac.uk by sun2.nsfnet-relay.ac.uk via JANET with NIFTP 
          id <24200-0@sun2.nsfnet-relay.ac.uk>; Wed, 5 Feb 1992 17:12:10 +0000
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;
          Wed, 5 Feb 1992 17:10:07 +0000 (GMT)
Message-Id: <4dY1djq__5g8EJ2l52@cs.city.ac.uk>
Date: Wed, 5 Feb 1992 17:10:07 +0000 (GMT)
From: Nick Williams <njw@cs.city.ac.uk>
X-Andrew-Message-Size: 1528+0
Content-Type: X-BE2; 12
If-Type-Unsupported: send
To: info-andrew@andrew.cmu.edu
Subject: Authentication of mail addresses.

\begindata{text,2421216}
\textdsversion{12}
\template{messages}
Within the captions window of messages, it helpfully indicates how well it 
authenticated the source address of any piece of mail:


\quotation{\section{Message authentication and message captions

}\leftindent{
The Andrew Message System tries to establish who sent which messages in order 
to protect Andrew users from forged mail.  This process is called message 
authentication.  There are three possible levels of authentication, each of 
which is reflected in the message caption that accompanies the message.

}}\flushright{-ams help page

}
Well, at our site we have no system of reliable delivery mechanism.  With 
netmail, it shows the email address as normal.  However local mail either gets 
delivered as:

\example{From: Nick Williams <njw>

}or very rarely:

\example{From: Nick Williams <njw@cs.city.ac.uk>

}
As more of the local users here start using messages, I'm getting more 
complaints on the way messages displays these captions.  messages either 
displays "Nick Williams@???" or "Nick Williams@cs.city.ac.uk" respectively. 
 What I'd like is for the CheckAuthUID calls and related functions to ignore 
the fact that we haven't a reliable delivery agent - we know this - and to 
assume it is local and authenticated.  This would give us the result of local 
mail from me being addressed as from "Nick Williams".


Any clues on how to do this simply without breaking anything? Anyone else done 
this?


Nick.

Nick Williams, Computing Science Dept, City University, London.


``Kids! Bringing about Armageddon can be dangerous.

Do not attempt it in your own home.''

				Terry Pratchett, Good Omens.


\enddata{text,2421216}

\enddata{text822, 38066}
\begindata{text822, 41136}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail
Received: from andrew.cmu.edu via trymail
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/gdY7LsG00Ui38skk59>;
          Wed,  5 Feb 1992 18:40:40 -0500 (EST)
Received: from andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/sq1/QF.odY7FKu00Ui3I1pkJN>;
          Wed,  5 Feb 1992 18:33:43 -0500 (EST)
Received: from po5.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q001/QF.sdY7CZ600UddNCpE5t>;
          Wed,  5 Feb 1992 18:30:45 -0500 (EST)
Received: from fernwood.mpk.ca.us by po5.andrew.cmu.edu (5.54/3.15) id <AA20176> for info-andrew+; Wed, 5 Feb 92 18:30:36 EST
Received: by fernwood.mpk.ca.us; id AA27373; Wed, 5 Feb 92 15:30:04 -0800
Received: from spokane.liasi-saturn by lia.com (4.0/SMI-4.0)
	id AA09075; Wed, 5 Feb 92 10:53:50 PST
Received: by spokane.liasi-saturn (4.1/SMI-4.1)
	id AA19049; Wed, 5 Feb 92 10:53:50 PST
Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.spokane.lia.com.sun4.41
          via MS.5.6.spokane.lia.com.sun4_41;
          Wed,  5 Feb 1992 10:53:50 -0800 (PST)
Message-Id: <gdY3_yD02QWL1_9m1L@spokane.lia.com>
Date: Wed,  5 Feb 1992 10:53:50 -0800 (PST)
From: Stephen Williams <steve@lia.com>
X-Andrew-Message-Size: 2017+0
Content-Type: X-BE2; 12
If-Type-Unsupported: send
To: info-andrew+@andrew.cmu.edu
Subject: Munged mail

\begindata{text,1528432}
\textdsversion{12}
\template{messages}
I'm having trouble receiving UNIX e-mail -- often I get several mail messages 
in one message. It looks like the mail reader is having trouble with From 
lines from info-andrew. (!).


My config: SunOS 4.1.1, X11R5, Andrew 5.0.


Thanks

steve@lia.com


The following is a sample of a broken mail message:


\example{
	If you would like to receive any of the above please let me

	know.



----- End Included Message -----



From andrew.cmu.edu!@po5.andrew.cmu.edu:atkbb+Bad-Addresses Fri Jan 31 
17:13:06 1992

Return-Path: <andrew.cmu.edu!@po5.andrew.cmu.edu:atkbb+Bad-Addresses>

Received: from lia.com by spokane.liasi-saturn (4.1/SMI-4.1)

	id AA16014; Fri, 31 Jan 92 17:13:04 PST

Received: from andrew.cmu.edu by lia.com (4.0/SMI-4.0)

	id AA01317; Fri, 31 Jan 92 17:13:00 PST

Received: by fernwood.mpk.ca.us; id AA08222; Fri, 31 Jan 92 02:25:48 -0800

Received: by po5.andrew.cmu.edu (5.54/3.15) id <AA21818>; Thu, 30 Jan 92 
19:59:36 EST

Received: via switchmail for info-andrew+@andrew.cmu.edu;

 Thu, 30 Jan 1992 19:59:34 -0500 (EST)

Received: from po3.andrew.cmu.edu via qmail

          ID </afs/andrew.cmu.edu/service/mailqs/q001/QF.wdW9tFW00UkTN=qU4K>;

          Thu, 30 Jan 1992 19:54:45 -0500 (EST)

Received: from alpha.xerox.com by po3.andrew.cmu.edu (5.54/3.15) id <AA19413> 
for info-andrew; Thu, 30 Jan 92 19:54:32 EST

Received: from holmes.parc.xerox.com ([13.1.100.162]) by alpha.xerox.com with 
SMTP id <11623>; Thu, 30 Jan 1992 16:54:13 PST

Received: by holmes.parc.xerox.com id <33025>; Thu, 30 Jan 1992 16:54:03 -0800

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, 30 Jan 1992 16:53:56 -0800 (PST)

Message-Id: <8dW9sYIB0KGWRPkJ0Z@holmes.parc.xerox.com>

Date: 	Thu, 30 Jan 1992 16:53:56 PST

Sender: Bill Janssen <janssen@parc.xerox.com>

From: Bill Janssen <janssen@parc.xerox.com>

To: info-andrew@andrew.cmu.edu

Subject: messages & locked files


I've gotten into a strange situation with Messages.  There are 69

}\enddata{text,1528432}

\enddata{text822, 41136}
\begindata{text822, 44783}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
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 </afs/andrew.cmu.edu/usr22/susan/Mailbox/YdY8vGG00UddBN1U4I>;
          Wed,  5 Feb 1992 20:26:43 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q003/QF.QdY8qnq00UkTJCXk4R>;
          Wed,  5 Feb 1992 20:21:56 -0500 (EST)
Received: from vnet.ibm.com by po3.andrew.cmu.edu (5.54/3.15) id <AA20106> for info-andrew; Wed, 5 Feb 92 20:21:47 EST
Received: from RCHLAND by vnet.ibm.com (IBM VM SMTP V2R2) with BSMTP id 9589;
   Wed, 05 Feb 92 20:21:26 EST
Reply-To: "Todd Inglett" <tinglett@rchland.VNET.IBM.COM>
Received: by po1.rchland.ibm.com (5.51/4.7) id <AA02355> for info-andrew@andrew.cmu.edu; Wed, 5 Feb 92 19:19:06 CST
Received: via switchmail; Wed,  5 Feb 1992 19:19:04 -0600 (CST)
Received: from q.rchland.ibm.com via qmail
          ID </afs/rchland.ibm.com/service/mailqs/q000/QF.4dY8nhI91IXt4PDk8W>;
          Wed,  5 Feb 1992 19:18:38 -0600 (CST)
Received: from q.rchland.ibm.com via qmail
          ID </afs/rchland.ibm.com/usr3/tinglett/.Outgoing/QF.wdY8ngI91IXtIvxWJ2>;
          Wed,  5 Feb 1992 19:18:36 -0600 (CST)
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;
          Wed,  5 Feb 1992 19:18:35 -0600 (CST)
Message-Id: <sdY8nfk91IXt8vxW8n@rchland.ibm.com>
Date: Wed,  5 Feb 1992 19:18:35 -0600 (CST)
From: Todd Inglett <tinglett+@rchland.ibm.com>
To: info-andrew@andrew.cmu.edu
Subject: Re: Preferences modification failure
In-Reply-To: <AdXfAzC__5g8EgIkMU@cs.city.ac.uk>
References: <AdXfAzC__5g8EgIkMU@cs.city.ac.uk>

If you have a /usr/andrew/lib/global.prf file, ``chmod -w global.prf''
should fix your problem.

-todd inglett
\enddata{text822, 44783}
\begindata{text822, 46798}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
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 </afs/andrew.cmu.edu/usr22/susan/Mailbox/MdYK0W600UddQNLU5P>;
          Thu,  6 Feb 1992 11:19:46 -0500 (EST)
Received: from po5.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q000/QF.MdYJz0G00Udd0NEU4Q>;
          Thu,  6 Feb 1992 11:18:08 -0500 (EST)
Received: from aix1.uottawa.CA (panda1.uottawa.ca) by po5.andrew.cmu.edu (5.54/3.15) id <AA06460> for info-andrew; Thu, 6 Feb 92 11:17:57 EST
Received: by aix1.uottawa.CA (AIX 3.1/UCB 5.61/4.03)
          id AA31578; Thu, 6 Feb 92 11:17:19 -0500
Date: Thu, 6 Feb 92 11:17:19 -0500
From: kedem@aix1.uottawa.CA (Kedem)
Message-Id: <9202061617.AA31578@aix1.uottawa.CA>
To: info-andrew@andrew.cmu.edu
Subject: Color in Andrew
Cc: kedem@aix1.uottawa.CA


Hello,

I have been using Andrew for some time and have been trying ADEW and
multimedia. 

Up until now, I haven't experimented with color, though. 

My question is: To what extent does Andrew support color ?

1. Can I create multi-color buttons and icons ?
2. Can I create multi-colored text, the same way different fonts are
selected ?
3. Are there plans to make FAD and ZIP support color ?

Thank you in advance 

Michael Kedem
University of Ottawa
kedem@panda1.uottawa.ca

\enddata{text822, 46798}
\begindata{text822, 48324}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
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 </afs/andrew.cmu.edu/usr22/susan/Mailbox/EdYMBQ:00VtjJ7P08G>;
          Thu,  6 Feb 1992 13:50:05 -0500 (EST)
Received: from lieutenant.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/usr13/wjh/.Outgoing/QF.EdYMAU600Vtj4HAWk9>;
          Thu,  6 Feb 1992 13:49:04 -0500 (EST)
Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.lieutenant.andrew.cmu.edu.rs.aix31
          via MS.5.6.lieutenant.andrew.cmu.edu.rs_aix31;
          Thu,  6 Feb 1992 13:49:04 -0500 (EST)
Message-ID: <IdYMAU200VtjQHAWcM@andrew.cmu.edu>
Date: Thu,  6 Feb 1992 13:49:04 -0500 (EST)
From: Fred Hansen <wjh+@andrew.cmu.edu>
X-Andrew-Message-Size: 671+0
Content-Type: X-BE2; 12
If-Type-Unsupported: send
To: Info-Andrew <info-andrew@andrew.cmu.edu>,
    kedem@panda1.uottawa.ca (Kedem)
Subject: Re: Color in Andrew
CC: kedem@panda1.uottawa.ca
In-Reply-To: <9202061617.AA31578@aix1.uottawa.CA>
References: <9202061617.AA31578@aix1.uottawa.CA>

\begindata{text,539521184}
\textdsversion{12}
\template{messages}
\excerptedcaption{Excerpts from internet.other.info-andrew: 6-Feb-92 Color in 
Andrew Kedem@aix1.uottawa.CA (478)}


\quotation{1. Can I create multi-color buttons and icons ?}


Yes.  In a separate window bring up the arbcon by visiting 
$ANDREWDIR/lib/arbiters/Arb.  Then when you click on a button you will get 
options including those to set the color of buttons.


\quotation{2. Can I create multi-colored text, the same way different fonts 
are

}\quotation{selected ?}


Yes.  Choose EditStyles from the File menu.  Then AddStyle to create a new 
style name.  Pick a color for it from the "color" portion of the window.

\quotation{
}\quotation{3. Are there plans to make FAD and ZIP support color ?

}
There are no immediate plans to do so.



Fred Hansen\
\enddata{text,539521184}

\enddata{text822, 48324}
\begindata{text822, 50443}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
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 </afs/andrew.cmu.edu/usr22/susan/Mailbox/gdYSFcK00Ui30y1E8o>;
          Thu,  6 Feb 1992 20:44:09 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q002/QF.UdYSFOW00UkTFDnE4i>;
          Thu,  6 Feb 1992 20:43:56 -0500 (EST)
Received: from alpha.xerox.com by po3.andrew.cmu.edu (5.54/3.15) id <AA20404> for info-andrew; Thu, 6 Feb 92 20:43:18 EST
Received: from holmes.parc.xerox.com ([13.1.100.162]) by alpha.xerox.com with SMTP id <11732>; Thu, 6 Feb 1992 17:42:46 PST
Received: by holmes.parc.xerox.com id <33025>; Thu, 6 Feb 1992 17:42:40 -0800
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,  6 Feb 1992 17:42:29 -0800 (PST)
Message-Id: <wdYSE5EB0KGW42NdEG@holmes.parc.xerox.com>
Date: 	Thu, 6 Feb 1992 17:42:29 PST
Sender: Bill Janssen <janssen@parc.xerox.com>
From: Bill Janssen <janssen@parc.xerox.com>
X-Andrew-Message-Size: 636+0
Content-Type: X-BE2; 12
If-Type-Unsupported: send
To: info-andrew@andrew.cmu.edu, kedem@panda1.uottawa.ca (Kedem)
Subject: Re: Color in Andrew
Cc: kedem@panda1.uottawa.ca
In-Reply-To: <9202061617.AA31578@aix1.uottawa.CA>
References: <9202061617.AA31578@aix1.uottawa.CA>

\begindata{text,2298808}
\textdsversion{12}
\template{messages}
\excerptedcaption{Excerpts from ext.andrew: 6-Feb-92 Color in Andrew 
Kedem@panda1.uottawa.ca (479)}


\quotation{1. Can I create multi-color buttons and icons ?

}
Well, you can create just about anything, but there is no notion of a colored 
pixmap in Andrew, and no obvious way to make one.  You can of course make 
non-pixmap multi-colored objects (things that are drawn on with graphics 
primitives, rather than painted with a pixmap).


\quotation{2. Can I create multi-colored text, the same way different fonts 
are

}\quotation{selected ?

}
Yep.


\quotation{3. Are there plans to make FAD and ZIP support color ?

}
ZIP already does.  FAD should probably be moved to the "unsupported" 
directory...


Bill

\enddata{text,2298808}

\enddata{text822, 50443}
\begindata{text822, 52838}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
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 </afs/andrew.cmu.edu/usr22/susan/Mailbox/QdYXIfm00UddBaN09r>;
          Fri,  7 Feb 1992 02:28:46 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q000/QF.UdYXIU:00UkTFUn05L>;
          Fri,  7 Feb 1992 02:28:33 -0500 (EST)
Received: from alpha.xerox.com by po3.andrew.cmu.edu (5.54/3.15) id <AA24775> for info-andrew; Fri, 7 Feb 92 02:28:23 EST
Received: from holmes.parc.xerox.com ([13.1.100.162]) by alpha.xerox.com with SMTP id <12146>; Thu, 6 Feb 1992 23:28:09 PST
Received: by holmes.parc.xerox.com id <33025>; Thu, 6 Feb 1992 23:28:04 -0800
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,  6 Feb 1992 23:27:54 -0800 (PST)
Message-Id: <AdYXHuYB0KGWI2NVYY@holmes.parc.xerox.com>
Date: 	Thu, 6 Feb 1992 23:27:54 PST
Sender: Bill Janssen <janssen@parc.xerox.com>
From: Bill Janssen <janssen@parc.xerox.com>
X-Andrew-Message-Size: 174+0
Content-Type: X-BE2; 12
If-Type-Unsupported: send
To: info-andrew@andrew.cmu.edu
Subject: color printing?

\begindata{text,2298808}
\textdsversion{12}
\template{messages}
What's the right way to enable color printing?  I notice that 
\italic{atk/text/txttroff.c} has #ifdefs for \typewriter{COLORPRINTINGWORKS}, 
but I don't see where to set it in \italic{config/site.h}.


Bill

\enddata{text,2298808}

\enddata{text822, 52838}
\begindata{text822, 54564}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
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 </afs/andrew.cmu.edu/usr22/susan/Mailbox/8dYeCL:00UddEFsU4N>;
          Fri,  7 Feb 1992 10:19:52 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q000/QF.QdYeAB600UkT4BxU4n>;
          Fri,  7 Feb 1992 10:17:33 -0500 (EST)
Received: from thumper.bellcore.com by po3.andrew.cmu.edu (5.54/3.15) id <AA03561> for info-andrew; Fri, 7 Feb 92 10:17:17 EST
Received: from greenbush.bellcore.com by thumper.bellcore.com (4.1/4.7)
	id <AA27656> for info-andrew@andrew.cmu.edu; Fri, 7 Feb 92 10:17:11 EST
Received: by greenbush.bellcore.com (4.1/4.7)
	id <AA09417> for info-andrew@andrew.cmu.edu; Fri, 7 Feb 92 10:17:10 EST
Received: from Messages.8.3.N.CUILIB.3.45.SNAP.NOT.LINKED.greenbush.galaxy.sun4.41
          via MS.5.6.greenbush.galaxy.sun4_41;
          Fri,  7 Feb 1992 10:17:08 -0500 (EST)
Message-Id: <EdYe=oq0M2YtQY_vMY@thumper.bellcore.com>
Date: Fri,  7 Feb 1992 10:17:08 -0500 (EST)
From: Nathaniel Borenstein <nsb@thumper.bellcore.com>
To: info-andrew@andrew.cmu.edu
Subject: Andrew & OpenWindows 3.0
Cc: Darryl Rouse <rouse@thumper.bellcore.com>,
        Stan Moyer <stanm@thumper.bellcore.com>

We have a couple of users here who run Andrew under OpenWindows. 
Recently, they upgraded from OW 2.1 to OW 3.0.  At this point, Andrew
(the R5 release) ceases to be able to work -- windows get opened, but
are closed almost immediately with a core dump.

Does anyone have any experience with Andrew under OW 3.0?  I'm not an
OpenWindows user myself, and I'm not really even sure where to begin
figuring this one out... -- Nathaniel
\enddata{text822, 54564}
\begindata{text822, 56477}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
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 </afs/andrew.cmu.edu/usr22/susan/Mailbox/4dYekEK00UddEJtk5y>;
          Fri,  7 Feb 1992 10:56:01 -0500 (EST)
Received: from po2.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q001/QF.MdYehnq00jZdQ:nk4e>;
          Fri,  7 Feb 1992 10:53:26 -0500 (EST)
Received: from carla.dist.unige.it by po2.andrew.cmu.edu (5.54/3.15) id <AA02761> for info-andrew; Fri, 7 Feb 92 10:53:10 EST
Received: from romaint.UUCP by carla.dist.unige.it with UUCP
	(5.61++/IDA-1.2.8) id AA04754; Fri, 7 Feb 92 16:53:25 +0100
Received: from zztop.noname by roma.intecs.it (4.0/SMI-4.0)
	id AA02353; Fri, 7 Feb 92 14:50:42 +0100
Received: by zztop.noname (4.1/SMI-4.1)
	id AA07555; Fri, 7 Feb 92 14:49:02 GMT
Date: Fri, 7 Feb 92 14:49:02 GMT
From: andy@zztop.roma.intecs.it (Andrew Takats)
Message-Id: <9202071449.AA07555@zztop.noname>
Subject: Porting environment for ATK--> Motif
Apparently-To: info-andrew@andrew.cmu.edu


Can anyone recommend an O-O development environment to use for
porting an ATK developed multi-media application to Motif?  (someone 
a while ago mentioned XView -- could someone please send me a pointer
to that as well... thanks!) Also, recommendations for graphical interface 
editors are welcome.  

Thanks in advance; please respond via email (I don't get the newsgroup).

Andy Takats
Intecs Sistemi S.p.A. 
Roma, ITALY
tel. +39-6-4115160 ext 387
fax. +39-6-4111302

andy@roma.intecs.it
\enddata{text822, 56477}
\begindata{text822, 58213}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
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 </afs/andrew.cmu.edu/usr22/susan/Mailbox/odYtvHW00jZd4aKk84>;
          Sat,  8 Feb 1992 04:11:48 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q003/QF.8dYtt=q00UkTNOCU5v>;
          Sat,  8 Feb 1992 04:09:32 -0500 (EST)
Received: from alpha.xerox.com by po3.andrew.cmu.edu (5.54/3.15) id <AA23093> for info-andrew; Sat, 8 Feb 92 04:09:23 EST
Received: from holmes.parc.xerox.com ([13.1.100.162]) by alpha.xerox.com with SMTP id <11813>; Sat, 8 Feb 1992 01:09:04 PST
Received: by holmes.parc.xerox.com id <33025>; Sat, 8 Feb 1992 01:08:53 -0800
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;
          Sat,  8 Feb 1992 01:08:49 -0800 (PST)
Message-Id: <wdYtsVkB0KGWQ2Ne8L@holmes.parc.xerox.com>
Date: 	Sat, 8 Feb 1992 01:08:49 PST
Sender: Bill Janssen <janssen@parc.xerox.com>
From: Bill Janssen <janssen@parc.xerox.com>
X-Andrew-Message-Size: 4899+0
Content-Type: X-BE2; 12
If-Type-Unsupported: send
To: info-andrew@andrew.cmu.edu
Subject: patch for OpenWindows 3.0
Cc: nsb@thumper.bellcore.com

\begindata{text,2298808}
\textdsversion{12}
\template{messages}
Thanks to Steve Coffin for pointing out that the patch I posted earlier this 
week was garbled.  Here's a better version.  To apply, cd to 
\description{atk/basics/x}, and say, "\quotation{patch -p 
<file-you-put-the-patch-in}".


*** xgraphic.c.orig	Wed Oct  2 19:09:58 1991

--- xgraphic.c	Mon Feb  3 15:46:00 1992

***************

*** 825,833 ****

  	 \}

  	 return;

      \}

!     if ( tile == NULL && ( xgraphic_DisplayClass( self ) & graphic_Color ))

        tile = ( struct xgraphic * ) xgraphic_BlackPattern( self );

!     else if ( tile == NULL ) tile = self->lastFillTile;

      /* Hm, depends on sources, but source may be white or black, so let's 
special case those as well */

      if (self->gray_shades[16] && self->gray_shades[16] == tile) \{

  	/* We're using black, make sure context is OK */

--- 825,840 ----

  	 \}

  	 return;

      \}

! /*

!     if (tile == NULL) tile = (self->lastFillTile) ? self->lastFillTile : 
self->gray_shades[16];

! */

!     if ( tile == NULL &&

! 	(( xgraphic_DisplayClass( self ) & graphic_Color ) ||

! 	 ( xgraphic_DisplayClass( self ) & graphic_StaticGray )))

        tile = ( struct xgraphic * ) xgraphic_BlackPattern( self );

!     else if ( tile == NULL )

!       tile = (self->lastFillTile != NULL) ? self->lastFillTile : (struct 
xgraphic *) xgraphic_BlackPattern(self);

! 

      /* Hm, depends on sources, but source may be white or black, so let's 
special case those as well */

      if (self->gray_shades[16] && self->gray_shades[16] == tile) \{

  	/* We're using black, make sure context is OK */

***************

*** 2228,2237 ****

  static long RealDisplayClass( self )

  struct xgraphic		    *self;

  \{

!     long		    class;

      XVisualInfo	    vTemplate;

      XVisualInfo  *vList = NULL;

!     int	    matched = 0;

  

      vTemplate.screen = xgraphic_XScreen( self );

      vTemplate.depth = DisplayPlanes( xgraphic_XDisplay( self ), 
xgraphic_XScreen( self ));

--- 2235,2245 ----

  static long RealDisplayClass( self )

  struct xgraphic		    *self;

  \{

!     long		    class, vclass;

      XVisualInfo	    vTemplate;

      XVisualInfo  *vList = NULL;

!     Depth *dp;

!     int	    matched = 0, nvisuals = 0, visual;

  

      vTemplate.screen = xgraphic_XScreen( self );

      vTemplate.depth = DisplayPlanes( xgraphic_XDisplay( self ), 
xgraphic_XScreen( self ));

***************

*** 2238,2266 ****

      vList = XGetVisualInfo( xgraphic_XDisplay( self ), VisualScreenMask | 
VisualDepthMask, &vTemplate, &matched );

      if ( matched )

      \{

!       switch ( vList[0].class )

!       \{

! 	  case PseudoColor: class = graphic_PseudoColor;

! 	      class |= graphic_Color;

! 	      break;

! 	  case GrayScale: class = graphic_GrayScale;

! 	      break;

! 	  case DirectColor: class = graphic_DirectColor;

! 	      class |= graphic_Color;

! 	      break;

! 	  case TrueColor: class = graphic_TrueColor;

! 	      class |= graphic_Color;

! 	      break;

! 	  case StaticColor: class = graphic_StaticColor;

! 	      class |= graphic_Color;

! 	      break;

! 	  case StaticGray: if ( DisplayPlanes( xgraphic_XDisplay( self ), 
xgraphic_XScreen( self )) == 1 ) class = graphic_Monochrome;

! 	      else class = 0l;

! 	      class |= graphic_StaticGray;

! 	      break;

!       \}

      \}

!     else class = graphic_Monochrome | graphic_StaticGray;

      return class;

  \}

  long xgraphic__DisplayClass( self )

--- 2246,2288 ----

      vList = XGetVisualInfo( xgraphic_XDisplay( self ), VisualScreenMask | 
VisualDepthMask, &vTemplate, &matched );

      if ( matched )

      \{

!       Screen *screenUsed;

!       

!       screenUsed = xgraphic_XDisplay(self)->screens + 
xgraphic_XScreen(self);

!       for ( dp = screenUsed->depths;

! 	   dp < (screenUsed->depths + screenUsed->ndepths); ++dp)

! 	\{

! 	  if (dp->depth != vTemplate.depth)

! 	    continue;

! 	  nvisuals = dp->nvisuals;

! 	  class = 0l;

! 	  for (visual = 0; visual < nvisuals; ++visual)

! 	    \{

! 	      /* scan through all the visuals, use the most "interesting" one */

! 	      vclass = vList[visual].class;

! 	      if (( ! class & TrueColor ) && ( vclass != TrueColor ))

! 		if (( ! class & DirectColor ) && ( vclass != DirectColor ))

! 		  if (( ! class & PseudoColor ) && ( vclass != PseudoColor ))

! 		    if (( ! class & StaticColor ) && ( vclass != StaticColor ))

! 		      if (( ! class & GrayScale ) && ( vclass != GrayScale ))

! 			if ( DisplayPlanes( xgraphic_XDisplay( self ), xgraphic_XScreen( self )) 
== 1 )

! 			  class = graphic_Monochrome | graphic_StaticGray;

! 			else 

! 			  class = graphic_StaticGray;

! 		      else

! 			class = graphic_GrayScale;

! 		    else

! 		      class = graphic_StaticColor | graphic_Color;

! 		  else

! 		    class = graphic_PseudoColor | graphic_Color;

! 		else

! 		  class = graphic_DirectColor | graphic_Color;

! 	      else

! 		class = graphic_TrueColor | graphic_Color;

! 	    \}

! 	\}

      \}

!   

      return class;

  \}

  long xgraphic__DisplayClass( self )

\enddata{text,2298808}

\enddata{text822, 58213}
\begindata{text822, 64859}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
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 </afs/andrew.cmu.edu/usr22/susan/Mailbox/MdYuF9a00Udd5PZk9G>;
          Sat,  8 Feb 1992 04:35:06 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q001/QF.IdYuDVi00UkT1OYE5m>;
          Sat,  8 Feb 1992 04:33:22 -0500 (EST)
Received: from alpha.xerox.com by po3.andrew.cmu.edu (5.54/3.15) id <AA23176> for info-andrew-bugs; Sat, 8 Feb 92 04:33:10 EST
Received: from holmes.parc.xerox.com ([13.1.100.162]) by alpha.xerox.com with SMTP id <11853>; Sat, 8 Feb 1992 01:14:34 PST
Received: by holmes.parc.xerox.com id <33025>; Sat, 8 Feb 1992 01:14:25 -0800
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;
          Sat,  8 Feb 1992 01:14:13 -0800 (PST)
Message-Id: <cdYtxZ0B0KGWE2NeVR@holmes.parc.xerox.com>
Date: 	Sat, 8 Feb 1992 01:14:13 PST
Sender: Bill Janssen <janssen@parc.xerox.com>
From: Bill Janssen <janssen@parc.xerox.com>
X-Andrew-Message-Size: 604+0
Content-Type: X-BE2; 12
If-Type-Unsupported: send
To: info-andrew@andrew.cmu.edu, info-andrew-bugs@andrew.cmu.edu
Subject: glist bug (and patch)

\begindata{text,2298808}
\textdsversion{12}
\template{messages}
This patch fixes a bug in \bold{glist}.  When you push an object onto a list, 
the "tail" pointer of the glist is \italic{not} maintained, though other 
methods (such as Insert) \italic{rely} on it being maintained.  This causes a 
core dump on the Sun SPARC.  The patch adds the necessary code to 
glist__Push().


Bill


*** glist.c.orig	Sat Feb  8 00:58:14 1992

--- glist.c	Sat Feb  8 00:58:07 1992

***************

*** 125,130 ****

--- 125,132 ----

      temp->next = self->head;

      temp->this = element;

      self->head = temp;

+     if (self->size == 0)

+       self->tail = temp;

      ++(self->size);

      return TRUE;

  \}

\enddata{text,2298808}

\enddata{text822, 64859}
\begindata{text822, 67069}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
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 </afs/andrew.cmu.edu/usr22/susan/Mailbox/AdZeYd600UddERiU5C>;
          Mon, 10 Feb 1992 11:32:41 -0500 (EST)
Received: from po5.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q003/QF.8dZeVo200UddIRZE5d>;
          Mon, 10 Feb 1992 11:29:41 -0500 (EST)
Message-ID: <Added.8dZeVnO00Udd8RYk8f@andrew.cmu.edu>
Received: from pippo.sm.dsi.unimi.it by po5.andrew.cmu.edu (5.54/3.15) id <AA07565> for info-andrew; Mon, 10 Feb 92 11:29:31 EST
Received: by pippo.sm.dsi.unimi.it
	(16.7/16.2) id AA27137; Mon, 10 Feb 92 17:28:00 +0100
From: marco@ghost.dsi.unimi.it (Marco Negri)
Date: Mon, 10 Feb 1992 17:28:00 +0100
X-Mailer: Mail User's Shell (7.2.1 12/20/90)
To: info-andrew@ANDREW.CMU.EDU
Subject: Andrew and HP-UX.8.0

Hello there.
I have get the andrew 5.0.0
The README says that the hpux 8.0 will be supported with the next patch.
Where I can get this patch ?
I have tried at export.lcs.mit.edu in the directory contrib/R4fixes/andrew
but the get command returned me an error : "Permission denied".
Thank you very much in advance.

---
Marco Negri				E-Mail : marco@ghost.dsi.unimi.it
Computer Science Dep. Milan University	Phone  : +39-2-55006391
v. Comelico, 39 - I-20133 Milano Italy	Fax    : +39-2-55006373
\enddata{text822, 67069}
\begindata{text822, 68625}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
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 </afs/andrew.cmu.edu/usr22/susan/Mailbox/0dZlVrO00UkT98xk5z>;
          Mon, 10 Feb 1992 19:27:35 -0500 (EST)
Received: from po5.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q000/QF.QdZlTUq00UddFFrU58>;
          Mon, 10 Feb 1992 19:25:06 -0500 (EST)
Received: from research.att.com by po5.andrew.cmu.edu (5.54/3.15) id <AA20942> for info-andrew; Mon, 10 Feb 92 19:24:43 EST
Received: by inet; Mon Feb 10 19:24 EST 1992
Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.gargoyle.sun4.41
          via MS.5.6.gargoyle.sun4_41;
          Mon, 10 Feb 1992 19:24:33 -0500 (EST)
Message-Id: <UdZlT1X02mCP1Ov193@gargoyle>
Date: Mon, 10 Feb 1992 19:24:33 -0500 (EST)
From: Bill Schell <bill@allegra.att.com>
To: info-andrew@andrew.cmu.edu
Subject: messages folders catch strange communicable disease!

Has anyone else seen the following problem with messages?

I have a lot of folders into which incoming mail is placed automatically
by a flames program.  Sometimes a folder will get 'sick'.  When new mail
is placed into it, 'messages' knows about it, but it will always
position me at the first message in the folder, even though all the
previous (hundreds) of messages have been read.  Messages knows this
too, because it shows check marks, rather than the little unopened
envelope before each message.

Sometimes a 'cui reconstruct' command seems to fix a folder for a while,
sometimes it has no effect.   This disease seems to spread, as more of 
my folders are catching it.  Help!

Thanks,
	Bill Schell
	AT&T Bell Labs, Murray Hill, NJ
	bill@allegra.att.com



\enddata{text822, 68625}
\begindata{text822, 70542}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
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 </afs/andrew.cmu.edu/usr22/susan/Mailbox/odZn0BW00Ui3JTzE4o>;
          Mon, 10 Feb 1992 21:08:14 -0500 (EST)
Received: from po5.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q002/QF.EdZmxL200UddRO905Y>;
          Mon, 10 Feb 1992 21:05:12 -0500 (EST)
Received: from ucbvax.Berkeley.EDU by po5.andrew.cmu.edu (5.54/3.15) id <AA23064> for info-andrew; Mon, 10 Feb 92 21:04:56 EST
Received: by ucbvax.Berkeley.EDU (5.63/1.43)
	id AA07431; Mon, 10 Feb 92 17:51:26 -0800
Received: from USENET by ucbvax.Berkeley.EDU with netnews
	for info-andrew@andrew.cmu.edu (info-andrew@andrew.cmu.edu)
	(contact usenet@ucbvax.Berkeley.EDU if you have questions)
Date: 6 Feb 92 15:18:17 GMT
From: bloom-picayune.mit.edu!snorkelwacker.mit.edu!ira.uka.de!gmdzi!ziegler@bloom-beacon.mit.edu  (Wolfgang Ziegler)
Organization: GMD, St. Augustin, F.R. Germany
Subject: Help needed building andrew
Message-Id: <7001@gmdzi.gmd.de>
Sender: info-andrew-request@andrew.cmu.edu
To: info-andrew@andrew.cmu.edu

After one and a half day I finished building andrew more or less. Unfortunately
there remain still 2 errors to fix:  

  1)  mkfontdir doesnt seem to like the generated .pcf font-files
  2)  the creation of the helpindex fails, because the following line in the
      Makefile demands a pgm or script with a non-existant path on my local
      machine:
      /afs/andrew.cmu.edu/usr0/hm99/index/installandyindex."sun4_41" $(DESTDIR
      (I couldnt find something like installandyindex... or similar among the
      distributed and generated files)

The first error seems not to affect the possibility of starting applications, 
while the second prevents me - as a novice - using andrew.

When browsing through this newsgroup I read about patches which could
help completing the installation.
I would appreciate if someone could send me these patches or give me some other
hints to succeed (email: ziegler@gmdzi.gmd.de).

I built andrew on a sun4 with os 4.1.1.

Thanks in advace,  Wolfgang Ziegler
-- 
Wolfgang Ziegler     ziegler@gmdzi.gmd.de         (+49 2241) 14-2388
GMD - Gesellschaft fuer Mathematik und Datenverarbeitung mbH
      German National Research Center for Computer Science
Schloss Birlinghoven, P.O.Box 1316, D-5205 Sankt Augustin 1, Germany
\enddata{text822, 70542}
\begindata{text822, 73127}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
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 </afs/andrew.cmu.edu/usr22/susan/Mailbox/QdZs0Ze00UddBjRE58>;
          Tue, 11 Feb 1992 02:49:58 -0500 (EST)
Received: from po5.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q001/QF.sdZryFC00UddRjNU4k>;
          Tue, 11 Feb 1992 02:47:29 -0500 (EST)
Received: from ucbvax.Berkeley.EDU by po5.andrew.cmu.edu (5.54/3.15) id <AA28513> for info-andrew; Tue, 11 Feb 92 02:47:17 EST
Received: by ucbvax.Berkeley.EDU (5.63/1.43)
	id AA19587; Mon, 10 Feb 92 23:31:25 -0800
Received: from USENET by ucbvax.Berkeley.EDU with netnews
	for info-andrew@andrew.cmu.edu (info-andrew@andrew.cmu.edu)
	(contact usenet@ucbvax.Berkeley.EDU if you have questions)
Date: 10 Feb 92 18:25:13 GMT
From: netcomsv!steve@apple.com  (Stephen Williams)
Organization: Netcom - Online Communication Services  (408 241-9760 guest)
Subject: Trouble with messages
Message-Id: <1992Feb10.182513.24832steve@netcom.COM>
Sender: info-andrew-request@andrew.cmu.edu
To: info-andrew@andrew.cmu.edu

I am having trouble with the messages tool. It is not correctly parsing
incoming mail. Many messages are smashed together into one large
mail message. There is a pattern:  all the messages that are not treated
seperately have a From line similar to:

From andrew.cmu.edu!@po2.andrew.cmu.edu:atkbb+Bad-Addresses Sat Feb  8 04:10:19 1992
Return-Path: <andrew.cmu.edu!@po2.andrew.cmu.edu:atkbb+Bad-Addresses>

This seems to be confusing messages.

SunOS 4.1.1
MIT X11 R5
Andrew toolkit 5.0.0

Help please!

--Steve Williams
\enddata{text822, 73127}
\begindata{text822, 74955}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
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 </afs/andrew.cmu.edu/usr22/susan/Mailbox/EdZx46200UddI8tk5c>;
          Tue, 11 Feb 1992 08:35:02 -0500 (EST)
Received: from po5.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q001/QF.odZx2Nu00UddA8sk5m>;
          Tue, 11 Feb 1992 08:33:14 -0500 (EST)
Received: from sadye.uvm.edu by po5.andrew.cmu.edu (5.54/3.15) id <AA02270> for info-andrew; Tue, 11 Feb 92 08:33:09 EST
Received: by sadye.uvm.edu id AA05021
  (5.65/1.23); Tue, 11 Feb 92 08:33:03 -0500
Date: Tue, 11 Feb 92 08:33:03 -0500
From: wollman@uvm-gen.UVM.EDU
Message-Id: <9202111333.AA05021@sadye.uvm.edu>
To: netcomsv!steve@apple.com (Stephen Williams)
Cc: info-andrew@andrew.cmu.edu
In-Reply-To: <1992Feb10.182513.24832steve@netcom.COM>
Subject: Trouble with messages

Stephen Williams writes:
> Return-Path: <andrew.cmu.edu!@po2.andrew.cmu.edu:atkbb+Bad-Addresses>

Perhaps a better question would be why is AMS putting out this
(deprecated) form of address in the first place?  It doesn't add any
information not already present in the Received: headers, and Host
Requirements says that hosts SHOULD NOT (I think that's their wording)
emit source-routed addresses, and other hosts MAY completely ignore
source-routing.

>>>From 
@po5.andrew.cmu.edu:atkbb+Bad-Addresses@andrew.cmu.edu Tue Feb 11 07:38:08 1992
^^^^^^^^^^^^^^^^^^^^
This is unnecessary and redundant.

-GAWollman

--
If you don't know what to do, call the media and at least give the
appearance of doing something.     - David Peterson
----
Garrett A. Wollman - wollman@uvm.edu - uvm-gen!wollman
\enddata{text822, 74955}
\begindata{text822, 76829}
X-Andrew-Authenticated-As: 469;andrew.cmu.edu;Craig F. Everhart
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
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)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/Ida3WKv0BwwO8frk9o>;
          Tue, 11 Feb 1992 15:56:55 -0500 (EST)
Received: from apollo.transarc.com via qmail
          ID </afs/transarc.com/usr/cfe/.Outgoing/QF.Yda3SEn0BwwO8XTX1z>;
          Tue, 11 Feb 1992 15:52:32 -0500 (EST)
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, 11 Feb 1992 15:52:27 -0500 (EST)
Message-ID: <oda3S=30BwwOAXTWpk@transarc.com>
Date: Tue, 11 Feb 1992 15:52:27 -0500 (EST)
From: Craig_Everhart@transarc.com
X-Andrew-Message-Size: 908+0
Content-Type: X-BE2; 12
If-Type-Unsupported: send
To: Info-Andrew <info-andrew+@andrew.cmu.edu>,
    Bill Schell <bill@allegra.att.com>
Subject: Re: messages folders catch strange communicable disease!
In-Reply-To: <UdZlT1X02mCP1Ov193@gargoyle>
References: <UdZlT1X02mCP1Ov193@gargoyle>

\begindata{text,18305376}
\textdsversion{12}
\template{messages}
Yes, ``cui reconstruct'' will fix the folder, until you add a new message to 
it.


The solution is to delete the .MS_MsgDir file in the folder, ``touch'' it to 
create a zero-length version, and then do ``cui reconstruct''.  There's a 
field of this file (what's read to LastMsgDate) that is not initialized when a 
new folder is created, so it could contain out-of-range garbage.  Further, 
``cui reconstruct'' intentionally doesn't fix this field, so if it's garbage 
once, it stays garbage.  That's why you have to delete (or rename) the 
.MS_MsgDir file.  You have to create a zero-length .MS_MsgDir file so that 
some low-level routine will think that the thing you're trying to reconstruct 
really should be an AMS folder.


Nathaniel noticed the problem and sent a fix to the ATK consortium.  I don't 
know if anything has happened to that fix, but Nathaniel noticed it after 
X.V11R5 had been released.


		Craig

\enddata{text,18305376}

\enddata{text822, 76829}
\begindata{text822, 79130}
X-Andrew-Authenticated-As: 469;andrew.cmu.edu;Craig F. Everhart
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
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 </afs/andrew.cmu.edu/usr22/susan/Mailbox/oda3Zoj0BwwO4gW04W>;
          Tue, 11 Feb 1992 16:00:39 -0500 (EST)
If-Type-Unsupported: send
Received: from apollo.transarc.com via qmail
          ID </afs/transarc.com/usr/cfe/.Outgoing/QF.4da3Wvr0BwwO4XTXZQ>;
          Tue, 11 Feb 1992 15:57:32 -0500 (EST)
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, 11 Feb 1992 15:57:30 -0500 (EST)
Message-ID: <wda3WuH0BwwOMXTXMp@transarc.com>
Date: Tue, 11 Feb 1992 15:57:30 -0500 (EST)
From: Craig_Everhart@transarc.com
X-Andrew-Message-Size: 861+0
Content-Type: X-BE2; 12
To: Info-Andrew <info-andrew+@andrew.cmu.edu>, wollman@uvm-gen.UVM.EDU
Subject: Re: Trouble with messages
CC: Info-Andrew <info-andrew+@andrew.cmu.edu>
In-Reply-To: <9202111333.AA05021@sadye.uvm.edu>
References: <9202111333.AA05021@sadye.uvm.edu>

\begindata{text,18305376}
\textdsversion{12}
\template{messages}
It's the sendmail in use at andrew.cmu.edu that's giving a source-route for a 
MAIL FROM: address, not AMS or AMDS or anything else.  It's a site issue, not 
an Andrew or AMS issue.


Now, as a site issue: The outermost host is the name of the post office 
machine that is relaying the mail.  For a while, at least at CMU, there were 
mail systems that would reject incoming mail unless the outermost host in the 
MAIL FROM: line were the same machine as was on the other side of the SMTP 
connection.  Since this no longer seems to be the case, the folks who now run 
the andrew.cmu.edu mail system are testing a version of sendmail that doesn't 
add the PO machine name to the MAIL FROM: line.


But then again, it's not really wrong to use this source-route information, 
even if it does prove to be a little confusing to some slightly-confused mail 
gateways.


		Craig

\enddata{text,18305376}

\enddata{text822, 79130}
\begindata{text822, 81477}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
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 </afs/andrew.cmu.edu/usr22/susan/Mailbox/Ada3ef:00Vs9J8Ok8a>;
          Tue, 11 Feb 1992 16:05:47 -0500 (EST)
Received: from rascal.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/usr13/gk5g/.Outgoing/QF.kda3bkm00Vs94IR0pD>;
          Tue, 11 Feb 1992 16:02:41 -0500 (EST)
Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.rascal.andrew.cmu.edu.rs.aix31
          via MS.5.6.rascal.andrew.cmu.edu.rs_aix31;
          Tue, 11 Feb 1992 16:02:40 -0500 (EST)
Message-ID: <0da3bka00Vs9QIR0hS@andrew.cmu.edu>
Date: Tue, 11 Feb 1992 16:02:40 -0500 (EST)
From: Gary Keim <gk5g+@andrew.cmu.edu>
X-Andrew-Message-Size: 2696+0
Content-Type: X-BE2; 12
If-Type-Unsupported: send
To: Info-Andrew <info-andrew+@andrew.cmu.edu>,
    Bill Schell <bill@allegra.att.com>
Subject: Re: messages folders catch strange communicable disease!
In-Reply-To: <oda3S=30BwwOAXTWpk@transarc.com>
References: <UdZlT1X02mCP1Ov193@gargoyle>
	<oda3S=30BwwOAXTWpk@transarc.com>

\begindata{text,538689276}
\textdsversion{12}
\template{messages}
\excerptedcaption{Excerpts from misc: 11-Feb-92 Re: messages folders catch .. 
Craig F. Everhart (908+0)}


\quotation{Nathaniel noticed the problem and sent a fix to the ATK consortium. 
 I don't know if anything has happened to that fix, but Nathaniel noticed it 
after X.V11R5 had been released.

}
This bug will go away with the next (CDROM) release.

Here is the message Nathaniel sent on the matter:


Thanks to an astute observation by Steve Rohall, I've finally pinned down the 
elusive "dates in the future" bug where some bboards -- typically netnews, in 
our case -- end up with dates in the future.  It turns out that it only 
happens when a new bboard is automatically created as a subdirectory of an old 
one, which is nearly always done by a FLAMES program.


Bob, I'm sorry to say that the bug appears to have been introduced when you 
added the LastMsgDate ("high water mark") code.  The crucial bug is in 
ams/libs/ms/rawdb.c, in CreateNewMSDirectory.  There, you fail to initialize 
the LastMsgDate value.  If it happens to be all zeroes, as it often does, all 
is well, but this is not always the case.  The simple fix is to add the 
following line right after line 151 in the R5 distribution (which says 
"\typewriter{(*NewDir)->NumIDs = 0;}"):


\example{    strcpy((*NewDir)->LastMsgDate, "000000");

}
Now, this should fix the bug -- I can't really test it, since I couldn't 
reproduce it in the first place, but this seems VERY likely to be the bug. 
 But still, I found myself wondering, why didn't ALL THAT CODE that I wrote 
years ago suffice to catch and automatically fix these way-in-the-future 
dates?  By now thoroughly suspicious about the LastMsgDate hack, I probed 
further, and found the place in ams/libs/ms/msdir.c where, on line 134, I 
found the following extremely incriminating coment:

\example{
/* I'm not going to bother with the paramcheck that the other case (below) 
does --bobg */

}
Guess what, Bob?  You should have.  It would have protected you against the 
previous bug!  Anyway, I also recommend REPLACING that line, line 134, with 
the following code that you decided not to bother with:


\example{\smaller{\smaller{if (mTime > (unsigned long) 0xc0000000 || mTime > 
((unsigned long) time(0) + 7 * 24 * 60 * 60)) \{

   sprintf(ErrBuf, "Dates in folder %s, %d=%s, are bogus; folder needs 
reconstruction.", ap_Shorten(Dir->UNIXDir), mTime, NiceTime(mTime));

    NonfatalBizarreError(ErrBuf);

}}\}

}
I believe that the combination of these two patches will completely and 
permanently eliminate the "dates in the future" bug.  


Don't feel bad, Bob -- you wouldn't BELIEVE how many times I fixed this bug 
while I was at CMU, and then reintroduced it later...  But you guys might want 
to try to slip this relatively minor fix into the CD release of Andrew.    -- 
Nathaniel

\enddata{text,538689276}

\enddata{text822, 81477}
\begindata{text822, 85690}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
X-Andrew-Authenticated-as: 1447;andrew.cmu.edu;Gary Keim
Received: from commander.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/Eda5fp:00asPItPU41>;
          Tue, 11 Feb 1992 18:23:33 -0500 (EST)
If-Type-Unsupported: send
Received: from commander.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/usr13/gk5g/.Outgoing/QF.cda5dqu00asP0QJl1r>;
          Tue, 11 Feb 1992 18:21:27 -0500 (EST)
Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.commander.andrew.cmu.edu.rs.aix31
          via MS.5.6.commander.andrew.cmu.edu.rs_aix31;
          Tue, 11 Feb 1992 18:21:26 -0500 (EST)
Message-ID: <Mda5dqq00asPQQJksU@andrew.cmu.edu>
Date: Tue, 11 Feb 1992 18:21:26 -0500 (EST)
From: Gary Keim <gk5g+@andrew.cmu.edu>
X-Andrew-Message-Size: 500+0
Content-Type: X-BE2; 12
To: Info-Andrew <info-andrew+@andrew.cmu.edu>
Subject: Re: Bug in buttons/dialog boxes
In-Reply-To: <0da4iPsB0KGWQ2NhJp@holmes.parc.xerox.com>
References: <UdZy3G20M2YtMyG756@thumper.bellcore.com>
	<Eda3aJYB0KGWA2Nct9@holmes.parc.xerox.com>
	<8da3hsK00Vs9EIR25B@andrew.cmu.edu>
	<sda3zogB0KGWQ2Neg1@holmes.parc.xerox.com>
	<wda4ExW0M2Yt14HoRh@thumper.bellcore.com>
	<0da4iPsB0KGWQ2NhJp@holmes.parc.xerox.com>

\begindata{text,538640232}
\textdsversion{12}
\template{messages}
\excerptedcaption{Excerpts from misc: 11-Feb-92 Re: Bug in buttons/dialog b.. 
Bill Janssen@parc.xerox. (243+1)}


\quotation{Well...  I don't know.  I've applied Gary's version of 
RealDisplayClass(), and now my tools look like:

}
Actually, it's not really my version--  I don't take any credit for either 
routine.


If someone has a definitive answer, please give it to me because I really want 
the fix to go on the CDROM.  


I'd like to let Rob Ryan and Dale MacDonald fight it out and let the best fix 
win.


sorry Nathaniel,

-Gary

\enddata{text,538640232}

\enddata{text822, 85690}
\begindata{text822, 87754}
X-Andrew-WideReply: netnews.comp.soft-sys.andrew
X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail
Received: via nntppoll with nntp; Wed, 12 Feb 1992 11:25:22 -0500 (EST)
Path: andrew.cmu.edu!crabapple.srv.cs.cmu.edu!fs7.ece.cmu.edu!sei.cmu.edu!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!qt.cs.utexas.edu!yale.edu!jvnc.net!darwin.sura.net!europa.asd.contel.com!uunet!mcsun!uknet!qmw-dcs!icdoc!cc.ic.ac.uk!sf
From: sf@cc.ic.ac.uk (Susan Feng)
Newsgroups: comp.soft-sys.andrew
Subject: Core dumped when building andrew software - HELP!
Message-ID: <1992Feb12.113454.6313@cc.ic.ac.uk>
Date: 12 Feb 92 11:34:53 GMT
Organization: Imperial College Computer Centre
Lines: 77
Originator: sf@cc.ic.ac.uk
Nntp-Posting-Host: ccserver

I'm tring to build andrew software ( ATK, AMS) from MIT's
X11, Release 4 tape on a SUN4 IPC, with SunOs 4.1.1 and AFS file system.

I got a "Segmentation Fault(core dumped)" after server hours compiling,
What I did is 
1. Edit config/site.mrc with the contents:
   XUTILDIR = /usr/bin/X11
   AFSBASEDIR = /usr/afsws
   RESOLVLIB = /usr/lib/libresolv.a

2. Edit confi/site.h with the contents:
   /* Empty site.h file.  Use this file to hold all */
   /* your site's changes to allsys.h and system.h. */
   #undef DEFAULT_ANDREWDIR_ENV
   #undef ANDREW_MALLOC_ENV
   #undef DITROFF_ENV
   #undef MK_TEXT_EXT
   #define DEFAULT_ANDREWDIR_ENV /afs/cc.ic.ac.uk/usr/iccc/sf/andrew
   #define MK_BASIC_UTILS       1
   #define MK_HELP         1
   #define MK_EXAMPLES 1
   #define NDBM_ENV 1
   #define GETDOMAIN_ENV 1
   
3. imake imake  -I.  -I./config  -Timake.tmpl  -s Makefile  -DTOPDIR=.
4. make World


 the error messages are:


 (ignore many dofix: Relocatable symbol value messages like followings )


 dofix:  Relocatable symbol value (_EliFGetSexp = 299256, type 4)
 dofix:  Relocatable symbol value (_MS_PrefetchMessage = 139904, type 4)
 dofix:  Relocatable symbol value (_MS_PrefetchMessage = 139904, type 4)
 dofix:  Relocatable symbol value (_eliyysptr = 588320, type 6)
 doload:  Errors while processing
 Segmentation fault (core dumped)
 *** Error code 11
 make: Fatal error: Command failed for target `amsn.do'
 Current working directory
 /afs/cc.ic.ac.uk/usr/iccc/sf/andrew_src/andrew/atkams/messages/lib
 *** Error code 1
 make: Fatal error: Command failed for target `dependInstall'
 Current working directory
 /afs/cc.ic.ac.uk/usr/iccc/sf/andrew_src/andrew/atkams/messages/lib
 *** Error code 1
 make: Fatal error: Command failed for target `dependInstall'
 Current working directory
 /afs/cc.ic.ac.uk/usr/iccc/sf/andrew_src/andrew/atkams/messages
 *** Error code 1
 make: Fatal error: Command failed for target `dependInstall'
 Current working directory
 /afs/cc.ic.ac.uk/usr/iccc/sf/andrew_src/andrew/atkams
 *** Error code 1
 make: Fatal error: Command failed for target `dependInstall'
 Current working directory
 /afs/cc.ic.ac.uk/usr/iccc/sf/andrew_src/andrew
 *** Error code 1
 make: Fatal error: Command failed for target `World'

the programm caused core dumped seems to be "doindex" which is a program
that indexes dynamic objects.  it failed to process amsn.do

Can anyone tell me what is wrong?   
Thanks a for any help in advance.

Susan Feng

Imperial College
-- 
--------------------------------------------------------------
Xueshan Feng (Susan Feng)         | Tel.: (071) 5895111 x 4975
Computer Centre, Imperial College | E-mail: s.feng@cc.ic.ac.uk
--------------------------------------------------------------
\enddata{text822, 87754}
\begindata{text822, 91286}
X-Andrew-WideReply: netnews.comp.soft-sys.andrew
X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail
Received: via nntppoll with nntp; Wed, 12 Feb 1992 13:19:14 -0500 (EST)
Path: andrew.cmu.edu!crabapple.srv.cs.cmu.edu!cantaloupe.srv.cs.cmu.edu!rochester!cornell!batcomputer!rpi!uwm.edu!linac!att!ucbvax!allegra.att.com!bill
From: bill@allegra.att.com (Bill Schell)
Newsgroups: comp.soft-sys.andrew
Subject: messages folders catch strange communicable disease!
Message-ID: <UdZlT1X02mCP1Ov193@gargoyle>
Date: 11 Feb 92 00:24:33 GMT
Sender: usenet@ucbvax.BERKELEY.EDU
Organization: The Internet
Lines: 21

Has anyone else seen the following problem with messages?

I have a lot of folders into which incoming mail is placed automatically
by a flames program.  Sometimes a folder will get 'sick'.  When new mail
is placed into it, 'messages' knows about it, but it will always
position me at the first message in the folder, even though all the
previous (hundreds) of messages have been read.  Messages knows this
too, because it shows check marks, rather than the little unopened
envelope before each message.

Sometimes a 'cui reconstruct' command seems to fix a folder for a while,
sometimes it has no effect.   This disease seems to spread, as more of 
my folders are catching it.  Help!

Thanks,
	Bill Schell
	AT&T Bell Labs, Murray Hill, NJ
	bill@allegra.att.com



\enddata{text822, 91286}
\begindata{text822, 92713}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
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 </afs/andrew.cmu.edu/usr22/susan/Mailbox/UdaKsHW00Vtj8tj096>;
          Wed, 12 Feb 1992 13:57:24 -0500 (EST)
Received: from lieutenant.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/usr13/wjh/.Outgoing/QF.EdaKpNG00VtjQupX85>;
          Wed, 12 Feb 1992 13:54:17 -0500 (EST)
Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.lieutenant.andrew.cmu.edu.rs.aix31
          via MS.5.6.lieutenant.andrew.cmu.edu.rs_aix31;
          Wed, 12 Feb 1992 13:54:17 -0500 (EST)
Message-ID: <UdaKpNC00VtjMupX0U@andrew.cmu.edu>
Date: Wed, 12 Feb 1992 13:54:17 -0500 (EST)
From: Fred Hansen <wjh+@andrew.cmu.edu>
X-Andrew-Message-Size: 785+0
Content-Type: X-BE2; 12
If-Type-Unsupported: send
To: Info-Andrew <info-andrew@andrew.cmu.edu>
Subject: Re: color printing?
In-Reply-To: <AdYXHuYB0KGWI2NVYY@holmes.parc.xerox.com>
References: <AdYXHuYB0KGWI2NVYY@holmes.parc.xerox.com>

\begindata{text,539385504}
\textdsversion{12}
\template{messages}
\excerptedcaption{Excerpts from internet.other.info-andrew: 6-Feb-92 color 
printing? Bill Janssen@parc.xerox. (174+0)}


\quotation{What's the right way to enable color printing?  I notice that 
\italic{atk/text/txttroff.c} has #ifdefs for \typewriter{COLORPRINTINGWORKS}, 
but I don't see where to set it in \italic{config/site.h}.

}
\quotation{Bill

}
The problem is that the  COLORPRINTINGWORKS code uses the Ca and Cz macros 
which are not implemented in tmac.atk.  The further problem is that to work 
properly these macros must insert postScript code at an arbitrary point in 
troff output.  Some troffs have not had a good mechanism to do this 
interspersal and the method used for rasters is too buggy for printing color 
text.  


(If someone knows a general solution for interspersing postScript in troff 
output, I'd be delighted to hear of it.)


Fred Hansen

\enddata{text,539385504}

\enddata{text822, 92713}
\begindata{text822, 94888}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
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 </afs/andrew.cmu.edu/usr22/susan/Mailbox/UdaL42a00VtjAtm08H>;
          Wed, 12 Feb 1992 14:09:55 -0500 (EST)
Received: from lieutenant.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/usr13/wjh/.Outgoing/QF.UdaL3MG00Vtj4upXcL>;
          Wed, 12 Feb 1992 14:09:12 -0500 (EST)
Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.lieutenant.andrew.cmu.edu.rs.aix31
          via MS.5.6.lieutenant.andrew.cmu.edu.rs_aix31;
          Wed, 12 Feb 1992 14:09:12 -0500 (EST)
Message-ID: <odaL3MC00VtjIupXVC@andrew.cmu.edu>
Date: Wed, 12 Feb 1992 14:09:12 -0500 (EST)
From: Fred Hansen <wjh+@andrew.cmu.edu>
X-Andrew-Message-Size: 1350+0
Content-Type: X-BE2; 12
If-Type-Unsupported: send
To: Info-Andrew <info-andrew@andrew.cmu.edu>,
    andy@zztop.roma.intecs.it (Andrew Takats)
Subject: Re: Porting environment for ATK--> Motif
In-Reply-To: <9202071449.AA07555@zztop.noname>
References: <9202071449.AA07555@zztop.noname>

\begindata{text,539385504}
\textdsversion{12}
\template{messages}
\excerptedcaption{Excerpts from internet.other.info-andrew: 7-Feb-92 Porting 
environment for ATK.. Andrew Takats@zztop.roma (491)}


\quotation{Can anyone recommend an O-O development environment to use for 
porting an ATK developed multi-media application to Motif?

}
First, of course,  is to point out that Andrew has adopted much of the Motif 
look and feel.  


But I take your note to mean you want to reimplement an application using the 
Motif library and want to avoid the pure C environment of Motif.


There are three major contenders for object oriented programming in Unix: C++, 
Modula-3, and Objective C.  Many sites are adopting C++, despite the 
advantages of Modula-3.  Objective C has not been gaining ground despite its 
use on Next systems.  I'm not aware of Motif libraries for any of these, but I 
suspect they exist.  


Among the advantages of Modula-3 is automatic storage management (via garbage 
collection), a feature capable of saving up to 25% of programmer time on 
sizeable O-O projects.


At this writing a group (other than the Consortium) is building a layer on top 
of ATK so ATK objects can be accessed from Modula-3.  Thus new code could be 
written in Modula-3 while utilizing the ATK core written in C.  The ATK 
Consortium hopes to be able to make this code available later this year. 
 (Consortium members will get it earlier than non-members.)


Fred Hansen\
\enddata{text,539385504}

\enddata{text822, 94888}
\begindata{text822, 97644}
X-Andrew-WideReply: netnews.comp.soft-sys.andrew
X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail
Received: via nntppoll with nntp; Wed, 12 Feb 1992 19:24:32 -0500 (EST)
Path: andrew.cmu.edu!crabapple.srv.cs.cmu.edu!cantaloupe.srv.cs.cmu.edu!rochester!cornell!batcomputer!rpi!think.com!ames!agate!ucbvax!ANDREW.CMU.EDU!wjh+
From: wjh+@ANDREW.CMU.EDU (Fred Hansen)
Newsgroups: comp.soft-sys.andrew
Subject: Re: color printing?
Message-ID: <UdaKpNC00VtjMupX0U@andrew.cmu.edu>
Date: 12 Feb 92 18:54:17 GMT
References: <AdYXHuYB0KGWI2NVYY@holmes.parc.xerox.com>
Sender: daemon@ucbvax.BERKELEY.EDU
Distribution: world
Organization: The Internet
Lines: 20

Excerpts from internet.other.info-andrew: 6-Feb-92 color printing? Bill
Janssen@parc.xerox. (174+0)

> What's the right way to enable color printing?  I notice that
> atk/text/txttroff.c has #ifdefs for COLORPRINTINGWORKS, but I don't see
> where to set it in config/site.h.

> Bill

The problem is that the  COLORPRINTINGWORKS code uses the Ca and Cz
macros which are not implemented in tmac.atk.  The further problem is
that to work properly these macros must insert postScript code at an
arbitrary point in troff output.  Some troffs have not had a good
mechanism to do this interspersal and the method used for rasters is too
buggy for printing color text.  

(If someone knows a general solution for interspersing postScript in
troff output, I'd be delighted to hear of it.)

Fred Hansen
\enddata{text822, 97644}
\begindata{text822, 99148}
X-Andrew-WideReply: netnews.comp.soft-sys.andrew
X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail
Received: via nntppoll with nntp; Thu, 13 Feb 1992 20:21:43 -0500 (EST)
Path: andrew.cmu.edu!crabapple.srv.cs.cmu.edu!fs7.ece.cmu.edu!sei.cmu.edu!cis.ohio-state.edu!ucbvax!parc.xerox.com!macdonal
From: macdonal@parc.xerox.com (Dale MacDonald)
Newsgroups: comp.soft-sys.andrew
Subject: How to confuse messages
Message-ID: <gdaijm4B0OV8AGFG9l@radcliff.parc.xerox.com>
Date: 13 Feb 92 22:06:42 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The Internet
Lines: 20

We have implemented an automount map called /tilde.  While "cleaning" up
my preferences to accomodate R5 I changed my mspath to
/tilde/macdonal/.MESSAGES from ~/.MESSAGES.  Now, we haven't finished
cleaning up our passwd database so for me ~ == /net/ra/ra/macdonal
rather than /tilde/macdonal.  

The next time I fired up messages it proceded to write a new .AMS.prof
using /tilde/macdonal/.MESSAGES/mail for mail.  Unfortunately,
MS_FindMailbox expands ~/Mailbox, CUI_CheckMailboxes wants
.MESSAGES/mail and Mailbox to be in the same directory, and as far as
strncmp() is concerned /net/ra/ra/macdonal != /tilde/macdonal.

So, if you run into users who complain "Read Mail doesn't do anything!" 
Take a look at where their .AMS.prof thinks mail is vs. where ~/Mailbox
is.

CUI_CheckMailboxes will dutifully complain if MS_FindMailbox loses, but
won't for this path conflict.  Any ideas why not? 

Dale.
\enddata{text822, 99148}
\begindata{text822, 100678}
X-Andrew-WideReply: netnews.comp.soft-sys.andrew
X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail
Received: via nntppoll with nntp; Thu, 13 Feb 1992 23:24:45 -0500 (EST)
Path: andrew.cmu.edu!crabapple.srv.cs.cmu.edu!cantaloupe.srv.cs.cmu.edu!rochester!cornell!batcomputer!rpi!think.com!spool.mu.edu!uunet!psinntp!unvax.union.edu!boehme
From: boehme@unvax.union.edu (Eric M. Boehm)
Newsgroups: comp.soft-sys.andrew
Subject: What hardware does andrew run on?
Summary: Informal survey
Keywords: hardware x-terminal workstation
Message-ID: <1992Feb13.143528.22541@unvax.union.edu>
Date: 13 Feb 92 14:35:28 GMT
Article-I.D.: unvax.1992Feb13.143528.22541
Organization: Union College, Schenectady, NY
Lines: 12


I have been having difficulty getting andrew to run on a DEC VT-1200
X-Terminal. I would like to know what hardware (x-terminal,
workstation, ...) people have gotten andrew to run on successfully.

Please respond by e-mail. If there is interest, I will post a summary
to the net.

-- 
Eric M. Boehm
boehme@unvax.Union.EDU
BOEHME@UNION.BITNET
\enddata{text822, 100678}
\begindata{text822, 101788}
X-Andrew-WideReply: netnews.comp.soft-sys.andrew
X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail
Received: via nntppoll with nntp; Fri, 14 Feb 1992 14:13:16 -0500 (EST)
Path: andrew.cmu.edu!crabapple.srv.cs.cmu.edu!fs7.ece.cmu.edu!sei.cmu.edu!cis.ohio-state.edu!ucbvax!ANDREW.CMU.EDU!wjh+
From: wjh+@ANDREW.CMU.EDU (Fred Hansen)
Newsgroups: comp.soft-sys.andrew
Subject: Re: Porting environment for ATK--> Motif
Message-ID: <odaL3MC00VtjIupXVC@andrew.cmu.edu>
Date: 12 Feb 92 19:09:12 GMT
References: <9202071449.AA07555@zztop.noname>
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The Internet
Lines: 31

Excerpts from internet.other.info-andrew: 7-Feb-92 Porting environment
for ATK.. Andrew Takats@zztop.roma (491)

> Can anyone recommend an O-O development environment to use for porting
> an ATK developed multi-media application to Motif?

First, of course,  is to point out that Andrew has adopted much of the
Motif look and feel.  

But I take your note to mean you want to reimplement an application
using the Motif library and want to avoid the pure C environment of
Motif.

There are three major contenders for object oriented programming in
Unix: C++, Modula-3, and Objective C.  Many sites are adopting C++,
despite the advantages of Modula-3.  Objective C has not been gaining
ground despite its use on Next systems.  I'm not aware of Motif
libraries for any of these, but I suspect they exist.  

Among the advantages of Modula-3 is automatic storage management (via
garbage collection), a feature capable of saving up to 25% of programmer
time on sizeable O-O projects.

At this writing a group (other than the Consortium) is building a layer
on top of ATK so ATK objects can be accessed from Modula-3.  Thus new
code could be written in Modula-3 while utilizing the ATK core written
in C.  The ATK Consortium hopes to be able to make this code available
later this year.  (Consortium members will get it earlier than
non-members.)

Fred Hansen
\enddata{text822, 101788}
\begindata{text822, 103814}
X-Andrew-WideReply: netnews.comp.soft-sys.andrew
X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail
Received: via nntppoll with nntp; Fri, 14 Feb 1992 16:08:48 -0500 (EST)
Path: andrew.cmu.edu!crabapple.srv.cs.cmu.edu!cantaloupe.srv.cs.cmu.edu!rochester!galileo.cc.rochester.edu!ub!zaphod.mps.ohio-state.edu!usc!wupost!darwin.sura.net!convex!convex!datri
From: datri@convex.com (Anthony A. Datri)
Newsgroups: comp.soft-sys.andrew
Subject: Re: Porting environment for ATK--> Motif
Message-ID: <1992Feb14.201918.19655@news.eng.convex.com>
Date: 14 Feb 92 20:19:18 GMT
References: <9202071449.AA07555@zztop.noname> <odaL3MC00VtjIupXVC@andrew.cmu.edu>
Sender: usenet@news.eng.convex.com (news access account)
Organization: Engineering, CONVEX Computer Corp., Richardson, Tx., USA
Lines: 5
Nntp-Posting-Host: lovecraft.convex.com
X-Disclaimer: This message was written by a user at CONVEX Computer
              Corp. The opinions expressed are those of the user and
              not necessarily those of CONVEX.


Personally, I find it amazing that so many people find it so important to
have art-deco borders around every line in their toolkits.

--
\enddata{text822, 103814}
\begindata{text822, 105022}
Return-path: <gaissmai@rzmain.rz.uni-ulm.de>
X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail
Received: from po3.andrew.cmu.edu via trymail
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/Mdb2iUC00UkTMo704R>;
          Fri, 14 Feb 1992 15:50:41 -0500 (EST)
Received: from netway.rz.uni-ulm.de by po3.andrew.cmu.edu (5.54/3.15) id <AA13333> for susan+; Fri, 14 Feb 92 15:50:25 EST
Received: from RZMAIN.DECnet MAIL11D_V3 by netway.rz.uni-ulm.de (5.57/UniUlm-1.0dm)
	id AA01475; Fri, 14 Feb 92 21:37:04 +0100
Date: Fri, 14 Feb 92 21:37:03 +0100
Message-Id: <9202142037.AA01475@netway.rz.uni-ulm.de>
From: gaissmai@rzmain.rz.uni-ulm.de
To: "susan+@andrew.cmu.edu"@netway.rz.uni-ulm.de
Subject: problems with building atk

dear susan

today i tried to install andrew on Ultrix4.1a (Decstation 500/200)
and X11R5. After a long time i got this error:

cc -Dvoid=int -G 0 -c  -O -I.-I/urzsoft/ultrix4/lib/andrew/include/atk-I/urzs  
oft/ultrix4/lib/andrew/include -I/urzsoft/ultrix4/lib/X11R5/include "-Wl,-D,1000
000"  tscript.c
ccom: Error: tscript.c, line 1281: t undefined
        if(ioctl (tp->SubChannel,       (int)(  (int)0x80000000	|((sizeof(int)&
0x7f            )<<16)|(t<<8)|  (int)(  (int)0x80000000 |((sizeof(int)&0x7f
        )<<16)|('t'<<8)| 105)   &0xff), &ON) == -1)
-----------------^
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.


Really, i don't know how should i fix this problem. Please, please send
me some suggestions for an workaround or an fix.
Thanks in advance
Charly
=========================================================================
Karl Gaissmaier                      gaissmai@rzmain.rz.uni-ulm.de
Rechenzentrum Uni Ulm                gaissmai@dulruu51.bitnet
Albert Einstein Allee 11
W-7900 Ulm / Germany
=========================================================================

\enddata{text822, 105022}
\begindata{text822, 106979}
X-Andrew-WideReply: netnews.comp.soft-sys.andrew
X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail
Received: via nntppoll with nntp; Sat, 15 Feb 1992 13:50:32 -0500 (EST)
Path: andrew.cmu.edu!crabapple.srv.cs.cmu.edu!fs7.ece.cmu.edu!sei.cmu.edu!cis.ohio-state.edu!rutgers!att!ucbvax!CAD.GATECH.EDU!dips
From: dips@CAD.GATECH.EDU (Deeptendu Majumder)
Newsgroups: comp.soft-sys.andrew
Subject: Mono monitor
Message-ID: <9202151819.AA24745@cad.gatech.edu>
Date: 15 Feb 92 18:17:37 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The Internet
Lines: 14

I am still in the process of installing ATK version 5.0.0
But I got to try out some of the binaries. The problem is
I have a mono Sun monitor. The ATK ends up looking funny
and unreabable where is tries to use color and the 3D
shapes. But it looks great on a color monitor which 
unfortunately is not what I going to display it on. Any
suggestions ?

I am compiling it on Sparcstation 1 with SunOS 4.1.1

thanks
deeptendu

ps: I did not realize it takes SO LONG to compile!!
\enddata{text822, 106979}
\begindata{text822, 108070}
X-Andrew-WideReply: netnews.comp.soft-sys.andrew
X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail
Received: via nntppoll with nntp; Sat, 15 Feb 1992 14:53:09 -0500 (EST)
Path: andrew.cmu.edu!crabapple.srv.cs.cmu.edu!cantaloupe.srv.cs.cmu.edu!rochester!news.bbn.com!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!rutgers!att!ucbvax!ATHENA.MIT.EDU!wdc
From: wdc@ATHENA.MIT.EDU (Bill Cattey)
Newsgroups: comp.soft-sys.andrew
Subject: .do files are too damned big on the Sun SPARC
Message-ID: <wdbKHc8GG02=N5taMC@athena.mit.edu>
Date: 15 Feb 92 19:07:20 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The Internet
Lines: 43

Here at MIT we compile Andrew for multiple hardware platforms.
I work pretty hard to keep things tuned so when we add a new hardware platform
we don' consume space with redundant copies of doc files, etc.
When the RS/6000 port came on-line, I hacked makedo.csh so that the
.do files would be about the same size as those on the other platforms.
Before my change, the .do files contained all the symbols, and were
the traditional size of the .dog files.

Well look at these numbers reported by du:

rt/dlib/atk: 7299
rt/bin: 5676
vax/dlib/atk: 4914
vax/bin: 3714
rsaix/dlib/atk: 8961
rsaix/bin: 5828
sparcsun/dlib/atk: 26562
sparcsun/bin: 4207

All of these numbers make sense except for the sparcsun/dlib/atk size.
(The RISC binaries are a little bigger, except where shared libraries
render them smaller again.)

My first idea was to, as with the RS/6000, strip the .do files.
Alas, Sun strip is mondo stupid copared to AIX strip which has a
PHD in symbol tables from Austin Texas.

AIX strip is smart enough to reduce the symbol table size without destroying
the data required to perform run-time loading.

Sun stripped .do files provide me with the helpful Core Dump of EZ when
run-time loaded.

One possibility is for me to compile the Sun platform without -g.
I am loathe to do this.  I generally keep around the .dog files and
use them for debugging.  I distribut the .do files to campus, and the
pedagogically correct way to do this all is for there to be separate
.dog files.

Does anybody know how to tell SunOS to reduce the size of the symbol
table without throwing out the baby with the bathwater?

-wdc
\enddata{text822, 108070}
\begindata{text822, 110377}
X-Andrew-WideReply: netnews.comp.soft-sys.andrew
X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail
Received: via nntppoll with nntp; Sat, 15 Feb 1992 15:57:29 -0500 (EST)
Path: andrew.cmu.edu!crabapple.srv.cs.cmu.edu!cantaloupe.srv.cs.cmu.edu!rochester!udel!darwin.sura.net!wupost!uwm.edu!linac!att!ucbvax!cen.jrc.it!h_gerlach
From: h_gerlach@cen.jrc.it (hilde gerlach)
Newsgroups: comp.soft-sys.andrew
Subject: active table of comments
Message-ID: <4dadQX801Uq1I4kkdx@kms1.kbs2.isei.jrc.it>
Date: 13 Feb 92 16:04:51 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The Internet
Lines: 11


Does anyone know what I would have to do to implement the Table of
Contents (active) into the Andrew help ?

Any HELP will be very appreciated.

Thanks


Hilde Gerlach
h_gerlach@jrc.it
\enddata{text822, 110377}
\begindata{text822, 111218}
X-Andrew-WideReply: netnews.comp.soft-sys.andrew
X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail
Received: via nntppoll with nntp; Sat, 15 Feb 1992 17:34:20 -0500 (EST)
Path: andrew.cmu.edu!crabapple.srv.cs.cmu.edu!cantaloupe.srv.cs.cmu.edu!rochester!udel!darwin.sura.net!gatech!prism!gt0963d
From: gt0963d@prism.gatech.EDU (Deeptendu Majumder)
Newsgroups: comp.soft-sys.andrew
Subject: Problem in building
Message-ID: <48884@hydra.gatech.EDU>
Date: 15 Feb 92 21:57:27 GMT
Organization: The Dream Chasers Syndicate
Lines: 52

I was compiling Andrew 5.0.0 on a SparcStation with SunOS 4.1.1
I ran into the following problem with mkfontdir
-----------------------------

touch install.time
touch install.doc
building (dependInstall) (/tmp_mnt/home/frencha1/dips3/andrew/xmkfontd)
make DESTDIR=/home/cae1/dips/Andrew/ATK install
touch install.time
touch install.doc
rm -f /home/cae1/dips/Andrew/ATK/X11fonts/fonts.alias
/usr/bin/X11/mkfontdir /home/cae1/dips/Andrew/ATK/X11fonts
/usr/bin/X11/mkfontdir: failed to create directory in /home/cae1/dips/Andrew/ATK/X11fonts
*** Error code 1
make: Fatal error: Command failed for target `install'
Current working directory /tmp_mnt/home/frencha1/dips3/andrew/xmkfontd
*** Error code 1
make: Fatal error: Command failed for target `dependInstall'
Current working directory /tmp_mnt/home/frencha1/dips3/andrew/xmkfontd
*** Error code 1
make: Fatal error: Command failed for target `dependInstall'
Current working directory /tmp_mnt/home/frencha1/dips3/andrew
*** Error code 1
make: Fatal error: Command failed for target `World'
-----------------------------

The following are some of the font files (linked) in the
directory /home/cae1/dips/Andrew/ATK/X11fonts. I am not familiar
with the workings of mkfontdi. I tried running mkfontdir by hand in
this directory. It gave the same error message about not being
able to create directories..???

------------------------------
amenu12.pcf@
andyof12.pcf@
apcrsr20.pcf@
apofic20.pcf@
aptcsr20.pcf@
apticn20.pcf@
bits1.pcf@
blshft12.pcf@
....
------------------------------

Any help will be most appreciated

thanks
deeptendu
-- 
------
"Like a harsh neon streaking  through the velvet darkness 
the whetted knife of Life tore its path through her Dreams"
\enddata{text822, 111218}
\begindata{text822, 113524}
X-Andrew-WideReply: netnews.comp.soft-sys.andrew
X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail
Received: via nntppoll with nntp; Sun, 16 Feb 1992 14:40:39 -0500 (EST)
Path: andrew.cmu.edu!crabapple.srv.cs.cmu.edu!cantaloupe.srv.cs.cmu.edu!rochester!news.bbn.com!usc!cs.utexas.edu!swrinde!gatech!prism!gt0963d
From: gt0963d@prism.gatech.EDU (Deeptendu Majumder)
Newsgroups: comp.soft-sys.andrew
Subject: Re: Mono monitor
Message-ID: <48936@hydra.gatech.EDU>
Date: 16 Feb 92 19:09:38 GMT
References: <9202151819.AA24745@cad.gatech.edu>
Organization: The Dream Chasers Syndicate
Lines: 37

Well I have been trying to make the scroll bars look
right on the monochrome monitor. There seem to be so
many preferences related to scrollbar and I just cannot
seem to get the right combination of black & white &
foreground and background!

Will please anybody tell me what are ALL the various
components of the scrollbars and which options affect
which parts. I have looked at the scroll.help file. It
did not help.

There is matte, there is button, there is elevator,
there is dot, the bar itself, scroll etc..etc...And
each of them have shadow, foreground,background...
I tried MimicOld option that gave variable results.
Everytime I start the app the bars look different..Boy!

I need somebody to exactly describe to me what is what
and which options should I set to make it look like the
most simple scrollbar (a white slider on a grey bar,
like xterms under twm)

And for ITC people. It would be nice if you include a
explanatory diagram of scrollbar in your scroll.help
file..

I have been struggling with this problem so long that
it is getting to me..

If I do not get help I have to give up on ATK I guess.

thanks
d
-- 
------
"Like a harsh neon streaking  through the velvet darkness 
the whetted knife of Life tore its path through her Dreams"
\enddata{text822, 113524}
\begindata{text822, 115435}
X-Andrew-WideReply: netnews.comp.soft-sys.andrew
X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail
Received: via nntppoll with nntp; Sun, 16 Feb 1992 21:02:10 -0500 (EST)
Path: andrew.cmu.edu!crabapple.srv.cs.cmu.edu!cantaloupe.srv.cs.cmu.edu!rochester!rutgers!usc!cs.utexas.edu!uwm.edu!linac!att!ucbvax!PANDA1.UOTTAWA.CA!kedem
From: kedem@PANDA1.UOTTAWA.CA (Kedem)
Newsgroups: comp.soft-sys.andrew
Subject: ezprint using Elan Eroff
Message-ID: <9202141957.AA15995@aix1.uottawa.CA>
Date: 14 Feb 92 19:57:40 GMT
Sender: usenet@ucbvax.BERKELEY.EDU
Organization: The Internet
Lines: 20


Hello,

I tried using the eroff package release 3.0.7A on SCO 3.2.2.

I used : troff -Tps file | eps - | lp

I didn't get any error messages, but the resulting file was empty of text.

My question:

1. Any more clues on where to look for the bug ?

2. Since I don't intend to buy another package, can I use groff instead ?

Thank you

Michael Kedem
University of Ottawa
kedem@aix1.uottawa.ca
\enddata{text822, 115435}
\begindata{text822, 116473}
X-Andrew-WideReply: netnews.comp.soft-sys.andrew
X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail
Received: via nntppoll with nntp; Mon, 17 Feb 1992 22:04:52 -0500 (EST)
Path: andrew.cmu.edu!crabapple.srv.cs.cmu.edu!fs7.ece.cmu.edu!sei.cmu.edu!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!mips!spool.mu.edu!agate!ucbvax!parc.xerox.com!janssen
From: janssen@parc.xerox.com (Bill Janssen)
Newsgroups: comp.soft-sys.andrew
Subject: Re: color printing?
Message-ID: <8dc5fuYB0KGDQWuGZl@nora.parc.xerox.com>
Date: 18 Feb 92 01:01:46 GMT
References: <UdaKpNC00VtjMupX0U@andrew.cmu.edu>
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The Internet
Lines: 11

Excerpts from ext.andrew: 12-Feb-92 Re: color printing? Fred
Hansen@andrew.cmu.e (785+0)

> (If someone knows a general solution for interspersing postScript in
> troff output, I'd be delighted to hear of it.)

I'd suggest focusing on a good way to do it for just GROFF and DWB
ditroff, myself, rather than try to support it for arbitary broken
troffs.

Bill
\enddata{text822, 116473}
\begindata{text822, 117546}
Return-path: <gaissmai@rzmain.rz.uni-ulm.de>
X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail
Received: from po2.andrew.cmu.edu via trymail
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/4dcCnWi00jZdM3gU5B>;
          Tue, 18 Feb 1992 06:24:20 -0500 (EST)
Received: from netway.rz.uni-ulm.de by po2.andrew.cmu.edu (5.54/3.15) id <AA00941> for susan+; Tue, 18 Feb 92 06:23:56 EST
Received: from RZMAIN.DECnet MAIL11D_V3 by netway.rz.uni-ulm.de (5.57/UniUlm-1.0dm)
	id AA17353; Tue, 18 Feb 92 12:21:02 +0100
Date: Tue, 18 Feb 92 12:21:01 +0100
Message-Id: <9202181121.AA17353@netway.rz.uni-ulm.de>
From: gaissmai@rzmain.rz.uni-ulm.de
To: "susan+@andrew.cmu.edu"@netway.rz.uni-ulm.de
Subject: problems with building atk

sorry, i write again to you, because reply doesn't work to Gary

hello Gary

thanks for your reply.
the operating system is Ultrix 4.1a, and my machine is a 5000/200
Decstation, therefore i changed the .../andrew/config/platform.tmpl

> #if (defined(mips) && defined(ultrix))
> #include <pmax_41/system.mcr>
> #define MacroIncludeFile pmax_41/system.mcr
> #endif /* mips && ultrix */

and therefore the Variable  sys_pmax_ul4 is not defined but sys_pmax_41.

Please help me with more Information!
Was it an error to change platform.tmp ?

thanks in advance
charly
=========================================================================
Karl Gaissmaier                      gaissmai@rzmain.rz.uni-ulm.de
Rechenzentrum Uni Ulm                gaissmai@dulruu51.bitnet
Albert Einstein Allee 11
W-7900 Ulm / Germany
=========================================================================


\enddata{text822, 117546}
\begindata{text822, 119222}
X-Andrew-WideReply: netnews.comp.soft-sys.andrew
X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail
Received: via nntppoll with nntp; Fri, 21 Feb 1992 18:57:25 -0500 (EST)
Path: andrew.cmu.edu!crabapple.srv.cs.cmu.edu!cantaloupe.srv.cs.cmu.edu!rochester!rutgers!ub!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!allegra.att.com!bill
From: bill@allegra.att.com (Bill Schell)
Newsgroups: comp.soft-sys.andrew
Subject: Re: fonts / scrollbars with Andrew rel. 5 under Openwindows 3.0
Message-ID: <wddMVtb02mCPE1T54S@gargoyle>
Date: 21 Feb 92 23:17:13 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The Internet
Lines: 7

Just an addenda to my previous plea for help:

The same problems occur also under regular X11R5.  What am I
doing wrong?

Bill Schell
bill@allegra.att.com
\enddata{text822, 119222}
\begindata{text822, 120065}
X-Andrew-WideReply: netnews.comp.soft-sys.andrew
X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail
Received: via nntppoll with nntp; Fri, 21 Feb 1992 19:30:30 -0500 (EST)
Path: andrew.cmu.edu!crabapple.srv.cs.cmu.edu!cantaloupe.srv.cs.cmu.edu!rochester!cornell!batcomputer!rpi!uwm.edu!linac!att!ucbvax!allegra.att.com!bill
From: bill@allegra.att.com (Bill Schell)
Newsgroups: comp.soft-sys.andrew
Subject: fonts / scrollbars with Andrew rel. 5 under Openwindows 3.0
Message-ID: <gddGTtr02mCP1ilUVD@gargoyle>
Date: 21 Feb 92 16:25:29 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Distribution: world
Organization: The Internet
Lines: 26

I'm having a few problems with fonts and scrollbars under Andrew rel.
5.0.   I've just put up release 5.0 under Openwindows 3.0.  I had Andrew
PL10 running before under Openwindows 3.0, so I'm just fighting the
differences between PL10 and 5.0 (and maybe X11R4 to X11R5 changes).

First, my fonts are a bit screwed up.  I have /usr/andrew/xnwsfnts in my
fontpath, so my cursors are right,  but my Menus and Menubars have a
tiny fixed width font in them and changing  the requisite font
preferences doesn't help.  Also, the variable width fonts in messages,
help, etc. all have a wide interline spacing that I don't like.

Second, the new scrollbars look fine on my color display, but none too
good on my monocrome display.  Setting *.MimicOldScrollbar: TRUE doesn't
help.  

I've included a raster picture that shows all of these problems below.
It's the top of this sendmessage window.

Has anyone out there solved these problems already?  

Thanks,
	Bill Schell
	bill@allegra.att.com
	AT&T Bell Labs, Murray Hill, NJ
[An Andrew ToolKit view (a raster image) was included here, but could
not be displayed.]
\enddata{text822, 120065}
\begindata{text822, 121864}
X-Andrew-WideReply: netnews.comp.soft-sys.andrew
X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail
Received: via nntppoll with nntp; Sat, 22 Feb 1992 02:27:53 -0500 (EST)
Path: andrew.cmu.edu!crabapple.srv.cs.cmu.edu!cantaloupe.srv.cs.cmu.edu!rochester!news.bbn.com!usc!zaphod.mps.ohio-state.edu!mips!mips!munnari.oz.au!network.ucsd.edu!dog.ee.lbl.gov!ucbvax!parc.xerox.com!janssen
From: janssen@parc.xerox.com (Bill Janssen)
Newsgroups: comp.soft-sys.andrew
Subject: stuck messages
Message-ID: <AddPRs0B0KGWJF1Lp0@holmes.parc.xerox.com>
Date: 22 Feb 92 02:37:44 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Distribution: world
Organization: The Internet
Lines: 11

Moving from our old (pl7) ATK to the new 5.0.0 release, we have more
than once been fouled up by messages.  It gets into a state where
neither the new or old messages can file new messages from the ~/Mailbox
file into ~/.MESSAGES/mail (or, indeed, ~/.MESSAGES/<anything>).  It
seems to be caused by having an instance of the old pl7 messages running
at the same time as you start the new 5.0.0 messages.  A fix (which I
don't understand) seems to be to use cui to "rebuild ~/.MESSAGES".

Does anyone have any notion of what's going on here, and how we could avoid it?

Bill
\enddata{text822, 121864}
\begindata{text822, 123159}
X-Andrew-WideReply: netnews.comp.soft-sys.andrew
X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail
Received: via nntppoll with nntp; Sat, 22 Feb 1992 02:27:50 -0500 (EST)
Path: andrew.cmu.edu!crabapple.srv.cs.cmu.edu!cantaloupe.srv.cs.cmu.edu!rochester!news.bbn.com!usc!rpi!uwm.edu!linac!att!ucbvax!parc.xerox.com!janssen
From: janssen@parc.xerox.com (Bill Janssen)
Newsgroups: comp.soft-sys.andrew
Subject: 5.0.0 crashes MacX 1.1
Message-ID: <8ddPSv8B0KGW5F1MBi@holmes.parc.xerox.com>
Date: 22 Feb 92 02:38:51 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Distribution: world
Organization: The Internet
Lines: 4

When we try to run a tool from ATK 5.0.0 on MacX 1.1, it crashes MacX. 
Anyone have any ideas why?

Bill
\enddata{text822, 123159}
\begindata{text822, 123932}
X-Andrew-WideReply: netnews.comp.soft-sys.andrew,netnews.comp.text
X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail
Received: via nntppoll with nntp; Sun, 23 Feb 1992 15:43:35 -0500 (EST)
Xref: crabapple.srv.cs.cmu.edu comp.soft-sys.andrew:3314 comp.text:9750
Path: andrew.cmu.edu!crabapple.srv.cs.cmu.edu!fs7.ece.cmu.edu!sei.cmu.edu!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!usc!wupost!darwin.sura.net!gatech!prism!gt0963d
From: gt0963d@prism.gatech.EDU (Deeptendu Majumder)
Newsgroups: comp.soft-sys.andrew,comp.text
Subject: printing from EZ
Message-ID: <49789@hydra.gatech.EDU>
Date: 23 Feb 92 20:08:55 GMT
Followup-To: poster
Organization: The Dream Chasers Syndicate
Lines: 27

I usually print ez documents (without any raster, etc..) by using
the following command.

ezprint -t filename|troff -Tpsc -t|lpr -t -

and it works..

Now I am trying to do printing from the menus of ez, help, etc..

So I put the following lines in my ~/.preferences file:

formatcommand: ezprint -t /tmp/%s.n|troff -Tpsc -t|
printcommand: lpr -t -

The output has the desired bodyfont (which I specified to be
andy10). But the troff commands do not seem to get processed.
They come out printed along with the rest of the text !!!

any suggestion ?

thanks
deeptendu

-- 
------
"Like a harsh neon streaking  through the velvet darkness 
the whetted knife of Life tore its path through her Dreams"
\enddata{text822, 123932}
\begindata{text822, 125379}
X-Andrew-WideReply: netnews.comp.soft-sys.andrew
X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail
Received: via nntppoll with nntp; Mon, 24 Feb 1992 16:02:56 -0500 (EST)
Path: andrew.cmu.edu!crabapple.srv.cs.cmu.edu!cantaloupe.srv.cs.cmu.edu!rochester!galileo.cc.rochester.edu!ub!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!spool.mu.edu!uunet!indetech!nocsun.NOC.Vitalink.COM!NOC.Vitalink.COM!edc
From: edc@NOC.Vitalink.COM (Eric D. Christensen)
Newsgroups: comp.soft-sys.andrew
Subject: problem with doindex in 5.0.0
Keywords: Andrew doindex
Message-ID: <1992Feb24.190344.25742@NOC.Vitalink.COM>
Date: 24 Feb 92 19:03:44 GMT
Sender: usenet@NOC.Vitalink.COM (Usenet News Admin)
Reply-To: edc@noc.vitalink.com
Organization: Vitalink Communications, Fremont, CA
Lines: 130
Nntp-Posting-Host: sandy.noc.vitalink.com

Please excuse me if this has been covered before. I'm building Andrew for the
first time and just subscribed to this group. As I understand it, I'm allowed
one stupid question due to ignorance, right? :-)

I'm having a problem building 5.0.0 on a Sun 4 running 4.1.1 SunOS. Doindex
always exits with the message "...dlopen: stub interception failed". For
example while doing a "make dependInstall" in overhead/class/testing. I get
the following output:

sandy{edc}229: make dependInstall
../../.././config/depend.csh /usr/local/bin/makedepend ../pp/class \
"-I. -I../lib -I../machdep/machine -I. -I/cactus/home2/edc/andrew/include/atk -I/cactus/home2/edc/andrew/include -I/usr/local/include/X11" " "
`testobj.ih' is up to date.
`testobj2.ih' is up to date.
make DESTDIR=/cactus/home2/edc/andrew install
rm -f testobj.o
cc -pic -c  -O -I. -I../lib -I../machdep/machine -I. -I/cactus/home2/edc/andrew/include/atk -I/cactus/home2/edc/andrew/include -I/usr/local/include/X11   testobj.c
mv testobj.o shared/testobj.o
cc -c  -O -I. -I../lib -I../machdep/machine -I. -I/cactus/home2/edc/andrew/include/atk -I/cactus/home2/edc/andrew/include -I/usr/local/include/X11   testobj.c
/cactus/home2/edc/andrew/bin/makedo -g -b ../cmd -d /cactus/home2/edc/andrew/lib -s -o testobj.do testobj.o
/cactus/home2/edc/andrew/bin/doindex testobj.do
doindex: indexing testobj.do ...dlopen: stub interception failed
*** Abort - core dumped
make: Fatal error: Command failed for target `testobj.do'
Current working directory /cactus/home2/edc/src/andrew/overhead/class/testing
*** Error code 1
make: Fatal error: Command failed for target `dependInstall'


Tracing doindex doesn't help me much either: 

open ("/usr/lib/ld.so", 0, 040630) = 3
read (3, "".., 32) = 32
mmap (0, 40960, 0x5, 0x80000002, 3, 0) = 0xf77e0000
mmap (0xf77e8000, 8192, 0x7, 0x80000012, 3, 32768) = 0xf77e8000
open ("/dev/zero", 0, 07) = 4
getrlimit (3, 0xf7fff900) = 0
mmap (0xf7800000, 8192, 0x3, 0x80000012, 4, 0) = 0xf7800000
close (3) = 0
open ("/cactus/home2/edc/andrew/lib/lib".., 0, 015133400000) = 3
read (3, "".., 32) = 32
mmap (0, 32780, 0x5, 0x80000002, 3, 0) = 0xf77c0000
mmap (0xf77c6000, 8192, 0x7, 0x80000012, 3, 24576) = 0xf77c6000
close (3) = 0
getuid () = 446
getgid () = 10
open ("/etc/ld.so.cache", 0, 05000100021) = 3
fstat (3, 0xf7fff7a0) = 0
mmap (0, 4096, 0x1, 0x80000001, 3, 0) = 0xf77a0000
close (3) = 0
open ("/usr/local/oms/lib", 0, 01010525) = 3
fstat (3, 0xf7fff7a0) = 0
mmap (0xf7802000, 8192, 0x3, 0x80000012, 4, 0) = 0xf7802000
getdents (3, 0xf7800178, 8192) = 148
getdents (3, 0xf7800178, 8192) = 0
close (3) = 0
open ("/lib", 0, 022) = 3
getdents (3, 0xf7800178, 8192) = 3528
getdents (3, 0xf7800178, 8192) = 0
close (3) = 0
open ("/usr/local/lib", 0, 04) = 3
getdents (3, 0xf7800178, 8192) = 1268
getdents (3, 0xf7800178, 8192) = 0
close (3) = 0
open ("/usr/openwin/lib", 0, 016) = 3
getdents (3, 0xf7800178, 8192) = 1432
mmap (0xf7804000, 8192, 0x3, 0x80000012, 4, 0) = 0xf7804000
getdents (3, 0xf7800178, 8192) = 0
close (3) = 0
open ("/cactus/home2/edc/andrew/lib", 0, 020) = 3
getdents (3, 0xf7800178, 8192) = 544
getdents (3, 0xf7800178, 8192) = 0
close (3) = 0
open ("/cactus/home2/edc/andrew/lib/lib".., 0, 030710) = 3
read (3, "".., 32) = 32
mmap (0, 32780, 0x5, 0x80000002, 3, 0) = 0xf7780000
mmap (0xf7786000, 8192, 0x7, 0x80000012, 3, 24576) = 0xf7786000
close (3) = 0
open ("/lib/libdl.so.1.0", 0, 030730) = 3
read (3, "".., 32) = 32
mmap (0, 16396, 0x5, 0x80000002, 3, 0) = 0xf7760000
mmap (0xf7762000, 8192, 0x7, 0x80000012, 3, 8192) = 0xf7762000
close (3) = 0
open ("/lib/libc.so.1.6", 0, 030750) = 3
read (3, "".., 32) = 32
mmap (0, 458764, 0x5, 0x80000002, 3, 0) = 0xf76d0000
mmap (0xf773c000, 16384, 0x7, 0x80000012, 3, 442368) = 0xf773c000
close (3) = 0
close (4) = 0
open ("/dev/zero", 02, 036734520110) = 3
dup (3) = 4
close (3) = 0
getpagesize () = 4096
brk (0x7218) = 0
brk (0x8218) = 0
open ("testobj.do", 0, 0) = 3
ioctl (1, 0x40125401, 0xf7ffe9a4) = 0
write (1, "doindex: indexing testobj.do ...", 32) = 32
write (2, "dlopen: stub interception failed".., 33) = 33
sigblock (0x20) = 0
sigvec (6, 0xf7fff3ac, 0xf7fff3a0) = 0
sigvec (6, 0xf7fff334, 0) = 0
sigsetmask (0) = 0x20
close (0) = 0
close (1) = 0
close (2) = 0
getpid () = 22213
kill (22213, 6) = 0
- SIGIOT (6)

Any ideas????? I'm poking around here sort of lost. I'm not really familiar
with Andrew at all to begin with and I'm not quite sure exactly how this
dynamic linking stuff is supposed to work either.

Oh, bu the way, the core is over 8MB which strikes me as kinda wierd for a
small littel progream that doesn't malloc anything that looks liike ti would
be huge.

Any help or advice would be greatly appreciated!!!!!!

Thanks!!!!!!

-- 
+---------------------------------------------------------------------------+
| Eric D. Christensen - Vitalink Communications - Network Operations Center |
|        Email: edc@noc.vitalink.com           Phone: (510)795-6123         |
|    SCCA San Francisco Region - Formula 440 #6, Solo II HS Impulse #19     |
+---------------------------------------------------------------------------+
|        "Due to a lack of interest, reality has been cancelled."           |
+---------------------------------------------------------------------------+
\enddata{text822, 125379}
\begindata{text822, 131520}
X-Andrew-WideReply: netnews.comp.soft-sys.andrew
X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail
Received: via nntppoll with nntp; Mon, 24 Feb 1992 19:03:22 -0500 (EST)
Path: andrew.cmu.edu!crabapple.srv.cs.cmu.edu!cantaloupe.srv.cs.cmu.edu!rochester!cornell!batcomputer!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!swrinde!network.ucsd.edu!dog.ee.lbl.gov!ucbvax!eecs.ucdavis.edu!endo
From: endo@eecs.ucdavis.edu ("Kaoru ENDO    CIPIC UC.Davis, CA, U.S.A.")
Newsgroups: comp.soft-sys.andrew
Subject: Request Info about ATK Consortium
Message-ID: <9202242243.AA24185@madrone.eecs.ucdavis.edu>
Date: 24 Feb 92 22:43:34 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The Internet
Lines: 16


   Is there some one who explain me about ATK consortium in detail ?
   I would like to know :

 1) What is ATK consortium?
 2) What is purpose?
 3) WHo is member, currently?
 4) Who to Join it?
 5) Is there plan to develop Audio Insets ? If yes who is going to do it?
 6) Is there plan to develop Video Insets ? If yes who is going to do it?
 7) Is there plan to develop Gray-Scale Image Insets ? 
       If yes who is going to do it.

   I'm sorry for many questions.

- KAORU
\enddata{text822, 131520}
\begindata{text822, 132753}
X-Andrew-WideReply: netnews.comp.soft-sys.andrew
X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail
Received: via nntppoll with nntp; Mon, 24 Feb 1992 19:42:15 -0500 (EST)
Organization: School of Computer Science, Carnegie Mellon, Pittsburgh, PA
Path: andrew.cmu.edu!crabapple.srv.cs.cmu.edu!andrew.cmu.edu!gk5g+
Newsgroups: comp.soft-sys.andrew
Message-ID: <4deMVIm00Vs9QPToME@andrew.cmu.edu>
Date: Mon, 24 Feb 1992 19:05:40 -0500 
From: Gary Keim <gk5g+@andrew.cmu.edu>
Subject: We're Here

I apologize for not responding to any of your posts for so long.
Basically, we somehow lost our feed (or something -- things weren't
being forwarded into my Mailbox like usual) and I just thought, "Hey,
everything must be OK.  No news, is good news."  So, I was busy working
away on the CD-ROM distribution without a clue.  How naive I can
sometimes be.

Gary Keim
ATK Consortium
\enddata{text822, 132753}
\begindata{text822, 133686}
X-Andrew-WideReply: netnews.comp.soft-sys.andrew
X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail
Received: via nntppoll with nntp; Mon, 24 Feb 1992 21:00:11 -0500 (EST)
Path: andrew.cmu.edu!crabapple.srv.cs.cmu.edu!cantaloupe.srv.cs.cmu.edu!rochester!cornell!batcomputer!caen!spool.mu.edu!uunet!auspex-gw!guy
From: guy@Auspex.COM (Guy Harris)
Newsgroups: comp.soft-sys.andrew
Subject: Re: problem with doindex in 5.0.0
Keywords: Andrew doindex
Message-ID: <11927@auspex-gw.auspex.com>
Date: 25 Feb 92 00:20:17 GMT
Article-I.D.: auspex-g.11927
References: <1992Feb24.190344.25742@NOC.Vitalink.COM>
Sender: news@auspex-gw.auspex.com
Organization: Auspex Systems, Santa Clara
Lines: 22
Nntp-Posting-Host: auspex.auspex.com

>I'm having a problem building 5.0.0 on a Sun 4 running 4.1.1 SunOS. Doindex
>always exits with the message "...dlopen: stub interception failed".

...

>open ("/lib/libdl.so.1.0", 0, 030730) = 3

Make *VERY* sure that *NONE* of the commands that link *ANY* programs
that use the "-ldl" library have "-L/lib" or any other weird "-L"
options; if they do, the system may find "libdl.so.1.0" in "/lib" rather
than in "/usr/lib", and if it does, it gets *VERY* confused.  (Don't ask
why.  Trust me.  You *DON'T* want to know how that stuff works, or why
it *ONLY* works if it finds "libdl.so.1.0" in "/usr/lib".  Really.)

>Oh, bu the way, the core is over 8MB which strikes me as kinda wierd for a
>small littel progream that doesn't malloc anything that looks liike ti would
>be huge.

Dynamically linked programs in SunOS 4.x produce very large core files,
although the files have a hole in them so they don't take up as much
disk space as they'd appear to (unless you copy them, in which case the
hole gets filled in).
\enddata{text822, 133686}
\begindata{text822, 135489}
X-Andrew-WideReply: netnews.comp.soft-sys.andrew
X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail
Received: via nntppoll with nntp; Mon, 24 Feb 1992 22:08:51 -0500 (EST)
Organization: Carnegie Mellon, Pittsburgh, PA
Path: andrew.cmu.edu!crabapple.srv.cs.cmu.edu!andrew.cmu.edu!gk5g+
Newsgroups: comp.soft-sys.andrew
Message-ID: <cdeOX_q00Vs9Athkp2@andrew.cmu.edu>
Date: Mon, 24 Feb 1992 21:24:10 -0500 
From: Gary Keim <gk5g+@andrew.cmu.edu>
Subject: Re: Request Info about ATK Consortium
In-Reply-To: <9202242243.AA24185@madrone.eecs.ucdavis.edu>
References: <9202242243.AA24185@madrone.eecs.ucdavis.edu>

Excerpts from netnews.comp.soft-sys.andrew: 24-Feb-92 Request Info about
ATK Cons.. Kaoru E. C. U. CA@eecs.u (480)

>  7) Is there plan to develop Gray-Scale Image Insets ? 
>        If yes who is going to do it.


Yes.  I take responsibility for this project.  You will be able to have
color, and greyscale, images in your ATK documents (or anywhere else
insets are allowed) in the future.  A prototype implementation exists
but is not yet ready for prime time.

Fred Hansen, the Consortium director, will answer your other questions.

Gary Keim
ATK Consortium
\enddata{text822, 135489}
\begindata{text822, 136720}
X-Andrew-WideReply: netnews.comp.soft-sys.andrew
X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail
Received: via nntppoll with nntp; Tue, 25 Feb 1992 00:49:22 -0500 (EST)
Path: andrew.cmu.edu!crabapple.srv.cs.cmu.edu!cantaloupe.srv.cs.cmu.edu!rochester!news.bbn.com!usc!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!ankh.ftl.fl.us!pax
From: pax@ankh.ftl.fl.us (Garry M. Paxinos)
Newsgroups: comp.soft-sys.andrew
Subject: Request Info about ATK Consortium
Message-ID: <m0lIrzm-0002MCC@ankh.ftl.fl.us>
Date: 25 Feb 92 02:34:00 GMT
References: <9202242243.AA24185@madrone.eecs.ucdavis.edu>
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The Internet
Lines: 18


I would also be interested in these issues, so it might be worth
a general post...

"Kaoru ENDO    CIPIC UC.Davis, CA, U.S.A." writes:
 > 
 >    Is there some one who explain me about ATK consortium in detail ?
 >    I would like to know :
 > 
 >  5) Is there plan to develop Audio Insets ? If yes who is going to do it?
 >  6) Is there plan to develop Video Insets ? If yes who is going to do it?
 >  7) Is there plan to develop Gray-Scale Image Insets ? 
 >        If yes who is going to do it.

These especialy!

Thanks,
Pax.
\enddata{text822, 136720}
\begindata{text822, 137995}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
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 </afs/andrew.cmu.edu/usr22/susan/Mailbox/8dee=fG00Udd8i2k5s>;
          Tue, 25 Feb 1992 15:11:23 -0500 (EST)
Received: from po5.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q001/QF.Adee:C:00UddQhvk4q>;
          Tue, 25 Feb 1992 15:09:51 -0500 (EST)
Received: from ucbvax.Berkeley.EDU by po5.andrew.cmu.edu (5.54/3.15) id <AA11745> for info-andrew; Tue, 25 Feb 92 15:09:27 EST
Received: by ucbvax.Berkeley.EDU (5.63/1.43)
	id AA28191; Tue, 25 Feb 92 11:53:17 -0800
Received: from USENET by ucbvax.Berkeley.EDU with netnews
	for info-andrew@andrew.cmu.edu (info-andrew@andrew.cmu.edu)
	(contact usenet@ucbvax.Berkeley.EDU if you have questions)
Date: 25 Feb 92 00:20:17 GMT
From: auspex-gw!guy@uunet.uu.net  (Guy Harris)
Organization: Auspex Systems, Santa Clara
Subject: Re: problem with doindex in 5.0.0
Message-Id: <11927@auspex-gw.auspex.com>
References: <1992Feb24.190344.25742@NOC.Vitalink.COM>
Sender: info-andrew-request@andrew.cmu.edu
To: info-andrew@andrew.cmu.edu

>I'm having a problem building 5.0.0 on a Sun 4 running 4.1.1 SunOS. Doindex
>always exits with the message "...dlopen: stub interception failed".

...

>open ("/lib/libdl.so.1.0", 0, 030730) = 3

Make *VERY* sure that *NONE* of the commands that link *ANY* programs
that use the "-ldl" library have "-L/lib" or any other weird "-L"
options; if they do, the system may find "libdl.so.1.0" in "/lib" rather
than in "/usr/lib", and if it does, it gets *VERY* confused.  (Don't ask
why.  Trust me.  You *DON'T* want to know how that stuff works, or why
it *ONLY* works if it finds "libdl.so.1.0" in "/usr/lib".  Really.)

>Oh, bu the way, the core is over 8MB which strikes me as kinda wierd for a
>small littel progream that doesn't malloc anything that looks liike ti would
>be huge.

Dynamically linked programs in SunOS 4.x produce very large core files,
although the files have a hole in them so they don't take up as much
disk space as they'd appear to (unless you copy them, in which case the
hole gets filled in).
\enddata{text822, 137995}
\begindata{text822, 140340}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
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 </afs/andrew.cmu.edu/usr22/susan/Mailbox/sdfF8Bm00UddMUPU5o>;
          Thu, 27 Feb 1992 11:30:06 -0500 (EST)
Received: from po5.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q000/QF.gdfF3UK00UddIUHE4j>;
          Thu, 27 Feb 1992 11:25:10 -0500 (EST)
Received: from research.att.com by po5.andrew.cmu.edu (5.54/3.15) id <AA08263> for info-andrew; Thu, 27 Feb 92 11:24:58 EST
Received: by inet; Thu Feb 27 11:24 EST 1992
Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.gargoyle.sun4.41
          via MS.5.6.gargoyle.sun4_41;
          Thu, 27 Feb 1992 11:24:47 -0500 (EST)
Message-Id: <UdfF3Dv02mCP9N41VI@gargoyle>
Date: Thu, 27 Feb 1992 11:24:47 -0500 (EST)
From: Bill Schell <bill@allegra.att.com>
To: info-andrew@andrew.cmu.edu
Subject: problems with scrollbar appearence on monochrome displays (with rel. 5)

I've solved the problem of the new Motif scrollbars appearing strangely
on my monochrome display.  Several people suggested that  the problem
might be caused by Foreground/Background color settings on the
monochrome display, but this wasn't the case.  I fixed the problem by
setting "Scrollstyle: 3" explicitly.   The documentation states that
MimicOldScrollbar is true by default for monochrome screens.  It also
states that when this is true that Scrollstyle defaults to 3.  I've
found the latter statement to be untrue.  Even with MimicOldScrollbar
set to TRUE explicitly, my scrollbars are screwed up unless I also set
Scrollstyle to 3.   Can someone at ITC fix this or the documentation?

Bill Schell
bill@allegra.att.com
AT&T Bell Labs, Murray Hill, NJ

PS:  

The new scrollbars look great on a color screen, but ScrollStyle: 3     
  looks pretty plain.  It would be nice if there was something prettier
for monochrome displays.
\enddata{text822, 140340}
\begindata{text822, 142450}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
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 </afs/andrew.cmu.edu/usr22/susan/Mailbox/kdfGq0W00jZd4N1U83>;
          Thu, 27 Feb 1992 13:27:13 -0500 (EST)
Received: from po5.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q003/QF.sdfGp=O00UddMho04U>;
          Thu, 27 Feb 1992 13:26:19 -0500 (EST)
Received: from research.att.com by po5.andrew.cmu.edu (5.54/3.15) id <AA11723> for info-andrew; Thu, 27 Feb 92 13:26:14 EST
Received: by inet; Thu Feb 27 13:26 EST 1992
Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.gargoyle.sun4.41
          via MS.5.6.gargoyle.sun4_41;
          Thu, 27 Feb 1992 13:25:59 -0500 (EST)
Message-Id: <odfGorL02mCPFN434U@gargoyle>
Date: Thu, 27 Feb 1992 13:25:59 -0500 (EST)
From: Bill Schell <bill@allegra.att.com>
X-Andrew-Message-Size: 667+1
Content-Type: X-BE2; 12
If-Type-Unsupported: send
To: info-andrew@andrew.cmu.edu
Subject: monochrome 3D insets under rel. 5

\begindata{text,1714536}
\textdsversion{12}
\template{messages}
Has anyone else noticed that the new Motify 3D appearance of various

insets (button, slider, four-way, on/off switch, etc.) don't look at

all well on monochrome displays?  It's hard to tell that a button is

a button.  Here's a raster of a four-way, for instance:

\begindata{raster,2543952}
2 0 65536 65536 0 0 80 80
bits 2543952 80 80
p |
p |
p |
3fNf8 |
3fIfej08 |
3fIfcj28 |
38n68 |
38n68 |
38n68 |
38n68 |
38n68 |
38n68 |
38n68 |
38n68 |
38n68 |
38n68 |
38n68 |
3bf0m68 |
3910m68 |
3951cccb8003bb	cee068 |
39c22444g0110	244068 |
39422444g0151	e44068 |
39022444g0152	228068 |
39022444ha223	8068 |
3bc1c3afha1d1	g68 |
38l01g68 |
38l01g68 |
38l06g68 |
38n68 |
38n68 |
38n68 |
38n68 |
38n68 |
38n68 |
38n68 |
38n68 |
38n68 |
38n68 |
38j7fIe8 |
30jJe8 |
20n08 |
20i02j28 |
20i06j68 |
20i06j68 |
20i06j68 |
20i06j68 |
20i06j68 |
20i06j68 |
20i06j68 |
20i06j68 |
20i06j68 |
20i06j68 |
20i06j68 |
20i06j68 |
20i06j68 |
20i06j68 |
20i06j68 |
20i06j68 |
20i06j68 |
20i06j68 |
20i06j68 |
20i06j68 |
20i06j68 |
20i06j68 |
20i06j68 |
20i06j68 |
20i06j68 |
20i06j68 |
20i06j68 |
20i06j68 |
20i06j68 |
20i06j68 |
20i06j68 |
20i06j68 |
27Ife7fIe8 |
2fIfeJe8 |
20n08 |
3fNf8 |
p |
p |
\enddata{raster, 2543952}
\view{rasterview,2543952,2,0,0}

The upper-left button is the one depressed here.  Not too many applications 
use four-way's, but there are plenty with pop-up windows

with confirm or yes/no buttons in them.   These look about the same

way.  An easy way to demonstrate this is to invoke 'arb' and select "Init 
Value Window" from the Arbcon menu card.


Or is it just me?


Bill Schell

bill@allegra.att.com

AT&T Bell Labs, Murray Hill, NJ


\enddata{text,1714536}

\enddata{text822, 142450}
\begindata{text822, 145397}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
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 </afs/andrew.cmu.edu/usr22/susan/Mailbox/8dfIB7m00Vs9Es7k4x>;
          Thu, 27 Feb 1992 15:00:08 -0500 (EST)
If-Type-Unsupported: send
Received: from rascal.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/usr13/gk5g/.Outgoing/QF.cdfI:ym00Vs9QSiWNk>;
          Thu, 27 Feb 1992 14:57:51 -0500 (EST)
Received: from Messages.8.4.N.CUILIB.3.45.SNAP.NOT.LINKED.rascal.andrew.cmu.edu.rs.aix31
          via MS.5.6.rascal.andrew.cmu.edu.rs_aix31;
          Thu, 27 Feb 1992 14:57:50 -0500 (EST)
Message-ID: <odfI_yi00Vs94SiWEb@andrew.cmu.edu>
Date: Thu, 27 Feb 1992 14:57:50 -0500 (EST)
From: Gary Keim <gk5g+@andrew.cmu.edu>
X-Andrew-Message-Size: 431+1
Content-Type: X-BE2; 12
To: Info-Andrew <info-andrew+@andrew.cmu.edu>
Subject: Re: monochrome 3D insets under rel. 5
In-Reply-To: <odfGorL02mCPFN434U@gargoyle>
References: <odfGorL02mCPFN434U@gargoyle>

\begindata{text,538842244}
\textdsversion{12}
\template{messages}
\excerptedcaption{Excerpts from misc: 27-Feb-92 monochrome 3D insets under .. 
Bill Schell@allegra.att. (667+1)}


\quotation{Has anyone else noticed that the new Motify 3D appearance of 
various

}\quotation{insets (button, slider, four-way, on/off switch, etc.) don't look 
at

}\quotation{all well on monochrome displays?

}
This is the bug that Bill Janssen has been working on fixing.  He's testing a 
patch right now that will make things look like this on a monochrome display:


\begindata{raster,539992200}
2 0 65536 65536 0 0 342 235
bits 539992200 342 235
ZZHfc |
ZZHfc |
ZZHfc |
ZZHfc |
fa/aa/aa(aaac |
fd/55/55(555c |
fazzg3c |
fczzg3c |
fazzg3c |
fczzg3c |
fazzg3c |
fczzg3c |
fai01f18060g03	f0iGg0180g7ci	1bi2080s3c |
fci0198g60g03	18i18g0180g66	i03i!40s3c |
fa03cf80018d9e	678f8319e660g	1878f3e0g633c	78f37be3c0g20
 8a22a0q3c |
fc066180018db3	6cd9831b3660g	18cd9980g6366	cd9bdb3660g!51
 1510q3c |
fa0663g018d83	6cd983f333c0g	18cd8180g6366	c1839b3660g2a
 88a888q3c |
fc07e2g018d9f	6cd9831b3180g	18fcf180g637e	79831b37e0g44
 511150q3c |
fa!06g018db36c	d9831b33c0g18	c01980g63600d	831b36h2a88a0
 80q3c |
fc066cg0199b3	6cd9831b3660g	18cd9980g!66cd	9b1b3660g4451
 "11p3c |
fa03cf8001f19f	e78f83f1e660g	1878f0e0g7c3c	78f31be3c0g20
 8a20a08880o3c |
fcm0180zr3c |
fam1980zr3c |
fcm0fzs3c |
fazzg3c |
fczzg3c |
fazzg3c |
fczzg3c |
fazzg3c |
fczzg3c |
fbZZGfc |
ZZHfc |
fc/44/44(444c |
f8zzg0c |
f8/44/44(445c |
f9!1112/aa/aa%aa	ac |
fc!4445/55/55%55	5c |
f9h02zx2c |
f8!1115zw015c |
f9!1122zx2c |
fc!4455zx5c |
f9!1122zx2c |
f8044455zw015c |
f910a922zx2c |
fc455455zx5c |
f9108122zx2c |
f8051455zw015c |
f9!1122zx2c |
fc!4455zx5c |
f9!1122zx2c |
f8044455zw015c |
f92aaaa2zx2c |
fc"55zx5c |
f9!1112zx2c |
f8!4445zw015c |
f9!1112zx2c |
fc!4445zx5c |
f9!aaa2zx2c |
f8"55zw015c |
f9911102zx2c |
fc!4445zx5c |
f9911102zx2c |
f8457455zw015c |
f980a002zx2c |
fc454445zx5c |
f9810182zx2c |
f8544455zw015c |
f9811182zx2c |
fc!4445zx5c |
f9811182zx2c |
f8544455zw015c |
f9811182zx2c |
fc!4445zx5c |
f9811182zx2c |
f8544455zw015c |
f9811182zx2c |
fc!4445zx5c |
f9811182zx2c |
f8544455zw015c |
f9811182zx2c |
fc!4445zx5c |
f9811182i02/22*22	20l2c |
f8544455zw015c |
f9811182j/22*22	20l2c |
fc!4445j/88*88	c0l5c |
f9811182i02/22*22	20l2c |
f8544455j/88*88	c0k015c |
f9811182j/22*22	20l2c |
fc!4445j8d/55(55	58c0l5c |
f9811182i0222	/aa(aaa220l2c |
f8544455j8czk	08c0k015c |
f9811182j22zk	0220l2c |
fc!4445j8czk08	c0l5c |
f9811182i0222	g4020g01i40g03	80j20g20l2220	l2c |
f8544455j8c7f	4020g01h1040h	80g08h20g20l08	c0k015c |
f9811182j2208	40k1040h80g08	j20l0220l2c |
fc!4445j8c0858	e0f0!07803e58	70g83879fg82e1	61e39040j08c0
 l5c |
f9811182i0222	086421g0108g10	6488g844808g92	2192245240j22
 20l2c |
f8544455j8c08	4421g0108g1044	88g804808g9221	12245240j08c0
 k015c |
f9811182j2208	4420e00107g10	44f8g83c708gaa	2112245540j02
 20l2c |
fc!4445j8c0844	201001g801044	80g844088g4421	12244880j08c0
 l5c |
f9811182i0222	0844201001g80	104488g844088	g44211264488c
 j2220l2c |
f8544455j8c08	4421e0010fg0e	4470g83af07g44	2111a3888cj08
 c0k015c |
f9811182j22zk	0220l2c |
fc!4445j8czk08	c0l5c |
f9811182i0222	zk2220l2c |
f8544455j8czk	08c0k015c |
f9811182j22zk	0220l2c |
fc!4445j8czk08	c0l5c |
f9811182i0222	zk2220l2c |
f8544455j8czk	08c0k015c |
f9811182j22/88(88	8220l2c |
fc!4445j8czk08	c0l5c |
f9811182i02/22*22	20l2c |
f8544455j/88*88	c0k015c |
f9811182j/22*22	20l2c |
fc!4445j/88*88	c0l5c |
f9811182i02/22*22	20l2c |
f8544455j/88*88	c0k015c |
f9811182j/22*22	20l2c |
fc!4445j/88*88	c0l5c |
f9811182i02/22*22	20l2c |
f8544455j/88*88	c0k015c |
f9811182j$22/aaaa	$2220l2c |
fc!4445j$88/55	50$88c0l5c |
f9811182i02$22	a2/22$2220l2c |
f8544455j$8849	e8!888e"8889f8	"888c!8880$88	c0k015c |
f9811182j$22a7	fa!22c6"2223fc	"222c!222a$22	20l2c |
fc!4445j$884e	18!88c8"88898e	"8880!8880$88	c0l5c |
f9811182i02$22	ac3a73bbf66e33	af23a663373bac	dc3d%2220l2c |
f8544455j$884c	80d9fcc6G3199	898eeb3f9fccfe	bfg$88c0k015c |
f9811182j$22ac	238d8cc66333bb	a3fc6331b8ccc6	632a$2220l2c |
fc!4445j$884c	898d8cceeb319f	89f8eb3198ccce	ebg$88c0l5c |
f9811182i02$22	ac23adacc66333	b8239c6333bacc	c663%2220l2c |
f8544455j$8846	998d8cceeb3198	898ceb3198ccce	ebg$88c0k015c |
f9811182j$22a7	fad9acf6633fbd	a3ae7f33baccc6	3f2a$2220l2c |
fc!4445j$8849	e0718c76eb1d8f	0986bb3198ccce	9bg$88c0l5c |
f9811182i02$22	a2!0220h!2022	20g0222h23%22	20l2c |
f8544455j$8848	-88efg$88c0k01	5c |
f9811182j$22a2	-223e2a$2220l	2c |
fc!4445j$8848	-88!80$88c0l5c |
f9811182i02$22	a2/22$2220l2c |
f8544455j$8848	.8880$88c0k01	5c |
f9811182j$22/88	8a$2220l2c |
fc!4445j$88w$88	c0l5c |
f9811182i02/22*22	20l2c |
f8544455j/88*88	c0k015c |
f9811182j/22*22	20l2c |
fc!4445j/88*88	c0l5c |
f9811182i02/22*22	20l2c |
f8544455j$88w	$88c0k015c |
f9811182j$22/88	8a$2220l2c |
fc!4445j$8808	.8884$88c0l5c |
f9811182i02%22	23e222622262!22	cc!2226"222a$22	20l2c |
f8544455j$8808	8ff888ee88e8!88	cc!88ce"8884$88	c0k015c |
f9811182j$22a2	261a220622f2!22	c0!22c0"222a$22	20l2c |
fc!4445j$8808	!8cceef88f0!d8	ccb8f9f69cee88	84$88c0l5c |
f9811182i02%22	!2cc666239a!fc	cc7cccc6367f22	2a$2220l2c |
f8544455j$8808	!8cceee8998!c6	!cc0ccee36308	84$88c0k015c |
f9811182j$22a2	2cccc66623fc!c6	ccc07cc6!6322	2a$2220l2c |
fc!4445j$8808	8c6cceee8bfc!ce	ccc8ccceeb6b08	84$88c0l5c |
f9811182i02%22	2638c666270e!c6	ccc4ccc6!6322	2a$2220l2c |
f8544455j$8808	8ff8feef8e06!fc	cc7cfcf6b66b08	84$88c0k015c |
f9811182j$22a2	21ec7663a626!d8	cc38!761c6322	2a$2220l2c |
fc!4445j$8808	88g80880888!c0	g#80880884$88	c0l5c |
f9811182i02+22	!c2&222a$2220	l2c |
f8544455j$8808	%88!c8&8884$88	c0k015c |
f9811182j$22a2	%22!02&222a$22	20l2c |
fc!4445j$8808	.8884$88c0l5c |
f9811182i02/22$22	2a$2220l2c |
f8544455j$8815	.5554$88c0k01	5c |
f9811182j$22/aaaa	$2220l2c |
fc!4445j/88*88	c0l5c |
f9811182i02/22*22	20l2c |
f8544455j/88*88	c0k015c |
f9811182j/22*22	20l2c |
fc!4445j/88*88	c0l5c |
f9811182i02/22*22	20l2c |
f8544455j/88*88	c0k015c |
f9811182j/22*22	20l2c |
fc!4445j/88*88	c0l5c |
f9811182i02/aa*aa	a0l2c |
f8"55i01/55*55	40k015c |
f98aaa82zx2c |
fc!4445zx5c |
f9911102zx2c |
f8!4455zw015c |
f980g02zx2c |
fc!4445zx5c |
f9!1112zx2c |
f8!4445zw015c |
f9!1112zx2c |
fc!4445zx5c |
f9h02zx2c |
f8!1115zw015c |
f9!1122zx2c |
fc!4455zx5c |
f9!1122zx2c |
f8044455zw015c |
f910a922zx2c |
fc455455zx5c |
f9108122zx2c |
f8051455zw015c |
f9!1122zx2c |
fc!4455zx5c |
f9!1122zx2c |
f8044455zw015c |
f92aaaa2zx2c |
fc"55zx5c |
f9!1112zx2c |
f8!4445/11/11%11	5c |
f9/11/11(112c |
fd/55/55(555c |
fa/aa/aa(aaac |
ZZHfc |
f8zzg0c |
f8zzg0c |
f8zzg0c |
f8zzg0c |
f8zzg0c |
f8zzg0c |
f8zzg0c |
f8zzg0c |
f8zzg0c |
f8zzg0c |
f8zzg0c |
f8zzg0c |
f8zzg0c |
f8zzg0c |
f8zzg0c |
f8zzg0c |
f8zzg0c |
ZZHfc |
ZZHfc |
ZZHfc |
\enddata{raster, 539992200}
\view{rasterview,539992200,5,0,0}

-Gary

\enddata{text,538842244}

\enddata{text822, 145397}
\begindata{text822, 153332}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
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 </afs/andrew.cmu.edu/usr22/susan/Mailbox/MdfK5du00jZdMbIE9K>;
          Thu, 27 Feb 1992 17:08:44 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q002/QF.UdfK4l200UkT18D05M>;
          Thu, 27 Feb 1992 17:07:45 -0500 (EST)
Received: from alpha.xerox.com by po3.andrew.cmu.edu (5.54/3.15) id <AA15785>; Thu, 27 Feb 92 15:38:27 EST
Received: from holmes.parc.xerox.com ([13.1.100.162]) by alpha.xerox.com with SMTP id <11591>; Thu, 27 Feb 1992 12:38:07 PST
Received: by holmes.parc.xerox.com id <33025>; Thu, 27 Feb 1992 12:38:03 -0800
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, 27 Feb 1992 12:38:02 -0800 (PST)
Message-Id: <IdfIkeAB0KGWEYu8k9@holmes.parc.xerox.com>
Date: 	Thu, 27 Feb 1992 12:38:02 PST
Sender: Bill Janssen <janssen@parc.xerox.com>
From: Bill Janssen <janssen@parc.xerox.com>
X-Andrew-Message-Size: 29256+0
Content-Type: X-BE2; 12
If-Type-Unsupported: send
To: info-andrew@andrew.cmu.edu
Subject: new xgraphic.c patch for everyone
Cc: Bill Schell <bill@allegra.att.com>
In-Reply-To: <UdfF3Dv02mCP9N41VI@gargoyle>
References: <UdfF3Dv02mCP9N41VI@gargoyle>

\begindata{text,2198432}
\textdsversion{12}
\template{messages}
Here's a new version of our patch of a couple of weeks ago to 
atk/basics/x/xgraphic.\{c,ch\}.  It upgrades the original 5.0.0 release 
version of xgraphic.c to the version we are using here at PARC.  It seems to 
have fixed all of our scrollbar and dialog box problems, as well.  It also 
integrates the ITC fixes to the earlier patch.


The major thing it does is to finish the job of supporting named colors on B&W 
displays as dithered gray patterns.  The 5.0.0 release code supported this for 
certain types of operations, such as draw and drawtext, so that a color such 
as "red", for instance, would be drawn on a monochrome display as a dithered 
gray pattern.  Unfortunately, the fill operations were never converted over to 
this paradigm, so that filling an area with "red" would typically result in a 
solid black (or white, for some other colors) pattern being drawn on the 
monochrome display.  This caused havoc with filled things, such as scrollbars, 
buttons, and dialog boxes.


This code has not been satisfactorily tested with older style background 
setting, that uses the RGB triplet rather than a color name.  However, we have 
not noticed any problems with any of the stock ATK applications, on MIT X11R4 
& R5, or on Sun OpenWindows v2 or v3, color or grayscale or monochrome.


Bill


(Note there are two patch files here, one for xgraphic.ch, and the next for 
xgraphic.c.  To apply the patches, cd to the atk/basics/x directory, and use 
patch with the -p option:


\example{patch -p <xgraphic.ch-patch

patch -p <xgraphic.c-patch

})


xgraphic.ch-patch:


*** xgraphic.ch.orig	Wed Feb 12 17:19:44 1992

--- xgraphic.ch	Wed Feb 12 17:20:28 1992

***************

*** 2,13 ****

   *         Copyright IBM Corporation 1988,1991 - All Rights Reserved      *

   *        For full copyright information see:'andrew/config/COPYRITE'     *

  \\* ********************************************************************** 
*/

! /* $Header: 
/afs/andrew.cmu.edu/itc/sm/releases/X.V11R5/ftp/src/atk/basics/x/RCS/xgraphic.c\
h,v 1.10 1991/09/12 19:24:44 bobg Exp $ */

  /* $ACIS:graphic.ch 1.5$ */

! /* $Source: 
/afs/andrew.cmu.edu/itc/sm/releases/X.V11R5/ftp/src/atk/basics/x/RCS/xgraphic.c\
h,v $ */

  

  #if !defined(lint) && !defined(LOCORE) && defined(RCS_HDRS)

! static char *rcsidxgraphic_H = "$Header: 
/afs/andrew.cmu.edu/itc/sm/releases/X.V11R5/ftp/src/atk/basics/x/RCS/xgraphic.c\
h,v 1.10 1991/09/12 19:24:44 bobg Exp $";

  #endif /* !defined(lint) && !defined(LOCORE) && defined(RCS_HDRS) */

  

  

--- 2,13 ----

   *         Copyright IBM Corporation 1988,1991 - All Rights Reserved      *

   *        For full copyright information see:'andrew/config/COPYRITE'     *

  \\* ********************************************************************** 
*/

! /* $Header: /a/atk/basics/x/xgraphic.ch,v 1.1 1992/02/13 01:19:48 janssen 
Exp janssen $ */

  /* $ACIS:graphic.ch 1.5$ */

! /* $Source: /a/atk/basics/x/xgraphic.ch,v $ */

  

  #if !defined(lint) && !defined(LOCORE) && defined(RCS_HDRS)

! static char *rcsidxgraphic_H = "$Header: /a/atk/basics/x/xgraphic.ch,v 1.1 
1992/02/13 01:19:48 janssen Exp janssen $";

  #endif /* !defined(lint) && !defined(LOCORE) && defined(RCS_HDRS) */

  

  

***************

*** 106,111 ****

--- 106,112 ----

      InitializeObject(struct xgraphic *self) returns boolean;

      InitializeClass() returns boolean;

  data: 

+     struct xgraphic ** gray_levels;	/* mapping of gray pixmaps for 
monochrome rendering of colors */

      struct xgraphic ** gray_shades;   /* Current set of gray pixmaps */

      GC localGraphicContext;	/* Context for the pixmap */

      GC localFillGraphicContext;	/* Context for filling */


xgraphic.c-patch:


*** xgraphic.c.orig	Wed Oct  2 19:09:58 1991

--- xgraphic.c	Mon Feb 17 16:01:55 1992

***************

*** 825,835 ****

  	 \}

  	 return;

      \}

!     if ( tile == NULL && ( xgraphic_DisplayClass( self ) & graphic_Color ))

        tile = ( struct xgraphic * ) xgraphic_BlackPattern( self );

!     else if ( tile == NULL ) tile = self->lastFillTile;

      /* Hm, depends on sources, but source may be white or black, so let's 
special case those as well */

!     if (self->gray_shades[16] && self->gray_shades[16] == tile) \{

  	/* We're using black, make sure context is OK */

  	fgPixel = (self->header.graphic.transferMode == graphic_XOR) ? 
self->foregroundpixel ^ self->backgroundpixel : self->foregroundpixel;

  

--- 825,841 ----

  	 \}

  	 return;

      \}

! 

!     if ( tile == NULL &&

! 	(( xgraphic_DisplayClass( self ) & graphic_Color ) ||

! 	 ( xgraphic_DisplayClass( self ) & graphic_StaticGray )))

        tile = ( struct xgraphic * ) xgraphic_BlackPattern( self );

!     else if ( tile == NULL )

!       tile = (self->lastFillTile != NULL) ? self->lastFillTile : (struct 
xgraphic *) xgraphic_BlackPattern(self);

! 

      /* Hm, depends on sources, but source may be white or black, so let's 
special case those as well */

!     if (!(xgraphic_DisplayClass(self) & graphic_Monochrome)

! 	&& self->gray_levels[16] != NULL && self->gray_levels[16] == tile) \{

  	/* We're using black, make sure context is OK */

  	fgPixel = (self->header.graphic.transferMode == graphic_XOR) ? 
self->foregroundpixel ^ self->backgroundpixel : self->foregroundpixel;

  

***************

*** 841,849 ****

  	    XSetForeground(xgraphic_XDisplay(self), xgraphic_XFillGC(self), 
 fgPixel);

  	    self->lastFillPixel = fgPixel;

  	\}

! 	self->lastFillTile = self->gray_shades[16];

      \}

!     else if (self->gray_shades[0] && self->gray_shades[0] == tile) \{

  	/* We're using white, make sure content is OK */

  

         if (self->lastFillStyle != FillSolid) \{

--- 847,856 ----

  	    XSetForeground(xgraphic_XDisplay(self), xgraphic_XFillGC(self), 
 fgPixel);

  	    self->lastFillPixel = fgPixel;

  	\}

! 	self->lastFillTile = self->gray_levels[16];

      \}

!     else if (!(xgraphic_DisplayClass(self) & graphic_Monochrome)

! 	     && self->gray_levels[0] != NULL && self->gray_levels[0] == tile) \{

  	/* We're using white, make sure content is OK */

  

         if (self->lastFillStyle != FillSolid) \{

***************

*** 854,871 ****

  	    XSetForeground(xgraphic_XDisplay(self), xgraphic_XFillGC(self), 
 self->backgroundpixel);

  	    self->lastFillPixel = self->backgroundpixel;

  	\}

! 	self->lastFillTile = self->gray_shades[0];

      \}

!     /* Not black or white, but maybe predefind gray that is already down 
loaded, if so just set fill style and don't download pixmap again. Note: we 
are exceedingly tricky by using the assignment statement to pickup the gray 
shade that matches, and by picking what we think will be most common ones 
first. We assume, as per C book, that evaluatio stops with first true test */

      else   \{

! 	register int i = 15;

! 	static int ind[] = \{8, 4, 12, 1, 2, 3, 5, 6, 7, 9, 10, 11, 13, 14, 15\};

  

  	if (tile != NULL)  \{

! 	    for (i = 0; i < 15 && self->gray_shades[ind[i]] != tile; i++)

  		;

  	\}

! 	if (i < 15)  \{

  	    grayIndex = ind[i];

  

  	    /* Lucky us, reusing a preloaded gray shade, so just make sure that 
fill style is set correctly, and see if we have alredy downloaded tile */

--- 861,878 ----

  	    XSetForeground(xgraphic_XDisplay(self), xgraphic_XFillGC(self), 
 self->backgroundpixel);

  	    self->lastFillPixel = self->backgroundpixel;

  	\}

! 	self->lastFillTile = self->gray_levels[0];

      \}

!     /* Not black or white, but maybe predefind gray that is already down 
loaded, if so just set fill style and don't download pixmap again. Note: we 
are exceedingly tricky by using the assignment statement to pickup the gray 
shade that matches, and by picking what we think will be most common ones 
first. We assume, as per C book, that evaluatio stops with first true test. 
 We include 0 and 16 for the monochrome case. */

      else   \{

! 	register int i;

! 	static int ind[] = \{ 0, 16, 8, 4, 12, 1, 2, 3, 5, 6, 7, 9, 10, 11, 13, 14, 
15\};

  

  	if (tile != NULL)  \{

! 	    for (i = 0; i < (sizeof(ind)/sizeof(int)) && self->gray_shades[ind[i]] 
!= tile; i++)

  		;

  	\}

! 	if (i < (sizeof(ind)/sizeof(int)))  \{

  	    grayIndex = ind[i];

  

  	    /* Lucky us, reusing a preloaded gray shade, so just make sure that 
fill style is set correctly, and see if we have alredy downloaded tile */

***************

*** 1551,1556 ****

--- 1558,1573 ----

      xgraphic_LocalSetTransferFunction(self, prevValue);

  \}

  

+ static void xgraphicClearGrayLevels(self)

+      struct xgraphic *self;

+ \{

+   register int i;

+ 

+   /* clear the gray_scale to gray_level mapping table maintained for 
monochrome displays */

+   for (i = 0;  i <= 16;  i++)

+     self->gray_levels[i] = NULL;

+ \}

+ 

  static void HandleInsertion(self, EnclosingGraphic)

  struct xgraphic *self;

  struct xgraphic *EnclosingGraphic;

***************

*** 1589,1594 ****

--- 1606,1612 ----

      self->valid = xgraphic_Valid(EnclosingGraphic);

  

      /* And pick up the appropriate gray shades for this display */

+     xgraphicClearGrayLevels(self);

      self->gray_shades = xgraphic_FindGrayBlock(xgraphic_XDisplay(self),

  	    xgraphic_XScreen(self));

  

***************

*** 1695,1724 ****

  

  struct graphic * xgraphic__WhitePattern(self)

  struct xgraphic * self; \{

!     if (self->gray_shades[0]) return (struct graphic *) 
self->gray_shades[0];

!     return (struct graphic *) xgraphic_GrayPattern(self,0,16);

  \}

  

  struct graphic * xgraphic__BlackPattern(self)

  struct xgraphic * self;\{

!     if (self->gray_shades[16]) return (struct graphic *) 
self->gray_shades[16];

!     return (struct graphic *) xgraphic_GrayPattern(self,16,16);

  \}

  

  struct graphic * xgraphic__GrayPattern(self, IntensityNum, IntensityDenom)

! struct xgraphic * self;

! short IntensityNum, IntensityDenom; \{

!     if (IntensityDenom !=16) 

! 	IntensityNum = (IntensityNum * 16) / IntensityDenom;

!     if (IntensityNum < 0 ) IntensityNum = 0;

!     else if (IntensityNum > 16) IntensityNum = 16;

  

!     if (self->gray_shades[IntensityNum]) return (struct graphic *) 
self->gray_shades[IntensityNum];

  

!     if (!xgraphic_shadeFont)

!         xgraphic_shadeFont = fontdesc_Create("xshape",fontdesc_Plain,10);

!     return (struct graphic *)(self->gray_shades[IntensityNum] = (struct 
xgraphic *)

! 	 fontdesc_CvtCharToGraphic(xgraphic_shadeFont, self, IntensityNum));

  \}

  

  static long LookupColor(dpy, name, red, green, blue, color, needpixel)

--- 1713,1781 ----

  

  struct graphic * xgraphic__WhitePattern(self)

  struct xgraphic * self; \{

!     if (self->gray_levels[0] != NULL)

!       return (struct graphic *) self->gray_levels[0];

!     else

!       return (struct graphic *) xgraphic_GrayPattern(self,0,16);

  \}

  

  struct graphic * xgraphic__BlackPattern(self)

  struct xgraphic * self;\{

!     if (self->gray_levels[16] != NULL)

!       return (struct graphic *) self->gray_levels[16];

!     else

!       return (struct graphic *) xgraphic_GrayPattern(self,16,16);

  \}

  

+ struct xgraphic * xgraphicGrayShade (self, index)

+      struct xgraphic *self;

+      long index;	/* between 0 and 16, inclusive */

+ \{

+   if (index < 0 || index > 16)

+     return (NULL);

+ 

+   if (self->gray_shades[index] == NULL)

+     \{

+       if (!xgraphic_shadeFont)

+ 	xgraphic_shadeFont = fontdesc_Create("xshape",fontdesc_Plain,10);

+ 

+       self->gray_shades[index] = (struct xgraphic *) 
fontdesc_CvtCharToGraphic(xgraphic_shadeFont, self, index);

+     \}

+   return (self->gray_shades[index]);

+ \}

+ 

  struct graphic * xgraphic__GrayPattern(self, IntensityNum, IntensityDenom)

!      struct xgraphic * self;

!      short IntensityNum, IntensityDenom;

! \{

  

!   short index, xgraphic_ApproximateColor();

  

!   if (IntensityDenom !=16) 

!     IntensityNum = (IntensityNum * 16) / IntensityDenom;

!   if (IntensityNum < 0 ) IntensityNum = 0;

!   else if (IntensityNum > 16) IntensityNum = 16;

! 

!   if (self->gray_levels[IntensityNum]) return (struct graphic *) 
self->gray_levels[IntensityNum];

! 

!   if (xgraphic_DisplayClass(self) & graphic_Monochrome)

!     \{

!       char *colorName;

!       long red, blue, green;

!       short FGindex, BGindex;

! 

!       xgraphic_GetForegroundColor (self, &colorName, &red, &green, &blue);

!       FGindex = xgraphic_ApproximateColor (self, colorName, &red, &green, 
&blue);

!       xgraphic_GetBackgroundColor (self, &colorName, &red, &green, &blue);

!       BGindex = xgraphic_ApproximateColor (self, colorName, &red, &green, 
&blue);

!       index = BGindex + ((FGindex - BGindex) * IntensityNum) / 16;

!     \}

!   else

!     \{

!       index = IntensityNum;

!     \}

! 

!   return ((struct graphic *) (self->gray_levels[IntensityNum] = 
xgraphicGrayShade(self, index)));

  \}

  

  static long LookupColor(dpy, name, red, green, blue, color, needpixel)

***************

*** 1785,1838 ****

      long status;

      XColor desiredColor;

  

      status=LookupColor(xgraphic_XDisplay(self), colorName, red, green, blue, 
&desiredColor, TRUE);

  

!     if(!status) \{

  	/* Two step process -- alloc the color (I hope it is reused, but the manual 
is silent on this) and set the foreground accordingly */

! 	if (colorName != NULL) \{

  	    status = XParseColor(xgraphic_XDisplay(self),

  				 DefaultColormap(xgraphic_XDisplay(self), xgraphic_XScreen(self)), 
colorName, &desiredColor);

  	    if (status)

! 		status = XAllocColor(xgraphic_XDisplay(self),

! 				     DefaultColormap(xgraphic_XDisplay(self), xgraphic_XScreen(self)), 
&desiredColor);

! 	    if(status) CacheColor(xgraphic_XDisplay(self), colorName, red, green, 
blue, &desiredColor, TRUE);

! 	    super_SetForegroundColor(self, colorName, desiredColor.red, 
desiredColor.green, desiredColor.blue);

! 	\}

! 	else \{

  	    desiredColor.red = red;

  	    desiredColor.blue = blue;

  	    desiredColor.green = green;

  	    desiredColor.flags = DoRed | DoGreen | DoBlue;

  	    status = XAllocColor(xgraphic_XDisplay(self), 
DefaultColormap(xgraphic_XDisplay(self), xgraphic_XScreen(self)), 
&desiredColor);

! 	    if(status) CacheColor(xgraphic_XDisplay(self), colorName, red, green, 
blue, &desiredColor, TRUE);

! 	    super_SetForegroundColor(self, colorName, desiredColor.red, 
desiredColor.green, desiredColor.blue);

! 	\}

! 	if (!status) \{

! 	    desiredColor.pixel = BlackPixel(xgraphic_XDisplay(self), 
xgraphic_XScreen(self));

! 	\}

!     \} else \{

! 	super_SetForegroundColor(self, colorName, desiredColor.red, 
desiredColor.green, desiredColor.blue);

      \}

- 	/* Allocated new color -- use it as foreground */

  

! 	self->lastFillPixel = self->foregroundpixel = desiredColor.pixel;

! 	if (self->header.graphic.transferMode == graphic_WHITE)  \{

! 	    XSetBackground(xgraphic_XDisplay(self), xgraphic_XGC(self), 
self->foregroundpixel);

! 	    XSetBackground(xgraphic_XDisplay(self), xgraphic_XFillGC(self), 
self->foregroundpixel);

! 	\}

  #ifndef PLANEMASK_ENV 

! 	else if (self->header.graphic.transferMode == graphic_XOR) \{

! 	    XSetForeground(xgraphic_XDisplay(self), xgraphic_XGC(self), 
self->foregroundpixel ^ self->backgroundpixel);

! 	    XSetForeground(xgraphic_XDisplay(self), xgraphic_XFillGC(self), 
self->foregroundpixel ^ self->backgroundpixel);

! 	\}

  #endif /* PLANEMASK_ENV  */

! 	else  \{

! 	    XSetForeground(xgraphic_XDisplay(self), xgraphic_XGC(self), 
self->foregroundpixel);

! 	    XSetForeground(xgraphic_XDisplay(self), xgraphic_XFillGC(self), 
self->foregroundpixel);

! 	\}

  #ifdef PLANEMASK_ENV

! 	XSetPlaneMask(xgraphic_XDisplay(self), xgraphic_XGC(self), 
self->foregroundpixel ^ self->backgroundpixel);

! 	XSetPlaneMask(xgraphic_XDisplay(self), xgraphic_XFillGC(self), 
self->foregroundpixel ^ self->backgroundpixel);

  #endif /* PLANEMASK_ENV */

  \}

  

--- 1842,1901 ----

      long status;

      XColor desiredColor;

  

+     xgraphicClearGrayLevels(self);

+ 

      status=LookupColor(xgraphic_XDisplay(self), colorName, red, green, blue, 
&desiredColor, TRUE);

  

!     if (xgraphic_DisplayClass(self) & graphic_Monochrome)

!       \{

! 	desiredColor.pixel = BlackPixel(xgraphic_XDisplay(self), 
xgraphic_XScreen(self));

!       \}

!     else if (!status)

!       \{

  	/* Two step process -- alloc the color (I hope it is reused, but the manual 
is silent on this) and set the foreground accordingly */

! 	if (colorName != NULL)

! 	  \{

  	    status = XParseColor(xgraphic_XDisplay(self),

  				 DefaultColormap(xgraphic_XDisplay(self), xgraphic_XScreen(self)), 
colorName, &desiredColor);

  	    if (status)

! 	      status = XAllocColor(xgraphic_XDisplay(self),

! 				   DefaultColormap(xgraphic_XDisplay(self), xgraphic_XScreen(self)), 
&desiredColor);

! 	  \}

! 	else

! 	  \{

  	    desiredColor.red = red;

  	    desiredColor.blue = blue;

  	    desiredColor.green = green;

  	    desiredColor.flags = DoRed | DoGreen | DoBlue;

  	    status = XAllocColor(xgraphic_XDisplay(self), 
DefaultColormap(xgraphic_XDisplay(self), xgraphic_XScreen(self)), 
&desiredColor);

! 	  \}

! 	if (status)

! 	  CacheColor(xgraphic_XDisplay(self), colorName, red, green, blue, 
&desiredColor, TRUE);

! 	else

! 	  desiredColor.pixel = BlackPixel(xgraphic_XDisplay(self), 
xgraphic_XScreen(self));

      \}

  

!     super_SetForegroundColor(self, colorName, desiredColor.red, 
desiredColor.green, desiredColor.blue);

!     /* Allocated new color -- use it as foreground */

! 

!     self->lastFillPixel = self->foregroundpixel = desiredColor.pixel;

!     if (self->header.graphic.transferMode == graphic_WHITE)  \{

!       XSetBackground(xgraphic_XDisplay(self), xgraphic_XGC(self), 
self->foregroundpixel);

!       XSetBackground(xgraphic_XDisplay(self), xgraphic_XFillGC(self), 
self->foregroundpixel);

!     \}

  #ifndef PLANEMASK_ENV 

!     else if (self->header.graphic.transferMode == graphic_XOR) \{

!       XSetForeground(xgraphic_XDisplay(self), xgraphic_XGC(self), 
self->foregroundpixel ^ self->backgroundpixel);

!       XSetForeground(xgraphic_XDisplay(self), xgraphic_XFillGC(self), 
self->foregroundpixel ^ self->backgroundpixel);

!     \}

  #endif /* PLANEMASK_ENV  */

!     else  \{

!       XSetForeground(xgraphic_XDisplay(self), xgraphic_XGC(self), 
self->foregroundpixel);

!       XSetForeground(xgraphic_XDisplay(self), xgraphic_XFillGC(self), 
self->foregroundpixel);

!     \}

  #ifdef PLANEMASK_ENV

!     XSetPlaneMask(xgraphic_XDisplay(self), xgraphic_XGC(self), 
self->foregroundpixel ^ self->backgroundpixel);

!     XSetPlaneMask(xgraphic_XDisplay(self), xgraphic_XFillGC(self), 
self->foregroundpixel ^ self->backgroundpixel);

  #endif /* PLANEMASK_ENV */

  \}

  

***************

*** 1845,1864 ****

      long status;

      XColor desiredColor;

  

      status=LookupColor(xgraphic_XDisplay(self), colorName, red, green, blue, 
&desiredColor, TRUE);

  

!     if(!status) \{

  	/* Two step process -- alloc the color (I hope it is reused, but the manual 
is silent on this) and set the background accordingly */

! 	if (colorName != NULL) \{

  	    status = XParseColor(xgraphic_XDisplay(self),

  				 DefaultColormap(xgraphic_XDisplay(self), xgraphic_XScreen(self)), 
colorName, &desiredColor);

  	    if (status)

! 		status = XAllocColor(xgraphic_XDisplay(self),

! 				     DefaultColormap(xgraphic_XDisplay(self), xgraphic_XScreen(self)), 
&desiredColor);

! 	    if(status) CacheColor(xgraphic_XDisplay(self), colorName, red, green, 
blue, &desiredColor, TRUE);

! 	    super_SetBackgroundColor(self, colorName, desiredColor.red, 
desiredColor.green, desiredColor.blue);

! 	\}

! 	else \{

  	    desiredColor.red = red;

  	    desiredColor.blue = blue;

  	    desiredColor.green = green;

--- 1908,1934 ----

      long status;

      XColor desiredColor;

  

+     xgraphicClearGrayLevels(self);

+ 

      status=LookupColor(xgraphic_XDisplay(self), colorName, red, green, blue, 
&desiredColor, TRUE);

  

!     if (xgraphic_DisplayClass(self) & graphic_Monochrome)

!       \{

! 	desiredColor.pixel = WhitePixel(xgraphic_XDisplay(self), 
xgraphic_XScreen(self));

!       \}

!     else if (!status)

!       \{

  	/* Two step process -- alloc the color (I hope it is reused, but the manual 
is silent on this) and set the background accordingly */

! 	if (colorName != NULL)

! 	  \{

  	    status = XParseColor(xgraphic_XDisplay(self),

  				 DefaultColormap(xgraphic_XDisplay(self), xgraphic_XScreen(self)), 
colorName, &desiredColor);

  	    if (status)

! 	      status = XAllocColor(xgraphic_XDisplay(self),

! 				   DefaultColormap(xgraphic_XDisplay(self), xgraphic_XScreen(self)), 
&desiredColor);

! 	  \}

! 	else

! 	  \{

  	    desiredColor.red = red;

  	    desiredColor.blue = blue;

  	    desiredColor.green = green;

***************

*** 1865,1879 ****

  	    desiredColor.flags = DoRed | DoGreen | DoBlue;

  	    status = XAllocColor(xgraphic_XDisplay(self), 
DefaultColormap(xgraphic_XDisplay(self), xgraphic_XScreen(self)), 
&desiredColor);

  	    if(status) CacheColor(xgraphic_XDisplay(self), colorName, red, green, 
blue, &desiredColor, TRUE);

! 	    super_SetBackgroundColor(self, colorName, desiredColor.red, 
desiredColor.green, desiredColor.blue);

  

! 	\}

! 	if (!status) \{

! 	    desiredColor.pixel = WhitePixel(xgraphic_XDisplay(self), 
xgraphic_XScreen(self));

! 	\}

!     \} else \{

! 	super_SetBackgroundColor(self, colorName, desiredColor.red, 
desiredColor.green, desiredColor.blue);

!     \}

      /* Allocated new color -- use it as background */

      self->backgroundpixel = desiredColor.pixel;

      if (self->header.graphic.transferMode == graphic_WHITE)  \{

--- 1935,1948 ----

  	    desiredColor.flags = DoRed | DoGreen | DoBlue;

  	    status = XAllocColor(xgraphic_XDisplay(self), 
DefaultColormap(xgraphic_XDisplay(self), xgraphic_XScreen(self)), 
&desiredColor);

  	    if(status) CacheColor(xgraphic_XDisplay(self), colorName, red, green, 
blue, &desiredColor, TRUE);

! 	  \}

! 	if (status)

! 	  CacheColor(xgraphic_XDisplay(self), colorName, red, green, blue, 
&desiredColor, TRUE);

! 	else

! 	  desiredColor.pixel = WhitePixel(xgraphic_XDisplay(self), 
xgraphic_XScreen(self));

!       \};

  

!     super_SetBackgroundColor(self, colorName, desiredColor.red, 
desiredColor.green, desiredColor.blue);

      /* Allocated new color -- use it as background */

      self->backgroundpixel = desiredColor.pixel;

      if (self->header.graphic.transferMode == graphic_WHITE)  \{

***************

*** 1940,1963 ****

      return index;

  \}

  

! static void SetStipple(self, index, bgBlack)

  struct xgraphic *self;

  long index;

- boolean bgBlack;

  \{

      struct xgraphic	*tile;

  

!     if (bgBlack) \{

! 	/* background is black */

! 	SetFGColor(self, "white", 0, 0, 0);

! 	index = 16 - index;

!     \}

!     else \{

! 	SetFGColor(self, "black", 0, 0, 0);

!     \}

! 

! 

!     tile = ( struct xgraphic * ) xgraphic_GrayPattern( self, index, 16 );

      xgraphic_SetupFillGC( self, tile );

      XSetFillStyle(xgraphic_XDisplay(self), xgraphic_XGC(self), 
FillOpaqueStippled );

      XSetStipple(xgraphic_XDisplay(self),  xgraphic_XGC(self), 
tile->localWindow);

--- 2009,2021 ----

      return index;

  \}

  

! static void SetStipple(self, index)

  struct xgraphic *self;

  long index;

  \{

      struct xgraphic	*tile;

  

!     tile = xgraphicGrayShade (self, index);

      xgraphic_SetupFillGC( self, tile );

      XSetFillStyle(xgraphic_XDisplay(self), xgraphic_XGC(self), 
FillOpaqueStippled );

      XSetStipple(xgraphic_XDisplay(self),  xgraphic_XGC(self), 
tile->localWindow);

***************

*** 1976,1981 ****

--- 2034,2041 ----

      short		index;

      long		oldRed, oldGreen, oldBlue;

  

+     xgraphicClearGrayLevels(self);

+ 

      if ( xgraphic_DisplayClass( self ) & graphic_Color )

      \{

        xgraphic_GetForegroundColor( self, NULL, &oldRed, &oldGreen, &oldBlue 
);

***************

*** 1986,2005 ****

      \{

  	index = xgraphic_ApproximateColor( self, colorName, &red, &green, &blue );

  	if ( xgraphic_DisplayClass( self ) & graphic_GrayScale )

! 	  SetFGColor( self, NULL, red, red, red );

  	else if ( xgraphic_DisplayClass( self ) & graphic_Monochrome )

  	\{

! 	    if (index != 0 && index != 16) \{

! 		long backRed;

! 

! 		xgraphic_GetBackgroundColor(self, NULL, &backRed, NULL, NULL);

! 

! 		SetStipple(self, index, backRed == 0);

! 	    \}

! 	    else \{

! 		SetFGColor( self, colorName, red, green, blue );

! 		XSetFillStyle(xgraphic_XDisplay(self), xgraphic_XGC(self), FillSolid);

! 	    \}

  	\}

  	super_SetForegroundColor( self, colorName, red, green, blue );

      \}

--- 2046,2056 ----

      \{

  	index = xgraphic_ApproximateColor( self, colorName, &red, &green, &blue );

  	if ( xgraphic_DisplayClass( self ) & graphic_GrayScale )

! 	  SetFGColor( self, colorName, red, red, red );

  	else if ( xgraphic_DisplayClass( self ) & graphic_Monochrome )

  	\{

! 	  SetFGColor( self, colorName, red, green, blue );

! 	  SetStipple (self, index);

  	\}

  	super_SetForegroundColor( self, colorName, red, green, blue );

      \}

***************

*** 2012,2017 ****

--- 2063,2070 ----

  \{

      long oldRed, oldGreen, oldBlue;

  

+     xgraphicClearGrayLevels(self);

+ 

      if ( xgraphic_DisplayClass( self ) & graphic_Color )

      \{

        xgraphic_GetBackgroundColor( self, NULL, &oldRed, &oldGreen, &oldBlue 
);

***************

*** 2024,2049 ****

  	char *foreName;

  	long index = xgraphic_ApproximateColor( self, colorName, &red, &green, 
&blue );

  

! 	if ( xgraphic_DisplayClass( self ) & graphic_GrayScale )

! 	  SetBGColor( self, NULL, red, red, red );

! 	else \{

! 	    if (index < 8) \{

! 		/* Set background to white */

! 		colorName = "white";

! 		red = green = blue = 65535;

! 	    \}

! 	    else \{

! 		/* Set background to black */

! 		colorName = "black";

! 		red = green = blue = 0;

! 	    \}

! 	    SetBGColor( self, colorName, red, green, blue );

! 	    xgraphic_GetForegroundColor(self, &foreName, &foreRed, &foreGreen, 
&foreBlue);

! 	    index = xgraphic_ApproximateColor(self, foreName, &foreRed, &foreGreen, 
&foreBlue);

! 	    if (index != 0 && index != 16) \{

! 		SetStipple(self, index, red == 0);

! 	    \}

! 	\}

  	super_SetBackgroundColor( self, colorName, red, green, blue );

      \}

  \}

--- 2077,2086 ----

  	char *foreName;

  	long index = xgraphic_ApproximateColor( self, colorName, &red, &green, 
&blue );

  

! 	if ( xgraphic_DisplayClass( self ) & graphic_GrayScale)

! 	  SetBGColor( self, colorName, red, red, red );

! 	else

! 	  SetBGColor( self, colorName, red, green, blue );

  	super_SetBackgroundColor( self, colorName, red, green, blue );

      \}

  \}

***************

*** 2055,2060 ****

--- 2092,2099 ----

  long		Red, Green, Blue, oldRed, oldGreen, oldBlue;

  short		index;

  

+     xgraphicClearGrayLevels(self);

+ 

      Red = ( long )( red * XFullBrightness );

      Green = ( long )( green * XFullBrightness );

      Blue = ( long )( blue * XFullBrightness );

***************

*** 2093,2098 ****

--- 2132,2139 ----

  \{

  long		Red, Green, Blue, oldRed, oldGreen, oldBlue;

  

+     xgraphicClearGrayLevels(self);

+ 

      Red = ( long )( red * XFullBrightness );

      Green = ( long )( green * XFullBrightness );

      Blue = ( long )( blue * XFullBrightness );

***************

*** 2193,2198 ****

--- 2234,2241 ----

      /* we can't really fill in any of the graphic stuff until we

      have a parent or root */

      self->gray_shades = xgraphic_FindGrayBlock(NULL,NULL);

+     self->gray_levels = (struct xgraphic **) malloc(sizeof(struct graphic *) 
* 17);

+     xgraphicClearGrayLevels(self);

      self->valid = FALSE;

      self->lastUpdateRegionIDUsed = 0;

      self->DisplayClass = 0;

***************

*** 2228,2245 ****

  static long RealDisplayClass( self )

  struct xgraphic		    *self;

  \{

!     long		    class;

!     XVisualInfo	    vTemplate;

!     XVisualInfo  *vList = NULL;

!     int	    matched = 0;

  

!     vTemplate.screen = xgraphic_XScreen( self );

!     vTemplate.depth = DisplayPlanes( xgraphic_XDisplay( self ), 
xgraphic_XScreen( self ));

!     vList = XGetVisualInfo( xgraphic_XDisplay( self ), VisualScreenMask | 
VisualDepthMask, &vTemplate, &matched );

!     if ( matched )

!     \{

!       switch ( vList[0].class )

!       \{

  	  case PseudoColor: class = graphic_PseudoColor;

  	      class |= graphic_Color;

  	      break;

--- 2271,2285 ----

  static long RealDisplayClass( self )

  struct xgraphic		    *self;

  \{

!     XWindowAttributes atts;

!     long		    class = 0;

  

!     if (xgraphic_XDisplay(self) == NULL)

!       return (class);

!     if((!XGetWindowAttributes(xgraphic_XDisplay(self), 
xgraphic_XWindow(self), &atts)) || atts.visual==NULL) return 
graphic_Monochrome | graphic_StaticGray;

!     

!     class= graphic_Monochrome | graphic_StaticGray;

!     switch (atts.visual->class) \{

  	  case PseudoColor: class = graphic_PseudoColor;

  	      class |= graphic_Color;

  	      break;

***************

*** 2255,2268 ****

  	      class |= graphic_Color;

  	      break;

  	  case StaticGray: if ( DisplayPlanes( xgraphic_XDisplay( self ), 
xgraphic_XScreen( self )) == 1 ) class = graphic_Monochrome;

! 	      else class = 0l;

  	      class |= graphic_StaticGray;

  	      break;

-       \}

      \}

-     else class = graphic_Monochrome | graphic_StaticGray;

      return class;

  \}

  long xgraphic__DisplayClass( self )

  struct xgraphic		    *self;

  \{

--- 2295,2307 ----

  	      class |= graphic_Color;

  	      break;

  	  case StaticGray: if ( DisplayPlanes( xgraphic_XDisplay( self ), 
xgraphic_XScreen( self )) == 1 ) class = graphic_Monochrome;

! 	  else class = 0l;

  	      class |= graphic_StaticGray;

  	      break;

      \}

      return class;

  \}

+ 

  long xgraphic__DisplayClass( self )

  struct xgraphic		    *self;

  \{

\enddata{text,2198432}

\enddata{text822, 153332}
\begindata{text822, 185254}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
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 </afs/andrew.cmu.edu/usr22/susan/Mailbox/4dfNXRu00Udd9UzU5c>;
          Thu, 27 Feb 1992 21:05:21 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q000/QF.wdfNUkC00UkTNUc05Q>;
          Thu, 27 Feb 1992 21:02:24 -0500 (EST)
Received: from alpha.xerox.com by po3.andrew.cmu.edu (5.54/3.15) id <AA24726> for info-andrew; Thu, 27 Feb 92 21:02:10 EST
Received: from holmes.parc.xerox.com ([13.1.100.162]) by alpha.xerox.com with SMTP id <11693>; Thu, 27 Feb 1992 18:01:47 PST
Received: by holmes.parc.xerox.com id <33025>; Thu, 27 Feb 1992 18:01:35 -0800
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, 27 Feb 1992 18:01:33 -0800 (PST)
Message-Id: <wdfNTxAB0KGWEYuDgS@holmes.parc.xerox.com>
Date: 	Thu, 27 Feb 1992 18:01:33 PST
Sender: Bill Janssen <janssen@parc.xerox.com>
From: Bill Janssen <janssen@parc.xerox.com>
To: info-andrew@andrew.cmu.edu, Bill Schell <bill@allegra.att.com>
Subject: Re: monochrome 3D insets under rel. 5
In-Reply-To: <odfGorL02mCPFN434U@gargoyle>
References: <odfGorL02mCPFN434U@gargoyle>

Try the patch I posted today.  It fixes this problem.

Bill
\enddata{text822, 185254}
\begindata{text822, 186813}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
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 </afs/andrew.cmu.edu/usr22/susan/Mailbox/YdfNbyK00jZdIq2E88>;
          Thu, 27 Feb 1992 21:10:07 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q003/QF.cdfNa=i00UkTFVBE4C>;
          Thu, 27 Feb 1992 21:08:14 -0500 (EST)
Received: from alpha.xerox.com by po3.andrew.cmu.edu (5.54/3.15) id <AA24847> for info-andrew; Thu, 27 Feb 92 21:07:18 EST
Received: from holmes.parc.xerox.com ([13.1.100.162]) by alpha.xerox.com with SMTP id <11735>; Thu, 27 Feb 1992 18:06:47 PST
Received: by holmes.parc.xerox.com id <33025>; Thu, 27 Feb 1992 18:06:37 -0800
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, 27 Feb 1992 18:06:25 -0800 (PST)
Message-Id: <8dfNYVMB0KGWQYu04z@holmes.parc.xerox.com>
Date: 	Thu, 27 Feb 1992 18:06:25 PST
Sender: Bill Janssen <janssen@parc.xerox.com>
From: Bill Janssen <janssen@parc.xerox.com>
X-Andrew-Message-Size: 94+1
Content-Type: X-BE2; 12
If-Type-Unsupported: send
To: info-andrew@andrew.cmu.edu, Bill Schell <bill@allegra.att.com>
Subject: Re: monochrome 3D insets under rel. 5
In-Reply-To: <odfGorL02mCPFN434U@gargoyle>
References: <odfGorL02mCPFN434U@gargoyle>

\begindata{text,2094224}
\textdsversion{12}
\template{default}
\define{global

attr:[FontFamily lucida Int 0]}
\define{chapter
menu:[Title~3,Chapter~20]
attr:[Justification LeftJustified Point 0]
attr:[FontFace Bold Int Set]
attr:[FontSize PreviousFontSize Point 4]}
\define{subsection
menu:[Title~3,Subsection~22]
attr:[Justification LeftJustified Point 0]
attr:[FontFace Bold Int Set]}
\define{indent
menu:[Region~4,Indent~20]
attr:[LeftMargin LeftMargin Inch 32768]
attr:[RightMargin RightMargin Inch 32768]}
\define{typewriter
menu:[Font~1,Typewriter~40]
attr:[FontFace FixedFace Int Set]
attr:[FontFamily AndyType Int 0]}
\define{display
menu:[Region~4,Display~14]
attr:[LeftMargin LeftMargin Inch 32768]
attr:[RightMargin RightMargin Inch 32768]
attr:[Justification LeftJustified Point 0]}
\define{example
menu:[Region~4,Example~12]
attr:[LeftMargin LeftMargin Inch 32768]
attr:[Justification LeftJustified Point 0]
attr:[FontFace FixedFace Int Set]
attr:[FontFamily AndyType Int 0]}
\define{itemize
menu:[Region~4,Itemize~31]
attr:[LeftMargin LeftMargin Inch 32768]}
\define{description
menu:[Region~4,Description~11]
attr:[LeftMargin LeftMargin Inch 32768]
attr:[Indent LeftMargin Inch -32768]}
\define{enumerate
menu:[Region~4,Enumerate~30]
attr:[LeftMargin LeftMargin Inch 32768]}
\define{programexample
menu:[Region~4,ProgramExample~13]
attr:[LeftMargin LeftMargin Inch 32768]
attr:[Justification LeftJustified Point 0]
attr:[FontFace FixedFace Int Set]
attr:[FontFamily AndyType Int 0]}
\define{quotation
menu:[Region~4,Quotation~10]
attr:[LeftMargin LeftMargin Inch 32768]
attr:[RightMargin RightMargin Inch 32768]
attr:[FontFace Italic Int Set]}
\define{excerptedcaption

attr:[LeftMargin LeftMargin Inch 32768]
attr:[RightMargin RightMargin Inch 32768]
attr:[FontFace Bold Int Set]
attr:[FontFace Italic Int Set]}
\define{heading
menu:[Title~3,Heading~11]
attr:[LeftMargin LeftMargin Inch -13107]
attr:[Justification LeftJustified Point 0]
attr:[FontFace Bold Int Set]}
\define{majorheading
menu:[Title~3,MajorHeading~10]
attr:[Justification Centered Point 0]
attr:[FontSize PreviousFontSize Point 4]}
\define{notetotypesetter
menu:[Region~4,NoteToTypesetter~61]
attr:[Flags PassThru Int Set]}
\define{literal
menu:[Region~4,Literal~62]
attr:[Flags PassThru Int Set]}
\define{subheading
menu:[Title~3,Subheading~12]
attr:[Justification LeftJustified Point 0]
attr:[FontFace Bold Int Set]}
\define{flushleft
menu:[Justify~2,FlushLeft~20]
attr:[Justification LeftJustified Point 0]}
\define{flushright
menu:[Justify~2,FlushRight~21]
attr:[Justification RightJustified Point 0]}
\define{leftindent
menu:[Region~4,LeftIndent~21]
attr:[LeftMargin LeftMargin Inch 32768]}
My Motif buttons now look like

\begindata{raster,1868272}
2 0 65536 65536 0 0 117 217
bits 1868272 117 217
Tf8 |
Tf8 |
80s08 |
.88 |
82,2218 |
a8,88a8 |
82,2218 |
-88a8 |
82,2218 |
a8,88a8 |
82,2218 |
-88a8 |
82,2218 |
a8,88a8 |
82,2218 |
-88a8 |
82,2218 |
a8,88a8 |
82,2218 |
!88ef6ff0f7"88	9d08"88a8 |
8222664db266"22	33#2218 |
a888eec1b0ec"88	e108"88a8 |
822272ddb2683e	3df2623df33222	18 |
!88b68db0f8b3	66d8e8e6db2088	a8 |
822236adb26c3f	7eda6266db!22	18 |
a888bb8db0e6b0	60d8e8eed9a888	a8 |
8222192db2633b	72da3366dbc222	18 |
!88911ff8f79e	3cf09e3cf0c888	a8 |
82!222002g20g	c220gc2822218 |
a8&88c8!88cb!88	a8 |
82%2223e22223	e3!2218 |
'8808!88!0888	a8 |
82,2218 |
a8,88a8 |
82,2218 |
-88a8 |
82,2218 |
a8,88a8 |
82,2218 |
-88a8 |
82,2218 |
a8,88a8 |
82,2218 |
8a,aaa8 |
95,5558 |
a2,2228 |
80s18 |
-88a8 |
82,2218 |
a8,88a8 |
82,2218 |
-88a8 |
82,2218 |
a8,88a8 |
82,2218 |
-88a8 |
82,2218 |
a8,88a8 |
82,2218 |
-88a8 |
82,2218 |
a8,88a8 |
82!2277b2223a	23de$2218 |
"88b32088990b	36$88a8 |
82!2233!222b26	16$2218 |
a8!88b96bdf17	8e86f8f6c8!88	a8 |
82!221b466da3	!26cd9b42!2218 |
"889b4eed8b0e	8efc7b08!88a8 |
82!223dc66da3	!26c19b"2218 |
a8!888c8eed8b	0b16ed9b08!88	a8 |
82!2228a3ddc1	a1ef78efa2!22	18 |
"888008g!08i08	!88a8 |
82,2218 |
a8,88a8 |
82,2218 |
-88a8 |
82,2218 |
a8,88a8 |
82,2218 |
-88a8 |
82,2218 |
a8,88a8 |
82,2218 |
-88a8 |
82,2218 |
a8,88a8 |
95,5558 |
-aaa8 |
80s08 |
a2,2228 |
82,2218 |
-88a8 |
82,2218 |
a8,88a8 |
82,2218 |
-88a8 |
82,2218 |
a8,88a8 |
82,2218 |
-88a8 |
82,2218 |
a8,88a8 |
82,2218 |
-88a8 |
82,2218 |
a8"88f7b7f8fb	d8e8#88a8 |
82"223326da31	9a62#2218 |
#88b328d8b180	e8#88a8 |
82"22396eda33	bbe7a2"2218 |
a8"889b46d8bf	9b6cc8"88a8 |
82"223b46da31	bb6fc2"2218 |
#889dced8b19b	6c08"88a8 |
82"222c86da33	bb6e42"2218 |
a8#888ffcfbfd	b7#88a8 |
82#2220j#2218 |
-88a8 |
82,2218 |
a8,88a8 |
82,2218 |
-88a8 |
82,2218 |
a8,88a8 |
82,2218 |
-88a8 |
82,2218 |
a8,88a8 |
82,2218 |
-88a8 |
82,2218 |
-aaa8 |
95,5558 |
.88 |
80s18 |
a8,88a8 |
82,2218 |
-88a8 |
82,2218 |
a8,88a8 |
82,2218 |
-88a8 |
82,2218 |
a8,88a8 |
82,2218 |
-88a8 |
82,2218 |
a8,88a8 |
82,2218 |
-88a8 |
82!22277b2223	a23ec2#2218 |
a8!888b320889	90e6c8#88a8 |
82!222332!22b2	6202#2218 |
"888b96bdf178	f1cff8"88a8 |
82!2221b466da	323cd96c"2218 |
a8!8889b4eed8	b08ed96c"88a8 |
82!2223dc66da	3246de6c"2218 |
#88c8eed8b0ee	ccec"88a8 |
82"228a3ddc1a	7defee"2218 |
a8"88g80g!8019	80"88a8 |
82'223ba2"2218 |
(888f08"88a8 |
82'2220#2218 |
a8,88a8 |
82,2218 |
-88a8 |
82,2218 |
a8,88a8 |
82,2218 |
-88a8 |
82,2218 |
a8,88a8 |
82,2218 |
-88a8 |
95,5558 |
-aaa8 |
80s08 |
.88 |
82,2218 |
a8,88a8 |
82,2218 |
-88a8 |
82,2218 |
a8,88a8 |
82,2218 |
-88a8 |
82,2218 |
a8,88a8 |
82,2218 |
-88a8 |
82,2218 |
a8,88a8 |
82#223f'2218 |
$8899'88a8 |
82#223ba22223	a2#2218 |
a8#88998f1efb	c8#88a8 |
82#223f39b2cd	82#2218 |
$889b1fbcfd$88	a8 |
82#2239b81ec1	a2#2218 |
a8#8898dca6ed	$88a8 |
82#223def3c78	c2#2218 |
$8880h8008#88	a8 |
82,2218 |
a8,88a8 |
82,2218 |
-88a8 |
82,2218 |
a8,88a8 |
82,2218 |
-88a8 |
82,2218 |
a8,88a8 |
82,2218 |
-88a8 |
82,2218 |
a8,88a8 |
95,5558 |
-aaa8 |
Tf8 |
\enddata{raster, 1868272}
\view{rasterview,1868272,3,0,0}

which I won't argue is great, but is certainly better.


Bill

\enddata{text,2094224}

\enddata{text822, 186813}
\begindata{text822, 194286}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
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 </afs/andrew.cmu.edu/usr22/susan/Mailbox/YdfTXSy00Udd0:=U5g>;
          Fri, 28 Feb 1992 03:54:55 -0500 (EST)
Received: from po5.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q001/QF.UdfTVpy00Udd8:=E4h>;
          Fri, 28 Feb 1992 03:53:10 -0500 (EST)
Received: from ucbvax.Berkeley.EDU by po5.andrew.cmu.edu (5.54/3.15) id <AA02600> for info-andrew; Fri, 28 Feb 92 03:53:01 EST
Received: by ucbvax.Berkeley.EDU (5.63/1.43)
	id AA19390; Fri, 28 Feb 92 00:46:37 -0800
Received: from USENET by ucbvax.Berkeley.EDU with netnews
	for info-andrew@andrew.cmu.edu (info-andrew@andrew.cmu.edu)
	(contact usenet@ucbvax.Berkeley.EDU if you have questions)
Date: 25 Feb 92 02:24:10 GMT
From: gk5g+@andrew.cmu.edu  (Gary Keim)
Organization: Carnegie Mellon, Pittsburgh, PA
Subject: Re: Request Info about ATK Consortium
Message-Id: <cdeOX_q00Vs9Athkp2@andrew.cmu.edu>
References: <9202242243.AA24185@madrone.eecs.ucdavis.edu>
Sender: info-andrew-request@andrew.cmu.edu
To: info-andrew@andrew.cmu.edu

Excerpts from netnews.comp.soft-sys.andrew: 24-Feb-92 Request Info about
ATK Cons.. Kaoru E. C. U. CA@eecs.u (480)

>  7) Is there plan to develop Gray-Scale Image Insets ? 
>        If yes who is going to do it.


Yes.  I take responsibility for this project.  You will be able to have
color, and greyscale, images in your ATK documents (or anywhere else
insets are allowed) in the future.  A prototype implementation exists
but is not yet ready for prime time.

Fred Hansen, the Consortium director, will answer your other questions.

Gary Keim
ATK Consortium
\enddata{text822, 194286}
\begindata{text822, 196186}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
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 </afs/andrew.cmu.edu/usr22/susan/Mailbox/gdfcmFK00Ui38xiE53>;
          Fri, 28 Feb 1992 14:25:06 -0500 (EST)
Received: from po5.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q002/QF.odfcfw:00UddEpzE4u>;
          Fri, 28 Feb 1992 14:18:21 -0500 (EST)
Received: from iag.hp.com (telford.iag.hp.com) by po5.andrew.cmu.edu (5.54/3.15) id <AA13811> for info-andrew; Fri, 28 Feb 92 14:18:02 EST
Received: from hpboz.iag.hp.com by telford.iag.hp.com with SMTP
	(16.6/IAG42.42) id AA09241; Fri, 28 Feb 92 11:17:46 -0800	
Received: by kitzbuhl.iag.hp.com
	(16.6/IAG42.42) id AA04251; Fri, 28 Feb 92 11:17:42 -0800	
Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.hpboz.iag.hp.com.HP9000.42S
          via MS.5.6.hpboz.iag.hp.com.hp300;
          Fri, 28 Feb 1992 11:17:40 -0800 (PST)
Message-Id: <wdfcfIMD0O2G1bloo0@hpboz.iag.hp.com>
Date: Fri, 28 Feb 1992 11:17:40 -0800 (PST)
From: Lee Boswell <boswell@iag.hp.com>
To: info-andrew@andrew.cmu.edu
Subject: replying to mail

Could someone please tell me how to insert text into a reply to a
message after excerpting  the body of the message, without it appearing
with the same italicized font ? This seems to work ok if there is a
blank line between paragraphs, but if you want to make a comment in the
middle of a paragraph and hit return a couple of times, the text that
you then insert is always italicized. This isn't too well described.
Does anyone know what I'm on about and have a solution please ? This has
been irritating me for a while !

Lee
\enddata{text822, 196186}
\begindata{text822, 198038}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
X-Andrew-Authenticated-as: 3706;andrew.cmu.edu;Robert Steven Glickstein
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 </afs/andrew.cmu.edu/usr22/susan/Mailbox/kdfcpiC00VsBIqFU4i>;
          Fri, 28 Feb 1992 14:28:49 -0500 (EST)
Received: from muffin.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/usr12/bobg/.Outgoing/QF.gdfcmWq00VsBIiFYV8>;
          Fri, 28 Feb 1992 14:25:23 -0500 (EST)
Received: from BatMail.robin.v2.12.CUILIB.3.45.SNAP.NOT.LINKED.muffin.andrew.cmu.edu.rs.aix31
          via MS.5.6.muffin.andrew.cmu.edu.rs_aix31;
          Fri, 28 Feb 1992 14:25:22 -0500 (EST)
Message-ID: <0dfcmWO00VsBIiFYI1@andrew.cmu.edu>
Date: Fri, 28 Feb 1992 14:25:22 -0500 (EST)
From: Robert Steven Glickstein <bobg+@andrew.cmu.edu>
To: Bulletin Board Administration <bb+andrew.hints@andrew.cmu.edu>,
    Anand Patwardhan <ap10+@andrew.cmu.edu>,
    Advisor <advisor+helpbox.atk@andrew.cmu.edu>,
    Info-Andrew <info-andrew+@andrew.cmu.edu>
Subject: Re: Messages question..
In-Reply-To: <AdeJqNa00iQUQrhEQB@andrew.cmu.edu>
References: <AdeJqNa00iQUQrhEQB@andrew.cmu.edu>

Anand Patwardhan <ap10+@andrew.cmu.edu> writes:
> Ok, so here's the situation. I am running messages from the ce.cmu.edu
> cell (rs/6000 machines), and wish to access my andrew.cmu.edu mailbox
> and message folders.
> If I set *.AMShome: andrew.cmu.edu, then the setup works. However, if I
> do messages.AMShome: andrew.cmu.edu, I get a machine initialization
> problem. The former case would be fine except that a 'finger ap10' when
> I am on the ce machine, returns the WP, plan, mail etc. info from the
> andrew.cmu.edu cell, which is not what I want. Do I have to stay with
> *.AMShome?

Not anymore.  You have led me to one of the more interesting bugs of
my career, and a fix for it is now checked into our source tree.
Hopefully, before long you will see a release of the fixed software.

The symptom was that certain Messages preferences, including AMSHome,
PersonalMailCollectionCommand, and others, were not being found if
they appeared as "messages.AMSHome" in the preferences file.  (They
worked fine in the form "*.AMSHome".)  The fix involves four lines in
two files in andrew/atkams/messages/lib -- amsn.c and msgsa.c.  Here
are the context diffs:

RCS file: RCS/amsn.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -bwc -r1.9 -r1.10
*** 1.9	1991/09/19 17:11:32
--- 1.10	1992/02/28 18:45:52
***************
*** 14,19 ****
--- 14,21 ----
  #include <mailconf.h>
  #include <cui.h>
  
+ extern char ProgramName[];	/* Icky-poo! */
+ 
  extern char *CUI_MachineName, CUI_MailDomain[], *CUI_Rock, CUI_VersionString[], *CUI_WhoIAm, *ap_Shorten(), *DescribeProt(), *ams_genid();
  
  extern long CUI_DeliveryType, CUI_LastCallFinished, CUI_OnSameHost, CUI_SnapIsRunning, CUI_UseAmsDelivery, CUI_UseNameSep, mserrcode;
***************
*** 160,165 ****
--- 162,168 ----
      message_DisplayString(NULL, 10, "Initializing Internal Message Server...");
      im_ForceUpdate();
      if (!TimerFunction) TimerFunction = TimerInit;
+     strcpy(ProgramName, im_GetProgramName());
      return(CUI_Initialize(TimerFunction, rock));
  }
  
===================================================================
RCS file: RCS/msgsa.c,v
retrieving revision 2.15
retrieving revision 2.16
diff -bwc -r2.15 -r2.16
*** 2.15	1991/09/12 16:48:51
--- 2.16	1992/02/28 18:45:52
***************
*** 208,214 ****
      }
      m->RetainedArg[m->RetainedArgc] = NULL;
      m->AddHeaderList[HeadersToAdd] = NULL;
!     environ_SetProgramName(m->SendOnly ? "sendmessage" : "messages");
      messagesapp_SetName(m, m->SendOnly ? "sendmessage" : "messages");
      return(TRUE);
  }
--- 208,214 ----
      }
      m->RetainedArg[m->RetainedArgc] = NULL;
      m->AddHeaderList[HeadersToAdd] = NULL;
!     im_SetProgramName(m->SendOnly ? "sendmessage" : "messages");
      messagesapp_SetName(m, m->SendOnly ? "sendmessage" : "messages");
      return(TRUE);
  }
===================================================================

Here's a discussion of the bug, if you're interested:

	The preferences-reading code is in libutil.a, in a function
called "getprofile" (which calls "GetConfig").  A global character
buffer called ProgramName is exported by libutil, but most people
don't know that.
	The environ ATK class is linked with libutil and has
procedures for setting and getting the program name, corresponding
directly to the ProgramName buffer in libutil.  ATK applications use
the environ_GetProfile* interface to the getprofile functions in
libutil.  So far, so good.
	The amsn class in Messages is also linked with libutil, as
well as with libcui and libmssrv.  Amsn calls CUI_Initialize, which
calls MS_Initialize, which is in libmssrv, which calls getprofile,
which is in libutil, and which requires the ProgramName buffer.  So
when amsn is linked, the .do file includes its own copy of the
ProgramName buffer.
	When Messages is running, (at least) two of the classes that
are loaded -- environ and amsn -- have their own copies of the
ProgramName buffer.  Messages calls im_SetProgramName, which calls
environ_SetProgramName, which fills in environ's copy of ProgramName;
and most of the preferences read during Messages' execution are read
via the environ_GetProfile* interface.  However, some preferences are
read during startup by the code in libmssrv, which knows about amsn's
(uninitialized) copy of ProgramName and not about environ's copy.  So
any preferences read by non-ATK code -- namely libmssrv (and others)
-- will have a bogus value for ProgramName, and won't find
"messages.foo".
	The workaround is simply to ensure that amsn's copy of
ProgramName is initialized with the appropriate value, just as
environ's copy is.

______________               _____________________________
Bob Glickstein             | Internet: bobg@andrew.cmu.edu
Andrew Toolkit Consortium  | Bitnet:   bobg%andrew@cmuccvma.bitnet
Carnegie Mellon University | UUCP:     ...!harvard!andrew.cmu.edu!bobg
Pittsburgh, PA  15213-3890 |
(412) 268-6743		   | Atomic batteries to power... turbines to speed!
\enddata{text822, 198038}
\begindata{text822, 204337}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
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 </afs/andrew.cmu.edu/usr22/susan/Mailbox/MdffVve00UddNCz05p>;
          Fri, 28 Feb 1992 17:32:28 -0500 (EST)
Received: from po5.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q000/QF.MdffTEW00UddRCy05u>;
          Fri, 28 Feb 1992 17:29:36 -0500 (EST)
Received: from ucbvax.Berkeley.EDU by po5.andrew.cmu.edu (5.54/3.15) id <AA20203> for info-andrew; Fri, 28 Feb 92 17:29:22 EST
Received: by ucbvax.Berkeley.EDU (5.63/1.43)
	id AA21473; Fri, 28 Feb 92 14:10:11 -0800
Received: from USENET by ucbvax.Berkeley.EDU with netnews
	for info-andrew@andrew.cmu.edu (info-andrew@andrew.cmu.edu)
	(contact usenet@ucbvax.Berkeley.EDU if you have questions)
Date: 15 Feb 92 21:57:27 GMT
From: prism!gt0963d@gatech.edu  (Deeptendu Majumder)
Organization: The Dream Chasers Syndicate
Subject: Problem in building
Message-Id: <48884@hydra.gatech.EDU>
Sender: info-andrew-request@andrew.cmu.edu
To: info-andrew@andrew.cmu.edu

I was compiling Andrew 5.0.0 on a SparcStation with SunOS 4.1.1
I ran into the following problem with mkfontdir
-----------------------------

touch install.time
touch install.doc
building (dependInstall) (/tmp_mnt/home/frencha1/dips3/andrew/xmkfontd)
make DESTDIR=/home/cae1/dips/Andrew/ATK install
touch install.time
touch install.doc
rm -f /home/cae1/dips/Andrew/ATK/X11fonts/fonts.alias
/usr/bin/X11/mkfontdir /home/cae1/dips/Andrew/ATK/X11fonts
/usr/bin/X11/mkfontdir: failed to create directory in /home/cae1/dips/Andrew/ATK/X11fonts
*** Error code 1
make: Fatal error: Command failed for target `install'
Current working directory /tmp_mnt/home/frencha1/dips3/andrew/xmkfontd
*** Error code 1
make: Fatal error: Command failed for target `dependInstall'
Current working directory /tmp_mnt/home/frencha1/dips3/andrew/xmkfontd
*** Error code 1
make: Fatal error: Command failed for target `dependInstall'
Current working directory /tmp_mnt/home/frencha1/dips3/andrew
*** Error code 1
make: Fatal error: Command failed for target `World'
-----------------------------

The following are some of the font files (linked) in the
directory /home/cae1/dips/Andrew/ATK/X11fonts. I am not familiar
with the workings of mkfontdi. I tried running mkfontdir by hand in
this directory. It gave the same error message about not being
able to create directories..???

------------------------------
amenu12.pcf@
andyof12.pcf@
apcrsr20.pcf@
apofic20.pcf@
aptcsr20.pcf@
apticn20.pcf@
bits1.pcf@
blshft12.pcf@
....
------------------------------

Any help will be most appreciated

thanks
deeptendu
-- 
------
"Like a harsh neon streaking  through the velvet darkness 
the whetted knife of Life tore its path through her Dreams"
\enddata{text822, 204337}
\begindata{text822, 207314}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
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 </afs/andrew.cmu.edu/usr22/susan/Mailbox/sdfhniW00UkTJE0U5j>;
          Fri, 28 Feb 1992 20:07:59 -0500 (EST)
Received: from po5.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q000/QF.MdfhlQm00UddBSNU4N>;
          Fri, 28 Feb 1992 20:05:33 -0500 (EST)
Received: from madrone.eecs.ucdavis.edu by po5.andrew.cmu.edu (5.54/3.15) id <AA24161> for info-andrew; Fri, 28 Feb 92 20:05:27 EST
Received: by madrone.eecs.ucdavis.edu (5.57/Ultrix3.0-C)
	id AA11743; Fri, 28 Feb 92 17:05:24 -0800
Message-Id: <9202290105.AA11743@madrone.eecs.ucdavis.edu>
To: info-andrew@andrew.cmu.edu
Cc: endo@eecs.ucdavis.edu
Subject: Messages dosen't work
Date: Fri, 28 Feb 92 17:05:23 -0800
From: "Kaoru ENDO    CIPIC UC.Davis, CA, U.S.A." <endo@eecs.ucdavis.edu>
X-Mts: smtp


 I set some definitions as below and tried messages. but i can't read
 e-mail anything.

in <$HOME>/preferences

MailBoxDir: <$HOME>/Mailbox

in <$ANDREWDIR>/etc/AndrewSetup

AMS_NonAMSDelivery: yes

  ----

console can monitor incomming mail status correctry.
but messages dosen't.

eatmail said.
 Could not move mail from /usr/spool/mail/endo to ~/Mailbox

Normaly I use mh. sometimes mail.

ATK version is 5.0 messages is 7.15-N.

Plese advice me!!
\enddata{text822, 207314}
\begindata{text822, 208868}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
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 </afs/andrew.cmu.edu/usr22/susan/Mailbox/wdfkec600Ui3E9Fk5M>;
          Fri, 28 Feb 1992 23:23:04 -0500 (EST)
Received: from po2.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q002/QF.UdfkeKy00jZdB0m056>;
          Fri, 28 Feb 1992 23:22:47 -0500 (EST)
If-Type-Unsupported: send
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q002/QF.4dfkbWu00UkTBLmU47>;
          Fri, 28 Feb 1992 23:19:47 -0500 (EST)
Received: from thumper.bellcore.com by po3.andrew.cmu.edu (5.54/3.15) id <AA22469> for info-andrew; Fri, 28 Feb 92 23:19:39 EST
Received: from greenbush.bellcore.com by thumper.bellcore.com (4.1/4.7)
	id <AA16349> for info-andrew@andrew.cmu.edu; Fri, 28 Feb 92 23:19:32 EST
Received: by greenbush.bellcore.com (4.1/4.7)
	id <AA04535> for endo@eecs.ucdavis.edu; Fri, 28 Feb 92 23:19:31 EST
Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.greenbush.galaxy.sun4.41
          via MS.5.6.greenbush.galaxy.sun4_41;
          Fri, 28 Feb 1992 23:19:25 -0500 (EST)
Message-Id: <wdfkbBu0M2YtIFWZxd@thumper.bellcore.com>
Date: Fri, 28 Feb 1992 23:19:25 -0500 (EST)
From: Nathaniel Borenstein <nsb@thumper.bellcore.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
To: info-andrew@andrew.cmu.edu
Subject: Re: Messages dosen't work
Cc: endo@eecs.ucdavis.edu
In-Reply-To: <9202290105.AA11743@madrone.eecs.ucdavis.edu>
References: <9202290105.AA11743@madrone.eecs.ucdavis.edu>

Have you tried putting the line

unset hold

in the file .mailrc in your home directory?
\enddata{text822, 208868}
\begindata{text822, 210740}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
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 </afs/andrew.cmu.edu/usr22/susan/Mailbox/sdfuYIW00UddQNik5Z>;
          Sat, 29 Feb 1992 10:39:01 -0500 (EST)
Received: from po5.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q001/QF.odfuWxK00Udd8Nfk4L>;
          Sat, 29 Feb 1992 10:37:33 -0500 (EST)
If-Type-Unsupported: send
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q001/QF.sdfuUlC00UkTMBZU45>;
          Sat, 29 Feb 1992 10:35:13 -0500 (EST)
Received: from thumper.bellcore.com by po3.andrew.cmu.edu (5.54/3.15) id <AA03473> for info-andrew+; Sat, 29 Feb 92 10:35:06 EST
Received: from greenbush.bellcore.com by thumper.bellcore.com (4.1/4.7)
	id <AA26159> for info-andrew+@andrew.cmu.edu; Sat, 29 Feb 92 10:35:04 EST
Received: by greenbush.bellcore.com (4.1/4.7)
	id <AA04781> for info-andrew+@andrew.cmu.edu; Sat, 29 Feb 92 10:35:03 EST
Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.greenbush.galaxy.sun4.41
          via MS.5.6.greenbush.galaxy.sun4_41;
          Sat, 29 Feb 1992 10:34:57 -0500 (EST)
Message-Id: <YdfuUVy0M2YtMGV3Ji@thumper.bellcore.com>
Date: Sat, 29 Feb 1992 10:34:57 -0500 (EST)
From: Nathaniel Borenstein <nsb@thumper.bellcore.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
To: Lee Boswell <boswell@iag.hp.com>
Subject: Re: replying to mail
Cc: info-andrew+@andrew.cmu.edu
In-Reply-To: <wdfcfIMD0O2G1bloo0@hpboz.iag.hp.com>
References: <wdfcfIMD0O2G1bloo0@hpboz.iag.hp.com>

If you want to put it in the middle of a paragraph that does NOT have
line breaks. you'll have to explicitly choose "plainer" on the affected
text.  If you're at the beginning of a line which is preceded by a hard
line break. the right thing should happen.

Right now, Messages wraps an "excerpt" style around each LINE of
excerpted text, which produces the behavior you see.  Using the style
mechanism, the only way I could imagine to fix this would be to put a
separate style around each CHARACTER, which would be incredibly wasteful
(not to mention producing an exceedingly ugly datastream, which will
matter more in Messages 8.X, where the datastream will be read by lots
of non-Andrew software and occasionally even by human beings).

An alternate approach would be to rebind all the text-insertion keys to
do something different if they're in the middle of an excerpt.  This
could be done, but it would be a lot of work....  For now, I suggest
using "plainest" to get your text out of the excerpt style.  -- Nathaniel
\enddata{text822, 210740}
\begindata{text822, 213550}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
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 </afs/andrew.cmu.edu/usr22/susan/Mailbox/gdgJejG00UddMooE5X>;
          Sun,  1 Mar 1992 17:29:03 -0500 (EST)
Received: from po5.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q003/QF.wdgJb=600Udd0ol05O>;
          Sun,  1 Mar 1992 17:25:15 -0500 (EST)
Received: from ucbvax.Berkeley.EDU by po5.andrew.cmu.edu (5.54/3.15) id <AA13503> for info-andrew; Sun, 1 Mar 92 17:25:09 EST
Received: by ucbvax.Berkeley.EDU (5.63/1.43)
	id AA05074; Sun, 1 Mar 92 14:06:10 -0800
Received: from USENET by ucbvax.Berkeley.EDU with netnews
	for info-andrew@andrew.cmu.edu (info-andrew@andrew.cmu.edu)
	(contact usenet@ucbvax.Berkeley.EDU if you have questions)
Date: 16 Feb 92 19:09:38 GMT
From: prism!gt0963d@gatech.edu  (Deeptendu Majumder)
Organization: The Dream Chasers Syndicate
Subject: Re: Mono monitor
Message-Id: <48936@hydra.gatech.EDU>
References: <9202151819.AA24745@cad.gatech.edu>
Sender: info-andrew-request@andrew.cmu.edu
To: info-andrew@andrew.cmu.edu

Well I have been trying to make the scroll bars look
right on the monochrome monitor. There seem to be so
many preferences related to scrollbar and I just cannot
seem to get the right combination of black & white &
foreground and background!

Will please anybody tell me what are ALL the various
components of the scrollbars and which options affect
which parts. I have looked at the scroll.help file. It
did not help.

There is matte, there is button, there is elevator,
there is dot, the bar itself, scroll etc..etc...And
each of them have shadow, foreground,background...
I tried MimicOld option that gave variable results.
Everytime I start the app the bars look different..Boy!

I need somebody to exactly describe to me what is what
and which options should I set to make it look like the
most simple scrollbar (a white slider on a grey bar,
like xterms under twm)

And for ITC people. It would be nice if you include a
explanatory diagram of scrollbar in your scroll.help
file..

I have been struggling with this problem so long that
it is getting to me..

If I do not get help I have to give up on ATK I guess.

thanks
d
-- 
------
"Like a harsh neon streaking  through the velvet darkness 
the whetted knife of Life tore its path through her Dreams"
\enddata{text822, 213550}
