HDTenEightyP/NetNews huggingface dataset:
From: mdowell@dante.nmsu.edu (Mike Dowell)
Newsgroups: comp.windows.x
Subject: Dynamic Colormaps and xview...
Date: 11 Dec 92 22:52:51 GMT
Distribution: usa
Organization: New Mexico State University, Las Cruces, NM




Hello,

I am in desperate need of help!!  

I am working on a surface plot program and would like to allocate my
own colormap for the window with 250 colors plus my control colors.

I would also like to change the palette on the fly, ie. dynamic
colors.  I would like the same effect as the X11 program XColor which
switches to its palette as soon as you focus on it.

I can't for the life of me get all the right parameters....

I have created a cms with the command:

   cms = xv_create(NULL, CMS,
                   CMS_TYPE,        XV_DYNAMIC_CMS,
                   CMS_CONTROL_CMS, FALSE,
                   CMS_SIZE,        NUM_COLORS,
                   NULL);

My program has the base window, a control box and a canvas.

So the created cms has NULL as the owner...so then I do
an xv_set:

   xv_set(Grfbase_window1->canvas1, CMS_NAME, cms, NULL);

to associate the cms with my canvas...

This does not give me what I want...


Any help would be greatly appreciated since this is due fairly
shortly...EMAIL would be ideal but any help/reply/comment
would be appreciated!!


Thanks,

Mike Dowell
mdowell@dante.nmsu.edu
mdowell@nmsu.edu
Xref: sparky comp.windows.x:20154 comp.protocols.tcp-ip:5590
From: doug@aptzero.lonestar.org (Doug Gault)
Newsgroups: comp.windows.x,comp.windows.ms,comp.protocols.tcp-ip
Subject: Re: News reader under MS Windows 3.1?
Date: 12 Dec 92 00:05:41 GMT
Organization: Doug Gault .. Home UseNet Node.

barre@cenaath.cena.dgac.fr (Roland BARRE) writes in COMP.WINDOWS.MS:

> I am searching a news reader and unix mail reader for microsoft Windows ?
> 
> I have an inplementation of pc/tcpip on my pc (racal interlan).
> 
> if this product exist could you e-mail me .
> ---------------------------------------------------------
> Roland BARRE, barre@dgac.fr
>               
> Centre d'Etudes de la Navigation Aerienne        

I also would like to get ahold of a mail reader for windows.. I, however
am running a version of WAFFLE for dos under Windows 3.1.. The Messages
seems to be formated differently, and have an index file associated with them.

Any one know of a mail Reader (or a WINDOWS to WAFFLE front end) that would 
do the trick?

Doug

==================------------------------------------------------------------
=  ____________  =  Doug Gault                | ".. On the other hand, life  -
=  \          /  =  Hm 214-320-9426           |  can be an endless parade of -
=   \        /   =  Wk 214-392-0955           |  TRANSSEXUAL QUILTING BEES   -
=    \      /    =                            |  on a cruise ship to DISNEY  -
=     \    /     =  doug@aptzero.lonestar.org |  LAND, if only we let it!! " -
=      \  /      =                            |                              -
=       \/       =                            |                              -
==================------------------------------------------------------------
From: jason@ab20.larc.nasa.gov (Jason Austin)
Newsgroups: comp.windows.x
Subject: Command line parsing query
Date: 18 Dec 1992 16:17:37 GMT
Organization: NASA Langley Research Center, Hampton, VA  USA
Reply-To: Jason C. Austin <j.c.austin@larc.nasa.gov>
NNTP-Posting-Host: ab20.larc.nasa.gov


	It is possible to make the X command line parser stop as soon
as it gets an argument that it doesn't understand?  Right now it skips
over the unknown argument and continues parsing.  It seems that it
should be possible to stick a default at the end of the
XrmOptionDescRec table that would have XrmoptionSkipLine as the
argument style, but I haven't found any way to do this.  Is this
possible or am I stuck writing a custom parser?
--
Jason C. Austin
j.c.austin@larc.nasa.gov
From: rudie@solaria.mil.wi.us (Glen Lawrence Rudie)
Newsgroups: comp.windows.x
Subject: Anti Aliased Line Drawing Query
Date: 11 Dec 92 23:01:47 GMT
Organization: Solaria Public Access UNIX - Milwaukee, WI

