HDTenEightyP/NetNews huggingface dataset:
From: kimshi@omar.WPI.EDU (Erik H Currin)
Newsgroups: comp.windows.x.apps
Subject: Re: REQUEST: some way of recording Xevents
Date: 11 Sep 1992 14:59:04 GMT
Organization: Worcester Polytechnic Institute
NNTP-Posting-Host: omar.wpi.edu
Summary: Use XtAddEventHandler

Ok, I thought of something that _might_ work.

First, if you have access to an X manual, look up XtAddEventHandler()
to get better understanding of what exactly the procedure does.  The
file /usr/include/X11/X.h has a list of events with their masks, you
might want to look their also.

So, within your program, try the following:

	XtAddEventHandler(widget, eventmask, nonmaskable, handler, 
			  client_data); 
	Widget widget;  /* The widget you use to record events */
	XtEventMask event_mask; /* If want all of them, set to NoEventMask */
	Boolean nonmaskable; /* Set to TRUE if want application to receive
                                event(s) nonconditionally */
	XtEventHandler handler;  /* The procedure name to call on event */
	caddr_t client_data; /* Data that might want to pass to handler */

For example:

	XtAddEventHandler(w, ButtonPressMask, FALSE, button, my_data);

will call the procedure button on a button press event.
The button procedure takes the following parameters:

	void button(w, client_data, event)
	Widget w;  /* The widget above in XtAddEventHandler */
	caddr_t client_data; /* Any typed data, same type as above */
	XEvent event; /* The actual event */

For example:

	void button(w, my_data, event)
	  Widget w;
	  My_Struct my_data;
	  XEvent event;
	{ 
	  XCloseDisplay(XDisplay(w));
	  exit(0);
	}

would close the display and exit out.

So just look up the XEvent structure, extract what you want, then write it
to a file.  Simple, heh?

Erik Currin
CS at WPI
From: envbvs@epb9.lbl.gov (Brian V. Smith)
Newsgroups: comp.windows.x.apps
Subject: Re: bug in xfig 2.1.4
Date: 11 Sep 92 22:09:19 GMT
Organization: lbl
NNTP-Posting-Host: 128.3.12.98

In article <26247@dog.ee.lbl.gov>, I wrote:

	[...]
 
|> So, the upshot is that you may remove the two lines from w_export.c and w_file.c
|> that parse the translation and override the translations.

The same problem exists in w_print.c.  Do the same thing there also.

-- 
Brian V. Smith    (bvsmith@lbl.gov)
Lawrence Berkeley Laboratory
I don't speak for LBL; they don't pay me enough for that.
Newsgroups: comp.windows.x.apps
From: rvdp@cs.vu.nl (Ronald van der Pol)
Subject: Re: Postscript to bitmap conversion?
Organization: Fac. Wiskunde & Informatica, VU, Amsterdam
Date: Mon, 14 Sep 1992 15:49:07 GMT

dcook@garnet.berkeley.edu (Dan Cook) writes:

:I'm looking for a way to convert some postscript files
:to X11 bitmap format... Does anyone have any ideas?

Have a look at ImageMagick. It can be FTPed from export.lcs.mit.edu.
(~/contrib/ImageMagick2.0.tar.Z).

-- 
		Ronald van der Pol    <rvdp@cs.vu.nl>
From: smith@compound.se (Bjorn Smith)
Newsgroups: comp.windows.x.apps
Subject: Re: X via modem?
Date: 11 Sep 92 06:46:11 GMT
Distribution: comp.windows.x.apps
Organization: Compound Systems AB
X-Newsreader: Tin 1.1 PL5

John C. Schultz (schultz@halley.est.3m.com) wrote:
 
: SLIP will certainly work but is very slow.
: 
: Xremote, currently a proprietary format from NCD, will work much
: better and faster. 

Does that mean that I will be able to use a Visual X15 terminal
over a slip/modem connection with reasonable functionality ?

