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

 Re: Forcing a window manager to accept specific coordinates for a window
Organization: Technical University of Berlin, Germany
Lines: 36
Distribution: world
	<> <1r5l8g$>
NNTP-Posting-Host: athene.cs.tu-berlin.de
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
In-reply-to: 's message of 22 Apr 1993 10:33:20 +0200


In article <1r5l8g$>   writes:

   Sorry, but olwm and tvtwm don't do it. They place the title at that position
   and the window at a position below it.

   This becomes a problem when you want a program to be able to save its current
   configuration and restore is later.

   Currently, my solution is:

	   XCreateWindow;
	   XSetWMProperties;
	   XMapWindow;
	   XFlush;
	   XMoveWindow;


   It works with olwm, but is less than elegant. All this leaves me wondering
   if I'm overlooking something obvious.

   Richard.


I know that the mwm has an resource to specify if positions are to be used for
the border of a window or for the "user" window. Maybe other window managers
have similar options.
Another way to figure out the difference between the "user" window position
and the window manager decoration window position is to subtract their
positions. You just have to use XQueryTree and remember that the window manager
decorations window is the parent of your window. Unfortunately, you can only
figure out the decoration width and height after the window has been mapped
this way.

Greeting,
          Tobias
Newsgroup: comp.windows.x

 [REQUEST] Need tvtwm sources with mods from R. J. Caley
Organization: Project Pilgrim, University of Massachusetts at Amherst
Lines: 17
Distribution: world
Reply-To: 
NNTP-Posting-Host: mecca.pilgrim.umass.edu


Hello, 

	way back in the mists of time, I had a set of patches written
by Richard Caley  which added regular expressions in the .tvtwmrc file, multiple icon
regions, squeezable icons, and f.deleteordestroy function. I still
have the patches, however, I can no longer find the sources to which
they applied ;-). 

	I'd appreciate if some kind soul could send me a pointer to
where I could find the sources. Has anyone updated the patches for R5?


	Thanks in advance.

		manoj
Newsgroup: comp.windows.x

 COSE GUI - Just what is it they agreed on?
Lines: 31
Nntp-Posting-Host: loki

The COSE announcement specifies that Motif will become the common
GUI. But what does this mean exactly? 

- Do they mean that all "COSE-complient" apps will have the Motif
  look and feel?

- Do they mean that all "COSE-complient" apps will use the Motif
  toolkit API?

- Do they mean both of the above?

- Is it possible that there will be a Motif-API complient toolkit with
  an OpenLook Look & Feel?

- How about an OLIT/XView/OI/Interviews API toolkit with a Motif L & F?
  

- Will there be more than one "standard" toolkit API or L & F supported?

- How does using ToolTalk fit in with Motif?

This is my attempt to start a discussion in order to pull as much 
knowledge about these questions off the net... Feel free to e-mail
or followup.

-- 
--------------------------------------------------------------------
-- Gil Tene			"Some days it just doesn't pay     -
-- 	   to go to sleep in the morning." -
--  					   -
--------------------------------------------------------------------
Newsgroup: comp.windows.x

 Re: Is Xlib thread safe?
Organization: SURAnet, College Park, MD, USA, NA, Earth, Milky Way
Lines: 26
NNTP-Posting-Host: cthulhu.sura.net
Keywords: thread safe mutexes LockDisplay

In article <>   writes:
>No, the R5 Xlib is not thread-safe.  But we are working on it.
>See my article in The X Resource, issue 5.  Consortium members
>will have a multi-threaded version soon, and it will be part
>of R6.
There is a multi threaded xlib version written.
Do an archie search for mt-xlib:
Host export.lcs.mit.edu

    Location: /contrib
      DIRECTORY drwxr-xr-x        512  Jul 30 1992  mt-xlib
    Location: /contrib/mt-xlib-1.1
           FILE -rw-r--r--     106235  Jan 21 14:02  mt-xlib-xhib92.ps.Z
           FILE -rw-r--r--    1658123  Jan 21 14:03  mt-xlib.tar.Z
    Location: /contrib/mt-xlib
           FILE -rw-r--r--     106235  Jul 30 1992  mt-xlib-xhib92.ps.Z
           FILE -rw-r--r--    1925529  Jul 30 1992  mt-xlib.tar.Z

