HDTenEightyP/NetNews huggingface dataset:
From: richm@netcom.com (Richard Mauri)
Newsgroups: fj.mail-lists.x-window
Subject: Re: To C or not to C...
Date: 26 Sep 92 11:29:56 GMT
Distribution: fj
Organization: Netcom - Online Communication Services  (408 241-9760 guest)

Date: 25 Sep 92 20:36:57 GMT
Message-Id: <9y0n7hq.richm@netcom.com>
Newsgroups: comp.windows.x,comp.windows.open-look,comp.lang.c,comp.lang.c++,comp.sources.testers

In article <28634@vedge.UUCP> hendrik@vedge.UUCP (Hendrik Boom) writes:
>sm86+@andrew.cmu.edu (Stefan Monnier) writes:
>: Excerpts from netnews.comp.lang.c++: 19-Sep-92 Re: To C or not to C...
>: Daniel Larsson@aut.abb.s (2219)
>: 
>: > In article <1992Sep15.141809.26239@mlb.semi.harris.com>
>: > chuck@trantor.harris-atd.com writes:
>: > >
>: > >C++.  I want to use C++, but fear that doing so will lock out a large
>: > >group of users who will not be able to compile my tools.
>:
>: And GCC is widely available now !
>: So just go to C++ (or better) !
>
>Is GCC also available on 8086 PC's?  Maybe even as a cross-compiler?


Sorry, I don't have an answer to your GCC/8086 question, but I have some
comments/concerns that I didn't see brought up earlier in this thread and
I wanted to add my 2cents worth.

If you contribute an application written in C++, this raises the
issue about class libraries. I expect the only way this will be popular
is if the application is built on additional classes that work with some
widely accepted class library. I can't see shipping an entire class
library with every new application! I imagine that contributing PD C++ based
applications really just forces the issue about building a PD c++ class
library. I know there already are things like this, Interviews for one, but
I don't see much evidence of its popularity given what I see contributed at
least on the mit export contrib. Do I hear correctly that what we want is
a C++ library that uses the Xt based widgets as primitives, like young's
MotifApp component library that uses motif as primitives. I already have
done some work with building application, really extending the library,
and consider this a "place to start". To the original poster and those
interested, what kind of library or home grown application framework 
do "we" use? Maybe something might evolve into an X consortium standard...

Rich Mauri
-- 
Richard Mauri               // Not ready to face the winter.
SW Eng / X hack             // Pray for wind.
Trimble Navigation Ltd.     // Pay the bills.
richm@netcom.com	    // Hope nothing breaks
From: rw@Rational.COM (Bob Weissman)
Newsgroups: fj.mail-lists.x-window
Subject: Keyboard equivalent for middle mouse button?
Date: 3 Oct 92 09:03:59 GMT
Distribution: fj
Organization: Rational, Santa Clara, CA

Date: 29 Sep 92 17:49:19 GMT
Message-Id: <1992Sep29.174919.2644@rational.com>
Newsgroups: comp.windows.x,ba.windows.x,comp.windows.x.motif

I'd like to get the same function (paste primary?) on my keyboard
as I have on the middle button on my mouse.

I've tried the obvious things at various levels of key mapping,
but can't find the secret.

Anybody know how to do this?

--
-- Bob Weissman
-- Internet: rw@rational.com
-- UUCP:     uunet!igor!rw
--
From: vijay@ncsa.uiuc.edu (Vijay Rangarajan)
Newsgroups: fj.mail-lists.x-window
Subject: X graphing program information.
Date: 6 Oct 92 12:27:03 GMT
Distribution: fj
Organization: Nat'l Ctr for Supercomp App (NCSA) @ University of Illinois

Date: Fri, 2 Oct 1992 20:20:10 GMT
Message-Id: <1992Oct2.202010.29643@ncsa.uiuc.edu>
Newsgroups: comp.windows.x

Are there any X graphing programs for real time display of variables ?

[ if there are any, do they run using a data file that can be constantly
 altered (appended to) by a program, like a log file of some sort ? ]

Thanks for any information,

