HDTenEightyP/NetNews huggingface dataset:
From: converse@expo.lcs.mit.edu (Donna Converse)
Newsgroups: fj.mail-lists.x-window
Subject: Re: X Toolkit Callback Order
Date: 10 Apr 92 02:43:10 GMT
Distribution: fj
Organization: X Consortium, MIT Laboratory for Computer Science

Message-Id: <9204092004.AA00260@excess.lcs.mit.edu>
             <WARE.92Apr9113435@xylophone.cis.ohio-state.edu> 
Date: Thu, 09 Apr 92 16:04:33 EDT


> In article <9204081759.AA00754@excess.lcs.mit.edu>
> converse@expo.lcs.mit.EDU (Donna Converse) writes:
> 
>    >   Can one depend on callbacks (more than one registered for a single
>    > callback resource) being invoked in order they were added to the list.
> 
>    The Intrinsics library can make no guarantees about the order of execution
>    of callback procedures from a callback list.  The interesting fact is that
>    both widget writers and application writers have access to the callback
>    lists, and either one or both can rearrange the contents and/or order of
>    the procedures in the list.
> 
> Aren't the callback lists allowed to be compiled into an internal
> form?  So there really is no way to rearrange the list -- although it
> still remains that the order of execution is not guaranteed.


XtGetValues and XtSetValues also operate on callback list resources,
so some code could be written to do a GetValues on the callback list, 
rearrange the order of callbacks in the list, and then do a SetValues,
which replaces the old list with the new list.


Donna
From: converse@expo.lcs.mit.edu (Donna Converse)
Newsgroups: fj.mail-lists.x-window
Subject: Re: XtToolkitInitialize and xrdb
Date: 8 Apr 92 23:03:08 GMT
Distribution: fj
Organization: X Consortium, MIT Laboratory for Computer Science

Message-Id: <9204081636.AA00685@excess.lcs.mit.edu>
             <81844@rphroy.ph.gmr.com> 
Date: Wed, 08 Apr 92 12:36:48 EDT


> When XtToolkitInitialize (or other related initialize function) loads the
> resources, what do they use?

Various functions from Xlib.  In the X11R5 documentation, see section 2.3
of the Intrinsics specification, and Chapter 15 of the Xlib reference manual.

> Do they use "xrdb" to load the resources?

No. 

>  Can I have C preprocessor macros in my resource file?

You can have them in the file which is read by xrdb to create the properties
documented in the xrdb manual page.  Otherwise, they are garbage.

> Is there a way by which the application can request the toolkit initialize
> functions to use "xrdb (with cpp)" or preprocess the resource file with "cpp".

No.
From: stefans@bauv106.informatik.unibw-muenchen.de (Stefan Schwarz)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Printing a window
Date: 15 Apr 92 11:28:35 GMT
Distribution: fj
Organization: Universitaet der Bundeswehr Muenchen (Germany)

Date: Wed, 8 Apr 1992 10:00:58 GMT
Message-Id: <stefans.702727258@bauv106>
Newsgroups: comp.windows.x

kartik@hls.com (Kartik Chandrasekhar) writes:

>Hi
>	Can somebody please suggest me a way to print out
>a window in X from within an application. The situation is
>as described below:

>	The window has a print button which on being clicked
>creates a dump (xwd ?) of the entire window  and then sends it
>to the printer after proper conversion (xpr ?).  

>	xwd seems to require the user to click on the window
>to select it, and I would like to avoid this. 

Use xwd -id <window-id> to dump the specified window.

Stefan
-- 
________________________________________________________________________________
Stefan Schwarz                            University of the armed forces, Munich
Laboratory for graphical data processing  W-8014 Neubiberg, FRG
--------------------------------------------------------------------------------
From: edhall@rand.org (Ed Hall)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Question for net.views column in UNIX Today!
Date: 17 Apr 92 02:46:14 GMT
Distribution: fj
Organization: The RAND Corporation

Date: 16 Apr 92 21:49:25 GMT
Message-Id: <3378@pacificrand.org>
Newsgroups: comp.sys.dec,comp.windows.x,comp.unix.xenix.sco,comp.unix.sysv386,comp.windows.misc,comp.unix.msdos,comp.unix.admin,comp.os.misc,comp.unix.questions,comp.sys.hp

