HDTenEightyP/NetNews huggingface dataset:
From: armour@sulu.ucr.edu (thuy le)
Newsgroups: comp.windows.x
Subject: get screen image
Date: 6 Oct 92 02:35:10 GMT
Organization: University of California, Riverside




	Hello,

	In XView or X window programming, I have the problem to save the section of the
	screen into the bitmap file so that I can draw that screen section out to the
	screen some where else. Anyone knows how to do it. Please help!!
	
		My login is "armour@ucrengr.ucr.edu"
								-le-




Newsgroups: comp.windows.x
From: oj@miki.pictel.com (Oliver Jones)
Subject: Re: Changing a drawable's coordinate system
Organization: PictureTel Corporation
Date: Thu, 1 Oct 1992 22:19:45 GMT

In article <92272.112956TRH108@psuvm.psu.edu> <TRH108@psuvm.psu.edu> writes:
>I am using X11r5, and I want to change the coordinate system so that the
>origin is in the bottom left corner, with +ve x going right and +ve y going
>up.  
X doesn't work this way.  If you want this, write it
yourself or use the transform composition features of PEX.

Newsgroups: comp.windows.x
From: etxmesa@eos.ericsson.se (Michael Salmon)
Subject: Re: QUERY: setting up a ``cut'' translation
Reply-To: etxmesa@eos.ericsson.se (Michael Salmon)
Organization: Ericsson Telecom AB
Distribution: comp
Date: Mon, 5 Oct 1992 10:20:37 GMT

In article <sd344.718275819@Olympia>,
sd344@city.ac.uk (SHARPE P A) writes:
|> Does anyone know how I can set up a translation which allows me
|> to cut text from xpostit windows by binding (something!) to
|> the Cut key (F20) on a Sun keyboard.
|> 
|> sd344@city.ac.uk
|> 

These are general translations that I use for all text widgets which
are those used by xpostit:

*Text.translations: #override \
	<Key>L10:		kill-selection()\n\
	<Key>L9:		search(forward) next-page()\n\
	<Key>L8:		insert-selection(CUT_BUFFER1,PRIMARY)\n\
	<Key>R9:		previous-page()\n\
	<Key>R15:		next-page()\n\
	<Key>R7:		beginning-of-file()\n\
	<Key>R13:		end-of-file()\n

I used the L & R notation but of course they worj equally well with
F notation.

-- 

Michael Salmon

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

Ericsson Telecom AB
Stockholm
From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
Newsgroups: comp.windows.x
Subject: Re: X Properties
Date: 26 Sep 92 08:43:20 GMT
Distribution: na
Organization: McGill Research Centre for Intelligent Machines

In article <6249@blue.cis.pitt.edu.UUCP>, nr3m+@pitt.edu (Matthew A Henry) writes:

> I am developing two applications which will exchange data via X
> properties.  [...] In my situation the reader only wants the latest
> information from the writer, even if that means missing data.
> Therefore what I would like to do is have the writer delete any
> unread data on the property before putting new data on the property.
> My concern is that the writer could delete data that is being read by
> the reader.  Is there anything in X that would prevent this from
> happening?

Yes, provided the chunk of data being passed is small enough that it
can be read and written in a single request.  This is because the
server is required to act as if requests are performed atomically with
respect to one another, so it is not possible for the reader's query to
arrive somehow in the middle of the writer's store.

If the property values *are* too large for this to work, you should
probably consider using a different mechanism, like selections, but if
you really are dead-set on using properties, it's still possible to do
what you want, just more difficult: you have to design a protocol for
accessing the data and ensuring that it's all done atomically.  To
complicate things, if the values are that large, it's reasonably likely
that the server will be unable to store the properties, so you may have
to exchange requests...at which point you are essentially
reimplementing much of the selection mechanism, so you might as well
use selections anyway.

					der Mouse

			    mouse@larry.mcrcim.mcgill.edu
Newsgroups: comp.windows.x
From: allyn@snobol.cs.psu.edu (Barry C Allyn)
Subject: X interface builders ?
Organization: Penn State Computer Science
Date: Sun, 4 Oct 1992 18:28:50 GMT


  What X interface builders are available via anonymous ftp?  I've tried
Dirt, but it crashes frequently on our system.  Any info would be 
appreciated.. 
 
