HDTenEightyP/NetNews huggingface dataset:
From: wdc@ATHENA.MIT.EDU (Bill Cattey)
Newsgroups: comp.soft-sys.andrew
Subject: Re: Sun Spell check bug fix!
Date: 16 Apr 92 23:48:35 GMT
Organization: The Internet

Hey everybody!  This list contain a posting that contained the patch
that corrected the problem with spell and other sub-processes.

This was a problem in several modules in atk/extensions: spell.c,
tags.c, filter.c, compile.c.  It's ***FIXED***!

-wdc

I don't have the message, but here's the RCS log and the context diff again:

date: 91/12/03 18:47:13;  author: gk5g;  state: Exp;  lines added/del: 4/4
Added exit call after exec'ing the child process.  This was previously a
return call and that caused core dumps on the Sun when optimization is
enabled.  The main symptom was that the spell checker would core dump in
this case.

*** /tmp/,RCSt1004226	Thu Apr 16 19:46:41 1992
--- spell.c	Mon Jan 13 15:20:48 1992
***************
*** 97,103 ****
          setpgrp(0, getpid());
  #endif
          execlp("/bin/csh", "csh", "-cf", command, (char *)NULL);
!         return NULL;
      }
  
      close(outpipe[READFD]);
--- 97,103 ----
          setpgrp(0, getpid());
  #endif
          execlp("/bin/csh", "csh", "-cf", command, (char *)NULL);
!         exit(0);
      }
  
      close(outpipe[READFD]);
From: ghoti+@ANDREW.CMU.EDU (Adam Stoller)
Newsgroups: comp.soft-sys.andrew
Subject: Re: Keybindings in ATK "ez" multi-media editor
Date: 17 Apr 92 00:28:24 GMT
Organization: The Internet

Alt-'b => bold
Alt-'i => italic
Alt-'p => plainer
Alt-'l => insert-style-prompt

At least this is how it looks by default from an RS/6000 keyboard. (I
actually use Alt-s as my prefix rather than Alt-', but that's another
story...)

--fish
From: janssen@parc.xerox.com (Bill Janssen)
Newsgroups: comp.soft-sys.andrew
Subject: Re: xgraphic patches fail with Graphon X Terminals
Date: 8 Apr 92 22:06:38 GMT
Distribution: world
Organization: The Internet

Excerpts from direct: 8-Apr-92 Re: xgraphic patches fail w.. Bill
Cattey@athena.mit.e (646+0)

> More grist for the mill:  I just ran an ATK application with my X11fonts
> directory unreadable to the owner of my X server (but readable to me) 
> My background came up in a REALLY wierd pattern even though it is
> normally white.  (This was on a monochrome screen.)

> -wdc