In article <1992Apr16.204427.1546@cello.hpl.hp.com> renglish@cello.hpl.hp.com (Bob English) writes:
>> In article <1992Apr3.190000.23149@jato.jpl.nasa.gov> vsnyder@math.jpl.nasa.gov (Van Snyder) writes:
>>> [ sendmail.cf is too complicated ]

>chris@alderan.sdata.de (Christoph Splittgerber) responds:
>> . . . . From my point of view, sendmail is a complex, powerful tool and
>> therefor it seems very natural that it's configuration is complex too.

> . . . . I really doubt that sendmail.cf is more complex and
>powerful than most of the standard Unix filters.  I know it's more
>cryptic and difficult to understand.

It occurs to me that if the authors of sendmail were confronted with
the same problems today, they could have written a PERL script instead
of inventing a whole new string-mashing system, and added a few simple
utitities for spooling and transmission.

PERL is the Swiss Army knife of UNIX filters.  (This isn't intended
entirely as a complement...)

		-Ed Hall
		edhall@rand.org
From: converse@expo.lcs.mit.edu (Donna Converse)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Problems with XtSetKeyboardFocus
Date: 7 Apr 92 09:51:28 GMT
Distribution: fj
Organization: X Consortium, MIT Laboratory for Computer Science

Message-Id: <9204062229.AA00403@excess.lcs.mit.edu>
             <MICHAEL.920404132445@maine.maine.EDU> 
Date: Mon, 06 Apr 92 18:29:16 EDT


> I'm having some problems with the behavior of Xt when XtSetKeyboardFocus
> has been used, and so far as I can tell it is inherent in the design of Xt.
> 
> Xt tracks EnterNotify and LeaveNotify events when the keyboard has been
> re-directed and manufactures FocusIn and FocusOut events for the receiving
> window when the pointer enters and leaves the source window. I think this
> behavior is wrong. In my case, it causes Focus events to be generated for the
> receiving window even though I have set the focus to the source window with
> XSetInputFocus.


The introductory statement in the documentation for XtSetKeyboardFocus
implies that you are on your own if you use XSetInputFocus in conjunction
with XtSetKeyboardFocus.  The Intrinsics library cannot be aware of the
effect of your call to the the Xlib function; if you want to undo the
effects of XtSetKeyboardFocus, XtSetKeyboardFocus(source, None).


> The point of this, according to the source code, is to ensure correct behavior
> in a real-estate driven (i.e. follow the pointer) focus model. In my opinion,
> it is unnecessary and causes problems in an explicit focus model.
> 
> When the focus is set to PointerRoot, the server will generate Focus events
> for the source window, so Xt does not have to. When the focus is not set to
> PointerRoot, Xt should not be trying to simulate PointerRoot behavior, since
> the widget or application programmer clearly does not want the focus to follow
> the pointer.

I think the problem stems from using multiple interfaces at different levels
(Xt and Xlib) to control keyboard input focus.  It may also be the case that
a widget is not accepting the focus when asked.


> Is there some way to turn this behavior off, like a global resource setting
> that Xt pays attention to? I can't see that there is.

No global resource.


Donna Converse
MIT X Consortium
From: spedpr@thor.lcs.mit.edu (Paul Richards)
Newsgroups: fj.mail-lists.x-window
Subject: comms package
Date: 7 Apr 92 12:42:58 GMT
Distribution: fj
Organization: University of Wales College at Cardiff

Date: 6 Apr 92 20:51:25 GMT
Message-Id: <4422.9204062051@thor.cf.ac.uk>
Newsgroups: comp.windows.x

Is there a comms package that makes use of X windows. I'm looking for
something that would have the features of qvtnet for Windows3 but under
X instead.
-- 
  Paul Richards at Cardiff university, UK.

  spedpr@uk.ac.cf.thor	Internet: spedpr%thor.cf.ac.uk@nsfnet-relay.ac.uk
  UUCP:     spedpr@thor.cf.UUCP or ...!uunet!mcsun!ukc!cf!thor!spedpr
