HDTenEightyP/NetNews huggingface dataset:
From: judith@mermaid.larc.nasa.gov (Judith Moore)
Newsgroups: comp.windows.x
Subject: Re: Help with Colormaps
Followup-To: comp.windows.x
Date: 23 Dec 1992 14:59:32 GMT
Organization: NASA/Langley Research Institute
Distribution: world
NNTP-Posting-Host: mollusk.larc.nasa.gov

Thanks for the attention to my problem. Unfortunately,
I must be misinterpreting the suggestions. This is what
I do:
	(misc setup)
   winAttrib.colormap = DefaultColormap(theDisplay, theScreen);
   mainWindow =	XCreateWindow (theDisplay, ...., &winAttrib);
   XMapWindow (theDisplay, mainWindow);
   anImage = XCreateImage (theDisplay, theVisual, 8, ZPixmap, ...); 
   XPutImage (theDisplay, mainWindow, theGC, anImage, ...);
   XFlush (theDisplay);
   sleep (5);

	grayMap = XCreateColormap (theDisplay, mainWindow, theVisual, AllocAll);
	for (i = 0; i < 255; i++) {
		aColor.pixel = i;	
		aColor.red = aColor.blue = aColor.green = i << 8;
		XStoreColor (theDisplay, grayMap, &aColor);
		}
	
	XSetWindowColormap (theDisplay, mainWindow, grayMap);
	XFlush (theDisplay);
	sleep (5);

What happens is, my image appears in the window with the default
colormap, and just sits there.  The XSetWindowColormap() call
appears to have no effect whatsoever.  

If I do the XSetWindowColormap() _before_ XMapWindow(), I get the
grayscale I expect.  But then I can't change _that_ to anything 
else.

Comedy is easy; color is hard.

Judith Moore
Newsgroups: comp.windows.x.apps
From: jsb@cs.brown.edu (John Bazik)
Subject: Re: Mirroring windows
Organization: Brown Computer Science Dept.
Date: Tue, 22 Dec 1992 16:30:18 GMT

In article <4868@svin09.info.win.tue.nl>, pp@wsinti01.info.win.tue.nl (Peter Peters) writes:
|> khalid@harlqn.co.uk (Khalid Sattar) writes:
|> 
|> >[ I would like to know if this is possible and if so are there any
|> >  implementations PD or commercial. ]
|> 
|> >Is it possible to have interactions of one screen duplicated on
|> >another screen? by that I mean a window (or a whole screen) is
|> >mirrored onto another screen which is on another computer.  
|> 
|> There is a program that does exactly what you want for X. It's
|> called xmx. Here are some excerpts from the README file :

You can ftp xmx anonymously:

	wilma.cs.brown.edu:pub/xmx.tar.Z

Khalid's question is answered in the comp.windows.x FAQ.  Also mentioned
are HP's SharedX and Michael Altenhofen's shX.

I'm currently working on a new version of xmx (when I release it, I will
post in comp.windows.x.announce).

John
Newsgroups: comp.windows.x.apps
From: erodrigu@dcc.uchile.cl (Eduardo Rodriguez)
Subject: Re: Mirroring windows
Originator: erodrigu@tolten
Date: Tue, 22 Dec 1992 16:06:24 GMT
Organization: Universidad de Chile, Depto. de Ciencias de la Computacion


In article <4868@svin09.info.win.tue.nl>, pp@wsinti01.info.win.tue.nl (Peter Peters) writes:
>[ I would like to know if this is possible and if so are there any
>  implementations PD or commercial. ]

>Is it possible to have interactions of one screen duplicated on
>another screen? by that I mean a window (or a whole screen) is
>mirrored onto another screen which is on another computer.  
> 
Under X, there a PD software: 'xwatchwin' check it!

edo...

 ////  Fortuna mia la de             ```\  .     Eduardo Rodriguez     .
 c-OO  concurrir aqui, por           OO-c   .  erodrigu@dcc.uchile.cl   .
    \  virtud de la palabra.         /     . Dpto Cs de la Computacion .
   -                         *bow*    -     .   Universidad de Chile    .
Newsgroups: comp.windows.x.apps,comp.unix.pc-clone.32bit,comp.os.linux,comp.os.linux.announce,comp.unix.bsd
From: hines@left.fishkill.ibm.com (Charles K. Hines)
Subject: Re: Learning X-windows
Date: Thu, 31 Dec 92 15:56:26 GMT
Distribution: usa
Reply-To: hinesc@fshvmfk1.vnet.ibm.com
Organization: IBM Poughkeepsie, NY