Vijay.
From: jpd@discovery.msu.edu (Joe P. DeCello)
Newsgroups: fj.mail-lists.x-window
Subject: X (or not) German Tutor
Date: 6 Oct 92 13:07:50 GMT
Distribution: fj
Organization: Michigan State University

Date: 2 Oct 92 20:54:32 GMT
Message-Id: <1992Oct2.205432.20500@msuinfo.cl.msu.edu>
Newsgroups: comp.windows.x

Does anyone know of a PD (or cheap) German Tutor, preferably to run in X-win
on a Sparc2, Sun3, or Sun386i, running 4.1.1, 4.1, or 4.0.2 respectively?
---
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Joseph P. DeCello III                      e-mail:  jpd@cad.msu.edu
Michigan State University                      ph:  (517) 353-3027 
Specialized Computing Support Services              10am - 5pm EST
From: rupley@cs.arizona.edu (John Rupley)
Newsgroups: fj.mail-lists.x-window
Subject: Re: X-window bar chart software?
Date: 1 Oct 92 00:52:58 GMT
Distribution: fj
Organization: U of Arizona CS Dept, Tucson

Date: 29 Sep 92 00:08:32 GMT
Message-Id: <22946@optima.cs.arizona.edu>
Newsgroups: comp.windows.x

In article <19221@smoke.brl.mil> yih@tbd2.brl.mil (Yolin I. Huang ) writes:
>
>there is a need to plot bar charts on X-window environment.  I checked
>Xfig, Gnuplot, Tgif; it seems that these packages don't do bar charts that
>easily (as, for instance, in DOS Lotus 1-2-3).  I am wondering, if there
>are available packages to do bar charts? ftp sites?

"S", AT&T's implementation of the S language ("a programming environment
for data analysis and graphics") should do for you very nicely, for
barplots and much else.  Source from AT&T USL.  Value added binaries
from Stat Sci.  It may even be likely that BRL has S up.

>Thanks in advance.
>
>Yolin Huang
>yih@brl.mil, Maryland.

John Rupley
Biochemistry
rupley@cs.arizona.edu
From: hasty@netcom.com (Amancio Hasty Jr)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Free software and the future of support for Diamond products
Date: 28 Sep 92 07:35:45 GMT
Distribution: fj
Organization: Netcom - Online Communication Services  (408 241-9760 guest)

Date: Fri, 25 Sep 92 17:24:13 GMT
Message-Id: <7s0nqk-.hasty@netcom.com>
Newsgroups: comp.unix.sysv386,comp.windows.x,comp.os.linux,comp.unix.bsd,comp.os.mach,comp.sys.ibm.pc.misc,comp.sys.ibm.pc.hardware

In article <1992Sep25.075815.10416@thunder.mcrcim.mcgill.edu> mouse@thunder.mcrcim.mcgill.edu (der Mouse) writes:
>In article <Bv034L.DEJ@usenet.ucs.indiana.edu>, ntaib@silver.ucs.indiana.edu (Iskandar Taib) writes:
>> In article <c3xn+a=.kwan@netcom.com> kwan@netcom.com (Kwan-Seng Low) writes:
>>> Here's my dream card: User contributed, VESA compliance SVGA card.
>>> Given enough hardware design tools ([...]), one would
>>> came up a hardware design that only utilize standard component
>>> that's readily available in any large electronics shop [...].
>>> Complete schematics, parts list, how to obtain it, complete doc. on
>>> how to build it, everything available on public domain.
>> Why bother, when you can buy a very good card for under $200?
>
>Why?  To quote the posting you replied to, complete schematics, parts
>list, how to obtain it, [...], everything available on public domain.
>
>Of course, perhaps your "very good card for under $200" *has* all of
>that.  If so, please tell me where to get it!  Tell the whole net
>where, for that matter - the Diamond flap has demonstrated the
>existence of plenty of people who'd love to find such a thing.
>
>					der Mouse
>
>			    mouse@larry.mcrcim.mcgill.edu

I just finished speaking to customer marketing out of S3
Corporation.
If you are interested, S3 can make readily available the 
complete schematics on how to build an S3 based svga card.
Maybe we could just build an 8C928 based card which could
be 2 to 3 times faster than the 8C911 used in the Stealth.



And, I can provide an X11R5 server which can used the
extended graphics functions on the S3 card.