+++
From: mahan@tgv.com (Patrick L. Mahan)
Newsgroups: fj.mail-lists.x-window
Subject: RE: Full-screen windows
Date: 10 Apr 92 00:37:25 GMT
Distribution: fj
Organization: Workstation Div., Supermicro Systems Group, Sony Corporation

Date:    Thu, 9 Apr 92 11:22:42 PDT
Message-Id: <920409112242.20e0013e@TGV.COM>
X-St-Vmsmail-To: ST%"xpert@expo.lcs.mit.edu"

#
#This is probably a stupid newbie question, but what the hell - 
#
#I'm writing (trying to write) a menu system in X, and would like
#to have a login screen that takes up the whole screen, and can't be
#resized or iconized - how do I do this? 
#

Unless you have a window manager running while the login screen is there
then don't worry about resize or iconifing the app.  To make it the size
of the screen use the functions XHeightOfScreen() and XWidthOfScreen().

Patrick L. Mahan

--- TGV Window Washer ------------------------------- Mahan@TGV.COM ---------

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
From: slm@cs.arizona.edu (Sandy Miller)
Newsgroups: fj.mail-lists.x-window
Subject: automatic horizontal scrolling doesn't work
Date: 8 Apr 92 06:12:26 GMT
Distribution: fj
Organization: U of Arizona, CS Dept, Tucson

Date: 7 Apr 92 23:41:09 GMT
Message-Id: <15007@optima.cs.arizona.edu>
Newsgroups: comp.windows.x

I have some one line text windows with horizontal scrollbars "when needed".
According to the docs, the location of the insert point will always be forced
to be on the screen.  This works with vertical scrolling in a larger text
window, but doesn't seem to work with horizontal scrolling.

Is this a known bug?  Is there a way around it?

Thanks for any help,
-sandy
From: renalds@embers.ra.anl.gov (A Renalds RA/208/Sdcp ????)
Newsgroups: fj.mail-lists.x-window
Subject: window dump to color ps
Date: 14 Apr 92 18:05:16 GMT
Distribution: fj
Organization: Argonne National Laboratory, Argonne IL

Date: Tue, 14 Apr 1992 15:43:21 GMT
Message-Id: <70326620119704@embers.ra.anl.gov>
Newsgroups: comp.windows.x

Can someone help me locate the latest version of the program
which dumps color X-Windows to a PS file which can be sent to 
a color printer? 

Thanks in advance,
Andrew

renalds@embers.ra.anl.gov
From: oj@pictel.com (Oliver Jones)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Getting Window ID
Date: 16 Apr 92 20:41:30 GMT
Distribution: fj
Organization: PictureTel Corporation

Date: 16 Apr 92 13:05:06 GMT
Message-Id: <1992Apr16.130506.9479@pictel.com>
Newsgroups: comp.windows.x

In article <stefans.702900872@bauv106> stefans@bauv106.informatik.unibw-muenchen.de (Stefan Schwarz) writes:
>
>Use XQueryPointer immediately after starting your application. The cursor
>will be within the staring-xterm and XQueryPointer passes the window-id.

Careful!  The user may be using click-to-type focus.