Try the following 2 books.  Both just deal w/ X (only touching upon the toolkit
and Motif):

  "X Window Applications Programming"
  "Advanced X Window Applications Programming"

  (both are written by Johnson & Reichard and are printed by MIS:Press
   and cost about $30)

For the X toolkit (and a little motif):
  "The X Window System Programming and Applications with Xt (OSF/MOTIF Edition)"
   (written by Douglas A. Young, published by Prentice Hall)

For Motif:
  From the O'Reily Series, the one on Motif programming (I don't remember the
  exact title, but I've seen it, and it looks great).

Hope this helps,
Chuck Hines
Newsgroups: comp.windows.x.apps
From: root@intcorp.mn.org (Operator)
Subject: TERMSW and OpenWindows 3.1
Organization: Introl Corporation
Date: Tue, 29 Dec 1992 14:59:19 GMT

I've recently changed my system from running SunOS 4.1.2 and OpenWindows
2.0 to Solaris 2.0 and OpenWindows 3.1.  Everything works fine except
for one remaining problem.  

Every time I execute a particular utility or refresh its window, I 
get the following warning:

ttysw_sigwinch, can't get tty process group: Inappropriate ioctl for device

I've traced this to the following xv_create:


        obj = xv_create(owner, TERMSW,
                XV_KEY_DATA, INSTANCE, ip,
                XV_X, 0,
                XV_Y, 148,
                XV_WIDTH, WIN_EXTEND_TO_EDGE,
                XV_HEIGHT, 288,
                OPENWIN_SHOW_BORDERS, TRUE,
                TEXTSW_BROWSING, TRUE,
                TEXTSW_DISABLE_LOAD, TRUE,
                TTY_ARGV, TTY_ARGV_DO_NOT_FORK,
                NULL);


The exact line causing the problem is:

	TTY_ARGV, TTY_ARGV_DO_NOT_FORK,

I don't get the warning message if I leave out this line, but then
my command prompt appears in the window - which is even more of
a problem then getting the warning.

The program does exactly what I want it to do, I just get that 
annoying warning message.  This worked fine under OpenWindows 2.0.  
The only mention I can find on TERMSW in O'Reilly and Associates
XView Programming Manual is the following paragraph:

 	This book has never discussed the term subwindow.  Basically,
 	it is a tty subwindow that can be edited like a text subwindow.
 	It may also contain a scrollbar.  xv_termsw.c shows you how
 	to create a term subwindow.
 
A sample program then follows.  

Is there anything I can do to not get this warning message displayed?

I also tried specifying TTYSW for the window type, and I believe
everything worked fine - except I no longer had a scroll bar and
I had to change all my '\n's to '\n\r's.  A scroll bar is really
required for the application.

Any suggestions?


--
Joel D. Flatt                      Introl Corporation
Work: (612) 788-9391               jdf@intcorp.mn.org 
Home: (612) 823-3390



-- 
Joel D. Flatt                      Introl Corporation
Work: (612) 788-9391               jdf@intcorp.mn.org 
Home: (612) 823-3390
Xref: sparky comp.windows.x.apps:1723 comp.unix.questions:14877
From: pp@wsinti01.info.win.tue.nl (Peter Peters)
Newsgroups: comp.windows.x.apps,comp.unix.questions
Subject: Re: Mirroring windows
Date: 22 Dec 92 08:24:20 GMT
Reply-To: pp@info.win.tue.nl
Followup-To: comp.windows.x.apps

khalid@harlqn.co.uk (Khalid Sattar) writes:

>[ I would like to know if this is possible and if so are there any
>  implementations PD or commercial. ]

>Is it possible to have interactions of one screen duplicated on
>another screen? by that I mean a window (or a whole screen) is
>mirrored onto another screen which is on another computer.  

There is a program that does exactly what you want for X. It's
called xmx. Here are some excerpts from the README file :

-------------
XMX is an X protocol multiplexor.  It is a standalone utility for displaying
an X Windows session on multiple displays.  XMX takes advantage of the
networked nature of the X Window System by tapping the communication link
between an X client and an X server.  In this way, XMX works with any
X clients and any X servers, without the need to modify either.

....

This software was developed at Brown University for use in our electronic
classroom.  Some version of it has been in use here since 1988.

...

COPYING IT

The Computer Science Department at Brown University distributes XMX
under the following Copyright:

    Copyright 1988, 1989, 1990, Brown University, Providence, RI.
    Permission to use, copy, modify and distribute this software and
    its documentation for any purpose other than its incorporation into
    a commercial product, is hereby granted, provided that this
    copyright notice appears on all copies and the distribution is only
    within the organization represented by the person receiving the
    software from Brown.  Brown requests notification of any
    important modifications to this software or its documentation.