et.al.
          -Eric 
*********************************************************
"Overhead, without any fuss, the stars were going out."
           -The Nine Billion Names of God
"Yes, you're very smart.  Shut up."
           -In "The Princess Bride"
*********************************************************
Newsgroup: comp.windows.x

 Re: X11R5 and Gateway2000
Organization: ITC/UVA Community Access UNIX/Internet Project
Lines: 25

In article <>   writes:
>
>Hi,
>     I just got myself a Gateway 4DX-33V and trying to configure
>X11R5 for it.  Has anyone done this before ?  More specifically,
>I need a correct Xconfig file entry that is set up for my 
>graphics card and monitor.  I have a 15" Color CrystalScan 1572FS monitor
>and a VESA LOCAL BUS ATI Ultra Pro with 1MB VRAM video card.
>Thanks in advance.

Didn't your operating system come with X?  SysV usually does as far
as I know.  You'd do best to contact the people from whom you bought
ths OS.  If you're running Linux or something similar, good luck. :)
>
>Please send replies to 
>
>
>Christy


-- 
                A voice of reason in the midst of LiberalNet.
    Mike Chapman, a higher lifeform trapped in a human body. AKA FourDee.
       Political Correctness is the tool of the mentally disadvantaged. 
           "I will NOT raise taxes on the middle class." -Unknown
Newsgroup: comp.windows.x

 Problem: R5 server hangs on Sun3
Summary: annoying problem, server hangs
Keywords: X11R5pl22, sun3, bw2, 4.1.1, gcc-2.3.3, Xsun, Vernal Equinox
Organization: Univ. of Rochester, Dept. of Electrical Engineering
Lines: 19


I recently compiled the X11R5pl22 sources using gcc-2.3.3 on
a Sun3/80. Everything seems to work fine. Usually. But at
seemingly random times the server will just hang. I will
click the mouse somewhere ,
and without warning, it will freeze there, requiring the server
to be killed. Sometimes it will run fine for weeks, sometimes
only for minutes.

.

Has anyone seen this before, any ideas? 

thanks,
	--jeff

---
Jeff Weisberg  |     |    Real Cherries,
               |  ur-valhalla!weisberg        |        Watch for pits!
Newsgroup: comp.windows.x

 Cursors
Organization: The Internet
Lines: 19
To: , 

According to the OSF/Motif Style Guide, one should use cursor shapes to give
the user a visual clue of what is happening or what is expected of him. So
a "hourglass" cursor should be shown when the application is busy, or a
"caution" cursor should be shown over an area when input is expected in
another. Defining cursors for widgets has to be done at rather low level.
So defining a cursor for all widgets in an application but not for a certain
subpart of it, is a rather complicated matter. When cursors have been defined
for some windows, e.g. a "crosswire" cursor for a DrawingArea, things get even
more complicated. My intuition says that things should be easier, but is this
so? If anyone has a solid and complete solution to my problem, please let me
know. The topics on "busy cursors" in the several FAQ's are not helpful, since
they only work for applications where all windows have the cursor window
attribute set to 'None'.
-----------------------------------------------------------------
Hans Geurtsen                       Phone:   8385 - 33157
Nucletron Research BV.             e-mail: 
                                  Surface: Waardgelder 1
                                           NL-3905 TH  Veenendaal
Newsgroup: comp.windows.x

 Xlib timeouts?
Summary: How to do timeouts using Xlib
Keywords: Xlib timeouts
Article-I.D.: kudu.ccdw.735917051
Organization: Rhodes University, Grahamstown, South Africa
Lines: 12

