HDTenEightyP/NetNews huggingface dataset:
From: aw@jello.bae.bellcore.com (Andrew Wason)
Newsgroups: comp.windows.x
Subject: Re: Should XtOverrideTranslations work this way?
Date: 14 Apr 92 21:20:23 GMT
Article-I.D.: walter.1992Apr14.212023.794
Reply-To: aw@bae.bellcore.com
Organization: Bell Communications Research

In article <9204132349.AA09825@spcsun25.bbn.com>, rnewman@bbn.COM (Ron Newman) writes:
> > This is correct, except for one detail: the assumption that SetValues
> > on the translations resource has different effects depending upon the
> > directive in the translation table.  It doesn't (or shouldn't).
> > The above translation table would result from calling XtOverrideTranslations.
> > SetValues on the translations resource always does a replacement operation,
> > never an augment or override.  SetValues ignores the directive in the
> > translation table.  
> 
> But the R5 documentation says (file mit/doc/Xt/CH10):
> 
>   The replace or merge operation is performed during the
>   Core instance initialization and
>   during the Core set_values invocation.
>   Each merge operation produces a new
>   translation resource value; if the original tables were shared by
>   other widgets, they are unaffected.  If no directive is
>   specified, ``#replace'' is assumed.
> 
> so I think the new R5 implementation is wrong, and the old
> R4 CoreSetValues was correct.

I sure hope so.

I noticed that both the R4 and R5 implementations of the Core
initialize method do obey the directive.  It's only the R5 Core
set_values that doesn't.  The R4 Xt doc also said that Core
set_values will obey the directive.

What's going on here?

Andrew

_______________________________________________________________________________

Andrew Wason                                       Bell Communications Research
aw@bae.bellcore.com                                Piscataway, NJ
bellcore!bae!aw
From: dcox@relay.nswc.navy.mil (David Cox)
Newsgroups: comp.windows.x
Subject: How increase size of textronix X-window?
Date: 9 Apr 92 18:52:13 GMT
Organization: NSWC

I, a non-user of X-windows, am posting this question for a novice user of
X-windows. They have an SUN workstation connected to a IBM running AIX.
They xterm with a -tn 4014 option (among others.) The portion of the
X-window that is utilized by the tektronix emulation seems fixed. They
can enlarge the window and still only see a portion of the plot they would 
like to be able to see. Does anyone know how to be able to enlarge the 
actual area of the textronix window?

David Cox
dcox@relay.nswc.navy.mil
Newsgroups: comp.windows.x,comp.windows.x.motif
From: dlc@gasco.uucp (Darci L. Chapman  X-5930)
Subject: BX Mailing List Created
Followup-To: /dev/null
Originator: dlc@antares
Keywords: bx mailing list
Organization: Northwest Natural Gas Company, Portland, OR
Date: Mon, 6 Apr 1992 18:02:17 GMT