I'm not sure this has anything to do with Bob's problem, but I just saw
the same thing that Bill describes on MacX, with typescript displaying
on a Mac that did not have the ATK fonts loaded.  This is because all
backgrounds (even black and white) are drawn with a `graphic' pattern,
which is determined from one of the 17 characters in the font `xshape10'
(what an intuitive name!).  Naturally, if `xshape10' cannot be loaded,
`fixed' or some such bogus alternative is used instead, and your "white"
pattern looks like a really wierd array of whatever control character
glyphs are present in that font.  By the way, here are the patterns
available in `xshape10':
[An Andrew ToolKit view (a raster image) was included here, but could
not be displayed.]
Bill
From: asrs@acad2.alaska.edu
Newsgroups: comp.soft-sys.andrew
Subject: Macintosh File Servers on CMU campus
Date: 14 Apr 92 19:26:03 GMT
Organization: University of Alaska

Hello,

	Is their any Apple Macintosh (CMU) users reading this messages. My
older brother went to CMU. When I was vistiting I looked in the file servers on
the macintosh computers. I saw some software which I would like to have (public
domain) but when I was at CMU I didn't have time to pick it up.

	Please contact me about working out arangement, thanks.

Robert Sprick
ASRS@ACAD2.ALASKA.EDU
From: Bob_Dew@ALW.NIH.GOV
Newsgroups: comp.soft-sys.andrew
Subject: xgraphic patches fail with Graphon X Terminals
Date: 7 Apr 92 16:05:54 GMT
Distribution: world
Organization: The Internet


Has anyone tried running Andrew Version 5 on a Graphon X terminal?  

We find that fonts in ATK application are "blacked-out" in various text
areas, following our installation of the xgraphic patches to  a Sun
Sparc2 platform running X11R4 and OS 4.1.1.  Un-patched ATK applications
run fine on our Graphons.  As things are, the font problem is severe
enough that we need to operate with two sets of Andrew binaries--one for
X terminal use, and the other for use on console monitors.

Bob
From: harcoh@cs.kun.nl (Harco de Hilster)
Newsgroups: comp.soft-sys.andrew
Subject: non-unix clients
Date: 6 Apr 92 09:16:30 GMT
Article-I.D.: cs.4ds1Piq3fW015PQUcf
Organization: The Internet

Dear Andrew users,

First my special thanks to every one that helped me with the
installation of Andrew and the local bulletin board.

My next question is about adding non-unix messages-clients to Andrew. In
the documentation the PC and Mac clients are mentioned several times. I
understood the PC client is vui, but that there is a native Mac version
too (MacMessages). I not sure what to believe from the following
discussion on comp.soft-sys.andrew;

> .......
> - Where can I get hold of the PC and Mac versions? I assume the Mac
> version uses MacTCP, but whose TCP stack (e.g., FTP Software's) does the
> PC version use?
> ........
> Jamey Maze 

> ........
> ATK/AMS are based on Unix.  There are PC versions for AIX, SCO Unix, and
> Mach (port in progress).  There is a version for Macintosh II MacMach. 
> These are supported in the central sources, thanks to many generous
> people.
> .........
> Fred Hansen

I reread the documentation, and it clearly says that there are clients
for the PC and Mac. In the source code I even found instructions for
building the PC client vui ($ANDREWSOURCE/ams/msclients/vui/HowToPC.d).
So here are my questions:

- Are there clients for the PC (Ms-Dos) and the Mac (system6/7)?
- If yes, how can we obtain the sources/binaries?
- If yes, does any one has experience with with these clients?
- Can we run snapified clients without AMSDeliver?

The availabilty of at least the Mac client is very important. I don't
think the introduction of Andrew would be a succes if we tell the Mac
users to telnet to our unix host and use vui. 

Any help would be appreciated,

Harco de Hilster
University of Nijmegen
The Netherlands
From: tpn+@ANDREW.CMU.EDU (Tom Neuendorffer)
Newsgroups: comp.soft-sys.andrew
Subject: Re: complex forms?
Date: 6 Apr 92 18:07:14 GMT
Distribution: world
Organization: The Internet

Excerpts from internet.other.info-andrew: 4-Apr-92 complex forms? Eric
Baltischwiler@komsy (814)

> I'm trying to build an application which has dialog boxes with more
> then one "question" in them.  For example: on startup we would like to
> present a login box.  This would have 2 string entries and at least a
> cancel/quit button.  Latter boxes would have more "widgets".  ADEW
> looks like the right thing.  I've built the login box and createcon'ed
> it as an inset.  This works fine when I paste it into an ez doc, but
> when I replace the text inset in the hw example with my new inset, the
> inset losses all of its labels!  What an I doing wrong?

Most of ATK puts a frame object at the top of the view tree, and Adew
insets take advantage of this.  The hello world examples leave out this
step .  I can send you code to do what you want, however, the runadew
program is basically designed to do just this, provide a simple
framework for running Adew applications. You may want to see if it fills
your needs before fiddling with this stuff (see the runadew section of
the Adew reference manual). Alternately, you can look at the runadewa
code (in atk/adew) to see what it does. 

The page object can be used to switch between different view or sets of
views. One option is to make each question layout a different adew
application, and then make a top level adew application that places each
of the child applications on different pages, and then interacts with
them to determine when and how to flip between them. 

> Assuming I can get this to work (Is this the right aproach?) is there
> a simple way to get message_AskForString() like behavior from such an
> inset?  If not I'll just replace the im's view with the inset.

I am not sure which behavior you are referring to. Adew applications can
do anything any other ATK application, and can call
message_AskForString() to do what is needed, however the enterstring
object itself does not have hooks to allow for file completion or some
of the other features provided by the ATK dialog box. 

> 	Is there an example of this somewhere?

Have you looked at the Adew based prototype help program in the
controllers directory?

	Tom N.
From: wdc@ATHENA.MIT.EDU (Bill Cattey)
Newsgroups: comp.soft-sys.andrew
Subject: Re: xgraphic patches fail with Graphon X Terminals
Date: 8 Apr 92 17:14:26 GMT
Distribution: world
Organization: The Internet

Excerpts from mail: 7-Apr-92 Re: xgraphic patches fail w.. Bill
Janssen@parc.xerox. (286)

> I'd love to try it, but all our X terminals are NCD...  Are all the
> fonts properly installed for the Graphon?  I can't see how the
> xgraphic.c patch would affect text-drawing behavior, but it might have
> something to do with the foreground and background color settings,
> perhaps...

> Bill

More grist for the mill:  I just ran an ATK application with my X11fonts
directory unreadable to the owner of my X server (but readable to me) 
My background came up in a REALLY wierd pattern even though it is
normally white.  (This was on a monochrome screen.)

-wdc
Organization: School of Computer Science, Carnegie Mellon, Pittsburgh, PA
Newsgroups: comp.soft-sys.andrew
Date: Wed, 15 Apr 1992 12:25:40 -0400 
From: Robert Andrew Ryan <rr2b+@andrew.cmu.edu>
Subject: Re: menubar not built with ATK

Excerpts from netnews.comp.soft-sys.andrew: 15-Apr-92 menubar not built
with ATK Bill Janssen@parc.xerox. (812)

> I'm beginning to think that the current implementation of menubars is a
mistake. 

Quite possible, wouldn't be my first or last unfortunately.  Some
reasons I did it the way it is:  (I'm not sure they still hold.)

1.  Bill Cattey's transient and override support was not yet available.
2.  I was concerned that performance might be unacceptable under ATK
views.  (I had just spent 2 weeks trying to get acceptable performance
out of a Motif implementation which had been contributed to us.)
3.  I wanted the menubar to be capable of being used in a non-ATK world.

Excerpts from netnews.comp.soft-sys.andrew: 15-Apr-92 menubar not built
with ATK Bill Janssen@parc.xerox. (812)

> Because they are not built as an ATK view, they are hard to
> manage, and hard to make consistent with the rest of the system.  In
> addition, they introduce another body of code that has to be maintained
> concurrently with the xgraphic code

I would like to hear more specifics on this.

Excerpts from netnews.comp.soft-sys.andrew: 15-Apr-92 menubar not built
with ATK Bill Janssen@parc.xerox. (812)

> I'm wondering if the right way to work with menubars might not be to
> implement them as a view, that a frame (or other kind of `main' view)
> would put at the top of its set of windows?  Frame would override
> frame_PostMenus to get the menu selections to put in the menubar.  The
> pulldown panels would be override-redirect panels using Bill Cattey's
> mods to xim.

