\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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/MZvHH1200UddE3xU9q>;
          Thu,  1 Mar 90 09:42:10 -0500 (EST)
Received: from andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q005/QF.QZvHE5S00Ui30CHU4m>;
          Thu,  1 Mar 90 09:39:02 -0500 (EST)
Received: from thumper.bellcore.com by andrew.cmu.edu (5.54/3.15) id <AA03657> for info-andrew; Thu, 1 Mar 90 09:38:51 EST
Received: by thumper.bellcore.com (5.54/4.7)
	id AA09403; Thu, 1 Mar 90 09:37:46 EST
Received: by greenbush.bellcore.com (4.12/4.7)
	id AA10723; Thu, 1 Mar 90 09:36:18 est
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.greenbush.sins.sun4.40
          via MS.5.6.greenbush.sins.sun4_40;
          Thu,  1 Mar 90 09:36:16 -0500 (EST)
Message-Id: <4ZvHBUi0M2Yt4ddpkS@thumper.bellcore.com>
Date: Thu,  1 Mar 90 09:36:16 -0500 (EST)
From: Nathaniel Borenstein <nsb@thumper.bellcore.com>
To: Bill Janssen <janssen@parc.xerox.com>
Subject: Re: letter-bomb with tm!
Cc: info-andrew@andrew.cmu.edu
In-Reply-To: <sZv3pasB0KGWM_1moZ@holmes.parc.xerox.com>
References: <AZur90sB0KGWM1TLVu@holmes.parc.xerox.com>,
	<0Zuzsq60M2YtQIaKFV@thumper.bellcore.com>,
	<sZv3pasB0KGWM_1moZ@holmes.parc.xerox.com>

Well, that's sort of why I asked the question.  What you described seems
to be the *intended* behavior, but I couldn't get it to happen -- tm's
Write method seems to be broken, and just writes out csh -c -f instead
of what it is supposed to write out.  The only way I could find of
reproducing the tm bug was to put together a data stream by hand. 
Granted that this is still a horrible bug that has to be taken care of
immediately, I was intensely curious as to how you discovered it.  Still
am, for that matter, since I haven't found any way to make the bug
happen without putting together the data stream by hand.

If you're going to give a detailed answer, however, it is probably best
not to post it to the net.... -- Nathaniel
\enddata{text822, 0}
\begindata{text822, 2240}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
X-Andrew-Authenticated-as: 13;andrew.cmu.edu;Fred Hansen
Received: from bangor.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/EZvHOuW00VsP03RU9z>;
          Thu,  1 Mar 90 09:50:34 -0500 (EST)
If-Type-Unsupported: alter
Received: from bangor.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/usr13/wjh/.Outgoing/QF.wZvHOKm00VsPM2KXgS>;
          Thu,  1 Mar 90 09:49:59 -0500 (EST)
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.bangor.andrew.cmu.edu.rt.r3
          via MS.5.6.bangor.andrew.cmu.edu.rt_r3;
          Thu,  1 Mar 90 09:49:58 -0500 (EST)
Message-ID: <gZvHOKS00VsP02KXZa@andrew.cmu.edu>
Date: Thu,  1 Mar 90 09:49:58 -0500 (EST)
From: Fred Hansen <wjh+@andrew.cmu.edu>
X-Andrew-Message-Size: 401+0
Content-Type: X-BE2; 12
To: Info-Andrew <info-andrew+@andrew.cmu.edu>,
    nih-csl!kgorlen@uunet.uu.net (Keith Gorlen)
Subject: Re: Problems with Andrew on Sun SS-1
In-Reply-To: <1377@nih-csl.UUCP>
References: <1377@nih-csl.UUCP>

\begindata{text,270889648}
\textdsversion{12}
\template{messages}
\excerptedcaption{Excerpts from internet.info-andrew: 26-Feb-90 Problems with 
Andrew on Sun.. Keith Gorlen@uunet.uu.ne (5215)}


\quotation{ I recall reading that there were problems with the andrew version 
of malloc on the Sun-4

}
The version of Andrew malloc on the original distribution contains all the 
fixes needed for SUN4.  As far as I know it is working fine now.  (I trust 
someone will let me know if it's not.)


Fred Hansen\
\enddata{text,270889648}

\enddata{text822, 2240}
\begindata{text822, 3970}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/0ZvHbeq00UkT8Phk8S>;
          Thu,  1 Mar 90 10:04:15 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q000/QF.sZvHWYS00UkT0Pck5B>;
          Thu,  1 Mar 90 09:58:54 -0500 (EST)
If-Type-Unsupported: alter
Received: from andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q006/QF.IZvHSSW00Ui3MDV04P>;
          Thu,  1 Mar 90 09:54:40 -0500 (EST)
Received: from thumper.bellcore.com by andrew.cmu.edu (5.54/3.15) id <AA03950> for info-andrew; Thu, 1 Mar 90 09:53:28 EST
Received: by thumper.bellcore.com (5.54/4.7)
	id AA10010; Thu, 1 Mar 90 09:52:06 EST
Received: by greenbush.bellcore.com (4.12/4.7)
	id AA10763; Thu, 1 Mar 90 09:50:39 est
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.greenbush.sins.sun4.40
          via MS.5.6.greenbush.sins.sun4_40;
          Thu,  1 Mar 90 09:50:37 -0500 (EST)
Message-Id: <8ZvHOx60M2YtQdds0V@thumper.bellcore.com>
Date: Thu,  1 Mar 90 09:50:37 -0500 (EST)
From: Nathaniel Borenstein <nsb@thumper.bellcore.com>
X-Andrew-Message-Size: 741+0
Content-Type: X-BE2; 12
To: Graham Dumpleton <grahamd%otc.otca.oz.au%munnari.uucp@uunet.uu.net>
Subject: Re: More problems with posting to local bboards
Cc: info-andrew@andrew.cmu.edu, Bill Janssen <janssen@parc.xerox.com>
In-Reply-To: <0Zv4FK0B0KGWQ=V3AU@holmes.parc.xerox.com>
References: <kZuqYjq6bk8nQ1j1o8@otc.otca.oz>,
	<0Zv4FK0B0KGWQ=V3AU@holmes.parc.xerox.com>

\begindata{text,2602288}
\textdsversion{12}
\template{messages}
I think if you turn off all local validation, you turn off bboard address 
validation, too.  Probably it should be possible to have it turned on alone; 
I'm sure if you come up with a patch, it will be warmly received...


\excerptedcaption{Excerpts from internet.info-andrew: 28-Feb-90 More problems 
with posting .. Bill Janssen@parc.xerox. (705+0)}


\quotation{By the way, is there any way to post a message on the bboard other 
than clicking on the symbol of the folder, thereby bringing up the `What do 
you want to do with `foo'' menu, and selecting `Post a message on it'?  It 
would be nice to have a menu command for posting.

}
Well, you can simply type the name of the bboard on the "to" or "cc" header in 
sendmessage -- that's by far the easiest way.   


-- Nathaniel

\enddata{text,2602288}

\enddata{text822, 3970}
\begindata{text822, 6641}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/cZvV6CW00Ui30jYU8E>;
          Fri,  2 Mar 90 01:24:16 -0500 (EST)
Received: from po2.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q007/QF.IZvV47e00jZdAQq04e>;
          Fri,  2 Mar 90 01:22:01 -0500 (EST)
Received: from thumper.bellcore.com by po2.andrew.cmu.edu (5.54/3.15) id <AA01820>; Thu, 1 Mar 90 09:49:59 EST
Received: by thumper.bellcore.com (5.54/4.7)
	id AA09695; Thu, 1 Mar 90 09:44:47 EST
Received: by greenbush.bellcore.com (4.12/4.7)
	id AA10736; Thu, 1 Mar 90 09:43:16 est
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.greenbush.sins.sun4.40
          via MS.5.6.greenbush.sins.sun4_40;
          Thu,  1 Mar 90 09:43:13 -0500 (EST)
Message-Id: <IZvHI1i0M2YtEddqZP@thumper.bellcore.com>
Date: Thu,  1 Mar 90 09:43:13 -0500 (EST)
From: Nathaniel Borenstein <nsb@thumper.bellcore.com>
To: info-andrew@andrew.cmu.edu
Subject: Re: Problem with posting to bulletin boards.
Cc: Graham Dumpleton <munnari!otc.otca.oz.au!grahamd@uunet.uu.net>
In-Reply-To: <kZuqYjq6bk8nQ1j1o8@otc.otca.oz>
References: <kZuqYjq6bk8nQ1j1o8@otc.otca.oz>

Hmm...  One obvious possibility is that "test" is already a legitimate
user id or global or personal alias on your system.  Another possibility
is that you've got AMS_OnlyMail: 1 set in your configuration, though I
don't *think* that would explain this one.   Another possibility is that
you don't have your *.mspath preference right.

I suggest trying the following:  Run the cui program and type:

set level wizard
set term 0
set debug 0 0 0 -1
whois test

The "whois" command is simply a test/probe into the address validation
routines.  Doing this with messagserver debugging turned on will produce
some voluminous output.  If the output doesn't make the problem clear,
then you could at least post the output to this mailing list and it is
more likely that someone will be able to diagnose it better.  Good luck.
 -- Nathaniel
\enddata{text822, 6641}
\begindata{text822, 8910}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/oZvdU2W00UkT8MR09T>;
          Fri,  2 Mar 90 10:58:13 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q002/QF.YZvdLp:00UkTMMHE4U>;
          Fri,  2 Mar 90 10:49:24 -0500 (EST)
If-Type-Unsupported: alter
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q004/QF.4ZvdISm00UkTIM:k5w>;
          Fri,  2 Mar 90 10:45:38 -0500 (EST)
Received: from northstar2.dartmouth.edu by po3.andrew.cmu.edu (5.54/3.15) id <AA05332>; Fri, 2 Mar 90 09:30:41 EST
Received: by northstar2.dartmouth.edu (5.61D1/4.1)
	id AA04762; Fri, 2 Mar 90 09:29:12 -0500
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.northstar2.rt.r3
          via MS.5.6.northstar2.rt_r3;
          Fri,  2 Mar 90 09:29:10 -0500 (EST)
Message-Id: <wZvcAqq1eVVa00vt5B@northstar.dartmouth.edu>
Date: Fri,  2 Mar 90 09:29:10 -0500 (EST)
From: Anthony Edwards <tobeye@northstar.dartmouth.edu>
X-Andrew-Message-Size: 1682+0
Content-Type: X-BE2; 12
To: Craig_Everhart@transarc.com, Info-Andrew <info-andrew+@andrew.cmu.edu>
Subject: Re: Name Resolver disabled

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

attr:[FontSize ConstantFontSize Point 12]}
\define{itemize
menu:[Region~4,Itemize~31]
attr:[LeftMargin LeftMargin Inch 32768]}
\define{enumerate
menu:[Region~4,Enumerate~30]
attr:[LeftMargin LeftMargin Inch 32768]}
\define{programexample
menu:[Region~4,ProgramExample~13]
attr:[LeftMargin LeftMargin Inch 32768]
attr:[Justification LeftJustified Point 0]
attr:[FontFace FixedFace Int Set]
attr:[FontFamily AndyType Int 0]}
\define{excerptedcaption

attr:[LeftMargin LeftMargin Inch 32768]
attr:[RightMargin RightMargin Inch 32768]
attr:[FontFace Bold Int Set]
attr:[FontFace Italic Int Set]}
\define{notetotypesetter
menu:[Region~4,NoteToTypesetter~61]
attr:[Flags PassThru Int Set]}
\define{literal
menu:[Region~4,Literal~62]
attr:[Flags PassThru Int Set]}
> Now, we did work around a bug in the RT's hc compiler (hc 1.4r) that 

> was causing bogus names (that it should have rejected) to come out as 

> ``indeterminate''.  Might that be a possible reason why you get some of 

> your ``indeterminate'' answers?  


It very well could be.  I used hc1.4 to compile the whole ATK.


> And do you have the HardHostValidation flag off, so that all hard failures

> (``bad'') map to soft ones (``indeterminate'')?  (This is a fix not in any 

> official patch, yet.)

I put 

	AMS_HardHostValidationErrors: no

into our AndrewSetup file which explains why my errors were softened.


I'm really confused why Messages can't pickup on the use of the Name Resolver. 
 I know we have it installed and I thought I've been using it in other 
programs for some time now (telnet, finger, etc).  Just to verify that  ATK is 
square on the Name Resolver, I checked:


% \bold{cd $\{ANDREWDIR\}/config}

% \bold{grep RESOLVER *}

allsys.h:#define RESOLVER_ENV	1

allsys.mcr:#ifdef RESOLVER_ENV

allsys.mcr:#else RESOLVER_ENV

allsys.mcr:#endif RESOLVER_ENV

allsys.mcr.orig:#ifdef RESOLVER_ENV

allsys.mcr.orig:#else RESOLVER_ENV

allsys.mcr.orig:#endif RESOLVER_ENV


To make absolutely sure that this was really affecting compiles such as 
valhost.test, I issued a \bold{cc -E} and then searched for text wich 
valhost.c will only include if RESOLVER_ENV is turned on.  I found the text.


The only thing I can conclude is:

a)  our system administrator mucked with my machine and accidentally turned 
off the name resolver.  (Do you know of a quick, non-ATK, way of checking for 
the Name Resolver?)

b)  ATK is somehow, someway, subtly not connecting to the Name Resolver 
library routines.


   - \underline{Anthony}

\enddata{text,270846904}

\enddata{text822, 8910}
\begindata{text822, 13001}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/MZvfl:q00Ui30KwU83>;
          Fri,  2 Mar 90 13:32:44 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q007/QF.EZvfftO00UkT4E704z>;
          Fri,  2 Mar 90 13:27:38 -0500 (EST)
Received: from ucbvax.Berkeley.EDU by po3.andrew.cmu.edu (5.54/3.15) id <AA06050>; Fri, 2 Mar 90 10:34:12 EST
Received: by ucbvax.Berkeley.EDU (5.61/1.41)
	id AA24635; Fri, 2 Mar 90 07:30:27 -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: 2 Mar 90 15:20:33 GMT
From: cs.utexas.edu!samsung!brutus.cs.uiuc.edu!ux1.cso.uiuc.edu!mehlville.ncsa.uiuc.edu!garyf@tut.cis.ohio-state.edu  (Gary Faulkner)
Organization: NCSA - Univerisity of Illinois @ Urbana/Champaign
Subject: zip problem
Message-Id: <1990Mar2.152033.21298@ux1.cso.uiuc.edu>
Sender: info-andrew-request@andrew.cmu.edu
To: info-andrew@andrew.cmu.edu

I am running zip (patchlevel 3) and having some problems.  Most of all, it
doesn't appear to work at all.  I get a window, but it is basically blank.  
If I click MB2, I get the menus, but I also get messages like the following:

ZIP Default Exception Handler -- Facility ''  Status '1'
ZIP Default Exception Handler -- Facility ''  Status '1'
ZIP Default Exception Handler -- Facility ''  Status '21'
ZIP Default Exception Handler -- Facility ''  Status '21'

and then ZIP quits.  Has anyone else seen this??

BTW, this is running on a MVII with X11R4 patchlevel 2.  


Gary Faulkner
National Center for Supercomputing Applications - University of Illinois
Internet: garyf@mehlville.ncsa.uiuc.edu
Disclaimer:  I've only stated my opinion, not anyone elses.
\enddata{text822, 13001}
\begindata{text822, 15099}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/UZvgUey00UkT0FRk8S>;
          Fri,  2 Mar 90 14:23:24 -0500 (EST)
Received: from po5.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q000/QF.IZvg7dW00UddIC4U4g>;
          Fri,  2 Mar 90 13:56:49 -0500 (EST)
If-Type-Unsupported: alter
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q002/QF.0Zvg62y00UkTAFHk5B>;
          Fri,  2 Mar 90 13:55:00 -0500 (EST)
Received: from sparc01.icase.edu ([192.42.142.50]) by po3.andrew.cmu.edu (5.54/3.15) id <AA04408> for info-andrew; Fri, 2 Mar 90 13:53:03 EST
Received: by sparc01.icase.edu (4.0/SMI-DDN)
	id AA02844; Fri, 2 Mar 90 13:49:35 EST
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.sparc01.ICASE.sun4.40
          via MS.5.6.sparc01.ICASE.sun4_40;
          Fri,  2 Mar 90 13:49:35 -0500 (EST)
Message-Id: <gZvg0z70_csmQ=4m0n@icase.edu>
Date: Fri,  2 Mar 90 13:49:35 -0500 (EST)
From: Tom Crockett <tom@icase.edu>
X-Andrew-Message-Size: 647+0
Content-Type: X-BE2; 12
To: info-andrew@andrew.cmu.edu
Subject: Re: Problem with posting to bulletin boards.
In-Reply-To: <kZuqYjq6bk8nQ1j1o8@otc.otca.oz>
References: <kZuqYjq6bk8nQ1j1o8@otc.otca.oz>

\begindata{text,3080848}
\textdsversion{12}
\template{messages}
\excerptedcaption{Excerpts from info-andrew: 28-Feb-90 Problem with posting to 
bul.. Graham Dumpleton@uunet.u (3876)}


\quotation{Does anyone have any ideas about what I have missed.

}
I don't know about your specific problem, but if I try to post to a bulletin 
board from \italic{sendmessage}, it puts the wrong thing in the "To:" field 
after it validates the address (seems to be getting stuff from 
\bold{/etc/passwd} for the owner of the bulletin board).  If I send mail to 
the bboard from within \italic{messages}, then everything is fine and it gets 
sent to exactly what I specify in the second line of the \bold{.MS.DirectPost} 
file.  Is this a bug, or a feature, and if so, what is the rationale?


-Tom

\enddata{text,3080848}

\enddata{text822, 15099}
\begindata{text822, 17444}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/8ZvgeNG00Ui3IOG088>;
          Fri,  2 Mar 90 14:33:48 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q006/QF.MZvgZJG00UkTEGNk5f>;
          Fri,  2 Mar 90 14:28:24 -0500 (EST)
If-Type-Unsupported: alter
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q003/QF.YZvgWqS00UkTMGH04W>;
          Fri,  2 Mar 90 14:25:51 -0500 (EST)
Received: from northstar2.dartmouth.edu by po3.andrew.cmu.edu (5.54/3.15) id <AA06283>; Fri, 2 Mar 90 10:54:35 EST
Received: by northstar2.dartmouth.edu (5.61D1/4.1)
	id AA04943; Fri, 2 Mar 90 10:52:45 -0500
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.northstar2.rt.r3
          via MS.5.6.northstar2.rt_r3;
          Fri,  2 Mar 90 10:52:43 -0500 (EST)
Message-Id: <EZvdP=y1eVVaQ0vwot@northstar.dartmouth.edu>
Date: Fri,  2 Mar 90 10:52:43 -0500 (EST)
From: Anthony Edwards <tobeye@northstar.dartmouth.edu>
X-Andrew-Message-Size: 1055+0
Content-Type: X-BE2; 12
To: Craig_Everhart@transarc.com, Info-Andrew <info-andrew+@andrew.cmu.edu>,
        Craig_Everhart@transarc.com
Subject: Re: Solution - Name Resolver disabled

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

attr:[FontSize ConstantFontSize Point 12]}
\define{itemize
menu:[Region~4,Itemize~31]
attr:[LeftMargin LeftMargin Inch 32768]}
\define{enumerate
menu:[Region~4,Enumerate~30]
attr:[LeftMargin LeftMargin Inch 32768]}
\define{programexample
menu:[Region~4,ProgramExample~13]
attr:[LeftMargin LeftMargin Inch 32768]
attr:[Justification LeftJustified Point 0]
attr:[FontFace FixedFace Int Set]
attr:[FontFamily AndyType Int 0]}
\define{excerptedcaption

attr:[LeftMargin LeftMargin Inch 32768]
attr:[RightMargin RightMargin Inch 32768]
attr:[FontFace Bold Int Set]
attr:[FontFace Italic Int Set]}
\define{notetotypesetter
menu:[Region~4,NoteToTypesetter~61]
attr:[Flags PassThru Int Set]}
\define{literal
menu:[Region~4,Literal~62]
attr:[Flags PassThru Int Set]}
YES, we do definitely have the Name Resolver working and now I DO have (or 
soon will) \bold{messages} working correctly!


Here's the problem:


In the file $\{ANDREWDIR\}/overhead/mail/lib/\italic{valhost.c}, at the top 
after the #include block, I found 

	#define	dn_SKIPNAME

At this point, I don't know if this line was with the original distribution or 
not.  The effect of this #define was to totally ignore the call to 
dn_skipname() which is required for resolving names.


Here's the solution:


I commented that line out and added these two lines:

	#undef	dn_SKIPNAME

	#undef	CQUERYM

which basically tells \italic{valhost.c} that the \italic{dn_skipname}() 
routine IS defined on our system and use it!


I now get much better results from \italic{valhost.test}:


% \bold{valhost.test}

Test your favorite destination mail domain names.  One at a time, please.

domain: \bold{transarc.com}

Input: ``transarc.com''; output: ``transarc.com'' (good)

domain: \bold{ecs.umass.edu}

Input: ``ecs.umass.edu''; output: ``ecs.umass.edu'' (good)


Thanks, Craig, for sticking this one through with me and helping me out!


   - \underline{Anthony}

\enddata{text,270846904}

\enddata{text822, 17444}
\begindata{text822, 20987}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/AZvhC8K00UddEDCU9L>;
          Fri,  2 Mar 90 15:11:59 -0500 (EST)
Received: from andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q001/QF.gZvgzY200Ui34Pu04v>;
          Fri,  2 Mar 90 14:56:26 -0500 (EST)
Received: from thumper.bellcore.com by andrew.cmu.edu (5.54/3.15) id <AA07127> for info-andrew; Fri, 2 Mar 90 14:55:25 EST
Received: by thumper.bellcore.com (5.54/4.7)
	id AA20615; Fri, 2 Mar 90 14:52:17 EST
Received: by greenbush.bellcore.com (4.12/4.7)
	id AA05645; Fri, 2 Mar 90 14:49:15 est
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.greenbush.mouseclub.sun4.40
          via MS.5.6.greenbush.mouseclub.sun4_40;
          Fri,  2 Mar 90 14:49:11 -0500 (EST)
Message-Id: <AZvgsrC0M2YtIIUH5Q@thumper.bellcore.com>
Date: Fri,  2 Mar 90 14:49:11 -0500 (EST)
From: Nathaniel Borenstein <nsb@thumper.bellcore.com>
X-Andrew-Message-Size: 2494+0
Content-Type: X-BE2; 12
If-Type-Unsupported: alter
To: info-andrew@andrew.cmu.edu
Subject: Re: Problem with posting to bulletin boards.
In-Reply-To: <gZvg0z70_csmQ=4m0n@icase.edu>
References: <kZuqYjq6bk8nQ1j1o8@otc.otca.oz>,
	<gZvg0z70_csmQ=4m0n@icase.edu>

\begindata{text,2041072}
\textdsversion{12}
\template{messages}
What's going on here is a mismatch between the way AMS runs with and without 
AMDS (the AMS Delivery system, useful only if you have the Andrew File 
System).    Not surprisingly, the mechanisms were optimized for the AMDS 
environment; I have found it possible to make them work, albeit with a few 
oddities, in a non-AMDS environment.


First, you have to understand a wee bit about the process of AMS address 
validation.  If you put a bboard name on a To: or CC: line in sendmessage, 
this will get transformed into a posting address according to the proper 
.MS.DirectPost file.  All this stuff works just fine.  The oddity only begins 
to happen if your direct post file sends stuff back to a "local" user -- e.g. 
your bboard account.


In that case, what happens under various circumstances is that the address can 
get RE-validated.  That is, the output of the validation process becomes the 
input for another validation process.  This turns out to be fine in AMDS-style 
bboards, where the "local" address  is something like "bb+bboard-name", 
because the software knows that the +suffix is something important and to be 
preserved.  However, in non-AMDS situations, we typically run a bboard system 
with posting addresses like


"bb+foobar" <bb@mysite>


Unfortunately -- \italic{\bold{and I guess this could be considered a bug to 
be patched, ITC people}} -- the validation software considers the route phrase 
"bb+foobar" to be something it can safely throw away.  


Fortunately, there is a workaround.  Just use a posting address that doesn't 
precisely match your local value of ThisDomain.  For example, at Bellcore 
ThisDomain is "thumper.bellcore.com".  This means that I might have problems 
if I put either of the following in my .MS.DirectPost file:


"bb+foobar" <bb>

"bb+foobar" <bb@thumper.bellcore.com"


However, the trick I use is to use a host name that AMS doesn't think of as 
local, but that sendmail does.  In my case, my .MS.DirectPost files read more 
like


"bb+foobar" <bb@thumper>


This is validated as an external address, and hence not rewritten at all -- 
just what the doctor ordered!


So, the bottom line is:  there is a bug in validation in that it throws away 
route phrases (and comments!) in local RFC822 addresses when it validates 
them.  This should be fixed, but meanwhile the workaround is to set up your 
.MS.DirectPost files so that they don't look like "local" addresses, which you 
can do by using some alias for your local host name.


Hope that's helpful and clarifying.  -- Nathaniel

\enddata{text,2041072}

\enddata{text822, 20987}
\begindata{text822, 25131}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/EZviMZm00Ui3EVBk84>;
          Fri,  2 Mar 90 16:31:20 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q007/QF.8ZviJ:e00UkTQLKk5I>;
          Fri,  2 Mar 90 16:27:58 -0500 (EST)
Received: from zeta.saintjoe.edu by po3.andrew.cmu.edu (5.54/3.15) id <AA03669>; Fri, 2 Mar 90 12:42:53 EST
Received: by zeta.saintjoe.edu (4.0/SMI-4.0)
	id AA00904; Fri, 2 Mar 90 11:39:44 CST
Received: from Version.6.23.N.CUILIB.3.44.SNAP.NOT.LINKED.zeta.Unknown.Machine.Type
          via MS.5.5.zeta.sun3_35;
          Fri,  2 Mar 90 11:39:44 -0600 (CST)
Message-Id: <4ZvezUy3LE01I3PpJ5@zeta>
Date: Fri,  2 Mar 90 11:39:44 -0600 (CST)
From: Brian Capouch <brianc@zeta.saintjoe.EDU>
To: info-andrew@andrew.cmu.edu
Subject: Revving Up

Could any of you folks out there tell me whether it will be safe for me to "rev
up" to R4 on top of existing R3 user data files?

Specifically, most of our users have pretty highly populated .MESSAGES
directories that I'm sure they'd want to access after our rev change.  Are
there any gotchas I need to be aware of before I start the upgrade?

If it's of further help, no one here is programming in Andrew; we're just using
stock applications that come on the contrib tape.

Thanks in advance; if this info is deemed uninteresting to the group why not
email it directly to me.

Brian Capouch
Saint Joseph's College
brianc@saintjoe.edu
\enddata{text822, 25131}
\begindata{text822, 26893}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/oZvmfu600Ui3Mfo09b>;
          Fri,  2 Mar 90 21:24:58 -0500 (EST)
Received: from po2.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q006/QF.EZvme7:00jZdMUT05h>;
          Fri,  2 Mar 90 21:23:05 -0500 (EST)
Received: from ucbvax.Berkeley.EDU by po2.andrew.cmu.edu (5.54/3.15) id <AA06801>; Thu, 1 Mar 90 22:18:45 EST
Received: by ucbvax.Berkeley.EDU (5.61/1.41)
	id AA16801; Thu, 1 Mar 90 19:03:30 -0800
Received: from USENET by ucbvax.Berkeley.EDU with netnews
	for info-andrew@andrew.cmu.edu (info-andrew@andrew.cmu.edu)
	(contact usenet@ucbvax.Berkeley.EDU if you have questions)
Date: 2 Mar 90 01:51:10 GMT
From: ladcgw!hermes!fmayhar@uunet.uu.net  (Frank Mayhar)
Organization: Bull HN Information Systems Inc. Los Angeles Development Center
Subject: Andrew on a Sun 386i?
Message-Id: <1990Mar2.015110.13791@ladc.bull.com>
Sender: info-andrew-request@andrew.cmu.edu
To: info-andrew@andrew.cmu.edu

Perhaps this has been hashed over before, but here goes...

Before I jump into trying to port Andrew to the Sun 386i, has anyone already
done that?  Or, if not, can anyone give me any porting hints, or point be at
any documentation that might make my task a little easier?

Thanks in advance.
--
Frank Mayhar  fmayhar@hermes.ladc.bull.com (..!{uunet,hacgate}!ladcgw!fmayhar)
              Bull HN Information Systems Inc.  Los Angeles Development Center
              5250 W. Century Blvd., LA, CA  90045    Phone:  (213) 216-6241
\enddata{text822, 26893}
\begindata{text822, 28708}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/gZvq09W00UddA3UU96>;
          Sat,  3 Mar 90 01:11:22 -0500 (EST)
Received: from po5.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q002/QF.YZvpqOK00UddE3RU5C>;
          Sat,  3 Mar 90 01:01:00 -0500 (EST)
If-Type-Unsupported: alter
Received: from po2.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q004/QF.EZvpPYS00jZdM6m05k>;
          Sat,  3 Mar 90 00:32:20 -0500 (EST)
Received: from rand.org by po2.andrew.cmu.edu (5.54/3.15) id <AA01731> for info-andrew; Sat, 3 Mar 90 00:32:03 EST
Received: from gaucho.rand.org by rand.org; Fri, 2 Mar 90 21:26:16 -0800
Received: by gaucho.rand.org; Fri, 2 Mar 90 21:26:21 PST
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.gaucho.rand.org.sun4.40
          via MS.5.6.gaucho.rand.org.sun4_40;
          Fri,  2 Mar 90 21:26:20 -0800 (PST)
Message-Id: <8ZvpJwb01EthQbikxR@gaucho.rand.org>
Date: Fri,  2 Mar 90 21:26:20 -0800 (PST)
From: Isaac Salzman <salzman%gaucho@rand.org>
X-Andrew-Message-Size: 1980+0
Content-Type: X-BE2; 12
To: info-andrew@andrew.cmu.edu
Subject: .amsalien
Cc: nsb@thumper.bellcore.com, Isaac Salzman <salzman%gaucho@rand.org>

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

attr:[FontSize ConstantFontSize Point 12]}
\define{itemize
menu:[Region~4,Itemize~31]
attr:[LeftMargin LeftMargin Inch 32768]}
\define{enumerate
menu:[Region~4,Enumerate~30]
attr:[LeftMargin LeftMargin Inch 32768]}
\define{programexample
menu:[Region~4,ProgramExample~13]
attr:[LeftMargin LeftMargin Inch 32768]
attr:[Justification LeftJustified Point 0]
attr:[FontFace FixedFace Int Set]
attr:[FontFamily AndyType Int 0]}
\define{excerptedcaption

attr:[LeftMargin LeftMargin Inch 32768]
attr:[RightMargin RightMargin Inch 32768]
attr:[FontFace Bold Int Set]
attr:[FontFace Italic Int Set]}
\define{notetotypesetter
menu:[Region~4,NoteToTypesetter~61]
attr:[Flags PassThru Int Set]}
\define{literal
menu:[Region~4,Literal~62]
attr:[Flags PassThru Int Set]}
Well, once again I'm attempting to get the \typewriter{.amsalien} thing to 
work but I'm not having any luck whatsoever. I've done some more purusing of 
various manuals, help files, etc.... 


I want to be able to read some of my MH folders using messages. In theory I 
should be able to:


	- add \typewriter{~/Mail} to my \bold{mspath} in \typewriter{preferences}

	- create\typewriter{ .amsalien} in \typewriter{~/Mail}


and then go into CUI and and run \italic{scavenge folder-name. }Well, 

here's what happens:


\typewriter{\smaller{CUI> list rush

Getting folder list; please stand by...


</i/salzman/Mail>

(N) rush

(N) rush.pend

CUI> scav rush

Recursively scavenge all subdirectories [No] ?

Purge deletions after scavenging [No] ?

There is no folder named 'rush'.

CUI>

}}\smaller{
}So it sees the folder (when you \italic{list}) but then it doesn't (when you 
\italic{scavenge}). Btw, this is the version of Andrew that came with X11R4 
(haven't had a chance to patch it up yet), on a Sparcstation-1/SunOS4.03. I 
ran \italic{trace} on \italic{cui} to see what it's actually doing. I noticed 
that it's looking for (via an access system call) \typewriter{.MS_MsgDir} in 
the folder directory and prints the error just before it complains that 
there's no folder. Also, there were no calls to anything that tried to access 
\typewriter{.amsalien} - so that check seems to be getting skipped altogether.


Nathaniel, once upon a time you sent me a message describing what \italic{set 
debug} options to use to try and track down the problems I was having (this 
was in the beta version), and I can't find the message. Can you send that info 
to me again? Thanks!! 


Is anyone else attempting to use this feature???!!! Ciao!


\typewriter{\typewriter{\smaller{\smaller{* \bold{Isaac J. Salzman} 
                                           ----     

* \italic{The RAND Corporation} - Information Sciences Dept.          /o o/  / 
 

* 1700 Main St., PO Box 2138, Santa Monica, CA 90406-2138    | v |  |  

* AT&T      : +1 213-393-0411 x6421 or x7923 (ISL lab)      _|   |_/   

* Internet  : salzman@rand.org                             / |   |

* UUCP      : !uunet!rand.org!salzman                      | |   |     

* CompuServe: 76167,1046}}}}

\enddata{text,2094280}

\enddata{text822, 28708}
\begindata{text822, 33357}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/8ZvtYQy00UkTMGYk8y>;
          Sat,  3 Mar 90 05:14:54 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q004/QF.8ZvtJJG00UkTAGYE5f>;
          Sat,  3 Mar 90 04:58:47 -0500 (EST)
Received: from kossvax.slab.math.keio.ac.jp ([131.113.64.1]) by po3.andrew.cmu.edu (5.54/3.15) id <AA04746> for info-andrew; Sat, 3 Mar 90 04:57:49 EST
Received: by kossvax.slab.math.keio.ac.jp (5.61/2.7W)
	id AA06008; Sat, 3 Mar 90 17:40:47 +0900
Received: from susan.mita.keio.ac.jp by mitasun.mita.keio.ac.jp (4.0/6.4J.5-slab1.1)
	id AA17502; Sat, 3 Mar 90 17:16:28 JST
Received: by susan.mita.keio.ac.jp (5.61/6.4J.5-math-slab1.1)
	id AA09565; Sat, 3 Mar 90 17:15:46 +0900
Date: Sat, 3 Mar 90 17:15:46 +0900
From: kaz@mita.keio.ac.jp (Kazuhiro Kitagawa)
Return-Path: <kaz@mita.keio.ac.jp>
Message-Id: <9003030815.AA09565@susan.mita.keio.ac.jp>
To: info-andrew@andrew.cmu.edu
Subject: Andrew on IBM RT Mpel with AOS



I need you help.


We are still in trouble andrew on IBM Mpel display with X11R4 server.
X is pactched fix-1, fix-2 and compiled with hc2.1y.
Ordinary x clients(e.g. xterm and etc) work without problem, but the
andrew clients do NOT work correctly. Of course, andrew on IBM APA16
works without problem.

Is anyone solove the problem about the X11R4 server runs on Mpel on RT ?
Any infomation will be welcome.

	-kaz
	kaz@slab.math.keio.ac.jp
	Kaz Kitagawa 
	Dept. of Math. KEIO Univ.
	Yokohama Japan.


\enddata{text822, 33357}
\begindata{text822, 35175}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/MZwbiJ:00UkT85QU9z>;
          Mon,  5 Mar 90 09:45:48 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q000/QF.sZwbK2C00UkTI5Pk4A>;
          Mon,  5 Mar 90 09:19:53 -0500 (EST)
Received: from thumper.bellcore.com by po3.andrew.cmu.edu (5.54/3.15) id <AA01383> for info-andrew; Mon, 5 Mar 90 09:17:53 EST
Received: by thumper.bellcore.com (5.54/4.7)
	id AA07888; Mon, 5 Mar 90 09:19:01 EST
Received: by greenbush.bellcore.com (4.12/4.7)
	id AA14318; Mon, 5 Mar 90 09:17:33 est
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.greenbush.mouseclub.sun4.40
          via MS.5.6.greenbush.mouseclub.sun4_40;
          Mon,  5 Mar 90 09:17:30 -0500 (EST)
Message-Id: <QZwbHum0M2Yt4qZIFW@thumper.bellcore.com>
Date: Mon,  5 Mar 90 09:17:30 -0500 (EST)
From: Nathaniel Borenstein <nsb@thumper.bellcore.com>
To: info-andrew@andrew.cmu.edu, Isaac Salzman <salzman%gaucho@rand.org>
Subject: Re: .amsalien
Cc: Isaac Salzman <salzman%gaucho@rand.org>
In-Reply-To: <8ZvpJwb01EthQbikxR@gaucho.rand.org>
References: <8ZvpJwb01EthQbikxR@gaucho.rand.org>

I think this one is actually fairly easy to diagnose.

Somewhere deep in the bowels of the documentation, I'm pretty sure that
it says that an AMS tree root must be a directory whose name starts with
".MESSAGES".  That is, it can be ".MESSAGES", ".MESSAGES_foobar", etc. 
The reason for this restriction is that it is often necessary to find
the root of an AMS tree, given a folder path name.  The root is now
well-defined as the first .MESSAGES* directory that it finds upon
climbing up the tree.

Given that your root does not follow this convention, I suspect that AMS
is unable to figure out where to look for the .amsalien file, and then
things break down further from there.  

My suggestion is that you create a symbolic link from ~/.MESSAGES_MH to
~/Mail, and make ~/.MESSAGES_MH the thing you add to your mspath
preference.  My guess is that if that does not solve the problem, it
will at least get you considerably further along before the next problem
rears its ugly head.

BTW, I do recommend that you incorporate patches 1-3, especially since
you're on a SPARC, for which several core dump bug fixes have been
released.  

Also, in answer to your debugging question:  the magic command you want
for any messageserver-related  debugging is "set debug 0 0 0 -1".   You
can control the quantity of output by replacing the -1 with some other
number, but then you'll have to look at the code to figure out which
number you want, which is probably not worth the trouble....   

Hope that helps.  -- Nathaniel
\enddata{text822, 35175}
\begindata{text822, 38155}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/sZwdXUC00UddA=tk88>;
          Mon,  5 Mar 90 11:50:55 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q002/QF.kZwdD:W00UkT4=Ik53>;
          Mon,  5 Mar 90 11:29:03 -0500 (EST)
Received: from thumper.bellcore.com by po3.andrew.cmu.edu (5.54/3.15) id <AA01595>; Mon, 5 Mar 90 09:38:51 EST
Received: by thumper.bellcore.com (5.54/4.7)
	id AA08704; Mon, 5 Mar 90 09:25:15 EST
Received: by greenbush.bellcore.com (4.12/4.7)
	id AA14348; Mon, 5 Mar 90 09:23:47 est
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.greenbush.mouseclub.sun4.40
          via MS.5.6.greenbush.mouseclub.sun4_40;
          Mon,  5 Mar 90 09:23:45 -0500 (EST)
Message-Id: <YZwbNle0M2YtMqZIll@thumper.bellcore.com>
Date: Mon,  5 Mar 90 09:23:45 -0500 (EST)
From: Nathaniel Borenstein <nsb@thumper.bellcore.com>
To: info-andrew@andrew.cmu.edu
Subject: Re: Revving Up
Cc: Brian Capouch <brianc@zeta.saintjoe.edu>
In-Reply-To: <4ZvezUy3LE01I3PpJ5@zeta>
References: <4ZvezUy3LE01I3PpJ5@zeta>

I don't believe there should be any changes that will have a noticable
impact on the users.  Messages version 7.X was primarily a code cleanup
-- the version is more internally consistent, and (I believe) less buggy
than 6.23, which appears to be what you're running now.  Also, there are
a few really neat new features...  At any rate, I don't think there were
any changes to the user data file formats.  

Obviously there's always a chance that you could compile things with
some options wrong, so you do want to test it out a bit before releasing
it to your users.  The problems you're likely to have are not related so
much to data formats as to things like whether the resolver is running,
etc.  

When you make the upgrade, be sure to get the patches that have been
released -- things will run without them but you could spare yourself a
few bugs.

I also recommend upgrading your X11 release to R4; the performance
improvements are pretty amazing.  

Hope this helps.  -- Nathaniel
\enddata{text822, 38155}
\begindata{text822, 40531}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/0ZwcqD600Ui34CU08z>;
          Mon,  5 Mar 90 11:02:23 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q005/QF.QZwcnau00UkTI9kU53>;
          Mon,  5 Mar 90 10:59:41 -0500 (EST)
Received: from thumper.bellcore.com by po3.andrew.cmu.edu (5.54/3.15) id <AA01591>; Mon, 5 Mar 90 09:38:13 EST
Received: by thumper.bellcore.com (5.54/4.7)
	id AA09261; Mon, 5 Mar 90 09:39:22 EST
Received: by greenbush.bellcore.com (4.12/4.7)
	id AA14386; Mon, 5 Mar 90 09:37:53 est
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.greenbush.mouseclub.sun4.40
          via MS.5.6.greenbush.mouseclub.sun4_40;
          Mon,  5 Mar 90 09:37:51 -0500 (EST)
Message-Id: <wZwbaza0M2Yt4qZJAV@thumper.bellcore.com>
Date: Mon,  5 Mar 90 09:37:51 -0500 (EST)
From: Nathaniel Borenstein <nsb@thumper.bellcore.com>
To: info-andrew@andrew.cmu.edu
Subject: Re: Footers in ez??
In-Reply-To: <1990Feb28.161842.25884@ux1.cso.uiuc.edu>
References: <1990Feb28.161842.25884@ux1.cso.uiuc.edu>

There's always the tried-and-true "fall back to troff" method -- just
add the appropriate troff commands and wrap them in a "FormatNote"
environment.  It isn't pretty, but it works.  I'd tell you what the
troff commands are, except that I'm at home and my troff manuals are at
work.  I think it invoves ".de fo" or something like that. 

There's been regular talk about a "formatting control" inset that you
could place in a document and interact with to produce things like this,
instead of having to know the raw troff yourself.  (Indeed, the
pagebreak object, introduced in the R4 release, is a specialization of
such a beast.)    This is actually something that could be written by
anyone with a little ATK knowledge and a lot of troff savvy.  Any
volunteers out there?
\enddata{text822, 40531}
\begindata{text822, 42680}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/QZwdvFy00jZdAJVU8u>;
          Mon,  5 Mar 90 12:16:04 -0500 (EST)
Received: from po5.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q007/QF.cZwdr9a00UddAAhU5i>;
          Mon,  5 Mar 90 12:11:43 -0500 (EST)
If-Type-Unsupported: alter
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q005/QF.4ZwdoDy00UkTEBGU5r>;
          Mon,  5 Mar 90 12:08:43 -0500 (EST)
Received: from thumper.bellcore.com by po3.andrew.cmu.edu (5.54/3.15) id <AA03351> for info-andrew; Mon, 5 Mar 90 12:04:04 EST
Received: by thumper.bellcore.com (5.54/4.7)
	id AA15268; Mon, 5 Mar 90 12:04:21 EST
Received: by greenbush.bellcore.com (4.12/4.7)
	id AA14690; Mon, 5 Mar 90 12:02:54 est
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.greenbush.mouseclub.sun4.40
          via MS.5.6.greenbush.mouseclub.sun4_40;
          Mon,  5 Mar 90 12:02:52 -0500 (EST)
Message-Id: <EZwdiwu0M2YtMtHFgR@thumper.bellcore.com>
Date: Mon,  5 Mar 90 12:02:52 -0500 (EST)
From: Nathaniel Borenstein <nsb@thumper.bellcore.com>
X-Andrew-Message-Size: 267+0
Content-Type: X-BE2; 12
To: salzman@rand.org
Subject: Re: .amsalien
Cc: info-andrew@andrew.cmu.edu, Isaac Salzman <salzman%gaucho@rand.org>
In-Reply-To: <9003051552.AA01831@gaucho.rand.org>
References: <9003051552.AA01831@gaucho.rand.org>

\begindata{text,2550152}
\textdsversion{12}
\template{messages}
\excerptedcaption{Excerpts from info-andrew: 5-Mar-90 Re: .amsalien Isaac 
Salzman@rand.org (2501)}


\quotation{So I gather} \quotation{with patch level 3 everything works, even 
when compiling with -O

}
No, that's a Sun compiler bug, not an Andrew bug.  But I think that at least 
-O is no longer the default!  

\enddata{text,2550152}

\enddata{text822, 42680}
\begindata{text822, 44773}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
X-Andrew-Authenticated-as: 7650;andrew.cmu.edu;Jaap Akkerhuis
Received: from tigger.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/MZweP3i00Vsw87y08d>;
          Mon,  5 Mar 90 12:49:56 -0500 (EST)
Received: from tigger.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/usr21/jaap/.Outgoing/QF.AZweNyG00Vsw07C1QP>;
          Mon,  5 Mar 90 12:48:49 -0500 (EST)
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.tigger.andrew.cmu.edu.rt.r3
          via MS.5.6.tigger.andrew.cmu.edu.rt_r3;
          Mon,  5 Mar 90 12:48:46 -0500 (EST)
Message-ID: <kZweNy600Vsw47C1Iv@andrew.cmu.edu>
Date: Mon,  5 Mar 90 12:48:46 -0500 (EST)
From: Jaap Akkerhuis <jaap+@andrew.cmu.edu>
X-Andrew-Message-Size: 1585+0
Content-Type: X-BE2; 12
If-Type-Unsupported: alter
To: Info-Andrew <info-andrew+@andrew.cmu.edu>
Subject: Re: Footers in ez??
In-Reply-To: <wZwbaza0M2Yt4qZJAV@thumper.bellcore.com>
References: <1990Feb28.161842.25884@ux1.cso.uiuc.edu>,
	<wZwbaza0M2Yt4qZJAV@thumper.bellcore.com>

\begindata{text,270858488}
\textdsversion{12}
\template{messages}


\excerptedcaption{Excerpts from internet.info-andrew: 5-Mar-90 Re: Footers in 
ez?? Nathaniel Borenstein@thu (774)}


\quotation{There's always the tried-and-true "fall back to troff" method -- 
just

}\quotation{add the appropriate troff commands and wrap them in a "FormatNote"

}\quotation{environment.  It isn't pretty, but it works.  I'd tell you what 
the

}\quotation{troff commands are, except that I'm at home and my troff manuals 
are at

}\quotation{work.  I think it invoves ".de fo" or something like that. 


}The ``Andrew help system'' is supposed to answer this question.


\quotation{There's been regular talk about a "formatting control" inset that 
you

}\quotation{could place in a document and interact with to produce things like 
this,

}\quotation{instead of having to know the raw troff yourself.  (Indeed, the

}\quotation{pagebreak object, introduced in the R4 release, is a 
specialization of

}\quotation{such a beast.)    This is actually something that could be written 
by

}\quotation{anyone with a little ATK knowledge and a lot of troff savvy.  Any

}\quotation{volunteers out there?

}
Before anyone volunteers to do this, the first thing that needs to be done is 
to clean up the way troff code is generated. Every object is assuming that in 
can just dump out troff on any moment, so sometimes creating problems.


Since using troff is just like writing assembler there should be one place in 
where troff is generated, so one can keep track of the state of the ``troff 
engine'',  just like compilers have a code generating stage. Although it has 
cleaned up a little bit by now, the way troff code is generated in, for 
instance, the text object, on the moment is insane and error prone.


No, I'm not volunteering to any of this.


	jaap\
\enddata{text,270858488}

\enddata{text822, 44773}
\begindata{text822, 47879}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/QZwmTB:00jZd098E85>;
          Mon,  5 Mar 90 22:00:29 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q001/QF.YZwmQui00UkT8RtU4T>;
          Mon,  5 Mar 90 21:58:09 -0500 (EST)
Received: from rand.org by po3.andrew.cmu.edu (5.54/3.15) id <AA03256>; Mon, 5 Mar 90 11:55:25 EST
Received: from gaucho.rand.org by rand.org; Mon, 5 Mar 90 07:52:21 -0800
Received: from localhost by gaucho.rand.org; Mon, 5 Mar 90 07:52:25 PST
Message-Id: <9003051552.AA01831@gaucho.rand.org>
To: Nathaniel Borenstein <nsb@thumper.bellcore.com>
Cc: info-andrew@andrew.cmu.edu, Isaac Salzman <salzman%gaucho@rand.org>
Subject: Re: .amsalien 
In-Reply-To: Your message of Mon, 05 Mar 90 09:17:30 -0500.
             <QZwbHum0M2Yt4qZIFW@thumper.bellcore.com> 
From: Isaac Salzman <salzman@rand.org>
Reply-To: salzman@rand.org
Date: Mon, 05 Mar 90 07:52:24 PST
Sender: salzman%gaucho@rand.org


>Nathaniel Borenstein <nsb@thumper.bellcore.com> writes:
>Somewhere deep in the bowels of the documentation, I'm pretty sure that
>it says that an AMS tree root must be a directory whose name starts with
>".MESSAGES".  That is, it can be ".MESSAGES", ".MESSAGES_foobar", etc. 
>The reason for this restriction is that it is often necessary to find
>the root of an AMS tree, given a folder path name.  The root is now
>well-defined as the first .MESSAGES* directory that it finds upon
>climbing up the tree.

Well, I definitely think that was one of the problems. I actually took it
one step further. I sym-linked ~/.MESSAGES to ~/Mail - so MH and messages
just share the same tree - period. Bill Cattey gave me the other piece of
the answer. In order for .amsalien and scavenge to work you need to first
"CREATE" the folder with CUI. I tried this on existing MH folders and it
works just fine. If the directory doesn't exist it creates it, if it
already exists it just creates .MS_MsgDir and leaves everything else alone.


>BTW, I do recommend that you incorporate patches 1-3, especially since
>you're on a SPARC, for which several core dump bug fixes have been
>released.  

I've been intending to, but someone stole my disk space!! :-) So I gather
with patch level 3 everything works, even when compiling with -O? 

>Also, in answer to your debugging question:  the magic command you want
>for any messageserver-related  debugging is "set debug 0 0 0 -1".   You
>can control the quantity of output by replacing the -1 with some other
>number, but then you'll have to look at the code to figure out which
>number you want, which is probably not worth the trouble....   

Thanks, I won't loose the message this time!

>Hope that helps.  -- Nathaniel

Sure does! Thanks again - to you and Bill.... To anyone listening at CMU:
you may want to add these little tidbit's of info to the doc's on how to
use the .amsalien stuff. Just in case there is one more person out there
interested in using it - it'll probably save them a couple hours. :-)

--
* Isaac J. Salzman                                            ----     
* The RAND Corporation - Information Sciences Dept.          /o o/  /  
* 1700 Main St., PO Box 2138, Santa Monica, CA 90406-2138    | v |  |  
* AT&T      : +1 213-393-0411 x6421 or x7923 (ISL lab)      _|   |_/   
* Internet  : salzman@rand.org                             / |   |
* UUCP      : !uunet!rand.org!salzman                      | |   |     
* CompuServe: 76167,1046
\enddata{text822, 47879}
\begindata{text822, 51662}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/MZwn5kG00jZdQ:WE8w>;
          Mon,  5 Mar 90 22:41:37 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q001/QF.AZwn3rS00UkTITa05A>;
          Mon,  5 Mar 90 22:39:55 -0500 (EST)
Received: from uunet.UU.NET by po3.andrew.cmu.edu (5.54/3.15) id <AA08071> for info-andrew; Mon, 5 Mar 90 22:37:44 EST
Received: from munnari.UUCP by uunet.UU.NET (5.61/1.14) with UUCP 
	id AA19909; Mon, 5 Mar 90 22:36:43 -0500
Received: from munnari.OZ.AU by murtoa.cs.mu.OZ.AU with SMTP (5.61+IDA+MU)
	id AA23659; Fri, 2 Mar 1990 16:37:13 +1100
	(from dmh@goanna.cs.rmit.OZ.AU for )
Received: from goanna.cs.rmit.oz by munnari.oz.au with SunIII (5.61+IDA+MU)
	id AA08044; Fri, 2 Mar 90 16:36:54 +1100
	(from dmh@goanna.cs.rmit.OZ.AU for info-andrew@andrew.cmu.edu)
Message-Id: <9003020536.8044@munnari.oz.au>
From: munnari!goanna.cs.rmit.oz.au!dmh@uunet.UU.NET (Darren Hosking)
Received: by goanna.cs.rmit.OZ.AU 
To: info-andrew@andrew.cmu.edu
Subject: andrew documentation
Date: Fri, 02 Mar 90 16:35:20 +1100


Is there a document somewhere (latex, ditroff, or text file) that gives an
overview of andrew and all its features? I couldn't find anything on the
R4 tapes apart from individual descriptions of ams, atk, and oda. We want
to know exactly what it does before attempting to compile it on our
hybrid SYSV/BSD monster/machine.

	Thanks in advance, dmh

Darren Hosking				ACSnet: dmh@goanna.oz	 
Department Of Computer Science		ARPA:   dmh%goanna.oz.au@uunet.uu.net
RMIT					CSNET:  dmh%goanna.oz.au@australia
GPO Box 2476V				UUCP:   ...!uunet!goanna.oz.au!dmh
Melbourne Vic., Australia 3001
\enddata{text822, 51662}
\begindata{text822, 53657}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/AZwqxau00UkT4dX09x>;
          Tue,  6 Mar 90 03:06:02 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q002/QF.4ZwqtvC00UkTAdVk5h>;
          Tue,  6 Mar 90 03:02:11 -0500 (EST)
Received: from uunet.UU.NET by po3.andrew.cmu.edu (5.54/3.15) id <AA10610> for info-andrew; Tue, 6 Mar 90 02:59:32 EST
Received: from munnari.UUCP by uunet.UU.NET (5.61/1.14) with UUCP 
	id AA25718; Tue, 6 Mar 90 02:59:00 -0500
Received: from munnari.OZ.AU by murtoa.cs.mu.OZ.AU with SMTP (5.61+IDA+MU)
	id AA24355; Fri, 2 Mar 1990 17:06:43 +1100
	(from grahamd@otc.otca.oz for uunet!info-andrew@andrew.cmu.edu)
Received: from otc.otca.oz (via basser) by munnari.oz.au with SunIII (5.61+IDA+MU)
	id AA10968; Fri, 2 Mar 90 17:06:38 +1100
	(from grahamd@otc.otca.oz for info-andrew@andrew.cmu.edu)
Received: (via otc) by otc (5.61)
	id AA19310; Fri, 2 Mar 90 18:05:14 +1100
	(from grahamd@otc.otca.oz for info-andrew%andrew.cmu.edu@munnari.cs.mu.oz)
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.griffin.otca.oz.au.sun3.4
          via MS.5.6.griffin.otca.oz.au.sun3_4;
          Fri,  2 Mar 90 17:07:37 +1100 (EST)
Message-Id: <EZvUqd66bk8nA2Lkdd@otc.otca.oz>
Date: Fri,  2 Mar 90 17:07:37 +1100 (EST)
From: Graham Dumpleton <munnari!otc.otca.oz.au!grahamd@uunet.UU.NET>
To: info-andrew@andrew.cmu.edu
Subject: Modification so bush handles compressed files.

We use bush here as a quick way of getting access to local information
files; ie. we have 'Info-local' bound to 'bush /usr/local/information'
in the window manager setup file. Now, one of the things we keep in
/usr/local/information is compressed listings for remote ftp and
fetchfile sites, but the standard bush doesn't understand the concept of
compressed files.

Ideally one would have an object which could read and write a compressed
files and then having an addfiletype in your .ezinit file. You could
probably even make it so that it understood compressed Andrew files; ie
foo.ez.Z. I would have to think a bit about how to do this though; not
having written an Andrew inset, so I made the following quick change to
bush until I do get around to creating such a thing.

It only works for viewing a file, ie. double clicking on an entry,
obviously it doesn't work for editing.

Hope that some one else finds this feature as useful as we have.

Graham Dumpleton (grahamd@otc.otca.oz.au)



*** bushv.c.dist	Thu Nov 23 03:52:30 1989
--- bushv.c	Fri Mar  2 17:21:03 1990
***************
*** 1633,1641 ****
      PostCursor(self,Cursor_Wait);
      Object = entry_object;
      sprintf(file_name,"%s/%s",bush_DirPath(Bush,CurrNode),CurrEntry->name);
!     sprintf(msg,"reading '%s'",file_name);
!     bushv_Announce(self,msg);
!     if(EntryFilep = fopen(file_name,"r")) {
  	objectName = filetype_Lookup(EntryFilep,file_name,&objectID,NULL); 
  	if(!objectName) objectName = "text";
  	if(EntryView) {
--- 1633,1669 ----
      PostCursor(self,Cursor_Wait);
      Object = entry_object;
      sprintf(file_name,"%s/%s",bush_DirPath(Bush,CurrNode),CurrEntry->name);
! 
!     if (
! 	 strlen(file_name) > 2
! 	 &&
! 	 strcmp(file_name+strlen(file_name)-2, ".Z") == 0
!        )
!     {
! 	char tmpfile[MAXPATHLEN];
! 	char command[MAXPATHLEN+32];
! 
! 	sprintf(msg,"uncompressing '%s'",file_name);
! 	bushv_Announce(self,msg);
! 
! 	sprintf(tmpfile, "/tmp/bush.%d", getpid());
! 	sprintf(command, "cat %s | /usr/ucb/uncompress > %s", file_name, tmpfile);
! 	system(command);
! 
! 	sprintf(msg,"reading '%s'",tmpfile);
! 	bushv_Announce(self,msg);
! 
! 	EntryFilep = fopen(tmpfile,"r");
! 	unlink(tmpfile);
!     }
!     else
!     {
! 	sprintf(msg,"reading '%s'",file_name);
! 	bushv_Announce(self,msg);
! 	EntryFilep = fopen(file_name,"r");
!     }
! 
!     if(EntryFilep) {
  	objectName = filetype_Lookup(EntryFilep,file_name,&objectID,NULL); 
  	if(!objectName) objectName = "text";
  	if(EntryView) {
\enddata{text822, 53657}
\begindata{text822, 57928}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/4Zwr6YS00Ui3EDPE8:>;
          Tue,  6 Mar 90 03:15:32 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q003/QF.EZwr4QG00UkT8duU5s>;
          Tue,  6 Mar 90 03:13:20 -0500 (EST)
Received: from rand.org by po3.andrew.cmu.edu (5.54/3.15) id <AA06290>; Mon, 5 Mar 90 16:30:52 EST
Received: from gaucho.rand.org by rand.org; Mon, 5 Mar 90 10:18:34 -0800
Received: from localhost by gaucho.rand.org; Mon, 5 Mar 90 10:18:35 PST
Message-Id: <9003051818.AA02465@gaucho.rand.org>
To: Nathaniel Borenstein <nsb@thumper.bellcore.com>
Cc: salzman@rand.org, info-andrew@andrew.cmu.edu,
        Isaac Salzman <salzman%gaucho@rand.org>
Subject: Re: .amsalien 
In-Reply-To: Your message of Mon, 05 Mar 90 12:02:52 -0500.
             <EZwdiwu0M2YtMtHFgR@thumper.bellcore.com> 
From: Isaac Salzman <salzman@rand.org>
Reply-To: salzman@rand.org
Date: Mon, 05 Mar 90 10:18:34 PST
Sender: salzman%gaucho@rand.org


>Nathaniel Borenstein <nsb@thumper.bellcore.com> writes:

>No, that's a Sun compiler bug, not an Andrew bug.  But I think that at
>least -O is no longer the default!  

Well yeah, that makes sense. I recall detecting a Sun compiler bug with the
beta version in the whitepages code. I don't know if I'd *totally* blame it
on Sun's compiler (though there's no excuse for different behavior with or
w/o -O). These bugs tend to crop up in some "not so kosher" (and not so
portable) code (e.g. passing structs or unions and expecting pointers -
that sort of thing), where assumptions are made about what the compiler is
generating.

I don't think I've seen any mention of this on the list. Has anyone tried
building Andrew on a SPARC machine using GCC (GNU C Compiler, where using
-O tends not to break your code)? Thanks!

--
* Isaac J. Salzman                                            ----     
* The RAND Corporation - Information Sciences Dept.          /o o/  /  
* 1700 Main St., PO Box 2138, Santa Monica, CA 90406-2138    | v |  |  
* AT&T      : +1 213-393-0411 x6421 or x7923 (ISL lab)      _|   |_/   
* Internet  : salzman@rand.org                             / |   |
* UUCP      : !uunet!rand.org!salzman                      | |   |     

\enddata{text822, 57928}
\begindata{text822, 60484}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
X-Andrew-Authenticated-as: 91;andrew.cmu.edu;Tom Neuendorffer
Received: from dublin.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/8ZwwTxi00Vt147Ck9n>;
          Tue,  6 Mar 90 09:23:58 -0500 (EST)
Received: from dublin.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/usr20/tpn/.Outgoing/QF.8ZwwTKa00Vt1I6ZWNi>;
          Tue,  6 Mar 90 09:23:19 -0500 (EST)
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.dublin.andrew.cmu.edu.rt.r3
          via MS.5.6.dublin.andrew.cmu.edu.rt_r3;
          Tue,  6 Mar 90 09:23:17 -0500 (EST)
Message-ID: <sZwwTJu00Vt106ZWFJ@andrew.cmu.edu>
Date: Tue,  6 Mar 90 09:23:17 -0500 (EST)
From: Tom Neuendorffer <tpn+@andrew.cmu.edu>
X-Andrew-Message-Size: 963+0
Content-Type: X-BE2; 12
If-Type-Unsupported: alter
To: Info-Andrew <info-andrew+@andrew.cmu.edu>
Subject: ITC papers available

\begindata{text,270121512}
\textdsversion{12}
\template{messages}


\excerptedcaption{Excerpts from internet.info-andrew: 26-Feb-90 Online info 
for Andrew and .. Arun Kandappan@tut.cis.o (352)}



\quotation{	Does anyone know where some info on Andrew and the associated

}\quotation{File system could be found other than from the atk distribution. 
IS

}\quotation{there any place where a PS version of the docs are kept ?

}
The ITC publishes a booklet titled ``The Andrew Project'', which contains a 
collection of papers describing the Andrew project. Postscript versions of 
these selected ITC papers are now available via anonymous ftp from the 
Internet host,  emsworth.andrew.cmu.edu (Internet:128.2.30.62 ) in the psdoc 
directory. Those of you on AFS can access the file directly in the directory 
/afs/andrew.cmu.edu/itc/sm/releases/X.V11R4/psdoc. Papers on the Andrew 
Toolkit, the Andrew File system, the Andrew Message system, the ODA-Express 
project, the Ness programming language, and the ADEW interface builder are 
included. See the psdoc READ_ME file for more details.


	Tom N.

\enddata{text,270121512}

\enddata{text822, 60484}
\begindata{text822, 62690}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/sZwyzSu00Ui3MI1E8I>;
          Tue,  6 Mar 90 12:14:10 -0500 (EST)
Received: from andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q006/QF.EZwywKq00Ui3MHv04i>;
          Tue,  6 Mar 90 12:10:48 -0500 (EST)
Received: from engrts02.unl.edu ([129.93.8.9]) by andrew.cmu.edu (5.54/3.15) id <AA05077> for info-andrew; Tue, 6 Mar 90 12:09:39 EST
Received: by engrts02.unl.edu (AIX  2.1.2/4.03)
          id AA14136; Tue, 6 Mar 90 11:09:02 CST
Date: Tue, 6 Mar 90 11:09:02 CST
From: james@engrts02.unl.edu (James Nau)
Message-Id: <9003061709.AA14136@engrts02.unl.edu>
To: info-andrew@andrew.cmu.edu
Subject: ATK on IBM RT AIX

I'm trying to build Andrew from the X11R4 tapes, with patchlevel 3
applied.  My hardware is an IBM RT running AIX 2.2.1.  I have all
my site files edited, but when I run the imake:

imake -I. -I./config -Timake.tmpl -s Makefile -DTOPDIR=.

the Makefile that results does NOT have any site info in it, the top looks
like:

#
# This makefile is automatically generated by imake... do not modify
# or you may lose your changes when imake generates makefiles again.
# Ignore this message if you are not using imake.
#

#
# The following comes from the macro file
#

#
# Back from the macro file
#


In imake.tmpl, I looked, and saw where the rt_aix221 info is supposed to
get included: if defined (AIX) && (!defined(i386))..., but it is not included.
I made a test file with the same set of defines, and ran it through
cc -E, and it came out as expected.

Sounds like a problem with imake, but has anybody else had this problem
on an RT with AIX?

Thanks
James Nau
james@engrts02.unl.edu

\enddata{text822, 62690}
\begindata{text822, 64674}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
X-Andrew-Authenticated-as: 602;andrew.cmu.edu;Adam Stoller
Received: from fishtank.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/wZx0g1i00as9ES1E8I>;
          Tue,  6 Mar 90 14:09:54 -0500 (EST)
Received: from fishtank.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/usr21/ghoti/.Outgoing/QF.UZx0f8u00as98S00gU>;
          Tue,  6 Mar 90 14:08:57 -0500 (EST)
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.fishtank.andrew.cmu.edu.sun3.35
          via MS.5.6.fishtank.andrew.cmu.edu.sun3_35;
          Tue,  6 Mar 90 14:08:56 -0500 (EST)
Message-ID: <0Zx0f8_00as9QS00YX@andrew.cmu.edu>
Date: Tue,  6 Mar 90 14:08:56 -0500 (EST)
From: Adam Stoller <ghoti+@andrew.cmu.edu>
X-Andrew-Message-Size: 420+0
Content-Type: X-BE2; 12
If-Type-Unsupported: alter
To: Info-Andrew <info-andrew+@andrew.cmu.edu>
Subject: Re: ATK on IBM RT AIX
In-Reply-To: <9003061709.AA14136@engrts02.unl.edu>
References: <9003061709.AA14136@engrts02.unl.edu>

\begindata{text,2348892}
\textdsversion{12}
\template{messages}
You need to recompile imake with the symbol AIX defined - I don't know why IBM 
didn't do this, but......


alternatively you can try compiling andrew with -DAIX via your site.mcr file 
(STD_DEFINES = -DAIX or something like that - be careful not to overwrite any 
existing STD_DEFINES that you may need) - but it would be better all around if 
you get your version of imake to understand the system it's running on.


--fish

\enddata{text,2348892}

\enddata{text822, 64674}
\begindata{text822, 66379}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
X-Andrew-Authenticated-as: 32766
Received: from andrew.cmu.edu via trymail
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/AZx19Wy00Ui3E9=k8u>;
          Tue,  6 Mar 90 14:41:23 -0500 (EST)
Received: from transarc.com via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q006/QF.0Zx17yX0Bi81MV=AZV>;
          Tue,  6 Mar 1990 14:39:43 -0500 (EST)
Received: from transarc.com via qmail
          ID </afs/transarc.com/service/mailqs/q2/QF.oZx0vlD0Bi818V104A>;
          Tue,  6 Mar 90 14:26:42 -0500 (EST)
Date: Tue,  6 Mar 90 13:36:23 -0500 (EST)
From: Craig_Everhart@transarc.com
Message-ID: <cZx0BDH0BwwOQRNE5g@transarc.com>
X-Andrew-Message-Size: 1106+0
Content-Type: X-BE2; 12
If-Type-Unsupported: alter
To: Info-Andrew <info-andrew+@andrew.cmu.edu>
Subject: Re: ATK on IBM RT AIX
CC: james@engrts02.unl.edu
In-Reply-To: <9003061709.AA14136@engrts02.unl.edu>
References: <9003061709.AA14136@engrts02.unl.edu>

\begindata{text,18906508}
\textdsversion{12}
\template{messages}
I had that problem.  What's happening is that the cpp on AIX doesn't define 
any system-specific preprocessor variables (such as ``ibm032'' or ``AIX'' or 
``sparc'' or whatever).  Instead, ``cc'' on AIX reads the file /etc/cc.cfg 
that defines the flags that should be pre-defined on the given system.  For 
instance, in a config I've seen the line ``cppflags  = 
-Daiws,-Dunix,-DNLS,-DAIX'' tells ``cc'' to get ``cpp'' to define those four 
options.


What config/imake.tmpl should be doing is bombing out if none of the 
conditional-inclusions of a system.mcr file are triggered.  There are dozens 
of ways to make this check; I'll leave it to the ITC itself.


Now, both imake and makedepend use C-preprocessor technology to do their job. 
 But they don't use ``cc -E'', they use ``cpp''.  Thus, under AIX, since 
``cpp'' doesn't define any platform-specific variable at all, you have to edit 
the imake.c or makedepend/main.c source files themselves, so that when they're 
compiled for AIX, they will call cpp with the correct ``-D'' lines.  For 
makedepend, for example, you edit the ``predefs'' structure.


		Craig

\enddata{text,18906508}

\enddata{text822, 66379}
\begindata{text822, 68621}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
X-Andrew-Authenticated-as: 469;andrew.cmu.edu;Craig F. Everhart
Received: from po3.andrew.cmu.edu via trymail
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/wZx2rVW00UkTQOe08L>;
          Tue,  6 Mar 90 16:38:43 -0500 (EST)
Received: from apollo.transarc.com via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q003/QF.IZx2pjf0BwwOAi80MO>;
          Tue,  6 Mar 1990 16:36:55 -0500 (EST)
Received: from apollo.transarc.com via qmail
          ID </afs/transarc.com/usr/cfe/.Outgoing/QF.0Zx2kXz0BwwOQdiWJw>;
          Tue,  6 Mar 90 16:31:16 -0500 (EST)
Received: from Messages.7.8.N.CUILIB.3.45.SNAP.NOT.LINKED.apollo.transarc.com.pmax.3
          via MS.5.6.apollo.transarc.com.pmax_3;
          Tue,  6 Mar 90 16:31:13 -0500 (EST)
Message-ID: <gZx2kV=0BwwOAdiW9o@transarc.com>
Date: Tue,  6 Mar 90 16:31:13 -0500 (EST)
From: Craig_Everhart@transarc.com
X-Andrew-Message-Size: 682+0
Content-Type: X-BE2; 12
If-Type-Unsupported: alter
To: Info-Andrew <info-andrew+@andrew.cmu.edu>
Subject: Re: andrew documentation
In-Reply-To: <9003020536.8044@munnari.oz.au>
References: <9003020536.8044@munnari.oz.au>

\begindata{text,18785388}
\textdsversion{12}
\template{messages}
(For the second time in a week, I think I've just re-established connectivity 
with info-andrew@andrew.cmu.edu.  Yes, if all goes well, you'll all be getting 
AMDS patches from the ITC in a couple weeks.  Let's try this message again.)


The top-level README file contains some information on each of the big three 
components in the X.V11R4-distributed Andrew system.  These components are 
ATK, AMS, and ODA.  There isn't much else, at least not on the X distribution; 
the AFS component of the original Andrew project is now handled by a startup, 
Transarc Corporation.


Also, Tom Neuendorffer correctly points out the existence of some real live 
papers available via the ITC.


		Craig

\enddata{text,18785388}

\enddata{text822, 68621}
\begindata{text822, 70625}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/gZx72gS00UkT8TzU8W>;
          Tue,  6 Mar 90 21:23:42 -0500 (EST)
Received: from andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q002/QF.cZx70I600Ui38bKU4M>;
          Tue,  6 Mar 90 21:21:28 -0500 (EST)
Received: from zeta.saintjoe.edu by andrew.cmu.edu (5.54/3.15) id <AA10042> for info-andrew; Tue, 6 Mar 90 21:19:20 EST
Received: by zeta.saintjoe.edu (4.0/SMI-4.0)
	id AA14927; Tue, 6 Mar 90 20:16:18 CST
Date: Tue, 6 Mar 90 20:16:18 CST
From: brianc@saintjoe.EDU (Brian Capouch)
Message-Id: <9003070216.AA14927@zeta.saintjoe.edu>
To: info-andrew@andrew.cmu.edu
Subject: Help Request on Build Failure


I'm really in a jam now.. .. .. .. in order to gain enough room to build the
new release of Andrew, I had to delete all of the previous tree. And 
now, the build won't build. 

Six and half hours into the build, a meltdown building in /atkams/messages/lib:

doload:  Errors while processing
doload:  Undefined symbol: _h_errno
doload:  Undefined symbol: _res_search
doload:  Undefined symbol: _dn_skipname
doload:  Undefined symbol: _dn_expand
doload:  Undefined symbol: __res
doload:  Undefined symbol: _res_init
doload:  Errors while processing
doindex: NULL entrypoint from amsn.do...program terminated!
*** Error code 1
make: Fatal error: Command failed for target `amsn.do'

Everything else for all those hours seemed to be OK.  And of course, since 
I'm not an Andrew programmer, I don't know how to fix this--it appears to 
be something makedo was mad about.  The command that caused this was:

/usr/andrew/bin/makedo  -d /usr/andrew/lib -b /usr/andrew/bin -o amsn.do  amsn.o
 stubs.o  /usr/andrew/lib/libcui.a /usr/andrew/lib/libcuin.a  /usr/andrew/lib/li
bmssrv.a  /usr/andrew/lib/libeli.a /usr/andrew/lib/librxp.a  /usr/andrew/lib/lib
msshr.a  /usr/andrew/lib/libmail.a /usr/andrew/lib/liberrors.a  /usr/andrew/lib/
libutil.a

To save space, I do not report that "doindex" complained about all those
references right above this point. 

Could I have done something wrong?  I can't get into messages now to read 
whether someone previously found this.  Oh woe.  

Any help would be greatly appreciated. 

Brian Capouch
Saint Joseph's College
brianc@saintjoe.edu
\enddata{text822, 70625}
\begindata{text822, 73188}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
X-Andrew-Authenticated-as: 602;andrew.cmu.edu;Adam Stoller
Received: from fishtank.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/QZxEOHy00as9QSx09b>;
          Wed,  7 Mar 90 08:03:16 -0500 (EST)
Received: from fishtank.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/usr21/ghoti/.Outgoing/QF.cZxEMWi00as98SukYW>;
          Wed,  7 Mar 90 08:01:23 -0500 (EST)
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.fishtank.andrew.cmu.edu.sun3.35
          via MS.5.6.fishtank.andrew.cmu.edu.sun3_35;
          Wed,  7 Mar 90 08:01:22 -0500 (EST)
Message-ID: <AZxEMWK00as9ASukRJ@andrew.cmu.edu>
Date: Wed,  7 Mar 90 08:01:22 -0500 (EST)
From: Adam Stoller <ghoti+@andrew.cmu.edu>
X-Andrew-Message-Size: 1320+0
Content-Type: X-BE2; 12
If-Type-Unsupported: alter
To: Info-Andrew <info-andrew+@andrew.cmu.edu>
Subject: Re: Help Request on Build Failure
In-Reply-To: <9003070216.AA14927@zeta.saintjoe.edu>
References: <9003070216.AA14927@zeta.saintjoe.edu>

\begindata{text,2348872}
\textdsversion{12}
\template{messages}
I believe that all those symbols are related to the use of a libresolv.a 
(RESOLVLIB && RESOLVER_ENV) - which means that either something changed in 
your configuration files, your 'environment', or there are missing #ifdef's in 
the offending code (which, although possible, I would find hard to believe 
have existed this long without being detected.)


Check to see what the values (if any) RESOLVLIB and/or RESOLVER_ENV have in 
your present configuration (look at a recently created Makefile, keeping in 
mind that overrides appear below defaults)


Depending on what type of system you're on - you could find out what modules 
are having the problem - including the libraries.  On BSD (I believe) you 
could use a command like:


nm -gop amsn.o stubs.o  /usr/andrew/lib/libcui.a /usr/andrew/lib/libcuin.a 
 /usr/andrew/lib/li bmssrv.a  /usr/andrew/lib/libeli.a 
/usr/andrew/lib/librxp.a  /usr/andrew/lib/lib msshr.a 
 /usr/andrew/lib/libmail.a /usr/andrew/lib/liberrors.a  /usr/andrew/lib/ 
libutil.a | egrep 
"_h_errno|_res_search|_dn_skipname|_dn_expand|__res|_res_init"


(note the above is all one line, despite what any mailer might do to it)

It also might be worth doing an 'ls -lt' of all of the above listed files - 
it's possible that when you started over, you didn't start quite as cleanly as 
you thought you did.


--fish\
\enddata{text,2348872}

\enddata{text822, 73188}
\begindata{text822, 75824}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
X-Andrew-Authenticated-as: 469;andrew.cmu.edu;Craig F. Everhart
Received: from po5.andrew.cmu.edu via trymail
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/EZxFs5600UddA94U85>;
          Wed,  7 Mar 90 09:43:17 -0500 (EST)
Received: from apollo.transarc.com via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q001/QF.IZxFp1b0BwwOR8zUN8>;
          Wed,  7 Mar 1990 09:40:01 -0500 (EST)
Received: from apollo.transarc.com via qmail
          ID </afs/transarc.com/usr/cfe/.Outgoing/QF.AZxFm1f0BwwO98fYAD>;
          Wed,  7 Mar 90 09:36:49 -0500 (EST)
Received: from Messages.7.8.N.CUILIB.3.45.SNAP.NOT.LINKED.apollo.transarc.com.pmax.3
          via MS.5.6.apollo.transarc.com.pmax_3;
          Wed,  7 Mar 90 09:36:48 -0500 (EST)
Message-ID: <4ZxFm0=0BwwOB8fY1l@transarc.com>
Date: Wed,  7 Mar 90 09:36:48 -0500 (EST)
From: Craig_Everhart@transarc.com
X-Andrew-Message-Size: 701+0
Content-Type: X-BE2; 12
If-Type-Unsupported: alter
To: Info-Andrew <info-andrew+@andrew.cmu.edu>,
    brianc@saintjoe.EDU (Brian Capouch)
Subject: Re: Help Request on Build Failure
In-Reply-To: <AZxEMWK00as9ASukRJ@andrew.cmu.edu>
References: <9003070216.AA14927@zeta.saintjoe.edu>,
	<AZxEMWK00as9ASukRJ@andrew.cmu.edu>

\begindata{text,18874980}
\textdsversion{12}
\template{messages}
There may also be some screwup with the dynamic loader stuff vis-a-vis . 
 Clearly, those symbols are all supposed to be defined by your name resolver, 
wherever you get it; from your command line, it would appear that your 
RESOLVLIB is simply null, but RESOLVER_ENV is defined, so the resolver stuff 
is in libc.a in your environment.


I don't know whether DESTDIR/lib/libcx.a (which makedo uses in addition to the 
named libraries) is supposed to have the resolver in it or not, in such a 
case.  But certainly you should be loading it either from libcx or /lib/libc.a 
.


Why not try ``make SUBDIRS=atkams dependInstall'' from the top level, again? 
 Your six hours weren't wasted, by any means.


		Craig

\enddata{text,18874980}

\enddata{text822, 75824}
\begindata{text822, 77947}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/oZxLLi600Ui3IRJk9c>;
          Wed,  7 Mar 90 15:58:24 -0500 (EST)
Received: from andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q006/QF.gZxLHiC00Ui3ER:E4L>;
          Wed,  7 Mar 90 15:54:11 -0500 (EST)
Received: from zeta.saintjoe.edu by andrew.cmu.edu (5.54/3.15) id <AA07443> for info-andrew; Wed, 7 Mar 90 15:53:02 EST
Received: by zeta.saintjoe.edu (4.0/SMI-4.0)
	id AA07853; Wed, 7 Mar 90 14:50:09 CST
Date: Wed, 7 Mar 90 14:50:09 CST
From: brianc@saintjoe.EDU (Brian Capouch)
Message-Id: <9003072050.AA07853@zeta.saintjoe.edu>
To: info-andrew@andrew.cmu.edu
Subject: Hidden fonts for messages?


Thanks to the folks at CMU and Craig Everhart, I now have my system up and 
running.  There's only one remaining funny, and I'm sure this is going to be
an easy one: some of the icons that messages used to use aren't visible 
anymore, specifically the ones doing with envelope and folder icons.

Is there some path I need to do now that didn't used to be there?  The 
old version worked perfectly. 

Thanks to everyone out there for all the help; I'm so happy to be able to 
use Andrew again. 

Brian Capouch
Saint Joseph's College
brianc@saintjoe.edu
\enddata{text822, 77947}
\begindata{text822, 79484}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/YZxOg1600Ui34b7E9t>;
          Wed,  7 Mar 90 19:44:49 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q006/QF.sZxOeje00UkTQdA05E>;
          Wed,  7 Mar 90 19:43:32 -0500 (EST)
Received: from ucbvax.Berkeley.EDU by po3.andrew.cmu.edu (5.54/3.15) id <AA06261>; Wed, 7 Mar 90 13:02:48 EST
Received: by ucbvax.Berkeley.EDU (5.61/1.41)
	id AA00156; Tue, 6 Mar 90 15:41:56 -0800
Received: from USENET by ucbvax.Berkeley.EDU with netnews
	for info-andrew@andrew.cmu.edu (info-andrew@andrew.cmu.edu)
	(contact usenet@ucbvax.Berkeley.EDU if you have questions)
Date: 6 Mar 90 22:31:04 GMT
From: cs.columbia.edu!fulton.cs.columbia.edu!scottn@columbia.edu  (Scott Novack)
Organization: Columbia University CS Dept.
Subject: dynamic loading
Message-Id: <1990Mar6.223104.818@cs.columbia.edu>
Sender: info-andrew-request@andrew.cmu.edu
To: info-andrew@andrew.cmu.edu



  ____
I don't have a bug, just a question.  When in ez, I can bring in a fad
inset, and then ez
will dynamically load in the fad code.  But what if I bring in ANOTHER
fad inset?  Will
ez load the code in again?  If I'm writing a paper and I use 17 charts,
and I'm on a machine
with not a lot of memory, will ez get slower and slower?  I know that if
I had lots of fad
processes (or lots of ez processes) then the text space would be shared,
but I didn't think
that insets made new processes.

Any help would be appreciated.  Mail or post.
  ____
 /|\ |  Scott H. Novack	 (Captain Napalm)	| scottn@cs.columbia.edu
 \|_\|  "'Murdered by pirates' is good."	| Columbia U. CS Dept.
      \   --- Fred Savage in The Princess Bride	| New York, NY
\_____/ Disclaimer: Oh Lord, please don't let me be misunderstood.
\enddata{text822, 79484}
\begindata{text822, 81561}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
X-Andrew-Authenticated-as: 420;andrew.cmu.edu;Miles Bader
Received: from woodstock.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/IZxPXD600VsaEDLE8v>;
          Wed,  7 Mar 90 20:43:43 -0500 (EST)
Received: from woodstock.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/usr18/bader/.Outgoing/QF.IZxPWNy00VsaQCtyg2>;
          Wed,  7 Mar 90 20:42:50 -0500 (EST)
Received: from BatMail.robin.v2.10.CUILIB.3.45.SNAP.NOT.LINKED.woodstock.andrew.cmu.edu.rt.r3
          via MS.5.6.woodstock.andrew.cmu.edu.rt_r3;
          Wed,  7 Mar 90 20:42:33 -0500 (EST)
Message-ID: <MZxPW9600VsaACtyVN@andrew.cmu.edu>
Date: Wed,  7 Mar 90 20:42:33 -0500 (EST)
From: Miles Bader <bader+@andrew.cmu.edu>
To: Info-Andrew <info-andrew+@andrew.cmu.edu>
Subject: Re: dynamic loading
In-Reply-To: <1990Mar6.223104.818@cs.columbia.edu>
References: <1990Mar6.223104.818@cs.columbia.edu>
Blat: Foop

Dynamically loaded code in andrew is loaded only the first time it is needed
in a given process, and subsquent references use the same code.  D.l. code is
put into the data space of the process, so that multiple andrew processes
WON'T share dynamically loaded code with each other (this is true for all
versions of andrew that I know of-- it might not be for future ports to
systems with more o.s. support for this sort of thing).

-Miles
\enddata{text822, 81561}
\begindata{text822, 83121}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/0ZxSboa00UddECe083>;
          Thu,  8 Mar 90 00:13:25 -0500 (EST)
Received: from po2.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q005/QF.IZxSZJm00jZdQ4Pk5F>;
          Thu,  8 Mar 90 00:10:48 -0500 (EST)
Received: from ucbvax.Berkeley.EDU by po2.andrew.cmu.edu (5.54/3.15) id <AA01123> for info-andrew; Thu, 8 Mar 90 00:10:06 EST
Received: by ucbvax.Berkeley.EDU (5.61/1.41)
	id AA17020; Wed, 7 Mar 90 21:01: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: 7 Mar 90 22:30:14 GMT
From: nih-csl!suntory.dcrt.nih.gov!kgorlen@uunet.uu.net  (Keith Gorlen)
Subject: Re: Help Request on Build Failure
Message-Id: <1388@nih-csl.UUCP>
References: <9003070216.AA14927@zeta.saintjoe.edu>
Sender: info-andrew-request@andrew.cmu.edu
To: info-andrew@andrew.cmu.edu


    578	Andrew on IBM RT Mpel with AOS               
kaz@mita.keio.ac.jp     In article
<9003070216.AA14927@zeta.saintjoe.edu>, brianc@saintjoe.edu (Brian
Capouch) writes:
-> 
-> I'm really in a jam now.. .. .. .. in order to gain enough room to build the
-> new release of Andrew, I had to delete all of the previous tree. And 
-> now, the build won't build. 
-> 
-> Six and half hours into the build, a meltdown building in
/atkams/messages/lib:
-> 
-> doload:  Errors while processing
-> doload:  Undefined symbol: _h_errno
-> doload:  Undefined symbol: _res_search
-> doload:  Undefined symbol: _dn_skipname
-> doload:  Undefined symbol: _dn_expand
-> doload:  Undefined symbol: __res
-> doload:  Undefined symbol: _res_init
-> doload:  Errors while processing
-> doindex: NULL entrypoint from amsn.do...program terminated!
-> *** Error code 1
-> make: Fatal error: Command failed for target `amsn.do'
-> 

This looks familiar -- you've told andrew that you're using the domain
name resolver library (RESOLVER_ENV defined), but you don't really have
a version of libc that contains the resolver routines, and you haven't
specified the name of another resolver library with RESOLVLIB.

	Keith Gorlen			phone: (301) 496-1111
	Building 12A, Room 2033		uucp: uunet!nih-csl!kgorlen
	National Institutes of Health	Internet: kgorlen@alw.nih.gov
	Bethesda, MD 20892
\enddata{text822, 83121}
\begindata{text822, 85771}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/UZxShVq00jZdA4rU9u>;
          Thu,  8 Mar 90 00:19:31 -0500 (EST)
Received: from po2.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q001/QF.cZxSdJy00jZd44g04b>;
          Thu,  8 Mar 90 00:15:04 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/sq2/QF.IZxRFNa00UkTM3bF0q>;
          Wed,  7 Mar 90 22:41:20 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q002/QF.0ZxRDdC00UkT8i:U4l>;
          Wed,  7 Mar 90 22:39:23 -0500 (EST)
Received: from thumper.bellcore.com by po3.andrew.cmu.edu (5.54/3.15) id <AA09034>; Wed, 7 Mar 90 17:22:38 EST
Received: by thumper.bellcore.com (5.54/4.7)
	id AA06053; Wed, 7 Mar 90 17:22:51 EST
Received: by greenbush.bellcore.com (4.12/4.7)
	id AA05321; Wed, 7 Mar 90 17:21:24 est
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.greenbush.mouseclub.sun4.40
          via MS.5.6.greenbush.mouseclub.sun4_40;
          Wed,  7 Mar 90 17:21:22 -0500 (EST)
Message-Id: <kZxMZW60M2YtQG45Me@thumper.bellcore.com>
Date: Wed,  7 Mar 90 17:21:22 -0500 (EST)
From: Nathaniel Borenstein <nsb@thumper.bellcore.com>
To: info-andrew@andrew.cmu.edu
Subject: Re: Hidden fonts for messages?
In-Reply-To: <9003072050.AA07853@zeta.saintjoe.edu>
References: <9003072050.AA07853@zeta.saintjoe.edu>

Perhaps you have a font path set (e.g. in preferences) that no longer
points to the right place?
\enddata{text822, 85771}
\begindata{text822, 87587}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
X-Andrew-Authenticated-as: 469;andrew.cmu.edu;Craig F. Everhart
Received: from po5.andrew.cmu.edu via trymail
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/kZxcJtu00Udd89RU9k>;
          Thu,  8 Mar 90 11:16:59 -0500 (EST)
Received: from apollo.transarc.com via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q002/QF.UZxcGOz0BwwONYwkMh>;
          Thu,  8 Mar 1990 11:13:18 -0500 (EST)
Received: from apollo.transarc.com via qmail
          ID </afs/transarc.com/usr/cfe/.Outgoing/QF.AZxcCUn0BwwORYskpI>;
          Thu,  8 Mar 90 11:09:05 -0500 (EST)
Received: from Messages.7.8.N.CUILIB.3.45.SNAP.NOT.LINKED.apollo.transarc.com.pmax.3
          via MS.5.6.apollo.transarc.com.pmax_3;
          Thu,  8 Mar 90 11:09:04 -0500 (EST)
ReSent-Message-ID: <IZxcCUX0BwwOFYskgC@transarc.com>
ReSent-Date: Thu,  8 Mar 90 11:09:04 -0500 (EST)
ReSent-From: Craig_Everhart@transarc.com
ReSent-To: Info-Andrew <info-andrew+@andrew.cmu.edu>
Return-path: <cfe+@transarc.com>
Message-ID: <wZvcJRX0BwwO41AVAF@transarc.com>
Date: Fri,  2 Mar 90 09:38:21 -0500 (EST)
From: Craig_Everhart@transarc.com
To: Craig_Everhart@transarc.com,
    Info-Andrew <info-andrew+@andrew.cmu.edu>,
    Anthony Edwards <tobeye@northstar.dartmouth.edu>
Subject: Re: Name Resolver disabled
Cc:
In-Reply-To: <wZvcAqq1eVVa00vt5B@northstar.dartmouth.edu>
References: <wZvcAqq1eVVa00vt5B@northstar.dartmouth.edu>

You need to look in the files
DESTDIR/system.h
DESTDIR/allsys.h
DESTDIR/site.h
to see if your system was built with a resolver.

valhost.test is the best probe I know of from the Andrew software.  If you
want to get any more detailed information, you'd need to get a debugging
version of the resolver library built; this isn't very hard, but you'd
have to either speak to your site administrator or get a copy of the Bind
distribution yourself from Berkeley.

One thing that you can do, just to see if the resolver code is linked in,
is to make the valhost.test program I spoke of, then do something like
    % nm valhost.test | egrep dn_skip
If you have no resolver linked in, this will show nothing; if you have one,
this will print references either to dn_skip or dn_skipname.  You can also
do a ``make valhost.o'' and use the name valhost.o instead of valhost.test
in the command line above.

I don't know what else I could do to help you do remote resolver debugging, but
that's what it comes down to.  Once you get valhost.test working, you can
get CUI and VUI to do what you expect simply by rebuilding them.  Getting
Messages to do absolutely the right thing may involve rebuilding the class
system (and libcx.a); I honestly couldn't predict this without knowing
exactly what your failures are.

Does it take any time for valhost.test to tell you its non-positive results?
If your network connectivity were simply bad, it should take some time to
figure out that remote name servers aren't responding.

                Craig


\enddata{text822, 87587}
\begindata{text822, 90611}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
X-Andrew-Authenticated-as: 32766
Received: from po3.andrew.cmu.edu via trymail
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/8ZxcNcW00UkTIOfE8k>;
          Thu,  8 Mar 90 11:20:59 -0500 (EST)
Received: from transarc.com via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q006/QF.sZxcKZf0Bi818SzV1s>;
          Thu,  8 Mar 1990 11:17:42 -0500 (EST)
Received: from transarc.com via qmail
          ID </afs/transarc.com/service/mailqs/q1/QF.4ZxcHGj0Bi818SwE5Q>;
          Thu,  8 Mar 90 11:14:13 -0500 (EST)
Received: from apollo.transarc.com via qmail
          ID </afs/transarc.com/usr/cfe/.Outgoing/QF.EZxcCWr0BwwOBYsl8h>;
          Thu,  8 Mar 90 11:09:09 -0500 (EST)
Received: from Messages.7.8.N.CUILIB.3.45.SNAP.NOT.LINKED.apollo.transarc.com.pmax.3
          via MS.5.6.apollo.transarc.com.pmax_3;
          Thu,  8 Mar 90 11:09:06 -0500 (EST)
ReSent-Message-ID: <4ZxcCWj0BwwORYsl0v@transarc.com>
ReSent-Date: Thu,  8 Mar 90 11:09:06 -0500 (EST)
ReSent-From: Craig_Everhart@transarc.com
ReSent-To: Info-Andrew <info-andrew+@andrew.cmu.edu>
Return-path: <cfe+@transarc.com>
Message-ID: <AZvcMc30BwwO81AWNG@transarc.com>
Date: Fri,  2 Mar 90 09:41:44 -0500 (EST)
From: Craig_Everhart@transarc.com
To: Info-Andrew <info-andrew+@andrew.cmu.edu>,
    Anthony Edwards <tobeye@northstar.dartmouth.edu>
Subject: Re: Name Resolver disabled
Cc:
In-Reply-To: <wZvcJRX0BwwO41AVAF@transarc.com>
References: <wZvcAqq1eVVa00vt5B@northstar.dartmouth.edu>,
 <wZvcJRX0BwwO41AVAF@transarc.com>

Sigh.  Sorry.  You need to check the files
    andrew/config/allsys.h
    andrew/config/<systype>/system.h
    andrew/config/site.h
in that order.  All three files are also installed, both in DESTDIR/include
and DESTDIR/config.  I'm sorry that I said it was simply DESTDIR; didn't
mean to be misleading.

                Craig


\enddata{text822, 90611}
\begindata{text822, 92541}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/wZxgvpi00Ui3IO2E8y>;
          Thu,  8 Mar 90 16:30:31 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q007/QF.0ZxgrRq00UkT0Zw04e>;
          Thu,  8 Mar 90 16:25:59 -0500 (EST)
Received: from sparc01.icase.edu ([192.42.142.50]) by po3.andrew.cmu.edu (5.54/3.15) id <AA06227>; Thu, 8 Mar 90 10:28:26 EST
Received: by sparc01.icase.edu (4.0/SMI-DDN)
	id AA08513; Thu, 8 Mar 90 10:24:29 EST
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.sparc01.ICASE.sun4.40
          via MS.5.6.sparc01.ICASE.sun4_40;
          Thu,  8 Mar 90 10:24:28 -0500 (EST)
Message-Id: <0ZxbYgT0_csm8V82R_@icase.edu>
Date: Thu,  8 Mar 90 10:24:28 -0500 (EST)
From: Tom Crockett <tom@icase.edu>
X-Andrew-Message-Size: 965+0
Content-Type: X-BE2; 12
If-Type-Unsupported: alter
To: info-andrew@andrew.cmu.edu
Subject: Memory Stats from Console

\begindata{text,3098872}
\textdsversion{12}
\template{messages}
I can't seem to get \italic{console} to give me any useful statistics for 
\italic{\bold{MemActive}} and \bold{\italic{VM}} under SunOS 4.0.3 (for either 
Sun 3's or 4's).  \italic{\bold{MemActive}} is always reported as 0, and 
\bold{\italic{VM}} is always -1.  Does anyone know if this problem is fixable, 
or is it a fundamental limitation of SunOS 4.0.3?  As I recall, this worked 
O.K. (at least with the previous release of Andrew) under SunOS 3.5.


Given what memory hogs X and Andrew are, it sure would be nice to get a memory 
utilization display.  About all I can get now is paging statistics, which 
tells me a little, but not as much as I'd like.  If anyone knows what 
"\typewriter{pstat -T}" does to report on swap space usage, that would 
probably work for at least \italic{\bold{VM}}.


\italic{Tom Crockett}


\smaller{\bold{ICASE}

Institute for Computer Applications in Science and Engineering


\smaller{M.S. 132C				e-mail:  tom@icase.edu

NASA Langley Research Center		phone:  (804) 864-2182

Hampton,  VA  23665-5225

} 
\smaller{ }}\smaller{ } 
                                                                       

\enddata{text,3098872}

\enddata{text822, 92541}
\begindata{text822, 95010}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/8Zxwg2600UddE8RU8f>;
          Fri,  9 Mar 90 10:25:54 -0500 (EST)
Received: from po2.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q002/QF.MZxwd5S00jZdQF2UhC>;
          Fri,  9 Mar 90 10:22:53 -0500 (EST)
Received: from thumper.bellcore.com by po2.andrew.cmu.edu (5.54/3.15) id <AA04341> for info-andrew+; Fri, 9 Mar 90 10:21:15 EST
Received: by thumper.bellcore.com (5.54/4.7)
	id AA29827; Fri, 9 Mar 90 10:13:39 EST
Received: by greenbush.bellcore.com (4.12/4.7)
	id AA16123; Fri, 9 Mar 90 10:12:10 est
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.greenbush.mouseclub.sun4.40
          via MS.5.6.greenbush.mouseclub.sun4_40;
          Fri,  9 Mar 90 10:12:08 -0500 (EST)
Message-Id: <AZxwT8W0M2Yt8tbUw3@thumper.bellcore.com>
Date: Fri,  9 Mar 90 10:12:08 -0500 (EST)
From: Nathaniel Borenstein <nsb@thumper.bellcore.com>
To: info-andrew+@andrew.cmu.edu
Subject: Eatmail program

I have modified some of the AMS code to produce a new program, which
I've called "eatmail".  Eatmail simply takes mail out of
/usr/spool/mail/xxx and puts it into ~xxx/Mailbox in the proper format.

The intended use of this program is for sites where people receive mail
on one machine but would like to read it on others, and everything
except the /usr/spool/mail files are NFS mounts.  In such cases, you can
put an AMS_MailCollectionCommand in AndrewSetup (or a
PersonalMailCollectionCommand in preferences) that says "rsh
machine-name eatmail".  Until now, you had to rsh a cui command, which
is a real waste.

The code is based on cvtold.c, and is designed to be installed in
contrib/eatmail.  I'm supplying it "as-is".  To install it, add
"eatmail" to the SUBDIRS list in contrib/Imakefile, and create a
contrib/eatmail directory.  The only two files you need in that
directory are an Imakefile and eatmail.c.  They follow below.

I make no guarantees about this hack, but it seems to work for me, and
might be useful at other sites.  -- Nathaniel

________________contrib/eatmail/Imakefile________________

LOCALINCLUDES = -I${BASEDIR}/include/ams

OBJS		=	eatmail.o

LIBS= \
	${BASEDIR}/lib/libmail.a \
	${BASEDIR}/lib/liberrors.a \
	${UTILLIB}

NormalObjectRule()

ProgramTarget(eatmail, ${OBJS}, ${LIBS} , )

DependTarget()

InstallProgram(eatmail, ${DESTDIR}/bin)

________________contrib/eatmail/eatmail.c________________

/* This includes most of the code from ams/libs/ms/cvtold.c  */

#include <stdio.h>
#include <sys/param.h>
#include <sys/stat.h>
#include <andrewos.h> /* sys/types.h sys/file.h sys/time.h */
#include <system.h>
/* #include <ms.h> */
#include <mserrno.h>
#include <mailconf.h>
#include <ctype.h>
#include <parseadd.h>
#include <pwd.h>

extern char *malloc(), *index();
extern int errno;
extern FILE *fopen();
extern char *getenv(), *getprofile();
char home[1+MAXPATHLEN];

long mserrcode;

#undef AMS_RETURN_ERRCODE
#define AMS_RETURN_ERRCODE(x,y,z) return(-1);

main() {
    char SpoolFileName[1 + MAXPATHLEN], SourceDir[1+MAXPATHLEN], *SpoolFile;
    int numfound = 0, errcode;
    struct passwd *pswd;

    CheckAMSConfiguration();
    pswd = getpwuid(getuid());
    if (!pswd) {
	fprintf(stderr, "Cannot get your password file entry\n");
	exit(-1);
    }
    strcpy(home, pswd->pw_dir);
    SpoolFile = getenv("MAIL");
    if (SpoolFile == NULL || *SpoolFile	== '\0') SpoolFile =
getprofile("mailboxfile");
    if (SpoolFile == NULL || *SpoolFile == '\0') {
	sprintf(SpoolFileName, "%s/%s", AMS_MailBoxPrefix, pswd->pw_name);
    } else {
	strcpy(SpoolFileName, SpoolFile);
    }
    sprintf(SourceDir, "%s/Mailbox", home);
    if (ConvertIncomingMail(SpoolFileName, SourceDir, &numfound)) {
	fprintf(stderr, "Error:  Could not move mail from %s to %s\n",
SpoolFileName, SourceDir);
	exit(-1);
    }
    exit(0);
}


/*
  * Remove the mail lock, and note that we no longer
  * have it locked.
  */
static int rmlock(name, lockFD)
char name[]; int lockFD;
{
    struct stat statb;

    if (lockFD >= 0) close(lockFD);
    if (stat(name, &statb) < 0)
	return(-1);
    if ((statb.st_mode & S_IFMT) != S_IFREG) {
	errno = EISDIR;
	return(-1);
    }
    if (unlink(name)) {
#if SY_B4x != 0
	return(truncate(name, 0));
#else /* SY_B4x */
	return 0;
#endif /* SY_B4x */
    }
    return(0);
}

/*
 * Lock the specified mail file by setting the file mailfile.lock.
 * We must, of course, be careful to rmlock the lock file by a call
 * to unlock before we stop.  The algorithm used here is to see if
 * the lock exists, and if it does, return an error.
 *
 * Attempt to set the lock by creating the temporary file,
 * then doing a link/unlink.  If it fails, return -1 else 0
 */
static int lock(file, lockedFile, lockedFDp)
char *file, *lockedFile; int *lockedFDp;
{
    register int f, g;
    char	locktmp[1+MAXPATHLEN];	    /* Usable lock temporary */
    char *s;

    s = rindex(file, '/');
    if (*s != '/') return -1;
    strcpy(lockedFile, SpoolMailLockDir);
    strcat(lockedFile, s);
    strcat(lockedFile, ".lock");
    g = open(lockedFile, osi_O_READLOCK, 0);
    if (g < 0) return -1;
    if (osi_ExclusiveLockNoBlock(g) != 0) {
	close(g);
	return -1;
    }
    strcpy(locktmp, SpoolMailLockTemp);
    mktemp(locktmp);
    rmlock(locktmp, -1);
    f = creat(locktmp, 0);
    if (f < 0) {
	close(g);
	return(-1);
    }
    close(f);
    if (link(locktmp, lockedFile) < 0) {
	rmlock(locktmp, g);
	return(-1);
    }
    rmlock(locktmp, -1);
    *lockedFDp = g;
    return(0);
}

static int SetHoldFromFile(fname, holdP)
char *fname; int *holdP;
{/* Set or unset ``hold'' as in the file ``fname''. */
    FILE *fp;
    char InBuf[300];
    char *sp, *scmd;
    int DoSet, errsave;

    errno = 0;
    fp = fopen(fname, "r");
    if (fp == NULL) {
	if (errno == ENOENT) return 0;
	if (errno == 0) errno = ENOMEM;
	AMS_RETURN_ERRCODE(errno, EIN_FOPEN, EVIA_CONVERTINCOMING);
    }
    for (;;) {
      NextLine:
	sp = fgets(InBuf, sizeof(InBuf), fp);
	if (sp == NULL) break;
	while (*sp != '\0' && isspace(*sp)) ++sp;
	scmd = sp;
	while (*sp != '\0' && !isspace(*sp)) ++sp;
	*sp++ = '\0';
	if (strcmp(scmd, "set") == 0) DoSet = 1;
	else if (strcmp(scmd, "unset") == 0) DoSet = 0;
	else continue;
	for (;;) {
	    while (*sp != '\0' && isspace(*sp)) ++sp;
	    if (*sp == '\0') goto NextLine;
	    scmd = sp;
	    while (*sp != '\0' && !isspace(*sp)) ++sp;
	    *sp++ = '\0';
	    if (strcmp(scmd, "hold") == 0) *holdP = DoSet;
	}
    }
    if (ferror(fp)) {
	errsave = errno;
	(void) fclose(fp);
	if (errsave == 0) errsave = ENOMEM;
	AMS_RETURN_ERRCODE(errno, EIN_READ, EVIA_CONVERTINCOMING);
    }
    (void) fclose(fp);
}

static int CheckMailrcHold()
{/* Check whether the ~/.mailrc or /usr/lib/Mail.rc file has set the
``hold'' variable; return 0 if it isn't set, or an mserrcode. */
    static int HoldVal = -1;
    int RC, TempVal;
    char MyMailrc[1+MAXPATHLEN];

    if (HoldVal >= 0) return HoldVal;
    TempVal = 0;
    RC = SetHoldFromFile("/usr/lib/Mail.rc", &TempVal);
    if (RC != 0) return RC;
    sprintf(MyMailrc, "%s/.mailrc", home);
    RC = SetHoldFromFile(MyMailrc, &TempVal);
    if (RC != 0) return RC;
    HoldVal = TempVal;	/* Got it all right. */
    if (HoldVal != 0) {
	AMS_RETURN_ERRCODE(EMSHOLDSET, EIN_PARAMCHECK, EVIA_CONVERTINCOMING);
    }
    return 0;
}

#define FALSE 0
#define TRUE 1
#define buffsize 1024
#define MAXTRIES 25

int ConvertIncomingMail(MailSpoolFile, MailDir, FilesReadIn)
char *MailSpoolFile, *MailDir;
int *FilesReadIn;
{
    FILE *fp;
    int		wfd = 0, i, errsave, tfd, AnyWrittenToThisOne, LockFD;
    short FileOpen, ReadyToStartAgain;
    struct stat statbuf;
    char	buffer[buffsize], FName[1+MAXPATHLEN], CurLock[1+MAXPATHLEN];

    *FilesReadIn = 0;
    if ((stat(MailDir, &statbuf)) == -1){
	 if (errno == ENOENT) {
	     return(0);
	 }
	AMS_RETURN_ERRCODE(errno, EIN_STAT, EVIA_CONVERTINCOMING);
    }
    if ((stat(MailSpoolFile, &statbuf)) == -1){
	if (errno == ENOENT) {
	    return(0);
	}
	AMS_RETURN_ERRCODE(errno, EIN_STAT, EVIA_CONVERTINCOMING);
    }
    if (statbuf.st_size <= 0){
	return(0);
    }
    errsave = CheckMailrcHold();
    if (errsave != 0) return(errsave);
    if (AMS_StrictStandaloneLocking && (lock(MailSpoolFile, CurLock,
&LockFD)) != 0){
	AMS_RETURN_ERRCODE(errno, EIN_UCBMAILLOCK, EVIA_CONVERTINCOMING);
    }
    if ((fp = fopen(MailSpoolFile, "r")) == NULL){
	if (AMS_StrictStandaloneLocking) rmlock(CurLock, LockFD);
	AMS_RETURN_ERRCODE(errno, EIN_OPEN, EVIA_CONVERTINCOMING);
    }
    FileOpen = FALSE;
    ReadyToStartAgain = 0;
    AnyWrittenToThisOne = 0;
    while (TRUE) {
	if (fgets(buffer, buffsize, fp) == NULL) {
	    errsave = errno;
	    if (feof(fp)) break; /* Done reading */
	    fclose(fp);
	    if (AMS_StrictStandaloneLocking) rmlock(CurLock, LockFD);
	    AMS_RETURN_ERRCODE(errsave, EIN_READ, EVIA_CONVERTINCOMING);
	}
	if (ReadyToStartAgain && FileOpen && (AMS_DemandSeparatingCharacter ||
IsNewFrom(buffer)) && AnyWrittenToThisOne) {
	    (*FilesReadIn)++;
	    if (vclose(wfd)) {
		fclose(fp);
		if (AMS_StrictStandaloneLocking) rmlock(CurLock, LockFD);
		AMS_RETURN_ERRCODE(errno, EIN_VCLOSE, EVIA_CONVERTINCOMING);
	    }
	    FileOpen = FALSE;
	}
	if (!FileOpen){
	    for (i=0; i<MAXTRIES; ++i) {
		sprintf(FName, "%s/%s", MailDir, ams_genid(1));
		wfd = open(FName, O_CREAT|O_EXCL|O_WRONLY, 0600);
		if (wfd < 0) continue;
		if (osi_ExclusiveLockNoBlock(wfd)) {
		    errsave = errno;
		    close(wfd);
		    if (errsave == EWOULDBLOCK) {
			continue;
		    }
		    AMS_RETURN_ERRCODE(errsave, EIN_FLOCK, EVIA_CONVERTINCOMING);
		}
		break; /* flock succeeded */
	    }
	    if (wfd < 0) {
		errsave = errno;
		fclose(fp);
		if (AMS_StrictStandaloneLocking) rmlock(CurLock, LockFD);
		AMS_RETURN_ERRCODE(errsave, EIN_VMOPEN, EVIA_CONVERTINCOMING);
	    }
	    FileOpen = TRUE;
	    AnyWrittenToThisOne = 0;
	}
	if (AMS_DemandSeparatingCharacter) {
	    if ((buffer[0] == AMS_SeparatingCharacter) && (AnyWrittenToThisOne
!= 0)) {
		ReadyToStartAgain = 1;
	    } else {
		writeall(wfd, buffer, strlen(buffer));
		AnyWrittenToThisOne = 1;
		ReadyToStartAgain = 0;
	    }
	} else {
	    ReadyToStartAgain = (buffer[0] == '\n') ? 1 : 0;
	    writeall(wfd, buffer, strlen(buffer));
	    AnyWrittenToThisOne = 1;
	}
    }
    if (FileOpen){
	(*FilesReadIn)++;
	if (vclose(wfd)) {
	    errsave = errno;
	    fclose(fp);
	    if (AMS_StrictStandaloneLocking) rmlock(CurLock, LockFD);
	    AMS_RETURN_ERRCODE(errsave, EIN_VCLOSE, EVIA_CONVERTINCOMING);
	}
    }
    if ((tfd = creat(MailSpoolFile, 666)) < 0){
	fprintf(stderr, "Could not Zero-out %s (%d)...continuing anyway",
MailSpoolFile, errno);
    } else {
	close(tfd); /* Just creating it, that's all */
    }
    fclose(fp);
    if (AMS_StrictStandaloneLocking) rmlock(CurLock, LockFD);
    return(0);
}

static int IsNewFrom(line)
char *line;
{
    PARSED_ADDRESS *ListHead = NULL;
    struct tm TmBuf;
    char *addr, *date, *space;

    /* First pass, very simple */
    if (strncmp(line, "From", 4)) {
	return(0);
    }
    if (line[4] != ' ' && (!AMS_AllowColonInSeparatingFrom || line[4] !=
':')) return(0);
    addr = index(line, ' ');
    if (!addr) return(0);
    while (*addr && isspace(*addr)) ++addr;
    if (!*addr) return(0);
    space = index(addr, ' ');
    if (!space) return(0);
    *space = '\0';
    date = space+1;
    if (AMS_CheckAddressInSeparatingFrom && *addr != '@' &&
ParseAddressList(addr, &ListHead) != PA_OK) {
	*space = ' ';
	return(0);
    }
    if (ListHead) FreeAddressList(ListHead);
    *space = ' ';
/*    if (AMS_CheckDateInSeparatingFrom && parsedateheader(date, &TmBuf,
1, 1, 1, 0)) return(0); */
    if (AMS_CheckDateInSeparatingFrom) {
	fprintf(stderr, "Can't check date in separating from\n");
	return(-1);
    }
    return(1);
}

\enddata{text822, 95010}
\begindata{text822, 107082}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/kZxwrwS00Ui38:z08o>;
          Fri,  9 Mar 90 10:38:37 -0500 (EST)
Received: from po2.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q005/QF.0ZxwpVq00jZd8FiE4e>;
          Fri,  9 Mar 90 10:36:22 -0500 (EST)
Received: from munnari.oz.au by po2.andrew.cmu.edu (5.54/3.15) id <AA04522> for info-andrew; Fri, 9 Mar 90 10:34:48 EST
Received: from otc.otca.oz (via basser) by munnari.oz.au with SunIII (5.61+IDA+MU)
	id AA11627; Sat, 10 Mar 1990 02:33:14 +1100
	(from grahamd@otc.otca.oz.au for info-andrew@andrew.cmu.edu)
Received: (via otc) by otc (5.61)
	id AA11446; Fri, 9 Mar 90 09:27:27 +1000
	(from grahamd@otc.otca.oz for info-andrew%andrew.cmu.edu@munnari.cs.mu.oz)
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.griffin.otca.oz.au.sun3.4
          via MS.5.6.griffin.otca.oz.au.sun3_4;
          Fri,  9 Mar 90 09:31:34 +1000 (EST)
Message-Id: <oZxihKi6bk8n01CUJ4@otc.otca.oz>
Date: Fri,  9 Mar 90 09:31:34 +1000 (EST)
From: Graham Dumpleton <grahamd@otc.otca.oz.au>
To: info-andrew@andrew.cmu.edu
Subject: Does anyone have a list inset

Has anyone created an inset for producing lists in ez, i.e. bullet
lists, numbered lists, dashed lists etc, which they are willing to share
with everyone, or will I have to go write one myself. If I do have to
write one does anyone have any ideas about how the interface to it
should work from inside ez.

- grahamd
\enddata{text822, 107082}
\begindata{text822, 108836}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/oZxwvaO00UkTIQQU9T>;
          Fri,  9 Mar 90 10:42:34 -0500 (EST)
Received: from po2.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q004/QF.kZxwrzm00jZdQFsE4Z>;
          Fri,  9 Mar 90 10:38:44 -0500 (EST)
Received: from munnari.oz.au by po2.andrew.cmu.edu (5.54/3.15) id <AA04563> for info-andrew; Fri, 9 Mar 90 10:37:38 EST
Received: from otc.otca.oz (via basser) by munnari.oz.au with SunIII (5.61+IDA+MU)
	id AA11700; Sat, 10 Mar 1990 02:36:10 +1100
	(from grahamd@otc.otca.oz.au for info-andrew@andrew.cmu.edu)
Received: (via otc) by otc (5.61)
	id AA03450; Fri, 9 Mar 90 17:56:13 +1000
	(from grahamd@otc.otca.oz for info-andrew%andrew.cmu.edu@munnari.cs.mu.oz)
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.griffin.otca.oz.au.sun3.4
          via MS.5.6.griffin.otca.oz.au.sun3_4;
          Fri,  9 Mar 90 18:00:19 +1000 (EST)
Message-Id: <kZxq_Hm6bk8nM121MO@otc.otca.oz>
Date: Fri,  9 Mar 90 18:00:19 +1000 (EST)
From: Graham Dumpleton <grahamd@otc.otca.oz.au>
To: info-andrew@andrew.cmu.edu,
        uunet.uu.net!ladcgw!hermes!fmayhar@murtoa.cs.mu.OZ.AU (Frank Mayhar)
Subject: Re: Andrew on a Sun 386i?
In-Reply-To: <1990Mar2.015110.13791@ladc.bull.com>
References: <1990Mar2.015110.13791@ladc.bull.com>

Excerpts from info-andrew: 2-Mar-90 Andrew on a Sun 386i? Frank
Mayhar@murtoa.cs.m (531)

> Perhaps this has been hashed over before, but here goes...

> Before I jump into trying to port Andrew to the Sun 386i, has anyone already
> done that?  Or, if not, can anyone give me any porting hints, or point be at
> any documentation that might make my task a little easier?


I don't know if anyone has replied to you personally, I didn't see any
responses on the mailing list. Anyway I may be able to help you since I
am in the process of porting Andrew onto a 80386 machine runnning
Interactive Unix. This machine may seem very different but in terms of
the dynamic linking code it should be very close as they are both 80386
and also both use the same COFF format (I was told they might not though
be the same???).  I feel if anything it will be the dynamic linking code
which you will have problems with, all the other code should probably
compile okay since SunOS is SunOS. So, what follows is my experiences
with porting the dynamic linking code to an 80386 running Interactive
Unix; ie. the stuff in ./overhead/class.

What I did was to take the dynamic linking code for the aix_i386 which
is supplied on the Andrew tape and starting hacking it; again this is an
80386 which uses COFF format. The following describes the sorts of
changes which I had to make.

1. globals.spp - Interactive Unix doesn't like forward referencing
labels in assembler, also uses .string instead of .asciz ie. change

#define globalref(x)    .globl x ;      .text;  .long   x,1f;   .data;1:
.asciz "x"

to

#define globalref(x)    .globl x ;      .text;  .long   x,grfl___/**/x; 
 .data; grfl___/**/x:        .string "x"

I know Sun 3's do like forward referencing labels and use .acsiz so no
change may be necessary here.

2. entry.spp - Suprisingly I made no changes here, I guess they must
have the same way of doing calls. You can only give this a go and see
how it goes.

3. getlist.awk - I had to make lots of changes here as underscores do
not appear before lots of names, a number of functions are missing and
the output of nm is weird. Being a Sun though you may be able to pinch
it from sun_68k and have no problems.

4. doload.c - This was fun. The problem here was that the aix_i386
expected the text, data and bss segments to all follow each other in the
virtual address space, this however was not the case under Interactive
Unix. On this machine the text space does not start at 0; space is
actually allocated for all the header info at virt addr 0 first, and
there can be a large gap between the data and bss segments. This mean't
that many of the simple assumptions which were made for the aix_i386
about relocation of data just didn't work.

I can't remember all the little things I had to do to doload.c, but if
it helps I can send you what I came up with. As far as I can tell, what
I have done can handle any layout of COFF; going by the doco we have
anway, some little perculiarities particular to some machines may have
to be added though, for example I removed the following; which came from
the aix_i386, from my version:

            /* handle named common allocation */
            if (e->mode == Load && sp->n_value > 0) {
                char *addr;
                long size;

                size = sp->n_value;
                addr = safe_malloc(e, size);
                bzero(addr, size);
                /*
                 * We subtract the length from the pointer here
                 * because the references in the code have the length added.
                 * Why?  I do not know.
                 */
                sp->n_value = (unsigned long)addr - size;
                sp->n_scnum = N_ABS;
            }

other things which may have to be changed on different machines are the
magic numbers.

5. Imakefile - Had to make a number of changes here, mostly because of
how nm output data and also because there are no symlinks on Interactive
Unix; I had to copy files to ../machine. You should have no problems
with this though, just copy the one from sun_68k.


I have had no problem with the dynamic linking once I got it running; ez
even works, I haven't got much further in porting it though than that
due to lack of time.

Hope this helps you with the Sun386i.


Graham Dumpleton, OTC Australia. (grahamd@otc.otca.oz.au)
\enddata{text822, 108836}
\begindata{text822, 114804}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/UZxxlHi00jZdEJ8E8S>;
          Fri,  9 Mar 90 11:39:56 -0500 (EST)
Received: from andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q000/QF.YZxxi=600Ui3QDLU5v>;
          Fri,  9 Mar 90 11:36:29 -0500 (EST)
Message-ID: <Added.YZxxi2y00Ui3EDLE8g@andrew.cmu.edu>
Received: from NSFnet-Relay.AC.UK by andrew.cmu.edu (5.54/3.15) id <AA03919> for INFO-ANDREW; Fri, 9 Mar 90 11:35:51 EST
Received: from sun.nsfnet-relay.ac.uk by vax.NSFnet-Relay.AC.UK 
           via Janet with NIFTP  id aa25869; 9 Mar 90 15:36 GMT
Date:           Fri, 9 Mar 90  15:39 GMT
From: Martin Beer <MDB%microvax-a.computer-science.liverpool.ac.uk@NSFnet-Relay.AC.UK>
To: INFO-ANDREW <@NSFnet-Relay.AC.UK:INFO-ANDREW@andrew.cmu.edu>
Subject:        Raster insets in zip

I am having an interesting time, trying to use raster insets
within zip (in fact what I am doing is to convert a screen dump
into raster format using the pbmplus routines and then annotate it
with zip).

The problem is that I am able to produce exactly what I want on the
screen, but when I print it (on a straight postscript printer)
the raster image is only about half the size it should be,
and does not match the annotation.  Also when I save the file
and restore it the raster always comes up as the top layer,
and hides the arrows that I had drawn with zip.  There
seems no way to push it to the bottom of the stack.

Has anyone got any ideas?

Martin Beer,
Dept. of Computer Science,
University of Liverpool.

mdb"uk.ac.liv.cs.mva
\enddata{text822, 114804}
\begindata{text822, 116668}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/cZxyhde00Ui3MIAk8M>;
          Fri,  9 Mar 90 12:44:16 -0500 (EST)
Received: from po2.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q006/QF.kZxyemG00jZd0MrU5D>;
          Fri,  9 Mar 90 12:41:37 -0500 (EST)
Received: from uunet.UU.NET by po2.andrew.cmu.edu (5.54/3.15) id <AA06333> for info-andrew; Fri, 9 Mar 90 12:38:50 EST
Received: by uunet.UU.NET (5.61/1.14) with UUCP 
	id AA19568; Fri, 9 Mar 90 12:28:05 -0500
Received: by franz.Franz.COM (MC 2.0/FI-1.0)
	id AA10374; Fri, 9 Mar 90 09:11:12 PST
Received: by ox.Franz.COM (4.0/FI-1.0)
	id AA16793; Fri, 9 Mar 90 09:11:12 PST
Date: Fri, 9 Mar 90 09:11:12 PST
From: jarl@Franz.COM (Jarl Nilsson)
Message-Id: <9003091711.AA16793@ox.Franz.COM>
To: info-andrew@andrew.cmu.edu
Subject: Request for PostScript printing ezprint


 I'm looking for an ezprint that produces
PostScript directly. Our troff is does not handle
the \! very gracefully.

 Does anyone know where I can find such an ezprint?

		/jarl
\enddata{text822, 116668}
\begindata{text822, 118008}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/wZxz0Ae00UddQA8E95>;
          Fri,  9 Mar 90 13:04:00 -0500 (EST)
Received: from po2.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q001/QF.kZxyv1i00jZd0NjE4L>;
          Fri,  9 Mar 90 12:58:47 -0500 (EST)
Received: from thumper.bellcore.com by po2.andrew.cmu.edu (5.54/3.15) id <AA05902>; Fri, 9 Mar 90 12:11:53 EST
Received: by thumper.bellcore.com (5.54/4.7)
	id AA03592; Fri, 9 Mar 90 12:11:53 EST
Received: by greenbush.bellcore.com (4.12/4.7)
	id AA16888; Fri, 9 Mar 90 12:10:26 est
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.greenbush.mouseclub.sun4.40
          via MS.5.6.greenbush.mouseclub.sun4_40;
          Fri,  9 Mar 90 12:10:23 -0500 (EST)
Message-Id: <UZxyBz60M2YtQtbY07@thumper.bellcore.com>
Date: Fri,  9 Mar 90 12:10:23 -0500 (EST)
From: Nathaniel Borenstein <nsb@thumper.bellcore.com>
To: info-andrew@andrew.cmu.edu
Subject: Re: Does anyone have a list inset
In-Reply-To: <oZxihKi6bk8n01CUJ4@otc.otca.oz>
References: <oZxihKi6bk8n01CUJ4@otc.otca.oz>

It ain't everything you'd want, but a starting point is included in the
CHAMP code.    There's a "chlist" and a "chlistv" object which together
form a list inset.    The chlist data object supports adding, deleting,
finding, and changing items on the list.  (One limitation is that you
can only add to the end of the list, but this would only require one new
method, not too hard to write, to fix it.)  The chlistv view supports
selecting an item from the list by clicking on it, at which time it will
highlight it an call an associated procedure (stored in the chilst data
object).  This inset was only fleshed out as far as needed for the CHIMP
object, which was itself never really finished.  It is the only decent
part of the CHIMP user interface, however, and is probably a good
starting point for what you want to do.  Good luck.  -- Nathaniel
\enddata{text822, 118008}
\begindata{text822, 120235}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/4Zy3oDy00Ui38ayk89>;
          Fri,  9 Mar 90 18:32:32 -0500 (EST)
Received: from andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q003/QF.IZy3mP600Ui30ax05n>;
          Fri,  9 Mar 90 18:30:40 -0500 (EST)
Received: from zeta.saintjoe.edu by andrew.cmu.edu (5.54/3.15) id <AA09964> for info-andrew; Fri, 9 Mar 90 18:30:10 EST
Received: by zeta.saintjoe.edu (4.0/SMI-4.0)
	id AA02453; Fri, 9 Mar 90 17:27:17 CST
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.zeta.saintjoe.edu.sun3.4
          via MS.5.6.zeta.saintjoe.edu.sun3_4;
          Fri,  9 Mar 90 17:27:16 -0600 (CST)
Message-Id: <QZy3jIq3LE01Q9N2gQ@zeta.saintjoe.edu>
Date: Fri,  9 Mar 90 17:27:16 -0600 (CST)
From: Brian Capouch <brianc@zeta.saintjoe.EDU>
To: info-andrew@andrew.cmu.edu
Subject: Ispell

I'm trying to find my way through the 100,000 or so indexed files on
uunet, looking for Ispell. 

So far no good.  Does anyone have a path a little more resolute than the
machine name? 

Thanks.

Brian Capouch
Saint Joseph's College
brianc@saintjoe.edu
\enddata{text822, 120235}
\begindata{text822, 121645}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/oZy5CSW00Ui34dE08H>;
          Fri,  9 Mar 90 20:08:47 -0500 (EST)
Received: from po2.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q003/QF.wZy5B9:00jZdEh3U4y>;
          Fri,  9 Mar 90 20:07:33 -0500 (EST)
Received: from ucbvax.Berkeley.EDU by po2.andrew.cmu.edu (5.54/3.15) id <AA11509> for info-andrew; Fri, 9 Mar 90 20:05:15 EST
Received: by ucbvax.Berkeley.EDU (5.61/1.41)
	id AA10334; Fri, 9 Mar 90 16:58:32 -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: 9 Mar 90 19:07:44 GMT
From: auspex!guy@uunet.uu.net  (Guy Harris)
Organization: Auspex Systems, Santa Clara
Subject: Re: dynamic loading
Message-Id: <3013@auspex.auspex.com>
References: <1990Mar6.223104.818@cs.columbia.edu>, <MZxPW9600VsaACtyVN@andrew.cmu.edu>
Sender: info-andrew-request@andrew.cmu.edu
To: info-andrew@andrew.cmu.edu


 >D.l. code is put into the data space of the process, so that multiple
 >andrew processes WON'T share dynamically loaded code with each other
 >(this is true for all versions of andrew that I know of-- it might not
 >be for future ports to systems with more o.s. support for this sort of
 >thing).

I thought that, since Apollo's OS supported that sort of thing, the
Apollo port of Andrew caused dynamically linked code to be shared?  (The
port appears to use Aegis facilities for dynamic linking.)  If anybody
does a port to S5R4, or does a SunOS 4.1 version, and they use
S5R4/SunOS 4.1's "dlopen()" and company, it'll be true there, too.
\enddata{text822, 121645}
\begindata{text822, 123613}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
X-Andrew-Authenticated-as: 13;andrew.cmu.edu;Fred Hansen
Received: from bangor.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/EZyGgQe00VsPE7N08Q>;
          Sat, 10 Mar 90 11:28:13 -0500 (EST)
If-Type-Unsupported: alter
Received: from bangor.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/usr13/wjh/.Outgoing/QF.cZyGfTO00VsPE6A9wp>;
          Sat, 10 Mar 90 11:27:11 -0500 (EST)
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.bangor.andrew.cmu.edu.rt.r3
          via MS.5.6.bangor.andrew.cmu.edu.rt_r3;
          Sat, 10 Mar 90 11:27:11 -0500 (EST)
Message-ID: <IZyGfTG00VsPA6A9pT@andrew.cmu.edu>
Date: Sat, 10 Mar 90 11:27:11 -0500 (EST)
From: Fred Hansen <wjh+@andrew.cmu.edu>
X-Andrew-Message-Size: 893+0
Content-Type: X-BE2; 12
To: Info-Andrew <info-andrew+@andrew.cmu.edu>,
    Martin Beer
    <MDB%microvax-a.computer-science.liverpool.ac.uk@NSFnet-Relay.AC.UK>
Subject: Re: Raster insets in zip
In-Reply-To: <Added.YZxxi2y00Ui3EDLE8g@andrew.cmu.edu>
References: <Added.YZxxi2y00Ui3EDLE8g@andrew.cmu.edu>

\begindata{text,270587284}
\textdsversion{12}
\template{messages}
\excerptedcaption{Excerpts from internet.info-andrew: 9-Mar-90 Raster insets 
in zip Martin Beer@NSFnet-Relay (738)}


\quotation{The problem is that I am able to produce exactly what I want on the 
}\quotation{screen, but when I print it (on a straight postscript printer) 
}\quotation{the raster image is only about half the size it should be, 
}\quotation{and does not match the annotation.

}
Raster has a SetPrintSize menu option that will let you set the printsize to 
whatever you like.  The default scaling is  12.48 / 25.


"Why is the printsize half the screen size?" you may ask.  I chose this size 
because we had a 300 dots/inch scanner so printing it at screen size (72 
dots/inch) would make the image four times bigger.  The choice of one half 
screen size was a compromise because some images come originally from screen 
dumps.  (Sigh.  We should have included the resolution among the fields 
carried around with the image.)


Hope this helps,

Fred Hansen\
\enddata{text,270587284}

\enddata{text822, 123613}
\begindata{text822, 125956}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
X-Andrew-Authenticated-as: 420;andrew.cmu.edu;Miles Bader
Received: from woodstock.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/sZyQf0q00VsaQNj09m>;
          Sat, 10 Mar 90 22:49:21 -0500 (EST)
Received: from woodstock.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/usr18/bader/.Outgoing/QF.gZyQdYu00Vsa8Nfedo>;
          Sat, 10 Mar 90 22:47:49 -0500 (EST)
Received: from BatMail.robin.v2.10.CUILIB.3.45.SNAP.NOT.LINKED.woodstock.andrew.cmu.edu.rt.r3
          via MS.5.6.woodstock.andrew.cmu.edu.rt_r3;
          Sat, 10 Mar 90 22:47:32 -0500 (EST)
Message-ID: <kZyQdIi00VsaENfeQH@andrew.cmu.edu>
Date: Sat, 10 Mar 90 22:47:32 -0500 (EST)
From: Miles Bader <bader+@andrew.cmu.edu>
To: Info-Andrew <info-andrew+@andrew.cmu.edu>
Subject: Re: dynamic loading
In-Reply-To: <3013@auspex.auspex.com>
References: <1990Mar6.223104.818@cs.columbia.edu>, <MZxPW9600VsaACtyVN@andrew.cmu.edu>,
	<3013@auspex.auspex.com>
Blat: Foop

auspex!guy@uunet.uu.net  (Guy Harris) writes:
>  >D.l. code is put into the data space of the process, so that multiple
>  >andrew processes WON'T share dynamically loaded code with each other
>  >(this is true for all versions of andrew that I know of-- it might not
>  >be for future ports to systems with more o.s. support for this sort of
>  >thing).
> 
> I thought that, since Apollo's OS supported that sort of thing, the
> Apollo port of Andrew caused dynamically linked code to be shared?  (The
> port appears to use Aegis facilities for dynamic linking.)

This shows why I put in the disclaimer!  :-`

-Miles
\enddata{text822, 125956}
\begindata{text822, 127748}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/EZySzWS00jZdISbk9o>;
          Sun, 11 Mar 90 01:27:49 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q001/QF.IZySwOe00UkTMa305B>;
          Sun, 11 Mar 90 01:24:33 -0500 (EST)
Received: from apple.com by po3.andrew.cmu.edu (5.54/3.15) id <AA09729> for info-andrew; Sun, 11 Mar 90 01:23:52 EST
Received: by apple.com (5.61/25-eef)
	id AA19476; Sat, 10 Mar 90 22:17:13 -0800
	for 
Received: by well.sf.ca.us (4.12/4.7)
	id AA03950; Sat, 10 Mar 90 22:00:33 pst
Date: Sat, 10 Mar 90 22:00:33 pst
From: well!brianc@apple.com (Brian Capouch)
Message-Id: <9003110600.AA03950@well.sf.ca.us>
To: info-andrew@andrew.cmu.edu
Subject: Naive Question


What all goes on during the interval between which one invokes an Andrew 
program and the time that it actually begins to run? 

The thing that provokes my question is that suddenly, after behaving quite
normally one day, and with no one to speak of on the system in the meantime, 
my Andrew applications are taking forever (3-4 minutes; I'm the only one
on a Sun 3/150) to run after they've been invoked.  So far I've tried 
several applications, and they're all the same. 

How would I debug such a freak scene?  Normal loading time is 15-20 seconds;
that's what it was when I left last night.  And now. . . . . . .

Anyone who might have time for suggestions please note I'm somewhere else 
mailing this; we
had a bad storm tonight and our normal Internet connection is down.  I'll 
assume it will be up by the time you read this. 

Thanks.

Brian Capouch
Saint Joseph's College
brianc@saintjoe.edu
\enddata{text822, 127748}
\begindata{text822, 129709}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/QZyjoaG00Ui30G0E8s>;
          Sun, 11 Mar 90 20:36:39 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q007/QF.8Zyjn8G00UkTQRK05M>;
          Sun, 11 Mar 90 20:35:08 -0500 (EST)
Received: from munnari.oz.au by po3.andrew.cmu.edu (5.54/3.15) id <AA07147>; Sun, 11 Mar 90 20:05:21 EST
Received: from otc.otca.oz (via basser) by munnari.oz.au with SunIII (5.61+IDA+MU)
	id AA26538; Mon, 12 Mar 1990 12:01:54 +1100
	(from ronb@otc.otca.oz.au for info-andrew@andrew.cmu.edu)
Received: (via otc) by otc (5.61)
	id AA01539; Mon, 12 Mar 90 10:58:53 +1000
	(from ronb@otc.otca.oz for info-andrew%andrew.cmu.edu@munnari.cs.mu.oz)
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.mentat.otca.oz.au.sun3.4
          via MS.5.6.mentat.otca.oz.au.sun3_4;
          Mon, 12 Mar 90 11:02:57 +1000 (EST)
Message-Id: <4ZyjJ1q6bk8qM1GksO@otc.otca.oz>
Date: Mon, 12 Mar 90 11:02:57 +1000 (EST)
From: Ron Barrett <ronb@otc.otca.oz.au>
To: info-andrew@andrew.cmu.edu
Subject: Problem reading/writing text objects

I'm currently using text_ReadSubString and text_WriteSubString to
transfer data to/from a file and my ADEW application. The problem is
that doing this removes all end of lines from the data I read in so when
I write the data back out to a file I end up with one gigantic line.

Is there any way I can tell the text object not to ignore the end of
lines it reads in from the file.

                Ron Barrett
                Network R&D
                |||| OTC ||
 
ACSnet: ronb@otc.oz        UUCP: {uunet,mcvax}!otc.oz!ronb
PHONE:  +61 2 287 4834     FAX: +61 2 287 4990
MAIL:   OTC, GPO Box 7000, Sydney 2001, Australia
\enddata{text822, 129709}
\begindata{text822, 131747}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/IZykbpS00UddEF=08h>;
          Sun, 11 Mar 90 21:31:18 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q001/QF.IZykay:00UkTQTIU5Y>;
          Sun, 11 Mar 90 21:30:29 -0500 (EST)
Received: from thumper.bellcore.com by po3.andrew.cmu.edu (5.54/3.15) id <AA08010> for info-andrew; Sun, 11 Mar 90 21:29:29 EST
Received: by thumper.bellcore.com (5.54/4.7)
	id AA18795; Sun, 11 Mar 90 21:30:54 EST
Received: by greenbush.bellcore.com (4.12/4.7)
	id AA05714; Sun, 11 Mar 90 21:29:27 est
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.greenbush.mouseclub.sun4.40
          via MS.5.6.greenbush.mouseclub.sun4_40;
          Sun, 11 Mar 90 21:29:25 -0500 (EST)
Message-Id: <EZyka5e0M2Yt8K0nJy@thumper.bellcore.com>
Date: Sun, 11 Mar 90 21:29:25 -0500 (EST)
From: Nathaniel Borenstein <nsb@thumper.bellcore.com>
To: info-andrew@andrew.cmu.edu
Subject: Re: Naive Question
In-Reply-To: <9003110600.AA03950@well.sf.ca.us>
References: <9003110600.AA03950@well.sf.ca.us>

I seem to recall that you were having resolver-related problems before. 
In my experience, the resolver can also cause long startup delays --
when first I brought up the Andre beta tape, I told it we had the
resolver running but we didn't actually, so everything timed out.  Every
Andrew application had a long timeout at startup  -- I think it was
trying to find out the name of the current host, or some nonsense like
that.  Look once again at your resolver environment, that's my advice. 
-- NB
\enddata{text822, 131747}
\begindata{text822, 133630}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
X-Andrew-Authenticated-as: 91;andrew.cmu.edu;Tom Neuendorffer
Received: from dublin.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/gZyvVSC00Vt1EJbE9l>;
          Mon, 12 Mar 90 09:55:26 -0500 (EST)
If-Type-Unsupported: alter
Received: from dublin.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/usr20/tpn/.Outgoing/QF.4ZyvUPO00Vt1MJYW9t>;
          Mon, 12 Mar 90 09:54:19 -0500 (EST)
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.dublin.andrew.cmu.edu.rt.r3
          via MS.5.6.dublin.andrew.cmu.edu.rt_r3;
          Mon, 12 Mar 90 09:54:19 -0500 (EST)
Message-ID: <kZyvUP_00Vt1AJYW1l@andrew.cmu.edu>
Date: Mon, 12 Mar 90 09:54:19 -0500 (EST)
From: Tom Neuendorffer <tpn+@andrew.cmu.edu>
X-Andrew-Message-Size: 670+0
Content-Type: X-BE2; 12
To: Ron Barrett <ronb@otc.otca.oz.au>,
    Info-Andrew <info-andrew+@andrew.cmu.edu>
Subject: Re: Problem reading/writing text objects
In-Reply-To: <4ZyjJ1q6bk8qM1GksO@otc.otca.oz>
References: <4ZyjJ1q6bk8qM1GksO@otc.otca.oz>

\begindata{text,270125144}
\textdsversion{12}
\template{messages}
\excerptedcaption{Excerpts from mail: 12-Mar-90 Problem reading/writing tex.. 
Ron Barrett@otc.otca.oz. (623)}


\quotation{I'm currently using text_ReadSubString and text_WriteSubString to

}\quotation{transfer data to/from a file and my ADEW application. The problem 
is

}\quotation{that doing this removes all end of lines from the data I read in 
so when

}\quotation{I write the data back out to a file I end up with one gigantic 
line.

}
\quotation{Is there any way I can tell the text object not to ignore the end 
of

}\quotation{lines it reads in from the file.

}

Both text_ReadSubString and text_WriteSubString take a boolean last argument. 
If this is set to FALSE, then the file will be read and written as is, with no 
line wrapping and no styles. 


	Tom N.

\enddata{text,270125144}

\enddata{text822, 133630}
\begindata{text822, 135730}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/UZz0Ad200UddABSU8u>;
          Mon, 12 Mar 90 15:14:33 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q001/QF.kZz08nm00UkTEBKE5z>;
          Mon, 12 Mar 90 15:10:37 -0500 (EST)
Received: from thumper.bellcore.com by po3.andrew.cmu.edu (5.54/3.15) id <AA03735>; Mon, 12 Mar 90 10:53:57 EST
Received: by thumper.bellcore.com (5.54/4.7)
	id AA00552; Mon, 12 Mar 90 10:54:38 EST
Received: by greenbush.bellcore.com (4.12/4.7)
	id AA07613; Mon, 12 Mar 90 10:53:11 est
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.greenbush.mouseclub.sun4.40
          via MS.5.6.greenbush.mouseclub.sun4_40;
          Mon, 12 Mar 90 10:53:08 -0500 (EST)
Message-Id: <kZywLYm0M2YtEPCnAX@thumper.bellcore.com>
Date: Mon, 12 Mar 90 10:53:08 -0500 (EST)
From: Nathaniel Borenstein <nsb@thumper.bellcore.com>
To: info-andrew+@andrew.cmu.edu
Subject: EZ Suggestion/idea

The one thing I've never liked about ez's window management under X is
the way it decides where to put secondary windows.  I mean, I can use
geometry to control the first window, and I can use the "topincrement" 
and "leftincrement" preferences for secondary windows, but that doesn't
always cut it.  I'd like to be able to say things like

ez.secondwindowgeometry: <geometryspec>
ez:thirdwindowgeometry: <geometryspec>

Also, I'd *particularly* like to have some control over where the table
of contents window shows up, e.g.

ez.tableofcontentsgeometry: <geometryspec>

(That one would be particularly nice to have because the LAST thing I
want is for the table of contents to come up, as it now does, over the
top of the thing I"m looking at.  But then, I hardly EVERY want that
kind of overlap in my editor windows.)

I suspect it shouldn't be too hard to add features like these, but
barring that, how about at least a preference that says "on all
secondary ez windows, ask the window manager to have me size and place
the window."  I'd rather type ^X2 and then place a window than type ^X2,
have it come up in the wrong place, and then have to move and resize it.
 But best would definitely be the addition of some geometry control over
secondary windows.  -- Nathaniel
\enddata{text822, 135730}
\begindata{text822, 138281}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/cZzBAuW00Ui3M6ik9=>;
          Tue, 13 Mar 90 06:02:19 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q007/QF.gZzB9ya00UkTIBukgy>;
          Tue, 13 Mar 90 05:59:28 -0500 (EST)
Received: from uunet.uu.net by po3.andrew.cmu.edu (5.54/3.15) id <AA06321>; Mon, 12 Mar 90 21:15:03 EST
Received: from ibmsupt.UUCP by uunet.uu.net (5.61/1.14) with UUCP 
	id AA01695; Mon, 12 Mar 90 21:14:31 -0500
Received: by ibmsupt.XXX (5.51/5.17)
	id AA11910; Mon, 12 Mar 90 16:32:22  19
Received: by ibmpa.tcspa.ibm.com (5.51/)
	id AA09038; Mon, 12 Mar 90 16:21:41 PST
Received: by ibmsupt.XXX (5.51/5.17)
	id AA11896; Mon, 12 Mar 90 16:18:50  19
Received: from dolphin.tcspa.ibm.com by ibmpa.tcspa.ibm.com (5.51/)
	id AA08670; Mon, 12 Mar 90 15:31:57 PST
Received: by dolphin.tcspa.ibm.com (5.61/5.17)
	id AA15009; Mon, 12 Mar 90 15:31:59 -0800
Date: Mon, 12 Mar 90 15:31:59 -0800
From: ibmsupt!ibmpa!mlewis@uunet.UU.NET (Mark S. Lewis)
Message-Id: <9003122331.AA15009@dolphin.tcspa.ibm.com>
To: info-andrew@andrew.cmu.edu
Subject: IBM 8514 source available
Cc: brunner@uunet.UU.NET, mlewis@uunet.UU.NET


Subject: IBM 8514 source code for X11 release 4 available
Index: ../mit/server/ddx/ibm/ibm8514

Description:	
IBM has decided to provide X11 source code for the 8514 display
adapter.  This is the same code used to build the object files
included in the X11 Release 4 distribution.  This code supports
servers for both AIX and IBM/4.3 on their respective platforms.

	V1.32_kit.1	59,103 Bytes
	V1.32_kit.2	61,796 Bytes
	V1.32_kit.3	60,982 Bytes
	V1.32_kit.4	62,729 Bytes
	V1.32_kit.5	54,871 Bytes
	V1.32_kit.6	29,170 Bytes

The 8514 code is available from the newsgroup comp.sys.ibm.pc.rt.
IBM/4.3 customers can uucp these files from ibmsupt in the
/usr/spool/uucppublic/ibm43-fixes directory.  It will be available
from independent sites for annonymous ftp.  IBM does not provide
ftp access.

=====-----     Mark S. Lewis, IBM AWD Palo Alto    -----======
inet: mlewis%ibmsupt@uunet.uu.net		(415) 855-4486
uucp: uunet!ibmsupt!mlewis              IBM Tie Line: 465-4486
\enddata{text822, 138281}
\begindata{text822, 140753}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/cZznyh200Udd4Ji092>;
          Thu, 15 Mar 90 02:09:35 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q002/QF.cZznv3a00UkT4G3E5e>;
          Thu, 15 Mar 90 02:05:45 -0500 (EST)
Received: from ucbvax.Berkeley.EDU by po3.andrew.cmu.edu (5.54/3.15) id <AA04610> for info-andrew; Thu, 15 Mar 90 02:04:30 EST
Received: by ucbvax.Berkeley.EDU (5.61/1.41)
	id AA09291; Wed, 14 Mar 90 23:00: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: 15 Mar 90 06:52:01 GMT
From: zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!ux1.cso.uiuc.edu!colgate.csg.uiuc.edu!niermann@tut.cis.ohio-state.edu  (Tom Niermann)
Organization: University of Illinois at Urbana
Subject: 2 col format
Message-Id: <1990Mar15.065201.13530@ux1.cso.uiuc.edu>
Sender: info-andrew-request@andrew.cmu.edu
To: info-andrew@andrew.cmu.edu

I just made andrew, and now am tring to decide if I want to use it.
I can't get a paper to preview or print in two column format using .2c of the
me macros. It prints one column of half width. 
Is there any way to fix this or is there a way to make a paper in 2 column
format, preferible so its in 2 column when in ez?

Thanks
\enddata{text822, 140753}
\begindata{text822, 142433}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/IZzvOVa00Ui34=QU8n>;
          Thu, 15 Mar 90 10:37:08 -0500 (EST)
Received: from po2.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q006/QF.IZzvMta00jZdIC9k5s>;
          Thu, 15 Mar 90 10:35:26 -0500 (EST)
Received: from thumper.bellcore.com by po2.andrew.cmu.edu (5.54/3.15) id <AA03052>; Thu, 15 Mar 90 09:57:54 EST
Received: by thumper.bellcore.com (5.54/4.7)
	id AA07641; Thu, 15 Mar 90 09:57:23 EST
Received: by greenbush.bellcore.com (4.12/4.7)
	id AA22621; Thu, 15 Mar 90 09:57:41 est
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.greenbush.mouseclub.sun4.40
          via MS.5.6.greenbush.mouseclub.sun4_40;
          Thu, 15 Mar 90 09:57:39 -0500 (EST)
Message-Id: <wZzupXa0M2YtBMIlNi@thumper.bellcore.com>
Date: Thu, 15 Mar 90 09:57:39 -0500 (EST)
From: Nathaniel Borenstein <nsb@thumper.bellcore.com>
To: info-andrew@andrew.cmu.edu
Subject: Re: 2 col format
In-Reply-To: <1990Mar15.065201.13530@ux1.cso.uiuc.edu>
References: <1990Mar15.065201.13530@ux1.cso.uiuc.edu>

There's no good way to make it two-column within ez.  (You can use an
embedded table with two text objects properly positioned, but you won't
get the kind of column-wrap-around you really want.)  However, there
should probably be no problem in passing stuff through to troff to get
two column output.  Just make sure to surround the troff commands in a
"FormatNote" style.  -- Nathaniel
\enddata{text822, 142433}
\begindata{text822, 144197}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
X-Andrew-Authenticated-as: 7650;andrew.cmu.edu;Jaap Akkerhuis
Received: from tigger.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/IZzw80y00VswQWKE9j>;
          Thu, 15 Mar 90 11:25:37 -0500 (EST)
Received: from tigger.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/usr21/jaap/.Outgoing/QF.QZzw7WC00VswMW7Hg7>;
          Thu, 15 Mar 90 11:25:07 -0500 (EST)
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.tigger.andrew.cmu.edu.rt.r3
          via MS.5.6.tigger.andrew.cmu.edu.rt_r3;
          Thu, 15 Mar 90 11:25:06 -0500 (EST)
Message-ID: <0Zzw7W600Vsw8W7HZq@andrew.cmu.edu>
Date: Thu, 15 Mar 90 11:25:06 -0500 (EST)
From: Jaap Akkerhuis <jaap+@andrew.cmu.edu>
X-Andrew-Message-Size: 570+0
Content-Type: X-BE2; 12
If-Type-Unsupported: alter
To: Info-Andrew <info-andrew+@andrew.cmu.edu>
Subject: Re: 2 col format
In-Reply-To: <wZzupXa0M2YtBMIlNi@thumper.bellcore.com>
References: <1990Mar15.065201.13530@ux1.cso.uiuc.edu>,
	<wZzupXa0M2YtBMIlNi@thumper.bellcore.com>

\begindata{text,270457288}
\textdsversion{12}
\template{messages}
\excerptedcaption{Excerpts from internet.info-andrew: 15-Mar-90 Re: 2 col 
format Nathaniel Borenstein@thu (387)}


\quotation{ However, there

}\quotation{should probably be no problem in passing stuff through to troff to 
get

}\quotation{two column output. 

}
Of course there are lot of problems doing this. Ez uses its own macros, .2c is 
a macro from the -me macros. To get it work, one should have to use troff with 
the -me macros and ez macros. These are likely getting in each other ways.


What one can do it to hack up the ez macros to do two column format or 
alternatively have ez generate the proper -me commands.


	jaap\
\enddata{text,270457288}

\enddata{text822, 144197}
\begindata{text822, 146157}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/4a0KxAW00jZdQUqk9g>;
          Fri, 16 Mar 90 17:57:19 -0500 (EST)
Received: from andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q001/QF.sa0KumG00Ui3QR:E5d>;
          Fri, 16 Mar 90 17:54:43 -0500 (EST)
If-Type-Unsupported: alter
Received: from po2.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q006/QF.Ia0KuIe00jZd0UoE4O>;
          Fri, 16 Mar 90 17:54:19 -0500 (EST)
Received: from att-in.att.com by po2.andrew.cmu.edu (5.54/3.15) id <AA08377> for info-andrew+; Fri, 16 Mar 90 17:52:41 EST
Received: from mtgz046 by mtgzfs3.att.com (4.0/SMI-4.0)
	id AA21250; Fri, 16 Mar 90 17:32:49 EST
Received: by mtgz046 (4.0/SMI-4.0)
	id AA00270; Fri, 16 Mar 90 17:32:47 EST
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.mtgz046.gazelle.att.com.sun3.4
          via MS.5.6.mtgz046.gazelle.att.com.sun4_40;
          Fri, 16 Mar 90 17:32:46 -0500 (EST)
Message-Id: <wa0KaC_753w7M0kUY_@gazelle.att.com>
Date: Fri, 16 Mar 90 17:32:46 -0500 (EST)
From: J Mukerji <jis@mtgzx.att.com>
X-Andrew-Message-Size: 2317+0
Content-Type: X-BE2; 12
To: Info-Andrew <info-andrew+@andrew.cmu.edu>
Subject: Help and its memory usage behavior

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

attr:[FontSize ConstantFontSize Point 12]}
\define{itemize
menu:[Region~4,Itemize~31]
attr:[LeftMargin LeftMargin Inch 32768]}
\define{enumerate
menu:[Region~4,Enumerate~30]
attr:[LeftMargin LeftMargin Inch 32768]}
\define{programexample
menu:[Region~4,ProgramExample~13]
attr:[LeftMargin LeftMargin Inch 32768]
attr:[Justification LeftJustified Point 0]
attr:[FontFace FixedFace Int Set]
attr:[FontFamily AndyType Int 0]}
\define{excerptedcaption

attr:[LeftMargin LeftMargin Inch 32768]
attr:[RightMargin RightMargin Inch 32768]
attr:[FontFace Bold Int Set]
attr:[FontFace Italic Int Set]}
\define{notetotypesetter
menu:[Region~4,NoteToTypesetter~61]
attr:[Flags PassThru Int Set]}
\define{literal
menu:[Region~4,Literal~62]
attr:[Flags PassThru Int Set]}
I was playing around with help to see how much memory it uses, and was amazed 
to see how quickly it eats up memory. As an example here is a list of actions 
that were taken in help and the result of running "pstat -s" on a Sun 4/60 
with 12M memory 16M swap space: (pstat -s gives the disposition of the swap 
space)


Before starting help

6980k allocated + 2920k reserved = 9900k used, 6480k available


Bring up help (tour.help 5300 bytes)

7588k allocated + 3736k reserved = 11324k used, 5056k available Delta: 1424k


Tag console in help (console.help ~19k)

7716k allocated + 3736k reserved = 11452k used, 4928k available Delta: 128k


See help for sh involving troff-ing the manual page (sh.1 ~41.5k)

8512k allocated + 3756k reserved = 12268k used, 4112k available Delta: 816k


Tag table help (table.help 56.4k)

8640k allocated + 3760k reserved = 12400k used, 3980k available Delta: 132k


Tag ness help (ness.help 11k)

8696k allocated + 3744k reserved = 12440k used, 3940k available Delta: 80k


See help for ls involving troff-ing the manual page (ls.1v 7.7k)

8864k allocated + 3736k reserved = 12600k used, 3780k available Delta: 160k


Ooops clicked on ls again (ls.1v 7.7k)

9008k allocated + 3732k reserved = 12740k used, 3640k available Delta: 140k


back to console (console.help ~19k)

9052k allocated + 3736k reserved = 12788k used, 3592k available Delta: 48k


clicked on console again (console.help ~19k)

9076k allocated + 3740k reserved = 12816k used, 3564k available Delta: 28k


Exit help

7004k allocated + 2916k reserved = 9920k used, 6460k available Delta: -2896k


I have included the size of the raw help files that are being read in at each 
stage.

I have also shown the rough difference in available memory after each step in 
the field marked "Delta: xxxk". What boggles my mind is that enormous amounts 
of memory seem to be getting allocated and it seems very little of it is 
getting freed for reuse. In short there seems to be a very large memory leak 
somewhere in Help.


Is this a phenomenon peculiar to SPARCs or is it a general memory leak bug in 
Help?

Either way has anyone got any ideas about how I or someone else ought to go 
about plugging this leak?


Thanks.










\center{\bold{Jishnu Mukerji},  

\smaller{\italic{jis@mtgzx.att.com}, 

\italic{+1 201 957 5986},  }

\smaller{\italic{\smaller{\bold{AT&T Bell Laboratories}, 

MT 3K-423, 200 Laurel Ave., 

Middletown NJ 07748}}}

}\enddata{text,2790832}

\enddata{text822, 146157}
\begindata{text822, 151004}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/wa1K06m00UkTQMmE8F>;
          Mon, 19 Mar 90 17:41:16 -0500 (EST)
Received: from po2.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q002/QF.ka1JkS:00jZdILVk4v>;
          Mon, 19 Mar 90 17:24:36 -0500 (EST)
If-Type-Unsupported: alter
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q001/QF.Ea1JitC00UkTEMEk4C>;
          Mon, 19 Mar 90 17:23:03 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q002/QF.sa1JUyC00UkT8LgE4=>;
          Mon, 19 Mar 90 17:08:04 -0500 (EST)
Received: from sparc01.icase.edu ([192.42.142.50]) by po3.andrew.cmu.edu (5.54/3.15) id <AA04571>; Mon, 19 Mar 90 14:30:59 EST
Received: by sparc01.icase.edu (4.0/SMI-DDN)
	id AA00253; Mon, 19 Mar 90 14:26:23 EST
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.sparc01.ICASE.sun4.40
          via MS.5.6.sparc01.ICASE.sun4_40;
          Mon, 19 Mar 90 14:26:20 -0500 (EST)
Message-Id: <8a1H9Qj0_csm00tkcv@icase.edu>
Date: Mon, 19 Mar 90 14:26:20 -0500 (EST)
From: Tom Crockett <tom@icase.edu>
X-Andrew-Message-Size: 1550+0
Content-Type: X-BE2; 12
To: J Mukerji <jis@mtgzx.att.com>
Subject: Re: Help and its memory usage behavior
Cc: info-andrew@andrew.cmu.edu
In-Reply-To: <wa0KaC_753w7M0kUY_@gazelle.att.com>
References: <wa0KaC_753w7M0kUY_@gazelle.att.com>

\begindata{text,3028624}
\textdsversion{12}
\template{messages}
\excerptedcaption{Excerpts from info-andrew: 16-Mar-90 Help and its memory 
usage b.. J Mukerji@mtgzx.att.com (2317+0)}


\quotation{Is this a phenomenon peculiar to SPARCs or is it a general memory 
leak bug in Help?

}\quotation{Either way has anyone got any ideas about how I or someone else 
ought to go about plugging this leak?

}
I think there is another memory leak in Andrew as well.  Try the following 
scenario:


\leftindent{Sun 4/60, SunOS 4.0.3c

X11R4 + fixes 1-5 compiled w/ "cc -O"

Andrew + patches 001-003 compiled w/ "cc"


(1)  Start \italic{Xsun }(via \italic{xinit} or whatever -- I use 
\italic{xdmshell})

(2) Start \italic{console} with lots of dynamic stuff in it (load graphs, 
etc.)

(3)  Use "pstat -T" to look at memory usage for the \italic{Xsun} server

(4) Start \italic{xlock} and let it run for several hours

(5)  Look at "pstat -T" again.  The server has grown considerably.

}
I originally reported this to the MIT X folks, thinking it was a memory leak 
in the \italic{Xsun} server, and their response was along the lines of "You 
must be running some crufty old client that's eating server memory".  This 
only seems to be a problem while \italic{xlock} is active.  Without 
\italic{xlock}, server memory usage remains constant.  Overnight, the server 
will easily expand by 5 or 6 MB.  In a few days, if I just let things go, I 
run out of swap space and lots of nasty things start to happen.


\italic{Tom Crockett}


\smaller{\bold{ICASE}

Institute for Computer Applications in Science and Engineering

\smaller{M.S. 132C				e-mail:  tom@icase.edu

NASA Langley Research Center		phone:  (804) 864-2182

Hampton,  VA  23665-5225

} 
\smaller{ }}\smaller{ } 
                                                                       



\enddata{text,3028624}

\enddata{text822, 151004}
\begindata{text822, 154598}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
X-Andrew-Authenticated-as: 469;andrew.cmu.edu;Craig F. Everhart
Received: from po3.andrew.cmu.edu via trymail
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/wa1YP7W00UkT0:x08M>;
          Tue, 20 Mar 90 10:05:49 -0500 (EST)
Received: from apollo.transarc.com via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q002/QF.Ya1YJn70BwwO4B80Nj>;
          Tue, 20 Mar 1990 10:00:06 -0500 (EST)
Received: from apollo.transarc.com via qmail
          ID </afs/transarc.com/usr/cfe/.Outgoing/QF.0a1YEVb0BwwO0AUGQk>;
          Tue, 20 Mar 90 09:54:26 -0500 (EST)
Received: from Messages.7.8.N.CUILIB.3.45.SNAP.NOT.LINKED.apollo.transarc.com.pmax.3
          via MS.5.6.apollo.transarc.com.pmax_3;
          Tue, 20 Mar 90 09:54:23 -0500 (EST)
Message-ID: <ga1YETH0BwwOEAUGEv@transarc.com>
Date: Tue, 20 Mar 90 09:54:23 -0500 (EST)
From: Craig_Everhart@transarc.com
X-Andrew-Message-Size: 107+0
Content-Type: X-BE2; 12
If-Type-Unsupported: alter
To: Info-Andrew <info-andrew+@andrew.cmu.edu>
Subject: Re: Help and its memory usage behavior
In-Reply-To: <8a1H9Qj0_csm00tkcv@icase.edu>
References: <wa0KaC_753w7M0kUY_@gazelle.att.com>,
	<8a1H9Qj0_csm00tkcv@icase.edu>

\begindata{text,19234092}
\textdsversion{12}
\template{messages}
OK, I'm confused.  What does running ``xlock'' have to do with ``another 
memory leak in Andrew''?


		Craig

\enddata{text,19234092}

\enddata{text822, 154598}
\begindata{text822, 156072}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/Ua1ZSBa00Ui30A7097>;
          Tue, 20 Mar 90 11:17:18 -0500 (EST)
Received: from po5.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q005/QF.Ea1ZQRO00UddQ6XU4W>;
          Tue, 20 Mar 90 11:15:28 -0500 (EST)
If-Type-Unsupported: alter
Received: from po2.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q004/QF.oa1ZO6:00jZdEE=U4Y>;
          Tue, 20 Mar 90 11:13:11 -0500 (EST)
Received: from att-in.att.com by po2.andrew.cmu.edu (5.54/3.15) id <AA04120> for info-andrew+; Tue, 20 Mar 90 11:11:42 EST
Received: from mtgz046 by mtgzfs3.att.com (4.1/SMI-4.0)
	id AA13519; Tue, 20 Mar 90 10:57:36 EST
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.mtgz046.gazelle.att.com.sun3.4
          via MS.5.6.mtgz046.gazelle.att.com.sun4_40;
          Tue, 20 Mar 90 10:57:35 -0500 (EST)
Message-Id: <0a1Z=ja753w7E0eogH@gazelle.att.com>
Date: Tue, 20 Mar 90 10:57:35 -0500 (EST)
From: J Mukerji <jis@mtgzx.att.com>
X-Andrew-Message-Size: 2738+1
Content-Type: X-BE2; 12
To: Info-Andrew-Bugs <info-andrew-bugs+@andrew.cmu.edu>
Subject: Re: Help and its memory usage behavior
Cc: Info-Andrew <info-andrew+@andrew.cmu.edu>, J Mukerji <jis@mtgzx.att.com>

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

attr:[FontSize ConstantFontSize Point 12]}
\define{itemize
menu:[Region~4,Itemize~31]
attr:[LeftMargin LeftMargin Inch 32768]}
\define{enumerate
menu:[Region~4,Enumerate~30]
attr:[LeftMargin LeftMargin Inch 32768]}
\define{programexample
menu:[Region~4,ProgramExample~13]
attr:[LeftMargin LeftMargin Inch 32768]
attr:[Justification LeftJustified Point 0]
attr:[FontFace FixedFace Int Set]
attr:[FontFamily AndyType Int 0]}
\define{excerptedcaption

attr:[LeftMargin LeftMargin Inch 32768]
attr:[RightMargin RightMargin Inch 32768]
attr:[FontFace Bold Int Set]
attr:[FontFace Italic Int Set]}
\define{notetotypesetter
menu:[Region~4,NoteToTypesetter~61]
attr:[Flags PassThru Int Set]}
\define{literal
menu:[Region~4,Literal~62]
attr:[Flags PassThru Int Set]}
In my original message on this subject I had made the observation that 
\italic{"enormous amounts of memory seem to be getting allocated and it seems 
very little of it is getting freed for reuse. In short there seems to be a 
very large memory leak somewhere in Help"}. I had based this on a set of 
experiments that showed that after all the dynamic objects needed for 
displaying a particular type of help document had been loaded, an inexplicably 
large amount of memory is getting allocated for each document that is 
displayed. In that example presented in that message the following documents 
were displayed in the order in which they appear in this list:

\begindata{table,3687088}
Document	Size	Help	Comment	 
 	of Doc.	Grows by	 	 
 	 	 	 	 
tour.help	'5.3k	'1.4M	Startup	 
console.help	'~19k	'128k	 	 
sh.1	'~41.5k	'816k	first troff doc	 
table.help	'56.4k	'132k	 	 
ness.help	'11k	'80k	 	 
ls.1	'7.7k	'160k	troff	 
ls.1	'7.7k	'140k	'!!!	 
console.help	'~19k	'48k	 	 
console.help	'~19k	'28k	 	 
 	 	 	 	 
\enddata{table,3687088}
\view{spread,3687088,0,0,0}
So in the process of displaying these few documents help grew by 1.5M from its 
startup size of ~1.4M. This was on a Sun 4/60 (Sparcstation 1) running Sun OS 
4.0.3c, Andrew and X11 compiled using Sun's C compiler. The workstation has 
12M SIMMS and 16M swap space, and is diskless. The server is a Sun 4/330.


Charles Hayden looked a little further into it and discovered the following 
(excerpt from his message to me):


\excerptedcaption{Excerpts from mail: 16-Mar-90 Re: Help and its memory usa.. 
C C Hayden@mtgzx.att.com (1411+0)}


\quotation{I monitored the mallocs with gdb.  I found that it rereads all the 
directories in the help search path every time, and does not properly 
deallocate them.  This is actually two bugs: reinitializing every time, which 
chews up time, and not properly freeint the space.  In my case, there were 11 
directories of 8K each, accounting for 88K on each query.

}
\quotation{In addition, if you select an item from the "programs" menu or type 
it in, it rereads it.  If you select it from the history, I don't think it 
does.  It is reading into buffers, which it does not free until it quits.  So 
each time you select the same things from "programs", you get another copy. 
 The space will consist of at least the file size, plus overhead for the gap, 
the style sheets and formatting information, etc.  Some of these data 
structures are allocated in fairly large chunks.

}
\quotation{Your measurements seem to indicate that there are some significant 
data structures allocated by the roff processing, that are not being 
deallocated.  I did not measure this.

}

I would like to bring this to the attention of ITC and seek their help in 
fixing this problem in Help. Help is a very popular program here, but 
unfortunately if the users do not quit out of it often they keep running out 
of swap space. I would like to know if this problem is peculiar to the Sparc 
platform or is this a general problem. In either case what would be the 
quickest way to start getting it fixed?


Thank you


\center{\bold{Jishnu Mukerji},  

\smaller{\italic{jis@mtgzx.att.com}, 

\italic{+1 201 957 5986},  }

\smaller{\italic{\smaller{\bold{AT&T Bell Laboratories}, 

MT 3K-423, 200 Laurel Ave., 

Middletown NJ 07748}}}

}\enddata{text,3302944}

\enddata{text822, 156072}
\begindata{text822, 161823}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/Ma1ZlK200Udd06tE9d>;
          Tue, 20 Mar 90 11:37:42 -0500 (EST)
Received: from andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q001/QF.sa1ZjOO00Ui3AB7U54>;
          Tue, 20 Mar 90 11:35:40 -0500 (EST)
Received: from issun3.stc.nl by andrew.cmu.edu (5.54/3.15) id <AA03353> for info-andrew; Tue, 20 Mar 90 11:35:12 EST
Received:  by issun3.stc.nl (4.0/25-eef)
	id AA01217; Tue, 20 Mar 90 16:17:41 +0100
Date: Tue, 20 Mar 90 16:17:41 +0100
From: Yanis Yeorgaroudakis <yy@issun3.stc.nl>
Message-Id: <9003201517.AA01217@issun3.stc.nl>
To: info-andrew@andrew.cmu.edu
Subject: ADEW, MOTIF menus, documentation, handling color rasters.
Cc: yy@issun3.stc.nl


I have resenly installed andrew/R4 on a SPARC station. It has generally
compiled ok, with rather minor problems. A great improvement since the
last version. One problem is that ADEW seems to be missing.  Could you
please inform me where can I get it from?

I want to order a copy of the documentation. I do have the address
where I can request it from but I need the cost in order to prepare a
purchase request form. Who can provide me with this cost?

I want to use color rasters with the raster editor. It seems that it is
not currently supported. Is this right? Is there any site that has done
work on this subject?

I am using the motif window manager. But I want to have the look and
feel of the motif menus. Is the cmenu the directory that I need to
modify? Shall I make any modifications in the menulist object? Has
anybody reported work on this subject?

With the previous version, I was used to the distribution list of all
messages to info and bug accounts. I have currently changed site. If
this e-mail list is still active, is it possible to add my address to
it please?

Best Regards,

Yannis Yeorgaroudakis
SHAPE Technical Centre.
\enddata{text822, 161823}
\begindata{text822, 164010}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/Ea1aH7G00UddQ7S09S>;
          Tue, 20 Mar 90 12:13:45 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q005/QF.Qa1aFOa00UkT4E=k5S>;
          Tue, 20 Mar 90 12:12:08 -0500 (EST)
If-Type-Unsupported: alter
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q004/QF.Qa1aCwa00UkTQE4U4n>;
          Tue, 20 Mar 90 12:09:21 -0500 (EST)
Received: from IBM.COM by po3.andrew.cmu.edu (5.54/3.15) id <AA04087> for info-andrew; Tue, 20 Mar 90 12:06:33 EST
Received: from rchland by IBM.COM (IBM VM SMTP R1.2.1MX) with BSMTP id 2085; Tue, 20 Mar 90 09:06:53 PST
Received: from po1.rchland.ibm.com by RCHGATE.rchland.ibm.com (IBM VM SMTP R1.2.1) with TCP; Tue, 20 Mar 90 10:45:52 CST
Received: by po1.rchland.ibm.com (5.51/4.7) id <AA07687> for info-andrew@andrew.cmu.edu; Tue, 20 Mar 90 10:49:30 CST
Received: via switchmail; Tue, 20 Mar 90 10:49:29 -0600 (CST)
Received: from chicago.rchland.ibm.com via qmail
          ID </afs/rchland.ibm.com/service/mailqs/q001/QF.4a1Zvto91E5gI0QU42>;
          Tue, 20 Mar 90 10:48:58 -0600 (CST)
Received: from chicago.rchland.ibm.com via qmail
          ID </afs/rchland.ibm.com/usr3/tinglett/.Outgoing/QF.oa1Zvlo91E5g00a1Ew>;
          Tue, 20 Mar 90 10:48:50 -0600 (CST)
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.chicago.rchland.ibm.com.rt.aix221
          via MS.5.6.chicago.rchland.ibm.com.rt_aix221;
          Tue, 20 Mar 90 10:48:49 -0600 (CST)
Message-Id: <Qa1Zvlg91E5g80a18i@rchland.ibm.com>
Date: Tue, 20 Mar 90 10:48:49 -0600 (CST)
From: Todd Inglett <tinglett+@rchland.ibm.com>
X-Andrew-Message-Size: 2029+0
Content-Type: X-BE2; 12
To: info-andrew@andrew.cmu.edu
Reply-To: <tinglett@ibm.com>
Subject: Re: Help and its memory usage behavior
In-Reply-To: <8a1H9Qj0_csm00tkcv@icase.edu>
References: <wa0KaC_753w7M0kUY_@gazelle.att.com>,
	<8a1H9Qj0_csm00tkcv@icase.edu>

\begindata{text,538748984}
\textdsversion{12}
\template{messages}
\excerptedcaption{Excerpts from ext.cmu.info-andrew: 19-Mar-90 Re: Help and
its memory usa.. Tom Crockett@RCHGATE.rch (1550+0)}


\quotation{I think there is another memory leak in Andrew as well.  Try the
following scenario:

}
\quotation{Sun 4/60, SunOS 4.0.3c

}\quotation{X11R4 + fixes 1-5 compiled w/ "cc -O"

}\quotation{Andrew + patches 001-003 compiled w/ "cc"

}
\quotation{(1)  Start \italic{Xsun }(via \italic{xinit} or whatever -- I use
\italic{xdmshell})

}\quotation{(2) Start \italic{console} with lots of dynamic stuff in it (load
graphs, etc.)

}\quotation{(3)  Use "pstat -T" to look at memory usage for the \italic{Xsun}
server

}\quotation{(4) Start \italic{xlock} and let it run for several hours

}\quotation{(5)  Look at "pstat -T" again.  The server has grown considerably.

}
This is interesting, because I have seen it as well on an RT running AIX and
BSD.  Ordinary screen blanking also causes the leak.  I have spent many hours
of my spare time to track it down and I am getting close, but I don't know the
server that well.  Perhaps someone at MIT would care to help?


The problem seems to be in the backing store code (mibstore.c).  If you run
your server with -bs (no backing store) you will find that it does not consume
memory.


I have tracked the leak down to line 3199 of mibstore.c:

\typewriter{\smaller{    if
(pWindowPriv->pBackingPixmap->drawable.serialNumber

    	!= pBackingGC->serialNumber)

    \{

	\bold{ValidateGC((DrawablePtr)pWindowPriv->pBackingPixmap, pBackingGC);}

    \}


}}The ValidateGC winds up calling miBSCheapValidateGC (seems odd) which in
turn calls the device specific validate (in my case apa16ValidateGC).  My
apa16ValidateGC calls miRegionCreate to create the clipping region for the GC.
 Each time this validate happens (on line 3199), this clipping region gets
reallocated and nobody seems to be getting rid of the old region.


I put in code to track all regions created by the server and found the same
clipping region (described above) allocated thousands of times!!  By the way,
the code in apa16ValidateGC is virtually identical to mfbValidateGC, so I
think there are many (perhaps all) servers with this problem.


Anyone out there ever work on the backing store code?


-todd inglett

\enddata{text,538748984}

\enddata{text822, 164010}
\begindata{text822, 168650}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/Ea1b9ZC00UkTAGDk9E>;
          Tue, 20 Mar 90 13:11:51 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q004/QF.8a1b4sC00UkT8G=U4P>;
          Tue, 20 Mar 90 13:07:05 -0500 (EST)
Received: from IBM.COM by po3.andrew.cmu.edu (5.54/3.15) id <AA03913>; Tue, 20 Mar 90 11:48:39 EST
Received: from rchland by IBM.COM (IBM VM SMTP R1.2.1MX) with BSMTP id 1809; Tue, 20 Mar 90 08:48:50 PST
Received: from po1.rchland.ibm.com by RCHGATE.rchland.ibm.com (IBM VM SMTP R1.2.1) with TCP; Tue, 20 Mar 90 10:30:28 CST
Received: by po1.rchland.ibm.com (5.51/4.7) id <AA07341> for info-andrew+@andrew.cmu.edu; Tue, 20 Mar 90 10:34:06 CST
Received: via switchmail; Tue, 20 Mar 90 10:34:06 -0600 (CST)
Received: from defiant.rchland.ibm.com via qmail
          ID </afs/rchland.ibm.com/service/mailqs/q000/QF.Ia1Zhgs91E4840Jkkm>;
          Tue, 20 Mar 90 10:33:49 -0600 (CST)
Received: from defiant.rchland.ibm.com via qmail
          ID </afs/rchland.ibm.com/usr1/oester/.Outgoing/QF.Ea1ZhbY91E4889Xb8m>;
          Tue, 20 Mar 90 10:33:43 -0600 (CST)
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.defiant.rchland.ibm.com.rt.r3
          via MS.5.6.defiant.rchland.ibm.com.rt_r3;
          Tue, 20 Mar 90 10:33:43 -0600 (CST)
Message-Id: <wa1ZhbM91E48M9Xb11@rchland.ibm.com>
Date: Tue, 20 Mar 90 10:33:43 -0600 (CST)
From: Bob Oesterlin <oester+@rchland.ibm.com>
To: info-andrew+@andrew.cmu.edu
Reply-To: <oester@ibm.com>
Subject: Memory leaks, etc

We're currently try to track down a core leak in Xibm, that seems to be
related to backing store. If you run Andrew  console , have backing
store enabled, and the screen blanks, the server will quickly grow to a
great size.

Console seems to be doing a large number of "set clipped region", and
for some reason this call will cause the server to grow when the window
blanks (or another window overlays the console window).

I'm not saying that it's ATK's fault, but what ever console is doing
certainly makes it worse. If we don't run console, the server stays
(about) the same size over long periods.

Bob

PS: My X server that I started yesterday was about 1 meg in size; now
it's close to 4 meg.

\enddata{text822, 168650}
\begindata{text822, 171211}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
X-Andrew-Authenticated-as: 91;andrew.cmu.edu;Tom Neuendorffer
Received: from dublin.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/8a1gxyu00Vt1M7Ck9l>;
          Tue, 20 Mar 90 19:49:03 -0500 (EST)
If-Type-Unsupported: alter
Received: from dublin.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/usr20/tpn/.Outgoing/QF.0a1gwg600Vt1E5aY1t>;
          Tue, 20 Mar 90 19:47:40 -0500 (EST)
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.dublin.andrew.cmu.edu.rt.r3
          via MS.5.6.dublin.andrew.cmu.edu.rt_r3;
          Tue, 20 Mar 90 19:47:39 -0500 (EST)
Message-ID: <ca1gwfe00Vt1Q5aXsE@andrew.cmu.edu>
Date: Tue, 20 Mar 90 19:47:39 -0500 (EST)
From: Tom Neuendorffer <tpn+@andrew.cmu.edu>
X-Andrew-Message-Size: 2159+1
Content-Type: X-BE2; 12
To: Info-Andrew <info-andrew+@andrew.cmu.edu>,
    Yanis Yeorgaroudakis <yy@issun3.stc.nl>
Subject: Re: ADEW, MOTIF menus, documentation, handling color rasters.
In-Reply-To: <9003201517.AA01217@issun3.stc.nl>
References: <9003201517.AA01217@issun3.stc.nl>

\begindata{text,270161596}
\textdsversion{12}
\template{messages}
\excerptedcaption{Excerpts from mail: 20-Mar-90 ADEW, MOTIF menus, document.. 
Yanis Yeorgaroudakis@iss (1146)}



\quotation{I have resenly installed andrew/R4 on a SPARC station. It has 
generally

}\quotation{compiled ok, with rather minor problems. A great improvement since 
the

}\quotation{last version. One problem is that ADEW seems to be missing.  Could 
you

}\quotation{please inform me where can I get it from?

}
Adew is summation of the value, lset, and  controllers directorys. It will all 
be made if you define MK_AUTHORING in your site.h file.


\quotation{I want to order a copy of the documentation. I do have the address

}\quotation{where I can request it from but I need the cost in order to 
prepare a

}\quotation{purchase request form. Who can provide me with this cost?

...

}\quotation{With the previous version, I was used to the distribution list of 
all

}\quotation{messages to info and bug accounts. I have currently changed site. 
If

}\quotation{this e-mail list is still active, is it possible to add my address 
to

}\quotation{it please?

}
Send mail to info-andrew-request@andrew.cmu.edu for information on 
documentation and to subscribe to the mailing-lists.


\quotation{I want to use color rasters with the raster editor. It seems that 
it is

}\quotation{not currently supported. Is this right? Is there any site that has 
done

}\quotation{work on this subject?


}Color rasters are not currently supported, though we are currently looking 
into expanding our underlieing color support to make them possible under ATK. 
If other sites are working on this problem, we would be interested in talking 
to them. 


\quotation{I am using the motif window manager. But I want to have the look 
and

}\quotation{feel of the motif menus. Is the cmenu the directory that I need to

}\quotation{modify? Shall I make any modifications in the menulist object? Has

}\quotation{anybody reported work on this subject?


}I am currently trying to find out more about some work that has been done in 
this area ( Alberto, are you out there?) . The whole issue of Motif 
look-and-feel involves more than just the menus. Again, other sites who are 
working in this area are invited to send me mail. Color and Motif 
look-and-feel are issues that I hope to see discussed at the upcoming ATK User 
Group meeting. 


	Tom Neuendorffer

	tpn@andrew.cmu.edu

	Andrew Toolkit Group

	Information Technology Center


.\
\begindata{fad,270453452}
$N icon12
$C 30
$T 30
$L andy25
$P 0,0,594,128
$F
$V 113,32 137,103
$V 113,32 182,11
$V 182,11 207,83
$V 207,83 137,103
$S 145,49
Carnegie
$S 147,74
Mellon
$V 176,213 176,213
$V 291,207 291,207
$V 212,222 212,222
$V 84,214 84,214
$V 142,161 142,161
$V 231,207 231,207
$V -1,-1 -1,-1
$V 113,270 113,270
$V 256,279 256,279
$V 202,316 202,316
$V 349,95 349,95
$A 23,19 -1,76
$F
$V 113,32 136,103
$V 113,32 182,11
$V 182,11 207,83
$V 207,83 136,103
$S 145,49
Carnegie
$S 147,74
Mellon
$V 176,213 176,213
$V 291,207 291,207
$V 212,222 212,222
$V 84,214 84,214
$V 142,161 142,161
$V 231,207 231,207
$V -1,-1 -1,-1
$V 113,270 113,270
$V 256,279 256,279
$V 202,316 202,316
$V 136,103 141,107
$V 207,83 207,83
$V 207,83 212,86
$V 182,11 187,16
$V 141,107 212,86
$V 187,16 212,86
$F
$V 125,34 162,108
$V 125,34 215,6
$V 215,6 252,78
$V 252,78 162,108
$S 145,49
Carnegie
$S 147,74
Mellon
$V 176,213 176,213
$V 291,207 291,207
$V 212,222 212,222
$V 84,214 84,214
$V 142,161 142,161
$V 231,207 231,207
$V -1,-1 -1,-1
$V 113,270 113,270
$V 256,279 256,279
$V 202,316 202,316
$V 162,108 189,133
$V 252,78 252,78
$V 252,78 273,105
$V 215,6 249,49
$V 189,133 273,105
$V 249,49 273,105
$F
$V 223,12 202,79
$V 223,12 323,18
$V 323,18 317,93
$V 317,93 202,79
$S 225,43
Carnegie
$S 221,70
Mellon
$V 176,213 176,213
$V 291,207 291,207
$V 212,222 212,222
$V 84,214 84,214
$V 142,161 142,161
$V 231,207 231,207
$V -1,-1 -1,-1
$V 113,270 113,270
$V 256,279 256,279
$V 202,316 202,316
$V 202,79 165,113
$V 317,93 317,93
$V 317,93 276,136
$V 323,18 343,99
$V 165,113 276,136
$V 343,99 276,136
$A 25,20 -1,76
$$
\enddata{fad,270453452}
\view{fadview,270453452,2,423,187}


\leftindent{\leftindent{\bold{
}}}\enddata{text,270161596}

\enddata{text822, 171211}
\begindata{text822, 176713}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/4a1ptda00jZd83Uk8D>;
          Wed, 21 Mar 90 05:58:50 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q000/QF.sa1prPK00UkT49TU40>;
          Wed, 21 Mar 90 05:56:37 -0500 (EST)
Received: from thumper.bellcore.com by po3.andrew.cmu.edu (5.54/3.15) id <AA04826>; Tue, 20 Mar 90 13:24:34 EST
Received: by thumper.bellcore.com (5.54/4.7)
	id AA20058; Tue, 20 Mar 90 13:24:11 EST
Received: by greenbush.bellcore.com (4.12/4.7)
	id AA10597; Tue, 20 Mar 90 13:24:22 est
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.greenbush.mouseclub.sun4.40
          via MS.5.6.greenbush.mouseclub.sun4_40;
          Tue, 20 Mar 90 13:24:20 -0500 (EST)
Message-Id: <sa1bJI60M2YtEc71BB@thumper.bellcore.com>
Date: Tue, 20 Mar 90 13:24:20 -0500 (EST)
From: Nathaniel Borenstein <nsb@thumper.bellcore.com>
To: Info-Andrew-Bugs <info-andrew-bugs+@andrew.cmu.edu>
Subject: Re: Help and its memory usage behavior
Cc: wjh+@andrew.cmu.edu, info-andrew+@andrew.cmu.edu
In-Reply-To: <0a1Z=ja753w7E0eogH@gazelle.att.com>
References: <0a1Z=ja753w7E0eogH@gazelle.att.com>

Clearly the business with the directory search path is simply a bug,
which should be fixed.

The matter of the buffers is probably more disputable, so I wanted to
add my opinion:  Buffers make sense in ez, where users often know about
buffer-oriented operations.  They make very little sense in help.  I'm
not convinced there's any reason to use buffers at all in help, and I'm
highly skeptical that the buffers should be preserved once they're no
longer visible.  (Conceivably you might want a heuristic, so that the
longer troff-derived help files, such as "csh", would be preserved in a
buffer so that you didn't have to run rofftext on them twice.  But
mostly, it is so quick to read in a new help file that it is silly to
waste the memory by keeping it around.)

Finally, I want to draw to the attention of everyone concerned that
there is a wonderful tool  included in Andrew for digging out core
leaks.  This is the "plumber" function, included with Andrew's malloc
(and therefore available only if you've compiled with ANDREW_MALLOC_ENV
defined).    If you've got this defined, the text object will add some
bindings (^X^@t and ^X^@m) that will, respectively, write to a file or
print on the printer a lot of information about what has been malloced
so far, including the address of the routine that made the malloc calls.
 You can scan through this list for the big offenders (especially for
the leaks by comparing consecutive malloc dumps) and then use a debugger
to find out what procedure corresponds to the offending hex address (in
gdb, type "br *0xhex-addr" and it will tell you the name of the routine
if the appropriate symbol table has been loaded).  In the past, I've
found this an invaluable tool for digging out core leaks, so I thought I
should mention it on this list.
\enddata{text822, 176713}
\begindata{text822, 179976}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
X-Andrew-Authenticated-as: 13;andrew.cmu.edu;Fred Hansen
Received: from bangor.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/ca1t65m00VsPE3=08x>;
          Wed, 21 Mar 90 09:36:54 -0500 (EST)
Received: from bangor.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/usr13/wjh/.Outgoing/QF.Aa1t56O00VsPI3914J>;
          Wed, 21 Mar 90 09:35:50 -0500 (EST)
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.bangor.andrew.cmu.edu.rt.r3
          via MS.5.6.bangor.andrew.cmu.edu.rt_r3;
          Wed, 21 Mar 90 09:35:50 -0500 (EST)
Message-ID: <ga1t56_00VsP4390wh@andrew.cmu.edu>
Date: Wed, 21 Mar 90 09:35:50 -0500 (EST)
From: Fred Hansen <wjh+@andrew.cmu.edu>
X-Andrew-Message-Size: 620+0
Content-Type: X-BE2; 12
If-Type-Unsupported: alter
To: Info-Andrew-Bugs <info-andrew-bugs+@andrew.cmu.edu>
Subject: Re: Help and its memory usage behavior
CC: Info-Andrew <info-andrew+@andrew.cmu.edu>
In-Reply-To: <sa1bJI60M2YtEc71BB@thumper.bellcore.com>
References: <0a1Z=ja753w7E0eogH@gazelle.att.com>,
	<sa1bJI60M2YtEc71BB@thumper.bellcore.com>

\begindata{text,270530140}
\textdsversion{12}
\template{messages}
\excerptedcaption{Excerpts from mail: 20-Mar-90 Re: Help and its memory usa.. 
Nathaniel Borenstein@thu (1792)}


\quotation{This is the "plumber" function, included with Andrew's malloc 
}\quotation{(and therefore available only if you've compiled with 
ANDREW_MALLOC_ENV }\quotation{defined).

}
ANDREW_MALLOC_ENV is defined in the distributed ATK system in the file 
.../src/andrew/config/allsys.h.  To get the plumber your 
.../src/andrew/config/site.h file must include


#define DEBUG_MALLOC_ENV 1


To get the new malloc in most applications, the only directories that would 
need to be recompiled would be .../andrew/overhead/malloc and 
.../andrew/atk/apps.  (I think.)


FredH

\enddata{text,270530140}

\enddata{text822, 179976}
\begindata{text822, 182049}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/Ua1taHW00UddQ63E96>;
          Wed, 21 Mar 90 10:11:19 -0500 (EST)
Received: from po2.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q004/QF.0a1tXDi00jZdQ:iU4Y>;
          Wed, 21 Mar 90 10:08:04 -0500 (EST)
Received: from munnari.oz.au by po2.andrew.cmu.edu (5.54/3.15) id <AA02737> for info-andrew; Wed, 21 Mar 90 10:07:15 EST
Received: from otc.otca.oz (via metro) by munnari.oz.au with SunIII (5.61+IDA+MU)
	id AA09832; Thu, 22 Mar 1990 01:06:53 +1000
	(from grahamd@otc.otca.oz.au for info-andrew@andrew.cmu.edu)
Received: (via otc) by otc (5.61)
	id AA23792; Wed, 21 Mar 90 15:01:16 +1000
	(from grahamd@otc.otca.oz for info-andrew%andrew.cmu.edu@munnari.cs.mu.oz)
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.griffin.otca.oz.au.sun3.4
          via MS.5.6.griffin.otca.oz.au.sun3_4;
          Wed, 21 Mar 90 15:03:39 +1000 (EST)
Message-Id: <Aa1kgfe6bk8n47gkg1@otc.otca.oz>
Date: Wed, 21 Mar 90 15:03:39 +1000 (EST)
From: Graham Dumpleton <grahamd@otc.otca.oz.au>
To: info-andrew@andrew.cmu.edu
Subject: Lists in Andrew

A while back I asked if anyone had a inset for producing various types
of lists; eg bullet, dashed, enumerated etc, I more or less got a
negative response except for a suggestion to look at chlist/chlistv as a
starting point.

Well I have finally got around to looking at creating one and have come
to the conclusion that I would rather not do it as an inset but would
rather have it appear as a style. This got me to looking at styles,
stylesheets and template files however I found that the documentation
did not tell me enough to work out if I could actually do what I want.
The problem was that not enough was mentioned about what actually
happens when you set various things for the device, context and attr
fields of a style defintion. I was able to find out what all the strings
which I could supply were by looking at the src for stlye.c but I have
no idea what rules  there are for the way in which they are combined,
and when combined what they do. Is there anyone out there who can
enlighten me??

What I would like to be able to achieve is to implement a bullet list by
treating each item by itself; ie. type all the text for a single item,
select it and then make the style a listitem. Doing this would indent it
like a 'leftindent'; maybe not as far though, and if possible even stick
in a bullet although this wouldn't be absolutely necessary, when
printing though the bullet would definitely have to come out. Is this to
complicated for styles and stylesheets, do I have to do it as an inset
after all.

Graham Dumpleton (grahamd@otc.otca.oz.au)
\enddata{text822, 182049}
\begindata{text822, 185040}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/wa1tonS00UkTIEPE8x>;
          Wed, 21 Mar 90 10:26:46 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q003/QF.Ma1tmAC00UkT8EO05t>;
          Wed, 21 Mar 90 10:23:59 -0500 (EST)
Received: from sparc01.icase.edu ([192.42.142.50]) by po3.andrew.cmu.edu (5.54/3.15) id <AA04187> for info-andrew; Wed, 21 Mar 90 10:22:41 EST
Received: by sparc01.icase.edu (4.0/SMI-DDN)
	id AA02068; Wed, 21 Mar 90 10:18:22 EST
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.sparc01.ICASE.sun4.40
          via MS.5.6.sparc01.ICASE.sun4_40;
          Wed, 21 Mar 90 10:18:19 -0500 (EST)
Message-Id: <Ea1tgvz0_csmA7s25w@icase.edu>
Date: Wed, 21 Mar 90 10:18:19 -0500 (EST)
From: Tom Crockett <tom@icase.edu>
X-Andrew-Message-Size: 1151+0
Content-Type: X-BE2; 12
If-Type-Unsupported: alter
To: info-andrew@andrew.cmu.edu
Subject: Re: Memory leaks, etc
In-Reply-To: <wa1ZhbM91E48M9Xb11@rchland.ibm.com>
References: <wa1ZhbM91E48M9Xb11@rchland.ibm.com>

\begindata{text,3118464}
\textdsversion{12}
\template{messages}
\excerptedcaption{Excerpts from info-andrew: 20-Mar-90 Memory leaks, etc Bob 
Oesterlin@rchland.ib (701)}


\quotation{We're currently try to track down a core leak in Xibm, that seems 
to be

}\quotation{related to backing store. If you run Andrew  console , have 
backing

}\quotation{store enabled, and the screen blanks, the server will quickly grow 
to a

}\quotation{great size.


}	...


\quotation{If we don't run console, the server stays

}\quotation{(about) the same size over long periods.

}
This is the same problem I have been having with \italic{Xsun} and 
\italic{xlock}\italic{.}  I just got the following messages from Bob Scheifler 
at MIT this morning.  I tried it out, and it seems to work just fine on our 
Sun 3's and 4's.  No more leaks.  There will be an official patch coming out 
for this at some point.



\excerptedcaption{Excerpts from mail: 20-Mar-90 Re: server leak under xlock 
Bob Scheifler@expo.lcs.m (160)}


\quotation{Try removing all of the code in the body of mfbCopyGC, cfbCopyGC,

}\quotation{apa16CopyGC, rebuild your server, see if it still works, and see 
if

}\quotation{the memory leak is gone.

}
\excerptedcaption{Excerpts from mail: 21-Mar-90 Re: server leak under xlock 
Bob Scheifler@expo.lcs.m (185)}


\quotation{CopyGC was repeating work already done by CopyClip, resulting a 
region

}\quotation{being discarded rather than freed.

}
-Tom\
\enddata{text,3118464}

\enddata{text822, 185040}
\begindata{text822, 187883}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/Aa1u05G00UkTAExk8F>;
          Wed, 21 Mar 90 10:38:48 -0500 (EST)
Received: from po2.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q004/QF.Aa1tviO00jZdM=hE5o>;
          Wed, 21 Mar 90 10:34:14 -0500 (EST)
Received: from munnari.oz.au by po2.andrew.cmu.edu (5.54/3.15) id <AA02730>; Wed, 21 Mar 90 10:06:47 EST
Received: from otc.otca.oz (via metro) by munnari.oz.au with SunIII (5.61+IDA+MU)
	id AA09826; Thu, 22 Mar 1990 01:06:11 +1000
	(from grahamd@otc.otca.oz.au for info-andrew@andrew.cmu.edu)
Received: (via otc) by otc (5.61)
	id AA23144; Wed, 21 Mar 90 14:35:39 +1000
	(from grahamd@otc.otca.oz for info-andrew%andrew.cmu.edu@munnari.cs.mu.oz)
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.griffin.otca.oz.au.sun3.4
          via MS.5.6.griffin.otca.oz.au.sun3_4;
          Wed, 21 Mar 90 14:38:00 +1000 (EST)
Message-Id: <8a1kIcG6bk8n07gkId@otc.otca.oz>
Date: Wed, 21 Mar 90 14:38:00 +1000 (EST)
From: Graham Dumpleton <grahamd@otc.otca.oz.au>
To: info-andrew@andrew.cmu.edu
Subject: Index files for .do objects.

This mail is mainly addressed to whoever at CMU looks after this aspect
of Andrew, however it may be of general interest.

For a number of projects we carry out here, ADEW applications have been
created to interface into various bits of hardware. Now when someone
creates one of these they generally mail it around to everyone and say
something like "Hey guys get a load of this" with the idea of everyone
trying it and see what they think. Well we have come up with one problem
with this.

Most of those actively using Andrew here will often sit inside messages
all day, now because all the index files are only checked once; when the
program is run, if someone sends around mail which references a new
object messages will not find it as it only bothers to check its in
memory tables for what objects are available. This means that messages
must be exited and rerun to get the new object.

Is there any problems with having the code for finding and linking in
new objects reread any index files which have changed since it last read
them, in the event of an object not being found.

Would someone at CMU like to comment.

Graham Dumpleton (grahamd@otc.otca.oz.au)
\enddata{text822, 187883}
\begindata{text822, 190475}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/sa1yQcm00jZdIMBU8E>;
          Wed, 21 Mar 90 15:42:22 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q000/QF.0a1yNlC00UkT0Qfk4:>;
          Wed, 21 Mar 90 15:39:22 -0500 (EST)
If-Type-Unsupported: alter
Received: from po5.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q000/QF.Ia1yJvq00UddMBnU4h>;
          Wed, 21 Mar 90 15:35:13 -0500 (EST)
Received: from andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/sq1/QF.ka1w0Si00Ui3I4OVRw>;
          Wed, 21 Mar 90 12:55:51 -0500 (EST)
Received: from po2.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q003/QF.Ua1vyna00jZdAFGU46>;
          Wed, 21 Mar 90 12:54:16 -0500 (EST)
Received: from att-in.att.com by po2.andrew.cmu.edu (5.54/3.15) id <AA04417> for wjh+; Wed, 21 Mar 90 12:52:58 EST
Received: from mtgz046 by mtgzfs3.att.com (4.1/SMI-4.0)
	id AA16497; Wed, 21 Mar 90 12:35:48 EST
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.mtgz046.gazelle.att.com.sun3.4
          via MS.5.6.mtgz046.gazelle.att.com.sun4_40;
          Wed, 21 Mar 90 12:35:54 -0500 (EST)
Message-Id: <sa1vhuG753w7A23vZI@gazelle.att.com>
Date: Wed, 21 Mar 90 12:35:54 -0500 (EST)
From: J Mukerji <jis@mtgzx.att.com>
X-Andrew-Message-Size: 1265+0
Content-Type: X-BE2; 12
To: Info-Andrew-Bugs <info-andrew-bugs+@andrew.cmu.edu>,
        Nathaniel Borenstein <nsb@thumper.bellcore.com>,
        info-andrew+@andrew.cmu.edu
Subject: Re: Help and its memory usage behavior
Cc: wjh+@andrew.cmu.edu
In-Reply-To: <sa1bJI60M2YtEc71BB@thumper.bellcore.com>
References: <0a1Z=ja753w7E0eogH@gazelle.att.com>,
	<sa1bJI60M2YtEc71BB@thumper.bellcore.com>

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

attr:[FontSize ConstantFontSize Point 12]}
\define{itemize
menu:[Region~4,Itemize~31]
attr:[LeftMargin LeftMargin Inch 32768]}
\define{enumerate
menu:[Region~4,Enumerate~30]
attr:[LeftMargin LeftMargin Inch 32768]}
\define{programexample
menu:[Region~4,ProgramExample~13]
attr:[LeftMargin LeftMargin Inch 32768]
attr:[Justification LeftJustified Point 0]
attr:[FontFace FixedFace Int Set]
attr:[FontFamily AndyType Int 0]}
\define{excerptedcaption

attr:[LeftMargin LeftMargin Inch 32768]
attr:[RightMargin RightMargin Inch 32768]
attr:[FontFace Bold Int Set]
attr:[FontFace Italic Int Set]}
\define{notetotypesetter
menu:[Region~4,NoteToTypesetter~61]
attr:[Flags PassThru Int Set]}
\define{literal
menu:[Region~4,Literal~62]
attr:[Flags PassThru Int Set]}
\excerptedcaption{Excerpts from info-andrew: 20-Mar-90 Re: Help and its memory 
usa.. Nathaniel Borenstein@thu (1793)}


\quotation{ I'm} \quotation{not convinced there's any reason to use buffers at 
all in help, and I'm} \quotation{highly skeptical that the buffers should be 
preserved once they're no} \quotation{longer visible.  (Conceivably you might 
want a heuristic, so that the

}\quotation{longer troff-derived help files, such as "csh", would be preserved 
in a

}\quotation{buffer so that you didn't have to run rofftext on them twice.  But

}\quotation{mostly, it is so quick to read in a new help file that it is silly 
to

}\quotation{waste the memory by keeping it around.)

}
Buffer or no buffer, \italic{Help} at present proceeds to run \italic{troff} 
on the same file over and over anyway. I think even if it is decided to 
continue to use buffers for some documents like 'csh' for caching as suggested 
by Nathaniel,  \italic{a way must be provided to get rid of that document to 
release memory without getting out of Help altogether}. When one has been in 
\italic{Help} for a while there is much \italic{state information} that is 
stored in the panels that one would rather not lose, simply to get rid of some 
memory hog document that one happened to have stumbled upon at some point.


\center{\bold{Jishnu Mukerji},  

\smaller{\italic{jis@mtgzx.att.com}, 

\italic{+1 201 957 5986},  }

\smaller{\italic{\smaller{\bold{AT&T Bell Laboratories}, 

MT 3K-423, 200 Laurel Ave., 

Middletown NJ 07748}}}

}\enddata{text,3368848}

\enddata{text822, 190475}
\begindata{text822, 194942}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
X-Andrew-Authenticated-as: 1447;andrew.cmu.edu;Gary Keim
Received: from fallscreek.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/0a1yV=u00VsWQ10k9y>;
          Wed, 21 Mar 90 15:47:08 -0500 (EST)
Received: from fallscreek.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/usr13/gk5g/.Outgoing/QF.ka1yUW200VsW00hVdD>;
          Wed, 21 Mar 90 15:46:26 -0500 (EST)
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.fallscreek.andrew.cmu.edu.rt.r3
          via MS.5.6.fallscreek.andrew.cmu.edu.rt_r3;
          Wed, 21 Mar 90 15:46:25 -0500 (EST)
Message-ID: <Aa1yUVq00VsWQ0hVV8@andrew.cmu.edu>
Date: Wed, 21 Mar 90 15:46:25 -0500 (EST)
From: Gary Keim <gk5g+@andrew.cmu.edu>
X-Andrew-Message-Size: 572+0
Content-Type: X-BE2; 12
If-Type-Unsupported: alter
To: Info-Andrew-Bugs <info-andrew-bugs+@andrew.cmu.edu>,
    Nathaniel Borenstein <nsb@thumper.bellcore.com>,
    Info-Andrew <info-andrew+@andrew.cmu.edu>
Subject: Re: Help and its memory usage behavior
CC: Fred Hansen <wjh+@andrew.cmu.edu>
In-Reply-To: <sa1vhuG753w7A23vZI@gazelle.att.com>
References: <0a1Z=ja753w7E0eogH@gazelle.att.com>,
	<sa1bJI60M2YtEc71BB@thumper.bellcore.com>,
	<sa1vhuG753w7A23vZI@gazelle.att.com>

\begindata{text,270228540}
\textdsversion{12}
\template{messages}
\excerptedcaption{Excerpts from misc: 21-Mar-90 Re: Help and its memory usa.. 
J Mukerji@mtgzx.att.com (1265+0)}


\quotation{I think even if it is decided to continue to use buffers for some 
documents like 'csh' for caching as suggested by Nathaniel,  \italic{a way 
must be provided to get rid of that document to release memory without getting 
out of Help altogether}. 

}
Andy Palay has found many substantial core-leaks wrt help and is in the 
process of patching them.  Stay tuned for a much leaner Help application.


Gary Keim

ATK Group


PS - help doesn't use buffers and the path lookups aren't unreasonable.

\enddata{text,270228540}

\enddata{text822, 194942}
\begindata{text822, 197092}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
X-Andrew-Authenticated-as: 91;andrew.cmu.edu;Tom Neuendorffer
Received: from dublin.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/wa209yO00Vt18::E8C>;
          Wed, 21 Mar 90 17:38:55 -0500 (EST)
Received: from dublin.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/usr20/tpn/.Outgoing/QF.ga206na00Vt1M9NWoF>;
          Wed, 21 Mar 90 17:35:32 -0500 (EST)
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.dublin.andrew.cmu.edu.rt.r3
          via MS.5.6.dublin.andrew.cmu.edu.rt_r3;
          Wed, 21 Mar 90 17:35:31 -0500 (EST)
Message-ID: <oa206nG00Vt1I9NWgo@andrew.cmu.edu>
Date: Wed, 21 Mar 90 17:35:31 -0500 (EST)
From: Tom Neuendorffer <tpn+@andrew.cmu.edu>
X-Andrew-Message-Size: 421+0
Content-Type: X-BE2; 12
If-Type-Unsupported: alter
To: Info-Andrew <info-andrew+@andrew.cmu.edu>,
    Graham Dumpleton <grahamd@otc.otca.oz.au>
Subject: Re: Index files for .do objects.
In-Reply-To: <8a1kIcG6bk8n07gkId@otc.otca.oz>
References: <8a1kIcG6bk8n07gkId@otc.otca.oz>

\begindata{text,270217672}
\textdsversion{12}
\template{messages}


	I just looked over the class code, and , baring unforeseen problems, I expect 
to get a patch out with the next set of patches that will have class 
dynamically check for new objects in the classpath if an unknown object is 
requested. This won't deal with the harder problem of bringing in a new 
version of an existing object, but it should fix the problem you described.


	Tom Neuendorffer

	Manager ATK group

	ITC / CMU

\enddata{text,270217672}

\enddata{text822, 197092}
\begindata{text822, 198845}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/oa20nMC00Ui34XFU8v>;
          Wed, 21 Mar 90 18:23:05 -0500 (EST)
Received: from po2.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q007/QF.Qa20lsG00jZdATkk5z>;
          Wed, 21 Mar 90 18:21:33 -0500 (EST)
Received: from cheops.cis.ohio-state.edu by po2.andrew.cmu.edu (5.54/3.15) id <AA07820>; Wed, 21 Mar 90 17:57:06 EST
Received: from oboe.cis.ohio-state.edu by cheops.cis.ohio-state.edu (5.61-kk/5.900319)
	id AA02620; Wed, 21 Mar 90 17:56:36 -0500
Received: by oboe.cis.ohio-state.edu (5.61-kk/5.900319)
	id AA12457; Wed, 21 Mar 90 17:57:47 -0500
From: timothy_hansell@cis.ohio-state.edu
Message-Id: <9003212257.AA12457@oboe.cis.ohio-state.edu>
Subject: DITROFF
To: info-andrew@andrew.cmu.edu
Date: Wed, 21 Mar 90 17:57:43 EDT
Organization: Department of Redundancy Department
Department: Department of Redundancy Department
Snail-Mail-Address: P.O. Box 687. South Charleston, Ohio 45368
X-Mailer: ELM [version 2.2 PL0]

I know that this has been bandied about this group before,...

BUT...

I need a good public-domain ditroff since we apparently don't have one
here. Any clues ?

-- 
Tim Hansell
hansell@cis.ohio-state.edu
P.O. Box 687 South Charleston, Ohio, 45268
\enddata{text822, 198845}
\begindata{text822, 200403}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/0a28Eji00Ui3EmC08b>;
          Thu, 22 Mar 90 02:52:16 -0500 (EST)
Received: from po2.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q006/QF.0a28D1600jZd8mkk5M>;
          Thu, 22 Mar 90 02:50:35 -0500 (EST)
Received: from po5.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/sq2/QF.Ma25ylq00UddQ1Pm0B>;
          Thu, 22 Mar 90 00:16:40 -0500 (EST)
Received: from po2.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q005/QF.ka25yZi00jZd0hfE55>;
          Thu, 22 Mar 90 00:16:33 -0500 (EST)
Received: from ATHENA.MIT.EDU by po2.andrew.cmu.edu (5.54/3.15) id <AA11686> for info-andrew+; Thu, 22 Mar 90 00:15:55 EST
Received: from LAKOTA.MIT.EDU by ATHENA.MIT.EDU with SMTP
	id AA14295; Thu, 22 Mar 90 00:15:20 EST
Received: by lakota.MIT.EDU (5.61/4.7) id AA12578; Thu, 22 Mar 90 00:15:15 -0500
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.lakota.vax.43
          via MS.5.6.lakota.vax_43;
          Thu, 22 Mar 90 00:15:12 -0500 (EST)
Message-Id: <Ma25xUcGG02=MjUK9m@athena.mit.edu>
Date: Thu, 22 Mar 90 00:15:12 -0500 (EST)
From: Bill Cattey <wdc@ATHENA.MIT.EDU>
To: Info-Andrew <info-andrew+@andrew.cmu.edu>, tinglett@ibm.com
Subject: Fixes for X server memory leaks.
In-Reply-To: <Qa1Zvlg91E5g80a18i@rchland.ibm.com>
References: <wa0KaC_753w7M0kUY_@gazelle.att.com>,
	<8a1H9Qj0_csm00tkcv@icase.edu>,
	<Qa1Zvlg91E5g80a18i@rchland.ibm.com>

Forgive this large posting to the whole group, but having been in the
position of debugging X servers, I appreciate the need to WIDELY
publicise bug fixes.

Todd:  Your work in finding the leak has not been wasted!  I showed your
message around to my friends here and they saw this on the fix-trackers
mailing list and forwarded it to me.

Lookey lookey!  A whole slew of memory leaks plugged in the server.

Share and enjoy,

-wdc

Received: by E40-PO.MIT.EDU (5.45/4.7) id AA10886; Wed, 21 Mar 90 23:09:23 EST
Received: from ACHATES.MIT.EDU by ATHENA.MIT.EDU with SMTP
	id AA13225; Wed, 21 Mar 90 23:09:20 EST
Received: by ACHATES.MIT.EDU (5.61) id AA00828; Wed, 21 Mar 90 23:03:35 -0500
Message-Id: <9003220403.AA00828@ACHATES.MIT.EDU>
To: wdc@ATHENA.MIT.EDU
Subject: (seq: 775) close XBUG #2765:  server memory leak
Date: Wed, 21 Mar 90 23:03:34 EST
From: John Carr <jfc@ATHENA.MIT.EDU>


[0684]  daemon@ATHENA.MIT.EDU X11R4_Server_Development 03/21/90 10:34 (318 lines)
Subject: (seq: 775) close XBUG #2765:  server memory leak
To: fix-trackers@expo.lcs.mit.edu
Date: Wed, 21 Mar 90 10:30:37 -0500
From: rws@expo.lcs.mit.edu (Bob Scheifler)

### bug number:   2765
### area:         server
### severity:     medium high
### comments:     

Files:	server/ddx/mfb/mfbgc.c
	server/ddx/cfb/cfbgc.c
	server/ddx/apollo/apc/apcgc.c
	server/ddx/dec/qdss/qdgc.c
	server/ddx/ibm/aed/aedGC.c
	server/ddx/ibm/apa16/apa16GC.c

*** /tmp/,RCSt1a03549	Wed Mar 21 10:20:49 1990
--- server/ddx/mfb/mfbgc.c	Tue Mar 20 14:49:16 1990
***************
*** 21,27 ****
  SOFTWARE.
  
  ******************************************************************/
! /* $XConsortium: mfbgc.c,v 5.18 89/11/29 19:53:27 rws Exp $ */
  #include "X.h"
  #include "Xmd.h"
  #include "Xproto.h"
--- 21,27 ----
  SOFTWARE.
  
  ******************************************************************/
! /* $XConsortium: mfbgc.c,v 5.19 90/03/20 14:48:59 rws Exp $ */
  #include "X.h"
  #include "Xmd.h"
  #include "Xproto.h"
***************
*** 420,441 ****
      Mask 	changes;
      GCPtr	pGCDst;
  {
!     RegionPtr		pClip;
! 
!     if(changes & GCClipMask)
!     {
! 	if(pGCDst->clientClipType == CT_PIXMAP)
! 	{
! 	    ((PixmapPtr)pGCDst->clientClip)->refcnt++;
! 	}
! 	else if(pGCDst->clientClipType == CT_REGION)
! 	{
! 	    pClip = (RegionPtr) pGCDst->clientClip;
! 	    pGCDst->clientClip =
! 	        (pointer)(* pGCDst->pScreen->RegionCreate)(NULL, 1);
! 	    (* pGCDst->pScreen->RegionCopy)(pGCDst->clientClip, pClip);
! 	}
!     }
  }
  
  void
--- 420,426 ----
      Mask 	changes;
      GCPtr	pGCDst;
  {
!     return;
  }
  
  void

*** /tmp/,RCSt1a03563	Wed Mar 21 10:21:35 1990
--- server/ddx/cfb/cfbgc.c	Wed Mar 21 10:21:38 1990
***************
*** 22,28 ****
  
  ******************************************************************/
  
! /* $XConsortium: cfbgc.c,v 5.32 89/11/29 19:53:03 rws Exp $ */
  
  #include "X.h"
  #include "Xmd.h"
--- 22,28 ----
  
  ******************************************************************/
  
! /* $XConsortium: cfbgc.c,v 5.32.1.1 90/03/21 10:16:47 rws Exp $ */
  
  #include "X.h"
  #include "Xmd.h"
***************
*** 798,824 ****
      Mask 	changes;
      GCPtr	pGCDst;
  {
!     RegionPtr		pClip;
! 
!     if(changes & GCClipMask)
!     {
! 	if(pGCDst->clientClipType == CT_PIXMAP)
! 	{
! 	    ((PixmapPtr)pGCDst->clientClip)->refcnt++;
! 	}
! 	else if(pGCDst->clientClipType == CT_REGION)
! 	{
! 	    BoxRec pixbounds;
! 
! 	    pixbounds.x1 = 0;
! 	    pixbounds.y1 = 0;
! 	    pixbounds.x2 = 0;
! 	    pixbounds.y2 = 0;
! 
! 	    pClip = (RegionPtr) pGCDst->clientClip;
! 	    pGCDst->clientClip =
! 	        (pointer)(* pGCDst->pScreen->RegionCreate)(&pixbounds, 1);
! 	    (* pGCDst->pScreen->RegionCopy)(pGCDst->clientClip, pClip);
! 	}
!     }
  }
--- 798,802 ----
      Mask 	changes;
      GCPtr	pGCDst;
  {
!     return;
  }

*** /tmp/,RCSt1a03579	Wed Mar 21 10:23:04 1990
--- server/ddx/apollo/apc/apcgc.c	Wed Mar 21 09:59:01 1990
***************
*** 25,31 ****
  University of California.
  ******************************************************************/
  
! /* $XConsortium: apcgc.c,v 1.3 90/02/22 10:43:29 rws Exp $ */
  
  #include "apc.h"
  #include "Xmd.h"
--- 25,31 ----
  University of California.
  ******************************************************************/
  
! /* $XConsortium: apcgc.c,v 1.4 90/03/21 09:58:39 rws Exp $ */
  
  #include "apc.h"
  #include "Xmd.h"
***************
*** 132,138 ****
  
  /*
   * apcCopyGC -- DDX interface (GC "funcs")
!  *      Copy client clip info when copying a GC.
   */
  static void
  apcCopyGC (pGCSrc, changes, pGCDst)
--- 132,138 ----
  
  /*
   * apcCopyGC -- DDX interface (GC "funcs")
!  *	Nothing to do.
   */
  static void
  apcCopyGC (pGCSrc, changes, pGCDst)
***************
*** 140,160 ****
      Mask    changes;
      GCPtr   pGCDst;
  {
-     RegionPtr   pClip;
- 
-     if (changes & GCClipMask)
-     {
-         if (pGCDst->clientClipType == CT_PIXMAP)
-         {
-             ((PixmapPtr)pGCDst->clientClip)->refcnt++;
-         }
-         else if (pGCDst->clientClipType == CT_REGION)
-         {
-             pClip = (RegionPtr) pGCDst->clientClip;
-             pGCDst->clientClip = (pointer)(* pGCDst->pScreen->RegionCreate)(NULL, 1);
-             (* pGCDst->pScreen->RegionCopy)(pGCDst->clientClip, pClip);
-         }
-     }
  }
  
  /*
--- 140,145 ----

*** /tmp/,RCSt1a03598	Wed Mar 21 10:24:21 1990
--- server/ddx/dec/qdss/qdgc.c	Wed Mar 21 10:03:20 1990
***************
*** 358,375 ****
      int                 maskQ;
      GCPtr		pgcSrc;
  {
! #ifdef X11R4
!     if (maskQ & GCClipMask) {
! 	if (pgcDst->clientClipType == CT_PIXMAP)
! 	    ((PixmapPtr)pgcDst->clientClip)->refcnt++;
! 	else if (pgcDst->clientClipType == CT_REGION) {
! 	    RegionPtr pClip = (RegionPtr) pgcDst->clientClip;
! 	    pgcDst->clientClip =
! 		(pointer)(* pgcDst->pScreen->RegionCreate)(NULL, 1);
! 	    (* pgcDst->pScreen->RegionCopy)(pgcDst->clientClip, pClip);
! 	}
!     }
! #else
      RegionPtr		pregionsrc = (RegionPtr) pgcSrc->clientClip;
  
      if ( ! (maskQ & GCClipMask)
--- 358,364 ----
      int                 maskQ;
      GCPtr		pgcSrc;
  {
! #ifndef X11R4
      RegionPtr		pregionsrc = (RegionPtr) pgcSrc->clientClip;
  
      if ( ! (maskQ & GCClipMask)

*** /tmp/,RCSt1a03602	Wed Nov 29 16:33:34 1989
--- server/ddx/ibm/aed/aedGC.c	Wed Mar 21 09:55:11 1990
***************
*** 43,49 ****
  SOFTWARE.
  
  ******************************************************************/
! /* $Header: /afs/testers.athena.mit.edu/src/x11r4/src/mit/server/ddx/ibm/aed/RCS/aedGC.c,v 1.3 89/11/29 16:26:40 jfc Exp Locker: jfc $ */
  #include "X.h"
  #include "Xproto.h"
  #include "Xmd.h"
--- 43,49 ----
  SOFTWARE.
  
  ******************************************************************/
! /* $XConsortium: aedGC.c,v 1.4 90/03/21 09:54:58 rws Exp $ */
  #include "X.h"
  #include "Xproto.h"
  #include "Xmd.h"
***************
*** 267,288 ****
      Mask 	changes;
      GCPtr	pGCDst;
  {
!     RegionPtr		pClip;
! 
!     if(changes & GCClipMask)
!     {
! 	if(pGCDst->clientClipType == CT_PIXMAP)
! 	{
! 	    ((PixmapPtr)pGCDst->clientClip)->refcnt++;
! 	}
! 	else if(pGCDst->clientClipType == CT_REGION)
! 	{
! 	    pClip = (RegionPtr) pGCDst->clientClip;
! 	    pGCDst->clientClip =
! 	        (pointer)(* pGCDst->pScreen->RegionCreate)(NULL, 1);
! 	    (* pGCDst->pScreen->RegionCopy)(pGCDst->clientClip, pClip);
! 	}
!     }
  }
  
  struct commonOps {
--- 267,273 ----
      Mask 	changes;
      GCPtr	pGCDst;
  {
!     return;
  }
  
  struct commonOps {

*** /tmp/,RCSt1a03623	Wed Mar 21 10:26:47 1990
--- server/ddx/ibm/apa16/apa16GC.c	Wed Mar 21 09:50:35 1990
***************
*** 66,72 ****
  SOFTWARE.
  
  ******************************************************************/
! /* $XConsortium: apa16GC.c,v 1.2 90/03/05 13:53:33 swick Exp $ */
  #include "X.h"
  #include "Xmd.h"
  #include "Xproto.h"
--- 66,72 ----
  SOFTWARE.
  
  ******************************************************************/
! /* $XConsortium: apa16GC.c,v 1.3 90/03/21 09:50:21 rws Exp $ */
  #include "X.h"
  #include "Xmd.h"
  #include "Xproto.h"
***************
*** 411,432 ****
      Mask 	changes;
      GCPtr	pGCDst;
  {
!     RegionPtr		pClip;
! 
!     if(changes & GCClipMask)
!     {
! 	if(pGCDst->clientClipType == CT_PIXMAP)
! 	{
! 	    ((PixmapPtr)pGCDst->clientClip)->refcnt++;
! 	}
! 	else if(pGCDst->clientClipType == CT_REGION)
! 	{
! 	    pClip = (RegionPtr) pGCDst->clientClip;
! 	    pGCDst->clientClip =
! 	        (pointer)(* pGCDst->pScreen->RegionCreate)(NULL, 1);
! 	    (* pGCDst->pScreen->RegionCopy)(pGCDst->clientClip, pClip);
! 	}
!     }
  }
  
  static void
--- 411,417 ----
      Mask 	changes;
      GCPtr	pGCDst;
  {
!     return;
  }
  
  static void
--[0684]--
\enddata{text822, 200403}
\begindata{text822, 210989}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/ka2E93S00Udd08wU8F>;
          Thu, 22 Mar 90 11:50:12 -0500 (EST)
Received: from andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q002/QF.8a2E5We00Ui3IEhU4O>;
          Thu, 22 Mar 90 11:46:29 -0500 (EST)
Received: from RELAY.CS.NET by andrew.cmu.edu (5.54/3.15) id <AA04273> for info-andrew+; Thu, 22 Mar 90 11:46:09 EST
Received: from oliveb.atc.olivetti.com by RELAY.CS.NET id aa29158;
          22 Mar 90 10:45 EST
Received: by oliveb.ATC.Olivetti.Com (5.51/smail2.5/12-18-87)
	id AA28411; Thu, 22 Mar 90 08:45:39 PST
Return-Path: <vaccari@fattori>
Received: by iconet.ICO.OLIVETTI.COM (5.51/ICO-1.0)
	id AA05526; Thu, 22 Mar 90 17:44:11 GMT
Received: by fattori.ICO.OLIVETTI.com (3.2/SMI-3.2)
	id AA01452; Thu, 22 Mar 90 16:18:18 +0100
Date: Thu, 22 Mar 90 16:18:18 +0100
From: Vaccari Alberto <vaccari@fattori>
Message-Id: <9003221518.AA01452@fattori.ICO.OLIVETTI.com>
To: info-andrew+@ANDREW.CMU.EDU
Subject: ATK or not ATK ?

Hello,
I'm sending this mail to have some points of view about the future evolution
of Andrew from its users.
First of all I would like to shortly present the ATK-based activities
caried out inside the Olivetti research laboratory of Pisa in the last years :
    
    * we have used the ATK editors inside a big research project
      (called MULTOS and partially founded by EEC) concerning with the
      document handling (acquisition, storage  and retrieval);

    * we have developed a class browser which allows to navigate the 
      ATK class hierarchy and to define or update classs (using the
      ATK versione released in X11.3);

    * we have rehosted the Andrew environment on an Olivetti system
      (LSX) running a Unix V extended with socket library;

    * we have developed an hypermedia help system on this Olivetti 
      system using ATK;

    * we have extended the MOTIF widget set defining a new widget
      (ATK-Widget) inside which all ATK editors can run;

    * we have updated the  ATK look and feel for Menus, Scroolbars
      and Dialog boxes to emulate the MOTIF Look and Feel.

I have some material about the above activities; please contact me if you
interested to have more information.

At the moment we are involved mainly in integrating audio and video
in our X-based user interface platform and to enhance this platform
toward a hypermedia environment.
In doing this we are considering the opportunity to leave Andrew and to
use more standard building blocks.
This is because we don't know if, when and how Andrew will become
an industrial standard or which is the exact position of Andrew as far
as emerging standards are concerned.
Moreover I would like to know, from ATK people, if the problem of
the compatibility of Andrew and "rest-of-the-world" applications
has ben been faced and solved.
I have to underline that this decision is not so simple or lacking of
risks.
I hope to be able to partecipate to the next ATK user group meeting.
I would appreciate any comment, news or suggestion.

   Alberto

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Alberto Vaccari                   | Tel : +39 50 543462 / 541901
Olivetti S&N D.O.R.               | Fax : +39 50 589042
Advanced Software Laboratory      | email : vaccari@oliveb.olivetti.com
via Palestro 30
56100 Pisa - Italy
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
\enddata{text822, 210989}
\begindata{text822, 214736}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/Ea2FqG600Ui3EJ108G>;
          Thu, 22 Mar 90 13:46:42 -0500 (EST)
Received: from po2.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q005/QF.Qa2FnTa00jZd8Itk4:>;
          Thu, 22 Mar 90 13:43:51 -0500 (EST)
Message-ID: <Added.Qa2FnNO00jZdAItU8=@andrew.cmu.edu>
Received: from research.att.com (inet.att.com) by po2.andrew.cmu.edu (5.54/3.15) id <AA05345> for info-andrew; Thu, 22 Mar 90 13:43:07 EST
Received: by research; Thu Mar 22 13:42:36 1990
Date: Thu, 22 Mar 90 13:42:25 EST
From: bill@allegra.tempo.nj.att.com (Bill Schell)
To: info-andrew@andrew.cmu.edu
Subject: help needed with arb/createcon (ADEW) problem

Hi there. Perhaps someone could help me out with a problem I'm having
using tree/treev objects with arb and createcon?  I can get trees
to display themselves using the procedure laid out in the first
chapter of Nathanial Borenstein's book, but can't get more than a blank
window when I try to do it using the code generated by createcon.

Here's what I do:

1) I fire up arb and create a new window with an lset object in it
2) I pick 'Add Object' from the Arbcon menu and type 'tree treev'
	to get a tree-treev inset which I paste into the lset object.
	I save everything.
3) I run createcon to get the files infuse.ch and infuse.c.
4) I edit infuse.c and after the call to FindSelf()
	in the infuse_go function, I add a call to the following routine:

draw_tree(self)
  struct infuse *self;
{	
	struct tree_node *node;

	self->tree = tree_New();
	self->treeView = treev_New();
	treev_SetDataObject(self->treeView, self->tree);
	node = tree_CreateRootNode(self->tree, "Root Node", 0);
	tree_CreateChildNode(self->tree, "Child 1", 1, node);
	tree_CreateChildNode(self->tree, "Child 2", 2, node);
}

However, after compiling and running this code, all I get is a blank window.
I know this code makes a proper tree, because if I put:
	{ struct im *im = im_Create(NULL); im_SetView(im, self->treeView); }
at the end, I get a second window with the tree in it. 

Can someone give me a clue as to what I'm doing wrong here and how to
set up proper view tree?  This is the first Andrew based application
I've written.  I'd like to use arb/createcon for my application instead of
writing the glue code myself, as the eventual user interface will have tree
views, text views, button views, etc. in it and is likely to change
fairly often in the beginning.

Thanks,
	Bill Schell
	AT&T Bell Labs, Murray Hill, NJ
	bill@allegra.att.com or allegra!bill
\enddata{text822, 214736}
\begindata{text822, 217580}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
X-Andrew-Authenticated-as: 1447;andrew.cmu.edu;Gary Keim
Received: from fallscreek.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/ga2GBlW00VsWM46U99>;
          Thu, 22 Mar 90 14:11:46 -0500 (EST)
Received: from fallscreek.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/usr13/gk5g/.Outgoing/QF.8a2GB=:00VsW00hYsv>;
          Thu, 22 Mar 90 14:11:08 -0500 (EST)
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.fallscreek.andrew.cmu.edu.rt.r3
          via MS.5.6.fallscreek.andrew.cmu.edu.rt_r3;
          Thu, 22 Mar 90 14:11:06 -0500 (EST)
Message-ID: <Qa2GB_y00VsWQ0hYkr@andrew.cmu.edu>
Date: Thu, 22 Mar 90 14:11:06 -0500 (EST)
From: Gary Keim <gk5g+@andrew.cmu.edu>
X-Andrew-Message-Size: 1020+0
Content-Type: X-BE2; 12
If-Type-Unsupported: alter
To: Info-Andrew <info-andrew+@andrew.cmu.edu>
Subject: Re: help needed with arb/createcon (ADEW) problem
In-Reply-To: <Added.Qa2FnNO00jZdAItU8=@andrew.cmu.edu>
References: <Added.Qa2FnNO00jZdAItU8=@andrew.cmu.edu>

\begindata{text,270228540}
\textdsversion{12}
\template{messages}
\excerptedcaption{Excerpts from misc: 22-Mar-90 help needed with arb/create.. 
Bill Schell@allegra.temp (1841)}


\quotation{However, after compiling and running this code, all I get is a 
blank window.

}\quotation{I know this code makes a proper tree, because if I put:

}\quotation{	\{ struct im *im = im_Create(NULL); im_SetView(im, 
self->treeView); \}

}\quotation{at the end, I get a second window with the tree in it. 

}

You've created the tree/treev correctly.  You've created the nodes correctly. 
 Then you must link the treev into the viewTree.  Use LinkTree to attach it to 
its parent view:


	treev_LinkTree(self->treeView,	 self /*?*/);


This version of the code should work:


\smaller{draw_tree(self)

  struct infuse *self;

\{	

	struct tree_node *node;


	self->tree = tree_New();

	self->treeView = treev_New();

	treev_SetDataObject(self->treeView, self->tree);

	node = tree_CreateRootNode(self->tree, "Root Node", 0);

	tree_CreateChildNode(self->tree, "Child 1", 1, node);

	tree_CreateChildNode(self->tree, "Child 2", 2, node);

\bold{	treev_LinkTree(self->treeView,self ) ;

}\}

}
Gary Keim

ATK Group

\enddata{text,270228540}

\enddata{text822, 217580}
\begindata{text822, 220033}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
X-Andrew-Authenticated-as: 13;andrew.cmu.edu;Fred Hansen
Received: from bangor.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/Ma2HODG00VsP8CEk99>;
          Thu, 22 Mar 90 15:33:19 -0500 (EST)
If-Type-Unsupported: alter
Received: from bangor.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/usr13/wjh/.Outgoing/QF.Ya2HNUy00VsP0BBktR>;
          Thu, 22 Mar 90 15:32:33 -0500 (EST)
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.bangor.andrew.cmu.edu.rt.r3
          via MS.5.6.bangor.andrew.cmu.edu.rt_r3;
          Thu, 22 Mar 90 15:32:32 -0500 (EST)
Message-ID: <Ma2HNUW00VsPABBkkV@andrew.cmu.edu>
Date: Thu, 22 Mar 90 15:32:32 -0500 (EST)
From: Fred Hansen <wjh+@andrew.cmu.edu>
X-Andrew-Message-Size: 967+0
Content-Type: X-BE2; 12
To: Info-Andrew <info-andrew+@andrew.cmu.edu>,
    Graham Dumpleton <grahamd@otc.otca.oz.au>
Subject: Re: Index files for .do objects.
In-Reply-To: <8a1kIcG6bk8n07gkId@otc.otca.oz>
References: <8a1kIcG6bk8n07gkId@otc.otca.oz>

\begindata{text,271008584}
\textdsversion{12}
\template{messages}
\excerptedcaption{Excerpts from internet.info-andrew: 21-Mar-90 Index files 
for .do objects. Graham Dumpleton@otc.otc (1166)}


\quotation{ Now when someone

}\quotation{creates one of these they generally mail it around to everyone and 
say

}\quotation{something like "Hey guys get a load of this" with the idea of 
everyone

}\quotation{trying it and see what they think. Well we have come up with one 
problem

}\quotation{with this.

}
\quotation{Most of those actively using Andrew here will often sit inside 
messages

}\quotation{all day, now because all the index files are only checked once; 

}
The problem is you are using C code which requires additions to the files 
accessible via the CLASSPATH.  This is a big problem if you want to mail you 
insets to anywhere offsite.


Try writing the code for the inset in Ness.  Then you can mail the inset 
anywhere and it will still work.  See .../andrew/doc/atk/ness/*


If there are problems with using Ness for your tasks, I would be delighted to 
hear about them so they can be fixed in future patches or releases.


Fred Hansen\
\enddata{text,271008584}

\enddata{text822, 220033}
\begindata{text822, 222438}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
X-Andrew-Authenticated-as: 13;andrew.cmu.edu;Fred Hansen
Received: from bangor.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/ca2HTDe00VsPQCPU8a>;
          Thu, 22 Mar 90 15:38:40 -0500 (EST)
Received: from bangor.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/usr13/wjh/.Outgoing/QF.4a2HSsS00VsPEBBlJk>;
          Thu, 22 Mar 90 15:38:16 -0500 (EST)
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.bangor.andrew.cmu.edu.rt.r3
          via MS.5.6.bangor.andrew.cmu.edu.rt_r3;
          Thu, 22 Mar 90 15:38:16 -0500 (EST)
Message-ID: <Ea2HSsG00VsP0BBlBS@andrew.cmu.edu>
Date: Thu, 22 Mar 90 15:38:16 -0500 (EST)
From: Fred Hansen <wjh+@andrew.cmu.edu>
X-Andrew-Message-Size: 84+0
Content-Type: X-BE2; 12
If-Type-Unsupported: alter
To: Info-Andrew <info-andrew+@andrew.cmu.edu>
Subject: Re: help needed with arb/createcon (ADEW) problem
In-Reply-To: <Added.Qa2FnNO00jZdAItU8=@andrew.cmu.edu>
References: <Added.Qa2FnNO00jZdAItU8=@andrew.cmu.edu>

\begindata{text,271008584}
\textdsversion{12}
\template{messages}
Try using createinset.  The documentation has been updated in patch002


Fred Hansen

\enddata{text,271008584}

\enddata{text822, 222438}
\begindata{text822, 223824}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
X-Andrew-Authenticated-as: 91;andrew.cmu.edu;Tom Neuendorffer
Received: from dublin.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/Ya2JEau00Vt1Q=yU8g>;
          Thu, 22 Mar 90 17:39:35 -0500 (EST)
Received: from dublin.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/usr20/tpn/.Outgoing/QF.0a2JDFC00Vt18:omA7>;
          Thu, 22 Mar 90 17:38:09 -0500 (EST)
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.dublin.andrew.cmu.edu.rt.r3
          via MS.5.6.dublin.andrew.cmu.edu.rt_r3;
          Thu, 22 Mar 90 17:38:08 -0500 (EST)
Message-ID: <oa2JDEu00Vt10_om4i@andrew.cmu.edu>
Date: Thu, 22 Mar 90 17:38:08 -0500 (EST)
From: Tom Neuendorffer <tpn+@andrew.cmu.edu>
X-Andrew-Message-Size: 734+0
Content-Type: X-BE2; 12
If-Type-Unsupported: alter
To: Info-Andrew <info-andrew+@andrew.cmu.edu>,
    bill@allegra.tempo.nj.att.com (Bill Schell)
Subject: Re: help needed with arb/createcon (ADEW) problem
In-Reply-To: <Added.Qa2FnNO00jZdAItU8=@andrew.cmu.edu>
References: <Added.Qa2FnNO00jZdAItU8=@andrew.cmu.edu>

\begindata{text,270153032}
\textdsversion{12}
\template{messages}
The real problem here it that you are creating a new tree inset,  which is not 
the same as the one that already exists as part of your Adew file.  With Adew, 
all of your objects are already created for you. Thus your routine should look 
like the following.


draw_tree(self)

  struct testtree *self;

\{	

	struct tree_node *node;

	/* create the nodes */

	node = tree_CreateRootNode(self->tree, "Root Node", 0);

	tree_CreateChildNode(self->tree, "Child 1", 1, node);

	tree_CreateChildNode(self->tree, "Child 2", 2, node);

	/* Notify the tree of the creation */

	tree_SetNotificationNode(self->tree,node);

	tree_SetNotificationCode(self->tree,tree_NodeCreated);

	/* Tell the tree to update itself */

	tree_NotifyObservers(self->tree,0);

\}

\enddata{text,270153032}

\enddata{text822, 223824}
\begindata{text822, 225938}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/0a2NZ6G00UddEIYU9Q>;
          Thu, 22 Mar 90 22:34:31 -0500 (EST)
Received: from po2.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q002/QF.Ea2NVUi00jZdQbwE4k>;
          Thu, 22 Mar 90 22:30:46 -0500 (EST)
Received: from ucbvax.Berkeley.EDU by po2.andrew.cmu.edu (5.54/3.15) id <AA10217> for info-andrew; Thu, 22 Mar 90 22:29:52 EST
Received: by ucbvax.Berkeley.EDU (5.61/1.41)
	id AA11106; Thu, 22 Mar 90 19:15:29 -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: 22 Mar 90 19:57:50 GMT
From: convex!convex.com!datri@uunet.uu.net  (Anthony A. Datri)
Organization: Convex Computer Corp, Richardson, TX
Subject: specifying geometries?
Message-Id: <100799@convex.convex.com>
Sender: info-andrew-request@andrew.cmu.edu
To: info-andrew@andrew.cmu.edu


I've managed to get messages (from the X11R4 tape) to use a startup
geometry with

Messages.geometry: 530x315-0+0

in my preferences file, but haven't had any success in getting the
message-sending window to use a different geometry.  Any ideas?
\enddata{text822, 225938}
\begindata{text822, 227463}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
X-Andrew-Authenticated-as: 602;andrew.cmu.edu;Adam Stoller
Received: from fishtank.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/Ua2Vrau00as9QP4U9v>;
          Fri, 23 Mar 90 08:00:23 -0500 (EST)
Received: from fishtank.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/usr21/ghoti/.Outgoing/QF.Ia2VqAe00as9MP30hq>;
          Fri, 23 Mar 90 07:58:54 -0500 (EST)
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.fishtank.andrew.cmu.edu.sun3.35
          via MS.5.6.fishtank.andrew.cmu.edu.sun3_35;
          Fri, 23 Mar 90 07:58:52 -0500 (EST)
Message-ID: <Ma2VqA600as9AP30Z8@andrew.cmu.edu>
Date: Fri, 23 Mar 90 07:58:52 -0500 (EST)
From: Adam Stoller <ghoti+@andrew.cmu.edu>
X-Andrew-Message-Size: 819+0
Content-Type: X-BE2; 12
If-Type-Unsupported: alter
To: Info-Andrew <info-andrew+@andrew.cmu.edu>
Subject: Re: specifying geometries?
In-Reply-To: <100799@convex.convex.com>
References: <100799@convex.convex.com>

\begindata{text,2595144}
\textdsversion{12}
\template{messages}
\excerptedcaption{Excerpts from internet.info-andrew: 22-Mar-90 specifying 
geometries? Anthony A. Datri@uunet.u (247)}



\quotation{I've managed to get messages (from the X11R4 tape) to use a startup

}\quotation{geometry with

}
\quotation{Messages.geometry: 530x315-0+0

}
\quotation{in my preferences file, but haven't had any success in getting the

}\quotation{message-sending window to use a different geometry.  Any ideas?

}
This is what I use in my preferences (I tend to use the -w flag with Messages)

----------------

# for sendmessage (seperate process)

sendmessage.geometry: 600x710-5-5


# for composition window from messages

messages-send.geometry: 435x580+580-5


# for messages without '-w' flag

messages.geometry: 600x700+5+5


# for messages with the '-w' flag

messages-folders.geometry: 420x150+5+5

messages-captions.geometry: 580x150-5+5

messages-bodies.geometry: 565x580+5-5


--fish

\enddata{text,2595144}

\enddata{text822, 227463}
\begindata{text822, 229644}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/Ya2WQwC00Udd05XE8v>;
          Fri, 23 Mar 90 08:40:13 -0500 (EST)
Received: from po5.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q002/QF.ka2WOea00Udd85WE5B>;
          Fri, 23 Mar 90 08:37:47 -0500 (EST)
Received: from po5.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/sq1/QF.wa2Vsom00Udd429U8=>;
          Fri, 23 Mar 90 08:01:41 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q001/QF.Ia2VrZK00UkTE8kU4i>;
          Fri, 23 Mar 90 08:00:28 -0500 (EST)
Received: from sparc01.icase.edu ([192.42.142.50]) by po3.andrew.cmu.edu (5.54/3.15) id <AA02236> for info-andrew; Fri, 23 Mar 90 07:59:32 EST
Received: by sparc01.icase.edu (4.0/SMI-DDN)
	id AA03640; Fri, 23 Mar 90 07:55:21 EST
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.sparc01.ICASE.sun4.40
          via MS.5.6.sparc01.ICASE.sun4_40;
          Fri, 23 Mar 90 07:55:19 -0500 (EST)
Message-Id: <ka2Vmrj0_csm4C9lpA@icase.edu>
Date: Fri, 23 Mar 90 07:55:19 -0500 (EST)
From: Tom Crockett <tom@icase.edu>
X-Andrew-Message-Size: 755+0
Content-Type: X-BE2; 12
If-Type-Unsupported: alter
To: info-andrew@andrew.cmu.edu
Subject: Re: specifying geometries?
In-Reply-To: <100799@convex.convex.com>
References: <100799@convex.convex.com>

\begindata{text,3134032}
\textdsversion{12}
\template{messages}
\excerptedcaption{Excerpts from info-andrew: 22-Mar-90 specifying geometries? 
Anthony A. Datri@uunet.u (248)}


\quotation{I've managed to get messages (from the X11R4 tape) to use a startup

}\quotation{geometry with

}
\quotation{Messages.geometry: 530x315-0+0

}
\quotation{in my preferences file, but haven't had any success in getting the

}\quotation{message-sending window to use a different geometry.  Any ideas?

}

I use the following in my preferences file:


\example{messages.geometry:		950x715+0-0

messages-send.geometry:	500x500

sendmessage.geometry:	500x500

}

\italic{Tom Crockett}


\smaller{\bold{ICASE}

Institute for Computer Applications in Science and Engineering


\smaller{M.S. 132C				e-mail:  tom@icase.edu

NASA Langley Research Center		phone:  (804) 864-2182

Hampton,  VA  23665-5225

} 
\smaller{ }}\smaller{ } 
                                                                       

\enddata{text,3134032}

\enddata{text822, 229644}
\begindata{text822, 232329}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/Ia2z97q00UddQAt09I>;
          Sat, 24 Mar 90 17:18:48 -0500 (EST)
Received: from po2.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q002/QF.0a2z5XC00jZdM8QU5R>;
          Sat, 24 Mar 90 17:15:01 -0500 (EST)
Received: from ucbvax.Berkeley.EDU by po2.andrew.cmu.edu (5.54/3.15) id <AA02155> for info-andrew; Sat, 24 Mar 90 17:14:38 EST
Received: by ucbvax.Berkeley.EDU (5.61/1.41)
	id AA02211; Sat, 24 Mar 90 14:11:15 -0800
Received: from USENET by ucbvax.Berkeley.EDU with netnews
	for info-andrew@andrew.cmu.edu (info-andrew@andrew.cmu.edu)
	(contact usenet@ucbvax.Berkeley.EDU if you have questions)
Date: 24 Mar 90 22:02:11 GMT
From: zaphod.mps.ohio-state.edu!samsung!emory!km@tut.cis.ohio-state.edu  (Ken Mandelberg)
Organization: Math & Computer Science, Emory University, Atlanta, GA
Subject: AMS frontend for PCs and Macs?
Message-Id: <5192@emory.mathcs.emory.edu>
Sender: info-andrew-request@andrew.cmu.edu
To: info-andrew@andrew.cmu.edu

What is the current status of frontends for PCs and Macs?
Can either handle graphics, or is it still ascii only?
-- 
Ken Mandelberg      | km@mathcs.emory.edu          PREFERRED
Emory University    | {decvax,gatech}!emory!km     UUCP 
Dept of Math and CS | km@emory.bitnet              NON-DOMAIN BITNET  
Atlanta, GA 30322   | Phone: (404) 727-7963
\enddata{text822, 232329}
\begindata{text822, 234013}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/ga317Ly00UkTAGQ08E>;
          Sat, 24 Mar 90 19:33:28 -0500 (EST)
Received: from po2.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q004/QF.oa315Sy00jZd0AE049>;
          Sat, 24 Mar 90 19:31:32 -0500 (EST)
Received: from ucbvax.Berkeley.EDU by po2.andrew.cmu.edu (5.54/3.15) id <AA03123> for info-andrew; Sat, 24 Mar 90 19:30:38 EST
Received: by ucbvax.Berkeley.EDU (5.61/1.41)
	id AA09102; Sat, 24 Mar 90 16:24:34 -0800
Received: from USENET by ucbvax.Berkeley.EDU with netnews
	for info-andrew@andrew.cmu.edu (info-andrew@andrew.cmu.edu)
	(contact usenet@ucbvax.Berkeley.EDU if you have questions)
Date: 24 Mar 90 23:31:59 GMT
From: auspex!guy@uunet.uu.net  (Guy Harris)
Organization: Auspex Systems, Santa Clara
Subject: Searching procs in ATK (was Re: tags inset)
Message-Id: <3079@auspex.auspex.com>
References: <MZzuXSe1eVVaElnWE3@northstar.dartmouth.edu>
Sender: info-andrew-request@andrew.cmu.edu
To: info-andrew@andrew.cmu.edu

>I am using EZ with ctext and tags.  I'm really glad EZ has the tags
>feature - it is a very useful feature in an editor.  However, the tags
>stuff is not implemented completely right:  when I do a Find Tag, it
>finds the wrong tag.

The problem is that "ctags" thinks that only "vi" will be using its tag
files, and that ATK doesn't include a search operation appropriate to
"ctags".

The patterns in a "tags" file are odd because:

	1) most of the magic characters in regular expressions aren't
	   magic in tags files (e.g., "*", "(", "[" aren't magic);

	2) however, "^" and "$" *are* magic.

Ideally, the way to make tags work right in ATK would be to have a "tags
pattern compiler" that didn't treat any of the magic characters as
magic, but that did recognize "^" and "$".  Unfortunately, ATK doesn't
handle "^" or "$", which is a bit of a nuisance; my inclination would be
to define "^" as matching either the beginning of a buffer or matching,
in effect, '\n', and have "$" match '\n' as well.  This means "^" and
"$" don't represent the beginning or end of *displayed* lines, but I
suspect they'd match what most people'd want them to match....

I've gotten somewhat used to Unipress EMACS's notion of searching,
wherein you have separate "search for string" and "search for something
matching a regular expression" operations (as opposed to the model of
having a "magic" mode, which when set causes searches to be searches for
REs and when clear causes them to be searches for strings).  I'm
inclined to modify ATK to have both "compile string" and "compile
regular expression" operators, and perhaps add a "compile tags pattern"
operator as well.

>If you want another minor nuance of tags, here it is:
>
>o  The subroutine name is not case sensative.

Another annoyance with ATK's search operators - there's no way to say
"no, thank you, I don't *want* searches to be case-insensitive".
\enddata{text822, 234013}
\begindata{text822, 237239}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/ka33VbC00Udd4Eyk9G>;
          Sat, 24 Mar 90 22:18:00 -0500 (EST)
Received: from po2.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q002/QF.Ya33T5K00jZd8E5E5H>;
          Sat, 24 Mar 90 22:15:21 -0500 (EST)
Received: from ucbvax.Berkeley.EDU by po2.andrew.cmu.edu (5.54/3.15) id <AA04108> for info-andrew; Sat, 24 Mar 90 22:14:35 EST
Received: by ucbvax.Berkeley.EDU (5.61/1.41)
	id AA16501; Sat, 24 Mar 90 19:02:43 -0800
Received: from USENET by ucbvax.Berkeley.EDU with netnews
	for info-andrew@andrew.cmu.edu (info-andrew@andrew.cmu.edu)
	(contact usenet@ucbvax.Berkeley.EDU if you have questions)
Date: 24 Mar 90 16:24:26 GMT
From: convex!datri@uunet.uu.net  (Anthony A. Datri)
Organization: Convex Computer Corporation; Richardson, TX
Subject: Re: specifying geometries?
Message-Id: <100832@convex.convex.com>
References: <100799@convex.convex.com>, <ka2Vmrj0_csm4C9lpA@icase.edu>
Sender: info-andrew-request@andrew.cmu.edu
To: info-andrew@andrew.cmu.edu

Works great now.  I swear I already tried that, though....
\enddata{text822, 237239}
\begindata{text822, 238647}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/ga3HM0S00Udd4=HU94>;
          Sun, 25 Mar 90 16:20:01 -0500 (EST)
Received: from po2.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q002/QF.Ua3HJB600jZd8GUk5r>;
          Sun, 25 Mar 90 16:17:08 -0500 (EST)
Received: from ucbvax.Berkeley.EDU by po2.andrew.cmu.edu (5.54/3.15) id <AA04714> for info-andrew; Sun, 25 Mar 90 16:15:35 EST
Received: by ucbvax.Berkeley.EDU (5.61/1.41)
	id AA07429; Sun, 25 Mar 90 13:13:06 -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 Mar 90 19:46:53 GMT
From: cs.columbia.edu!division.cs.columbia.edu!scottn@columbia.edu  (Scott Novack)
Organization: Columbia University CS Department
Subject: color in Andrew, etc...
Message-Id: <1990Mar25.194653.22023@cs.columbia.edu>
Sender: info-andrew-request@andrew.cmu.edu
To: info-andrew@andrew.cmu.edu

Is there any way to use color or gray scales in Andrew?  Everything I've
seen up to now has been in black and white, and uses stipple patterns for
shades of gray.  I'm running on an IBM PS/2 with AIX.

And another thing: are all Andrew-created windows opaque?  That is, if I
wanted to have a window with a drawing in it, and then I wanted to overlay
a text window for labels, would the second window obscure the first?  Is
there any way around this?
  ____
 /|\ |  Scott H. Novack	 (Captain Napalm)	| scottn@cs.columbia.edu
 \|_\|  "'Murdered by pirates' is good."	| Columbia U. CS Dept.
      \   --- Fred Savage in The Princess Bride	| New York, NY
\_____/ Disclaimer: Oh Lord, please don't let me be misunderstood.
\enddata{text822, 238647}
\begindata{text822, 240675}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/ga3RZGy00Udd8IdU9t>;
          Mon, 26 Mar 90 03:56:53 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q001/QF.Ua3RVHu00UkTMPy050>;
          Mon, 26 Mar 90 03:52:40 -0500 (EST)
Received: from utcrt2.utc.chalmers.se by po3.andrew.cmu.edu (5.54/3.15) id <AA07155> for info-andrew; Mon, 26 Mar 90 03:51:21 EST
Received: By utcrt2.utc.chalmers.se id AA06139; Mon, 26 Mar 90 10:50:13 +0200
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.utcrt2.rt.r3
          via MS.5.6.utcrt2.rt_r3;
          Mon, 26 Mar 90 10:50:12 +0200 (MET DST)
Message-Id: <ga3RT4W142MAELkHIO@utcrt2>
Date: Mon, 26 Mar 90 10:50:12 +0200 (MET DST)
From: Christer Bernerus <bernerus@utc.chalmers.se>
X-Andrew-Message-Size: 871+0
Content-Type: X-BE2; 12
If-Type-Unsupported: alter
To: info-andrew@andrew.cmu.edu
Subject: Signature in messages.
In-Reply-To: <1990Mar25.194653.22023@cs.columbia.edu>
References: <1990Mar25.194653.22023@cs.columbia.edu>

\begindata{text,270117588}
\textdsversion{12}
\template{messages}
Wouldn't it be nice to be able to see one's signature in the letter 
\bold{\bigger{before}} the letter is sent. As it is now, I run messages thru X 
on another machine at another department and if I send a letter it will, 
\italic{when I decide to send the letter,} let me see the signature it has 
appended and thereafter I cant do anything to stop it if the signature appears 
to be wrong.


 Other mailers also have this frustrating behaviour and I've often wondered 
why the signature always have been kept more or less invisible to the 
\italic{sender} of a letter. 


Is there a simple way to change this behaviour? If not I hereby submit a 
request a feature request.


Well, hope the signature is correct this time. Here we go.

Christer Bernerus (SM6FBQ)			! E-mail:

Univerity Technology Center for Andrew (UTC)	! bernerus@utc.chalmers.se

Chalmers University of Technology		

S-412 96 Gothenburg  SWEDEN					

\enddata{text,270117588}

\enddata{text822, 240675}
\begindata{text822, 243036}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/4a3TzIO00Ui3E3ZU8J>;
          Mon, 26 Mar 90 06:41:09 -0500 (EST)
Received: from andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q005/QF.oa3Txxu00Ui343X04j>;
          Mon, 26 Mar 90 06:39:43 -0500 (EST)
If-Type-Unsupported: alter
Received: from po2.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q005/QF.Qa3Tw:a00jZdQ5g04c>;
          Mon, 26 Mar 90 06:37:49 -0500 (EST)
Received: from munnari.oz.au by po2.andrew.cmu.edu (5.54/3.15) id <AA01449> for info-andrew; Mon, 26 Mar 90 06:37:01 EST
Received: from otc.otca.oz (via metro) by munnari.oz.au with SunIII (5.61+IDA+MU)
	id AA03897; Mon, 26 Mar 1990 15:42:30 +1000
	(from ronb@otc.otca.oz.au for info-andrew@andrew.cmu.edu)
Received: (via otc) by otc (5.61)
	id AA26452; Mon, 26 Mar 90 13:22:42 +1000
	(from ronb@otc.otca.oz for info-andrew%andrew.cmu.edu@munnari.cs.mu.oz)
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.harlot.otca.oz.au.sun3.4
          via MS.5.6.harlot.otca.oz.au.sun3_4;
          Mon, 26 Mar 90 13:25:19 +1000 (EST)
Message-Id: <Ya3MiT66bk8r80s0ht@otc.otca.oz>
Date: Mon, 26 Mar 90 13:25:19 +1000 (EST)
From: Ron Barrett <ronb@otc.otca.oz.au>
X-Andrew-Message-Size: 850+0
Content-Type: X-BE2; 12
To: info-andrew@andrew.cmu.edu
Subject: Deleting Individual Insets from an Arbiter

\begindata{text,1835224}
\textdsversion{12}
\template{messages}
The application I've made with arb consists of a two different insets, one to 
record an audio message and another to play it back. I've group these together 
in a single arbiter object so multiple record/play pairs can be included in a 
single document. Now what I want to do is to allow the user to delete the 
record inset so that his/her message will appear \italic{play only.


}This could be acheived if the two insets were not contained in an arbiter, 
all the user had to do was backspace over the record inset.  However 
backspacing over the \italic{arbitered insets} deletes the lot.


Is there any way around this?


Thanks

                Ron Barrett

                Network R&D

                |||| OTC ||

 

ACSnet: ronb@otc.oz        UUCP: \{uunet,mcvax\}!otc.oz!ronb

PHONE:  +61 2 287 4834     FAX: +61 2 287 4990

MAIL:   OTC, GPO Box 7000, Sydney 2001, Australia

\enddata{text,1835224}

\enddata{text822, 243036}
\begindata{text822, 245691}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
X-Andrew-Authenticated-as: 13;andrew.cmu.edu;Fred Hansen
Received: from bangor.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/ga3XPUG00VsP8xyk8Y>;
          Mon, 26 Mar 90 10:36:01 -0500 (EST)
If-Type-Unsupported: alter
Received: from bangor.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/usr13/wjh/.Outgoing/QF.ka3XOl200VsP0vL2Ro>;
          Mon, 26 Mar 90 10:35:13 -0500 (EST)
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.bangor.andrew.cmu.edu.rt.r3
          via MS.5.6.bangor.andrew.cmu.edu.rt_r3;
          Mon, 26 Mar 90 10:35:12 -0500 (EST)
Message-ID: <Qa3XOku00VsPAvL2Jo@andrew.cmu.edu>
Date: Mon, 26 Mar 90 10:35:12 -0500 (EST)
From: Fred Hansen <wjh+@andrew.cmu.edu>
X-Andrew-Message-Size: 1105+0
Content-Type: X-BE2; 12
To: Info-Andrew <info-andrew+@andrew.cmu.edu>,
    Ron Barrett <ronb@otc.otca.oz.au>
Subject: Re: Deleting Individual Insets from an Arbiter
In-Reply-To: <Ya3MiT66bk8r80s0ht@otc.otca.oz>
References: <Ya3MiT66bk8r80s0ht@otc.otca.oz>

\begindata{text,270524008}
\textdsversion{12}
\template{messages}


\excerptedcaption{Excerpts from internet.info-andrew: 26-Mar-90 Deleting 
Individual Insets .. Ron Barrett@otc.otca.oz. (850+0)}


\quotation{The application I've made with arb consists of a two different 
insets, one to record an audio message and another to play it back. I've group 
these together in a single arbiter object so multiple record/play pairs can be 
included in a single document. Now what I want to do is to allow the user to 
delete the record inset so that his/her message will appear \italic{play only.

}}
To solve this problem you can put the insets in a file instead of an arb.  To 
include the file in a document you would do an InsertFile operation (on the 
File menu card).  To delete the unwanted inset just backspace over it or Cut 
it.\italic{

}
For experiments like this, I usually build the device driver as a package with 
various proctable entries for controlling the device.  (See 
.../andrew/atk/music/ for an example.)  Then I write the interactive portions 
in Ness because it is much faster to revise the system for various 
alternatives.  However, the recorder problem, as stated, does not require a 
Ness program.


Fred Hansen


\enddata{text,270524008}

\enddata{text822, 245691}
\begindata{text822, 248184}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
X-Andrew-Authenticated-as: 469;andrew.cmu.edu;Craig F. Everhart
Received: from po2.andrew.cmu.edu via trymail
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/wa3Yw:q00jZdIJhU8F>;
          Mon, 26 Mar 90 12:19:08 -0500 (EST)
Received: from apollo.transarc.com via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q000/QF.wa3Yr0X0BwwO8b1UMg>;
          Mon, 26 Mar 1990 12:13:38 -0500 (EST)
Received: from apollo.transarc.com via qmail
          ID </afs/transarc.com/usr/cfe/.Outgoing/QF.0a3Yn3L0BwwO4aEm1N>;
          Mon, 26 Mar 90 12:09:23 -0500 (EST)
Received: from Messages.7.8.N.CUILIB.3.45.SNAP.NOT.LINKED.apollo.transarc.com.pmax.3
          via MS.5.6.apollo.transarc.com.pmax_3;
          Mon, 26 Mar 90 12:09:19 -0500 (EST)
Message-ID: <8a3Ymzj0BwwOEaEloV@transarc.com>
Date: Mon, 26 Mar 90 12:09:19 -0500 (EST)
From: Craig_Everhart@transarc.com
X-Andrew-Message-Size: 467+0
Content-Type: X-BE2; 12
If-Type-Unsupported: alter
To: Info-Andrew <info-andrew+@andrew.cmu.edu>,
    zaphod.mps.ohio-state.edu!samsung!emory!km@tut.cis.ohio-state.edu
    (Ken Mandelberg)
Subject: Re: AMS frontend for PCs and Macs?
CC: Jack Stein <js5l+@andrew.cmu.edu>, Aaron Wohl <aw0g+@andrew.cmu.edu>
In-Reply-To: <5192@emory.mathcs.emory.edu>
References: <5192@emory.mathcs.emory.edu>

\begindata{text,18694624}
\textdsversion{12}
\template{messages}
All PC/Mac front-ends to AMS are currently text-only.  Many of the pieces for 
a PC front end are included with the Andrew distribution (X.V11R4); the Mac 
stuff wasn't quite ready in time for the tape deadline, but the folks who did 
it (Special Projects, Operations, Computing Services, CMU) were very 
interested in distributing their Mac front-end.


I've re-sent your query to Jack Stein and Aaron Wohl, of that group, who would 
know more details and plans.


		Craig

\enddata{text,18694624}

\enddata{text822, 248184}
\begindata{text822, 250143}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
X-Andrew-Authenticated-as: 469;andrew.cmu.edu;Craig F. Everhart
Received: from po2.andrew.cmu.edu via trymail
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/Ia3Z2Wu00jZdQK8099>;
          Mon, 26 Mar 90 12:25:56 -0500 (EST)
Received: from apollo.transarc.com via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q000/QF.4a3Yw0z0BwwOIb60N9>;
          Mon, 26 Mar 1990 12:18:59 -0500 (EST)
Received: from apollo.transarc.com via qmail
          ID </afs/transarc.com/usr/cfe/.Outgoing/QF.oa3Yu:b0BwwOAaEmdU>;
          Mon, 26 Mar 90 12:16:59 -0500 (EST)
Received: from Messages.7.8.N.CUILIB.3.45.SNAP.NOT.LINKED.apollo.transarc.com.pmax.3
          via MS.5.6.apollo.transarc.com.pmax_3;
          Mon, 26 Mar 90 12:16:56 -0500 (EST)
Message-ID: <Ma3Yu8=0BwwO4aEmR3@transarc.com>
Date: Mon, 26 Mar 90 12:16:56 -0500 (EST)
From: Craig_Everhart@transarc.com
X-Andrew-Message-Size: 697+0
Content-Type: X-BE2; 12
If-Type-Unsupported: alter
To: Info-Andrew <info-andrew+@andrew.cmu.edu>,
    Christer Bernerus <bernerus@utc.chalmers.se>
Subject: Re: Signature in messages.
In-Reply-To: <ga3RT4W142MAELkHIO@utcrt2>
References: <1990Mar25.194653.22023@cs.columbia.edu>,
	<ga3RT4W142MAELkHIO@utcrt2>

\begindata{text,18694624}
\textdsversion{12}
\template{messages}
I suppose signature processing could happen when message drafts were created, 
not when they were sent; that would certainly work with Messages, though not 
with CUI or VUI.


Barring that change to the user interface, you can explicitly include your 
~/.signature (?) file with ^X^I, then click on the ``Will Sign'' button in the 
messages-send window so that it won't append the file again.  That would at 
least allow you to review your signature in the event that you suspect that it 
is incorrect.


It seems inappropriate to have the ``send this message now'' protocol append 
the .signature file, display it, then ask for confirmation that it's correct 
before actually sending the message.


		Craig

\enddata{text,18694624}

\enddata{text822, 250143}
\begindata{text822, 252252}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/Ya3aQgm00Ui38Fd08p>;
          Mon, 26 Mar 90 14:02:05 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q003/QF.4a3aOJq00UkT44QU5M>;
          Mon, 26 Mar 90 13:59:44 -0500 (EST)
Received: from sparc01.icase.edu ([192.42.142.50]) by po3.andrew.cmu.edu (5.54/3.15) id <AA00823>; Mon, 26 Mar 90 13:33:38 EST
Received: by sparc01.icase.edu (4.0/SMI-DDN)
	id AA05445; Mon, 26 Mar 90 13:28:56 EST
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.sparc01.ICASE.sun4.40
          via MS.5.6.sparc01.ICASE.sun4_40;
          Mon, 26 Mar 90 13:28:55 -0500 (EST)
Message-Id: <Ya3ZxbD0_csmEIXoNL@icase.edu>
Date: Mon, 26 Mar 90 13:28:55 -0500 (EST)
From: Tom Crockett <tom@icase.edu>
To: info-andrew@andrew.cmu.edu
Subject: Re: Searching procs in ATK (was Re: tags inset)
In-Reply-To: <3079@auspex.auspex.com>
References: <MZzuXSe1eVVaElnWE3@northstar.dartmouth.edu>,
	<3079@auspex.auspex.com>

Excerpts from info-andrew: 24-Mar-90 Searching procs in ATK (was.. Guy
Harris@uunet.uu.net (1901)

> Another annoyance with ATK's search operators - there's no way to say
> "no, thank you, I don't *want* searches to be case-insensitive".

Yes, I find this to be a real nuisance when working on case-sensitive
text, like C programs.  There needs to be a case-sensitivity preference,
or two different searching operators, or something.
\enddata{text822, 252252}
\begindata{text822, 253992}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
X-Andrew-Authenticated-as: 91;andrew.cmu.edu;Tom Neuendorffer
Received: from dublin.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/8a3bCOm00Vt180l09l>;
          Mon, 26 Mar 90 14:55:07 -0500 (EST)
If-Type-Unsupported: alter
Received: from dublin.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/usr20/tpn/.Outgoing/QF.ga3bBqW00Vt1M0W2UX>;
          Mon, 26 Mar 90 14:54:31 -0500 (EST)
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.dublin.andrew.cmu.edu.rt.r3
          via MS.5.6.dublin.andrew.cmu.edu.rt_r3;
          Mon, 26 Mar 90 14:54:30 -0500 (EST)
Message-ID: <8a3bBq_00Vt100W2MX@andrew.cmu.edu>
Date: Mon, 26 Mar 90 14:54:30 -0500 (EST)
From: Tom Neuendorffer <tpn+@andrew.cmu.edu>
X-Andrew-Message-Size: 1360+0
Content-Type: X-BE2; 12
To: Info-Andrew <info-andrew+@andrew.cmu.edu>,
    cs.columbia.edu!division.cs.columbia.edu!scottn@columbia.edu
    (Scott Novack)
Subject: Re: color in Andrew, etc...
In-Reply-To: <1990Mar25.194653.22023@cs.columbia.edu>
References: <1990Mar25.194653.22023@cs.columbia.edu>

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

attr:[FontSize ConstantFontSize Point 12]}
\define{itemize
menu:[Region~4,Itemize~31]
attr:[LeftMargin LeftMargin Inch 32768]}
\define{enumerate
menu:[Region~4,Enumerate~30]
attr:[LeftMargin LeftMargin Inch 32768]}
\define{programexample
menu:[Region~4,ProgramExample~13]
attr:[LeftMargin LeftMargin Inch 32768]
attr:[Justification LeftJustified Point 0]
attr:[FontFace FixedFace Int Set]
attr:[FontFamily AndyType Int 0]}
\define{excerptedcaption
}
\define{notetotypesetter
menu:[Region~4,NoteToTypesetter~61]
attr:[Flags PassThru Int Set]}
\define{literal
menu:[Region~4,Literal~62]
attr:[Flags PassThru Int Set]}
\quotation{\excerptedcaption{Excerpts from mail: 25-Mar-90 color in Andrew, 
etc... Scott Novack@columbia.ed (718)}}


\quotation{Is there any way to use color or gray scales in Andrew?  }


Currently, you can set foreground and background colors (ex: try ez -fg red 
-bg blue foo) . Expanded color support is being worked on.


\quotation{And another thing: are all Andrew-created windows opaque?  That is, 
if I} \quotation{wanted to have a window with a drawing in it, and then I 
wanted to overlay} \quotation{a text window for labels, would the second 
window obscure the first?  Is} \quotation{there any way around this?

}
	The current ATK does not support non-opaque windows. The real problem with 
doing this under ATK is that, if the covered view is not the child of the 
obscuring view, then the obscuring view has

\leftindent{1.  no protocol to inform the covered view refresh a part of 
itself. and 

2. no way of knowing if the obscured view has changed out from underneath it. 


}Thus, for a view that has just uncovered an area for the screen to update 
properly, it would have to request a full update of everything to ensure that 
that area was filled in properly. 


Though there are no good solutions to the general overlay problem, it would be 
possible to build an overlay-text-label inset that had control over the child 
it was overlaying and would be able to work properly for the specific 
application described in the question above. 


	Tom Neuendorffer



\enddata{text,270150364}

\enddata{text822, 253992}
\begindata{text822, 257483}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
X-Andrew-Authenticated-as: 1362;andrew.cmu.edu;Jack Stein
Received: from pcs6.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/0a3bs7:00WBKQpTk9P>;
          Mon, 26 Mar 90 15:39:35 -0500 (EST)
Received: from pcs6.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/usr24/js5l/.Outgoing/QF.4a3bq0u00WBKMpQn4P>;
          Mon, 26 Mar 90 15:37:21 -0500 (EST)
Received: from mms.0.1.401.MacMail.0.5.CUILIB.3.45.SNAP.NOT.LINKED.pcs6.andrew.cmu.edu.rt.r3
          via MS.5.6.pcs6.andrew.cmu.edu.rt_r3;
          Mon, 26 Mar 90 15:37:19 -0500 (EST)
Message-ID: <ga3bpzC00WBKQpQmtK@andrew.cmu.edu>
Date: Mon, 26 Mar 90 15:37:19 -0500 (EST)
From: Jack Stein <js5l+@andrew.cmu.edu>
X-Andrew-Message-Size:     139+0
Content-Type: X-BE2; 12
If-Type-Unsupported: alter
To: Craig_Everhart@transarc.com,
    Info-Andrew <info-andrew+@andrew.cmu.edu>,
    zaphod.mps.ohio-state.edu!samsung!emory!km@tut.cis.ohio-state.edu
    (Ken Mandelberg), PC-Daemon <pcs+internal@andrew.cmu.edu>
Subject: Re: AMS frontend for PCs and Macs?
Cc: Aaron Wohl <aw0g+@andrew.cmu.edu>
In-Reply-To: <8a3Ymzj0BwwOEaEloV@transarc.com>
References: <5192@emory.mathcs.emory.edu>,
	<8a3Ymzj0BwwOEaEloV@transarc.com>

\begindata{text, 1150176947}
\textdsversion{12}
\template{messages}
Ken:


If you have any questions or would like to review the user documentation please let me know.


Jack Stein

Manager of Special Projects.
\enddata{text, 1150176947}
\enddata{text822, 257483}
\begindata{text822, 259141}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
X-Andrew-Authenticated-as: 425;andrew.cmu.edu;Stephan Greene
Received: from rosemont.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/4a3cIkC00XcgILHE9d>;
          Mon, 26 Mar 90 16:10:09 -0500 (EST)
If-Type-Unsupported: alter
Received: from rosemont.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/usr2/sg08/.Outgoing/QF.ca3cGSW00Xcg8L93Iw>;
          Mon, 26 Mar 90 16:07:43 -0500 (EST)
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.rosemont.andrew.cmu.edu.rt.r3
          via MS.5.6.rosemont.andrew.cmu.edu.rt_r3;
          Mon, 26 Mar 90 16:07:42 -0500 (EST)
Message-ID: <ga3cGS200Xcg0L93A_@andrew.cmu.edu>
Date: Mon, 26 Mar 90 16:07:42 -0500 (EST)
From: Stephan Greene <sg08+@andrew.cmu.edu>
X-Andrew-Message-Size: 1241+0
Content-Type: X-BE2; 12
To: Info-Andrew <info-andrew+@andrew.cmu.edu>,
    cs.columbia.edu!division.cs.columbia.edu!scottn@columbia.edu
    (Scott Novack)
Subject: Re: color in Andrew, etc...
In-Reply-To: <1990Mar25.194653.22023@cs.columbia.edu>
References: <1990Mar25.194653.22023@cs.columbia.edu>

\begindata{text,270438624}
\textdsversion{12}
\template{messages}
\excerptedcaption{Excerpts from internet.info-andrew: 25-Mar-90 color in 
Andrew, etc... Scott Novack@columbia.ed (718)}


\quotation{Is there any way to use color or gray scales in Andrew? 

}
Currently, you can set the foregound and background colors of a view. At 
startup, you can use \bold{-fg <forgroundcolor>} and \bold{-bg 
<backgroundcolor>} command line options, or you can set 
\bold{<app-name>.foregoundcolor: blue} style preferences options. These will 
set the back- and fore- ground colors for the entire window. To do something a 
little more interesting, you can call the view methods 
\bold{view_SetForgroundColor()} and \bold{view_SetBackgroundColor() }as needed 
before and after the relevent drawing operations. Passing a 
\bold{view_BlackPattern()} tile to fill operations will give you a solid fill 
of the currently set foreground color. The file /usr/lib/X11/rgb.txt has a 
list of the ASCII names for the colors in the default colormap.


The really good news is that we are working on more sophisticated color 
support, which will allow for serious color use in a straightforward and lucid 
fashion. We'll also be introducing full line style support and hopefully some 
kind of color raster object as well. The general time frame for this is over 
the next few months.


Stephan Greene

CMU/ITC (ATK Group)

\enddata{text,270438624}

\enddata{text822, 259141}
\begindata{text822, 261855}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/sa3egFS00Ui3IRwk9d>;
          Mon, 26 Mar 90 18:51:48 -0500 (EST)
Received: from po2.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q007/QF.8a3ec7a00jZd4bIk5M>;
          Mon, 26 Mar 90 18:47:29 -0500 (EST)
Message-ID: <Added.8a3ebu_00jZdAbFE8a@andrew.cmu.edu>
Received: from research.att.com (inet.att.com) by po2.andrew.cmu.edu (5.54/3.15) id <AA10046> for info-andrew; Mon, 26 Mar 90 18:45:57 EST
Received: by research; Mon Mar 26 18:45:38 1990
Date: Mon, 26 Mar 90 18:45:32 EST
From: bill@allegra.tempo.nj.att.com (Bill Schell)
To: info-andrew@andrew.cmu.edu
Subject: debugging ATK applications

Three quick questions:
	Is using a modified GDB still the best way to debug ATK applications?

	Has anyone got Saber-C to work with ATK?

	Can someone send me the GDB mods?

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

\enddata{text822, 261855}
\begindata{text822, 263090}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/wa3hoJu00UkTEM808:>;
          Mon, 26 Mar 90 22:25:14 -0500 (EST)
Received: from po2.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q002/QF.ca3hhum00jZdMhgE5e>;
          Mon, 26 Mar 90 22:18:36 -0500 (EST)
Received: from ATHENA.MIT.EDU by po2.andrew.cmu.edu (5.54/3.15) id <AA11673> for info-andrew+; Mon, 26 Mar 90 22:17:06 EST
Received: from LAKOTA.MIT.EDU by ATHENA.MIT.EDU with SMTP
	id AA29805; Mon, 26 Mar 90 22:16:44 EST
Received: by lakota.MIT.EDU (5.61/4.7) id AA07764; Mon, 26 Mar 90 22:16:41 -0500
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.lakota.vax.43
          via MS.5.6.lakota.vax_43;
          Mon, 26 Mar 90 22:16:38 -0500 (EST)
Message-Id: <Aa3hgKkGG02=QRYtNU@athena.mit.edu>
Date: Mon, 26 Mar 90 22:16:38 -0500 (EST)
From: Bill Cattey <wdc@ATHENA.MIT.EDU>
To: Info-Andrew <info-andrew+@andrew.cmu.edu>,
        bill@allegra.tempo.nj.att.com (Bill Schell)
Subject: Re: debugging ATK applications
In-Reply-To: <Added.8a3ebu_00jZdAbFE8a@andrew.cmu.edu>
References: <Added.8a3ebu_00jZdAbFE8a@andrew.cmu.edu>

GDB versions 3.3 and later already have the necessary features standard.
If you are using a Sun or a Vax, you will have no trouble.

When you encounter a dynamic object use the command "add-file" and
specify the .dog file and the text offset as follows:

add-file mine.dog 0xtextaddr

I hope this helps.

-wdc

PS A port of GDB version 3 to run under the RT is under way.
\enddata{text822, 263090}
\begindata{text822, 264893}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
X-Andrew-Authenticated-as: 16;andrew.cmu.edu;John Howard
Received: from beadling.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/ka3r6nO00Vs2E0gE8r>;
          Tue, 27 Mar 90 08:59:16 -0500 (EST)
Received: from beadling.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/usr10/jhh/.Outgoing/QF.ka3r5rW00Vs2A0YktD>;
          Tue, 27 Mar 90 08:58:16 -0500 (EST)
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.beadling.andrew.cmu.edu.rt.r3
          via MS.5.6.beadling.andrew.cmu.edu.rt_r3;
          Tue, 27 Mar 90 08:58:15 -0500 (EST)
Message-ID: <8a3r5rS00Vs2M0YkkT@andrew.cmu.edu>
Date: Tue, 27 Mar 90 08:58:15 -0500 (EST)
From: John Howard <jhh+@andrew.cmu.edu>
X-Andrew-Message-Size: 519+0
Content-Type: X-BE2; 12
If-Type-Unsupported: alter
To: Info-Andrew <info-andrew+@andrew.cmu.edu>
Subject: Re: debugging ATK applications
In-Reply-To: <Aa3hgKkGG02=QRYtNU@athena.mit.edu>
References: <Added.8a3ebu_00jZdAbFE8a@andrew.cmu.edu>,
	<Aa3hgKkGG02=QRYtNU@athena.mit.edu>

\begindata{text,270255416}
\textdsversion{12}
\template{messages}
To add a bit to Bill Cattey's message, here's how to find out the text 
address.  Start your debugging session with:


    gdb /usr/andrew/bin/runapp

    run -d ezapp -d foo


where foo is an ez file of the appropriate type.  The second -d prevents 
runapp from forking the application.  The first -d turns on a debug trace in 
the dynamic loader, producing lines of the form:


    foo: text = 0x100445d4  data = 0x1004db68  entry = 0x1004e3e8


The text address in is the one you want for the add-file command.


John Howard

\enddata{text,270255416}

\enddata{text822, 264893}
\begindata{text822, 266744}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/Ya3r8BW00UddI62U88>;
          Tue, 27 Mar 90 09:00:46 -0500 (EST)
Received: from andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q005/QF.4a3r6Zq00Ui3I4Y04t>;
          Tue, 27 Mar 90 08:59:04 -0500 (EST)
If-Type-Unsupported: alter
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q006/QF.8a3r57S00UkTI7j04r>;
          Tue, 27 Mar 90 08:57:28 -0500 (EST)
Received: from IBM.COM by po3.andrew.cmu.edu (5.54/3.15) id <AA01970> for info-andrew+; Tue, 27 Mar 90 08:56:48 EST
Received: from rchland by IBM.COM (IBM VM SMTP R1.2.1MX) with BSMTP id 9205; Tue, 27 Mar 90 05:57:13 PST
Received: from po1.rchland.ibm.com by RCHGATE.rchland.ibm.com (IBM VM SMTP R1.2.1) with TCP; Tue, 27 Mar 90 07:51:20 CST
Received: by po1.rchland.ibm.com (5.51/4.7) id <AA04878> for info-andrew+@andrew.cmu.edu; Tue, 27 Mar 90 07:55:14 CST
Received: via switchmail; Tue, 27 Mar 90 07:55:14 -0600 (CST)
Received: from wien.rchland.ibm.com via qmail
          ID </afs/rchland.ibm.com/service/mailqs/q001/QF.ga3r2k491E4Z00IkQc>;
          Tue, 27 Mar 90 07:55:01 -0600 (CST)
Received: from wien.rchland.ibm.com via qmail
          ID </afs/rchland.ibm.com/usr2/turner/.Outgoing/QF.4a3r2X891E4Z8gilJd>;
          Tue, 27 Mar 90 07:54:43 -0600 (CST)
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.wien.rchland.ibm.com.rt.r3
          via MS.5.6.wien.rchland.ibm.com.rt_r3;
          Tue, 27 Mar 90 07:54:42 -0600 (CST)
Message-Id: <ka3r2Ww91E4ZQgilBO@rchland.ibm.com>
Date: Tue, 27 Mar 90 07:54:42 -0600 (CST)
From: Mark Turner <turner+@rchland.ibm.com>
X-Andrew-Message-Size: 900+0
Content-Type: X-BE2; 12
To: Info-Andrew <info-andrew+@andrew.cmu.edu>, bobg+@andrew.cmu.edu
Reply-To: <turner@ibm.com>
Subject: Messages search of mspath
In-Reply-To: 
References: 

\begindata{text,270251032}
\textdsversion{12}
\template{messages}
In trying to track down a suspected problem with Folder Completion Help in
\italic{messages}, we found that it is quite common among our users to have an
invalid directory (or one which the user doesn't have access to) named in
their mspath preferences entry.  When messages is searching the mspath and
encounters one of these invalid directories it quits the search, displaying a
message about permission denied, fopen error in MatchFolderName.


This condition seems more common than I would have thought, as the first three
users we tried (seemingly at random) had the problem.  For them, folder
completion simply never works (though now we can tell them to fix their
mspath).


I would like to suggest that this condition not terminate the search, but that
a warning should just be displayed that an invalid directory is listed in the
mspath.  This code is in mtchfold.c.


Mark Turner      <turner@ibm.com>

\enddata{text,270251032}

\enddata{text822, 266744}
\begindata{text822, 269928}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/sa3rfPq00UkT88xk94>;
          Tue, 27 Mar 90 09:38:23 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q003/QF.Ua3rcZ:00UkTI8v04j>;
          Tue, 27 Mar 90 09:35:19 -0500 (EST)
Received: from thumper.bellcore.com by po3.andrew.cmu.edu (5.54/3.15) id <AA02273> for bobg+; Tue, 27 Mar 90 09:34:22 EST
Received: by thumper.bellcore.com (5.54/4.7)
	id AA23792; Tue, 27 Mar 90 09:34:02 EST
Received: by greenbush.bellcore.com (4.12/4.7)
	id AA06036; Tue, 27 Mar 90 09:34:15 est
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.greenbush.mouseclub.sun4.40
          via MS.5.6.greenbush.mouseclub.sun4_40;
          Tue, 27 Mar 90 09:34:13 -0500 (EST)
Message-Id: <0a3rbZG0M2YtMJdGEB@thumper.bellcore.com>
Date: Tue, 27 Mar 90 09:34:13 -0500 (EST)
From: Nathaniel Borenstein <nsb@thumper.bellcore.com>
To: Info-Andrew <info-andrew+@andrew.cmu.edu>, bobg+@andrew.cmu.edu
Subject: Re: Messages search of mspath
In-Reply-To: <ka3r2Ww91E4ZQgilBO@rchland.ibm.com>
References: <ka3r2Ww91E4ZQgilBO@rchland.ibm.com>

Hmm... these people should also be seeing error messages at the startup
of any AMS programs -- are they?  (In Messages/Sendmessage they tend to
go by rather fast on the message line, so they might be missed...)

At any rate, a suggested fix to ams/libs/ms/mtchfold.c would be to go to
line 72 and add the following lines (right at the beginning of the "if
(!rfp) " clause):

if (errno == EACCES) {
    NonfatalBizarreError("Unreadable directory on mspath, ignoring!");
    continue;
}

Note that I haven't tested this code, but something like it should work.  -- NB

PS -- Actually, it might be better still to keep looking no matter WHAT
the error code is -- that is, replace the whole "if (!rfp) clause with 
one that says

if (!rfp) {
NonfatalBizarreError(some-informative-warning)
continue;
}

This would probably be the most robust behavior, no matter what the
error on opening the subscription map file.  -- NB
\enddata{text822, 269928}
\begindata{text822, 272276}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/ga3uVfq00jZdQGw09G>;
          Tue, 27 Mar 90 12:52:45 -0500 (EST)
Received: from po2.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q000/QF.4a3uQMe00jZdEGtU5N>;
          Tue, 27 Mar 90 12:47:19 -0500 (EST)
Received: from ucbvax.Berkeley.EDU by po2.andrew.cmu.edu (5.54/3.15) id <AA04824> for info-andrew; Tue, 27 Mar 90 12:45:34 EST
Received: by ucbvax.Berkeley.EDU (5.61/1.41)
	id AA14126; Tue, 27 Mar 90 09:34:33 -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: 26 Mar 90 20:31:13 GMT
From: ibmpa!neon.tcspa.ibm.com!marc@uunet.uu.net  (Marc Pawliger)
Subject: Re: Signature in messages.
Message-Id: <4652@ibmpa.UUCP>
References: <Ma3Yu8=0BwwO4aEmR3@transarc.com>, <ga3RT4W142MAELkHIO@utcrt2>
Sender: info-andrew-request@andrew.cmu.edu
To: info-andrew@andrew.cmu.edu

> 
> I suppose signature processing could happen when message drafts were
> created, not when they were sent; that would certainly work with
> Messages, though not with CUI or VUI.
> 
> It seems inappropriate to have the ``send this message now'' protocol
> append the .signature file, display it, then ask for confirmation that
> it's correct before actually sending the message.

Why not do what interfaces like xrn do?  They append the .signature when
first creating the "send" window, and then leave the insertion point right
above the signature, just where you'd want it.

Messages already fills in the header information, why not have it do an
automatic insert-file of ~/.signature into the composition area?  This
means that the "will sign" button would have to go away, though, since
there is not an easy heuristic for determining where the message ends and
the signature begins.  If the user chooses to automatically include a 
signature every time, they can delete it for the times they don't want it.

As always, these are my opinions and not those of my employer.

+--Marc-Pawliger-----------------IBM-AWD--------------------Palo-Alto--+
|   Internet: marc%ibmsupt@uunet.uu.net    VNET:   MARC at PALOALTO    |
|    UUCP:      uunet!ibmsupt!ibmpa!marc    Phonenet: (415) 855-3493   |
+-----IBMnet:----marc@ibmpa.tcspa.ibm.com----IBM-Tie-Line:---465-3493--+
\enddata{text822, 272276}
\begindata{text822, 274945}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/4a3xMli00UddMCe09j>;
          Tue, 27 Mar 90 16:08:02 -0500 (EST)
Received: from po5.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q004/QF.ca3xJx200Udd4Cc05l>;
          Tue, 27 Mar 90 16:05:04 -0500 (EST)
If-Type-Unsupported: alter
Received: from po2.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q004/QF.4a3xH1:00jZdAOTk5h>;
          Tue, 27 Mar 90 16:02:03 -0500 (EST)
Received: from northstar2.dartmouth.edu by po2.andrew.cmu.edu (5.54/3.15) id <AA06770> for info-andrew; Tue, 27 Mar 90 16:00:49 EST
Received: by northstar2.dartmouth.edu (5.61D1/4.1)
	id AA03478; Tue, 27 Mar 90 15:59:31 -0500
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.northstar2.rt.r3
          via MS.5.6.northstar2.rt_r3;
          Tue, 27 Mar 90 15:59:29 -0500 (EST)
Message-Id: <Ea3xEly1eVVaE3NrJz@northstar.dartmouth.edu>
Date: Tue, 27 Mar 90 15:59:29 -0500 (EST)
From: Anthony Edwards <tobeye@northstar.dartmouth.edu>
X-Andrew-Message-Size: 3381+0
Content-Type: X-BE2; 12
To: info-andrew@andrew.cmu.edu
Subject: Serious ezprint bug with patch 004
Cc: "bb+official.andrew" <bb@northstar2.dartmouth.edu>

\begindata{text,269637340}
\textdsversion{12}
\template{messages}
I recently applied the ATK4 Patch 004.  It recompiles and all went fine. 
 \italic{Until we started using \bold{ezprint}}.  In Patch 004, a bug fix was 
made to the troff code appending a \\ to the end of certain lines.  This 
causes extra letters to be printed out on our system.


Sample document:


\quotation{XYZ Budget

 


ABC will sponsor two types of XYZ projects, one year development efforts and 
 two year exportation projects.

 


One year development projects:

 

blah blah blah

 


Two year exportation projects:


more blah, more blah

}
Looks like this on the printer (notice the \italic{\bigger{n}}'s at the 
beginning of blank lines):


\quotation{XYZ Budget

n


ABC will sponsor two types of XYZ projects, one year development efforts and 
 two year exportation projects.

n


One year development projects:

n

blah blah blah

n


Two year exportation projects:


more blah, more blah}


(I just noticed something as I was cutting and pasting the above text - the 
lines that have n's on them formerly had a single blank space.  In removing 
those blanks, the document printed correctly.)


To start your detective work in tracking this bug in the right direction, this 
is what I get when I look at the troff output from ezprint for the above 
document:


\indent{.so /usr1/tobeye/andrew4/lib/tmac/tmac.atk

.IZ

.nr IN 36p

.nr LT 432p

.nr PO 54p

.br

.ad b

'ft R

.nr PS 12

.ps \\n(PS

.nr VS 14p

.vs \\n(VSu

.nr EN 8n

.sp 0.5i

.nr DP 0

.ds Fn \\fR

.ds HF R

.nr HS \\n(.s

.ds FF R

.nr FS \\n(.s

.RS

.nh

XYZ Budget

.OC

.br

\\ 

.OC

.sp 1

ABC will sponsor two types of XYZ projects, one year development efforts and 
 two 

year exportation projects.

.OC

.br

\\ 

.OC}


Notice how there are lines that are just "\\ "?  Those are the places where 
the n's come out.


The problem doesn't stop there.  I have another document with this text:



\quotation{\heading{Tutorial}


\italic{\bold{Northcalc as a Programming Language}}


     The first thing you must understand about the \bold{Northcalc} 
programming language is that all commands are terminated with semi-colons, 
much like the programming languages C and Pascal.  Without the semi-colon, the 
command is not finished.  Start off with a simple calculation to get your 
pinky in shape for hitting the semi-colon:}


When I print it, I get a '1' appearing before the paragraph text:


\quotation{1     The first thing you must understand about the \bold{Northcalc} 
programming language is that all commands are terminated with semi-colons, 
much like the programming languages C}


And it's troff code is:


\indent{.ad l

'ft B

.OC

.sp 1

Tutorial

'in 36p

.ad b

'ft R

'ft BI

.OC

.sp 1

Northcalc as a Programming Language\\fR

.OC

.sp 1

\\ \\ \\ \\ \\ The first thing you must understand about the \\fBNorthcalc\\fR 
programming language 

is that all commands are terminated with semi-colons, much like the 
programming languages}


Notice the suspicous "\\ "'s just before the paragraph.  They are the PRIME 
suspects in my book.


\bigger{\bigger{Appeal:}}


ITC folk:  I appeal to you to send me the patch for this bug as soon as you 
can (reverting me to Patch Level 003 for ezprint is just fine!).  


I just put all the ATK4 software on-line for ALL OUR USERS last week and I'm 
starting to look bad...  Today is the first day of our spring term.  The users 
will be flooding in real soon now.


I think all the ATK4 stuff is great... but I need this bug fixed soon to 
convince everyone else.  (My boss reported this bug to me as he was working on 
a budget proposal.... oops!)


   - \underline{Anthony Edwards}

   Project NORTHSTAR

   Dartmouth College

\enddata{text,269637340}

\enddata{text822, 274945}
\begindata{text822, 280239}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/wa3xvgm00jZd8Q2U9A>;
          Tue, 27 Mar 90 16:45:19 -0500 (EST)
Received: from po2.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q001/QF.ga3xree00jZd4Pxk5D>;
          Tue, 27 Mar 90 16:41:06 -0500 (EST)
Received: from cheops.cis.ohio-state.edu by po2.andrew.cmu.edu (5.54/3.15) id <AA07136> for info-andrew; Tue, 27 Mar 90 16:39:33 EST
Received: from oboe.cis.ohio-state.edu by cheops.cis.ohio-state.edu (5.61-kk/5.900319)
	id AA05133; Tue, 27 Mar 90 16:38:49 -0500
Received: by oboe.cis.ohio-state.edu (5.61-kk/5.900319)
	id AA01395; Tue, 27 Mar 90 16:40:39 -0500
From: timothy_hansell@cis.ohio-state.edu
Message-Id: <9003272140.AA01395@oboe.cis.ohio-state.edu>
Subject: Help !! How do I print without ditroff ??
To: info-andrew@andrew.cmu.edu
Date: Tue, 27 Mar 90 16:40:34 EDT
Organization: Department of Redundancy Department
Department: Department of Redundancy Department
Snail-Mail-Address: P.O. Box 687. South Charleston, Ohio 45368
X-Mailer: ELM [version 2.2 PL0]

Since nobody seems willing to help me out with a ftp'able ditroff,
I need to know how to get ez to print without it. I have tried to set
options in the prefrences file but the lack of feedback on why
something failed has hindered me in finding out what to do to make it work.

We have psroff available here ( creates postscript from troff input )
But I can't seem to get any output at all when I set my formmat command
to be psroff.

Can anyone give me any suggestions ?

-tim
-- 
Tim Hansell
hansell@cis.ohio-state.edu
P.O. Box 687 South Charleston, Ohio, 45268
\enddata{text822, 280239}
\begindata{text822, 282167}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
X-Andrew-Authenticated-as: 469;andrew.cmu.edu;Craig F. Everhart
Received: from po5.andrew.cmu.edu via trymail
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/8a3y7=200UddMDhk95>;
          Tue, 27 Mar 90 16:57:36 -0500 (EST)
Received: from apollo.transarc.com via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q002/QF.Ia3y3on0BwwOQrDUNK>;
          Tue, 27 Mar 1990 16:54:10 -0500 (EST)
Received: from apollo.transarc.com via qmail
          ID </afs/transarc.com/usr/cfe/.Outgoing/QF.Ya3xzYj0BwwOQr12xp>;
          Tue, 27 Mar 90 16:49:25 -0500 (EST)
Received: from Messages.7.8.N.CUILIB.3.45.SNAP.NOT.LINKED.apollo.transarc.com.pmax.3
          via MS.5.6.apollo.transarc.com.pmax_3;
          Tue, 27 Mar 90 16:49:22 -0500 (EST)
Message-ID: <Ya3xzWP0BwwO8r12lj@transarc.com>
Date: Tue, 27 Mar 90 16:49:22 -0500 (EST)
From: Craig_Everhart@transarc.com
X-Andrew-Message-Size: 638+0
Content-Type: X-BE2; 12
If-Type-Unsupported: alter
To: Info-Andrew <info-andrew+@andrew.cmu.edu>
Subject: Re: Signature in messages.
In-Reply-To: <4652@ibmpa.UUCP>
References: <Ma3Yu8=0BwwO4aEmR3@transarc.com>, <ga3RT4W142MAELkHIO@utcrt2>,
	<4652@ibmpa.UUCP>

\begindata{text,19121756}
\textdsversion{12}
\template{messages}
((stuff about xrn omitted))


As I said, even in the part of my message that you quoted, adding the 
~/.signature file is in principle no problem for Messages, since you're in a 
random-access editor where the typist gets to add new text wherever it's 
desired.


CUI doesn't allow that since it doesn't really have an editor you can use to 
insert text before the signature text.


As I recall, VUI isn't very graceful about inserting or deleting lines in its 
composition area.  Maybe somebody who has worked with it more can confirm or 
deny this.


Why am I posting a correction to a (single) mis-perception of an earlier post 
I made?


		Craig

\enddata{text,19121756}

\enddata{text822, 282167}
\begindata{text822, 284170}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
X-Andrew-Authenticated-as: 7650;andrew.cmu.edu;Jaap Akkerhuis
Received: from tigger.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/Ma3yKRy00VswEPwk9z>;
          Tue, 27 Mar 90 17:13:50 -0500 (EST)
Received: from tigger.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/usr21/jaap/.Outgoing/QF.0a3yJfW00VswQPE0t9>;
          Tue, 27 Mar 90 17:13:00 -0500 (EST)
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.tigger.andrew.cmu.edu.rt.r3
          via MS.5.6.tigger.andrew.cmu.edu.rt_r3;
          Tue, 27 Mar 90 17:12:59 -0500 (EST)
Message-ID: <Ia3yJfK00VswIPE0lZ@andrew.cmu.edu>
Date: Tue, 27 Mar 90 17:12:59 -0500 (EST)
From: Jaap Akkerhuis <jaap+@andrew.cmu.edu>
X-Andrew-Message-Size: 1006+0
Content-Type: X-BE2; 12
If-Type-Unsupported: alter
To: Info-Andrew <info-andrew+@andrew.cmu.edu>
Subject: Re: Help !! How do I print without ditroff ??
In-Reply-To: <9003272140.AA01395@oboe.cis.ohio-state.edu>
References: <9003272140.AA01395@oboe.cis.ohio-state.edu>

\begindata{text,270931300}
\textdsversion{12}
\template{messages}
\excerptedcaption{Excerpts from internet.info-andrew: 27-Mar-90 Help !! How do 
I print with.. timothy_hansell@cis.ohio (563)}


\quotation{Since nobody seems willing to help me out with a ftp'able ditroff,

}\quotation{I need to know how to get ez to print without it. I have tried to 
set

}\quotation{options in the prefrences file but the lack of feedback on why

}\quotation{something failed has hindered me in finding out what to do to make 
it work.

}
Ditroff costs money. There is no PD implementation although there are rumors 
that there is work on a GNUTROFF or something like that.


\quotation{We have psroff available here ( creates postscript from troff input 
)

}\quotation{But I can't seem to get any output at all when I set my formmat 
command

}\quotation{to be psroff.

}
\quotation{Can anyone give me any suggestions ?

}
Suggestions are supposed to be in a file about how to install ATK. I remember 
writing it, but not the name of it, something like ``installation notes'' or 
so. The gist of it is that one can use psroff or good old nroff but only a 
limited part of ATK will print (No zip, no rasters).


	jaap


\enddata{text,270931300}

\enddata{text822, 284170}
\begindata{text822, 286626}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
X-Andrew-Authenticated-as: 91;andrew.cmu.edu;Tom Neuendorffer
Received: from dublin.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/oa3yhbS00Vt1M4FE9A>;
          Tue, 27 Mar 90 17:38:32 -0500 (EST)
Received: from dublin.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/usr20/tpn/.Outgoing/QF.Ia3yh5:00Vt144CEsq>;
          Tue, 27 Mar 90 17:37:57 -0500 (EST)
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.dublin.andrew.cmu.edu.rt.r3
          via MS.5.6.dublin.andrew.cmu.edu.rt_r3;
          Tue, 27 Mar 90 17:37:56 -0500 (EST)
Message-ID: <ca3yh4m00Vt1E4CEkq@andrew.cmu.edu>
Date: Tue, 27 Mar 90 17:37:56 -0500 (EST)
From: Tom Neuendorffer <tpn+@andrew.cmu.edu>
X-Andrew-Message-Size: 838+0
Content-Type: X-BE2; 12
If-Type-Unsupported: alter
To: Info-Andrew <info-andrew+@andrew.cmu.edu>,
    Anthony Edwards <tobeye@northstar.dartmouth.edu>
Subject: Re: Serious ezprint bug with patch 004
CC: "bb+official.andrew" <bb@northstar2.dartmouth.edu>
In-Reply-To: <Ea3xEly1eVVaE3NrJz@northstar.dartmouth.edu>
References: <Ea3xEly1eVVaE3NrJz@northstar.dartmouth.edu>

\begindata{text,269846180}
\textdsversion{12}
\template{messages}
The change that was installed with patch004 deals with the fact that unescaped 
spaces at the beginning of a troff line can get optimized away, even when they 
should be significant. The change to have ezprint output '\\<space>' rather 
than just <space> at the beginning of lines is valid troff code , and there is 
no reason your troff should be translating them to 'n's or '1's . Perhaps your 
troff font table needs fixed. If you send me the troff output from these 
examples, we might be able to help. If you need a quick fix, you can go into 
atk/text/txttroff.c and delete the following lines, starting at around line 
1267

			if(c == ' ') \{

			    if(quotespace)\{

				fputc('\\\\',f);

				ln++;

			    \}

			\}

			else quotespace = FALSE;


This should restore the old behavior.  In the long run, though,it is troff 
that needs fixed. 


	Tom N.

\enddata{text,269846180}

\enddata{text822, 286626}
\begindata{text822, 288905}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/sa43lSe00Udd4Jq09l>;
          Tue, 27 Mar 90 23:23:59 -0500 (EST)
Received: from po2.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q001/QF.Ua43gNC00jZd0ePU5S>;
          Tue, 27 Mar 90 23:18:38 -0500 (EST)
Received: from ucbvax.Berkeley.EDU by po2.andrew.cmu.edu (5.54/3.15) id <AA10840> for info-andrew; Tue, 27 Mar 90 23:17:30 EST
Received: by ucbvax.Berkeley.EDU (5.61/1.41)
	id AA25034; Tue, 27 Mar 90 20:05: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: 28 Mar 90 00:49:28 GMT
From: mtxinu!ed@ucbvax.Berkeley.EDU  (Ed Gould)
Organization: mt Xinu, Berkeley
Subject: Re: Serious ezprint bug with patch 004
Message-Id: <1165@mtxinu.UUCP>
References: <Ea3xEly1eVVaE3NrJz@northstar.dartmouth.edu>, <ca3yh4m00Vt1E4CEkq@andrew.cmu.edu>
Sender: info-andrew-request@andrew.cmu.edu
To: info-andrew@andrew.cmu.edu

>The change that was installed with patch004 deals with the fact that
>unescaped spaces at the beginning of a troff line can get optimized
>away, even when they should be significant.
>... If you need a quick fix, you can go into
>atk/text/txttroff.c and delete the following lines, starting at around
>line 1267
>			if(c == ' ') {
>			    if(quotespace){
>				fputc('\\',f);
>				ln++;
>			    }
>			}
>			else quotespace = FALSE;

The proper fix to this problem (if I understand the problem correctly,
that being that troff is being given a space at the beginning of
a line that should represent a space but not a line break) is not
to alter that space to a non-paddable space (which is what
backslash-space is), but to separate the space from the beginning
of the line with the zero-width non-printing character \&
(backslash-ampersand).  This should work with all V7 and later
(i.e., written in C) versions of nroff and troff.

Hence, that code should read something like

		if (c == ' ') {
			if (quotespace) {
				fputc('\\', f);
				fputc('&',  f);
				ln++;
			}
		} else
			quotespace = FALSE;

-- 
Ed Gould                    mt Xinu, 2560 Ninth St., Berkeley, CA  94710  USA
ed@mtxinu.COM		    +1 415 644 0146

"I'll fight them as a woman, not a lady.  I'll fight them as an engineer."
\enddata{text822, 288905}
\begindata{text822, 291548}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/ga472Le00UddMNM08w>;
          Wed, 28 Mar 90 03:06:49 -0500 (EST)
Received: from po2.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q005/QF.Ua470KO00jZdQ2x054>;
          Wed, 28 Mar 90 03:04:40 -0500 (EST)
Received: from arisia.Xerox.COM by po2.andrew.cmu.edu (5.54/3.15) id <AA00748> for info-andrew; Wed, 28 Mar 90 03:04:07 EST
Received: from holmes.parc.Xerox.COM by arisia.Xerox.COM with SMTP
	(5.61+/IDA-1.2.8/gandalf) id AA28068; Wed, 28 Mar 90 00:03:32 -0800
Received: by holmes.parc.xerox.com
	(5.61+/IDA-1.2.8/gandalf) id AA14479; Wed, 28 Mar 90 00:04:00 PST
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.holmes.parc.xerox.com.sun4.40
          via MS.5.6.holmes.parc.xerox.com.sun4_40;
          Wed, 28 Mar 90 00:03:59 -0800 (PST)
Message-Id: <4a46zjIB0KGWEW4MAS@holmes.parc.xerox.com>
Date: Wed, 28 Mar 90 00:03:59 -0800 (PST)
From: Bill Janssen <janssen@parc.xerox.com>
To: info-andrew@andrew.cmu.edu
Subject: documentation of the raster format?

Where is the file with the description of the raster file format? 
Thought it was RasterFile.d, but there is no such file in the release.

Bill
\enddata{text822, 291548}
\begindata{text822, 293054}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
X-Andrew-Authenticated-as: 602;andrew.cmu.edu;Adam Stoller
Received: from fishtank.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/sa4=DLu00as9AVr095>;
          Wed, 28 Mar 90 07:53:44 -0500 (EST)
Received: from fishtank.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/usr21/ghoti/.Outgoing/QF.ka4=CG600as9MVpEcA>;
          Wed, 28 Mar 90 07:52:35 -0500 (EST)
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.fishtank.andrew.cmu.edu.sun3.35
          via MS.5.6.fishtank.andrew.cmu.edu.sun3_35;
          Wed, 28 Mar 90 07:52:33 -0500 (EST)
Message-ID: <ka4=CFW00as90VpEUt@andrew.cmu.edu>
Date: Wed, 28 Mar 90 07:52:33 -0500 (EST)
From: Adam Stoller <ghoti+@andrew.cmu.edu>
X-Andrew-Message-Size: 336+0
Content-Type: X-BE2; 12
If-Type-Unsupported: alter
To: Info-Andrew <info-andrew+@andrew.cmu.edu>
Subject: Re: documentation of the raster format?
In-Reply-To: <4a46zjIB0KGWEW4MAS@holmes.parc.xerox.com>
References: <4a46zjIB0KGWEW4MAS@holmes.parc.xerox.com>

\begindata{text,2389452}
\textdsversion{12}
\template{messages}
\excerptedcaption{Excerpts from internet.info-andrew: 28-Mar-90 documentation 
of the raster.. Bill Janssen@parc.xerox. (144)}


\quotation{Where is the file with the description of the raster file format? 

}\quotation{Thought it was RasterFile.d, but there is no such file in the 
release.

}
\quotation{Bill

}

$(DESTDIR)/include/rastfile.h


(note: not include/atk/  -  just include/)


--fish

\enddata{text,2389452}

\enddata{text822, 293054}
\begindata{text822, 294762}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
X-Andrew-Authenticated-as: 13;andrew.cmu.edu;Fred Hansen
Received: from bangor.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/0a4ARDi00VsPMRkE8t>;
          Wed, 28 Mar 90 09:16:48 -0500 (EST)
Received: from bangor.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/usr13/wjh/.Outgoing/QF.ga4AQZK00VsP8vL7QV>;
          Wed, 28 Mar 90 09:16:06 -0500 (EST)
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.bangor.andrew.cmu.edu.rt.r3
          via MS.5.6.bangor.andrew.cmu.edu.rt_r3;
          Wed, 28 Mar 90 09:16:05 -0500 (EST)
Message-ID: <Ma4AQZ600VsPMvL7Ia@andrew.cmu.edu>
Date: Wed, 28 Mar 90 09:16:05 -0500 (EST)
From: Fred Hansen <wjh+@andrew.cmu.edu>
To: Info-Andrew <info-andrew+@andrew.cmu.edu>,
    Jaap Akkerhuis <jaap+@andrew.cmu.edu>
Subject: Re: Help !! How do I print without ditroff ??
In-Reply-To: <Ia3yJfK00VswIPE0lZ@andrew.cmu.edu>
References: <9003272140.AA01395@oboe.cis.ohio-state.edu>,
	<Ia3yJfK00VswIPE0lZ@andrew.cmu.edu>

Excerpts from internet.info-andrew: 27-Mar-90 Re: Help !! How do I print
.. Jaap Akkerhuis (1006+0)

> The gist of it is that one can use psroff or good old nroff but only a
> limited part of ATK will print (No zip, no rasters).

It shouldn't be too hard to get zip and rasters to print on a postscript
printer; they already produce postscript as their print data stream.  

This may require that psroff be revised to understand the ! convention
of troff input, or it may require an intermediate program.

If you are desparate to print a raster or zip, you can strip the first
characters off each line and send it directly through postscript.  You
probably will need an initial line with something like 

	1 1 translate

so it doesn't try to print in the very leftmost-bottommost position.

Fred Hansen
\enddata{text822, 294762}
\begindata{text822, 296768}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
X-Andrew-Authenticated-as: 13;andrew.cmu.edu;Fred Hansen
Received: from bangor.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/ka4Ak3S00VsPESM08B>;
          Wed, 28 Mar 90 09:36:52 -0500 (EST)
If-Type-Unsupported: alter
Received: from bangor.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/usr13/wjh/.Outgoing/QF.0a4Ajcy00VsPEvL816>;
          Wed, 28 Mar 90 09:36:25 -0500 (EST)
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.bangor.andrew.cmu.edu.rt.r3
          via MS.5.6.bangor.andrew.cmu.edu.rt_r3;
          Wed, 28 Mar 90 09:36:24 -0500 (EST)
Message-ID: <8a4Ajcm00VsP4vL7tq@andrew.cmu.edu>
Date: Wed, 28 Mar 90 09:36:24 -0500 (EST)
From: Fred Hansen <wjh+@andrew.cmu.edu>
X-Andrew-Message-Size: 541+0
Content-Type: X-BE2; 12
To: Info-Andrew <info-andrew+@andrew.cmu.edu>,
    Bill Janssen <janssen@parc.xerox.com>
Subject: Re: documentation of the raster format?
In-Reply-To: <4a46zjIB0KGWEW4MAS@holmes.parc.xerox.com>
References: <4a46zjIB0KGWEW4MAS@holmes.parc.xerox.com>

\begindata{text,270524008}
\textdsversion{12}
\template{messages}
\excerptedcaption{Excerpts from internet.info-andrew: 28-Mar-90 documentation 
of the raster.. Bill Janssen@parc.xerox. (144)}


\quotation{Where is the file with the description of the raster file format? 
 }\quotation{Thought it was RasterFile.d, but there is no such file in the 
release.

}
RasterFile.d (now rastfile.d) describes the format of the "old" binary 
rasters.  The ATK raster file format--ASCII encoded--is described in a file 
that was once called rasterspec.d.  It was deleted from the distribution, but 
is on one of our backup tapes if you want to know the format.


FredH

\enddata{text,270524008}

\enddata{text822, 296768}
\begindata{text822, 298698}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/ka4AwY600UkTI8uk9=>;
          Wed, 28 Mar 90 09:50:13 -0500 (EST)
Received: from po2.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q002/QF.ga4Auvq00jZd0An04r>;
          Wed, 28 Mar 90 09:48:31 -0500 (EST)
Message-ID: <Added.Ua4AuqG00jZdQAl09b@andrew.cmu.edu>
Received: from research.att.com (inet.att.com) by po2.andrew.cmu.edu (5.54/3.15) id <AA03260> for info-andrew; Wed, 28 Mar 90 09:47:36 EST
Received: by research; Wed Mar 28 09:47:08 1990
Date: Wed, 28 Mar 90 09:46:56 EST
From: bill@allegra.tempo.nj.att.com (Bill Schell)
To: info-andrew@andrew.cmu.edu
Subject: correction to treev object documentation?

I believe I've found problem with the treev object documentation.  On
page 34 it describes the routine treev_ChangeTreeAttribute which is
supposed to change the attributes of an already existing tree.  This
routine doesn't exist in my copy of the source (X11R4) or the patch
files.  The routine that appears to do the same job is called
treev_SetTreeAttribute.  Also, the first parameter to the
SetTreeAttribute routine is  "struct treev *object", not "struct
tree *object", as in the documentation of ChangeTreeAttribute

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

\enddata{text822, 298698}
\begindata{text822, 300290}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
X-Andrew-Authenticated-as: 7650;andrew.cmu.edu;Jaap Akkerhuis
Received: from tigger.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/8a4CfnS00Vsw4RR08c>;
          Wed, 28 Mar 90 11:48:53 -0500 (EST)
Received: from tigger.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/usr21/jaap/.Outgoing/QF.Ma4Cf3i00VswARC0wR>;
          Wed, 28 Mar 90 11:48:04 -0500 (EST)
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.tigger.andrew.cmu.edu.rt.r3
          via MS.5.6.tigger.andrew.cmu.edu.rt_r3;
          Wed, 28 Mar 90 11:48:03 -0500 (EST)
Message-ID: <ka4Cf3S00VswIRC0p9@andrew.cmu.edu>
Date: Wed, 28 Mar 90 11:48:03 -0500 (EST)
From: Jaap Akkerhuis <jaap+@andrew.cmu.edu>
X-Andrew-Message-Size: 1614+0
Content-Type: X-BE2; 12
If-Type-Unsupported: alter
To: Info-Andrew <info-andrew+@andrew.cmu.edu>
Subject: Re: Serious ezprint bug with patch 004
In-Reply-To: <1165@mtxinu.UUCP>
References: <Ea3xEly1eVVaE3NrJz@northstar.dartmouth.edu>, <ca3yh4m00Vt1E4CEkq@andrew.cmu.edu>,
	<1165@mtxinu.UUCP>

\begindata{text,270170172}
\textdsversion{12}
\template{messages}
Hi Ed.


\excerptedcaption{Excerpts from internet.info-andrew: 28-Mar-90 Re: Serious 
ezprint bug wit.. Ed Gould@ucbvax.Berkeley (1297)}


\quotation{The proper fix to this problem (if I understand the problem 
correctly,

}\quotation{that being that troff is being given a space at the beginning of

}\quotation{a line that should represent a space but not a line break) is not

}\quotation{to alter that space to a non-paddable space (which is what

}\quotation{backslash-space is), but to separate the space from the beginning

}\quotation{of the line with the zero-width non-printing character \\&

}\quotation{(backslash-ampersand).  This should work with all V7 and later

}\quotation{(i.e., written in C) versions of nroff and troff.

}

Close, but no dice. The ``\\ '' (note backslash space) is put in only when the 
next line is a request (.ft etc). Using something like


hallo

\\&\\ again


is not the same thing, since the linebreak on the input will introduce an 
extra (stretchable) space. This might give grieve when you use ``\\ '' to 
maintain a ``supposed to be fixed indentation'' (As far as I remember, that is 
why these things are there in the first place).


A sequence of


hallo\\c

\\&\\ again


might prevent that.


Of course, what the original complainer should do is to have his troff fixed. 
A ``\\ '' is valid troff input with should produce no silly characters but a 
space.


	jaap


PS. 

The same problem (spaces being stretched were you don't want it) pops up in 
the -ms macro package with .IP, (indented paragraph with hanging tag). A


.IP "tag with space" 2i

will actually move the left hand side of the indentation to the right after 
the tag and stretch the space in the tag while

.IP "tag\\ with\\ space"

won't.


But I digress.\
\enddata{text,270170172}

\enddata{text822, 300290}
\begindata{text822, 303407}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
X-Andrew-Authenticated-as: 7650;andrew.cmu.edu;Jaap Akkerhuis
Received: from tigger.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/Ma4D0qq00VswQRSk8T>;
          Wed, 28 Mar 90 12:11:19 -0500 (EST)
Received: from tigger.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/usr21/jaap/.Outgoing/QF.oa4D0HC00VswQRC1cd>;
          Wed, 28 Mar 90 12:10:44 -0500 (EST)
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.tigger.andrew.cmu.edu.rt.r3
          via MS.5.6.tigger.andrew.cmu.edu.rt_r3;
          Wed, 28 Mar 90 12:10:43 -0500 (EST)
Message-ID: <wa4D0H200Vsw8RC1UJ@andrew.cmu.edu>
Date: Wed, 28 Mar 90 12:10:43 -0500 (EST)
From: Jaap Akkerhuis <jaap+@andrew.cmu.edu>
X-Andrew-Message-Size: 1616+0
Content-Type: X-BE2; 12
If-Type-Unsupported: alter
To: Info-Andrew <info-andrew+@andrew.cmu.edu>
Subject: Re: Help !! How do I print without ditroff ??
CC: Fred Hansen <wjh+@andrew.cmu.edu>
In-Reply-To: <Ma4AQZ600VsPMvL7Ia@andrew.cmu.edu>
References: <9003272140.AA01395@oboe.cis.ohio-state.edu>,
	<Ia3yJfK00VswIPE0lZ@andrew.cmu.edu>,
	<Ma4AQZ600VsPMvL7Ia@andrew.cmu.edu>

\begindata{text,270170172}
\textdsversion{12}
\template{messages}
\excerptedcaption{Excerpts from internet.info-andrew: 28-Mar-90 Re: Help !! 
How do I print .. Fred Hansen (803)}


\quotation{Excerpts from internet.info-andrew: 27-Mar-90 Re: Help !! How do I 
print

}\quotation{.. Jaap Akkerhuis (1006+0)

}
\quotation{> The gist of it is that one can use psroff or good old nroff but 
only a

}\quotation{> limited part of ATK will print (No zip, no rasters).

}
\quotation{It shouldn't be too hard to get zip and rasters to print on a 
postscript

}\quotation{printer; they already produce postscript as their print data 
stream.  etc

}
Oops. I goofed. Fooled by the header line,  I assumed that the correspondent 
dind't had ditroff. But looking over it, I'm confused.


Psroff is part of Adobe's TranScript package. There is also ptroff in this 
package.


Psroff is a shell script that uses ditroff.

Ptroff is a shell script that uses good old troff.


So if the problem is with Adobe's TranScript version of psroff, the 
corresepondent might have ditroff after all.


Furthermore, there is also a Public Domain package called psroff (I've never 
seen it but it is mentioned accasionally in comp.tex), which does ``good old 
troff to PostScript'' translation. Maybe this last version is what was meant?


\quotation{This may require that psroff be revised to understand the ! 
convention

}\quotation{of troff input, or it may require an intermediate program.

}
Well, good old troff desn't know about \\! for passing text trough troff and 
it is not trivial to hack it in.


\quotation{If you are desparate to print a raster or zip, you can strip the 
first

}\quotation{characters off each line and send it directly through postscript 
etc.}\quotation{

}

Of course that might work, but to do it to get it inside texts etc. needs some 
hand waving.


	jaap\
\enddata{text,270170172}

\enddata{text822, 303407}
\begindata{text822, 306630}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/8a4G03O00Udd4AsU8a>;
          Wed, 28 Mar 90 15:35:16 -0500 (EST)
Received: from andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q004/QF.Aa4Fz5G00Ui3AIdE4k>;
          Wed, 28 Mar 90 15:34:16 -0500 (EST)
Received: from engrs.unl.edu (engrts02.unl.edu) by andrew.cmu.edu (5.54/3.15) id <AA05276> for Info-Andrew; Wed, 28 Mar 90 15:33:38 EST
Received: by engrs.unl.edu (AIX  2.1 2/4.03)
          id AA00580; Wed, 28 Mar 90 14:33:08 CST
Date: Wed, 28 Mar 90 14:33:08 CST
From: james@engrs.unl.edu (James Nau)
Message-Id: <9003282033.AA00580@engrs.unl.edu>
To: Info-Andrew@andrew.cmu.edu
Subject: Fonts on AIX 2.2.1 with Andrew
Cc: \

I have most of Andrew running on an RT under AIX 2.2.1.  [Thanks to Craig!]
Now, I thought I had it all set up, but when I use help or ez (etc...)
I have font overlaps, ie words run into each other making it very
difficult to make them all out.  I thought I had all of the fonts
installed, and the fonts.alias in place, and that I had rebuilt the
font directory.  Anybody else have/had this problem?  I have tried
various set-ups, and ran /usr/lpp/mf/bin/fixrtx (supposedly to fix fonts
to work on the rt), and none of the combinations have helped.

Thanks
James Nau
james@engrts02.unl.edu 	or
james@engrs.unl.edu

\enddata{text822, 306630}
\begindata{text822, 308264}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
X-Andrew-Authenticated-as: 602;andrew.cmu.edu;Adam Stoller
Received: from fishtank.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/ca4H3lm00as9EXWU9r>;
          Wed, 28 Mar 90 16:47:30 -0500 (EST)
Received: from fishtank.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/usr21/ghoti/.Outgoing/QF.Ma4H1le00as90XTV0t>;
          Wed, 28 Mar 90 16:45:22 -0500 (EST)
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.fishtank.andrew.cmu.edu.sun3.35
          via MS.5.6.fishtank.andrew.cmu.edu.sun3_35;
          Wed, 28 Mar 90 16:45:21 -0500 (EST)
Message-ID: <4a4H1l600as90XTUso@andrew.cmu.edu>
Date: Wed, 28 Mar 90 16:45:21 -0500 (EST)
From: Adam Stoller <ghoti+@andrew.cmu.edu>
X-Andrew-Message-Size: 551+0
Content-Type: X-BE2; 12
If-Type-Unsupported: alter
To: Info-Andrew <info-andrew+@andrew.cmu.edu>
Subject: Re: Fonts on AIX 2.2.1 with Andrew
In-Reply-To: <9003282033.AA00580@engrs.unl.edu>
References: <9003282033.AA00580@engrs.unl.edu>

\begindata{text,2355660}
\textdsversion{12}
\template{messages}
I believe, though someone will most likely correct me if I am wrong, that the 
problem you are experiencing is a server bug.


Andrew is one of the few (if not only) distributions making use of variable 
width fonts - and there were a lot of bugs encountered because much code 
assumed certain things about fonts (like fixed widths) and really screwed up 
with the variable width fonts.


I don't know specifically what the fix is - or if any official patch was ever 
made for the RT AIX 2.2.1 server - but I think that's what you need to get 
fixed.


--fish

\enddata{text,2355660}

\enddata{text822, 308264}
\begindata{text822, 310112}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/0a4IQUC00UkT4SbE9X>;
          Wed, 28 Mar 90 18:22:11 -0500 (EST)
Received: from po2.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q002/QF.Aa4IM:u00jZdI3uk5S>;
          Wed, 28 Mar 90 18:17:31 -0500 (EST)
Received: from uunet.uu.net by po2.andrew.cmu.edu (5.54/3.15) id <AA00966> for info-andrew; Wed, 28 Mar 90 18:15:58 EST
Received: from ibmsupt.UUCP by uunet.uu.net (5.61/1.14) with UUCP 
	id AA12902; Wed, 28 Mar 90 18:13:31 -0500
Received: by ibmsupt.XXX (5.51/5.17)
	id AA03945; Wed, 28 Mar 90 09:47:38  19
Received: by ibmsupt.XXX (5.51/5.17)
	id AA03915; Wed, 28 Mar 90 09:47:06  19
Received: from dolphin by ibmpa.tcspa.ibm.com (5.61/1.14)
	id AA29621; Wed, 28 Mar 90 09:28:42 -0800
Received: by dolphin.tcspa.ibm.com (5.61/1.14)
	id AA24342; Wed, 28 Mar 90 09:28:50 -0800
Date: Wed, 28 Mar 90 09:28:50 -0800
From: ibmsupt!dolphin.tcspa.ibm.com!ibmpa!mlewis@uunet.UU.NET (Mark S. Lewis)
Message-Id: <9003281728.AA24342@dolphin.tcspa.ibm.com>
To: info-andrew@andrew.cmu.edu
Subject: unsplit 8514 source X11R4 available


Subject: unsplit IBM 8514 source code for X11R4 available
Index: ../mit/server/ddx/ibm/ibm8514

Description:	
Earlier this month, I provided the 8514 source code in a series
of 6 postings.  Unknowingly, my posting utility xrn splits lines
greater that 80 chars.  The net result was 145 incorrectly split
lines.

The correct X11R4 8514 source code can be obtained by ftp,
or uucp for IBM/4.3 customers.  The code can be ftped from

	expo.lcs.mit.edu	../contrib/ibm8514.tar.Z
	bikini.cis.ufl.edu	../pub/ibm-rt-fixes/V1.32*

IBM/4.3 customers can uucp these files from ibmsupt in the
/usr/spool/uucppublic/ibm43-fixes directory.

	V1.32_kit.1	59,103 Bytes
	V1.32_kit.2	61,796 Bytes
	V1.32_kit.3	60,982 Bytes
	V1.32_kit.4	62,729 Bytes
	V1.32_kit.5	54,871 Bytes
	V1.32_kit.6	29,170 Bytes

Building X11R4:		
First, make sure the flag is set in ../config/ibm.cf to include then
8514 driver in the server.

#define ibmInclude8514  YES /* YES */

In building the X11R4 server with the 8514 source, the resulting Makefile
contains some 11 -I includes.  The cpp that comes with IBM/4.3 is built
with a maximum of 10 includes.  You may apply the following patch to
cpp and rebuild it.  (Thanks to Dan Ehrlich at Penn. State for the patch.)

Or you may safely delete -I$(TOP) from the ../ibm8514/Makefile.  Note,
that you will have to repeat this deletion if and when the Makefile
gets remade, or you can change the Imakefile for a permanent solution.

=====-----     Mark S. Lewis, IBM AWD Palo Alto    -----======
inet: mlewis%ibmsupt@uunet.uu.net		(415) 855-4489
uucp: uunet!ibmsupt!mlewis              IBM Tie Line: 465-4489

RCS file: RCS/cpp.c,v
retrieving revision 1.1
diff -c -r1.1 cpp.c
*** /tmp/,RCSt1003077	Tue Feb  6 16:56:57 1990
--- cpp.c	Thu Jan 18 14:35:45 1990
***************
*** 132,138 ****
  # define DROP 0xFE	/* special character not legal ASCII or EBCDIC */
  # define WARN DROP
  # define SAME 0
! # define MAXINC 10
  # define MAXFRE 14	/* max buffers of macro pushback */
  # define MAXFRM 31	/* max number of formals/actuals to a macro */
  
--- 132,138 ----
  # define DROP 0xFE	/* special character not legal ASCII or EBCDIC */
  # define WARN DROP
  # define SAME 0
! # define MAXINC 20
  # define MAXFRE 14	/* max buffers of macro pushback */
  # define MAXFRM 31	/* max number of formals/actuals to a macro */
  
***************
*** 159,165 ****
  STATIC	int	fins[MAXINC];
  STATIC	int	lineno[MAXINC];
  
! STATIC	char	*dirs[10];	/* -I and <> directories */
  char *strdex(), *copy(), *subst(), *trmdir();
  struct symtab *stsym();
  STATIC	int	fin	= FIRSTOPEN;
--- 159,165 ----
  STATIC	int	fins[MAXINC];
  STATIC	int	lineno[MAXINC];
  
! STATIC	char	*dirs[20];	/* -I and <> directories */
  char *strdex(), *copy(), *subst(), *trmdir();
  struct symtab *stsym();
  STATIC	int	fin	= FIRSTOPEN;
***************
*** 1180,1186 ****
  					*prund++ = argv[i]+2;
  					continue;
  				case 'I':
! 					if (nd>8) pperror("excessive -I file (%s) ignored",argv[i]);
  					else dirs[nd++] = argv[i]+2;
  					continue;
  				case '\0': continue;
--- 1180,1186 ----
  					*prund++ = argv[i]+2;
  					continue;
  				case 'I':
! 					if (nd>18) pperror("excessive -I file (%s) ignored",argv[i]);
  					else dirs[nd++] = argv[i]+2;
  					continue;
  				case '\0': continue;

\enddata{text822, 310112}
\begindata{text822, 314822}
Return-path: <atkbb+Bad-Addresses@andrew.cmu.edu>
X-Andrew-Authenticated-as: 91;andrew.cmu.edu;Tom Neuendorffer
Received: from dublin.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/Ma4VpFO00Vt1E7Ik8e>;
          Thu, 29 Mar 90 09:36:02 -0500 (EST)
Received: from dublin.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/usr20/tpn/.Outgoing/QF.4a4Vmi600Vt107GV0o>;
          Thu, 29 Mar 90 09:33:18 -0500 (EST)
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.dublin.andrew.cmu.edu.rt.r3
          via MS.5.6.dublin.andrew.cmu.edu.rt_r3;
          Thu, 29 Mar 90 09:33:17 -0500 (EST)
Message-ID: <Ea4Vmhm00Vt107GUsB@andrew.cmu.edu>
Date: Thu, 29 Mar 90 09:33:17 -0500 (EST)
From: Tom Neuendorffer <tpn+@andrew.cmu.edu>
X-Andrew-Message-Size: 417+0
Content-Type: X-BE2; 12
If-Type-Unsupported: alter
To: Info-Andrew <info-andrew+@andrew.cmu.edu>
Subject: Re: Serious ezprint bug with patch 004
In-Reply-To: <ka4Cf3S00VswIRC0p9@andrew.cmu.edu>
References: <Ea3xEly1eVVaE3NrJz@northstar.dartmouth.edu>, <ca3yh4m00Vt1E4CEkq@andrew.cmu.edu>,
	<1165@mtxinu.UUCP>,
	<ka4Cf3S00VswIRC0p9@andrew.cmu.edu>

\begindata{text,270206468}
\textdsversion{12}
\template{messages}


	This is just a follow-up to the net to inform everyone that patch004 does not 
contain the "serious ezprint bug" described in the previous messages. We have 
diagnosed the problem as a bug in the 3812 printer server code at this 
particular site, which caused strange characters to be printed in the place of 
'hard' spaces. We are working with the site to provide a work-around solution.


	Regards,

		Tom Neuendorffer

\enddata{text,270206468}

\enddata{text822, 314822}
\begindata{text822, 316640}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/Ea4Ymd200UkT0F:U8H>;
          Thu, 29 Mar 90 12:58:03 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q000/QF.Ya4Yhta00UkT8F8U5L>;
          Thu, 29 Mar 90 12:53:04 -0500 (EST)
Received: from IBM.COM by po3.andrew.cmu.edu (5.54/3.15) id <AA04375> for Info-Andrew; Thu, 29 Mar 90 12:51:36 EST
Received: from rchland by IBM.COM (IBM VM SMTP R1.2.1MX) with BSMTP id 4509; Thu, 29 Mar 90 08:42:58 PST
Received: from po1.rchland.ibm.com by RCHGATE.rchland.ibm.com (IBM VM SMTP R1.2.1) with TCP; Thu, 29 Mar 90 10:19:55 CST
Received: by po1.rchland.ibm.com (5.51/4.7) id <AA09563> for Info-Andrew@andrew.cmu.edu; Thu, 29 Mar 90 10:23:49 CST
Received: via switchmail; Thu, 29 Mar 90 10:23:48 -0600 (CST)
Received: from resolute.rchland.ibm.com via qmail
          ID </afs/rchland.ibm.com/service/mailqs/q000/QF.Ia4XO:o91E47I0SE55>;
          Thu, 29 Mar 90 10:23:40 -0600 (CST)
Received: from resolute.rchland.ibm.com via qmail
          ID </afs/rchland.ibm.com/usr1/wdr/.Outgoing/QF.ka4XO0k91E474CRUtV>;
          Thu, 29 Mar 90 10:23:29 -0600 (CST)
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.resolute.rchland.ibm.com.rt.aix221
          via MS.5.6.resolute.rchland.ibm.com.rt_aix221;
          Thu, 29 Mar 90 10:23:26 -0600 (CST)
Message-Id: <Aa4XNyQ91E47MCRUgT@rchland.ibm.com>
Date: Thu, 29 Mar 90 10:23:26 -0600 (CST)
From: Wayne Richardson <wdr+@rchland.ibm.com>
To: Info-Andrew@andrew.cmu.edu
Reply-To: <wdr@ibm.com>
Subject: Re: Fonts on AIX 2.2.1 with Andrew
In-Reply-To: <9003282033.AA00580@engrs.unl.edu>
References: <9003282033.AA00580@engrs.unl.edu>

Excerpts from ext.cmu.info-andrew: 28-Mar-90 Fonts on AIX 2.2.1 with
Andrew James Nau@RCHGATE.rchlan (615)

> I have most of Andrew running on an RT under AIX 2.2.1.  [Thanks to
> Craig!]  Now, I thought I had it all set up, but when I use help or ez
> (etc...)  I have font overlaps, ie words run into each other making it
> very difficult to make them all out.  I thought I had all of the fonts
> installed, and the fonts.alias in place, and that I had rebuilt the font
> directory.  Anybody else have/had this problem?  I have tried various
> set-ups, and ran /usr/lpp/mf/bin/fixrtx (supposedly to fix fonts to work
> on the rt), and none of the combinations have helped.

> Thanks
> James Nau
> james@engrts02.unl.edu 	or
> james@engrs.unl.edu


Make a shell script called fixfont that looks something like the
following:

-----------------------------
#! /bin/sh
CWD=`pwd`
cd /tmp
for i in $*; do
  echo fixing $i...
  rm -f tmp_glyphs_tmp core
  cp $CWD/$i $i
  chmod +w $i $CWD/$i
  fixrtx -h $i
  cp $i $CWD/$i
  rm -f /tmp/$i
done
-----------------------------

Then cd to /usr/andrew/X11fonts and run it as follows:

	fixfont cou*.rtx hel*.rtx tim*.rtx msg*.rtx

-wr
\enddata{text822, 316640}
\begindata{text822, 319810}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/ga4he9W00UddEHWU8q>;
          Thu, 29 Mar 90 23:03:22 -0500 (EST)
Received: from po2.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q001/QF.Ya4hbdq00jZdAC9k4O>;
          Thu, 29 Mar 90 23:00:48 -0500 (EST)
Received: from ucbvax.Berkeley.EDU by po2.andrew.cmu.edu (5.54/3.15) id <AA03618> for info-andrew; Thu, 29 Mar 90 23:00:19 EST
Received: by ucbvax.Berkeley.EDU (5.61/1.41)
	id AA22365; Thu, 29 Mar 90 19:53:50 -0800
Received: from USENET by ucbvax.Berkeley.EDU with netnews
	for info-andrew@andrew.cmu.edu (info-andrew@andrew.cmu.edu)
	(contact usenet@ucbvax.Berkeley.EDU if you have questions)
Date: 30 Mar 90 03:20:18 GMT
From: auspex!guy@uunet.uu.net  (Guy Harris)
Organization: Auspex Systems, Santa Clara
Subject: Re: documentation of the raster format?
Message-Id: <3103@auspex.auspex.com>
References: <4a46zjIB0KGWEW4MAS@holmes.parc.xerox.com>, <ka4=CFW00as90VpEUt@andrew.cmu.edu>
Sender: info-andrew-request@andrew.cmu.edu
To: info-andrew@andrew.cmu.edu

>> Where is the file with the description of the raster file format? 
>
>$(DESTDIR)/include/rastfile.h

Err, that's only if you have WM_ENV defined; check the Imakefile in
".../atk/raster/lib".

Also, it seems to describe a binary format, and as Fred said:

> RasterFile.d (now rastfile.d) describes the format of the "old" binary
> rasters.

so it might be the format for the old rasters.

> The ATK raster file format--ASCII encoded--is described in a
> file that was once called rasterspec.d.  It was deleted from the
> distribution, but is on one of our backup tapes if you want to know the
> format.

Why was it deleted from the distribution?  It seems to be useful for at
least one person (Bill), and may be useful for others.
\enddata{text822, 319810}
\begindata{text822, 321900}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/Qa4th1a00Ui34Fd09h>;
          Fri, 30 Mar 90 12:45:38 -0500 (EST)
Received: from andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q005/QF.ga4teZe00Ui34FaE4:>;
          Fri, 30 Mar 90 12:43:02 -0500 (EST)
Received: from engrs.unl.edu (engrts02.unl.edu) by andrew.cmu.edu (5.54/3.15) id <AA04500> for info-andrew; Fri, 30 Mar 90 12:42:48 EST
Received: by engrs.unl.edu (AIX  2.1 2/4.03)
          id AA06505; Fri, 30 Mar 90 11:42:14 CST
Date: Fri, 30 Mar 90 11:42:14 CST
From: james@engrs.unl.edu (James Nau)
Message-Id: <9003301742.AA06505@engrs.unl.edu>
To: info-andrew@andrew.cmu.edu
Subject: Fonts on AIX RT 2.2.1 (still)

Thanks Wayne.  That (fixrtx -h ) actually did fix the help/ez/... fonts.  
I had done that same thing (essentially) before.  What I found out today, 
is that /usr/lpp/X11/bin/mkfontdir does not seem to give any hint of an error
if it doesn't (can't) write fonts.dir.  It goes through all the motions,
but no fonts.dir is made, and no warning was given.  After an su,
it was all better.

But, it created another problem.  Now, whenever I move the mouse in/out
of the help window, the title at the top changes into a mixture of
letters and white blocks!  This I wouldn't mind, but if the screen-saver
kicks in, and then I refresh the screen (with some sort of input) then
all of the fonts on the screen turn into a mixture of characters and
these blocks, and blanks :-(

Anyone else have this problem, and/or know how to fix it?

Thanks
James Nau

james@engrs.unl.edu   or
james@engrts02.unl.edu
\enddata{text822, 321900}
\begindata{text822, 323802}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/Qa4umum00jZdAHL08S>;
          Fri, 30 Mar 90 14:00:12 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q001/QF.ca4ulOO00UkTQHZk5A>;
          Fri, 30 Mar 90 13:58:39 -0500 (EST)
Received: from thumper.bellcore.com by po3.andrew.cmu.edu (5.54/3.15) id <AA05010> for info-andrew+; Fri, 30 Mar 90 13:57:54 EST
Received: by thumper.bellcore.com (5.54/4.7)
	id AA28435; Fri, 30 Mar 90 13:57:29 EST
Received: by greenbush.bellcore.com (4.12/4.7)
	id AA00880; Fri, 30 Mar 90 13:57:44 est
Date: Fri, 30 Mar 90 13:57:44 est
From: nsb@thumper.bellcore.com (Nathaniel Borenstein)
Message-Id: <9003301857.AA00880@greenbush.bellcore.com>
To: info-andrew+@andrew.cmu.edu
Subject: Dialog box colors?


Is there any preference for specifying the colors in the dialog boxes?

No matter what the main window looks like, my dialog boxes are always black on white.  I'm not sure I'd always want them the same color as the main window, so I guess what I'd like to see is preferences of the form:

programname.dialogboxforegroundcolor:  blue
programname.dialogboxbackgroundcolor:  yellow

Does anything like this currently exist?
\enddata{text822, 323802}
\begindata{text822, 325327}
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-strip.dl)
          ID </afs/andrew.cmu.edu/usr22/susan/Mailbox/wa59E7u00jZdA6U09W>;
          Sat, 31 Mar 90 06:27:05 -0500 (EST)
Received: from po3.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q000/QF.oa599GO00UkT03tU5T>;
          Sat, 31 Mar 90 06:19:49 -0500 (EST)
If-Type-Unsupported: alter
Received: from andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q002/QF.sa597=C00Ui3I3ck4D>;
          Sat, 31 Mar 90 06:17:32 -0500 (EST)
Received: from vma.cc.cmu.edu by andrew.cmu.edu (5.54/3.15) id <AA00926> for info-andrew; Sat, 31 Mar 90 06:17:07 EST
Received: from VMA.CC.CMU.EDU by vma.cc.cmu.edu (IBM VM SMTP R1.2.1) with BSMTP id 1930; Sat, 31 Mar 90 06:14:46 EST
Received: from Bearn.ac.be by VMA.CC.CMU.EDU (Mailer R2.04) with BSMTP id 1929;
 Sat, 31 Mar 90 06:14:45 EST
Received: from BANRUC01.BITNET (MAILER) by Bearn.ac.be (Mailer R2.05) with
 BSMTP id 2934; Sat, 31 Mar 90 13:15:30 +0200
Date: March 31, 1990  13:16:31
From: mailer%BANRUC01.BITNET@vma.cc.cmu.edu
Subject: Rerouting ...
To: info-andrew%andrew.cmu.edu@vma.cc.cmu.edu
Return-Path: <pive%rucageo@vma.cc.cmu.edu>
Received: from rekhp by MAZE ; 31 Mar 90 13:11:58
Received: from rucageo.ac.be by rekhp; Sat, 31 Mar 90 13:11:04 -0100
Received: by rucageo.ac.be (3.2/SMI-3.2)
    id AA04875; Sat, 31 Mar 90 13:11:14 +0100
Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.rucageo.noname.sun3.4
          via MS.5.6.rucageo.noname.sun3_4;
          Sat, 31 Mar 90 13:11:11 +0100 (MET)
Message-Id: <0a59tTxY0005MGmkh2@rucageo.noname>
Date: Sat, 31 Mar 90 13:11:11 +0100 (MET)
From: Pieter Verhaeghe <pive%rucageo.ac.be@vma.cc.cmu.edu>
X-Andrew-Message-Size: 2682+1
Content-Type: X-BE2; 12
To: <info-andrew%andrew.cmu.edu%maze@vma.cc.cmu.edu>
Subject: patches and bugs

\begindata{text,1598000}
\textdsversion{12}
\template{messages}
I recently received the X11R4 tapes and I have installed the Andrew Toolkit
and Messages. While I was testing this new release, I discovered a few bugs.
So I tried to figure out which patchlevel I've installed: \bold{patchlevel 0}
(do never assume that someone else did the job for you). So I ask you if it is
possible to send me the patchlevels?(if you can't, can you tel me where I can
find it; note that I don't have ftp acces)

I have a few bugs and questions, but if the patches fixes these bugs, you
don't have to answer my questions (I have installed Andrew on a sun 3/60 with
sunOS3.5).


When I starts ZIP, the Xservers crashes.


When I try to use the preview command in EZ it displays my text exactly like I
typed it instead of format it through troff: in my preference file I have put
the following commands:

\quotation{formatcommand: pic /tmp/%s.n : tbl : eqn : troff -ms -Tpost :

previewcommand: preview -f -o %s}

note that when I type the following sequence in my typescript, everything just
works fine:

\quotation{pic  <filename> : tbl : eqn : troff -ms -Tpost : preview -f}

I have even tried to change the \italic{FormatCommand} and the
\italic{PreviewCommand} in the AndrewSetup file:
\italic{/usr/andrew/etc/AndrewSetup}.


When I send mail to an adress with dots (".") in, we have to send it via two
other computers.

\indent{when I send mail to \italic{info-andrew@andrew.cmu.edu} I have top
type the following sequence: \italic{info-andrew%andrew.cmu.edu@maze@rekhp}}

Now is my question if it is possible to configure the adress validation
routines in such a way that when he "sees" a dot in an adress, that he
automaticaly appends the sequence \italic{@maze@rekhp} to the adress (we don't
use the Andrew delivery system) without putting every host with a dot in it in
an alias-file (almost every week new hosts should be added and old hosts
deleted).


When we use in cui the command \italic{reconstruct} with \italic{option 2} he
only reconstructs the specified folder when I first cleared the file
\italic{.MS_MsgDir} (\italic{cat /dev/null > .MS_MsgDir}). In the previuos
release he reconstructed the folder just fine.


When I use ch\{i,a,o\}mp something verystranges happens: I created a file
\italic{events.champ} and \italic{events.calendar} like discribed in the help
files. Everything fine till now. I start ez with the file events.calendar I
don't now if the day friday falls on March 30 or March 31:

\begindata{chomp,1665764}
\enddata{chomp,1665764}
\view{chompview,1665764,47,0,0}

Thank you




-------------------------------------------------------------------

P. Verhaeghe            Tel:        +32 3 2180308

University of Antwerp, RUCA        Telex:    RUCABI 33362

Algebra / Geometry            Fax:      +32 3 2180217

Groenenborgerlaan 171        E-mail: pive@banruc01.bitnet

B-2020 Antwerpen, Belgium                        (pive@ccu.uia.ac.be)

-------------------------------------------------------------------

\enddata{text,1598000}


\enddata{text822, 325327}
