acloudfan/newsgroups-mini huggingface dataset:
Newsgroup: comp.windows.x

 Re: Animation with XPutImage?
Nntp-Posting-Host: ioas09.ast.cam.ac.uk
Reply-To: 
Organization: Institute of Astronomy, Cambridge
Lines: 50

In article ,   writes:
> Animation is most frequently done by copying the the client resident XImages into 
> server resident Pixmap using XPutImage.  Once this is done, the original XImages
> can be deleted and the animation loop can be performed using XCopyArea from the Pixmaps to the windows drawable.
> 
> Hope this is helpfull.
> 
> John
> 

I just implemented this and it seems I can just about achieve the display
rates  that I get with Sunview, though
it's a bit "choppy" at times. Also, loading the data, making an XImage,
then XPut'ing it into a pixmap is a bit cumbersome, so the animation is
slower to load than with Sunview. Is there a better way to load in the
data?

  writes:
>  If you need speed, and your client can run on the same host as the X server,
>  you should use the shared memory extension to the sample X server .
>  xdpyinfo  will tell you if your server has this extension. This is certainly
>  available with the sample MIT X server running under SunOS.
>  A word of warning: make sure your kernel is configured to support shared
>  memory. And another word of warning: OpenWindows is slower than the MIT
>  server.
>  I have written an imaging tool  which
>  yields over 10 frames per second for 512*512*8 bit images, running on a Sparc
>  IPC . This has proved quite sufficient for
>  animations.
>
>				Regards,
>
>					Richard Gooch....

Shared memory PutImage  looks interesting, but I need someone to point me to some
documentation. Is this method likely to give better results than server-
resident pixmaps? I'd also be interested in looking at the XView code
mentioned above...

Thanks for the help so far. If I get something decent put together, I'll
definitely post it to the Net.

-----------------------------------------------------------
| Derek C. Richardson    | Tel:  337548 x 37501     |
| Institute of Astronomy | Fax:  337523             |
| Cambridge, U.K.        |                                |
| CB3 0HA                | E-mail:  |
-----------------------------------------------------------
Newsgroup: comp.windows.x

 Re: X11 load on the Network
Organization: USC  Department of Computer Science
Lines: 18

bkline%occs.nlm.nih.gov  writes:

>Can someone point me in the direction of any papers  discussing how much traffic X apps generate
>for the network, particularly in comparison with curses-bases apps 
>over telnet?  Also, does an X server typically buffer up user keyboard
>input a line at a time?  Can the X client control this, asking for
>keystrokes immediately?  Thanks in advance for any feedback!


   Ncd has an excellent document titled "Host Loading Considerations in the X 
  environment". I received my copy by emailing  This may
  help out.
--
==============================================================================
Tim White				 University of South Carolina
	   Humanities and Social Sciences Laboratory
-777-7840 		  		     Columbia, S.C. 29208
Newsgroup: comp.windows.x

 Solution: Why do I need "xrdb -m" when .Xdefaults unchanged?
Organization: Computer Sciences Corp.
Lines: 9
Distribution: world
NNTP-Posting-Host: helios.ath.epa.gov

The short answer seems to be: "I don't".
The particular package  seems to reset *all* its defaults
if *any* of them are missing from the .Xdefaults file.  Once I added
the missing ones to the .Xdefaults file, the problem goes away.

-Kevin
-- 
Kevin Weinrich     Computer Sciences Corp.
Newsgroup: comp.windows.x

 Imake support for xmosaic
Organization: CS Department, Dortmund University, Germany
Lines: 20
NNTP-Posting-Host: enterpoop.mit.edu
To: 


	Imake support for xmosaic
	=========================

Although xmosaic is a great program in general, it unfortunately comes
without Imake support. So I created one. Until Marc Andreessen finds the
time to incorporate it in an official xmosaic release, you can easily do it
yourself. Use anonymous FTP to get

	ftp.germany.eu.net:/pub/X11/misc/xmosaic.Imake.tar.z

The file's size is 3200 Byte. You will need gzip to unpack it. Have fun!

