HDTenEightyP/NetNews huggingface dataset:
From: klamer@mi.el.utwente.nl (Klamer Schutte)
Subject: Re: 3.1 is now available
Organization: University of Twente, BSC-El
Date: Thu, 17 Dec 1992 10:03:31 GMT

In <9212161929.AA20677@hkueee.hku.hk> leo%hkueee.hku.hk@FORSYTHE.STANFORD.EDU writes:

>BTW, could any C/C++ guru be kind enough to let me know whether "major" and
>"minor" are undocumented reserved words.

They >> should << not be reserved words. And you can remove them from the
namespace by defining -D_POSIX_SOURCE.

But doing so breaks <stdlib.h> ... (At least with Sun C++ 2.1)

Klamer
--
Klamer Schutte			Tel: +31-53-892778	Fax: +31-53-340045
Faculty of electrical engineering -- University of Twente, The Netherlands
preferred: klamer@mi.el.utwente.nl     SMTP: klamer@utelmi01.el.utwente.nl
Newsgroups: comp.windows.interviews
From: zen@syl.dl.nec.com (zen kishimoto)
Subject: double clicking on a shape drawn on viewer using UNIDRAW
Summary: How can I detect double clicking on a node using UNIDARW?
Keywords: UNIDRAW double click
Organization: NEC Systems Lab., C&C Software Technology Center (Dallas, TX)
Date: Sat, 19 Dec 1992 23:39:31 GMT

I think this was asked before but I did not see the answer to it.
I am currently making modifications to idraw (or should I say writing
my editor inheriting from idraw editor).  One thing I want to do is
when the user double clicks on a shape, say a rectangular, this editor
detects that and takes some action (such as sending a message to other
process). Of course, the editor should know which object was double
clicked.  How can I implement this?

zen kishimoto (zen@syl.dl.nec.com)
From: zpvy0a@hou.amoco.com (Yalamanchi Prasad)
Newsgroups: comp.windows.interviews
Subject: ActionCallback ... problem
Date: 20 Dec 92 18:39:37 GMT
Reply-To: zpvy0a@hou.amoco.com
Organization: Amoco

I am unable to compile .../iv3.1/iv/src/examples/menu/main.c program. Following are 