Not quite possible...  The "override" windows supported by Cattey's mods
are not actually override-redirect windows.   They are actually
sub-windows of the window they are for.  This is because a true
"override-redirect" window is only supposed to be displayed when the
mouse and keyboard are grabbed.  (According to ICCCM.)  So in order to
do menus as ATK views you would need to support ATK views grabbing
keyboard and mouse, and true override-redirect windows.

-Rob Ryan
Andrew Toolkit Consortium
From: gt0963d@prism.gatech.EDU (Deeptendu Majumder)
Newsgroups: comp.soft-sys.andrew
Subject: Re: ATK Release plans
Date: 14 Apr 92 02:05:48 GMT
Organization: The Dream Chasers Syndicate

In article <oduWF0q0ts4jI1GqMQ@alw.nih.gov> Bob_Dew@ALW.NIH.GOV writes:
>
>
>
>-  Sun 4 Spell Checking:  When Andrew is compiled with optimization and
>without debugging, ATK applications crash when the "spell" menu option
>is selected

I did not realize this is a software bug. So has anybody had any luck
with it ?

thanks
d.

-- 
------
"Like a harsh neon streaking  through the velvet darkness 
the whetted knife of Life tore its path through her Dreams"
From: ww0r+@ANDREW.CMU.EDU (Walter Wong)
Newsgroups: comp.soft-sys.andrew
Subject: Re: ATK Release plans
Date: 14 Apr 92 03:25:31 GMT
Distribution: world
Organization: The Internet