-- 
  Dipl.-Inform. Rainer Klute      I R B :  immer richtig beraten
  Univ. Dortmund, IRB
  Postfach 500500         |)|/    Tel.: +49 231 755-4663
D-W4600 Dortmund 50       |\|\    Fax : +49 231 755-2386

  new address after June 30th: Univ. Dortmund, D-44221 Dortmund
Newsgroup: comp.windows.x

 Re: XWindows always opaque
Organization: NASA/Goddard Space Flight Center
Lines: 57
Distribution: comp
NNTP-Posting-Host: narya.gsfc.nasa.gov
Keywords: xwindow, parent-child relation
Originator: 



In article <>,   writes:
|> Hi,
|> 
|> I wonder if it is possible for a parent window to paint over the area of
|> its childs. If it is not, then how could it be possible to implement a 
|> rubberband across multiple xwindows to select the objects that are
|> displayed one in each window?
|> 
|> Hauke
|> 

If you specify the rootwindow when you are creating your GC. You may 
use Xlib to draw over multiple windows. 
I have an application that does something similar for rubber banding.

 curs_move = XCreateFontCursor ;

 geom_vals.foreground     = blck_pixl ^ grey_dark;
 geom_vals.plane_mask     = AllPlanes;
 geom_vals.line_width     = 0;
 geom_vals.function       = GXxor;
 geom_vals.subwindow_mode = IncludeInferiors;
 evnt_mask= GCForeground | GCPlaneMask | GCLineWidth | GCFunction
                                                     | GCSubwindowMode;
 geom_gcon= XCreateGC ;



later I can move the rubber band or bands using the following logic

/**********************************************************************/
 void Tselect::move_bands           /****/
stuff deleted ...
            XDrawRectangle ; undraw old one
            sele_pntr->papax+= delt_xloc;
            sele_pntr->papay+= delt_yloc;
            sele_pntr->rootx+= delt_xloc;
            sele_pntr->rooty+= delt_yloc;
            XDrawRectangle ; draw new one
more stuff deleted
  hope this helps


-- 
Brian Dealy                |301-572-8267| It not knowing where it's at  
   |            | that's important,it's knowing
!uunet!dftsrv!kong!dealy   |            | where it's not at...  B.Dylan
-- 
Brian Dealy                |301-572-8267| It not knowing where it's at  
   |            | that's important,it's knowing
!uunet!dftsrv!kong!dealy   |            | where it's not at...  B.Dylan
Newsgroup: comp.windows.x

 Problems with OpenWindows
Organization: Dept. of Statistics
Lines: 22





 After having OpenWindows 
 or Xwindows
running continuously on my machine for 3-4 days,
the following message appears  when trying to open
a new window, or to run any program that needs to open windows.

XView error: Cannot open connection to window server: :0.0 

I would greatly appreciate any suggestions to solve this problem.

Yali Amit
Department of Statistics
University of Chicago 
Chicago IL 60615
Newsgroup: comp.windows.x

 Re: Changing dpy->max_request_size ?
Organization: University of New Mexico, Albuquerque
Lines: 17
NNTP-Posting-Host: carina.unm.edu

In article <>   writes:
<In article <>   writes:
<>
<>Does anyone out there know how to change the maximum request size for
<>a server 
<
<It is ordinarily set to the highest value the underlying OS can

Yes, and you don't want to change this value if you're running Image type
applications.  


-- 
    _---_     Steve  
   / o o \    , 
  | \___/ |   
              Just say NO to VMS!!
Newsgroup: comp.windows.x

 Pointer..Xlib
Nntp-Posting-Host: flashflood.cs.odu.edu
Organization: Old Dominion University, Norfolk, Va
Lines: 26


Hi

I am trying to implement a pointer feature in Xlib

I have multiple windows and all can take input and 
show output simultaneously on all other displays

I want to implement a pointer feature 

I would like to get the pointer to come up on all windows once 
I choose pointer in the menu and every one should be able
to see it

Can you give me some hints as to how I should proceed 
I am new to Xlib



replies will be greatly appreciated

Thank you

Prakash
<  >