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

 Re: Forcing a window manager to accept specific coordinates for a window
Organization: Columbia University Department of Computer Science
Lines: 18

In article <>   writes:
>
>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.
>
	Another way would be to use GetGeometry to find out where
you are relative to the frame, and TranslateCoordinates to find
out where your window's upperleft corner really is.
	-- Ethan
Newsgroup: comp.windows.x

MOTIF & X on Windows NT
Organization: Laser-Scan Ltd., Cambridge
Lines: 16

In article <>,   writes:
> Another company, Congruent Corporation of New York City, has also ported Xlib
> Xt and Motif 1.1 over to MS Windows NT, which provides full client development
> for X applications in an NT environment.

Could someone please send me the postal and email address of
Congruent Corporation .

Thank you.
-- 
      

"Washing one's hands of the conflict between the powerful and the powerless
 means to side with the powerful, not to be Neutral."
                                                     Quote by Freire.
                                                     Poster by OXFAM.
Newsgroup: comp.windows.x

Robert Andrew Ryan <rr2b+@andrew.cmu.edu>Re: Monthly Question about XCopyArea and Expose Events
Organization: School of Computer Science, Carnegie Mellon, Pittsburgh, PA
Lines: 19
NNTP-Posting-Host: po5.andrew.cmu.edu
In-Reply-To: <>

Excerpts from netnews.comp.windows.x: 19-Apr-93 Monthly Question about
XCop.. Buzz   

> A button widget, when pressed, will cause a new item to be drawn in the
> Window.  This action clearly should not call XCopyArea 
>  directly; instead, it should register the existence of the
> new item in a memory structure and let the same expose event handler
> that handles "regular" expose events  take care of rendering the new image. 

Hmmm.... Clearly?  Depends on your programming model.  It is not at all
forbidden to draw outside the context of an expose event.  Certainly any
internal data structures should be maintained such that the visual
appearance would be maintained properly whenever an expose event happens
to be generated.  This doesn't preclude drawing immediately after
updating the datastructures though... 

-Rob
Newsgroup: comp.windows.x

 SPARC IPC Sprite goes off screen
Organization: Bluestone Consulting Inc.
Lines: 21

Environment:
	X11R4
	Motif 1.1.4
	Sun IPC 4.1.3

Problem:
	When mouse is moved across screen horizontally, the sprite goes off
	of the edge of the screen and reappears at the *other* edge.
	It appears that the server thinks we are running in multi-screen
	mode; the cursor seems to "wrap" from one side of the screen to
	the other.
	As far as we can tell, we are not running the server in multi-screen
	mode.

Please reply via E-mail.

-- 
Ray Bentz                            Phone: 727-4600
Bluestone Consulting, Inc.             Fax: 778-8125
1200 Church Street                   uunet: uunet!blustone!bentz
Mount Laurel, NJ 08054            Internet: blustone!
Newsgroup: comp.windows.x

 Re: C++ toolkit "directions" ?
Organization: NeoSoft Communications Services --  684-5900
Lines: 41

In article <>   writes:
>I am trying to figure out the current C++ toolkit "directions".
>More simply, I'd like to know which C++ toolkit to "bet on" 
>for use in a new long term project.

I have the same problem.  I have looked at Motif++, WWL, InterViews, GINA++,
and a few variations on the above.  I've also done a cursory examination
of Rogue Wave's View.h++.  I like View.h++'s abstractions best of all of the
toolkits I mentioned, but the resulting code looks little like Motif, and I
have little confidence that this software will catch on or otherwise result
in significant longevity for my code.  GINA++ allows you to write code which
looks a great deal like Motif and also makes interesting use of inheritance,
but the resulting code is almost too Motif-like, and is certainly not
significantly less verbose than equivalent C code.  InterViews looks
promising, but I haven't found a free version with Motif support, and I'm
not confident how widely InterViews with Motif support will be adopted,
and what  specific Motif support will be available over time.  The
other libraries produce code which is less Motif-like, but which does not make
sufficient use of the features of C++ to simplify my coding task.

