HDTenEightyP/NetNews huggingface dataset:
From: kirke@fox.csd.sgi.com (Kirk Erickson)
Newsgroups: comp.windows.x.announce
Subject: comp.windows.x.motif comp.windows.open-look rec.gambling
Date: 18 Aug 92 23:15:48 GMT
Distribution: inet
Organization: Silicon Graphics, Inc.

I have posted a new version of xblackjack on export.lcs.mit.edu:

	contrib/xblackjack-2.0.tar.Z

Here's the README:

Xblackjack is a MOTIF/OLIT based tool constructed to get you ready for the
casino.  It was inspired by a book called "Beat the Dealer" by Edward O.
Thorp, Ph.D. of UCLA.  A number of important statistics are maintained for
display, and used by the program to implement Thorp's "Complete Point System"
(high-low system).

Beginners can learn a basic strategy which doesn't require counting.  The
best strategy employs a simple card counting technique which can be used to
distinguish favorable situations.  Avid players can learn to compute Thorp's
high-low index, which takes the number of unseen cards into account.

The index is used by the program to suggest a bet, indicate when you should
buy insurance, and whether you should stand or hit, etc.  You can test the
strategy using a slider to control "autoplay mode".  Pressing the message
button below the playing area provides hints; the current count, index
and strategy table are revealed.

To build and run: 

	vi Imakefile
	  <indicate you want OLIT, if you don't want Motif>
	  <identify non-standard install targets, if any>
	xmkmf
	make World
	xrdb -merge XBlackjack.ad
	xblackjack

to install:

	make install install.man

This version allows you to vary the number of decks and starting bankroll
through resources (see XBlackjack.ad).  It's hardcoded to play Reno rules;
you can double down on 10 or 11 only, and dealer hits soft 17.

Thanks to GUX (Guy Renard) grenard@elrond.stg.trw.com, for providing the
OLIT support introduced in this version.