Please note that we explicity prohibit you from distributing this
outside of your organization.  Tell them to get it from us.

...

XMX was written by

John Bazik
Dept. of Computer Science, Box 1910
Brown University
Providence, RI  02912

(401) 863-7600
jsb@cs.brown.edu
uunet!brunix!jsb
jsb@browncs.bitnet
--------------------

Hope this is of use to you or anyone else.

Peter.
-- 
| Peter Peters                              | UUCP  : pp@win.tue.nl |
| Eindhoven University of Technology (TUE)  | PHONE : +31-40-474120 |
| Dept. of Mathematics and Computer Science | FAX   : +31-40-463992 |
| Disclaimer : I said WHAT ???              | VHF   : pa0ppe        |
Xref: sparky comp.windows.x.apps:1738 comp.windows.x.motif:8266 comp.windows.x:20644
From: feats@feats.cc.vt.edu feats@vtvm1.cc.vt.edu
Newsgroups: comp.windows.x.apps,comp.windows.x.motif,comp.windows.x
Subject: Learning X-windows
Date: 30 Dec 92 12:02:57 GMT
Followup-To: comp.windows.x.apps
Distribution: usa
Organization: Virginia Tech, Blacksburg, VA

I have a RS/6000 POWERstation 220 running AIX 3.2.  I am interested             
in learning about AIXwindows and how to write a 'C' application that            
uses the X-windows environment.  As of right now I don't have access            
to any of the IBM manuals that cover this topic in depth.  I do feel            
that the IBM manuals are not the best ones to learn from but they do            
make good references.                                                           
                                                                                
Can anyone suggest any good books on X-windows programming in 'C'?              
I don't know if just any X-windows programming book will do or if I             
need one that specifically covers AIXwindows!                                   
                                                                                
I would also be interested in some small programming samples of                 
X-windows applications.  Are there any FTP sites that would have                
any coding samples or would any of you have any samples you would               
like to share.  I am talking small and simple examples because I                
know very little about 'C' and almost nothing about X-windows!                  
                                                                                
Thanks in advance!                                                              
                                                                                
                                                                                
Stephen L. Greenfield                     Bitnet:   FEATS@VTVM1                 
Virginia Polytechnic Institute   ,/\      Internet: feats@feats.cc.vt.edu       
Blacksburg, Virginia           ,/   `\/`'\                                      
                           ,/\/          /                                      
                         ,/             <_          ._.                         
                        /                 `\       / /                          
             ,/\_     _/'                   `-`-\  |/                           
          ,/'    `_'_'  *  Blacksburg          \_> '                            
       ,/'                                    \__>_/\                           
      +----------------------------------------------+                          
Newsgroups: comp.windows.x.apps
From: burrsie@tgevax.life.uiuc.edu (Burr Nelson)
Subject: X Tektronix 4105 Emulator?
Organization: University of Illinois at Urbana
Date: Tue, 29 Dec 1992 06:25:00 GMT

Well, the title says it.  Does anyone know of such a beastie be it commercial
or PD?

Thanks in advance.

-Burr

-- 
   Burr Nelson * 217-333-2435 * burrsie@uxh.cso.uiuc.edu * FAX: 217-244-6615
  U of I Biophysics * 166 Davenport Hall * 607 S. Mathews * Urbana, IL  61801
From: feats@feats.cc.vt.edu feats@vtvm1.cc.vt.edu
Newsgroups: comp.windows.x.apps
Subject: Learning X-windows
Date: 30 Dec 92 12:49:42 GMT
Distribution: usa
Organization: Virginia Tech, Blacksburg, VA

I have a RS/6000 POWERstation 220 running AIX 3.2.  I am interested             
in learning about AIXwindows and how to write a 'C' application that            
uses the X-windows environment.  As of right now I don't have access            
to any of the IBM manuals that cover this topic in depth.  I do feel            
that the IBM manuals are not the best ones to learn from but they do            
make good references.                                                           
                                                                                
Can anyone suggest any good books on X-windows programming in 'C'?              
I don't know if just any X-windows programming book will do or if I             
need one that specifically covers AIXwindows!                                   
                                                                                
I would also be interested in some small programming samples of                 
X-windows applications.  Are there any FTP sites that would have                
any coding samples or would any of you have any samples you would               
like to share.  I am talking small and simple examples because I                
know very little about 'C' and almost nothing about X-windows!                  
                                                                                