I am in the process of modifying an X application that uses Xlib.  I'd
like to include a timer-driven facility , but cannot
see how to do it using Xlib.  I know it can be done with Xaw, using
XtAppAddTimeout and XtTimerCallBackProc.  How do I do the same using
Xlib?

Thanks for any help.  Please email.

--
Dave Wilson
Computing Centre, Rhodes University
Grahamstown, South Africa
Newsgroup: comp.windows.x

 24-bit Static color: will clients like it?
Reply-To: 
Organization: CERN -- European Organization for Nuclear Research
Lines: 24

I'm writing an X server for some video-generation equipment.  The
hardware is "truecolor" in YUV space; in X terms it has a 24-bit
static color visual.  I would really like to have the server just
present this static visual, but I'm not sure if this will be 
acceptable to "most" X clients.  The three problems I see are:

  1) The colormap, though huge, is static.
  2) All pixels would be 3 bytes wide.
  3) Because the hardware actually lives in YUV space, the
     translation RGB->YUV will introduce some rounding error.

Being more of a server guy than a client guy, I ask: will these
limitations thwart many X clients?  Or will most of the X stuff
floating around blithely accept what they're given?  I could write
the server to also present a pseudocolor visual of, e.g., 8 bits, 
but I'd rather avoid this if not necessary.

I know there are no absolutes, but I'd appreciate hearing people's
opinions and suggestions.  Thanks!

-- 
Frederick G. M. Roeber | CERN -- European Center for Nuclear Research
e-mail:  or  | work: +41 22 767 31 80
r-mail: CERN/PPE, 1211 Geneva 23, Switzerland | home: +33 50 20 82 99
Newsgroup: comp.windows.x

 Changing colors on a label - HELP
Organization: Ford Motor Company -- standard disclaimers apply
Lines: 21
Distribution: world
Reply-To:  
NNTP-Posting-Host: ope001.iao.ford.com


I have a toggleButton widget  and I have a routine
which changes the color of the foreground and background of the
label.  Well, the background changes alright, but the label
text does not redraw itself.

I am guessing that I have to force it to redraw with an
XExposeEvent sent to it via XSendEvent.  Is this the best
way to get the text up again?  I can't seeem to get
XSEndEvent to work right.... if this is a good approach,
might anyone have an example lying around to show me how to
do this?  I've RTFM all evening and did not find a decent
example.

PS I keep getting Segmentation Faults in XSEndEvent, tho all
the values are as expected.

Thanks in Advance

Stephen M. Dahmen
Newsgroup: comp.windows.x

 What inexpensive monochrome X station can you recommend?
Organization: NETCOM On-line Communication Services 
Lines: 10

Can someone recommend an inexpensive 19" monochrome X station, that
is not PC software emulation based? Please tell me manufacturer,
model, price and any other significant specs. Thanks.

-- 
================================================================
Gregg Weber		Let it be, open and bright like the sky,
	Without taking sides, with no clouds of concepts.
 283-6264		- kun-mkhyen klong-chen-pa
================================================================
Newsgroup: comp.windows.x

 Re: Animation with XPutImage?
Organization: USCACSC, Los Angeles
Lines: 11
Distribution: world
Reply-To:  
NNTP-Posting-Host: cpuserver.acsc.com

Hi everyone,

Does anyone know a good way to adjust colourmaps on the
fly  and prevent the current
set of colours from flickering?

Thanks,

Robert
Newsgroup: comp.windows.x

 Problem with dni and OW 3.0
Organization: The Internet
Lines: 44
NNTP-Posting-Host: enterpoop.mit.edu
To: 

Can anybody help me?

I am having a problem displaying images greater than 32768 bytes on a Sparc
IPC running Openwindows 3.0 and dni. My program runs on a Vax and displays
images on the IPC with no problems if I use Openwindows 2.0. The program uses
the following lines to display the image - it is the XPutImage routine
that crashes.

	XImage          *ximage;
	ximage = XCreateImage(myDisplay, DefaultVisual,
			      ddepth, ZPixmap, 0, image,
			      xwid, ywid, 8, 0);
	XPutImage;