the compiler warning/error messages.
---- BEGIN
/sysprod2/lang/CC/sun4/CC     -Dcplusplus_2_0     -I/interviews/include    -c ../main.c
CC  ../main.c:
cc   -c -I/sysprod2/lang/CC/sun4/incl -I/interviews/include  main.c
"../main.c", line 63: warning: illegal combination of pointer and integer, op =
"../main.c", line 63: warning: shortening &filemenu may lose significance
"../main.c", line 63: illegal initialization
"../main.c", line 63: warning: illegal combination of pointer and integer, op =
"../main.c", line 63: warning: shortening &editmenu may lose significance
"../main.c", line 63: warning: illegal combination of pointer and integer, op =
"../main.c", line 63: warning: illegal combination of pointer and integer, op =
"../main.c", line 63: warning: shortening &colormenu may lose significance
"../main.c", line 63: warning: illegal combination of pointer and integer, op =
*** Error code 1
make: Fatal error: Command failed for target `main.o'
Current working directory /export/data3/prasad/iv3.1/iv/src/examples/menu/SUN4
---- END

Without the Preprocessor macros it seems to compile. Like the code below

//declareActionCallback(App)
//implementActionCallback(App)

struct CmdInfo {
    const char*               str;
  //  ActionMemberFunction(App) func;
    void                      (*func) ();
    CmdInfo*                  submenu;
    int                       options;
} ;

replacing all the pointer-to-memberfuncs in the structures with a dummy func like

void dummy() {;}

CmdInfo filemenu[] = {
    { "Open", dummy },
    { "Save", dummy },
    { "", nil },
    { "Quit", dummy },
    { nil }
};

I would appreciate anyone's help/suggestions.

Note:  I am using SUN 2.1 CC ( No Templates !!)

Thanks

prasady@hou.amoco.com
Newsgroups: comp.windows.interviews
From: hasty@netcom.com (Amancio Hasty Jr)
Subject: Re: IV-3.1 and g++ (Was: Interviews on Suns ?)
Organization: Netcom Online Communications Services (408-241-9760 login: guest)
Date: Sat, 19 Dec 1992 00:23:18 GMT

In article <1992Dec18.180858.1@rulfsw.leidenuniv.nl> driehuis@rulfsw.leidenuniv.nl writes:
>> And I have to read this 1 1/2 hours into the makefile after building
>> 2.3.2....  Anyone have a set of patches for 2.3.2?
>No need to patch GCC 2.3.2. Just install libg++-2.3.
>Mind you, there seem to exist bugs in gcc 2.3.2, but I got InterViews to
>compile after I installed libg++-2.3
>Yours,
>						-- Bert

Well at least under 386bsd, we had to patch Doc in order to get it
to work with gcc 2.3.2. It did compile but when we ran Doc it
core-dumped. Rich posted the patches to Doc  which were suggested
from people on this group.

Happy Holidays,
	Amancio
-- 
Amancio Hasty           |  
Home: (415) 495-3046    |  ftp-site depository of all my work:
e-mail hasty@netcom.com	|  sunvis.rtpnc.epa.gov:/pub/386bsd/incoming
From: njs@planet.bt.co.uk
Newsgroups: comp.windows.interviews
Subject: Re: Can I get more than 256 colors with InterViews?
Keywords: RGB->Color
Date: 16 Dec 92 10:08:48 GMT
Organization: DNM42, BT Labs, Martlesham Heath, Ipswich, UK.
Originator: njs@andromeda


In article <edh.723936953@staff.tc.umn.edu>, edh@staff.tc.umn.edu (Eric D. Hendrickson) writes:
|> I have a procedure for dynamically creating a Color * from a set of RGB
|> values.  On Suns, I keep running out of colors.  I have tried to display it
|> on an SGI, but it doesn't get any more colors.  I am not physically running
|> the program on either the Sun or the SGI, but on a faster MIPS machine.
|> 
|> I can't run the program on the SGI directly as there is no g++ compiler,
|> but my understanding is that only the display matters as far as color
|> allocation goes.
|> 
|> I'm using InterViews 2.6 and g++ 2.3.1.
|> 
|> Thanks!
|> 		--eric
|> -- 
|> 			   "'Wit smoke and fire and fumes an' what-not comin'
|> 			    outta dere nostrils... dey rep'esent youah
|> 			    virility... Likewise wit' d'enormous bulge in
|> 			    y'pants here."

What you could do here is create a colour catalog.  Wach time you want a color ask your catalog to give it to you.  The catalog can maintain a list of colors that it has already created and if a color that has already been created is requested then that colour can be passed back.  If the color does not exist then it can be created, added to the list and then passed back.

This would avoid the need to create duplicate colors.  You would probably need to add some persistence to your colour objects to avoid problems caused by an object deleting a colour that another object is still using.

Nathan
From: linton@marktwain.rad.sgi.com (Mark Linton)
Newsgroups: comp.windows.interviews
Subject: Re: compiler warnings on bitmaps
Date: 15 Dec 1992 17:10:37 GMT
Organization: sgi
Distribution: world
Reply-To: linton@marktwain.rad.sgi.com (Mark Linton)
NNTP-Posting-Host: marktwain.rad.sgi.com

In article <9212151552.AA15390@newbirth.Eng.Sun.COM>, thrasher@newbirth.eng.sun.com (Jim Thrasher) writes:
|> It would be semantically more correct to declare the bytes in the
|> bitmaps as "unsigned char" rather that "char"
|> 
|> At least warnings like the following would go away.
|> -------------------------------------------------------
|> ....
|> "../../../.././src/include/InterViews/Bitmaps/ufastMask.bm", line 5: warning: initializer does not fit: 240
|> "../../../.././src/include/InterViews/Bitmaps/ufastMask.bm", line 5: warning: initializer does not fit: 248
|> .....

The bitmap files are generated by the X bitmap program, so presumably it is a mistake
in that program.  Perhaps it was fixed in R5.
From: jayg+@CS.CMU.EDU (Jay Gowdy)
Newsgroups: comp.windows.interviews
Subject: InputHandlers and margins
Date: 20 Dec 92 21:06:59 GMT
Organization: Carnegie Mellon University

I have a very simple IV question that's been bugging me for a while:

I have an ActiveHandler subclass that set's it's body as follows:

body(layout.fixed_span(kit.outset_frame(character_glyph
                       size, size));

The problem is, events such as enter and leave only take place
over the character glyph!  It seems that kit.outset_frame sets up a 
margin around the glyph it contains, and events are not reported in
the margins of glyphs for some odd reason.  Now it seems to me that
this behaviour would be hard to implement, therefore there _must_ be
some way to turn it off (yeah, I'm an optimist)!

By the way, for some other odd reason kit.bright_inset_frame does 
_not_ put a margin around it's glyphs, and the following works fine:

body(layout.fixed_span(kit.bright_inset_frame(
            layout.hbox(layout.hglue(),
                        character_glyph,
                        layout.hglue())), size, size));

Note that I have to do the margining myself here with an hbox, but
the input handler acts as I expect it, i.e., as soon as the mouse
enters the frame, the enter callback is invoked.

I've noticed this behaviour in other glyphs that marginalize things,
but its only been annoying, not critical, as it is in this case.  
Please tell me 1) why this is happening 2) how I can stop it.

				Jay





	
Newsgroups: comp.windows.interviews
From: wolfgang.ratzka@RPHS1.PHYSIK.UNI-REGENSBURG.DE (Wolfgang Ratzka)
Subject: idraw
Organization: Internet-USENET Gateway at Stanford University
Date: Fri, 18 Dec 1992 18:34:01 GMT

   Date: Fri, 18 Dec 92 12:06:17 +0100
   From: conrad@trane.norsar.no (Conrad Lindholm)

   Hi,

   Is there anyone out there that knows of a drawing program like idraw
   that can read most types of PostScript files?
   Alternatively I am searching a conversion program
   that can take PostScript code and convert into a form acceptable to idraw.

Some commercial drawing packages do have this feature (i.~e. can read
REAL PostScript). On our Sparcs we have IslandDraw (a descendant of
Sun-Draw), which can do this. 
I don't know however  any freeware product with this capability.
					 		Wolfgang Ratzka
      ___	-------------------------------------------------------
|    | :-)	X400: ratzka@rphs1.physik.uni-regensburg.dbp.de
| /\ |  \	      ratzka@vax1.rz.uni-regensburg.dbp.de
|/  \|	 \	SMTP: ratzka@rphs1.physik.uni-regensburg.de
-----------------------------------------------------------------------
Phone:	    +49 941 943 2085
Paper mail: Wolfgang Ratzka \\ 	Institut f\"ur Theoretische Physik \\
	    Lehrstuhl Prof. Weise \\ Universit\"at Regensburg \\
	    W-8400 Regensburg \\ GERMANY
-----------------------------------------------------------------------
Newsgroups: comp.windows.interviews
From: tkacik@hobbes.hobbes.cs.gmr.com (Tom Tkacik)
Newsgroups: comp.windows.interviews
Subject: Generating HPGL files from Unidraw
Date: 14 Dec 92 18:58:54 GMT
Reply-To: tkacik@hobbes.hobbes.cs.gmr.com
Organization: GM Research Labs

Has anyone implemented an HPGL PrintCmd for Unidraw?
I have had several people ask if my application can plot on a large HPGL
plotter, rather than a postscript printer.  It would be nice if I did not
have to do this myself.

Thank you.

--
Tom Tkacik
GM Research Labs
tkacik@hobbes.cs.gmr.com
tkacik@kyzyl.mi.org

Newsgroups: comp.windows.interviews
From: wolfgang.ratzka@RPHS1.PHYSIK.UNI-REGENSBURG.DE (Wolfgang Ratzka)
Subject: Novice
Organization: Internet-USENET Gateway at Stanford University
Date: Wed, 16 Dec 1992 10:31:05 GMT

William David Cizek's message of Tue, 15 Dec 1992 22:20:34 GMT <BzBnEB.BGH@news.cso.uiuc.edu>:
   kalra@brc.uconn.edu (Sanjay Kalra) writes:
   >Hello
   >I am a new to Interviews ? 
   >Can you tell me what it does ?
   >- Sanjay

   Or, maybe, a FAQ would be really, really helpfull.

   Bill Cizek
   cizek@uiuc.edu
And don't tell anybody that the existing FAQ (last updated when?) is
anything more than a bad joke. I've seen lots of questions regarding
the use of gcc (which are quite similar to my questions)? The
information on which patches to apply to which version of IV, and
which compiler to user are not so easy to come by...


Newsgroups: comp.windows.interviews
From: hasty@netcom.com (Amancio Hasty Jr)
Subject: ibuild and doc bugs with gcc-2.3.2
Organization: Netcom Online Communications Services (408-241-9760 login: guest)
Distribution: comp.windows.interviews
Date: Thu, 17 Dec 1992 23:14:27 GMT

We have ported Interviews beta3 to 386bsd. So far the following bugs
are showing in our port:

ibuild: "generate execute" command  generates proper programs
but ibuild core dumps during the last compilation phase of a program.

doc: When I select a different font size the previus selection mark
	never goes away 

And, I am very happy with InterViews!

-- 
Amancio Hasty           |  
Home: (415) 495-3046    |  ftp-site depository of all my work:
e-mail hasty@netcom.com	|  sunvis.rtpnc.epa.gov:/pub/386bsd/incoming
From: wollman@sadye (Garrett Wollman)
Subject: 3.1beta3 on RS/6000 AIX 3.2 GCC 2.3.1 libg++ 2.2
Organization: University of Vermont, EMBA Computer Facility
Date: Sun, 13 Dec 1992 22:51:41 GMT

Has anyone had success with the above combination of software?  I have
had the following problems:

- doc starts, and even opens up a window, but quickly runs into
difficulty.

- ibuild will not build.  In particular, ibuild requires about 68000
TOC entries, but the maximum is 65535.  So...

- I can make a shared-library version of libIV.a.  "Regular" libIV
programs continue to work with this version (and in addition are
*much* smaller).  This gives numerous error messages from ld which are
gcc's fault, but otherwise works OK.  EXCEPT...

- Programs linked with both libUnidraw and libIV have garbage output.
It doesn't matter whether the libUnidraw is shared or unshared; the
results are the same.

I cannot afford the disk space to keep 6 to 12 megabyte executables
around, so getting shared libraries working is a MUST, even ignoring
ibuild.

-GAWollman

-- 
Garrett A. Wollman   | Shashish is simple, it's discreet, it's brief. ... 
wollman@emba.uvm.edu | Shashish is the bonding of hearts in spite of distance.
uvm-gen!wollman      | It is a bond more powerful than absence.  We like people
UVM disagrees.       | who like Shashish.  - Claude McKenzie + Florent Vollant
Newsgroups: comp.windows.interviews
From: sekhar@CS.CLEMSON.EDU
Subject: Class Hierarchy
Organization: Internet-USENET Gateway at Stanford University
Date: Wed, 16 Dec 1992 00:48:05 GMT

Hi,  
   Does anybody have a class hierarchy of all classes for InterViews?
   Does it help in understanding the class relationships better?

   If the answer is "yes" please mail it on the net, so that the beginners
   will have a feel of the classes and their relationships.
-- 
Chandra, Clemson University Computer Science Dept.
e-mail: sekhar@cs.clemson.edu

Newsgroups: comp.windows.interviews
From: cklin@csie.nctu.edu.tw (Little Keng Keng)
Subject: Request! Network in win
Organization: Computer Science & Information Engin., Chiao-Tung U, Taiwan, ROC
X-Newsreader: TIN [version 1.1 PL6]
Date: Sat, 12 Dec 1992 06:30:21 GMT

   Ever heard of networking can be applied to MS Windows.
   I am a newuser of Win.
   
   Anyone knows how to? What sort of programs we need? 
   Please inform me... I'll be appreciated.

   Ya. Reading up books might be a tough one, especially for those are 
   busy (like me :)!) So, thanx for any infomation!!!

   GOOD LUCK to all of you
  ===================================================================
  =   cklin@csie.nctu.edu.tw                          wat cklin :) :]
  ===================================================================
Newsgroups: comp.windows.news
From: uad1077@dircon.co.uk (Ian Kemmish)
Subject: Re: Another NeWS-influenced product
Date: Sun, 13 Dec 1992 16:36:30 GMT

fgreco@shearson.com (Frank Greco) writes:

>It's interesting to note that ParcPlace's innovative new network
>debugger infrastructure "NeD" was influenced by the distributed,
>extensible architecture of NeWS.
>
>Frank G.

Is that official?  ParcPlace was founded by a lot of ex-Parc people,
and they were running window managers across networks in the late 70's
when machines that could run lisp at a decent speed were too big]
to put on people's desks  (or so I'm told....).

After all, even NeWS was a sort-of Andrew v 2, if you read James
Gosling's early papers about the tow of them:-)

-- 
Ian D. Kemmish                    Tel. +44 767 601 361
18 Durham Close                   uad1077@dircon.co.uk
Biggleswade                       uknet!dircon!uad1077
Beds SG18 8HZ United Kingdom
Newsgroups: comp.windows.news,comp.sys.sgi,comp.sys.dec,comp.sys.ibm.pc,comp.sys.mac,alt.graphics
From: toni.moreno@fibernet.wa.com (Toni Moreno) 
Newsgroups: comp.windows.news
Subject: 386BSD info wanted
Date: 17 Dec 92 17:56:00 GMT
Distribution: world
Organization: FiberNet. Barcelona Spain (34 3 464 4415)  (34 3 688 0823)
Reply-To: toni.moreno@fibernet.wa.com (Toni Moreno) 


Please I need to find a site for ftp-ing 386BSD.
I also need to know, if exist, the newsgroup in which 386BSD users talk.
Can anybody give me a hand?
Thanks in advance ...

Toni Moreno



-------
E-Mail Back to:         toni.moreno@fibernet.wa.com
                        antoni@halcyon.com
                                                                
Newsgroups: comp.terminals
From: kinetix@cwis.unomaha.edu (Andrew Wigodsky)
Subject: Help!!  IBM 3164 Terminal!
Organization: University of Nebraska at Omaha
Date: Sat, 12 Dec 1992 09:04:38 GMT


I am trying to write a program to emulate an IBM 3164 ASCII
terminal...  Does anyone out there have some tips as to
how I can write such a beast without much hassle??

So far all I have is the IBM documentation, and it only 
tells how to write programs to write to the terminal, and
it is WAY too vague..

Any suggestions?  Sample C source is DEFINITELY appreciated!!!

Kinetix@cwis.unomaha.edu
Andrew Wigodsky   DialAmerica Corp - 9840 M St - Omaha, NE 68127


--
========================================================================

kinetix@cwis.unomaha.edu			Andrew S. Wigodsky
						University of NE, Omaha
From: rsk@gynko.circ.upenn.edu (Rich Kulawiec)
Newsgroups: comp.terminals
Subject: Re: ADM5 (?): The Terminal From Hell...
Date: 16 Dec 92 05:00:44 GMT
Organization: Mike Singletary Appreciation Society

In article <1992Dec10.235708.1@acad.drake.edu> aar001@acad.drake.edu writes:
>Ques:	What the heck is an ADM5?   
>
>INFO: 	I took it apart *grin* and looked inside.  The producion date seems
>     	to be about March 1982, and its board has about 64 chips.  (1 K 
>  	chips I would guess)  And at the top back of the inside is a little
>	switch board with 6 (?) little switches.  and on the right and left
> 	side (inside above keyboard ) are 2 switches that don't seem to 
>	do anything.
>
> Ques:	Anyone know if it can be modified to simulate a VT100 terminal?  

Since all of its functions are implemented in hardware -- and I mean,
in *hardware*, as in the finest Schottky TTL money could buy a decade
ago, this would be a tough job.  You are looking at Lear-Siegler's
followup to the ADM3A, a vintage piece of computing gear so beloved
that it has its own newsgroup, alt.religion.adm3a.  (In fact, you
might try posting your query there, as many ADM3A afficianados
may be found there.)

Count your blessings: you have a terminal that handles lowercase
*without* the necessity of installing the upgrade kit. ;-)
ADM's are also pretty hard to kill; I once bounced one down
a flight of stairs, and it worked just fine afterwards.
They also possess the same flowing, graceful, eye-pleasing
lines as a Volkswagen Beetle, another simplistic low-tech
design which proved remarkably sturdy.

The ADM3A, by the way, has nearly a perfect layout for a Unix keyboard:
no weenie function keys, no silly keypad, no useless caps lock, and no
arrow keys.  What it does have is (1) a handy escape key, just to the
left of "q", (2) a handy control key, just to the left of "a", (3) an
easy to smack ^, in the upper right hand corner, (4) a decent ~,
which is the shift of ^, (5) handy [] and {}, (6) handy _ (right of ;),
and (7) reasonable handling of the rest of the punctuation.
Compare this sensible layout with the unbelievably brain-damaged
default keyboard that Sun ships with Sparc 2's these days.
Unfortunately, the ADM5 terminals deviated from their streamlined
predecessors by moving the control key to an annoying spot and adding
a few useless extra keys.

---Rsk
Newsgroups: comp.terminals
From: ranger@titan.ucc.umass.edu (Net Ranger)
Subject: GIFS on a Tek (pc-kermit)
Keywords: bored, information
Organization: We dont need no steenking organization ;)
Date: Wed, 16 Dec 1992 19:48:12 GMT

Is there a program out in net land which converts gifs to something pc-kermit
can display in its imfamous tek emu mode?  peferebly in un*x or VMS (ugh, 
blech!) Thanks for any helps or directions :)...

--Ranger
.-----------------------------------------------------------------------.
| All that is gold does not glitter,  | John C. Tennyson                |
|  Not all those who wander are lost. | Ranger@TITAN.ucc.umass.edu      |
| -- JRR Tolkien, "Lord of the Rings" |                                 |
`-----------------------------------------------------------------------'



