HDTenEightyP/NetNews huggingface dataset:
From: S.Marshall@sequent.cc.hull.ac.UK (Simon Marshall)
Newsgroups: comp.windows.x
Subject: Re: Xt Translation Table Help
Date: 16 Apr 92 12:47:07 GMT
Organization: The Internet

| How can I get key-handler to work ONLY when a real key is pressed, not a
| modifier?  Note, I still want Shift <Key>A to call key-handler() for
| instance, just not shift by itself.

	It all depends on exactly what you want (you don't make it too
    clear).  If you want to have your function called when the text in the
    widget changes, use the callback of the Xaw AsciiText widget (? is that
    the widget you're using; you don't say).

	Unfortunately it's not as simple as that as this widget is comprised
    of Text, AsciiSrc & Sink widgets.  This callback is really under one of
    these.  You can't use XtAddCallback() as it isn't under the AsciiText
    widget!  But you can use XtSetValues() on the AsciiText widget & it will
    propagate down to the correct widget.  This is the sort of code I have:

:
:

static XtCallbackRec   callback[] = {
	       {(XtCallbackProc) EditedText,	(XtPointer) True},
	       {(XtCallbackProc) NULL,		(XtPointer) NULL}
       };

:
:

XtVaSetValues (myasciitestwidget, XtNcallback, (XtArgVal) callback, NULL);

:
:

void EditedText (widget, clientdata, calldata)
  Widget      widget;
  XtPointer   clientdata, calldata;
{
    /* The text buffer has been modified. */
}

	Have fun.  See the manual for Xaw widgets in .../mit/hardcopy/Xaw
    for more.

	Simon. 
_______________________________________________________________________________
Simon Marshall, Dept. of Computer Science, University of Hull, Hull HU6 7RX, UK
  "Football isn't about life and death.  It's more important than that." Bill
Email: S.Marshall@Hull.ac.uk    Phone: +44 482 465181    Fax: 466666   Shankley
Newsgroups: comp.windows.x
From: jake@convex.csd.uwm.edu (Joel Jacobson)
Subject: Looking for cheesy word processor
Originator: jake@convex.csd.uwm.edu
Organization: University of Wisconsin - Milwaukee
Date: Thu, 9 Apr 1992 20:01:48 GMT

I'm trying to find just a simple little public domain word processor
for X11 that will let me do things like change fonts and do centering.
This actually isn't for me, its for my mom, who doesn't care to learn
the beauty of LaTeX <cough> <choke> and wants something easier.  At the
moment, the only thing I have that has fonts and centering and stuff is
xfig, she says she doesnt like it.  Too many buttons and things.

Does anyone know of someplace I could find something simple like this?


       INTERNET					   BITNET
jake@convex.csd.uwm.edu			jake%convex.csd.uwm.edu@interbit
From: eric@pencom.com
Newsgroups: comp.windows.x
Subject: Re: routines for displaying images
Date: 16 Apr 92 13:35:30 GMT
Distribution: comp
Organization: Pencom Software

In article <1992Apr15.180200.11748@vax5.cit.cornell.edu>  
uhqy@vax5.cit.cornell.edu writes:
> Does anyone have X-routines for displaying images under X-window?
> We have grabbed some motion frames from our camera in our lab, and 
> would like to display them one after another so as to create a cartoon
> like sequence.  Any help would be greatly appreciated.  

It is hard to get real-time performance in blitting images to the
screen.  The fastest way to do this is to create a bunch of pixmaps
and blit them out in short order.  However, so much memory is used,
it will take a while for the server to grab all of the physical
memory it can.  Your application will be really slow for a while
and gradually pick up speed to something approaching animation.
    (Results will, of course, vary from machine to machine).
Newsgroups: comp.windows.x
From: micah@tramp.Colorado.EDU (MOORE MICAH L)
Subject: Using color masks in XImage structure
Organization: University of Colorado, Boulder
Distribution: usa
Date: Tue, 7 Apr 1992 18:54:07 GMT

I am using XGetImage to get information about an image in
a drawable. As a result, an XImage structure is returned with
the information. Is it possible for me to use the red, green and blue
masks in the XImage structure to find out the RGB colormap values?
Micah Moore
From: dagorn@cicb.fr (Francois Dagorn - CICB Rennes 99.84.71.00)
Newsgroups: comp.windows.x
Subject: xstdcmap
Date: 15 Apr 92 11:39:13 GMT
Organization: CICB, Universite' de Rennes I, FR

Who can tell me what xstdcmap is useful for ?

i'm trying to "emulate" a 256 gray scale Xterminal with a 256 colors Xterminal. 