So, the ball is now in the hands of the EE types.

How about it guys? Shall we make a run for it?

Feel freel to call me or to send me e-mail.

Amancio Hasty		Home: 415-495-3046
From: quekck@hpsgm2.sgp.hp.com (Chwee Kong QUEK)
Newsgroups: fj.mail-lists.x-window
Subject: How to create a topmost overrideshell which can parent MainWindow widget ?
Date: 5 Oct 92 11:19:42 GMT
Distribution: fj
Organization: HP Singapore Notes-Server

Date: Thu, 1 Oct 1992 02:55:04 GMT
Message-Id: <53620001@hpsgm2.sgp.hp.com>
Newsgroups: comp.windows.x


How to, programmatically, create an "OverrideShell" as the topmost widget
of an X application which needs to create a MainWindow child under the
topmost "OverrideShell" ?


Specifically, the application will 

  pop up a window which requires 

  user to enter text and 
  
  window will close only after return key is pressed 
  or a button on the window is pressed,

  inputfocus then is released.



I have tried XtInitialize() with both XmNoverrideRedirect and
XmNsaveUnder resouces/atoms set to True. It did not work


Any help is very much appreciated.


thanking you in advance.
quek
From: news@proact.proactive.com (Usenet Netnews)
Newsgroups: fj.mail-lists.x-window
Subject: test
Date: 28 Sep 92 11:35:19 GMT
Distribution: fj
Organization: ProActive Software, Inc.

Date: 26 Sep 92 00:56:51 GMT
Message-Id: <1992Sep26.005651.15147@proactive.com>
Newsgroups: comp.windows.x

Testing.
From: bin@primate.wisc.edu (Brain in Neutral)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Help needed writing a simple Imakefile
Date: 1 Oct 92 23:39:56 GMT
Distribution: fj
Organization: Cafe Limbo

Date: 29 Sep 1992 12:01:08 -0500
Message-Id: <1aa24kINNij3@uakari.primate.wisc.edu>
Newsgroups: comp.unix.programmer,comp.windows.x

From article <1992Sep29.055002.28144@mel.dit.csiro.au>, by len@mel.dit.csiro.au (Len Makin):
> 
> In article <1992Sep27.021625.1366@tc.cornell.edu>, mdw@theory.TC.Cornell.EDU (Matt Welsh) writes:
> |> I've been trying to write an Imakefile for a small X-Windows program
> |> that I'm working on, to no avail. Yes, I have RTFM but I can't seem
> |> to translate the instructions into to workable Imakefile. I'd really
> |> appreciate it if someone out there could write up a quick generic
> |> file for me.... this program has, say, two C source files (foo.c and
> |> bar.c) which are (of course) compiled to foo.o and bar.o respectively,
> |> then linked together, against libm.a and libX11.a (-lm and -lX11) to
> |> the executable baz. A normal Makefile for this would of course look like
> |> 
> |> baz: foo.o bar.o
> |> 	cc -o baz foo.o bar.o -lm -lX11
> |> 
> |> And what I need to do is express this kind of operation in an Imakefile.
> |> Also, do I need some other file (like an Imake.temp)? If so, what
> |> would I put in that file for this (simple) program? 
> This is a common problem with imake (We almost need a comp.windows.x.imake
> or comp.soft-sys.imake to talk about it). Here's what I ended up using:
> ------------------------------------------------------------------------
> #
> # Simple(?) Imakefile
> #
>             SRCS = foo.c bar.c
>             OBJS = foo.o bar.o
>           LDLIBS = -lm -lX11 $(EXTRA_LIBRARIES)
>         PROGRAMS = baz
> 
> ComplexProgramTarget(baz)

There are threee problems here.

1) To use ComplexProgramTarget(), you should set the make variable PROGRAM,
not PROGRAMS.  The latter is used with ComplexProgramTarget_[123]().

2) LDLIBS is defined in Imake.tmpl either as

	LDLIBS = -L$(USRLIBDIR) $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
or
	LDLIBS = $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)

Either way, you don't need to include EXTRA_LIBRARIES in the definition of
LDLIBS.