Why not use the WINDOWID environment variable?  This gets set automatically
by xterm  (but doesn't get set by some other terminal emulators, like
OpenWindows shelltool (2.0).
Ollie Jones                  PictureTel Engineering
email:  oj@pictel.com        222 Rosewood Drive
tel:   +1(508)977-8396       Danvers, MA 01923-1393
video: (+1)700-561-9938&9939 fax: +1(508)532-6893
From: if36@vaxb.acs.unt.edu
Newsgroups: fj.mail-lists.x-window
Subject: X Load Monitor
Date: 6 Apr 92 15:05:25 GMT
Distribution: fj
Organization: University of North Texas

Date: Sun, 5 Apr 1992 08:24:23 GMT
Message-Id: <1992Apr5.022423.1@vaxb.acs.unt.edu>
Newsgroups: comp.windows.x

Hi
   Few days  back I saw a article in computers.windows.x.announce
about x load monitor program. Can anyone send that ftp address to
my account
 
Thanks in advance

nvkumar@cs.unt.edu
From: steinarb@idt.unit.no (Steinar Bang)
Newsgroups: fj.mail-lists.x-window
Subject: Re: twm won't take IconRegion command in the .twmrc
Date: 8 Apr 92 14:13:44 GMT
Distribution: fj
Organization: Norwegian Institute of Technology, Trondheim, Norway

Date: 8 Apr 92 09:49:11 GMT
Message-Id: <STEINARB.92Apr8114911@raudeik.idt.unit.no>
Newsgroups: comp.windows.x

>>>>> On 7 Apr 92 14:48:03, steinarb@idt.unit.no (Steinar Bang) said:

> I have never gotten twm (whether it be Tom's or Tab, my .twmrc have
> been following my in mutated versions all the way from X11R3) to take
> the IconRegion directive.

Thanx to all who replied!

It is necessary to use a complete geometry specification. Thus, I now
use:
	  IconRegion "150x800-0+160" North East 1 2

And this seems to work well (most of the time) in tiling icons along
the right hand side of the display.

- Steinar
From: 0003374731@mcimail.com ("Scott D. Reinhardt")
Newsgroups: fj.mail-lists.x-window
Subject: Bulletin board list
Date: 17 Apr 92 07:17:51 GMT
Distribution: fj
Organization: Workstation Div., Supermicro Systems Group, Sony Corporation

Date: Fri, 17 Apr 92 05:34 GMT
Message-Id: <11920417053411/0003374731NA2EM@mcimail.com>

Please send a list of subscribable bulletin boards.

Thanx,
Scott Reinhardt
From: doel@fiddler.nosubdomain.nodomain (Michael Doel)
Newsgroups: fj.mail-lists.x-window
Subject: Multiple pointing devices in X
Date: 16 Apr 92 01:44:54 GMT
Distribution: fj
Organization: GE Research & Development

Date: 15 Apr 92 20:47:35 GMT
Message-Id: <1992Apr15.204735.28523@crd.ge.com>
Newsgroups: comp.windows.x

Forgive me if this is a novice question...

In all of the diagrams I've ever seen of the X Windows model
(admitedly few), there is always one mouse, one keyboard, and
one (or more) screens handled by the server.

Is there anything that prevents me from using two, three, or
more pointing devices if my hardware allows it?  Will this require
changes to the sample server that comes from MIT?

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mike Doel				<doel@crd.ge.com>
P.O. Box 8
Schenectady, NY 12301			(518) 387-6203

"For every complex problem, there is a solution that is simple, neat
 and wrong." - H.L. Mencken
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: christy@concour.cs.concordia.ca (YEP christy)
Newsgroups: fj.mail-lists.x-window
Subject: X11R4 X11R5 question
Date: 11 Apr 92 10:38:25 GMT
Distribution: fj
Organization: Concordia University, Montreal, Quebec

Date: 11 Apr 92 06:16:48 GMT
Message-Id: <3339@daily-planet.concordia.ca>
Newsgroups: comp.windows.x

This is probably an old question but I have no definite way of
knowing unless I ask.

Can someone please tell me the difference between X11R4 and X11R5.
Is there a file somewhere that I can get that will state the
differences?


Thanks

Christy(christy@concour.cs.concordia.ca)
From: mackey@scs.fiu.edu
Newsgroups: fj.mail-lists.x-window
Subject: Re: VI bug using X.
Date: 9 Apr 92 01:38:25 GMT
Distribution: fj
Organization: %BS-F-QXCD, Bullshit quota exceeded, core dumped.

Date: 8 Apr 92 16:55:40 GMT
Message-Id: <489@kluge.fiu.edu>
Newsgroups: comp.windows.x,comp.editors

In article <1992Apr3.135526.14000@cv.ruu.nl> rvloon@cv.ruu.nl (Ronald van Loon) writes:
>>In <1992Apr3.031346.27292@sunspot.noao.edu> hcohl@sunspot.sunspot.noao.edu (Howard Cohl) writes:
>>| "   I used sunview in the past and am now switching
>>| "   to X.  When I use VI to edit a file, it used
>>| "   to work that when I pressed an arrow key while
>>| "   I was in insert mode, it would take me out of
>>| "   insert mode and then go wherever the arrow pointed
>>| "   to.  Now that I am using an xterm in the above
>>| "   mentioned setup, when I enter an arrow key
>>| "   while I am in insert more, it doesn't take
>>| "   me out of insert mode and puts the letters
>>| "   A,B,C and D depending on which arrow I use.
>>| "   Help!
>>This happens because the arrow keys generate the sequence ESC ] A
>>ESC ] B, ESC ] C, ESC ] D. Somehow (because of a slow connection perhaps) these characters arrive after a certain time interval, so vi does not see the
>>sequence as one, but rather as three (or two, ESC sometimes gets discarded)
>>separate keystrokes. There is no real solution for this. (Other than using
>>hjkl)