Newsgroups: comp.terminals
From: sjs@netcom.com (Stephen Schow)
Subject: Need great vt100 terminfo entry
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Date: Thu, 17 Dec 1992 01:23:51 GMT

A few days ago, someone from this group sent me what they thought was the
best vt100 terminfo file they had ever dug up.  I lost it.  If you have one,
and you think it is particulary good, please send it my way.

I am particularly looking to change the number of lines from 24 to 50.  I 
could change the terminfo file myself, but I can't see anything in the file
that looks like 24 so obviously I don't know what I'm doing.  Any suggestions
would be appreciated.

Thanks in advance

-- 
------------------------------------------------------------------
Steve Schow    | But you don't have to use the claw, if you
sjs@netcom.com | pick the pear with the big paw paw......
(415) 354-4908 | Have I given you a clue......?
               |                       - Baloo the Bear
------------------------------------------------------------------
From: shuford@cs.utk.edu (Richard Shuford)
Newsgroups: comp.terminals
Subject: Re: VT100 Documentation in ASCII Format
Followup-To: comp.terminals
Date: 13 Dec 1992 06:36:35 GMT
Organization: University of Tennessee, Knoxville--Dept. of Computer Science
Distribution: usa
Expires: Wed, 20 Jan 1993 22:24:25 GMT
NNTP-Posting-Host: carlsberg.cs.utk.edu
Summary: anonymous FTP location
Keywords: VT100, terminal