3) You shouldn't be setting LDLIBS anyway, because it's already given a
value in Imake.tmpl and you'll just end up with conflicting assignments.
For ComplexProgramTarget() the way to specify application-dependent libraries
is to assign them to LOCAL_LIBRARIES.

So I suggest your Imakefile should look like this:

             SRCS = foo.c bar.c
             OBJS = foo.o bar.o
  LOCAL_LIBRARIES = -lm -lX11
          PROGRAM = baz

ComplexProgramTarget(baz)

-- 
Paul DuBois
dubois@primate.wisc.edu
From: bvh@cse.unl.edu (Ben Hollingsworth)
Newsgroups: fj.mail-lists.x-window
Subject: Need source for 24-bit color frame buffer
Date: 26 Sep 92 08:03:00 GMT
Distribution: fj
Organization: University of Nebraska - Lincoln

Date: Wed, 23 Sep 1992 17:47:56 GMT
Message-Id: <1992Sep23.174756.11202@unlinfo.unl.edu>
Newsgroups: comp.windows.x

Howdy,

Does anyone out there know if I can get my hands on some sample
code for a 24-bit color frame buffer for an X server?  We're
writing a server where I work & have a working 8-bit version,
but we (I'm not the one actually writing it) don't know how to
do the 24-bit cfb stuff.  According to the programmer, there's
no such code in the standard X11R5 distribution.

				Thanks in advance,
				Obi-Wan

--
 |\_/|  AACK! ||  My motto:             ||  "Obi-Wan" (Ben Hollingsworth)
\'o.0'/       ||    Eat right,          ||  MicroImages, Inc.  Lincoln, Nebraska
=(___)=       ||    exercise regularly, ||  University of Nebraska - Lincoln
   U   PTHAT! ||    and die anyway.     ||  email:  bvh@cse.unl.edu
From: grafted!ziggy@bloom-beacon.MIT.EDU (anthony lewis)
Newsgroups: fj.mail-lists.x-window
Subject: 3D Twm mode?
Date: 4 Oct 92 08:56:45 GMT
Distribution: fj
Organization: GRAFTED, Central Indiana's Usenet BBS 317-881-4369

Date: 1 Oct 92 04:30:59 GMT
Message-Id: <cy5XRB1w161w@grafted.UUCP>
Newsgroups: comp.windows.x

I hope this not too basic of a question, or a "FAQ", ( I am new here.. I 
just got X11 running on my linux system a couple of weeks ago ! ), 
but I was wondering how to get "TWM" to run with the "3D" windowed effect.
I know it can, being there is a test user supplied with my binaries, but
I have no idea what the difference is!.. Thanks for any help, and I hope
to be here for a long time, now that I can run "X" too....


                                        Ziggy.

--
anthony lewis
The Grafted Branch BBS
317-881-4369
internet: ziggy@grafted.UUCP
uucp: ..!uunet!grafted.UUCP!ziggy
 = = Grafted Branch BBS (317) 889-6997 2 Gig on-line = =
From: daynes@rodin.inria.fr (Laurent Daynes INRIA ROCQUENCOURT)
Newsgroups: fj.mail-lists.x-window
Subject: Re: XFree86 - where is it?
Date: 5 Oct 92 20:27:08 GMT
Distribution: fj
Organization: INRIA * Rocquencourt BP 105 * F-78153 LE CHESNAY CEDEX* France

Date: 5 Oct 92 12:50:55 GMT
Message-Id: <4319@seti.UUCP>
Newsgroups: comp.windows.x

I'am also very interrested by such an X-server, and especially by a
prototype of XConfig files suited to ATI VGA Wonder SVGA cards.

Thanks for helps.

Laurent.

-- 

Dayn`es Laurent
RODIN Project
INRIA
daynes@rodin.inria.fr
From: msmcknig@unccsun.uncc.edu (Michael S McKnight)
Newsgroups: fj.mail-lists.x-window
Subject: Opening an output window from within an application in Xwindows
Date: 2 Oct 92 23:42:29 GMT
Distribution: fj
Organization: University of NC at Charlotte

Date: 1 Oct 92 00:30:30 GMT
Message-Id: <BvF2qv.G87@unccsun.uncc.edu>
Newsgroups: comp.lang.c,comp.windows.x,comp.sys.unix

I have am writing an application under xwindows in C.  I need to open an
output shell-type window from within my application and redirect any text
output to it... Something like:

MakeTextWindow(windowname,xwidth,yheight);

PrintTextWindow(windowname,"...",vars...);

Is there anyway to do this?  XDrawString is way to cumbersom and inflexible.
I mentioned this before and got several mentions of an XTerm... what is this
and how would I open one from within my application and redirect text to it?

Please, any help will be greatly appreciated.  Code, books and/or ideas!!!

Please Email me directly:  
Michael McKnight -- msmcknig@unccsun.uncc.edu

-- 
_________________________________________________________________________
| Michael McKnight -- msmcknig@unccsun.uncc.edu |    Amiga 3000-25/100  |
|                     msmcknig@mosaic.uncc.edu  |  Insight 386DX-25/105 |
-------------------------------------------------------------------------
From: books@fsunuc.physics.fsu.edu (Roger Books)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Free software and the future of support for Diamond products
Date: 29 Sep 92 21:51:15 GMT
Distribution: fj
Organization: FSU nuclear physics

Date: 29 Sep 92 15:26:58 GMT
Message-Id: <books.4.0@fsunuc.physics.fsu.edu>
Newsgroups: comp.unix.sysv386,comp.windows.x,comp.os.linux,comp.unix.bsd,comp.os.mach,comp.sys.ibm.pc.misc,comp.sys.ibm.pc.hardware

In article <BvB2BC.C34@usenet.ucs.indiana.edu> ntaib@silver.ucs.indiana.edu (Iskandar Taib) writes:

>In article <1992Sep25.075815.10416@thunder.mcrcim.mcgill.edu> mouse@thunder.
mcrcim.mcgill.edu (der Mouse) writes:>>In article <Bv034L.DEJ@usenet.ucs.
indiana.edu>, ntaib@silver.ucs.indiana.edu (Iskandar Taib) writes:>
>>>> Complete schematics, parts list, how to obtain it, complete doc. on
>>>> how to build it, everything available on public domain.
>
>>> Why bother, when you can buy a very good card for under $200?
>
>>Why?  To quote the posting you replied to, complete schematics, parts
>>list, how to obtain it, [...], everything available on public domain.
>
>>Of course, perhaps your "very good card for under $200" *has* all of
>>that.  If so, please tell me where to get it!  Tell the whole net
>>where, for that matter - the Diamond flap has demonstrated the
>>existence of plenty of people who'd love to find such a thing.
>
>You seem to be arguing that simply because all this stuff is
>in the public domain it immediately makes the card 
>
>1) Good. Fast.
>2) Reliable.
>3) Widely used.
>4) Free.
>
>In other words better than the $200 commercial item. Or at 
>least you'd need to argue that having everything in public 
>domain makes everything else a worthwhile sacrifice..
>

If you've been following this discussion you'd see that all the design
proposals do things you can't do with the current video cards.  If you
want to do VR, drive multiple monitors (2+) or an array[] of other things.
All these make it a worthwhile project.

>----------------------------------------------------------------------------
--->Iskandar Taib                          | The only thing worse than Peach 
ala>Internet: NTAIB@SILVER.UCS.INDIANA.EDU |    Frog is Frog ala Peach
>Bitnet:   NTAIB@IUBACS                 !

Roger

books@fsunuc.physics.fsu.edu
From: joe@oilean.islandsw.com (Joe McGuckin)
Newsgroups: fj.mail-lists.x-window
Subject: mit server vs. Openwindows when drawing graphics
Date: 4 Oct 92 09:25:16 GMT
Distribution: fj
Organization: Island Software

Date: Thu, 1 Oct 1992 18:28:12 GMT
Message-Id: <JOE.92Oct1102812@oilean.islandsw.com>
Newsgroups: comp.windows.x

I have a Pixmap (spare) 'x' pixels wide & high. If I do an XFillArc(displa, pixmap... x, x) (draw a circle touching
all edges) the Sun server acts as expected. The mit server draws a circle that is clipped 1 pixel at the bottom 
and right edges.

Why??

-joe

-- 

Joe McGuckin             joe@islandsw.com
Island Software    	 oilean!joe@sgi.com
(415) 969-5453
From: etxmesa@eos.ericsson.se (Michael Salmon)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Paned widget resources - xrn config
Date: 2 Oct 92 22:50:41 GMT
Distribution: fj
Organization: Ericsson Telecom AB

Date: 2 Oct 92 14:09:22 GMT
Message-Id: <1992Oct2.140922.9653@ericsson.se>
Newsgroups: comp.windows.x

In article <2566@devnull.mpd.tandem.com>, 
duanev@devnull.mpd.tandem.com (Duane Voth) writes:
|> Can someone show me how to arbitrarily position the children of a paned
|> widget using Xresources?  Specifically, I would like xrn to place the
|> article view window to the RIGHT of the article index window instead of
|> below, so I can get 50+ lines of each at once.  (xrn code change suggestions
|> are also welcome)

The resource name is called orientation and it takes values of
horizontal and vertical. Beware though that there are 6 panes to that
window so you may need to do something a little fancy to get it to
work. If you have editres then I suggest that you use it to play with
values.

-- 

Michael Salmon

#include	<standard.disclaimer>
#include	<witty.saying>
#include	<fancy.pseudo.graphics>

Ericsson Telecom AB
Stockholm
From: carter@iastate.edu (Michael B Carter)
Newsgroups: fj.mail-lists.x-window
Subject: Opening a 24-bit window: HELP!
Date: 26 Sep 92 08:43:02 GMT
Distribution: fj
Organization: Iowa State University, Ames, IA

Date: 25 Sep 92 17:29:54 GMT
Message-Id: <1992Sep25.172954.417@news.iastate.edu>
Newsgroups: comp.windows.x

Folks,

   I feel stupid even asking this question, but I can't seem to call
XCreateWindow() properly to create up a 24-bit window.  Here are the code
hightlights:

    /* Find a suitable Visual for numcolors */
    vinfo_template.depth = 24;
    vinfo_template.class = TrueColor;
    vis = XGetVisualInfo (dpy, VisualDepthMask | VisualClassMask,
      &vinfo_template, &num_vis);

    /* Create a Colormap in the Visual we found */
    cmap = XCreateColormap (dpy, RootWindow(dpy, DefaultScreen(dpy)),
      vis->visual, AllocNone);

    /* Listen for Expose, Enter, and Leave events */
    values.event_mask = ExposureMask | EnterWindowMask | LeaveWindowMask;
    values.colormap   = cmap;
    values.border_pixmap = None;
    values.background_pixmap = None;
    win = XCreateWindow (dpy, RootWindow(dpy, DefaultScreen(dpy)),
      0, 0, width, height, 0, vis->depth, InputOutput, vis->visual,
      CWColormap | CWEventMask | CWBorderPixmap | CWBackPixmap,
      &values);

Now, the XGetVisualInfo() call is always successful, and finds a 24-bit
TrueColor visual.  The XCreateColormap() succeeds.  The XCreateWindow() fails
on a "BadMatch" error.  I have read about the three of these calls in volumes
0, 1, and 2 until I'm blue in the face.  There are about a zillion ways to get
a BadMatch error in XCreateWindow(), but I thought I had them all covered.
Obviously not.  If anyone could supply me with an explanation of why the above
code fails, or a similar code fragment that works, I'd be eternally grateful!
-- 
 -----------------------------------------------------
/ Michael B. Carter   |  Never forget that FREEDOM is \
\ carter@iastate.edu  |  paid for with RESPONSIBILITY./
 -----------------------------------------------------
From: vk@ucs.att.com (Vijay Kothari)
Newsgroups: fj.mail-lists.x-window
Subject: XWD and XWUD source code
Date: 5 Oct 92 08:28:46 GMT
Distribution: fj
Organization: AT&T Universal Card Services, Jacksonville FL

Date: 2 Oct 92 11:59:38 GMT
Message-Id: <1992Oct2.115938.7229@ucs.att.com>
Newsgroups: comp.windows.x

Hello,


Is any one knows where i can get xwd and xwud source code.
Any ftp site or if someone has it and can send me through
e-mail.

Thanks


Vijay Kothari      e-mail :  vijay@ucs.att.com