What does Xremote really do ?
I assume some sort of compression of the X-protocol messages.

Why can't a modem with V.42bis data compression do the same thing ?


Thanks in advance for any kind of help !
-- 
Bj|rn Smith	Compound Systems, phone +46 8 7923689
UUCP:	 	{uunet,mcsun}!seunet!comsys!smith
Domain Address:	smith@compound.se
From: gregm@otc.otca.oz.au (Greg McFarlane)
Newsgroups: comp.windows.x.apps
Subject: xtpanel
Date: 9 Sep 92 04:26:44 GMT
Organization: R&D, OTC Sydney, Australia

A few comments on xtpanel which was announced a few days ago.

I like it. It is a fast way to put a GUI onto system commands. The on-line
help system is good and the fact that the application builder was written
as an xtpanel script shows the power of the system.

It links perfectly with the 3D Athena widget set Xaw3d and looks good if you
add "*background: lightsteelblue" to the application defaults file.

Here is a small script I have written to be called from twm when I want
to open an xterm on another host. I call it from a menu in my .twmrc
file with: f.exec "xtpanel -file $HOME/xtpanel/xtlogin >> $XLOG 2>&1 &".

    dialog={
	label="Enter host name:" 
	name="hostname" 
    }
    button={
	label="Cancel" 
	action=QUIT
    }
    button={
	label="OK" 
	action="SYSTEM if [ x$hostname = x ]
	    then
		# The input line was empty. Ring the bell.
		xbell
	    else
		xterm -title $hostname -e rlogin $hostname &
		# Want to exit xtpanel here. How?
	    fi" 
    }


I have found a couple of problems with this. First, it would be nice to be
able to exit xtpanel from inside a SYSTEM action. This way, when you click
on OK, the xtpanel goes away and the xterm pops up. Currently you have to
click on Cancel to get the xtpanel to go away.

Secondly, it would be nice if an action could be tied to hitting return
in a dialog input string. This would save the user from going back to the
mouse to click on the OK button. There are also cases where an action on
character input is useful.

By the way "xbell" is a simple program to ring the bell on the terminal. Is
there a more standard way to do this?

-- 

                   ACSnet:  gregm@otc.otca.oz.au
Greg McFarlane       UUCP:  {uunet,mcvax}!otc.otca.oz.au!gregm
|||| OTC ||         Snail:  OTC R&D GPO Box 7000, Sydney 2001, Australia
                    Phone:  +61 2 287 3139    Fax: +61 2 287 3299
Newsgroups: comp.windows.x.apps
From: henry@geo.ucalgary.ca (Henry Bland)
Subject: Need slide-show with audio (Sun) pgm
Date: Sat, 5 Sep 1992 04:56:51 GMT
Organization: Geology & Geophysics, University of Calgary, Canada

I'm looking for a program that can display digitized pictures (any format)
and play a running commentary at the same time using the Sun's built-in
audio player.  

Does anyone know of such a beast?

Thanks,
-Henry Bland
University of Calgary, Canada
Xref: sparky comp.windows.x.apps:1035 comp.mail.elm:2365
From: bms@penguin.eng.pyramid.com (Bruce Schlobohm)
Newsgroups: comp.windows.x.apps,comp.mail.elm
Subject: X11R5 xbiff and elm (FYI)
Date: 15 Sep 92 00:55:21 GMT
Followup-To: comp.mail.elm
Organization: Pyramid Technology, San Jose, Ca


The X11R5 xbiff (actually the mailboxWidget) has a new feature, which
I've recently noticed.  If the mail box file has been read since
the widget last noticed that new mail was present, it will automatically
"lower the flag" (use the "no new mail" bitmap).

I actually think this is a nifty feature.  It saves having to click
on the xbiff picture to clear the new mail flag.  This works very
well when you are sitting in front of the xterminal when mail arrives.