Please direct comments, suggestions, and patches to:
--
---------------------   o  ---------------------------------------------
Kirk Erickson         <(        Silicon Graphics Inc., Mountain View, CA
kirke@sgi.com          [\.                               uunet!sgi!kirke
Newsgroups: comp.windows.x
From: spencer@cgrg.ohio-state.edu (Stephen N. Spencer)
Subject: Annoying <ctrl>-D problem when exiting X.
Organization: OSU Advanced Computing Center for the Arts and Design
Distribution: usa
Date: Thu, 20 Aug 1992 11:18:12 GMT

System: Sun SPARCstation IPX, SunOS 4.1.1, X11R4.
Problem:  Occasionally, perhaps one in four or one in every five times I
exit X, I get a stream of <ctrl>-D characters being spit out from somewhere,
which causes a stream of "Use 'logout' to logout." messages to appear on my
screen.  After about twenty of them, the machine logs me out.  That's OK,
I guess, as that is what I want to do when I get out of X most of the time.

Question 1:  What's causing this stream of <ctrl>-D characters?
Question 2:  How can I fix it?

Details:  My .xinitrc file initiates various xterms and a clock in the 
background, then runs 'twm' in the foreground.  I get out of 'twm' and X
by selecting a menu item in a 'twm' popup menu.  I then call 'clear_colormap'
and 'kbd_mode -a' to restore the default colormap and restore the keyboard.
It is here that my problem occurs.


-- 
Stephen N. Spencer, Graphics Research Specialist           ,__o      ,__o
spencer@cgrg.ohio-state.edu  (or spencer@siggraph.org)   _-\_<,    _-\_<, 
(614) 292-3416                                          (*)/'(*)  (*)/'(*)
Newsgroups: comp.windows.x
From: molly@krang.vis.citri.edu.au (Mark Ollila)
Subject: How do you create a Modeless popup Widget?
Organization: Computer Science, University of Melbourne, Australia
Date: Fri, 14 Aug 1992 04:47:49 GMT

Just a simple question.

I want to create a Widget that pops up at a click of a button,
and just appears somewhere ( users choice ). 

That it easy. But I want control ( input ) to still go to the
application window, not the popup.

So what I want is a modeless popup that does not prevent 
interaction with the rest of the application ( but when the mouse
is in the popup input goes to the popup ).

Eg Display images in popup widgets.

Thanks in advance.
Mark.

-- 
 _--_|\    Mark Ollila                      1. Hail King Laurie
 /      \  CITRI, Computer Science Dept.    2. "I remember now"  QR:OMC
 \_.--.*/  University of Melbourne          3. "I'll be back" AS 
       v   email: molly@vis.citri.edu.au.   4. "I am not an animal" rang
From: pturner@amb4.ese.ogi.edu (Paul J Turner)
Newsgroups: comp.windows.x
Subject: Re: Wanted: a PD X-tool for graphical data presentation (SOLUTION)
Summary: Temporarily unavailable at amb4.ese.ogi.edu
Keywords: data presentation,X-tool
Date: 13 Aug 92 22:06:57 GMT
Article-I.D.: ogicse.41325
Organization: Center for Coastal and Land-Margin Research

In article <1992Aug13.162937.10520@Princeton.EDU> bongo@splash.Princeton.EDU (Ameet A. Ravel) writes:
>At GFDL, we use a public-domain Motif and Xview oriented package
>called ACE/gr, written by Paul Turner.
[...]

ACE/gr (aka xvgr and xmgr) is presently unavailable at this site. For various 
reasons, all sources and binaries have been removed until I can make some 
necessary changes to the sources and documentation. This should take no 
more than a couple of days. Archie should be able to find a couple of
alternate sites if you don't want to wait - the most recent versions
are xvgr at 2.08 patchlevel 5 and xmgr at 2.07.

>You can find it by anonymous FTP from amb4.ese.ogi.edu [129.95.20.76]
>in pub/acegr.
[...]

When ACE/gr does appear on amb4, it will be found in 

amb4.ese.ogi.edu:CCALMR/pub/acegr/

Paul J Turner
Newsgroups: comp.windows.x
From: roband@monu6.cc.monash.edu.au (Robert Andrew)
Subject: Public Domain X for MS-DOS
Organization: Monash University, Caulfield Campus
Date: Thu, 20 Aug 1992 00:05:54 GMT


Does anyone know of a public domain X server /emulator for MS-DOS
and where to get it?

Thanks in advance.
-- 
Robert Andrew, Department Of Software Development
Monash University, Caulfield Campus
Australia
E-mail:roband@monu6.cc.monash.edu.au
From: dob@inel.GOV (Dave Brooks)
Newsgroups: comp.windows.x
Subject: Re: AthenaTools Plotter Widget Set Version 6.0
Date: 18 Aug 92 18:25:37 GMT
Organization: The Internet


Hi everybody,

I'm in the process of downloading from Denmark (or domain '.de') the
recently announced tools mentioned in the subject.  Since this link is NOT
fast, if you have a little patience, I can be the only one clobbering
transatlantic traffic.  I'll upload to export when done, hopefully soon.

I already email'd the author to let him know.

Best regards,
dave
-------------------------------------------------------
David L. Brooks
Idaho National Engineering Lab.  INTERNET: dob@INEL.GOV
POB 1625 MS 2603                 Phone: (208) 526-0826
Idaho Falls, Id. 83415		 FAX:   (208) 526-9936
-------------------------------------------------------
Newsgroups: comp.windows.x
From: deveau@oceanroutes.ns.ca ("Terry J. Deveau")
Subject: Re: Keyboard input with X
Organization: Oceanroutes Canada Inc.
Date: Mon, 17 Aug 1992 20:09:31 GMT

> 
> Can someone tell me how to determine which keys have been pressed w/i and X
> program? 
> 
> The book I'm using says to use the function XLookupString() in the
> event->xkey.keycode structure, BUT it doesn;t say how to. I wrote this code to
> determine if the last key pressed was a space, but all my attempts end with a seg
> fault....
> 
> 
>   if (XLookupString (event->xkey.keycode) == ' ')
>     {
>       etc.
>     } 
> 
> I would be grateful for any insight into this problem someone can give me.
> 
The following will give you an idea of how I do it; sorry about not sending
a piece of actual working code, but I pulled this together from a more
complex function.

  char cmd[80], *ptr, *ptrc, *chr;
  Window win;
  XSetWindowAttributes Wattrib;
  XGCValues GCval;
  GC GCa;
  XCharStruct extent;
  XEvent evnt;
  long compse[5];
  XSizeHints szHints;
  KeySym ks;

    XNextEvent (dsp, &evnt);
    switch (evnt.type) {
      case ButtonPress : XRaiseWindow (dsp, win); break;
      case KeyPress : nc = XLookupString (&(evnt.xkey),cmd,sizeof cmd,NULL,compse);
        if (!str) { nc = -1; break; }
        if (IsCursorKey(ks=XLookupKeysym(&(evnt.xkey),0))) {
          int in, jn, go = 1, k = -1, kn, i, j, nch=0, ich[10];

          switch (ks) {
            case XK_Up : if (sz==1) { k = 0; kn = 1; } break;
            case XK_Down : if (sz==1) { k = data->nopt-1; kn = -1; } break;
            case XK_Right : if (sz>1) { ... }
              break;
            case XK_Left : if (sz>1) { ... }
              break;
          } }
        else {
          switch (ks) {
            case XK_Delete :
            case XK_DeleteChar : if (sz>1) { ... }
              break; 
          default :
          for (chr=cmd; chr-cmd<nc; chr++) {
            switch (*chr) {
              case '\b' : ...
                break;
              case '\r' : nc = -1; break;
              default : if (ptr-str==sz) XBell (dsp, 100);
                else {
                  if (sz>1) { ... }
                  else if (NULL==strchr(str,*chr)) XBell (dsp, 100);
                  else {
                    *str = *chr;
                    nc = -1; } } } } } }
        break;
      case MappingNotify : XRefreshKeyboardMapping (&(evnt.xmapping)); break;
      case Expose : if (!evnt.xexpose.count) {
          paintWindow(dsp, win, &GCa, data);
          if (str && sz>1) {
            XSetForeground (dsp, GCa, colour_text);
            XDrawString (dsp, win, GCa, left, line, str, ptr-str);
            XSetForeground (dsp, GCa, colour_cursor);
            XDrawString (dsp, win, GCa, cursor-2, line, "_", 1); } }
        break; }
From: michiel@ptt-iat (Michiel vd Waaij)
Newsgroups: comp.windows.x
Subject: Cyrillic fonts for X/Motif
Keywords: Cyrillic fonts
Date: 17 Aug 92 12:13:42 GMT
Organization: PTT Telecom B.V. I&AT NWDS-DS-OOTA , Groningen The Netherlands

For an application that has to rin in the Ukraine i would like to know a few
things:
- is there a Cyrillic font for X11R4?
- is there an Ukrainian font for X11R4? (slightly differemt from Cyrillic)
- if not can this be self-created?
- if it can be created, how? any info on this subject available anyhow?
  like font formats and alike?
- does the current Motif release support other than standard font types?
- what code table (like ASCII) is used for these other types of fonts

I really apreciate your help on this. If there is more interrest i will 
summarise.

Best regards

Michiel van der Waaij

-------------------------------------------------------------------------------
Michiel van der Waaij               | Telephone: (+31) (050) 855243
PTT Telecom BV                      | Telefax  : (+31) (050) 855310
I&AT                                | E-mail   : michiel%ptt-iat@nluug.nl
P.O. Box 188                        | DISCLAIMER: This statement is not an
NL-9700 AD Groningen                | official statement from, nor does it
The Netherlands                     | represent an official position of, PTT
-------------------------------------------------------------------------------
Newsgroups: comp.windows.x
From: boyd@sce.carleton.ca (Joanne Boyd)
Subject: HELP: window GUI in an embedded system?
Organization: Carleton University
Date: Fri, 14 Aug 1992 13:54:13 GMT

A friend has been asked to invesigate the cost of developing a
window-based GUI for an embedded system.  Does anyone know if there is
any way of using some of the X code (or some other existing
development software for windowing systems) to avoid the task of
developing an equivalent sort of widget set before even starting with
the application software. (Please excuse the terminology if its wrong:
I'm a complete novice when it comes to graphics and window software) 

If there is, what would one need?  Note, there are fairly strict
timing constraints on the proposed system.

Sould I have posted to another group?

Thanks in advance.

J.L. Boyd

Please send replies to boyd@sce.carleton.ca
From: jisyoon@sorak.kaist.ac.kr (Jinsoo Yoon)
Newsgroups: comp.windows.x
Subject: Wanted: public domain X Record (like Record in Windows) program
Date: 17 Aug 92 17:27:42 GMT
Organization: KAIST in Seoul Korea

I'd like to know whether there is X a record program, which records keyboard
and mouse events, and plays back the saved events later.
Please post or send the information to me.

Thanks,

Jinsoo Yoon --
Newsgroups: comp.windows.x,comp.unix.aix
From: phil@ux1.cso.uiuc.edu (Phil Howard)
Subject: strange xterm error message
Followups-To: comp.windows.x
Organization: University of Illinois at Urbana
Date: Fri, 21 Aug 1992 23:43:52 GMT

I get the following error message INTERMITTENTLY when I execute xterm
under AIX.  I have never seen it on other systems.

xterm: Error 23, errno 22: Invalid argument

I've tried changing around the arguments on the command and I get nothing
different.  I even give the command with no arguments and get the same
thing.  The intermittency is periods of many minutes in which this error
message comes out, and other periods when xterm works nearly OK.

Does anyone know what this error message REALLY means?

I crossposted to comp.unix.aix just in case this is something common to
X or xterm under AIX.  Followups to comp.windows.x (unless you are sure
it belongs elsewhere, in which case tell me).

Thanks
From: jpd@discovery.msu.edu (Joe P. DeCello)
Newsgroups: comp.windows.x
Subject: Re: X Server for MS-Windows
Date: 18 Aug 92 14:02:41 GMT
Reply-To: jpd@discovery.msu.edu
Organization: Michigan State University

In article 92Aug18095844@kielo.uta.fi, av@kielo.uta.fi (Arto V. Viitanen) writes:
> >>>>> On 17 Aug 92 16:36:04 GMT, feng@netcom.com (FengHeng Wu) said:
> 
> 
> feng> I am planning to buy a X-Server that can run under MS-Windows -
> feng> basically a product that can allow me to run X-applications in
> feng> MS-Windows environment. So far I have come across only one such product
> feng> - (HCL-eXceed/W by Hummingbird, Canada, which costs around $500). Could
> feng> you suggest me some other such products, with some discussion on the
> feng> relative merits, prices etc. ? Or a suitable newsgroup where I should
> feng> post this ?
> 
> 
> There is a file called XServers-NonUNIX.txt. It can be ftped from 
> 
> export.lcs.mit.edu[18.24.0.12] in /contrib/XServers-NonUNIX.txt.Z
> ftp.uwp.edu[131.210.1.4] in /pub/misc/XServers-NonUNIX.txt
> msdos.archive.umich.edu[141.211.164.153] in
> 		msdos/info/XServers-NonUNIX.txt and
> 		msdos/info/xnonunix.zip
> 
> For PCs it lists following servers
> 
> 1. DESQview/X
> 2. HCL-eXceed/W
> 3. IBM X/Windows
> 4. MicroX
> 5. PC DECwindows Motif V3.0
> 6. PC X-Windows
> 7. PC Xsight
> 8. PC-XView
> 9. SAGE 1280 Adapter and X Windows Display Server
> 10. TeemTalk-X
> 11. Term-X
> 12. Vista-eXceed
> 13. X-One
> 14. X11/AT
> 15. X Appeal
> 16. XVision
> 17. Xinet X-Station
> 18. Xnth
> 19. XoftWare
> 
> of which 2, 8, 12, 13, 14 and 16 are claimed to be Windows based. I think,
> you can run Windows under DesqView/X.
> --
> Arto V. Viitanen				               email: av@uta.fi
> University Of Tampere,				   	           av@cs.uta.fi
> Finland


Number 4 also has a windows version (new).
---
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Joseph P. DeCello III                      e-mail:  jpd@cad.msu.edu
Michigan State University                      ph:  (517) 353-3027 
Specialized Computing Support Services              10am - 5pm EST
Newsgroups: comp.windows.x
From: kmo@sae.com (Mike Ovington)
Subject: Re: Implementing XNextEvent timeout
Organization: Software Architecture & Engineering, Inc.
Date: Fri, 14 Aug 1992 00:02:28 GMT

In article <1992Aug12.082152.3277@g2syd.genasys.com.au>, andrewc@g2syd.genasys.com.au (Andrew Congdon) writes:
|> 
|> How does Xt implement timeouts?
|> 

Xt uses select() to watch the connection to the server (and any other file
descripters added by Xt{App}AddInput()). The timeout specified on the
select is computed based on the timers that have been requested by the
application. You can certainly to the same thing without Xt, though it
is probably easiest to grab the Xt code to do it. See lib/Xt/NextEvent.c
in the source tree.
-- 
________________________________________________________________________________
      Michael S. Ovington               Template Software
      (703) 318-1000                    13100 Worldgate Drive, Suite 340
      uunet!sae!mikeo                   Herndon, VA 22070-4382
      mikeo@sae.com                     Fax: (703) 318-7378
________________________________________________________________________________
From: ndd@bal1 (Ned Danieley)
Newsgroups: comp.windows.x
Subject: SUMMARY: X11R5-based vt100 emulator needed
Date: 14 Aug 92 13:07:32 GMT
X-Newsreader: Tin 1.1 PL4

Thanks for all the responses to my query. Most of the respondents
pointed out that I can remap the function keys for an individual
xterm if I use the -name option to change the application name (I
thought I'd have to recompile xterm). That left me with the problem
that we use several of the 'F' function keys with twm, but Larry
Virden solved that by pointing out that the 'R' keys could
be used too (seems like I could have thought of that myself!).
In addition, I've found that recompiling xvttool with
the openwin V3 libraries gets rid of the main problem we had with
it. So I really can have it all!

Thanks to all who responded; a partial list is below.

lvirden@cas.org
mende@piecomputer.rutgers.edu
v.hoang@att.com
bernward@rcc.de


--
Ned Danieley (ndd@sunbar.mc.duke.edu)
Basic Arrhythmia Laboratory
Box 3140, Duke University Medical Center
Durham, NC  27710   (919) 660-5111 or 660-5100
Newsgroups: comp.windows.x,comp.windows.x.apps
From: cristy@eplrx7.es.duPont.com (Cristy)
Subject: Re: WANTED: Program to play a set of PostScript files in sequence
Organization: DuPont Central Research & Development
Date: Fri, 14 Aug 1992 17:38:43 GMT

In article <1992Aug12.232129.18293@sjsumcs.sjsu.edu> rick@sjsumcs.sjsu.edu (Richard Warner) writes:
>Not that I know of, primarily for the reason that you would need hardware
>of the class you list above your sig to run it.  Since PS code goes
>through the interpreter -> RIP -> output device you should be able to
>do this by writing something that stands between the RIP and the output
>device and then quickly plasters it on the display.  gs writes to the
>screen straight from the RIP, so what you are seeing is the actual 
>processing in action.   One of the machines with an optimized display
>PostScript (NeXT, RS/6000) might be a good candidate.

`animate' from contrib/ImageMagick.tar.Z on export.lcs.mit.edu will do it:

  animate -colormap SharedColormap *.ps

It can handle multiple Postscript files as well as multipage Postscript.
-- 
cristy@dupont.com
From: ndd@bal1 (Ned Danieley)
Newsgroups: comp.windows.x
Subject: Re: X11R5-based vt100 emulator needed
Date: 12 Aug 92 18:52:23 GMT
X-Newsreader: Tin 1.1 PL4

please note that I'm aware that xterm is a vt100 emulator. however,
at least according to the application we're trying to connect to,
xterm doesn't send the correct function key sequences, and we *don't*
want to remap the server to make it work. xvttool does the right
thing, but doesn't seem to be too happy under X11.

--
Ned Danieley (ndd@sunbar.mc.duke.edu)
Basic Arrhythmia Laboratory
Box 3140, Duke University Medical Center
Durham, NC  27710   (919) 660-5111 or 660-5100
Newsgroups: comp.windows.x
From: william@lanai.cs.ucla.edu (William Cheng)
Subject: Tgif-2.12-patch11 is available on export...
Followup-To: william@cs.ucla.edu
Originator: william@lanai.cs.ucla.edu
Keywords: draw, postscript, latex, hierarchical, x11, xlib, wysiwyg, bitmap
Organization: UCLA Computer Science Department
Date: Sat, 15 Aug 92 20:27:13 GMT

I've just put tgif-2.12-patch11 (11th patch for tgif-2.12) in the
following places for anonymous ftp:

	export.lcs.mit.edu	/contrib/tgif-2.12-patch11.Z
	cs.ucla.edu		/pub/tgif/tgif-2.12-patch11.Z

The patch is also posted to comp.sources.bugs.

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.12-patch11'.
Here's a short list of added features/bug fixes.

1)  Fix a bug in erasing text from a grouped object.  This bug only appears if
    the Tgif*GroupedTextEditable X default is set to 'true'.
2)  Fix a bug in setting the clipping rectangles.  Sometimes, tgif would not
    redraw properly.  Thanks to Yoichiro Ueno <ueno@cs.titech.ac.jp> for the
    fix.
3)  Fix a bug in copying objects with attributes.  It used to be that every
    time such a object is copied, the ordering of the attributes are reversed.
4)  Fix a typo in box.c.  This bug only appears if -DNO_THIN_LINE is specified
    as a compile option.

(running 'sum' on tgif-2.12-patch11.Z on a SUN4 should get: 40810  10)

Please send bug reports to william@cs.ucla.edu.
-- 
Bill Cheng // UCLA Computer Science Department // (310) 575-4507
3564-C Boelter Hall // Los Angeles, California 90024 // USA
william@CS.UCLA.EDU      ...!{uunet|ucbvax}!cs.ucla.edu!william
Xref: sparky comp.windows.x:15185 comp.windows.x.apps:769
From: cristy@eplrx7.es.duPont.com (Cristy)
Newsgroups: comp.windows.x,comp.windows.x.apps
Subject: Re: WANTED:  Program to play a set of PostScript files in sequence
Date: 12 Aug 92 16:05:14 GMT
Organization: DuPont Central Research & Development

In article <1992Aug12.055427.19886@leland.Stanford.EDU> buc@leland.Stanford.EDU (Robert Richards) writes:
>NEEDED: A program to display a set of postscript files where each
>        postscript file may be thought of as a frame in a movie.
>

Try 'animate' from contrib/ImageMagick.tar.Z on export.lcs.mit.edu:

  animate frame*.ps
-- 
cristy@dupont.com
Newsgroups: comp.windows.x,comp.unix.ultrix,gnu.gcc.help
From: heiney@wsl.dec.com (Bob Heiney)
Subject: Re: Problems - R5 build on DS 5000/25 using gcc-2.2.2
Organization: Digital Equipment Corporation
Date: Wed, 19 Aug 92 19:36:16 GMT

In article <1992Aug19.152652.11529@ennews.eas.asu.edu>
scowen@wfpc3.NoSubdomain.NoDomain (Paul A. Scowen) writes:
>
>Anyway, the build goes ok until the mfb part of the server/ddx tree is reached
>when a whole series of errors like this happen:
>
>as0: Error: mfbfillsp.c, line 771: undefined assembler operation: extzv
>	extzv $2,$8,0($9),$5
>

"Extzv" is a VAX instruction.  This is caused by the following text that's
in ultrix.cf:

#if HasGcc
#define CcCmd gcc -ansi -Dvax -Dultrix -fpcc-struct-return
#define ServerCCOptions /* */
#define AllocateLocalDefines /* */
#endif

which defines "vax".  This causes bad vax-specific assembly code to be
defined for macros like "getbits" and "putbits" in maskbits.h.

Removing "-Dvax" should do the trick, although I haven't tried building the
server with Gcc myself.

--
Bob Heiney
Technical Consultant
Digital Equipment Corporation, US Desktop Sales, Palo Alto, CA
All opinions expressed are mine, and not necessarily those of my employer
Newsgroups: comp.windows.x