Bob_Dew@alw.nih.gov writes:
> --Console: [...] severe problems on DEC 3100 running PMAX _42 (can't
> redirect console messages to Andrew console program, "Xws alignment"
> error messages saturate application buffer, crash system)

Actually, the unaligned access problems are a result of a DEC X server
bug being tickled by one of the console fonts.  I believe it only
happens with the Xws server.

If you use 'uac' to turn off unaligned access messages for the X
server, you can actually run console without it crashing the machine. 

This problem has been reported to DEC, and acknowledged as a bug. I'm
currently waiting for a patch/notfication it's fixed in the next
release.

Walter
From: janssen@parc.xerox.com (Bill Janssen)
Newsgroups: comp.soft-sys.andrew
Subject: Re: xgraphic patches fail with Graphon X Terminals
Date: 10 Apr 92 00:57:58 GMT
Distribution: world
Organization: The Internet

Bob,

My impression is that your Graphon problem has something to do with the
way that textview does its drawing.  Clearly it's not a font problem. 
Textview uses the transfer modes WHITE, BLACK, XOR, and COPY.  In
particular, using WHITE and BLACK seem risky when using a color model,
but xgraphic.c seems to handle both cases properly.  It looks to me as
if someone is not setting the transfer mode from graphic_BLACK to
graphic_COPY before doing a FillRect(), but I can't find the place. 
Also, I can't see why this wouldn't show up on a monochrome Sun
display...

You might want to try a test like "ez -fg navy -bg yellow", and see what
the lossage looks like there.  That could narrow it down a bit.  If you
do, would you please send me more snapshots?  I'm going to look at it
some more.  Thanks.

Bill
Newsgroups: comp.soft-sys.andrew
From: jnm@tdum.CTD.ORNL.GOV (Jamey Maze)
Subject: Makefile problem on ULTRIX
Organization: Oak Ridge National Laboratory
Date: Thu, 16 Apr 1992 17:18:59 GMT

I recently built ATK on SunOS will few problems, so I decided to do
the same on ULTRIX, but I'm having trouble making it to 1st base. When I
do make with any target, it complains about a syntax error in line 130,
with is where the first variable (AFSBASEDIR) gets redefined from
site.mcr. Can someone tell me what I've done wrong?

Here's my site.mcr:

	AFSBASEDIR = /usr/afsws
	XUTILDIR = /usr/local/X11R5/bin
	XINCDIR = /usr/local/X11R5/include
	XMKFONTDIR = /usr/local/X11R5/bin/mkfontdir
	XLIBDIR = /usr/local/X11R5/lib
	XFC = /usr/local/X11R5/bin/bdftopcf
	RESOLVLIB = /usr/lib/libresolv.a

Here's my site.h:

#define	AFS_ENV	1
#define AFS_ULTRIX 1
#define	AFS31_ENV 1
#define	AFS30_ENV 1
#define AMS_DELIVERY_ENV 1
#define WHITEPAGES_ENV 1
#define MK_BASIC_UTILS
#undef ISO80_FONTS_ENV
#undef LINKINSTALL_ENV
#undef DEFAULT_ANDREWDIR_ENV
#define DEFAULT_ANDREWDIR_ENV /usr/local/andrew

-- 
Jamey Maze                 | Computing & Telecommunications Division
Oak Ridge National Lab     | Advanced Technology Group
P.O. Box 2008, MS-6238     | Internet: jnm@ornl.gov 
Oak Ridge, TN 37831-6238   | 615/574-6355, FAX 615/574-9646 

"Years ago my mother said to me, 'In this world, Elwood, you must 
 be oh so smart or oh so pleasant.' For years I was smart. I 
 recommend pleasant." - Elwood P. Dowd, "Harvey"
From: janssen@parc.xerox.com (Bill Janssen)
Newsgroups: comp.soft-sys.andrew
Subject: Re: xgraphic patches fail with Graphon X Terminals
Date: 7 Apr 92 19:05:12 GMT
Organization: The Internet

I'd love to try it, but all our X terminals are NCD...  Are all the
fonts properly installed for the Graphon?  I can't see how the
xgraphic.c patch would affect text-drawing behavior, but it might have
something to do with the foreground and background color settings,
perhaps...