Barry Allyn

Newsgroups: comp.windows.x
From: kaleb@thyme.jpl.nasa.gov (Kaleb Keithley)
Subject: Re: XtNameToWidget timing problem?
Organization: Jet Propulsion Laboratory, Pasadena, CA
Date: Tue, 6 Oct 92 15:15:20 GMT

In article <1992Oct05.131753.24126@rchland.ibm.com> jay@vnet.ibm.com writes:
>Is there some sort of timing necessary for XtNameToWidget to work?
>[...]
>    menu_pane = XmCreatePulldownMenu (menu_bar, "filepane", NULL, 0);
>    if (XtNameToWidget(menu_bar, "filepane"))
                                   ^^^^^^^^

TFM says:

     Note that the names argument contains the name of a widget
     with respect to the specified reference widget and can con-
     tain more than one widget name (separated by periods) for
     widgets that are not direct children of the specified refer-
     ence widget.

Which, when translated, means your function call should use:

     if (XtNameToWidget(menu_bar, ".filename"))


-- 

Kaleb Keithley                          kaleb@thyme.jpl.nasa.gov

Not authorized, in any way, shape, or form, to speak for anyone.
From: abmg@cathedral.cerc.wvu.wvnet.edu (Aliasghar Babadi)
Newsgroups: comp.windows.x
Subject: X-based Typing Tutor
Keywords: X typing tutor
Date: 1 Oct 92 12:52:13 GMT

Hi,
	Is there a ftpable X based typing tutor available ? Thanks
in advance for your replies.
Newsgroups: comp.windows.x,comp.windows.open-look,comp.lang.c,comp.lang.c++,comp.sources.testers
From: lee@sq.sq.com (Liam R. E. Quin)
Subject: Re: To C or not to C...
Organization: SoftQuad Inc., Toronto, Canada
Date: Tue, 29 Sep 92 01:05:46 GMT

richm@netcom.com (Richard Mauri) writes:
> [...]  Do I hear correctly that what we want is a C++ library that uses
> the Xt based widgets as primitives, like [Doug Young's] MotifApp component
> library that uses motif as primitives.  I already have done some work with
> building application, really extending the library, and consider this
> a "place to start".

UIT is a C++ wrapper around XView.  This has the advantage over an OSF/Motif
wrapper that there are no licence fees or royalties charged for XView, and
also that you end up with an OPEN LOOK UI instead of an OSF/Motif one :-)

UIT is available for ftp from export.lcs.mit.edu in "contrib/UITV2.tar.Z".

Lee

-- 
Liam Quin, lee@sq.com, SoftQuad, Toronto, 416 239-4801; the barefoot programmer
  lq-text (Unix text retrieval package) mailing list: lq-text-request@sq.com

Newsgroups: comp.windows.x
From: honor@athena.mit.edu (Andrew John Cassidy)
Subject: xmodmap
Organization: Massachusetts Institute of Technology
Date: Tue, 29 Sep 1992 18:50:31 GMT


Hi,

I'm having difficulties mapping C-/ to \.  I tried:

xmodmap -e "keysym slash = slash question question backslash"

and it didn't work.  "xmodmap -pm" shows that my modifiers are, in
order: shift, lock, control, mod1, mod2, mod3, mod4, mod5.  "xmodmap
-pk" after the first command (above) showed this for the "/" key:

     63         0x002f (slash)  0x003f (question)       0x003f (question)
0x005c (backslash)

I can't get this to work on a DECstation Maxine or and IBM RS/6000.
I've tried using the keycode too (i.e. "xmodmap -e "keycode 63 =
slash...").

Can this be done?  If so, what's the problem (what am I doing wrong)?
Respond via posts or email.  I'll post a summary of email responses.

Thanx,


--
--andrew cassidy
  honor@athena.mit.edu
From: mark@zot.ncsc.navy.MIL (Williams)
Newsgroups: comp.windows.x
Subject: test
Date: 28 Sep 92 14:30:08 GMT
Organization: The Internet

delete me.
From: samborn@lynchpin.mtkgc.COM (Kevin Samborn)
Newsgroups: comp.windows.x
Subject: RE: XDM and Console Windows
Date: 1 Oct 92 13:22:09 GMT
Organization: The Internet

