HDTenEightyP/NetNews huggingface dataset:
From: lecom@slhp1.epfl.ch (Claude Lecommandeur)
Newsgroups: comp.soft-sys.andrew
Subject: Re: Finalize Object function
Date: 29 Jul 92 09:03:36 GMT
Organization: Ecole Polytechnique Federale de Lausanne

In article <1992Jul28.160804.12@and.csc.liv.ac.uk>, damon@csc.liv.ac.uk (Mr. D.A. Chaplin) writes:
|> Is the FinalizeObject function automatically called for the top level
|> object when you Quit? I would have thought this would happen but it
|> doesn't seem to. If it's not automatic, how should I call it - in the Quit
|> function?
|> 
|> This problem may be related to a warning message I get when class
|> preprocesses every header:
|> 
|> 
|>         /usr/local/andrew/bin/class -s -I../include -I/usr/local/andrew/include/atk -I/usr/local/andrew/include -I/usr/include/X11R4 muchview.ch
|>  WARNING:muchview.ch: - FinalizeObject routine declared with no InitializeObject routine
|> 

    This warning is due to a buggy lex on HP. What i did was to redefine LEX
to call a script which do the lex on a Sun :

LEX=sunlex  (in some makefile)

and sunlex is :

#!/bin/sh 
# ----- executing lex on a sun to work around a bug on the HP one
#
if [ $# != 1 ]; then
    echo "Usage : $0 lexfile"
    exit 1
fi
cat $1 | remsh somesun -l someuser_with_.rhosts lex -t > lex.yy.c

-- 


                    Claude Lecommandeur
                    Service Informatique Central
                    Ecole Polytechnique Federale de Lausanne
                    1015 LAUSANNE (SWITZERLAND)
                    E-Mail : lecom@sic.epfl.ch
                    Tel : (41 21) 693-22-97
From: dunkel@CARBON.CHEM.UTAH.EDU
Newsgroups: comp.soft-sys.andrew
Subject: Name conflict IBM help and Andrew help
Date: 25 Jul 92 03:39:47 GMT
Distribution: world
Organization: The Internet

IBM's AIX comes with a 'help' command on an RS/6000. If I add the
binary Andrew help directory before the system directories in my PATH
variable, I seem to be getting a strange behavor for some commands. If
I add the Andrew help directory after the system directories I get
the (useless) IBM help stuff.

I am not supposed to delete the IBM help stuff on our systems. I
tried to rename the Andrew 'help' without success:

[/data/xccbond/Bin] 3009> ls -alF H*
lrwxrwxrwx   1 dunkel   staff          4 Jul 10 16:37 Help@ -> help*
[/data/xccbond/Bin] 3010> Help
runapp: There is no known application or datatype called Help.
[/data/xccbond/Bin] 3011> help
Starting help (Version 7.2, ATK 5.1); please wait...

Is there a solution for the name conflict of IBM help and 
Andrew help?
   __                                      _
  |  )      o       |              |      | \            |        |
  | /    _          |_   _    _   _|      |  |           |     _  |
  |/\   /_) |  ^ ^  | |  _)  |   / |      |  | | |  ^ ^  |_)  /_) |
  |  \_/\___|_| | |_| |_(_|__|___\_|      |_/__|_|_| | |_| \_/\___|

  Department of Chemistry            Office: (801) 581-7351         
  2020 Henry Eyring Building b113    Home:   (801) 582-7516         
  University of Utah                 FAX:    (801) 581-8433         
  Salt Lake City, UT 84112           dunkel@chemistry.chem.utah.edu 
Newsgroups: comp.soft-sys.andrew
From: root@rz.uni-konstanz.de (Z. Horvat)
Subject: Re: Running Metamail as root
Reply-To: root@rz.uni-konstanz.de
Organization: Rechenzentrum Universitaet Konstanz
Date: Thu, 23 Jul 1992 08:09:04 GMT


Many thanks to the person who suggested either to modify the sources
or to build a fake shellscript around metamail. Sorry, i can`t remember
his name. Now it works as expected.

One thing makes me still wonder. The pushbutton is still there, in many 
messages, even in messages i have written myself. I keep them in
a folder named "ougoing". Selecting this folder often shows these messages
with just a push button in them, which i have to press to see the contents.
Is this the way it should work ?

Another thing, which i find sometimes annoying, is the sometimes too strict
type of address validation. E.g. Person Abc Def, which is only reachable via
a gateway, would be adressed like that:

To:@xyz.org:Abc.Def@blah.blah.blah.xyz.org

Adressing this person that way with elm works and the message gets delivered.
Using messages, it complains that the adress is not valid. In fact, the adress
is valid, but messages just thinks so. Wouldnt it be a more user friendly way
if messages would warn and ask ?

One other thing that i miss, is to build aliases or nicknames "on the fly". Lets
say a menu option which allows me to extract the mail adress from the current
message im in and assign a alias to it. Maybe this function is already there and
ive just missed something ?




---
------------------------------------
Z. Horvat
Rechenzentrum Universitaet Konstanz
7750 Konstanz
+49(0)7531-88-2405

root@nike.rz.uni-konstanz.de
rzhorv@nyx.uni-konstanz.de
------------------------------------
From: AREMY@pervm1.vnet.ibm.com ("Alfredo Remy Pflucker")
Newsgroups: comp.soft-sys.andrew
Subject: (none)
Date: 30 Jul 92 15:34:32 GMT
Distribution: world
Organization: The Internet

I just got the CD-ROM release of the ATK dated May, 1992.  I have an
RS/6000 and I read that the binaries provided on the disc are for
AIX 3.1.  I have AIX 3.2.  Should I compile the Andrew source or
will the rs_aix31 binaries run okey?

Alfredo Remy
From: gk5g+@ANDREW.CMU.EDU (Gary Keim)
Newsgroups: comp.soft-sys.andrew
Subject: Re: Is there any reason *not* to install OW fonts in "X11fonts"?
Date: 22 Jul 92 16:41:25 GMT
Distribution: world
Organization: The Internet

Excerpts from misc: 22-Jul-92 Re: Is there any reason *no..
Bob_Dew@alw.nih.gov (506*)

> I've always wondered whether there was any reason *to* install OW fonts
> in a separate directory.  Keeping separate font directories means you
> somehow need to make ATK recognize multiple font paths in order to run
> in a mixed environment of MIT/MOTIF and OW users.  Its much simpler to
> lump all fonts into a single directory, letting the respective font
extensions distinguish OW, BDF, and MIT/MOTIF fonts.  

As Rob already pointed out, you can't mix and match different font
formats in the same directory.  Mkfontdir croaks on this.  I'd rather
see multiple font diretories but leave it to the user to xset fp
correctly in their startup files.

Gary Keim
Andrew Consortium
From: rr2b+@ANDREW.CMU.EDU (Robert Andrew Ryan)
Newsgroups: comp.soft-sys.andrew
Subject: Re: preview question
Date: 31 Jul 92 15:24:38 GMT
Distribution: world
Organization: The Internet

Excerpts from internet.other.info-andrew: 30-Jul-92 preview question
Mathew Yeates@ucbvax.Ber (504)

> do I need something else? How can I find out whats going on?
> I recompiled and tried to turn on debugging (self->debug=TRUE) in
> preview.c but I still get nothing. In general, how are these
> things debugged? Do I have to run with runapp?

My usual method for debugging the printing commands is to make the final
stage a redirect to a file, where I can see if that is as expected.  To
try this you could have:

*.PreviewCommand:cat>/tmp/foo.ditroff

-Rob Ryan
Andrew Consortium
From: guy@Auspex.COM (Guy Harris)
Newsgroups: comp.soft-sys.andrew
Subject: "tm" template doesn't set fixed 8-character tab ruler
Date: 22 Jul 92 04:00:46 GMT
Organization: Auspex Systems, Santa Clara

"tm" gives really odd tabs.  The reason appears to be that its style
template file doesn't set the "TabsCharacters" flag, which appears to
make tab stops every N positions, rather than a variable tab ruler - is
the New World Order of ATK tabs documented anywhere?

In any case, here's a patch to "contrib/tm/tm.tpl":

*** tm.tpl.dist	Thu Jan 23 12:18:47 1992
--- tm.tpl	Tue Jul 21 20:57:29 1992
***************
*** 12,17 ****
--- 12,18 ----
  attr:[Justification LeftJustified Point 0]
  attr:[LeftMargin LeftEdge Int 16]
  attr:[Indent LeftMargin Int -16]
+ attr:[Flags TabsCharacters Int Set]
  attr:[Flags ContinueIndent Int Set]
  attr:[FontFace FixedFace Int Set]
  attr:[FontFamily AndyType Int 0]}
From: janssen@parc.xerox.com (Bill Janssen)
Newsgroups: comp.soft-sys.andrew
Subject: Re: Is there any reason *not* to install OW fonts in "X11fonts"?
Date: 23 Jul 92 02:29:14 GMT
Distribution: world
Organization: The Internet

Excerpts from ext.andrew: 22-Jul-92 Re: Is there any reason *no..
Bob_Dew@alw.nih.gov (507*)

> Its much simpler to
> lump all fonts into a single directory, letting the respective font
> extensions distinguish OW, BDF, and MIT/MOTIF fonts.  

Yes, we've done that here, and it seems to work quite well.

Bill



Newsgroups: comp.soft-sys.andrew
From: datri@convex.com (Anthony A. Datri)
Subject: Re: Is there any reason *not* to install OW fonts in "X11fonts"?
Organization: Engineering, CONVEX Computer Corp., Richardson, Tx., USA
Date: Wed, 22 Jul 1992 05:13:05 GMT
X-Disclaimer: This message was written by a user at CONVEX Computer
              Corp. The opinions expressed are those of the user and
              not necessarily those of CONVEX.


When I built 5.1, the install didn't create a fonts.dir in X11fonts --
I had to copy in the 5.0 one manually.
-- 

======================================================================8--<
Newsgroups: comp.soft-sys.andrew
From: rdew@alw.nih.gov (Bob Dew)
Subject: Re: pb with sendmail
Organization: National Inst. of Health, DCRT, CSL
Date: Thu, 23 Jul 1992 14:38:06 GMT

In article <25242@sophia.inria.fr>, jls@ithaque.inria.fr (Jean-Luc Szpyrka) writes:
|> 
|>  When I sent a mail (using sendmail), a sign '+' (plus) is added to the login
|>  name of the sender.
|> 
|>  I don't expect the e-mail address <jls+@sophia.inria.fr> 
|>  AND 
|>  I don't want to use the Andrew Mail System, but /usr/lib/sendmail (v 5.21)
|>    ==========                                    =================


The "plus" is used the by the Andrew Message Delivery System (AMDS) to signify
name validation.  Apparently you compiled Andrew with "RUN_AMDS_ENV" defined in your
site.h configuration file.  This means that messages was built with stubs that replace
/bin/mail and /usr/lib/sendmail with calls to AMDS.

If you want to run AMS using your system's regular sendmail system, then you'll have
to recompile Andrew with "RUN_AMDS_ENV" undefined.  This will build a messages program that
uses sendmail and /bin/mail, rather than the AMDS, for local mail delivery.

-Bob
From: R.Rada@compsci.liverpool.ac.uk
Newsgroups: comp.soft-sys.andrew
Subject: network analysis tools?
Date: 25 Jul 92 14:50:27 GMT
Organization: The Internet

Has anyone prepared an Andrew program that would help us manage PERT,
CPM, or other network analysis plans in our documents?  This is not
handled with the current Andrew programs chart, chimp, obj, table, or
zip.  
Thank you, Roy Rada
Newsgroups: comp.soft-sys.andrew
From: mathew@elroy.Jpl.Nasa.Gov (Mathew Yeates)
Subject: preview question
Organization: Image Analysis Systems Group, JPL
Date: Thu, 30 Jul 1992 21:58:20 GMT

I'm having trouble preview documents. After selecting "preview" from
the ez menu, a window pops up and then immediately dissapears.
There is no warning or error message.

My preference file contains
*.FormatCommand: psroff -t /tmp/%s.n |
*.PrintCommand: lpr


do I need something else? How can I find out whats going on?
I recompiled and tried to turn on debugging (self->debug=TRUE) in
preview.c but I still get nothing. In general, how are these
things debugged? Do I have to run with runapp?

-Mathew
From: gk5g+@ANDREW.CMU.EDU (Gary Keim)
Newsgroups: comp.soft-sys.andrew
Subject: Re: Andrew on SCO?
Date: 21 Jul 92 16:36:43 GMT
Distribution: world
Organization: The Internet

Excerpts from misc: 21-Jul-92 Andrew on SCO? Vance Shipley@ucbvax.Ber (287)

> I'd like to get in on the fun but all I have are all these PC's
> running SCO (Santa Cruz Operation) stuff.  I'd like to get andrew
> going on a 486 running ODT V2.0.  What advice could anyone offer me?

We provide "nominal" support for SCO UNIX.  That means that the code is
suppose to work w/SCO, but we don't have a 386 box installed with ODT,
so we haven't been able to confirm or deny that it does work.  This is
on our ToDo list but I don't think that it's near the top.

Gary Keim
Andrew Consortium
From: nsb@THUMPER.BELLCORE.COM (Nathaniel Borenstein)
Newsgroups: comp.soft-sys.andrew
Subject: Re: Running Metamail as root
Date: 22 Jul 92 12:01:15 GMT
Distribution: world
Organization: The Internet

Well, there was a concern that running metamail as root  could lead to
unanticipated security problems via the mailcap file, but  so far I don't
really know of any way for that  to happen, and I'm thinking of 
getting rid of this feature in future versions anyway.  I see no real harm
in Gary's  suggestion.  -- NB
From: rskm+@rchland.ibm.com (Robert Kemmetmueller)
Newsgroups: comp.soft-sys.andrew
Subject: ez2ascii bug
Date: 22 Jul 92 20:20:40 GMT
Reply-To: "Robert Kemmetmueller" <rskm@rchland.vnet.ibm.com>
Distribution: world
Organization: The Internet

ez2ascii sometimes does nasty things to files that DON'T happen to
bedatastreams.  e.g.

/tmp>  cat fubar
This is a file with a backslash, yes, a \ character, in it.
It's also got a lot of other useful information in it and
I wouldn't want it to go away just because this file doesn't
have any styles in it.
/tmp>  ez2ascii fubar
This is a file with a backslash, yes, a
/tmp> 
For whoever fixes this:

    ez2ascii.c is hardcoded to call UnScribeInit()with a " 12"
    parameter.  This seems to tell UnScribeInit that thefile is going to
    be a datastream whether it is or not.

    Suggestion: A minimal hack would be to make ez2ascii look for
    a"\begindata" at the start of a file, and assume datastream version
    12IF it finds one.  (Otherwise call it version 0, for plain text?)

    P.S. In case you were thinking "only a true dingleberrywould run a
    plain file through ez2ascii in the FIRST place", pleasenote that we
    have a local tool that does exactly that, before sending messagesto
    a mainframe's message server, (that's how the problem got noticed). 
    (Thewhole operation was put in place long, long ago; (maybe the
    latestmessages can handle that by  itself now?), but I digress...)
Oooh, check this out (or just ignore the mess ifyou don't have a bits1
font at your site...).
From: rr2b+@ANDREW.CMU.EDU (Robert Andrew Ryan)
Newsgroups: comp.soft-sys.andrew
Subject: Re: Is there any reason *not* to install OW fonts in "X11fonts"?
Date: 22 Jul 92 15:34:00 GMT
Distribution: world
Organization: The Internet

In a recent pass over xim.c I changed it to accept a preference and an
environment variable to determine what font path to add.  (This still
isn't quite right, really the "right" way is for the normal X, or OW,
startup sequence to add the appropriate paths I think...)   You can also
use the preference or environment variable to disable xim's attempt to
set the fontpath.

There are a couple reasons not to put different types of fonts in one dir...

1.  If both formats require a fonts.dir, which one do you use?  Will it
be compatible with the other?

2.  Some mkfontdir implementations get confused by extraneous files.

3.  Sometimes different formats have the same extensions.  (For example
as near as I can tell MIT R5 pcf fonts work with DEC R4 servers, but not
vice-versa. Both use a .pcf extension)

-Rob Ryan
Andrew Consortium
From: jls@ithaque.inria.fr (Jean-Luc Szpyrka)
Newsgroups: comp.soft-sys.andrew
Subject: pb with sendmail
Date: 23 Jul 92 12:33:30 GMT
Reply-To: jls@sophia.inria.fr
Organization: Inria Sophia Antipolis


 I just install andrew and I have the following problem.


 PB:
 ---

 When I sent a mail (using sendmail), a sign '+' (plus) is added to the login
 name of the sender.

 For example, the header of a received mail is:

 Date: Thu, 23 Jul 1992 10:12:55+0200 (MET DST)
 From: "Jean-Luc Szpyrka, C014,C657832" <jls+@sophia.inria.fr>
 To: jls@sophia.inria.fr
 Subject: testing..
 
 I don't expect the e-mail address <jls+@sophia.inria.fr> 
 AND 
 I don't want to use the Andrew Mail System, but /usr/lib/sendmail (v 5.21)
   ==========                                    =================

 Andrew is running on a Sun Sparstation 1, with the following AndrewSetup file:

#
# fichier de config des Andrew Toolkit
# ------------------------------------
#
#  creation: jls
#  date    : 21 Juillet 1992
#
ThisDomain: sophia.inria.fr
AMS_UseWP: no
AMS_NonAMSDelivery: yes
AMS_LocalMailSystemExists: no
AMS_WSRunsQueuemail: no
AMS_ThisDomainAuthFromWS: yes
AMS_OnlyMail: yes
#
AMS_NonViceHost: yes
#
WPIUpdateReqAddr: wd00+WPI-UPDATE-REQUEST@andrew.cmu.edu
#
AMS_ValidateDestHosts: no
AMS_UUCPSupported: yes
AMS_DeliveryVisGethostbyname: yes
AMS_AliasesValidation: no
AMS_WPValidation: 0
AMS_PasswdValidation: 0
AMS_LocalDatabaseValidation: 0
#
AMS_MailboxPrefix: /usr/spool/mail
OldSendmailProgram: /usr/lib/sendmail
AMS_StrictStandaloneLocking: no
#
PostmasterName: jls@sophia.inria.fr
PostmasterTitle: LeMaitreDesPostes
PostmasterMailbox: /u/ithaque/0/jls/.MESSAGES/Postmaster
#
NNTPhost: sophia.inria.fr
Organisation: INRIA Sophia-Antipolis (France)



 --------------------------------------------------------------------
 Jean-luc Szpyrka
 Email:  jls@sophia.inria.fr			Tel: (33) 93 65 78 69
 --------------------------------------------------------------------
From: Craig_Everhart@TRANSARC.COM
Newsgroups: comp.soft-sys.andrew
Subject: Re: Running Metamail as root
Date: 22 Jul 92 14:52:44 GMT
Distribution: world
Organization: The Internet

AMS indeed calls sendmail directly.  Are you sidetracked by the thing
installed from ams/delivery/sendmail?  That's just a cover program
intended to catch references to UCB-style sendmail when AMDS has been
installed.  Non-AMDS AMS pipes mail to the OldSendmailProgram string
variable contents, which is initialized to /usr/lib/sendmail in the
non-AMDS case and is expected to behave like UCB-style sendmail.

You can change the string variable OldSendmailProgram via AndrewSetup
and have it point to a UPAS wrapper.  To the extent that you've already
done this via /usr/lib/sendmail, perhaps AMS uses a sendmail option that
your wrapper doesn't expect.  You can find those options given by
overhead/mail/lib/dropoff.c .

Hope that this speaks to your concerns.

		Craig
From: rr2b+@ANDREW.CMU.EDU (Robert Andrew Ryan)
Newsgroups: comp.soft-sys.andrew
Subject: Re: "tm" template doesn't set fixed 8-character tab ruler
Date: 22 Jul 92 15:41:17 GMT
Distribution: world
Organization: The Internet


Excerpts from internet.other.info-andrew: 22-Jul-92 "tm" template
doesn't set f.. Guy Harris@uunet.uu.net (705)

> "tm" gives really odd tabs.  The reason appears to be that its style
> template file doesn't set the "TabsCharacters" flag, which appears to
> make tab stops every N positions, rather than a variable tab ruler - is
> the New World Order of ATK tabs documented anywhere?

Sorry, I'm afraid not.

I made the change to tm.tpl you suggested.

Thanks,
-Rob Ryan
Andrew Consortium
From: Craig_Everhart@TRANSARC.COM
Newsgroups: comp.soft-sys.andrew
Subject: Re: pb with sendmail
Date: 23 Jul 92 17:10:15 GMT
Distribution: world
Organization: The Internet

I'd alter the AndrewSetup file so that AMS_LocalMailSystemExists has a
``yes''.  There's also a misspelling of AMS_DeliveryViaGethostbyname, in
case you were wondering why that didn't have any effect.

You can use a line like ``AMS_UseridPlusWorks: no'' in AndrewSetup.

I don't know if you're getting the userid+ notation because of
RUN_AMDS_ENV residue or what, but you can override the compile-time
defaults in AndrewSetup.  You may have to work to override all the
compile-time defaults, which is what I'm suggesting here.

		Craig
From: Bob_Dew@ALW.NIH.GOV
Newsgroups: comp.soft-sys.andrew
Subject: Re: Is there any reason *not* to install OW fonts in "X11fonts"?
Date: 22 Jul 92 20:37:55 GMT
Distribution: world
Organization: The Internet


> The problem is that this only works when the formats don't conflict.... 
> Ie here at CMU I sometimes run MIT R5, sometimes DEC R4, in this
> particular case I can get away with using the MIT fonts, but what if the
> MIT fonts didn't work with DEC and vice-versa, adding both font dirs
> doesn't help if the wrong one is first... (and if the server isn't smart
> enough to skip it.)

> -Rob Ryan
> Andrew Consortium

You could chain font paths effectively at the administrative level via
.preferences if you could set a "*.fontpath", as you once could for the
Andrew Window Manager. 

Any way to work in a user-defined X11 fontpath into xim?  That would
probably be the best of all worlds.

-Bob
From: janssen@parc.xerox.com (Bill Janssen)
Newsgroups: comp.soft-sys.andrew
Subject: Re: Is there any reason *not* to install OW fonts in "X11fonts"?
Date: 23 Jul 92 18:25:38 GMT
Distribution: world
Organization: The Internet

Excerpts from ext.andrew: 22-Jul-92 Re: Is there any reason *no.. Robert
Andrew Ryan@andre (1635+0)

> But I believe in general the right approach is to get ATK out of the
> business of font path management.

I agree with Rob.  There's never enough information available to the ATK
world to do it right.

Bill
From: Garrett.Wollman@UVM.EDU
Newsgroups: comp.soft-sys.andrew
Subject: Re: Running Metamail as root
Date: 23 Jul 92 17:46:14 GMT
Distribution: world
Organization: The Internet


 On Thu, 23 Jul 1992 13:03:52 -0400 (EDT), Craig_Everhart@transarc.com said:

> Excerpts from internet.other.info-andrew: 23-Jul-92 Re: Running
> Metamail as root Z. Horvat@ames.arc.nasa. (1499)

> To:@xyz.org:Abc.Def@blah.blah.blah.xyz.org

Please be aware that any mail transport agent anywhere on the Internet
is completely free to ignore or discard this old-style source routing.

-GAWollman

--
   Garrett A. Wollman  = wollman@emba.uvm.edu = UVM is welcome to my opinions
                       =    uvm-gen!wollman   =
   That's what being alive is all about.  No deity, no higher goal
   exists, than to bring joy to another person.    - Elf Sternberg
Newsgroups: comp.soft-sys.andrew
From: datri@convex.com (Anthony A. Datri)
Subject: Superfluous -pic compilations?
Organization: Engineering, CONVEX Computer Corp., Richardson, Tx., USA
Date: Fri, 24 Jul 1992 01:59:41 GMT
X-Disclaimer: This message was written by a user at CONVEX Computer
              Corp. The opinions expressed are those of the user and
              not necessarily those of CONVEX.


I'm rebuilding 5.1 on a Sun 4/75 running 4.1.1 with the bundled compiler.
It seems that each C file gets compiled twice -- once with -pic and once
without:

cc -pic -c  -O4 /usr/lib/libm.il -I.  -I/usr/andrew/include/atk
	 -I/usr/andrew/include -I/usr/include   tabio.c
mv tabio.o shared/tabio.o
cc -c  -O4 /usr/lib/libm.il -I.  -I/usr/andrew/include/atk
	 -I/usr/andrew/include -I/usr/include   tabio.c
...
/usr/andrew/bin/makedo  -d /usr/andrew/lib -b /usr/andrew/bin -s -o table.do
	  table.o eval.o tabio.o funs.o    -lm 


If only the non-pic object is used, why bother compiling with -pic too?
-- 

======================================================================8--<
Newsgroups: comp.soft-sys.andrew