Thanks in advance!                                                              
                                                                                
                                                                                
Stephen L. Greenfield                     Bitnet:   FEATS@VTVM1                 
Virginia Polytechnic Institute   ,/\      Internet: feats@feats.cc.vt.edu       
Blacksburg, Virginia           ,/   `\/`'\                                      
                           ,/\/          /                                      
                         ,/             <_          ._.                         
                        /                 `\       / /                          
             ,/\_     _/'                   `-`-\  |/                           
          ,/'    `_'_'  *  Blacksburg          \_> '                            
       ,/'                                    \__>_/\                           
      +----------------------------------------------+                          
Newsgroups: comp.windows.x.apps
From: graaff@IS.TWI.TUDelft.NL (Hans de Graaff)
Subject: Re: X-Face:
Reply-To: graaff@IS.TWI.TUDelft.NL
Organization: Delft University of Technology
Date: Mon, 21 Dec 1992 08:34:13 GMT

In article 29639@xenitec.on.ca, vances@xenitec.on.ca (Vance Shipley) writes:
>Can anyone clue me into the story on X-Face headers in mail?
>I retrieved a copy of xface-1.0 but this seems to only match
>the From: line with locally stored faces.  Another question:
>does ftp.uu.net export their /faces directory for use with this?

Take a look at the faces package (which is different from xface). It knows how
to display an X-Face: header in your mail. It can also monitor all kinds
of other stuff, like printers, or people logged on. The archive contains
versions for X, News and XView. The original archive site is iuvax.cs.indiana.edu

Hans
---
Hans de Graaff                  | I want someone to follow,
J.J.deGraaff@IS.TWI.TUDelft.NL  |   who doesn't lead the way
Department of Informatics       | I want someone to listen,
Delft University of Technology  |   who won't repeat what I say
               Room: 2.003, Telephone: +31-15-78-5811 

Newsgroups: comp.windows.x.apps
From: mpm@bmerh504.bnr.ca (Mike Mogridge)
Subject: X forms tool ?
Organization: Bell-Northern Research, Ottawa, Canada
Date: Mon, 21 Dec 92 19:24:20 GMT

Are there any X forms based tools around?  What I'm thinking of is something
along the lines of a package where I could define a form through some sort of
template specification phase and then have the tool create this form which
a user could fill in.  Once the fill-in stage was complete the user could
submit the form at which point the users' data would be written out to a file.
I'm not looking for a super whiz bang commercial package but rather something
of more humble origins (read free!).

Thanks,
Mike.
-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Mike Mogridge               | "Just once I wish we could encounter an      <
> Bell-Northern Research Ltd. |  alien menace that wasn't immune to bullets."<
> P.O. Box 3511 Station C     |       -The Brigadier, Doctor Who.            <
> Ottawa, ONT, Canada K1Y 4H7 |  INTERNET: mpm@bnr.ca                        <
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Newsgroups: comp.windows.x.apps
From: ori@marvin.technion.ac.il (Ori Degani)
Subject: X Hebrew Support
Organization: Heart of Gold Institute
Date: Sun, 27 Dec 1992 10:38:57 GMT

Hi, 

  I'm looking for Hebrew support for X.  I couldn't find anything except
fonts using archie.  I need an editor (or word processor of some kind),
and a way of printing (PostScript maybe).  

  If anyone has ANY information, please let me know, even if it's not 
fully X, but works on unix systems.

  I'm using an SGI Indigo, running Irix 4.0.5.

Thanks,
Ori
--
   |  ----      Ori Degani
   |  |___      ori@eddie.technion.ac.il   (Ship Computer on the HOG)
   |  |         ori@marvin.technion.ac.il  (Who else) 
   |  ----      s2973229@techst02.technion.ac.il (Ech..)
From: shankar@sgi.com (Shankar Unni)
Newsgroups: comp.windows.x.apps
Subject: Xvi?
Date: 24 Dec 92 19:22:33 GMT
Organization: Silicon Graphics, Inc.
NNTP-Posting-Host: boris.wpd.sgi.com
X-Newsreader: Tin 1.1 PL5

I've heard mention of an "xvi" somewhere - an X-windows version of
"vi". Does such a beast exist? If so, where is it?
--
Shankar Unni				E-Mail:	shankar@sgi.com
Silicon Graphics Inc.			Phone:	+1-415-390-2072
Xref: sparky comp.windows.x.apps:1721 comp.unix.questions:14858
From: mick@dcs.bbk.ac.uk (Mick Farmer)
Newsgroups: comp.windows.x.apps,comp.unix.questions
Subject: Re: Mirroring windows
Date: 21 Dec 92 17:05:06 GMT
Organization: Bloomsbury Computing Consortium

Hi,

Khalid asks about one window mirroring another.  The talk
command does this for dumb terminals.  You could try the
source for some pointers.