Put the following in .exrc:

map! ^[OA ^[k
map! ^[OB ^[j
map! ^[OC ^[h
map! ^[OD ^[l
map! ^[[A ^[k
map! ^[[B ^[j
map! ^[[C ^[h
map! ^[[D ^[l

NOTE: The above is what `cat -v` would print.  Do not put the
characters "^[" in the file.  Instead, where you see "^[" above,
in input mode, type Ctrl/V followed by ESC.

The explanation about ESC ] A above is not quite correct.  (In fact
the bracket used is [ and not ].)  Under suntools, the up arrow
generates ESC [ A, which is treated as the following commands:

ESC  -- get out of input mode.
[    -- first half of the [[ command.
A    -- illegal completion of the [[ command, therefore BEEP!
Arrows after this are treated correctly by vi.

Under xterm and on a real vt100, the up arrow generates:

ESC  -- get out of input mode.
O    -- open a line above the current line and go into input mode.
A    -- insert the letter A into the buffer.

This many arrows will generate many A's on lines by themselves.

The downside of doing the .exrc things suggested above is that it
tends to slow down escaping from input mode using the ESC character.
Vi hesitates a second or so until it figures out that the next
character of one of the above macros is not coming.  This is annoying.

A correct solution would probably to somehow make vi get the ESC [ A
combination from xterm instead of the ESC O A combination.  I'm not
sure why it gets ESC O A, since in line mode od -a produces the
bracket combinations.
From: sheldon@kong.gsfc.nasa.gov (Roger Sheldon - AISS)
Newsgroups: fj.mail-lists.x-window
Subject: PEX calls screw up video on X386, Help!
Date: 8 Apr 92 03:26:52 GMT
Distribution: fj
Organization: Goddard Space Flight Center

Date: Tue, 7 Apr 92 21:38:27 GMT
Message-Id: <1992Apr7.213827.15252@kong.gsfc.nasa.gov>
Newsgroups: comp.windows.x

I've built R5 for ISC 3.0.  I used cc and my bootstrap flags were
-DSYVV386 -DISC.  The build was successful, and everything works
great except for PEX.  I am building the ORielly examples for PHIGS -- the
simple examples work ok, but the more sophisticated ones, eg. sphere,
throw the video system into a tailspin.  The screen returns to text mode (ie
the console reapperas [i think the X386 server is dead at this point])
and each text line is only half there.

I have a 486 50 ISA, an Orchid ProDesigner II with 1MB, and a 17" IDEK
monitor (which I usually run at 1152x900 under X386 - but I don't think
this matters because the problem occurs when running at 1024x768 or
other resolutions).

Anyone out there have similar problems with PEX??

Thanks in advance,

Roger
From: matis!amir@uunet.uu.net (Amir Katz)
Newsgroups: fj.mail-lists.x-window
Subject: Xt Translation Questions
Date: 7 Apr 92 12:43:47 GMT
Distribution: fj
Organization: Workstation Div., Supermicro Systems Group, Sony Corporation

Date: Tue, 7 Apr 92 11:55:28 IST
Message-Id: <9204070955.AA00841@simpson.turtles>
Reply-To: matis!ingr.COM!amir%matis.UUCP@uunet.uu.net

Hi Folks,
That's my first posting to this mailing-list/newsgroup, so please bear with
me...
This question relates to a specific application, but it's a general problem:

I'm trying to modify 'xzap' application, posted recently to comp.sources.x.
The application has a pane with some button, and a list widget which is
regenerated when the function called 'Ps()' is called.
I have added the 'Ps' to the action table, as shown below, so it can be
referred externally, e.g. from the user's .Xdefaults:

xzap.c:
-------
XtActionsRec actionTable[] =
{
    {"Quit", Quit}, /* original code has only this...*/
    {"Ps", Ps}      /* so I added this               */
};

~/.Xdefaults:
-------------
   xzap*translations:	#override\n\
	<Btn3Down>:	Ps()

So far, so good - I click the rightmost button and, voila! Ps() is indeed
called.

My problem is that I want 'Ps()' to be invoked every time the xzap
application is mapped (i.e. de-iconified) and/or redrawn (due to an Expose
event.) When I modified my .Xdefaults to say:
   xzap*translations:	#override\n\
	<MapNotify>:	Ps()
the Ps() was being called infinitely without expose or map events. Since I
don't believe that so many events were in the queue, I must be doing
something wrong.
I tried to add my own Xt event handler, but it didn't work, and besides,
adding it thru the translation mechanism is the politically correct way to
do it, isn't it?

Any hints?

-- TIA,
/* Amir J. Katz          | UUCP:     uunet!ingr!matis!amir               */
/* System Specialist     | Internet: amir%matis.UUCP@ingr.COM            */
/* SEE Technologies Ltd. | Voice:    +972 52-584684, Fax: +972 52-543917 */
From: marcus@cbr.dwr.csiro.au (Marcus Schnell)
Newsgroups: fj.mail-lists.x-window
Subject: Dirt anyone???
Date: 15 Apr 92 05:44:12 GMT
Distribution: fj
Organization: CSIRO Division of Water Resources

Date: Wed, 15 Apr 1992 00:31:56 GMT
Message-Id: <1992Apr15.003156.23166@cbr.dwr.csiro.au>
Newsgroups: comp.windows.x

Hi all,

I would like to get in contact with anyone who has successfully compiled
and installed the DIRT interface builder. In particular anyone who has
done so on INTERACTIVE UNIX R3, with X11R4 on a 386.

Please email.

Thanks,
Marcus

****************************************************************************
*    Marcus Schnell                      marcus@helios.cbr.dwr.csiro.au    *
*    CSIRO Division of Water Resources   Phone   : (+61 6) 246 5707        *
*    GPO Box 1666                        FAX     : (+61 6) 246 5800        *
*    Canberra                            Int FAX : (+61 6) 246 5800        *
*    ACT  2601    **********************************************************
*    Australia    *          insert ".disclaim" here...                    *
****************************************************************************
From: jlw@world.std.com (James L Walker)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Non-echoing text widget for password entry
Date: 10 Apr 92 16:31:17 GMT
Distribution: fj
Organization: The World Public Access UNIX, Brookline, MA

Date: Fri, 10 Apr 1992 11:34:32 GMT
Message-Id: <BMHpHL.2DC@world.std.com>
Newsgroups: comp.windows.x.motif,comp.windows.x

In article <1992Apr9.180843.1605@lsl.co.uk> snail@lsl.co.uk writes:
>In article <david.702575486@colt.cc.iastate.edu>, david@iastate.edu (David M. Martin Jr.) writes:
>> I would like to use a Text widget to acquire a password from the user.
>> The cursor should be visible and move as the password is being typed,
>> but the characters should of course not appear.  (Equating the
>> foreground and background colors seems to make the cursor vanish.)
>
>OK we did what you did.. I still haven't been bothered to fuss about it. But
>what you need to do is this.
>
>Add a XmNverifyModifyCallback to your text widget. The str parameter (3rd) to
>the callback will be an XmVerifyModiyCallbackStruct (or some similar name).
...[stuff deleted]...

I too am looking for a solution and I too used the foreground, but I
remember reading a better way to do this somewhere.  That approach had
something to do with setting the font resource to "none" somehow.
Perhaps someone else remembers this also.  The best way to do this
would be to have a special font which displays an 'x' or something for
every character.  Does anyone know where one could get such a font?
Using the XmmodifyVerifyCallback seems to be a long way around a
simple problem.

-- Les Walker