The error I get is:-

XIO:  fatal IO error 65535  on X server "galaxy::0.0"
      after 30 requests  with 0 events remaining.
%XLIB-F-IOERROR, xlib io error
-SYSTEM-F-LINKDISCON, network partner disconnected logical link
%TRACE-F-TRACEBACK, symbolic stack dump follows
module name     routine name                     line       rel PC    abs PC

                                                           000773B9  000773B9
                                                           00077BBE  00077BBE
                                                           0007259D  0007259D
                                                           00072741  00072741
                                                           00072840  00072840
                                                           00072A27  00072A27
MYXSUBS         my_imtoiks                       3184      00000093  000010AF
TEST            main                              293      000000E5  00000EE5

I have a simple test program if anyone would like to test it !!

Thanks Paul.

-- 
-----------------------------------------------------------------------------
| Paul Jaques                                                               |
| Systems Engineer, Camborne School of Mines,                               |
|                   Rosemanowes, Herniss, Penryn, Cornwall.                 |
| E-Mail:  Tel: Stithians  860141 Fax:  861013 |
-----------------------------------------------------------------------------
Newsgroup: comp.windows.x

 widget for displaying images
Nntp-Posting-Host: marvin
Organization: The Cleveland Clinic Foundation, Cleveland, OH
Distribution: na
Lines: 12

Before I try to teach myself how to write a widget and 
re-invent the wheel...

Is there a PD widget that displays  an 8-bit grey-level
image in the same fashion that the Athena Plotter Widget can be used
to display a plot?

--
----Robert M. Cothren, 
    Department of Biomedical Engineering
    The Cleveland Clinic Foundation                voice: 216 445-9305
----Cleveland, Ohio----------------------------------fax: 216 444-9198----
Newsgroup: comp.windows.x

 Re: Converting contents of X-window to color postscript
Organization: Dept. of Computer Science, TU Dresden, Germany.
Lines: 33
Distribution: world
Reply-To: 
NNTP-Posting-Host: irzr17.inf.tu-dresden.de


In article <>,   writes:
|>   writes:
|> : Jeff Haferman  wrote:
|> : > Can somebody point me to source code for dumping the contents of
|> : > an X-window into a color postscript file?  I have written
|> : > an app which brings up an X-window, and I want  to dump the window into a postscript file.
|> :
|> :
|> :
|> : I use xwd and xwd2ps. To do it from within a program I use
|> : xwd -id xxxxx where xxxxx is the window id obtained from XtWindow.
|> 
|>     He asked for sources.
|> 
|>     The   portable    bitmap    tools    from    Jef    Poskanzer
|>     <>  include  filters  to  do  that .
|> 

BTW, the X11 tools come as sources. The sillyness of most vendors lets you
stuck with binaries.

Anyway, have a look onto xgrab/xgrabsc. It does the IMHO best job for
this, including compression.

--
+-o-+--------------------------------------------------------------+-o-+
| o |                \\\-  Brain Inside -///                       | o |
| o |                    ^^^^^^^^^^^^^^^                           | o |
| o | Andre' Beck  mehl:  | o |
+-o-+--------------------------------------------------------------+-o-+
Newsgroup: comp.windows.x

 Re: Q: Colormaps with dialog shells
Organization: Open Software Foundation
Lines: 29

  writes:
| 
| I have an applicationShell which uses a colormap created with
| XCreateColormap and uses all of the colors available for my 8-bit
| display....When I popup a dialogShell to prompt the user for
| some input I want the XmNdialogStyle to be set to
| XmDIALOG_PRIMARY_APPLICATION_MODAL.  The result is that if my cursor is
| over the dialogShell I get my colormap, but if the cursor is over the
| applicationShell  I get the
| default colormap.  But I'd like it so that if my cursor is over _any_
| window of my application, I get my colormap.