X Netters:

I am assigned to investigate anti aliased line drawing.  I was wondering
if anyone knows of work that has been done, extensions defined, technical
documents etc.

GR
Newsgroups: comp.windows.x
From: rgerghty@unix2.tcd.ie (     )
Subject: HELP!!!! Extensions????
Summary: HELP! Extensions
Keywords: Extensions
Organization: Trinity College, Dublin
Date: Wed, 16 Dec 1992 19:17:55 GMT

Hello,
Can anyone tell me how to dynamically link an X extension
(using a DECstation 2100 , with Ultrix) and if so, any 
shortcuts so as to avoid having to link in absolutely every
library known to man?
Thanks,
rgerghty@unix2.tcd.ie
Newsgroups: comp.windows.x
From: yev_g@athena.mit.edu (Yevgeny Gurevich)
Subject: Sending XEvents
Organization: Massachusetts Institute of Technology
Date: Fri, 18 Dec 1992 15:59:13 GMT

Hello netters.
I am designing an X-based automated tutorial for an existing
X app.  I am planning to create a script file consisting of 
XEvents and sending those events in sequence to the existing
X application.  Are there any pitfalls involved in using xse
to send those events ?  Should all of the events have a certain
mask set ?  Will I have to modify the existing application's
event loop to accept these events ?

					Thank you for your assistance,
						Yevgeny Gurevich
						MIT Computer Resource Lab

--
yev_g@athena.mit.edu
500 Memorial Drive, Cambridge, MA.  [ Yevgeny Gurevich ]
Newsgroups: comp.windows.x
From: ten0772@aw2.fsl.ca.boeing.com (Timothy E. Neto )
Subject: Re: X client that just sits and waits?
Organization: fsl
Date: Sat, 12 Dec 1992 03:28:47 GMT

From article <1992Dec9.104532.24382@fwi.uva.nl>, by wijkstra@fwi.uva.nl (Marcel Wijkstra (AIO)):
> Hi,
> 
> I am looking for a very simple (X) program: one that just waits forever
> (until it gets killed). The reason for this is that I want to be able to
> select a different window manager from within the current one, which is
> impossible if 'mwm' is the last program invoked in my .xinitrc (Of course,
> if such an 'xnop' or 'xwait' or whatever it may be called does not exist,
> I can always use some other client as the last one, but then I could never
> kill this one without killing X...)
> 
> Marcel
> 
> P.S. If anybody knows some other way of properly switch ing between 'twm'
> and 'mwm' on both a Sun4 and an RS/6000, I'd be much obliged.
> 
> -- 
>  X	   Marcel Wijkstra   AIO   (wijkstra@fwi.uva.nl)
> |X|	     Faculty of Mathematics and Computer Science	
>  X	       University of Amsterdam   The Netherlands
> ======Life stinks. Fortunately, I've got a cold.========

Marcel,

	Try this in your transfer option for your menu.
	(I presume you are working in a UNIX environment.)

	    f.exec switch_window_manager

	Where switch_window_manager is a script that kills
	the first window manage then using the Unix utility
	'sleep' or the shell function 'eval' wait for the first
	window manager to die.  Once the first window manager
	is dead, then use the shell function 'exec' to start
	the second window manager.

				Tim..... 10

-- 
Indecision is the key to | Timothy E. Neto  (206) 237-5527              1   000
flexibility, & you can't | Of B & T's Gadget & Widget Works             1  0. .0
E-Mail God.              | Flight Systems Lab, Boeing Comm. Aircraft    1  0 _ 0
My ideas not Boeing's    | Internet: ten0772@aw2.fsl.ca.boeing.com      1   000
Newsgroups: comp.windows.x
From: yonder@netcom.com (Christopher Russell)
Subject: Re: Can I run clients on REMOTE machines?
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Date: Sat, 19 Dec 1992 12:56:51 GMT

yonder@netcom.com (Christopher Russell) writes:

>I perused thru the FAQ and I don't think I saw anything that covered
>this.  (Please just let me know the section # if it is in there).

>What I would like to know how to do is run clients on machines that
>are not "local". I.e. I cannot rlogin, but only telnet to these sites.
                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                             sorry this was wrong, I did not mean this.

>Is there a way to pull this off?  The book that I am currently reading
>on X windows programming has a blurb about "not-so-local" connections
>between X-servers and X-clients, but does not mention how this can be
>accomplished.

>Thanks ahead of time....   ...Chris

>P.S. a follow-up post is fine, but e-mail is even better!

I am sorry.  But I was not clear with this question.  My problem is I
want to run clients on machine B and have the display be machine A.
Unfortunately I cannot directly TELNET or RLOGIN directly between A&B
(change from original post), I have to go thru machine C.

Examples:

A prompt: telnet B    <doesn`t work -- "cannot find">

A prompt: telnet C    <this works>
C prompt: telnet B    <this works>

Somehow I need to get machine C to "pass-thru" tranparently the X
traffic between the client and the server.  Is this possible. I cannot
just "setenv DISPLAY <A's IP address`>:0.0" while logged into machine
B, cuz I`ll just get "Error: Can't open display: <A's IP address goes
here>".

   ...Thanks to the folks who already answered my 1st question...

-- 
Christopher L. Russell (yonderboy)  Phone: (408)378-9078 Campbell,CA
yonder@netcom.COM or clr40@sim.mfg.amdahl.com or chrisr@leland.stanford.edu

Newsgroups: comp.windows.x
From: robh@eclipse.cs.colorado.edu (Robert G Henderson)
Subject: xdm/pseudoReset problem ?
Keywords: xdm
Organization: University of Colorado at Boulder
Date: Sat, 12 Dec 1992 01:51:57 GMT


Summary: 

If you start a client without a geometry and don't "place" the
window, you are logged out after about 10 minutes.

Details:

X11R5p17 with xdm running on a Sun4 SunOS 4.1.2 managing displays
for Xservers running on Sun3s, NCDs, or DecStation 5000/120s.
With this configuration, if you are using twm and start an X client
(ie. xterm) without specifying a geometry then don't actually place
the outline, you are logged out after about 10 minutes.  The 
following message then appears in the xdm errors file:

	error (pid 11269): pseudoReset timeout

The problem does not exist if you start the Xserver via startx.
We have an application that process for some large amount of time
and then brings up a window.  If the user isn't there to place the
window, he/she is logged out.  I know there are ways to work around
this (ie. have the application specify a geometry, using twm's
RandomPlacement, ...) but I want to understand/fix the real problem.

If anyone can shed light on this problem, I'd appreciate hearing from
you.

Thanks,

	--Rob

--------------
Rob Henderson                          Department of Computer Science
CSops Staff/Graduate Student           Campus Box 430, ECEE00-69
robh@cs.colorado.edu                   University of Colorado
(303) 492-5720                         Boulder, CO  80309-0430
From: oj@miki.pictel.com (Oliver Jones)
Newsgroups: comp.windows.x
Subject: Re: Problem copying from Window to Pixmap
Date: 16 Dec 92 14:02:54 GMT
Organization: PictureTel Corporation

In article <BzB2vH.Fup@dutiws.twi.tudelft.nl> graaff@IS.TWI.TUDelft.NL writes:

>I have a problem copying data from a Window to a Pixmap.
>I have the following code to do that:
>Pixmap pm = XCreatePixmap(dpy, xwin, w, h, 1);
>XCopyPlane(dpy, xwin, pm, gc, 0, 0, w, h, 0, 0, 1L);

>... X ... tells me that:
>X Error of failed request:  BadMatch (invalid parameter attributes)
>  Major opcode of failed request:  63 (X_CopyPlane) ...

The GC you use in an XCopyPlane request has to match
the DESTINATION in depth (and screen).

Create a GC with reference to your one plane pixmap, use it
in your copy operation, and everything will work.
Newsgroups: comp.windows.x
From: kaleb@jpl-devvax.jpl.nasa.gov (Kaleb Keithley)
Subject: Re: Why do people call it X-windowS?
Organization: Jet Propulsion Laboratory (NASA)
Date: Wed, 16 Dec 1992 16:30:41 GMT

In article <1992Dec15.195043.8442@midway.uchicago.edu> ejw1@midway.uchicago.edu writes:
>I remember reading somewhere that the creators of X cringed everytime they 
>heard someone refer to the windowing system as 'X-windows', instead of 
>simply 'X-window'.  Does anybody have a reference for the quote?  Is there any 
>other source for pointing out to people the error of their ways?
>

Tell them that it's a window system called X, a.k.a. the X Window System.

-- 

Kaleb Keithley                               kaleb@jpl-devvax.jpl.nasa.gov

Newsgroups: comp.windows.x
From: robert@triton.Jpl.Nasa.Gov
Subject: Documentation/example of adding an input device to X??
Reply-To: robert@triton.Jpl.Nasa.Gov
Organization: JPL
Date: Mon, 14 Dec 1992 22:19:57 GMT

Platform:	SPARC
OS:		4.1.2
X:		X11R5

X gurus,
	I'm in the process of trying to add an input device (motion
tracker) and the documentation (that comes with the dist.) is not very 
good.  Is there a third party book that anyone is aware of that does
the job a little better??  While I'm here, is there anyone who's added
an input device??  Any advice/pitfalls to avoid would be greatly
appreciated.


Grazi
Gracias
Thanks you
   AND
Happy Holidays

-robert

Newsgroups: comp.windows.x
From: stevec@stimpy.dwrissonet (Steve Croft)
Subject: shared lib not found
Reply-To: stevec@stimpy.dwrissonet
Organization: Sun Microsystems
Date: Fri, 18 Dec 1992 18:14:15 GMT

I compiled an application which runs fine on my Sun (SPARCstation2, SunOS 4.1.3).
When I try to run it on a PC with DESQview/X, I get:
	ld.so: libXaw.so.4: not found

I'm not familiar with the shared lib mechanism.. can someone gimme a pointer to
the solution?  Thanks,

Steve Croft
stevec@water.ca.gov

Newsgroups: comp.windows.x
From: sts@mfltd.co.uk (Steve Sherwood)
Subject: Re: Printing a color x-screen to bw postscript printer
Reply-To: sts@mfltd.co.uk
Organization: Micro Focus Ltd, Newbury, England
Date: Mon, 14 Dec 1992 15:19:50 GMT

In article <Bz3qDJ.F7F@gdls.CSCTMD.COM>, mishins@gdls.CSCTMD.COM (Phil Mishins) writes:
|> Hi X-gurus,
|> 
|> I am trying to print out an x-window captured screen from a 256-color
|> X-server ( DeskViewX) to a b&w postscript printer. All I get is a page
|> of toner!
|> 
|> I tried:"xwd  -xy -display 0550_01:0|xpr -device ps|lpr"
|> 
|> Does anyone have suggestions?
|> 
|> Thanks in advance.
|> 
|> Phil
|> 
|> (my address: ilium.troy.msen.com!gdls!mishins%gdpy01  )

Try xgrabsc.  This will capture any portion of an x screen, and output it as 
postscript.  It works very well, and the output quality is better than anything
else that I have tried.

Ftp it from many places including

wuarchive.wustl.edu
unix.hensa.ac.uk
nic.funet.fi

Steve
-- 
+-----------------------------------+------------------------+ Micro Focus
| Just like Pariah, I have no name, |    rm -rf *            | 26 West Street
| Living in a blaze of obscurity,   |      "rum ruff splat"  | Newbury
| Need courage to survive the day.  |                        | Berkshire
+-----------------------------------+------------------------+ England
      Extn 5543, sts@mfltd.co.uk, !uunet!mfocus!sts
Newsgroups: comp.windows.x
From: wang@ps.ic.ac.uk (Haushan Wang)
Subject: C++ Wrapper for OLIT?
Originator: wang@
Organization: Imperial College, Process Simulation IRC
Date: Tue, 15 Dec 92 16:29:11 GMT


Dear X_perts,

I am working on a project of an OO approach to system studies.  An important
aspect of this project is graphical user interface and system representation.
We have decided to use C++ as the programming language, but are still in the 
process of determining which GUI standard to base our applications on.
We like to use OPEN LOOK (tm), so here is my question: is there a C++ wrapper
library for the AT&T OLIT widget set, like the WWL for Motif (by Fekete) or
UIT for XView (by SUN)?  If so where to get it (ftp for PD /contacts for commercial)?
I am not looking for UI builders such as DevGuide, but rather
a more abstract OO interface to the toolkit.
I have checked the FAQ but could not find the exact info.  Please email to me.
Your help is greatly appreciated.



H. Wang



email: wang@sunfs1.ps.ic.ac.uk
From: grp@Unify.com (Greg Pasquariello)
Newsgroups: comp.windows.x
Subject: Re: interface library toward X-windows, MsWindows, Macintosh
Keywords: windows, interface library
Date: 16 Dec 92 23:01:47 GMT
Organization: Unify Corporation (Sacramento)

In article <1992Dec14.114316.163297@ipgaix.unipg.it>, glm@ipgaix.unipg.it (Gianfranco Galmacci) writes:
> 
> I'm going to start a project which consists of a sw tool
> to be used in different platforms( eg: X-windows, ms windows
> and Macintosh). So I'm looking for some library which can
> operate as an interface between a c-program and the various
> windows environment avoiding to build a different program
> for each standard. Does anyone knows something about
> such a library? 

Buon giorno, Gianfranco,

Take a look at Galaxy by Visix.  Their library and development environment
supports Open Look, Motif, MS-Windows and (supposedly) Mac.  It is the richest,
most extensible cross platform toolkit available today.  It supports user
interface objects (buttons, windows, text, sliders, lists, etc.), a path
based drawing model (similar to postscript), file system and OS abstraction,
a wonderful geometry manager, multibyte static and dynamic strings, multi
style text, distributed application services (client/server, peer-to-peer,
RPC, etc), hashed names, platform independent object storage, etc.  If you
need more information, you can contact Visix at:

Visix Software, Inc,
11440 Commerce Park Drive
Reston, Va 22091
(703) 758-0233

And no, I don't take kickbacks from Visix or represent them in any way.  I
have just been looking for such a toolkit for years, they provide it, and
I'm very happy with it.

> Thanks a lot.
> Gianfranco Galmacci
> Dept. of Statistics
> Perugia - ITALY 
> -- 

--
Greg Pasquariello   	grp@unify.com 	        I've trained my chia pet to use
Unify Corporation	   or			my clapper...
(916) 928-6258	    ...!uunet!unify!grp
Newsgroups: comp.windows.x
From: tedlaw@vnet.ibm.com (Theodore C. Law)
Subject: Any free X11 remote illustration tools?
Date: Fri, 18 Dec 92 02:09:41 GMT
Organization: IBM T. J. Watson Research

"Talk" is a useful tool for text based discussion tool between remote
sites.  I wonder if there are any remote illustration tools that allows
me to draw on one workstation running X11, much like xfig, but display
both locally and remotely on another workstation?

Ted Law
Newsgroups: comp.windows.x
From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
Subject: Re: Left handed users and X-windows
Organization: McGill Research Centre for Intelligent Machines
Date: Fri, 18 Dec 92 01:32:28 GMT

In article <BzBL0H.4Ao@ucunix.san.uc.edu>, brenner@ucunix.san.uc.edu (David L. Brenner) writes:

> I am using X11 release 5 on a Sun workstation and have a number of
> users that are left handed.  

> Is there any way to change the configuration of the mouse to allow
> for left-handed people to use the mouse in this fashion?

I assume you want to reverse the order of the buttons, so that button 1
is still under the index finger.

This is almost an RTFM question, except that it's not a priori obvious
which TFM to R.  You want xmodmap(1); here's a snippet from our copy:

EXAMPLES
     Many pointers are designed such that  the  first  button  is
     pressed  using  the  index finger of the right hand.  People
     who are left-handed frequently find that it is more comfort-
     able  to reverse the button codes that get generated so that
     the primary button is pressed using the index finger of  the
     left hand.  This could be done on a 3 button pointer as fol-
     lows:

          %  xmodmap -e "pointer = 3 2 1"

Note that there is no simple single command you can give xmodmap that
will do this regardless of the number of buttons on the pointer, though
xmodmap -pp and a small awk script could do it easily enough.

					der Mouse

			    mouse@larry.mcrcim.mcgill.edu
From: borchert@walt.MsState.Edu (Chris Borchert)
Newsgroups: comp.windows.x
Subject: Looking for X filemgr like on OW or MS Windows
Date: 17 Dec 92 16:09:44 GMT
Organization: /home/grad/borchert/.organization


I am looking for an X program to do directory structures using icons like
Sun's filemgr under OpenWindows or Microsoft's Windows filemgr.  Does such a 
thing exist or anything like it?

Thanks,
Chris Borchert
borchert@CS.MsState.Edu
--
Chris Borchert
borchert@CS.MsState.Edu

--
Chris Borchert
borchert@CS.MsState.Edu
From: smr@pki-nbg.philips.de (Stephen Riehm)
Newsgroups: comp.windows.x
Subject: Re: setting DISPLAY env variable
Date: 17 Dec 92 09:59:47 GMT
Reply-To: smr@pki-nbg.philips.de

rns@deakin.OZ.AU (Robert Sturrock) writes:

>Hello,

>is there a way to set the DISPLAY variable to be the particular workstation
>you are using inside ".bashrc".  That is, I want every new xterm, for
>whatever host I happen to be logging into, to have DISPLAY set to my
>workstation.  Note that my workstation will vary, so I can't just
>hardwire

I have seen several ways of doing this, none of which are really
standard:
    1> if you are rloging in to start new hosts, you can fudge the
	display name onto the end of the TERM variable, and then pull the
	TERM variable apart in your .*rc file, to re-construct the
	original TERM and DISPLAY vars.
	something like:

	    setenv TERM "$TERM $DISPLAY";rlogin host

	and in .cshrc:

	    if ( $#TERM != 1 ) then
		setenv DISPLAY "$TERM[2]"
		setenv TERM "$TERM[1]"
	    endif

    2> some versions on xrlogin and xrsh allow you to specify a list
	of ENVIRONMENT variables to be passed to the remote shell. read
	the man page to see if your local system supports this

    3> I personally find the above fine and dandy but some how not
	nice. So I have the following in the .cshrc (should be easy
	enough to convert to sh style)

	if ( $?prompt ) then	# only useful for interactive logins
	    if ( ! $?DISPLAY ) then
		echo No DISPLAY is set, use the default ? (my_workstation:0.0)
		if ( $< != "n" ) then
		    setenv DISPLAY my_workstation:0.0
		else
		    echo -n "Please enter the name of your DISPLAY : "
		    setenv DISPLAY $<
		endif
	    endif
	endif

Appologies for this being in csh, and not bash/ksh/sh style.
Think of it as a fun way to learn the differences between csh and sh,
if you don't already know them that is.
(hint for 1>, you will have to use a "set -- $TERM" to split it up
again!)

take your pick!

catchya

-----------------------------------------------------------------
Stephen Riehm		Configuration Management	   _-_|\ 
smr@pki-nbg.philips.de	Philips Kommunikations Industrie  /     \
Work: +49 911 526 2975	Nu"rnberg, Germany		  \_.-.!/
Fax:  +49 911 526 3678	"I was there, now I am here!"	       v 
"My company speaks another language, I CAN'T speak on its behalf"
PS: You think I am joking, I can't speak the language that well so
		PLEASE DON'T REPLY IN GERMAN!
			    thanks
Newsgroups: comp.windows.x
From: yonder@netcom.com (Christopher Russell)
Subject: Can I run clients on REMOTE machines?
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Date: Fri, 18 Dec 1992 12:24:06 GMT

I perused thru the FAQ and I don't think I saw anything that covered
this.  (Please just let me know the section # if it is in there).

What I would like to know how to do is run clients on machines that
are not "local". I.e. I cannot rlogin, but only telnet to these sites.

Is there a way to pull this off?  The book that I am currently reading
on X windows programming has a blurb about "not-so-local" connections
between X-servers and X-clients, but does not mention how this can be
accomplished.

Thanks ahead of time....   ...Chris

P.S. a follow-up post is fine, but e-mail is even better!



-- 
Christopher L. Russell (yonderboy)  Phone: (408)378-9078 Campbell,CA
yonder@netcom.COM or clr40@sim.mfg.amdahl.com or chrisr@leland.stanford.edu