> The console problem was solved with OpenWindows 3.0 by setting the good
> protection bits on /dev/console during xdm initialization :
> 
> In the file /usr/lib/X11/xdm/Xstartup :
> 

Actually, shouldn't you be restoring the permissions back to their
original state from within /usr/lib/X11/xdm/Xreset?

kevin samborn
samborn@mtkgc.com
sakura global capital
From: krishna@indetech.com ()
Subject: X/Motif port to MS-Windows...
Organization: Independence Technologies, Inc. Fremont, CA
Date: Thu, 1 Oct 1992 00:03:08 GMT

Hi:

I am looking for tools/software packages to port Motif Widget code
to MS-Windows. 

I am also looking for MS-Window code generators which dumps code in C++ or C.

I'll appreciate any help.
Thank You.

Kris
-- 
Live and Let Live.

krishna@indetech.com
Newsgroups: comp.windows.x,ba.windows.x,misc.books.technical
From: clayton@cc.gatech.edu (R. Clayton)
Subject: Xsun problems.
Reply-To: clayton@cc.gatech.edu (R. Clayton)
Organization: College of Computing, Georgia Institute of Technology
Date: Tue, 29 Sep 1992 16:36:28 GMT

I've been running x11 r5 patch level 13 (compiled with gcc 1.40) for five or so
months now on a sun ipc under sunos 4.1.1 with an 8-bit frame buffer.  I've had
no problems up until a few days ago when Xsun started failing (taken from
/usr/adm/messages):

  KERNEL DATA ACCESS TIMEOUT
  pid 178, `Xsun': Data fault
  kernel read fault at addr=0xff00c010, pme=0xf700e400
  Sync Error Reg 20<TIMEOUT>
  pc=0xf80c90fc, sp=0xf82bac90, psr=0x4000c3, context=0x0
  g1-g7: f80c90cc, 4, 0, 0, f82bb000, f8155000, f8155000
  Begin traceback... sp = f82bac90
  Called from f8069d4c, fp=f82bad00, args=1b00 1b 438 360 f814ca64 0
  Called from f8066db0, fp=f82bad60, args=ff0d8784 3 1 8000e5 f82bb000 4000e5
  Called from f803bcc0, fp=f82badc0, args=f82016dc 4 0 1 f813d5a8 ff0d8784
  Called from f803d368, fp=f82bae20, args=f82016dc f8204238 0 4000e0 f820b128 8
  Called from f8042a9c, fp=f82bae80, args=ff64ef00 6 6 f8204238 f82016dc 18
  Called from f810a57c, fp=f82baee0, args=a 0 28 200 f8204238 8a
  Called from f8005600, fp=f82baf58, args=10400 f82bafb4 ffffa000 f75e4243 2 0
  Called from a24bc, fp=f7fff790, args=0 0 2 f75e4244 eeeeeeee 0
  End traceback...
  panic: system bus error timeout

  syncing file systems... [1] [1] [1] [1] [1] [1] [1] [1] [1] [1] [1] [1] [1]
  [1] [1] [1] [1] [1] [1] [1] give up! 
  00000 low-memory static kernel pages
  00774 additional static and sysmap kernel pages
  00000 dynamic kernel data pages
  00088 additional user structure pages
  00000 segmap kernel pages
  00000 segvn kernel pages
  00000 current user process pages
  00033 user stack pages
  00895 total pages (895 chunks)

  dumping to vp ff040d2c, offset 58264
  895 total pages, dump succeeded
  rebooting...

Initially Xsun would fail sometime after X was up and running.  Now it fails
almost immediately after xinit starts. Here's a example stack trace from an
immediate failure (this example doesn't correspond to the example above):

  sy dbx /usr/local/X11/bin/Xsun
  Reading symbolic information...
  Read 4353 symbols
  program terminated by signal BUS (hardware error)
  (dbx) where
  mfbTileArea32Copy() at 0xa2800
  mfbPaintWindow() at 0xa40d0
  miSpritePaintWindowBackground() at 0xcccec
  miWindowExposures() at 0xc0b4c
  MapWindow() at 0x2d3ec
  InitRootWindow() at 0x27f40
  main() at 0x1f670
  (dbx) quit

I'm back to using openwindows, which is running fine.  Any ideas?  Please mail
replies since I infrequently read this news group.  Thanks.

R. Clayton
clayton@cc.gatech.edu
From: clin@eng.umd.edu (Charles Lin)
Newsgroups: comp.windows.x
Subject: Help with UNIX and X needed
Date: 30 Sep 92 05:22:04 GMT
Organization: College of Engineering, University of Maryland, College Park
Originator: clin@analog.eng.umd.edu



   Well, this is the third time I am trying this.  Let's hope my previous
posts haven't shown up.

   OK, I want to be able to send message to windows while I am in X.
Here are my assumptions.

   * When I type in xterm & in an available xterm (while in X), a window
     pops up, and csh is running in my home directory.

   * Umm, I guess that's it.

   I assume that I have two windows that I wish to send messages to.
Call it "a" and "b".  I want some function that will behave like
the following imaginary function, which I will call "send".  send
takes two arguments.  The first is the name of the window, and the
second is either a literal string, or a file. 

   The behavior can be shown in examples.

   (1) send(a, "ls")

       This causes window "a" to print out the directory.

   (2) send(a, "cd /tmp")
       send(a, "ls")

       This switches the directory in window "a" to /tmp, and lists
       that directory.

   (3)  send(a, "mail")
        send(a, "t")
        send(a, "r")
        send(a, file)

        This starts up mail in window "a", types the first message, replies
        to the message, and includes the file in that message.

   (4)  send(a, "foo")
        send(b, "bar")

        This runs "foo" in window "a", then waits until completion of "foo", then
        runs "bar" in window "b".  I suppose there could be an option which
        runs it both at the same time, but I want it to block and wait
        until the "foo" is complete.

   Basically, this will behave as if I, the user, were typing in these messages
on a keyboard, except that a program now does it.  In addition, each window
may be allowed to issue "send" messages of its own, though this may complicate
matters, and is not really needed for what I want to do.

   Please send responses by e-mail.  If you know of any other group that
i could post this question to, please let me know.  My e-mail address is
listed below.  Thanks in advance.

--
Charles Lin
clin@eng.umd.edu
Newsgroups: comp.windows.x
From: jf1@forth.stirling.ac.UK (Mr Jonathon Fletcher)
Subject: Timeouts and Stupid Questions
Organization: The Internet
Date: Mon, 5 Oct 1992 15:30:55 GMT


Earlier today I posted a question about Timeouts, to the list - the question 
turns oout to be more of a DQ (dumb question), than a FAQ :

What is the difference between Motif1.1 and Motif1.0 - Motif1.1 likes
the correct use of application contexts, Motif1.0 doesn't really care
too much.

My apologies for wasting net time over this

-Jon

-- 
Jonathon Fletcher     |
Information Services, |
Stirling University.  |
jf1@stirling.ac.uk    |
From: devuns@alsys.fr (Olivier Devuns)
Newsgroups: comp.windows.x
Subject: RE: XDM and Console Windows
Date: 1 Oct 92 10:07:21 GMT
Article-I.D.: venus.9210011007.AA20006
Organization: The Internet


The console problem was solved with OpenWindows 3.0 by setting the good
protection bits on /dev/console during xdm initialization :

In the file /usr/lib/X11/xdm/Xstartup :

#!/bin/sh
#
# Xstartup
#
# Run as root...
# test is builtin in sh...
if test "$DISPLAY" = ":0"; then
  #  Set up the protection of the console the same way as init...
  #  else the -C option of Xterm or Cmdtool won't work.
  #chmod ugo+rw /dev/console
  # or better?
  /etc/chown $USER /dev/console
  /usr/bin/chgrp tty /dev/console
  /usr/bin/chmod o-wr /dev/console
fi

Of course, Sun did not provide this, since xdm operation was not activated by
default in the standard OpenWindows delivery ...

-----------------------------------------------------------------------
Olivier Devuns -- Ada Tools Development Engineer
ALSYS          -- 29 Ave. LR Duchesne, 78170 La Celle St Cloud - FRANCE
Voice          : (33-1) 30781717
Email          : devuns@alsys.fr (spare : devuns%alsysfr@inria.fr)

                     "Views expressed are my own."
-----------------------------------------------------------------------
From: mallen@carla.Wichita (mallen)
Newsgroups: comp.windows.x
Subject: X-Designer product
Date: 2 Oct 92 20:08:16 GMT
Distribution: na
Organization: wichita

Does anyone have any information regarding this product.  In particular, likes
or dislikes?  Please email me directly.

Thanks in advance.
From: lennan@tds.com (Tim Lennan)
Newsgroups: comp.windows.x
Subject: Do Wcl 2.2, C++ and OPENLOOK 3.0 work together?
Keywords: Wcl, C++, open, look, openlook
Date: 1 Oct 92 20:42:32 GMT
Organization: Trident Data Systems

I am trying, with a marked lack of success, to get this combination to work.
Things are fine if I use the Sun cc compiler; but when I switch to C++ I get
segmentation violations inside calls to OpenLook functions.  Has anyone else 
had similar problems? or success using this combination?
			Tim - lennan@tds.com
Newsgroups: comp.windows.x
From: mhoward@ca.novell.com (Milton G. Howard III)
Subject: SPARC executable for xmh
Reply-To: mhoward@ca.novell.com (Milton G. Howard III)
Organization: Novell, Inc., San Jose, Ca
Date: Tue, 29 Sep 1992 02:45:39 GMT

Does anyone have a SPARC executable for xmh?  I want an executable
that I could ftp from somewhere and run immediately.  I will be 
running it on a SPARCstation running SunOS 4.1.1.

If not, where can I get the xmh sources?  The FAQ tells me that it is
distributed with the X11 release.  Problem is, I don't have the X11
release and don't want to have to download the entire thing just to
get xmh.  

I did look out on export.lcs.mit.edu:/contrib but all I found were
xmh-mod*.Z diff files -- not the true sources to build the xmh executable.


Thank you,

//Milton
--------------
Milton Howard                                    Phone: 408.473.8596
Novell San Jose Development Center               Fax:   408.473.8990
2180 Fortune Dr, San Jose, California 95131      Net:   mhoward@novell.COM
From: haedener@iacrs1.unibe.ch (Konrad Haedener)
Newsgroups: comp.windows.x
Subject: Re: xdm and IBM RS6000
Date: 1 Oct 92 08:15:49 GMT
Reply-To: haedener@iacrs1.unibe.ch
Organization: University of Berne

In article <1992Sep30.171857.8096@athena.mit.edu>, ellis@athena.mit.edu (Steve Ellis) writes:
|> 
|>     I am having a problem with xdm on a IBM RS6000 (AIX3.2.2).  When
|> running in "debug" mode, everything appears normal, and the X terminals
|> work as expected. However, when running in the default daemon mode, the
|> login window appears on the X terminal, but upon logging in, the login
|> window disappears, but no X session is started. After 20 seconds, the
|> login window re-appears. Any pointers on what to look for, or specific
|> compile options required would be appreciated.

X11/R4 (IBM or MIT ?) or X11/R5 ?
IBM's R4 xdm and xauth are broken. You have to patch the source to make
them run as expected (or substitute them with the MIT versions).
-- 
Konrad Haedener                             Phone: +41 31 65 42 25
Institute for Physical Chemistry            FAX:   +41 31 65 44 99
University of Berne
Switzerland                                 haedener@iacrs1.unibe.ch
From: bradshaw@ccvax.ucd.ie
Newsgroups: comp.windows.x
Subject: A few X questions....
Date: 6 Oct 92 14:57:46 GMT
Organization: University College Dublin

A few questions for anyone reading this:-

1. How do I go about opening a DEC Window on a Sun SPARCStation
IPC thro' OpenWindows? Do I need extra software? What settings 
are required? Can I use Xterm? Are there any free solutions?

2. I am about to install either PC-Xview or DesqView/X on our
PC's to enable them as X-Terminals to our SPARCStation. Can 
this software also enable my PC's as X-Terminals to a DecStation?
I would also appreciate any advice as to which of the two above
systems is the best....DesqView/X looks impressive, does it need
extra modules to run on different protocols such as PC-NFS?

Any and all replies appreciated.....Thanks in advance....
My E-Mail addresses follow:-

CBRADH89@IRLEARN.UCD.IE
BRADSHAW@CCVAX.UCD.IE


From: hstroyan@hpfcso.FC.HP.COM (Howard Stroyan)
Date: Thu, 1 Oct 1992 00:17:32 GMT
Subject: Re: Multiple $DISPLAYS for same program
Organization: Hewlett-Packard, Fort Collins, CO, USA
Newsgroups: comp.windows.x

In comp.windows.x, mparsons@fleming.csc.bcm.tmc.edu (Mark Parsons) writes:

> 	I was wondering if anyone out here in net land knows of
> a way I can set up multiple DISPLAYs for an X session?  I know
> that vanilla X cannot do this . . .but would someone happen to
> know of an application that would work?
> 
> 	I'd like to be able to sit at my 'master' terminal, open
> up the application, and have each user at his/her 'slave' terminal
> see what I'm doing.
> 
> 	Another issue that I'd be interested in is the locking
> of the 'slave' terminal keyboards so that my application is in
> a sort of 'read only' mode for the users.

If you are able to make the "sourcing" machine an HP workstation
there is a software application available from HP called "Shared X"
which will do all of the things you describe.

--
Howard Stroyan                                         
Hewlett-Packard                                        hstroyan@fc.hp.com
User Interface Technology Division                     
Newsgroups: comp.windows.x
From: scott@asd.com (Scott Barman)
Subject: Imake doc in ASCII?
Organization: American Software Development Corp., West Babylon, NY
Date: Fri, 2 Oct 1992 18:16:01 GMT

I need a copy of the Imake documentation that is readable (in some
form).  I've read the FAQ, all the postings and what I find is the Imake
docs in PostScript or in TeX.  We do not have a PostScript laser printer
(yet) nor do I have time to get TeX and set it up to print one document.
Is there someone out there who can either mail (or maybe fax, if it is
not too long) a hard copy version of this document?  OR does someone
have it formatted in a plain, ASCII readable file that they can email
to me?

THANKS!!
-- 
scott barman			| <This space intentionally left blank>
scott@asd.com			|
 (I can barely speak for myself, you expect me to speak for my employer??)
From: russ@.math.okstate.edu (Horatio "Random" Hellpop)
Newsgroups: comp.windows.x
Subject: Arrrgh.  I hate xterm. (Request for help.)
Date: 5 Oct 92 14:41:07 GMT
Article-I.D.: math.1992Oct5.144107.17969
Organization: Aggie? What precisely is an Aggie?

Okay, here's what I've gathered so far, using X11R5 on a Sun running
SunOS 4.1.1 (patched for the TIOCONS bug).

xterm has to be setuid to root, so it can properly chown ptys.  Otherwise,
you have a security problem.

xterm cannot be setuid to root, because then anyone can do an xterm -C and
grab the console.  Also a bad problem.

What's the solution, here?

Reply via email if possible.

-- 
---------------------===Comedy!  Sudden, violent comedy!===--------------------
Russ Smith -- russ@math.okstate.edu  |  "This is the Nineties, Bubba, and
  Don Random of the "Random Gang"    |   there is no such thing as Paranoia.
What a pinhead! Does he not fear us? |   It's all true." -- Hunter S Thompson
From: anja@rcc.de (Anja-Maria Seelig)
Newsgroups: comp.windows.x
Subject: problems with OpenWindows2 / OpenWindows3
Date: 6 Oct 92 13:50:51 GMT
Organization: Home


Hello,

I've been developing my final study work with OpenWindows3 in XView on a 
SPARCstation.
Unfortunately, the program is to be run with OpenWindows2, too. 

Running my program with OW2 results in many XView warnings and  finally in
segmentation faults. :-(

Here are some problems with OW2, I do not have with OW3:

I cannot open a popup-window for a second time if it was destroyed by pushing 
the pushpin.
A '\n' in a notice-message-string is not evaluated.

I get many warnings like:
 
Xiew warning: Object 0x2580f0, invalid object (embedding seal incorrect), xv_get
Xiew warning: Object 0x2580f0, invalid object (embedding seal incorrect), xv_set
...

Help is very urgent! 

Many thanks in advance! 
-- 
+------------------------------------------------------------------------+
|  Anja-Maria Seelig             INTERNET : a@rcc.de                     |
|  Heinrichstr. 42                                                       |
|  4800 Dortmund 1                                                       |
Newsgroups: comp.windows.x