My first idea was to find a program loading a grayscale colormap in place of the
standard colormap, "xstdcmap -gray" has no effect, colors are still available.
Is there a contrib doing this ?

Any help would be appreciated !

Francois Dagorn
Centre Interuniversitaire de Calcul de Bretagne (CICB)
35000 Rennes
France
From: stolcke@ICSI.Berkeley.EDU (Andreas Stolcke)
Newsgroups: comp.windows.x
Subject: Re: help!  gnu finger 1.0b won't run with X11 support!
Date: 10 Apr 1992 17:56:06 GMT
Organization: International Computer Science Institute, Berkeley, CA, U.S.A.
Reply-To: stolcke@icsi.Berkeley.EDU (Andreas Stolcke)
NNTP-Posting-Host: icsib30.icsi.berkeley.edu

In article <RG.92Apr10111904@nymph.msel.unh.edu> rg@msel.unh.edu (Roger Gonzalez) writes:
>
>When I try to start up the main server, it dumps out with a message like:
>
>ld.so: __XtInherit not found
>
>or something like that.  I'm running X11R5 on a SunOS 4.1.1 sparc.
>

One of the many, many problems with the original gnu finger is that it
links binaries that don't do any X stuff at all (like the various daemons)
with the full set of X libraries.  The proper fix to this a major reshuffling
of the source organization.

I suggest you try the version that's available in icsi-finger.tar.Z on
ftp.icsi.berkeley.edu in /pub/stolcke.

-- 
Andreas Stolcke					stolcke@icsi.berkeley.edu
International Computer Science Institute	stolcke@ucbicsi.bitnet
1947 Center St., Suite 600, Berkeley, CA 94704	(510) 642-4274 ext. 126
From: nschecat@atr-11.hac.com
Newsgroups: comp.windows.x
Subject: Two headed X for Sun4 ipc (Second try)
Date: 10 Apr 92 17:40:05 GMT
Article-I.D.: hacgate.21198
Reply-To: nschecat@atr-11.hac.com ()
Organization: Hughes Aircraft Co., Ground Systems Group, Fullerton, CA

I seem to recall a discussion some time ago about how to do a 
two screen X server (two display screens, not switching between
two screens on the same physical display) for sun.  I have a 
Sun4 ipc with a sbus card for a color frame buffer.  I notice that
the mono frame buffer is on the mother board and I would like to
use it if possible with another monitor as another screen from the
same server.  

Am I dreaming?

	Norm Scherer
	Software Engineering Division
	Hughes Aircraft Co., Ground Systems Group,
	Fullerton Ca.
	(nsche%atr-2s@hac2arpa.hac.com or nsche@atr-2s.hac.com)
	Opinions are my own, not those of HAC or anyone else I have ever met

PS- sorry for the wasted bandwidth, I seem to have screwed up last nights post on same subject.
From: sevigny@vlsi.polymtl.ca (Benoit Sevigny)
Newsgroups: comp.windows.x
Subject: Re: X comms protocol
Date: 15 Apr 92 18:07:37 GMT
Organization: Ecole Polytechnique de Montreal

In article <1992Apr14.192651.20923@solbourne.com> imp@solbourne.com (Warner Losh) writes:
>
>Well, this is only half ture.  All of the implementations that you
>refer to are on top of TCP, not IP (well, indirectly).  TCP is built
>on top of IP and makes it a reliable, byte stream protocol.  Since
>everybody uses TCP/IP for their networking (well, almost everybody)
>this gives X good connectivity.  Other transports have been used....
>

I am planning to implement an X-terminal for non-unix platforms and I'd
like to know where I can find information on the X protocol itself (not the
support protocol). Is there a ftpable draft somewhere? Are there sources
somewhere I should take a look at?

Reply-to: sevigny@vlsi.polymtl.ca

--
===============================================================================
     /// Benoit Sevigny, software | Skipping every x86 lines in your sources
 \\\///  engineering student      | might remove both your most irreductible
  \\V/   sevigny@info.polymtl.ca  | bugs and bottlenecks!!!
Newsgroups: comp.windows.x
From: matt@centerline.com (Matt Landau)
Subject: Reason for difference between XDraw{Arcs,Lines} {Pts,Segs,Rects}?
Organization: CenterLine Software, Inc.
Date: Tue, 7 Apr 1992 00:25:31 GMT

I was poking through the X11R5 Xlib sources (for reasons too painful 
to talk about :-) looking to see what Xlib did about requests that may
overflow the X server's maximum request size, when I discovered a 
rather interesting inconsistency.