I *think* this is correct behavior.  Remember the default
colormapFocusPolicy is keyboard .  Since the dialog is modal, mwm won't allow keyboard
focus onto your main shell, and so it won't allow cmap focus either.

Since it sounds as though you have keyboardFocusPolicy:pointer, I
suggest you set colormapFocusPolicy:pointer also.  That way, the cmap
focus won't slavishly follow keyboard focus, but will beat its own path.

.
-- 
David Brooks					
Open Software Foundation			uunet!osf.org!dbrooks
Showres soote my foote
Newsgroup: comp.windows.x

 DIN-Fonts
Organization: Research Institute for Discrete Mathematics, Bonn
Distribution: de
Lines: 25

Hello everybody,

I hope that I insert the right Options, so that my question is only
distributed through out Germany, because my question is more or less
country dependend.

Now the question:
  Is there anybody who can tell my if  there is
  a ftp-site/archie  where DIN fonts for X are available.
  I am looking for fonts holding the specification:
    DIN 16
    DIN 6776
    DIN V 40950


Thanks in advance

Juergen Schietke
Research Insitute for Discrete Mathematics
University of Bonn
Nassestr. 2
5300 Bonn 1 

Tel: +49 0228 738786
E-Mail:
Newsgroup: comp.windows.x

 Re: Title for XTerm
Organization: Dept. of Computer Science, TU Dresden, Germany.
Lines: 32
Distribution: world
Reply-To: 
NNTP-Posting-Host: irzr17.inf.tu-dresden.de
Keywords: XTerm


In article <>,   writes:
|> >Hey guys!
|> >I work on many stations and would like this name and current logname
|> >to be in a title of Xterm when it's open and a machine name only
|> >when it's closed. In other words, I want $HOST and $LOGNAME to appear
|> >as a title of opened XTerm and $HOST when XTerm is closed.
|> >How can I do it?
|> 
|> Almost all window managers  support
|> escape sequences for it. For your purpose put following into your
|> .login , for sh you have to modify it.
|> 
|> if  then
|> 	echo "^[]2;${LOGNAME}@${HOST}^G^[]1;${HOST}^G"
|> endif
|> 

1) This is NOT a feature of the Window Manager but of xterm.
2) This sequences are NOT ANSI compatible, are they ?
   Does anyone know IF there are compatible sequences for this and what they
   are ? I would think they are DCS  introduced,
   but may be a CSI sequence exists, too ?
   This MUST work on a dxterm , it may not work
   on xterms.

--
+-o-+--------------------------------------------------------------+-o-+
| o |                \\\-  Brain Inside -///                       | o |
| o |                    ^^^^^^^^^^^^^^^                           | o |
| o | Andre' Beck  mehl:  | o |
+-o-+--------------------------------------------------------------+-o-+
Newsgroup: comp.windows.x

 Re: xdm and Solaris2.1
Organization: Ahold NV, Zaandam, Netherlands, EEC
Lines: 11

The XDM on Solaris 2.1 *WAS* broke. Since two weeks, Sun distributes
a patched release, which works fine .
We have it up and running ever since and have not experienced any
problems. Call your local Sun rep.

Dick.
-- 
+==============================Ahold NV===============================+
| Room 146 , Ankersmidplein 2, 1506 CK Zaandam,  The Netherlands, EEC |
|  - Tel: +31 75 592151, Fax: +31 75 313030 |
+=====================================================================+
Newsgroup: comp.windows.x

 Re: Realtime X-tensions
Organization: Concurrent Computer Corp.  Westford, MA
Lines: 19

>	I am looking for information on any work that deals with real-time
>	support in X-windows????!!
>	Would be happy if you could provide any pointers or information

Concurrent has a product called RealTimeX  that is a set of real-time
extensions to the X Window System.  RealTimeX is currently supported on
the Concurrent Series 7000 and Series 8000 with the GA5000 graphics
accelerator.  If you need/want more info, let me know.

		- sam black