I use elm as my mail user agent (MUA), and elm has a similar nifty feature.
Elm will set an alarm, and if you do not enter a command with in a
defineable timeout period, elm will check to see if new mail has arrived,
if it has, it will read the mailbox, allowing quick and easy access to
the message.  This act of reading the mailbox causes the xbiff "flag" to
drop.

So here is what was tripping me up:
I would iconify the xterm window which was running my elm session, and
walk away from my desk.  Upon returning, I would check the xbiff picture,
notice that no new mail had arrived, and would continue to work in one
of my other windows.  At some point I would restore the elm window,
and be surprised to see that new mail had arrived, sometimes hours earlier.

It is possible that other mailers (MUAs) have the same characteristics.

The solution for elm, is to set "timeout = 0" in ~/.elm/elmrc.
This will prevent elm from scanning for new mail when you aren't
actively entering elm commands.

I'm posting this just to let people know.

-- 
bruce schlobohm
bms@pyramid.com
From: alberto@cs.umd.edu (Jose Alberto Fernandez R)
Newsgroups: comp.windows.x.apps
Subject: Address/Phone book for X
Date: 12 Sep 92 03:53:52 GMT
Distribution: comp
Organization: University of Maryland Computer Sc.


Does anybody know about a PD address and phone book utility for X11?
The most important part is that the database should be an ascii file.
So that people can access it from an ascii terminal.

	Jose Alberto.
--
:/       \ Jose Alberto Fernandez R | INTERNET: alberto@cs.umd.edu
:| o   o | Dept. of Computer Sc.    | BITNET: alberto@cs.umd.edu
:|   ^   | University of Maryland   | UUCP: {...}!mimsy!alberto
:\  \_/  / College Park, MD 20742   | 
Newsgroups: comp.windows.x.apps
From: PCV1584@MVS.draper.com (Peter Vernam)
Subject: Re: xnlock.3
Organization: Draper Laboratory
Date: Tue, 8 Sep 1992 23:41:00 GMT

In article <1992Sep3.163245.20274@news.nd.edu>,
kbornhor@bernini.helios.nd.edu (keith bornhorst) writes:

>I have a copy of xnlock  but after extracting everything from the .tar file
>I cannot seem to find the correct way of putting my own password into the
>xnlock.c code.  Could anyone let me know where and how to do this?

Xnlock uses your login password, as obtained via the getpwuid routine,
so you don't need to do anything.

If you were to put the password into the source code, every user would
have to use the same password, or each user would have to build his
own executable from his own modified source -- not very practical in
either case.

--
Peter Vernam                              Email: vernam@draper.com
Draper Laboratory, Inc.                   Voice: 617-258-2735
555 Technology Square                     Fax:   617-258-2705
Cambridge, MA 02139
From: shmdgljd@rchland.vnet.ibm.com (Jay Schmidgall)
Newsgroups: comp.windows.x.apps
Subject: Re: X interface to RCS
Date: 11 Sep 92 12:16:35 GMT
Reply-To: jay@vnet.ibm.com
Organization: IBM Rochester, MN
Disclaimer: This posting represents the poster's views, not necessarily those of IBM

In article <BRUCE.92Sep8114814@suprenum.supr.scm.liv.ac.uk>, bruce@supr.scm.liv.ac.uk (Bruce Stephens) writes:
|> >>>>> On 7 Sep 92 19:59:27 GMT, d3e129@cagle.pnl.gov (Rick A Kendall) said:
|> 
|> > Does there exist such a product.  I have a summer student that wants
|> > to learn to do some x programming and we thought this might be a
|> > useful utility to have.  Any information on the subject would be
|> > useful.  Thanks in advance.
|> 
|> It would be fun, wouldn't it?  I'm assuming you mean a tool with
|> graphical display of the version tree(s), together with
|> point-and-shoot checkout/checkin, and maybe merge.  I've never seen
|> such a thing; the only front-ends I'm aware of are CVS and various rcs
|> modes for GNU Emacs.