Bill
From: kriso@paradise.paradise.LOCAL (Kris Olander)
Newsgroups: comp.soft-sys.andrew
Subject: Mail conversion from  Xmh to Messages
Date: 9 Apr 92 15:46:38 GMT
Distribution: world
Organization: The Internet

Hopefully someone has already figured this out...

We are starting to use Messages.  The problem is that we have large
volumes of Xmh
mail in various folders and now would like to migrate that info to
corresponding Messages
folders.  The only problem is that Messages uses a different naming format.

I believe messages creates mail file names based on the time the file
was read in.  Has anyone
ever created a conversion utility that would read the creation (or
whatever) date of a file and 
then change the file name to it's Messages equivalent file name?

-Kris Olander
 NCD Technical Support
 support@ncd.com -and/or- kriso@ncd.com
Newsgroups: comp.soft-sys.andrew
From: datri@convex.com (Anthony A. Datri)
Subject: Re: ATK Release plans
Organization: Engineering, CONVEX Computer Corp., Richardson, Tx., USA
Date: Tue, 14 Apr 1992 14:20:37 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.

>"~/preferences", regardless of whether the user uses ~/preferences,
>~/.preferences, or ~/X11defaults as his personal preferences file

Where'd ~/X11defaults come from?  Do you mean .Xdefaults?

-- 


======================================================8--<
From: dd26+@ANDREW.CMU.EDU ("Douglas F. DeJulio")
Newsgroups: comp.soft-sys.andrew
Subject: Re: non-unix clients
Date: 16 Apr 92 14:09:06 GMT
Organization: The Internet

cis.ohio-state.edu!zaphod.mps.ohio-state.edu!qt.cs.utexas.edu!cs.utexas.\ writes:
> I once heard a claim that support for AMS to read netnews article trees
> would show up, but haven't heard anything since.  Volunteers?

I'm doing this right now, sorta.  Here's what I did.

I keep my news in /usr/spool/news (aka. ~news).  I created
~news/.MESSAGES, and put a ".amsalien" file in there.  I made symbolic
links from all the top level news trees into ~news/.MESSAGES.  I
whipped up a little Perl script to read /usr/lib/news/active and
create ~news/.MESSAGES/.SubscriptionMap from it.  Then I hacked
together another perl script to do a reconstruct of all the folders in
the .SubscriptionMap file (it invokes cui).  If I'm remembering right,
that's all it took to get started.  It's not as clean as it could be
-- every once in a while I need to do a "cui scavenge foo purge recurse"
for new messages under "foo.*" to show up, and I'm still doing that by
hand at this point (easy to put in cron though).  I haven't yet looked
at making the scavenge operation more efficient (lack of time).  I
don't have too many newsgroups on my machine, so it's not so bad.
-- 
Doug DeJulio
dd26+@andrew.cmu.edu (AMS/ATK mail welcome)
ddj@zardoz.club.cc.cmu.edu (MIME, ATK/AMS and NeXT mail welcome)
From: Bob_Dew@ALW.NIH.GOV
Newsgroups: comp.soft-sys.andrew
Subject: DECstation console redirection
Date: 14 Apr 92 15:26:13 GMT
Article-I.D.: alw.kdujaJm0ts4j442EQq
Organization: The Internet


Does anyone know how to re-direct /dev/console output to the Andrew
console program on a DECstation 3100 running ULTRIX 4.2?

As is, the Andrew console utility starts with the following error message:

console: Incomplete error monitoring (open '/dev/xcons' and
'/dev/smscreen' failed)

Apparently, console needs to be run with uid root in order to collect
/dev/console output--but that prevents one from monitoring AFS
userid-associated things, like mail, tokens, quota, etc.

I found that one work-around is to change /usr/andrew/bin/runapp to run
as setuid root.  That fixes console, but breaks tm.

Does anyone have other suggestions?

Thanks,

Bob
From: Bob_Dew@ALW.NIH.GOV
Newsgroups: comp.soft-sys.andrew
Subject: Re: Messages: font preferences
Date: 13 Apr 92 22:26:46 GMT
Article-I.D.: alw.0duUeaK0ts4j41Gp0X
Organization: The Internet