Alternatively, emacs will maintain two windows correctly, if
they're both on screen.  Again, try the source.

Regards,

Mick
Xref: sparky comp.windows.x.apps:1726 comp.windows.x:20511
From: bvh@cse.unl.edu (Obi-Wan)
Newsgroups: comp.windows.x.apps,comp.windows.x
Subject: Tiny windows in TWM
Followup-To: poster
Date: 23 Dec 1992 05:08:17 GMT
Organization: MicroImages, Inc.
Distribution: world
NNTP-Posting-Host: cse.unl.edu
Keywords: twm, windows, window manager, tiny, small, size

Hello all,

My office has compiled the TWM from the standard X distribution
and has been running it on 386 & 486 PC's.  One thing we've noticed
is that, for an app which brings up multiple windows, if you click
in the TWM title bar before the title is actually drawn there, any
subsequent windows for that app will come up with zero size.  They're
still there, but you must resize them manually, assuming you can
find them at all.

Since impatient people with mice tend to click the mouse when they
don't know what else to do, this problem occurs much more frequently
on the slower machines.  We've only been able to duplicate this
once on a workstation, and it took quite a few tries on a bogged down
machine before we finally did it.

Has anyone else encountered this problem?  More importantly, does
anyone out there know how to fix this?  Just saying "Don't click in
the title bar" may work for programmers, but it's an inacceptable
solution for our computer-illiterate customers.  ANY input would be
appreciated.  Please mail responses to bvh@cse.unl.edu, as I don't
read these groups very often.

				Thanks in advance,
				Obi-Wan

-- 
 |\_/|  AACK! ||                        ||  "Obi-Wan" (Ben Hollingsworth)
\'o.0'/       ||  ... but at least      ||  MicroImages, Inc.  Lincoln, Nebraska
=(___)=       ||      we have quotas!   ||  University of Nebraska - Lincoln
   U   PTHAT! ||                        ||  email:  bvh@cse.unl.edu
Newsgroups: comp.windows.x.apps,comp.unix.questions
From: khalid@harlqn.co.uk (Khalid Sattar)
Subject: Mirroring windows
Organization: Harlequin Limited, Cambridge, England
Date: Mon, 21 Dec 1992 13:46:54 GMT

[ I would like to know if this is possible and if so are there any
  implementations PD or commercial. ]

Is it possible to have interactions of one screen duplicated on
another screen? by that I mean a window (or a whole screen) is
mirrored onto another screen which is on another computer.  

Ideally this would run under X (Unix) but I am also interested to know
about PC, and Mac and also other window systems.

Any suggestions , or related pointers would be greatly appricated.
--
			    Khalid Sattar
			   Systems Manager
     Harlequin Ltd, Barrington Hall, Barington, Cambridge CB2 5RG
	    Email: khalid@harlequin.co.uk, khalid@harlqn.uucp
Newsgroups: comp.windows.x.apps
From: ken@studsvik.com (Ken Rempe)
Subject: Looking for spreadsheet
Organization: Studsvik of America
Date: Wed, 30 Dec 1992 20:03:39 GMT

Hi,

I'm looking for a X or X/Motif based public domain spreadsheet application
for as Sun Workstation running X11R5/Motif1.1.4


Thanks
-- 
-----------
Ken Rempe                   *   ken@studsvik.com
Studsvik of America,Inc.    *   uunet!idaho!caesar!ken
Nuclear Code Development    *   Idaho Falls,ID USA  ph 208-522-4630
Newsgroups: comp.windows.x.apps
From: adelt@imada.ou.dk (Adel Shavandi)
Subject: Can't run XView applications without xxgdb ?!
Keywords: Can't run XView applications without xxgdb ?!
Organization: Dept. of Math. & Computer Science, Odense University, Denmark
Date: Sun, 3 Jan 1993 14:07:22 GMT


I am a linux user with XFree86 version 1.1 and XView version 3.0L2. I have 
written a very simple XView application which runs with no problems under
SUN-OS4 with XView3.0 and now I would like to port it to linux.  
 
After having done all work required for compiling and linking a Xview 
application, when I tried to start it from my xterm window, the program 
did nothing! Then I tried to run it from xxgdb version 4.6 and the program 
runs without no problems, but after the following message appears in the
window of xxgdb: 
 
        [ioctl TIOCSPGRP failed in terminal-inferior: Not a typewriter] 
 
What is this message supposed to mean, and how can I correct this problem? 
I guess this is why I can't run my application without xxgdb. Is it true? 
 
 
I will really appraciate any kind of hints/help. 
 
 
 
 
                        Thanks in advance and 
                                happy new year, 
 
                                        Ade'l