HP has a CASE tool called Softbench which gives a GUI interface to RCS and
SCCS, and is extensible for other config management/version control systems.
It does provide point-n-click check in/check out, diff-ing, etc.

Also gives you a nice GUI wrapper around make which provides compile/next
error function, and a funky GUI around dbx, at least on the AIX version.

IBM has licensed this for AIX and markets it under the name
SDE/Workbench 6000.  IBM also markets a CM tool called, suprisingly enough,
CMVC/6000, which does have a version integrated with Workbench.

Been using it for a couple months now and it has proven to be a workable
environment, although I still keep an xterm handy.

-- 
: jay          jay@vnet.ibm.com    My opinions and ideas, not my employer's.
: shmdgljd@rchland.vnet.ibm.com    (c) Copyright 1992.  All rights reserved.
From: dcook@garnet.berkeley.edu (Dan Cook)
Newsgroups: comp.windows.x.apps
Subject: Postscript to bitmap conversion?
Date: 13 Sep 1992 01:27:43 GMT
Organization: University of California, Berkeley
Distribution: world
NNTP-Posting-Host: garnet.berkeley.edu

I'm looking for a way to convert some postscript files
to X11 bitmap format... Does anyone have any ideas?

-uncle dan
From: shirley@fdr.jsc.nasa.gov (Bill Shirley [CSC])
Newsgroups: comp.windows.x.apps
Subject: Re: Wordprocessor for SVR4
Date: 10 Sep 1992 22:36:48 GMT
Organization: Software Technology Branch - NASA/JSC
Originator: shirley@fdr


In article <1992Sep9.212011.18051@hamblin.math.byu.edu>, ocon@bert.cs.byu.edu (John S. O'Conner) writes:
> In article <BuA4Fo.1Ms@constant.demon.co.uk> slangley@constant.demon.co.uk (Simon Langley) writes:
> >Does anyone know of an X-based word processor that allows use of the mouse
> >to mark text and will show different fonts, underlining &c on a single page?
> >
> >-- 
> >   Simon Langley                   (preferred)   slangley@constant.demon.co.uk
> >   Hampstead, London                             slangley@cix.compulink.co.uk
> 
> Try WordPerfect.

or FrameMaker
-- 
Bill Shirley            |  ``Computer Science is not about computers any 
shirley@fdr.jsc.nasa.gov|     more than astronomy is about telescopes.''
Newsgroups: comp.windows.x
From: jty@cs.tut.fi (Yli-Nokari Jyrki)
Subject: xterm reverse video garbles display on sun ipx
Originator: jty@cs.tut.fi
Organization: Tampere University of Technology
Date: Thu, 10 Sep 1992 06:47:29 GMT

I have an annoying problem when running sun's /usr/openwin/demo/xterm
with (at least) adobe courier font: It seems that when a (curses) program
erases reverse-video text from screen by overwriting it with blanks,
the lowest line of pixels is not erased. I guess this is a font problem,
but how can I fix it?

As an aside, I would like to have the dec linedraw character set available,
but this seems to be hacked to only vtsingle, vtbold fonts (that are both too
small and non-iso8859/1. Any nice ways to add them automatically to sun
postscript fonts?

Thank you in advance,

Jyrki Yli-Nokari

--
From: ravi@lub001.lamar.edu
Newsgroups: comp.windows.x
Subject: stop dirty pictures.. how?
Date: 9 Sep 92 18:32:27 +1700
Organization: Lamar University - Beaumont

Hello everyone,

There is one question that is bugging everyone out here. And I received a lot
of questions about this. So, help me out.

Somebody can display some "junk" on your workstation when he sets his DISPLAY
variable to any other Workstation's IP address. Can this be stopped?

another Question:

Are there any ftp sites that have bitmap files in hex? [like the ones that are
used in xsetroot etc.]

I will appreciate all replies. It would be better if I get e-mails so
the news wouldn't be clogged. As usual, I will make a summary if there is
enough interest on this matter. Thank you.

Ravi Kuppanna
From: taylor@foraker.tivoli.com (Eric Taylor)
Newsgroups: comp.windows.x
Subject: Re: Where does SIGUSR1 come from?
Date: 10 Sep 92 18:50:31 GMT
Organization: TIVOLI Systems, Inc.

This is a UNIX signal.
kill -USR1 <the process id>

should do the trick.
From: mramos@dtc.uvigo.es (Manuel Ramos Cabrer)
Newsgroups: comp.windows.x
Subject: Unsubscribe
Date: 14 Sep 92 15:02:31 GMT
Organization: The Internet


	Please, unsubscribe me
			Thanks.
From: steve@ee.pitt.edu (Dr. Steven Levitan)
Newsgroups: comp.windows.x
Subject: Grabs Accelerators and Xt / Athena Widgets
Date: 13 Sep 92 20:27:43 GMT
Organization: Univ. of Pittsburgh, Elec. Eng. Dept.

I am writing an application which has a main drawing window, and another
popup window. I would like to be able to have the popup window (sometimes)
catch button events in the main drawing window. 

1) It seems that an accelerator will not work, since it is a popup window
 the tests I did poping up the window with both XtGrabExclusive vs
 XtGrabNone did not let the popup get events from the main window. It
 just prevented the main window from getting them.

I did do:
   XtSetArg(args[cnt], XtNaccelerators, XtParseAcceleratorTable(strans))

on a child of the poup widget (little_widget) and also:
    XtInstallAccelerators(main_widget, little_widget)

That did not help.

 (am I wrong about this, can it be done?) 


2) I think its possible to do this with an call to 

	XtAddGrab(little_widget, 
		True, /* exclusive */
		True /* spring loaded */
	        )

  The "spring loaded" flag lets little_widget see button events with
  the pointer in the main_widget.