The code for XDrawPoints, XDrawSegments, and XDrawRectangles is written
to deal explicitly with the server max request size, generating multiple
requests if necessary to draw everything.  The code for XDrawArcs and
XDrawLines, however, seems to just fail if too many items are specified.

Is there a reason for the inconsistency, or is this just a bug?  At
first I thought that perhaps XDrawLines didn't want to try to deal with
the max request size because the lines must be drawn joined to each 
other (although getting this right wouldn't have been hard).  But that
reasoning doesn't seem to apply to XDrawArcs.  So what gives?  Am I
missing something, or is there a bug here?
--
 Matt Landau			Waiting for a flash of enlightenment
 matt@centerline.com			  in all this blood and thunder
From: peter@comp.lancs.ac.uk (Peter Hurley)
Newsgroups: comp.windows.x
Subject: X11R5 on SunOS 4.1.2 (again?)
Date: 10 Apr 92 14:07:56 GMT
Organization: Department of Computing at Lancaster University, UK.

I just pulled the sources+patches for X11R5.
I applied patches 1-10 and carried out the other tasks described in the patches.

Make World eventually produced :-
....
ranlib libXt.a
making all in ./lib/Xmu...
+ mkdir shared
cd ../.././extensions/lib; make libXext.so.4.10
rm -f globals.o shared/globals.o
cc -c  -I../.././lib/X -I../include  -I../../.     -DSHAPE -DMULTIBUFFER -DMITM$
mv globals.o shared/globals.o
mv: shared/globals.o: rename: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `globals.o'
Current working directory /usr/sd1e/X11R5/mit/extensions/lib
*** Error code 1
make: Fatal error: Command failed for target `../.././extensions/lib/libXext.so$
Current working directory /usr/sd1e/X11R5/mit/lib/Xmu
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /usr/sd1e/X11R5/mit/lib
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /usr/sd1e/X11R5/mit
*** Error code 1
make: Fatal error: Command failed for target `World' 
Current working directory /usr/sd1e/X11R5/mit
*** Error code 1
make: Fatal error: Command failed for target `World
.....

There is no directory called shared there, ie. in extensions/lib.

Any ideas?

Peter
From: mahan@tgv.COM (Patrick L. Mahan)
Newsgroups: comp.windows.x
Subject: Re: Questions about DECWindows under VMS
Date: 15 Apr 92 21:37:19 GMT
Organization: The Internet

#
#Since the subject came up ...
#
#In a lab of Vaxstations and SGI Indigos, when I run the following under
#VMS 5.5, with full UCX installed (no Motif package) ...
#
#$ set display/create/transport=tcpip/node='P1'
#$ create/term=decterm/det/logged
#
#(P1 gets the name of an Indigo), a window outline appears, I click to
#place it, and the window is drawn in the horizontal position I chose,
#but vertically placed so the window manager-imposed title bar and the
#decterm-imposed menu bar are off the top.
#
#Then, whether or not I reposition the window, after several seconds the
#labels on the decterm menu bar appear and instantly after that the whole
#window vanishes and I get my prompt back in the session from which I
#invoked the create/term command.
#

Do you see any error messages from the DECterm?  It would also seem that
there is a problem with the Motif window manager available on the Indigo.

#
#If, while waiting for action in the new window, I reposition the window
#to make it all visible *and* I type some random characters, then
#*usually* the menu bar titles appear and I get a login prompt.  (Odd
#that I have to log in since I specifed /logged_in, but that's how it
#happens.)  If I do get as far as the login prompt, everything works as
#it should.
#

Again, something has affected it.  There are case where you will still
get the login prompt if unsolicited input occurs.  This manly happens
when the VMS system is heavily loaded which causes the DECterm controller
to time out.

#
#Hmm ... another thing I'm wondering is how I can set a resource along
#the lines of
#
#DECW$TERMINAL*translations: #override \n\ ...
#
#to map my Indigo keypad into VT240/VT320 keypad functions.  The keysyms
#and codes, I can find, but when I have any such resource as the above, I
#can't get a decterm to run at all.
#

Send me some mail.  I'm going to look at the source listing for DECterm
a little later when I can get the CD online.  Sending me some mail will 
remind me, okay.  I suspect that the DECterm doesn't support this.

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
Newsgroups: comp.windows.x
From: zapantis@uvphys.phys.uvic.ca (Nik Zapantis)
Subject: Can a window be freed of WM's control?
Keywords: Window, WM
Reply-To: zapantis@uvphys.phys.uvic.ca (Nik Zapantis)
Organization: University of Victoria, Physics & Astronomy
Date: Thu, 9 Apr 92 22:39:09 GMT



I would like to create a window that is not controlled by a window manager. That is, I do not
want the WM to put  a border,icon,resize and stack buttons on my window, nor do I want the user
to be able to move the window.
Is there any way to do this? I have not been able to find any window attributes that will allow me to create/map a window that will escape the control of a Window Manager.
BTW, I am using VMS/DECWindows.

thanks
 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
| Nik Zapantis			| zapantis@uvphys     (BITNET)	|
| UVIC,Physics and Astronomy	| 45393::zapantis(HEPnet/SPAN)	|
| Victoria,BC			| zapantis@uvphys.phys.UVic.CA	|
| V8W 3P6			|				|
| (604)721-7729			|				|
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Newsgroups: comp.windows.x
From: kalacy@wal-mart.COM (Kurt Lacy)
Subject: Unscribe me
Organization: The Internet
Date: Wed, 8 Apr 1992 15:34:17 GMT

> From: Kurt Lacy <kalacy@wal-mart.wal-mart.com>
> Subject: Unscribe me
> To: xpert-request@expo.lcs.mit.edu
> Date: Tue, 7 Apr 92 18:16:27 CDT
> Mailer: Elm [revision: 64.9]
> 
> 
> 
> Could I please get taken off of this list?  Thank you.
> 
>
From: idf@fat-controller.cs.bham.ac.uk (Ian Fitchet)
Newsgroups: comp.windows.x
Subject: perfmeter display disappears
Date: 6 Apr 92 15:46:19 GMT
Organization: Birmingham University Computer Science


 While idling today I ran up a perfmeter (OL) on my tvtwm display.  I
made it the width of the screen and then put it at the back of the
display of windows.  This meant my clock obscured part of the display.

 The odd thing was that when the cpu load line reached the right edge
of the clock it disappeared.  On testing I discovered that the pixmap
(or whatever) does keep scrolling left but the line is no longer
remembered after the right edge of the clock.

 Is this a bug or a feature?

Cheers,

	Ian

--
Ian Fitchet     				    I.D.Fitchet@cs.bham.ac.uk
School of Computer Science
Univ. of Birmingham, UK, B15 2TT
Xref: sparky comp.windows.x:9882 comp.lang.ada:1215 sci.geo.geology:1038
From: larsonb@taurus.cs.nps.navy.mil
Newsgroups: comp.windows.x,comp.lang.ada,sci.geo.geology
Subject: Ada & Xlib Code for Carto. Maps
Keywords: Ada X Cartographic Map
Date: 11 Apr 92 00:55:14 GMT
Organization: Naval Postgraduate School, Monterey CA



WANTED:
I'm looking specifically for any Ada source code that draws 2D vector
cartographic maps in an X window (X11R4 and SunOS UNIX).  It would be
ideal if this code used the STARS Ada Xlib bindings and was available
via the net.  Other features that would really help are the abilities to
interactively zoom and SMOOTHLY scroll the map.

Any (Ada or C) examples of smooth scrolling in a plain X window would
be greatly appreciated.  When I mention SMOOTH, I mean the drawing
does not flicker when moved in any direction.  I have been told this
is possible although I have only seen this in list-like widgets.

SO FAR I HAVE:
- a copy of a really slick program written in C by Warren Tucker.  You
may have seen it released on the net back in Feb.  I'm in the process
of translating part of it to Ada but it's slow going.  The map can be
zoomed but not scolled.  Map data is included so I am NOT looking for
any sources for that.  As far as I know, Warren's program is one of
the few, if only, widely available application like this.  He too did
a search and ended up writing it himself.
- some masters' theses code that displays some symbols, but has no map
data or scrolling examples in X.
- a variety of X books and the like, but no good example of smooth
scrolling in a bare-bones X window.

SO FAR I HAVE LOOKED:
- far and wide using Archie, newsgroup monitoring, local resources,
multiple net systems (STARS, Ada Repository, etc.) and FAQ lists.  I
realize I may have missed something in these areas so any pointers
would be highly appreciated.

CAN YOU HELP?
- if so, PLEASE send me some email.  You will get a definite plug in
my project paper.  Thanks.


Ben Larson                                   larsonb@cs.nps.navy.mil
Monterey, CA
Newsgroups: comp.windows.x
From: kes@gvls1.gvl.unisys.com (Kes Masalaitis)
Subject: OpenWindows applications on X11R5 ??
Organization: Unisys Defense Systems, Great Valley Labs, Paoli, Pa
Distribution: usa
Date: Wed, 8 Apr 1992 19:01:43 GMT

I have a Sun 690 with OpenWindows 3.0 and Sun's AnswerBook loaded.
I would like to be able to run the AnswerBook application ( and other
OpenWindows applications ) on the 690 and display them on other 
workstations running X11R5.

Even if I have the proper OpenWindows environment variables, I get:

kes@s2 109% /usr/openwin/bin/xview/answerbook
/usr/openwin/bin/psh: Cannot connect to window server
Verifying environment ... finished
XView error: NULL pointer passed to xv_set
/usr/openwin/bin/xview/answerbook: test: argument expected
kes@s2 110%

Am I doing something stupid?  Can what I ask be done?

Thanks for the help,
Kes
- Kes Masalaitis                 INTERNET:       kes@gvl.unisys.com
  Paramax Systems (A Unisys Co.) UUCP:           uunet!cbmvax!gvls1!kes
  70 E. Swedesford Road          PHONE:          (215)648-2691
  Paoli Pa. 19301                All standard disclaimers apply
Xref: sparky comp.windows.x:9857 comp.unix.sysv386:8465
From: bihler@sequent.com (Steve Bihler)
Newsgroups: comp.windows.x,comp.unix.sysv386
Subject: ISC's 3.2 - X11 and a 2 button mouse
Date: 10 Apr 92 16:41:19 GMT
Article-I.D.: sequent.1992Apr10.164119.15209
Organization: Sequent Computer Systems, Inc.


   I have a system running ISC's 3.2 version of X11R4 and have a 
   2 button mouse.  Alot of the software I'm running seems to 
   require a 3 button mouse.  Does anyone know how to remap either
   the software or the mouse buttons (preferred) so that I can 
   get access to the third button functions?

   I've tried fiddling with 'xmodmap' and 'xset' and don't seem
   to be able to find a combination that will work. Ideally, what
   I'd like to do is be able to push both buttons together on the mouse
   and have the software think this is the 3rd button.

   Any suggestions would be greatly appreciated.

Thanks in advance.
Steve Bihler      
email: bihler@sequent.com
tel:  1-503-578-4166
From: graeme@transquest.oe.fau.edu (Graeme Rae)
Newsgroups: comp.windows.x
Subject: XtNupdate default setting problem
Date: 6 Apr 92 20:05:46 GMT
Article-I.D.: cybernet.1992Apr6.200546.11931
Reply-To: graeme@sea4.oe.fau.edu
Organization: Advanced Marine Systems Group

Im using the Xaw/Xam includes to generate a simple performance meter
type program. This basically means Im using 

	Stripchart.h and StripcharP.h  

These two files comment that the default rate is
once every 5 seconds, but I cant find the actual definition anywhere!

	How do I change this default (other than by command line 
option in my program) and is it possible to change this update
 rate to be floating point (I would like to update every 0.25
 secs if poss)


thanks


	Graeme



--
------------------------------------------------------------------------- 
    ======     =======  //=====	graeme@transquest.oe.fau.edu (Graeme Rae)
   //    //   //    // //	(407) 367-3804
  //====//   //====// //===	Dept of Ocean Eng. Florida Atlantic Univ.
 //     \\  //    // //		"May your joys be as deep as the ocean,  
//       \\//    // //=====	and your troubles as light as its foam"
--- HOME OF THE WORLDS FASTEST HUMAN POWERED SUBMARINE --- 4.71 KNOTS---
From: M.T.Hamilton@lut.ac.uk
Newsgroups: comp.windows.x
Subject: Re: xgrab ps or bitmap file to Mac pict or tiff?
Keywords: X, dump, Mac
Date: 8 Apr 92 12:28:24 GMT
Reply-To: M.T.Hamilton@lut.ac.uk (Martin Hamilton)
Organization: Department of Computer Studies, Loughborough University, UK.

In article <1992Apr6.191846.4239@usenet.ins.cwru.edu> 
   zakon@hobbesCWRU.Edu writes:
>How can I get output from xgrab to a Mac Pict or Tiff
>format?  xgrab can give me output in either postscript
>or bitmaps format.
>
How about xwd|xwdtoppm|ppmtopict?

Casting the net a little wider, I've used a variety of image tools under X
and on the Mac, and never been able to achieve the high quality screen dumps
you see in the literature.  Is there a secret?  Is this a FAQ? :-)

Martin.
-- 
 _ _ _                         _    ,                _
' ) ) )         _/_           ' )  /                // _/_
 / / / __.  __  /  o ____      /--/ __.  ______  o //  /  ________
/ ' (_(_/|_/ (_<__<_/ / <_    /  (_(_/|_/ / / <_<_</__<__(_) / / <_