At this point, my inclination is to write my Motif manipulation routines in
C, and invoke those routines from my C++ code using simple abstractions suited
to my specific task.  Later, if OSF or some credible standards-setting body
comes up with a C++ interface to Motif, I will change to that.  It does me
no goo to write in C++ if my choice of interfaces leaves me with code which
leaves me tied to an abstraction which is not consistent with the industry
directions.  It's better to take a standard if inferior solution for now
than to go with a slgihtly superior approach which will leave me with both
useless code and useless skills a few years from now.  Views.h++ is the only
library I'd consider right now, but in our environment, we'd end up spending
nearly $5000 to use it, and I can't justify it when it's likely to cause
short-term productivity decreases as we learn the new abstraction, and is
unlikely to be a sufficiently long-lived solution for us to reap the benefits
at the high end of the J curve.

- Brad
-- 
Brad Daniels		`	|  "If money can't buy happiness,
		|   I guess I'll have to rent it."
I don't work for NeoSoft, and	|		- Weird Al Yenkovic
don't speak for my employer.	|
Newsgroup: comp.windows.x

 Re: XAllocColor fails to return nearest match
Reply-To: 
Organization: SynOptics Communications, Santa Clara CA
Lines: 19
Nntp-Posting-Host: bugsbunny.synoptics.com

In article ,   writes:
>[posted for a friend]
>
>Okay, I looked through the FAQs and didn't see this, but I know its
>come up before...
>
>XAllocColor is supposed to do the following in order:
>    Try to find an exact match read-only color cell. 
>    Try to allocate a read-only colorcell and set it to match.
>	and when all else fails, 
>    Return the colorcell with the best match from the read-only colors 
>    already allocated in the colormap.

Where did you hear this?  If it is printed in a book somewhere,
throw away the book.  According to the MIT specs, only the first
2 are true.

---
Ken Lee,
Newsgroup: comp.windows.x

 Need Help with key bindings
Reply-To: egan%
Organization: Call Business Systems
Lines: 21

I need help binding some value to the HOME and END keys on my keyboard.  I have an
rs/6000 w/ aix3.2.3ext running X11R5pl19 mit dist.  I'm using a PC running eXceed
for windows as my xterminal.  The HOME and END keys do not send a value, and my
application needs them to be defined.  I used this in my Xdefaults to define the
keys:

varnet*VT100.Translations: #override \
    <Key>Home: string \n\
    <Key>End: string

Then I xterm -name varnet.  This works perfect, however the 7 and the 1 key on my
keypad are also defined as \033[8~ and \033[7~.

Any ideas?  Help please.

Thanks.


-- 
Egan F. Ford
egan%
Newsgroup: comp.windows.x

 how to put RPC in HP X/motif environment?
Organization: Columbia University Center for Telecommunications Research
X-Posted-nova.ctr.columbia.edu
NNTP-Posting-Host: sol.ctr.columbia.edu
Lines: 12


Hi, 

has anybody implements an RPC server in the HP Xwindows? In SUN Xview, there
is a notify_enable_rpc_svc call that automatically executes the rpc processes
when it detects an incoming request. I wonder if there is a similar function in
HP X/motif that perform the same function.

any help is appreciated.

nui chan
Newsgroup: comp.windows.x

ge!severy% Overriding window manager focus processing
Organization: GE Information Services, Rockville, MD
Lines: 44
NNTP-Posting-Host: cs.utexas.edu
Keywords: Window Manager Focus Motif

     I am working on an X-Window based application that needs to 
override some of the window manager focus processing.  I am 
using X11R4 and Motif 1.1 currently, although I will also be 
working with Open Look in the future.

     What I need to do is under certain circumstances prevent the 
user from switching from one window of the application to 
another window.  Let's say, for example, that Window A is on top 
of Window B in the window hierarchy.  Normally, if the user clicks 
the mouse in Window B it will be brought to the top of the 
window hierarchy and placed on top of Window A.  Under certain 
circumstances if the user clicks the mouse in Window B I need to 
beep and prevent Window B from being raised on top of Window 
A.

      From the research and testing I've done so far, it appears that 
this window ordering is handled by the window manager, in this 
case Motif.  I haven't found any way to override this default 
processing through standard X Window functions.  I can tell 
when this switching occurs through focus change and mapping 
notify events, but I can't find any way to tell Motif not to make the 
switch.

      The temporary solution I've currently come up with is very 
kludgy but it partially works.  When I detect such a window switch 
in those cases when the switch is not allowed, I manually force 
the formerly top window back on top with an XRaiseWindow call 
and beep with the XBell function.  This provides the necessary 
functionality but looks ugly when the windows switch places 
twice.

      Does anyone know how I can tell Motif  when I don't want the window order switch to 
actually take place?  Respond either by e-mail or posting to this 
newsgroup.

Cheers....     Randall

***************************************************************************
* Randall Severy                    *      UUNET: uunet!ge!severy         *
* GE Information Services           *   INTERNET: ge!  *
* 401 N. Washington St.   MC05A     *      GENIE: RSEVERY                 *
* Rockville, MD  20850    USA       *      PHONE: +1-301-340-4543         *
***************************************************************************
Newsgroup: comp.windows.x

 Re: XVideo Information
Organization: UN*X Technologies
Lines: 13

The product you mention is XVideo from Parallax Graphics in Santa Clara, 
California, US. You can read our product review in the Jan/Feb '93 issue
of The X Journal. That issues focuses on Multimedia and X, in which there
are also a number of other useful items, including an article on Video in
an X Window. Fax our New York office at 212.274.0646 for information on 
obtaining back issues.

Steve
-- 
      Steven Mikes - Editor - The X Journal
        1097 Eastbrook Rd., Martinsville, NJ 08836
         OFFICE: 908.563.9033 - FAX: 908.560.8635
          "Serving The X Window System Community"
Newsgroup: comp.windows.x

 Unisys 22403 emulation
Keywords: xterm term emulation
Organization: Capital Area Central Texas UNIX Society, Austin, Tx
Lines: 11


Has anyone seen source to an xterm package ready
to perform UNISYS 22403 TERMINAL EMULATION. 
Got a clunker... and ...  Got a connect!

return: 

-- 
/////////////////////////////////////////////////////
////////////////////Calame Linebarger Graham & Pena///////////////////
//////////////////////////////Attys AT Law////////////////////////////
Newsgroup: comp.windows.x

 Re: Hypercard for UNIX
Nntp-Posting-Host: teal.csn.org
Organization: Colorado SuperNet, Inc.
Lines: 35

  writes:

>Hi netlanders,

>Does anybody know if there is something like Macintosh Hypercard for any UNIX 
>platform?

There are several products you might investigate.  If you've got
$20,000 per seat and high-end hardware, Gain Momentum might be a good
choice.  It isn't compatible with HyperCard, but has a similar
architecture .  I don't have contact
information, but they were recently purchased by Sybase who shouldn't
be too hard to find.

If you're running News on SPARC, check out HyperLook
.  It uses Postscript as a scripting language
which is good if you need to do lots of display oriented scripting,
but not so good for non-programmers.  It was $995, last I heard.

You might also look at our product MetaCard.  We're alpha-testing
direct importing of HyperCard stacks , so we're obviously the closest in
functionality.  MetaCard runs on most UNIX workstations and costs
$495.  Email to  for more details.
  Scott

>Thanks in advance


>Ron.
-- 
***********************************************************************
* Scott Raney  303-447-3936            Remember: the better you look, *
*                    the more you'll see -- Lidia   *
***********************************************************************
Newsgroup: comp.windows.x

 xwd->gif conversions
Reply-To:  
Distribution: na
Organization: The Gizmonic Institute
Lines: 14

Hello,

Anyone know of any source code I can get to either create window 
dumps in GIF format, or convert an XWD  file 
into a GIF? Really could be any format I can manipulate in DOS, 
i.e. PCX, BMP, etc.

later,

shane

---
 {uucp:rutgers!devon!gizmonic!csthomas}
"God bless those Pagans..." - H. Simpson
Newsgroup: comp.windows.x

 Re: Mysterious beeping
Nntp-Posting-Host: hpcvusj.cv.hp.com
Reply-To: 
Organization: Hewlett Packard UTD-Corvallis
Lines: 41

In article <>,   writes:
|> [ Article crossposted from hp.windows ]
|> [ Author was Andy DeFaria ]
|> [ Posted on Mon, 19 Apr 1993 18:08:38 GMT ]
|> 
|> For some reason the following code causes my X application to beep whenever I
|> intercept a keystroke and change it's meaning.  The intent of this code it to
|> allow "date" fields the following special keys:
|> 
|> 	[Tt]:	Insert today's date
|> 	[+=]:	Bump day up by one
|> 	[-_]:	Bump day down by one
|> 
|> I hardcoded some dates for this example.  Perhaps I shouldn't be using an
|> XmText field for this.
|> 
|> ////////////////////////////////////////////////////////////////////////////// 
|> // 
|> // For some reason the following code beeps whenever any of the special keys
|> // of [Tt+=-_] are hit.  Why?  The idea of this code is to interpret these
|> // keys having the special meaning implied by the code.  I would like to get
|> // rid of the beeping but, as far as I can tell, I'm not doing the beep and 
|> // am at a lose as to understanding who and why the beeping is occuring.
|> // 
|> ////////////////////////////////////////////////////////////////////////////// 


code deleted...

>From the XmTextField man page :

   XmNverifyBell

      Specifies whether a bell will sound when an action is reversed
      during a verification callback.

You are setting doit to false in the callback, and Text[Field] is beeping
as it should.  To turn off this behavior, set this boolean resource to false.

Tom McFarland
<>
Newsgroup: comp.windows.x

 Re: XtShellStrings,XtStrings?
Nntp-Posting-Host: eos6c02.ericsson.se
Reply-To:  
Organization: Ericsson Telecom AB
Lines: 28

In article <>
  writes:
|> 
|> Hello,
|> 
|> does somebody know the functions  XtShellStrings and XtStrings?
|> I haven't found them in any librarys not Xm, Xt, nor X11, and I need
|> them to install a tool.
|> 
|> Any hints greatly appreciated! Please reply via e-mail.

They aren't functions, they are character arrays. The standard strings
are either defined as string constants or character pointers into
XtShellStrings and XtStrings determined by XTSTRINGDEFINES. Your
libraries were compiled with this defined and your application with it
undefined so simply recompile one or the other. It is probably worth
adding -DXTSTRINGDEFINES to your CFLAGS.

-- 

Michael Salmon

#include	<standard.disclaimer>
#include	<witty.saying>
#include	<fancy.pseudo.graphics>

Ericsson Telecom AB
Stockholm
Newsgroup: comp.windows.x

 Re: need shading program example in X
Organization: The Internet
Lines: 35
NNTP-Posting-Host: enterpoop.mit.edu
To: , 

# 
# I think the original post was searching for existing implementations of
# f.i. Gouroud-shading of triangles. This is fairly complex to do with plain
# X. Simpler shading models are implemented already, f.i. in x3d .
# For Gouroud, a fast implementation will be possible utilizing some extension
# only, either MIT-SHM to do the shade in an image and fast update the window
# with it, or PEX/OpenGL which should be able to shade themselves. The portable
# 'vanilla X' way would be to shade in a normal XImage and use XPutImage,
# what would be good enough to do static things as f.i. fractal landscapes
# or such stuff.
# 
# To speak about POVRay, the X previewer that comes with the original source
# package is not that good, especially in speed, protocol-friendlyness and
# ICCCM compliance. Have a look on x256q, my own preview code. It is on
# 
# 141.76.1.11:pub/gfx/ray/misc/x256q/
# 
# The README states the points where it is better than xwindow.c from
# POVRay 1.0
# 

The version I have is using the x256q code instead of the default X Windows
code.  I have it currently running on a DEC Alpha running OpenVMS AXP and
so far have been pretty impressed.  The only "side-effect" of x256q is that
it requires xstdcmap -best be run before it will work, annoyning but not a
show stopper.

Patrick L. Mahan

--- TGV Window Washer -------------------------------  ---------

Waking a person unnecessarily should not be considered  - Lazarus Long
a capital crime.  For a first offense, that is            From the Notebooks of
							  Lazarus Long
Newsgroup: comp.windows.x

 Re: How do I find my AppContext?
Reply-To:  
Organization: Tekelec Inc., Raleigh NC
Lines: 12

In a prior article   said:
 
 > Is there an Xt call to give me my application context?
 > I am fixing up an X/Motif program, and am trying to use XtAppAddTimeOut,
 > whose first argument is the app_context.  What call can I use
 > to give me this value?
 
	XtAppContext XtWidgetToApplicationContext

Of course, just using the app context returned from 
XtCreateApplicationContext, XtAppInitialize, etc. is the
best option, unless that path is not available.
Newsgroup: comp.windows.x

 mail
Organization: University of Hannover, FRG
X-Newsreader: Tin 1.1 PL4
Lines: 12

Hello networld,

I'm looking for an X mailreader. Is there a Xelm?

Andreas


--
_______________________________________________________________________________
Andreas Dunker
   We all live in a yellow subroutine
                        The Beatles
Newsgroup: comp.windows.x

 Re: Archie-Client ?
Organization: Dept. of Computer Science, TU Dresden, Germany.
Lines: 8
Distribution: world
Reply-To: 
NNTP-Posting-Host: irzr17.inf.tu-dresden.de


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

 How to access 24-bit color on cg8?
Article-I.D.: lclark.1993Apr28.000956.12004
Organization: Lewis & Clark College, Portland OR
Lines: 15
X-Newsreader: TIN [version 1.1 PL8]

We have a Sun 3/80 and we have just acquired a cg8 frame buffer card.

The cg8 is supposed to support both a 24-bit color visual and a monochrome visual.
The default visual for the xnews server is the monochrome, and we are unable to change it to
the 24-bit visual. We have tried using XGetVisualInfo to get a visual of depth 24, but had no
success.  xdpyinfo gives no information about a 24-bit deep visual, only monochrome. 

There are two possible solutions:
	If someone has patches for X11R5 Xsun server, could they forward them to us?

	Otherwise, could someone instruct us how to access the 24-bit color in openwindows?
-- 
Jon Herlocker		email:  
Lewis & Clark College
Portland, OR 97219
Newsgroup: comp.windows.x

 question on "xon" in X11R5
Article-I.D.: bobasun.bshaw.735532995
Organization: TI Semiconductor Process and Design Center
Lines: 23
Nntp-Posting-Host: bobasun


Hi folks

Say, I'm new to R5 and have one quick question.

In using xon   , I notice that it
always comes up with a very small window .  I'm pretty
sure its the default font.  My xterms all work normally.
Is xon supposed to read your .Xresources for a font size ?

xrdb -q appears to show the right stuff.

I can use xon with arguments such as  xterm -fn 10x20    etc
and everything is correct.  Of course you could always do a 
simple script to do this , but I have a feeling I'm missing
something simple here.

Comments / suggestions appreciated.

Thanks in advance

Bob
    mm
Newsgroup: comp.windows.x

 XBell
Organization: Joint European Torus
Lines: 8

I have a program produces a continuous tone by calling XBell
repeatedly at an interval equal to the duration of the bell. If it is
run more than once on a display, the tones are buffered in the X
server and the tone contunues after all occurrences of the program
have exited. Is there a convenient way of preventing this, e.g., by
emptying the X server bell buffer when each program exits?
- Disclaimer: Please note that the above is a personal view and should not 
  be construed as an official comment from the JET project.
Newsgroup: comp.windows.x

 Writing a Motif widget
X-Disclaimer: The views expressed in this article are those of the author
	alone and may not represent the views of the IBM PC User Group.
Organization: The IBM PC User Group, UK.
Lines: 22

Can anyone give me some information, please ...

I need  to write one or more new Motif widgets on the HP-UX
platform. Do I need the Motif private header files and source,
or can I make do with the public headers that are provided?
"Motif" includes Xt in this context.

One widget is a multi-column list , and would therefore be probably be
a subclass of List rather than something simple like an Xt class.
Is this more difficult ?

Alternatively, if anyone has a multi-column list widget they
could sell me, this might save me from having to write one!
Does it by any chance exist in Motif 1.2 already ?

Answers appreciated,

Nicholas.
-- 
Nicholas Young
Newsgroup: comp.windows.x

Gary Keim <gk5g+@andrew.cmu.edu>Re: X Toolkits
Organization: School of Computer Science, Carnegie Mellon, Pittsburgh, PA
Lines: 32
NNTP-Posting-Host: po4.andrew.cmu.edu
In-Reply-To: <>

Excerpts from netnews.comp.windows.x: 23-Apr-93 X Toolkits Paul
 


> I am getting Linux, so I will have InterViews, but I don't know how it
> will look.  I get the impression Andrew is from the FSF, but I don't
> know what it looks like either.

If you're on the internet and your site isn't sheltered from external
tcp/ip traffic, you can use the Remote Andrew Demo to see what the
Andrew Toolkit looks like:

Remote Andrew Demo Service

This network service allows you to run Andrew Toolkit applications
without the overhead of obtaining or compiling the Andrew software.  You
need a host machine on the Internet, and you need to be running the X11
window system.  A simple "finger" command will allow you to experience
ATK applications firsthand.  You'll be able to compose multimedia
documents, navigate through the interactive Andrew Tour, and use the
Andrew Message System to browse through CMU's three thousand bulletin
boards and newsgroups.

To use the Remote Andrew Demo service, simply run the following command
on your machine:

    finger 

The service will give you further instructions.   

Gary Keim
Andrew Consortium