3) Otherwise I need to call XtGrabButton and then register a function 
   to catch the events, right? (yech)

Any help or hints would be appreciated.
-- 
Steven P. Levitan
Department of Electrical Engineering
348 Benedum Engineering Hall
University of Pittsburgh, 15261
(412) 648-9663 FAX: 624-8003
Internet: steve@ee.pitt.edu
BITNET: levitan@pittvms
Newsgroups: comp.windows.x
From: tom@uts.cc.wayne.edu (Thomas Richard Stevenson)
Subject: Re: Questions regarding TVTWM
Organization: Wayne State Univ.
Date: Fri, 11 Sep 1992 03:41:32 GMT

In the version of tvtwm I ftped, I think from export.lcs.mit.edu, it
came with a version of xsetroot called ssetroot. It works both before and
after starting tvtwm, but the act of starting tvtwm does cause the ssetroot
to be replaced with the default tvtwm root. As I said, it does work after
tvtwm is started, so you could setup something to cause ssetroot to run
after tvtwm is going. One thing I was thinking of trying, I have no idea
if it will work, is to place a 

(sleep 30; ssetroot bla bla bla) &
exec tvtwm

This might cause ssetroot to wait long enough to start after tvtwm
is running.
From: barmar@think.com (Barry Margolin)
Newsgroups: comp.windows.x
Subject: Re: Shared Libs: How can this EVER work?
Date: 10 Sep 1992 16:57:36 GMT
Organization: Thinking Machines Corporation, Cambridge MA, USA
NNTP-Posting-Host: telecaster.think.com

In article <4953@metasoft.UUCP> alan@metasoft.UUCP (Alan Epstein) writes:
>How are the shared lib versions my applications expects supposed to
>sync with those on the target system? Do I have to link multiple
>versions for customers of various OS levels?