-------------------------------------------------------------------------------
Once you remove the absurdity from human existence, there isn't much left.
		     __________
		    /  _______/__
		   /__/______/  /	
	  Concurrent /_________/
	Computer Corporation
-------------------------------------------------------------------------------
Newsgroup: comp.windows.x

 Running X on a PC at home talking to a host over Serial Line
Originator: 
Nntp-Posting-Host: vaccine.netlabs.com
Organization: NetLabs, Inc.
Lines: 41

Some time back I asked for software recommendations to  allow me to
run X from my PC at home to my Sparc at the office.

Many thanks for all replies, the majority of people  recommended
PCXremote from NCD. I received it yesterday  and installed it on
my Sparc and PC with only one hitch. 
The UNIX install consists of copying 2 files into some local bin directory. 
On the PC side, I ordered the WINDOWS version  which  came with a slick windows
installation.


The only problem I had was that  my .xinitrc  in my home directory
had the line
DISPLAY=`hostname`:0.0; export DISPLAY

s.t the clients I kicked off connected to my Xserver on the Sparc console.
By removing this line from the .xinitrc everything worked as planned
and the clients connected to the server at

`hostname`:1.0

Some comments on performance, I was connected to a Sparc 2 thru
a NetBlazer Terminal Server over a 9600 baud line.
My PC is a 486-DX2 ATI Ultra, 16 MB

Bitmap Stuff Sucked.
Basic Editing and compilation stuff definitely usable.
Xmail was very usable.

At times the first time U typed in an Xclient window there was
a very noticable delay, I put this down to brain damaged "WINDOWS
should not be called a SCHEDULER", besides that this will become
my remote work environment for a while.

Has anybody tried the NON Windows version of the product, the sales
person said they performed about the same, given the over head of
WINDOWS I question this?

many thanks for help to all who responded

gerard
Newsgroup: comp.windows.x

 X Error of failed request:  BadPixmap 
Nntp-Posting-Host: bruno.cs.colorado.edu
Organization: University of Colorado, Boulder
Lines: 68

Could someone PLEASE give a guess as to why this simple little program
causes a BadPixmap error on the FOURTH  call to XtRelaizeWidget?

Here is the code:


int stoploop = 0;

static void Callback;

main
{
        XtToolkitInitialize;
        XtAppContext app = XtCreateApplicationContext;
        while 
        {
                int junk = 0;
                Display *dis = XtOpenDisplay;

                Widget top = XtAppCreateShell;

                Widget box = XtVaCreateManagedWidget;

                XtAddCallback;

                XtRealizeWidget;
                while 
                {
                        XEvent event;
                        XtAppNextEvent;
                        XtDispatchEvent;
                }
                stoploop = 0;
                XtReleaseGC(top, XDefaultGCOfScreen(XtScreen)); // needed?
                XtDestroyWidget;
                XtCloseDisplay;
        }
}

static void Callback
{
        stoploop = 1;
}


The error I get  is:

X Error of failed request:  BadPixmap 
  Major opcode of failed request:  55 
  Resource id in failed request:  0xd0000d
  Serial number of failed request:  71
  Current serial number in output stream:  85


Please respond via email.  Thanks very, very much!


-- 
-------------------------------------------------------------------------------
David Rex Wood --  -- University of Colorado at Boulder
-------------------------------------------------------------------------------
Newsgroup: comp.windows.x

 imake - help needed
Reply-To: 
Organization: British Aerospace  Ltd.
Lines: 19

Hi

Can someone please give me some pointers to setting up imake in a SUN OPENWINDOWS
enviornment ? I've checked through all the documentation but can not find any clues.

Please respons via e-mail.....

Thanks

Paul


---------------------------------------------------------------------
Paul Byrne				British Aerospace Defence Ltd
					Dynamics Division
email 		FPC 450
					P.O.Box 5, Filton
Phone 0272 316086			Bristol, BS12 7QW