In response to my article of a couple of weeks ago, I have created
a mailing list for the discussion of using BX (ICS's Builder Xcessory).

If you're interested in being on the list, send email to: 
	bx-talk-request@xzact.com

(Please *don't* reply to this article. Thanks.)

If someone could please tell me who/where I can email/post this
announcement to the list of mailing lists, I'd appreciate it.

The charter for bx-talk follows:

-------------------------------------------------------------------

Subject: bx-talk mailing list charter

bx-talk has been created for users of Builder Xcessory (BX) to "get together" 
and discuss problems (and solutions!) and ideas for using BX.

BX is a graphical user interface builder for Motif applications, sold
by ICS (for more info about ICS and their products, send email to
info@ics.com). However, this list is NOT associated with ICS in any
way, shape, or form. To date, no one from ISC is even on this list.

While we as users of BX will appreciate hearing about bugs in BX
(and possible work arounds!), please note that this is NOT the place to
"submit" bug reports and expect a response from ICS (send email to 
bx-bugs@ics.com instead).

This list is unmoderated and will remain so unless the list as a whole
decides otherwise AND a moderator comes forward (I don't have the time
to run a moderated list unfortunately).

Requests to be added to the list should be sent to:
	bx-talk-request@xzact.com

Darci L. Chapman, bx-talk admininstrator

-- 
Into the fire, I'm reunited         | Darci Chapman, X Window Systems Consultant
Into the fire, I am the spark       | Currently at:      Northwest Natural Gas
Into the night, I yearn for comfort | {uunet!gasco!dlc}  Portland, OR
Newsgroups: comp.windows.x
From: goyle@ux1.cso.uiuc.edu (Vipin Goyle)
Subject: public domain WYSIWYG wprocessor for X ?
Organization: University of Illinois at Urbana
Date: Thu, 9 Apr 1992 15:38:35 GMT

Hi,
Could someone point out to me where i can ftp a public domain WYSIWYG word proc-
essor for X or Openwindows 2 ? I would like one with standard features like 
different fonts, underlining, boldface, etc. I'm running a SPARC 2.

Thanks,
Vipin
v-goyle@uiuc.edu
Newsgroups: comp.windows.x
From: perry@sun1.coe (Matt Perry (8/12/91) F)
Subject: Xvision 4.0 and Win 3.1,  NOT!
Organization: Texas Tech
Date: Fri, 10 Apr 1992 15:21:54 GMT

I just installed windows 3.1 and made all the proper modifications to
the system.ini file that Xvision requires and the program fails to
find valid hosts and has some screen problems.  Just to make sure I
wasn't doing something stupid, I cross-referenced the ini files between
my old working 3.0 and the current ini files.  Everything the Xvision
requires is there.  I even reinstalled Xvision.  After this I called
support and promptly wasted over an hour of my time and my phone bill to
to get nothing resolved except that it worked on the beta version.  Too
bad that deskview/X11 is out because if Xvision does not call me back
very shortly, they just lost all of our buisness which was going to
be substantial.

Beware!

Matt

-- 
------------------------------------------------------------------------
Matt Perry                           Electrical Engineering
Assistant Professor                  Texas Tech
Voice: (806) 742-3489                Box 43102
e-mail: perry@sun1.coe.ttu.edu       Lubbock, TX, USA  79509-3102
------------------------------------------------------------------------
From: J.K.Wight@newcastle.ac.uk (Jim Wight)
Newsgroups: comp.windows.x
Subject: Re: X11R5, Xaw, AsciiTextWidget
Date: 16 Apr 92 07:28:04 GMT
Organization: University of Newcastle upon Tyne, UK, NE1 7RU

dmm@cfa.harvard.edu (David Meleedy) writes:

>What happens is that the widget appears, but there is no text inside at all.

type and string are resources of the Text widget's Ascii Source object. You
need to specify

        "*MessageBoard.AsciiSrc.string: /tmp/oneliners",
        "*MessageBoard.AsciiSrc.type: file",

or

        "*MessageBoard*string: /tmp/oneliners",
        "*MessageBoard*type: file",

Jim
(j.k.wight@newcastle.ac.uk)
From: rsmith@proteus.arc.nasa.GOV (Roger Smith -- IAS)
Newsgroups: comp.windows.x
Subject: X Load Monitor
Date: 7 Apr 92 18:18:02 GMT
Article-I.D.: proteus.9204071818.AA01790
Organization: The Internet

Hi Steve

If you are running on a Sun anything, and have access to source code,
the file you want will be in ?/4.x.x/usr.etc/rpc.etherd.c. (sub your version for the x's)

I've had requests from all over the world (literally) for a compatible
capability for DEC machines, but no one has come forward with etherd
replacement code that will run under ULTRIX.

Hope this helps. When, and if, I find an etherd ported for ULTRIX I will post.

Roger
Newsgroups: comp.windows.x
From: klee@decwrl.dec.com (Ken Lee)
Subject: Re: Can a window be freed of WM's control?
Keywords: Window, WM
Reply-To: klee@wsl.dec.com
Organization: DEC Western Software Laboratory
Date: Fri, 10 Apr 92 00:30:46 GMT

|> I would like to create a window that is not controlled by a window manager. 

Override redirect.  This is a generally anti-social thing to do, though.

-- 
Ken Lee
DEC Western Software Laboratory, Palo Alto, Calif.
Internet: klee@wsl.dec.com
uucp: uunet!decwrl!klee
From: cek@sdc.boeing.com (Conrad Kimball)
Newsgroups: comp.windows.x
Subject: Re: SunOs Versions (Yes! It's a bug!)
Date: 8 Apr 92 18:47:21 GMT
Organization: Boeing Computer Services (ESP), Seattle, WA

In article <1992Apr3.173504.5916@ucsu.Colorado.EDU>, raney@yertle.Colorado.EDU (Scott Raney) writes:
|> 
|> My ass has been severely chewed on this one.  X apps built on 4.1.2
|> won't run across a network from 4.1.1 machines.  What fun.  Next
|> question: what can we do about this (besides requesting that noone
|> upgrade to 4.1.2)?

For what it's worth, I've built statically-linked xterms (both X11R4p18
and X11R5p10) on a Sparc/SunOS 4.1.2 machine, and they both execute
just fine on a Sparc/SunOS 4.1.1 machine, talking to an X11R5p10 server
running on a Sparc/SunOS 4.1.2 machine.

--
Conrad Kimball		| Dist. Sys. Tech Support, Boeing Computer Services
cek@sdc.boeing.com	| P.O. Box 24346, MS 7A-35
(206) 865-6410		| Seattle, WA  98124-0346
From: phils@athena.mit.EDU (Philip  Thompson)
Newsgroups: comp.windows.x
Subject: Re: Using color masks in XImage structure
Date: 8 Apr 92 16:14:06 GMT
Organization: The Internet


# 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?

Yes you can for TrueColor visuals, which is really only case you'd
want to do this is suspect.  Take a look at the xwd and xwud source.

Philip Thompson
Shcool of Architecture and Planning, MIT.
From: rafee@jaring.ism.my (Mohd Rafee Yusoff)
Newsgroups: comp.windows.x
Subject: XVIEW 2.0
Date: 14 Apr 92 10:02:42 GMT
Organization: The Internet

Hi,

I am mailing this for a friend who does not have access to the net.
________

I recently got a copy of the Uunet archives, in the hope of getting the XView
2.0 source code.  All I found under the X/contrib directory were the files:
	xview2-announce and xview2-ftp.

I am unable to ftp from either of the 2 sites mentioned (xview.ucdavis and your
machine).  Is it possible for someone at your site to send me a copy of the
XView source, or perhaps the entire X distribution, on tape?  If so, please let
me know of procedure to follow as well as charges.  Please don't send it via
e-mail (if its a big file) it'll cost me a bundle - we are charged based on
volume.

Thanks very much.

	Fami Kunju
	BASS Consulting
	9th Floor, Menara SMI
	Lorong P. Ramlee
	50250 Kuala Lumpur
	MALAYSIA
________

Please e-mail response to me, I'll forward it to Fami.

Thanks in advance.

Rafee

MIMOS (Malaysian Institute of Microelectronic Systems)
Computer Systems Division

rafee@rangkom.MY
Newsgroups: comp.windows.x
From: horner@media-lab.media.mit.edu (Chris Horner)
Subject: Xt Translation Table Help
Keywords: translation table
Organization: M.I.T. Media Laboratory
Date: Wed, 15 Apr 1992 22:47:27 GMT

I want to have an action routine that allows creates a new text widget to
hold text that a user types.  My resource file contains the following:

my_widget.translations:	#override \
        <Key>:  key-handler()

Unfortunately, key-handler is getting triggered when the user presses the
shift key, which is supposedly a modifier and not a key itself.  This also
happens for meta and control keys.

Changing this last line to
        ~Shift <Key>:   key-handler()
has no effect

Nor does
        ! <Key>:        key-handler()

Nor does
        None <Key>:        key-handler()

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.

This wouldn't be so bad if I didn't want to have specific key strokes, e.g.
Shift <Key>tab call different action routines other than key-handler.

Please forward responses to my personal address as well. Thanks.



Newsgroups: comp.windows.x
From: sheldon@kong.gsfc.nasa.gov (Roger Sheldon - AISS)
Subject: PEX calls screw up video on X386, Help!
Organization: Goddard Space Flight Center
Date: Tue, 7 Apr 92 21:38:27 GMT

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: fox@rudolf.nscl.msu.edu (Ron Fox)
Newsgroups: comp.windows.x
Subject: Open look font aliasing...
Date: 13 Apr 92 12:32:15 GMT
Reply-To: fox@rudolf.nscl.msu.edu (Ron Fox)
Organization: National Superconducting Cyclotron Lab.

--
  This is a rather stupid question on my part.  A while back,
somebody posted information about how to make font aliases that would
cover for the DEC proprietary fonts when displaying DECwindows
applications on a SUN OpenLook system.  I thought I had kept a copy of
that posting, but evidently I did not.  Will whoever knows how to get
rid of messages like:
X Toolkit Warning: Cannot convert string
"-*-MENU-MEDIUM-R-Normal--*-120-*-*-P-*
-ISO8859-1" to type FontList, using fixed font
 
please mail me.

  Thanks.

Ron Fox                     | FOX@MSUNSCL.BITNET      | Where the name 
NSCL                        | FOX@RUDOLF.NSCL.MSU.EDU | goes on before
Michigan State University   | MSUHEP::RUDOLF::FOX     | the quality
East Lansing, MI 48824-1321 |                         | goes in.
USA
Newsgroups: comp.windows.x
From: dce@smsc.sony.com (David Elliott)
Subject: Wanted: twm/gwm binary for OpenWindows 2.0
Organization: Sony Microsystems Corp, San Jose, CA
Date: Tue, 7 Apr 92 23:10:11 GMT

One of the users here is using a Sun machine running OpenWindows 2.0,
but he would like to use twm or gwm.  Does anyone out there have
these compiled and available via ftp?

Thanks.

Newsgroups: comp.windows.x
From: matt@centerline.com (Matt Landau)
Subject: Re: Getting Window ID
Keywords: WINDOW Colormap
Organization: CenterLine Software, Inc.
Date: Wed, 15 Apr 1992 13:44:05 GMT

In <stefans.702900872@bauv106> stefans@bauv106.informatik.unibw-muenchen.de (Stefan Schwarz) writes:
>stoeckli@disuns2.epfl.ch (Laurent Stoeckli) writes:
>>1) I would like to get the window ID of the xterm from which I call 
>>   my program.

>Use XQueryPointer immediately after starting your application. The cursor
>will be within the staring-xterm and XQueryPointer passes the window-id.

There is no guarantee that this will do anything useful.  If the user 
is moving the mouse, there are race conditions involved -- how do you 
know the mouse hasn't moved out of the window by the time you've started 
up, issued your XQueryPointer, and gotten a reply from the server?  
Moreover, if the user uses a window manager with a click-to-type focus
model, the mouse may never have been in your terminal emulator window
at all.

There is no really portable way to do what you want to do here.  If you
*KNOW* that the terminal emulator is going to be xterm, you can take
advantage of the fact that xterm sticks its top-level Window id into
an environment variable called WINDOWID, and do a getenv from within
your program.  Be prepared for the getenv to return NULL, which it will
if you're using any other terminal emulator.
From: envbvs@epb9.lbl.gov (Brian V. Smith)
Newsgroups: comp.windows.x
Subject: Re: xfig
Date: 9 Apr 1992 18:10:44 GMT
Organization: lbl
Distribution: world
NNTP-Posting-Host: 128.3.12.98
Keywords: xfig and X11R3

In article <1992Apr04.135757.120297@ipgaix.unipg.it>, peppe@ipgaix.unipg.it (G. Vitillaro) writes:
|>  If I understood correctly the current 2.1 (or something
|> like that) versioon of xfig run only under X11R4 o R5.
|> Does exist a version working for X11R3 on RISC/6000 and which
|> features I'll loose using this version?

It has been 2 years since xfig ran under X11R3 for several reasons.
You will lose MANY, MANY features.  I'll send you a copy of the CHANGES
file.

|> Where I may find the older version?

I don't know where it would be available, but the version that still
would run under R3 is 2.0 patchlevel 5.

Is IBM so backward that they still only offer R3?

-- 
Brian V. Smith    (bvsmith@lbl.gov)
Lawrence Berkeley Laboratory
I don't speak for LBL; they don't pay me enough for that.
From: clark@oasys.dt.navy.mil (J. Peter Clark)
Newsgroups: comp.windows.x
Subject: BANNER.EXE for X-Windows
Date: 15 Apr 92 15:22:46 GMT
Reply-To: clark@oasys.dt.navy.mil (J. Peter Clark)
Organization: Carderock Division, NSWC


 Hello X-Windows World!!

  DEC has a program called BANNER as part of its UIS/VWS demo package.
 It places a user configurable window(s) on your screen to display
 various current system information (free pages, page faults, ethernet
 traffic, CPU modes, CPU load, etc)

 Anyway, I'm looking for the X version of the same program. I've
 seen a version of it a DECUS but haven't found a distribution
 source.

   Any ideas??


                            Thanks much,

                             Pete Clark
                       clark@oasys.dt.navy.mil
                     Naval Surface Warfare Center
From: thoth@wave.cis.ufl.edu (Robert Forsman)
Newsgroups: comp.windows.x
Subject: Re: xauth question
Date: 12 Apr 92 17:34:22 GMT
Organization: Zik Zak


> Where does the big hex string that's used to add displays to xauth come
> from?

  I usually pull one out of my butt.  It's just some random number.
Here's how I generate one on a Sun.  If anyone has a "better" way
that's more portable, faster or whatever, I'd like to hear it.

  And if your idea is a program that calls lrand48 or some other
random number generator, bugger off, I already thought of that.


date=`date +%y%m%d%H%M%S`
num=`echo "$date
$$
100
*
+
16
o
p
" | dc | cut -c1-8`

xauth << EOF
remove $host:0 $host/unix:0
add $host:0 . $num
add $host/unix:0 . $num
EOF
--
I deal with Reality as you _don't_ understand it. 
blah = realloc(blah, sizeof(*blah)*(blahsize*=2)); /* (TM) */
From: grw@oahu.cs.ucla.edu (George Wu)
Newsgroups: comp.windows.x
Subject: How does one change the default colormap ?
Date: 16 Apr 92 06:16:26 GMT
Distribution: usa
Organization: UCLA Computer Science Department
Originator: grw@oahu.cs.ucla.edu


  I am looking for a way to change the default colormap used by an
X-server.  The only way I found is to change rgb.txt and recompile it
into rgb.dir.  The problem is this requires having the source to X
which I do not have.  So, is there another way ?  Thanks for any help.


  George Wu
From: rapatel@theophilus.rutgers.edu ( Rakesh Patel)
Newsgroups: comp.windows.x
Subject: xauth: patch for multi-homed hosts.
Date: 10 Apr 92 02:50:40 GMT
Organization: Rutgers Univ., New Brunswick, N.J.
To: xbugs@expo.lcs.mit.edu

VERSION:
    R5, public-patch-10

CLIENT MACHINE and OPERATING SYSTEM:
    Sparc/SunOS 4.1.1

DISPLAY TYPE:
    Any

WINDOW MANAGER:
    Any

COMPILER:
    Any

AREA:
    xauth

SYNOPSIS:
    xauth fails to match hosts with multiple IP addresses.

DESCRIPTION:
    xauth may not properly match for multi-homed hosts.

REPEAT BY:
    Use a host with multiple IP addresses.

SAMPLE FIX:
    The following patch to mit/clients/xauth/process.c will result in
    a proper match in this situation.

*** process.c.OLD	Thu Apr  9 22:36:31 1992
--- process.c	Thu Apr  9 22:37:22 1992
***************
*** 965,970 ****
--- 965,987 ----
  static int match_auth (a, b)
      register Xauth *a, *b;
  {
+     struct hostent *temphostent;
+     char *temp, a_h_name[64], b_h_name[64];
+     bzero(a_h_name,64);
+     bzero(b_h_name,64);
+     if ( a->family == FamilyInternet && b->family == FamilyInternet ) {
+       if ( (temphostent = gethostbyaddr(a->address, 4, AF_INET)) != NULL ) {
+ 	strcpy(a_h_name, temphostent->h_name);
+       }
+       if ( (temphostent =  gethostbyaddr(b->address, 4, AF_INET)) != NULL ) {
+ 	strcpy(b_h_name, temphostent->h_name);
+       }
+       if ( strcmp(a_h_name,b_h_name) == 0 )
+ 	return(1);
+       else
+ 	return(0);
+     }
+     else
      return ((match_auth_dpy(a, b)
  	     && a->name_length == b->name_length
  	     && bcmp(a->name, b->name, a->name_length) == 0) ? 1 : 0);
-- 
Rakesh Patel
Systems Programmer, Rutgers University
rapatel@rutgers.edu
From: msm@src.dec.com (Mark S. Manasse)
Subject: Re: X over WANs???
Organization: DEC Systems Research Center
Date: Thu, 9 Apr 92 11:54:12 PDT


Our current thinking on this is that we'll assume that PPP or CSLIP or
some other form of IP interconnectivity is available, and then run on
top of that.  I can't think of anything that we're doing in the design
that's clearly wrong in the WAN case; there are a few places where we're
trading average bandwidth for latency, but we're not talking about a huge
amount, so it's probably still the right decision.

Mark
Newsgroups: comp.windows.x,comp.dcom.modems
From: sevigny@vlsi.polymtl.ca (Benoit Sevigny)
Subject: Protocol for serial X terminals?
Keywords: terminal, protocol
Organization: Ecole Polytechnique de Montreal
Date: Tue, 7 Apr 92 01:13:32 GMT

I'd like to know if there is a standard protocol for serial X terminals and
where I could find the draft of this standard.

Thanks.

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!!!
From: kettering@addvax.llnl.gov (Brett 'Volleyball Is My Game' Kettering)
Newsgroups: comp.windows.x
Subject: Work procedures and timer callbacks
Date: 16 Apr 92 16:16:00 GMT
Article-I.D.: addvax.16APR199209165884
Organization: Lawrence Livermore National Laboratory
News-Software: VAX/VMS VNEWS 1.40

I am working on an application that does a lot of time consuming callbacks.
My process ends up getting hibernated, waiting for synchronous replies to
commands that are sent to a robot.  The robot does not reply until it is
done with its move and I don't want to continue until it is done; nevertheless,
I would like changes to the interface to take place that happened just
before a command to the robot, for instance.

I got to thinking about work procedures and timer callbacks.  Can I use
either of these to get X updates.  That is, basically use one of these
mechanisms to simulate the main loop while the process is waiting for a
reply from the robot?  Anyone tried something like this?  What happens if
I always reset the timer callback and it runs while the real main loop
is running?  Same deal for the work procedure.  Say the process is waiting
for an event in the main loop and my work procedure then runs?

Thanks for any pointers.

-------------------------------------------------------------------------------
Brett M. Kettering
PaperNet: LLNL P.O. Box 808 L-437 Livermore, CA.  94551
InterNet: KETTERING1@llnl.gov
TalkNet : (510) 423-3467
FaxNet  : (510) 423-4606

McGowan Madison Avenue Principle:
  "If an item is advertised as 'under $50.00', you can bet it's not $19.95."
-------------------------------------------------------------------------------