You should link with the version of the shared library on the oldest system
you wish to support.  SunOS-style shared libraries (which seem to be what
you're describing) are designed so that a program will find a newer minor
revision at runtime and use it (of course, the library maintainer must be
careful to maintain upward compatibility).
-- 
Barry Margolin
System Manager, Thinking Machines Corp.

barmar@think.com          {uunet,harvard}!think!barmar
From: khamer@sumax.seattleu.edu (Little Kenny Hamer)
Newsgroups: comp.windows.x
Subject: Xdtm compile
Date: 5 Sep 92 16:17:59 GMT
Article-I.D.: sumax.4962
Organization: Seattle University, Seattle WA

well, actually, I can't get the Makefile to work.  I obtained Xdtm source
from ftp.uu.net, and used xmkmf to create the Makefile for my system. 
However, there is an error in the syntax of the makefile:

Makefile:411: missing separator. Stop.

This was verified by moving the makefile to my /tmp directory all by
itself and trying again..  Same error, so it Must be the Makefile. 
However, I can't find it.  Has anyone had this experience?  Can anyone help?

Thanks,

     Ken Hamer
     khamer@sumax.seattleu.edu
From: rmf@bpdsun1.uucp (Rob Finley)
Newsgroups: comp.windows.x
Subject: ACM flight sim and owm 3.0.  What was the patch for acms dump core?
Date: 8 Sep 92 00:28:02 GMT
Organization: Harris Allied Broadcast Div., Quincy, IL


Greetings.  At last, our sysadmin dumped owm2.0 and installed 3.0 and
all the wonderful libraries needed to compile acm, the flight simulator.


I got past the font problem in NewPlayer.c (going from 17pt to 18pt).

Now, the library test works great and I can start up acms without
problems but when I try to run acm, acms gets a segmentation fault
and dumps core.


Was this problem ever resolved?  Email to the author bounces.
Thanks for your time.

Robert


-----
quintro!bpdsun1!rmf@lll-winken.llnl.gov or uunet!tiamat!quintro!bpdsun1!rmf
Newsgroups: comp.windows.x
From: aardvark@nt1l.krl.com (Donald Koch)
Subject: Re: How do you record server/client dialog?
Keywords: record playback fake-out server
Organization: Koch Research Labs
Date: Fri, 11 Sep 1992 23:52:23 GMT

In article <1992Sep11.173044.4614@pixel.kodak.com>, jmoore@ssd.kodak.com (James H. Moore 726-0322) writes:
> I heard of a reference to a public domain tool which basically listens to
> the X server / client dialog, and records it.  Later, you can play
> the dialog back to the server and have it display (real-time) what was
> done previously.  Playback will not need the original application(s) or
> hardware configuration.  This is intended to record demonstations to
> be played back later in a minimal X configuration.

You are probably referring either to xscope, which records the dialog between the
client and server and dumps it to an ascii file, or the input synthesis extension,
which lets you record and playback input events for testing programs.  I've not
heard of a program that does what you want.  I suspect you could modify xscope
to dump a binary file out for filtering and playback.  You need to add timing info,
synthesize the input, and handle the responses from the server.

-- 
Don Koch
aardvark@nt1l.krl.com
From: valente@sissa.it
Newsgroups: comp.windows.x
Subject: .xbm files
Date: 7 Sep 92 07:51:04 GMT
Organization: Intnl School for Adv Studies

Hope this question is not *TOO* trivial:
What are .xbm files?

Ricky
valente@tsmi19.sissa.it
Newsgroups: comp.windows.x
From: bulb@banruc60.BITNET
Subject: Test,ignore please.
Organization: The Internet
Date: Sun, 6 Sep 1992 13:24:19 GMT

dd
From: khamer@sumax.seattleu.edu (Little Kenny Hamer)
Newsgroups: comp.windows.x
Subject: Fractal programs for X
Date: 7 Sep 92 06:08:03 GMT
Article-I.D.: sumax.4978
Organization: Seattle University, Seattle WA


Can anyone tell me where I might find a fractal generation program for X? 
I seem to remember having heard of one called Xfract, but I can't seem to
find it anywhere.  

Thanks,
     Ken
     khamer@sumax.seattleu.edu