In article <1992Dec7.045701.26073@netcom.com> horen@netcom.com
  (Jonathan B. Horen -- [408] 736-3923) writes:
>
> ... I just acquired a venerable VT100
> terminal, but I have no idea how to set it up. Can anybody tell me
> if the VT100 user documentation exists in ASCII format, available
> via anonymous FTP over the Internet? and, if so, where?

There is some information on this terminal available.

Try anonymous FTP to CS.UTK.EDU (128.169.201.1) and look in

    pub/shuford

-- 
 ...Richard S. Shuford | "Those who sow in tears will reap with songs of joy.
 ...shuford@cs.utk.edu | He who goes out weeping, carrying seed to sow, will
    Psalm 126:5-6 NIV  | return with songs of joy, carrying sheaves with him."
Newsgroups: comp.terminals
From: carlb@hardy.u.washington.edu (Carl Boernecke)
Subject: CIT-101e
Organization: University of Washington
Date: Tue, 15 Dec 1992 10:00:08 GMT

Does anyone have any ifnromation on the CIT-101e from C. Itoh?
I know it is a VT-100 compatible term (with 132-columns and all),
but qterm (program to query termninal) says it's a VT100 with
Graphics capability.  Anyone know about this?  If so, can I use
with X11 or MGR?  Or am I just crazy?  How about my SVR3 windowing
utils?  I haven't tried those yet because I'm short on drive space,
_very_ short.  Plus I haven't had much time.

Thanks much for any information.  Feel free to send it directly to
my system:  carlb@inex.wa.com

-- Carl Boernecke (carlb@u.washington.edu)