Several messages have circulated regarding strange font behavior in the
Andrew R5 messages program.  Specifically, unpredictable font types are
displayed when one customizes messages font size or body type in the
preferences file.

For our Sparc2 systems, I believe the problem lies in the way that
Andrew R5 handles its fonts.alias file
(${ANDREWDIR}/X11fonts/fonts.alias).  Since incorporating support for
ISO 8859 fonts, Andrew's fonts.alias file no longer maps alias names to
its own fonts.dir file, but rather provides pointers to specific MIT X11
fonts, under the X11 search path.  All is fine when ISO 8859 fonts are
used, but when  non-ISO Andrew fonts are installed together with
Andrew's "old-style" fonts.alias file, font selection can become
confused.  Fonts listed in Andrew's "fonts.alias" file are  searched for
within X11 directories, resulting, of course, in a mismatch, causing a
substitute font to replace the requested one.

To show an example of how font selection can fail, not only for messages
but for other ATK applications as well, consider the preferences option
"ez.bodyfont: andytype14f".  The old (patch level 9) fonts.alias file
maps "andytype14f" to "courier14f", which in turn specifies the Andrew
font,  "cou14f.snf",  in Andrew's fonts.dir file.  Compare an ez session
that has the preference, "ez.bodyfont: andytype14f", with one having the
preference, "ez.bodyfont: courier14f", and you'll find that one displays
an X11 font while the other displays the correct Andrew font. (This
discussion assumes that the old Andrew fonts are installed in
${ANDREWDIR}/X11fonts).

I suppose one could overcome the font selection problem by adhering to
the ISO 8859 font scheme, but the ISO fonts are not nearly as nice as
their Andrew counterparts.  ATK applications like ez can still specify
Andrew fonts directly by using the fonts.dir alias, but the messages
program can only specify font family and font size, making it impossilbe
to locate an Andrew font such as "andytype14f".

Bob
From: gk5g+@andrew.cmu.edu (Gary Keim)
Newsgroups: comp.soft-sys.andrew
Subject: Re: ATK Release plans
Date: 14 Apr 92 17:08:28 GMT
	<12427@auspex-gw.auspex.com>
Organization: School of Computer Science, Carnegie Mellon, Pittsburgh, PA

Excerpts from netnews.comp.soft-sys.andrew: 14-Apr-92 Re: ATK Release
plans Guy Harris@Auspex.COM (1099)

> Are the Snakes the only HP-PA machines running HP-UX 8.0?  If not, will
> the Snake binaries run on other HP-PA machines running 8.0?  (I'm
> assuming you require 8.0's dynamic linking.)

From Jean Gascon (gascaon@hpl.hp.com):

> The current Series 800 machines conforms to the PA-RISC 1.0 spec.
> whereas the Series 700 is PA-RISC 1.1.  PA-RISC 1.1 contains a few
> additional instructions, supports additional floating-point registers
> etc.  Binaries for the Series 800 run without problems on the Series
> 700.  Binaries compiled on the Series 700 may run on the Series 800 if
> certain  options where set at compile time.  By default, the Series 700
> generates code that supports all the options of the 700, for better
> performance.
From: harcoh@cs.kun.nl (Harco de Hilster)
Newsgroups: comp.soft-sys.andrew
Subject: Re: Is this a Bug or what?
Date: 8 Apr 92 12:07:26 GMT
Article-I.D.: cs.Adsi7yC3fW015SB1Ea
Organization: The Internet

Excerpts from andrew.mailing-list: 8-Apr-92 Is this a Bug or what?
Dimitris K. - NRCPS@leon (321)

> I am trying to compile and istall Andrew Distribuiton ver. 5.0.0 (1991) that
> was in the contrib section of X11R5. When I tried to build the Makefile with
> the xmkmf,  I was reported an error on line 304 :Unexpected end of line.
> Unfortunatelly I can't see  the problem .

That an easy one,

Read the README file in the root directory of the source. It says:
.....
To create the top-level Makefile .... use the following command
	imake -I. -I./config -Timake.tmpl -s Makefile -DTOPDIR=.

If you didn't find that, then you probably forgot to set a lot of other
things too.

Hope this helps,

Harco de Hilster