HDTenEightyP/NetNews huggingface dataset:
From: richm@netcom.com (Richard Mauri)
Newsgroups: comp.windows.x,comp.windows.x.intrinsics
Subject: Using Xrm routines in widget code to provide persistence
Date: 26 Jan 93 19:04:04 GMT
Followup-To: poster
Organization: Netcom - Online Communication Services  (408 241-9760 guest)


The XJournal issue Jan-Feb 1993 has an article titled
"Modifying user preferences". It deals with using the Xrm
Xlib resource management routines to provide a facility
for loading/saving resources to a user resource database.

This seems like a good way for a custom widget of mine
to be able to acquire persistence-like functionality. 
I'd like each instance of the widget to read/write a resource 
file and merge the results with those loaded by Xt. 
Maybe I could have a resource file named XtName(my_widget) 
and each time an instance of that name is created I could 
read this resource file and then merge the databases.

Unfortunately I am having some dificulty , i.e, bus errors
down under XrmPutFileDatabase(). It seems straight forward
enough, but I am at a loss... Here's what I'm trying

To read the resource file is: (No problems)
a) db = XrmGetFileDatabase()
b) iterate over all my resources using XrmGetResource()
c) override the resources set by Xt in my Initialize()
   (This is a manual merge, I know.)

To save the resource file: (Problems in XrmPutFileDatabase)
a) db2 = XrmGetStringdatabase("")
b) iterate over all my resources using XrmPutLineStringResource() into db2
c) Use XrmPutFileDatabase(dp2, path_to_my_resource_file)
d) Should I XrmDestroyDatabase(db2)

Does anyone know:
1. Where the source to this Xjournal article is.
	I've checkes export and uunet and only jan 92 is available.
2. Where I could get some examples of this
3. Better way to provide persistence using the resource mechanism
	with respect to having a widget be able to get/save it's
	custom resources.
4. If I'm totally clueless

Thanks, Rich
-- 
Richard Mauri 
Software Engineer/Boardhead
Trimble Navigation Ltd.
email: richard_mauri@Trimble.com
email: richm@netcom.com
Newsgroups: comp.windows.x
From: hschult@gwdgv1.gwdg.de
Subject: xbiff for multiple mailboxes
Reply-To: hschult@gwdgv1.gwdg.de
Organization: GWDG Goettingen, F.R.Germany
Date: Sat, 23 Jan 1993 18:31:04 GMT

X-Gurus,

is there a version of XBIFF which will show if mail has arrived for any one
of several accounts?  What I imagine is an icon divided into horizontal
strips with a name in each strip.  When mail arrives for an account on my
machine, the corresponding strip would change color.

As system administrator, my screen is getting cluttered up with icons.
Several of them are xbiff; it would be a big help if I could condense them.
My machine: Sun SparcStation 1 running OW3.

Thanks,
..Howard  (hs@demeter.ukps.gwdg.de)
From: beck@irs132.inf.tu-dresden.de (Andre Beck)
Newsgroups: comp.windows.x
Subject: Drag-n-Drop
Keywords: Xlib Xt drag drop
Date: 26 Jan 93 14:52:54 GMT
Reply-To: Andre_Beck@IRS.Inf.TU-Dresden.DE
Organization: Dept. of Computer Science, TU Dresden, Germany.
NNTP-Posting-Host: irs132.inf.tu-dresden.de


Hi,

I'm on the way to write a X Desktop Manager for the PD that uses a self
implemented IconBox widget with Drag-n-Drop functionality.

The problem is, where to get Documents about current D&D implementations
on top of X ? I've heard that Motif 1.2 and also OpenLook use D&D in some
compatible manner, but where to get Info about the protocol they use ?
(It would be nice to be compatible with some commercial applications)

My current understanding of the X IPC facilities (or better to say
ICC for Inter Client Communication) tells me that it will very likely use
the X Selection Algorithms with some special destination type atoms to
provide D&D in a way that also would work without D&D and doing D&D only
as a kind of nice animation. I would also Implement it that way, but with
the right pointer to the protocol level docs, I could make it highly
compatible. I'm also interested in how they break out of the X Pointer
grab model without getting problems/race conditions.

==> If you know about places where to find such dox (export's drag-n-drop
    directory looks emty) please post them here or mail me.
    I'm not interested in dox about the routines Motif 1.2 or OL provide
    the programmer to make D&D, I won't use them. The PROTOCOL is what
    I'm looking for.

Thanx.


--
+-o-+--------------------------------------------------------------+-o-+
| o |                \\\-  Brain Inside -///                       | o |
| o |                    ^^^^^^^^^^^^^^                            | o |
| o | Andre' Beck (ABPSoft) mehl: Andre_Beck@IRS.Inf.TU-Dresden.DE | o |
+-o-+--------------------------------------------------------------+-o-+
From: dforan@pilot.njin.net (David Foran)
Newsgroups: comp.windows.x
Subject: multiple fonts in a single window
Keywords: multiple fonts X windows
Date: 26 Jan 93 16:02:45 GMT
Distribution: usa
Organization: Rutgers Univ., New Brunswick, N.J.


Hello,

I am working with a SGI 4D70GT running X windows. I am a novice to X windows 

and I am interested in displaying more than one font in a window, 

simultaneously. How does one load different fonts within a single window 

at the command line?

		Thanks in advance,

         		david

	Please respond to djf@mirage.umdnj.edu
Newsgroups: comp.windows.x
From: rob@dragon.acadiau.ca (Rob Hutten)
Subject: xterm -need it be suid?
Organization: Acadia University
Date: Thu, 21 Jan 1993 19:36:07 GMT

I didn't see this in the FAQ nor TFM, but I think this may have been
discussed before.  Should xterm be suid?  I've heard murmurings that
a security hole exists otherwise.  

I'll summarize email responses- thanks.

-Rob



-- 
Rob Hutten, UNIX Systems Programmer   Acadia University, Wolfville, NS
rob@dragon.acadiau.ca
From: jdc@.cse.nau.edu (John Campbell)
Newsgroups: comp.windows.x
Subject: xterm key mapping
Date: 27 Jan 93 23:37:14 GMT
Organization: Northern Arizona University, Flagstaff AZ
Originator: jdc@kendrick.cse.nau.edu

I'm frustrated.  I've read and reread the xterm man page on my Sun 4.1.3
system (we run OpenWindows 3) trying to figure out what to do about the
key mappings.  I'm looking for VT100 keys PF1, PF2, PF3 and especially
PF4 (to use with the VMS EVE editor).  I'm pretty sure the default
key mapping doesn't have these defined.

So, I thought I'd define them.  But I've run into a confusion because
I don't know what, excatly, a "resource" is or how to set the X toolkit
keymap() resource.  Probably, for this group, this is a trivial question,
but could someone, offline, send me mail and tell me how to do this
with xterm on a Sun?  I played with .Xdefaults and the example in
the xterm man page to no avail.  Is this where I start?  

Here's the example from the man page, by the way:

VT100.Translations: #override <Key>F13: keymap(dbx)
         *VT100.dbxKeymap.translations: \
              <Key>F14: keymap(None) \n\
              <Key>F17: string("next") string(0x0d) \n\
              <Key>F18: string("step") string(0x0d) \n\
              <Key>F19: string("continue") string(0x0d) \n\
              <Key>F20: string("print ") insert-selection(PRIMARY, CUT_BUFFER0)

Thanks!
 
-- 
	John Campbell               John.Campbell@nau.edu
        jdc@sunset.cse.nau.edu      JDC@NAUVAX.UCC.NAU.EDU
Newsgroups: comp.windows.x
From: wacren@lri.fr (Laurent WACRENIER)
Subject: Re: X screen dump
Organization: Laboratoire de Recherche en Informatique
Distribution: comp.windows.x
Date: Sat, 23 Jan 1993 12:33:38 GMT


In article <LALLEMEN.93Jan20185340@bellieni.loria.fr>,
lallemen@bellieni.loria.fr (Yannick Lallement) writes:
|> 
|> I need to dump an entire X screen to a file. xwd does not do that. I
|> need something which can work on a X-terminal (the Sun "screendump"
|> is
|> not ok.) If you have any idea...
|> 

Type:
	xwd | xwud
Newsgroups: comp.windows.x
From: rob@cosc.canterbury.ac.nz (Rob Whitehead)
Subject: Fast X graphics
Organization: University of Canterbury, Christchurch, New Zealand
Date: Tue, 26 Jan 1993 00:18:01 GMT


Hi,
   I'm posting this message in the hope that someone can give me some
pointers. I've have ported the Flying Toasters screen saver to unix
running on an X terminal under X11R5. Everything works as planned
apart from an anoying flicker as each image is redrawn.

I have stored each flying frame as an XImage and i'm using XPutImage
to transfer each frame a screen sized window. Each image is 8 bits deep
and i'm using the default colormap. Each image is normally moved 1 pixel
left and 1 pixel down each time through the event loop. The XPutImage 
call produces a flicker as if the image is being inverted before being
redrawn. (i explicitly remove the image area that is not redrawn by the
XPutImage call.)

Questions:

1/  Is there an easir or better way of drawing XImages.

2/  Should I use pixmaps instead, I tried this but the process appeared to
increase its memory size without bounds.

3/  Should I use a custom colormap, would this stop the anoying flicker.

4/  Is their any source code available that uses fast 8bit graphics that
I can look at for hints.


Thanks for any help.

ps. Sorry if this is the wrong group, other suggested groups would be
welcome.

============================================================
Rob Whitehead		    email: rob@cosc.canterbury.ac.nz
			    snail: Dept of Computer Science
I'm Rob - 			   University of Canterbury
    who the hell is Bart!!	   New Zealand



Newsgroups: comp.windows.x
From: oj@miki.pictel.com (Oliver Jones)
Subject: Re: How to restrict mouse motion?
Organization: PictureTel Corporation
Date: Thu, 21 Jan 1993 19:17:23 GMT

In article <1993Jan18.075613.27823@cucs5.cs.cuhk.hk> mkkock@ie.cuhk.hk (kock mun keung) writes:
>	Is there any way to restrict the movable 
>       area of the mouse to a particular window?

Look up the confine_to parameter in the XGrabPointer and
XGrabButton requests.
From: donald@ilx018.intel.com (Rich Donald)
Newsgroups: comp.windows.x
Subject: Xredisplay
Date: 27 Jan 93 11:12:52 GMT
Organization: Intel Israel (74) Ltd.
NNTP-Posting-Host: ilx104.intel.com
X-Newsreader: TIN [version 1.1 PL8]

Hi,

    I have been asked to find a tool called Xredisplay.  This tool can be
used to record and replay Xwindows commands, but I might be wrong.  We
have been told that this could be used for testing interactive Xwindows
applications.  Could anyone who knows about this respond by Email.  We
have also been told that it is available in the public domain, so we
would like to know where it could be ftp'ed.

Donald Rich		donald@iil.intel.com
From: etxmesa@eos.ericsson.se (Michael Salmon)
Newsgroups: comp.windows.x
Subject: Re: How to make X11R5 build with gcc libraries
Date: 28 Jan 93 08:13:10 GMT
Reply-To: etxmesa@eos.ericsson.se (Michael Salmon)
Organization: Ericsson Telecom AB

In article <1k4knd$sb0@agate.berkeley.edu>, payam@landau.Berkeley.EDU (Payam Mirrashidi) writes:
|> I am currently trying to rebuild X11R5 using gcc. After I uncomment
|> the HasGcc line in the site.def file, how do I tell the imake,etc...
|> where the actually gcc libraries and include file are? My problem
|> lies in the fact that I am getting them off NFS and thus they are not
|> in the standard places.
|> 
|> Or is this something I don't have to worry about.

It is something you don't have to worry about. If you haven't moved
them since compiling gcc then gcc knows where they are.

-- 

Michael Salmon

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

Ericsson Telecom AB
Stockholm
From: brown@ftms.UUCP (Vidiot)
Newsgroups: comp.windows.x
Subject: Re: 'Virtual' window manager
Date: 21 Jan 93 21:06:31 GMT
Reply-To: brown@ftms.UUCP (Vidiot)
Organization: Vidiot's Other Hangout

In article <C15GCC.2zw@cck.coventry.ac.uk> csg078@cch.coventry.ac.uk (~Zebedee~) writes:
<
<Does anyone know where I can get a copy of the 'virtual' window managers
<(ovwm and tvwm, I think)?
<
<It's where you have a area many times bigger than the screen, and can group
<windows in the different 'virtual' screen areas, and switch between them.
<(Similar to NeXTs virtual window manager).

olvwm is available on ft.uu.net.  I forget where.  Grab the ~/ls-lR.Z file
for a list of everything that is available.

<~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<Jon Smart, Comp Sci                 | Email: csg078@uk.ac.cov.cch
<Coventry University, Coventry, UK   |		 
<~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

BTW, the address listed in the .signature is incorrect, sort-of :-)  Because
the British like to do everything backwards (you know, driving on the wrong
side of the road :-), the e-mail adress are also reversed.  I forget the name
of the UK net, but British .sigs need TWO email lines, one for the UK net and
one for INTERNET.  So, for Internet, this person's address is:

	csg078@cch.cov.ac.uk
-- 
harvard\
  ucbvax!uwvax!astroatc!ftms!brown  or  uu2.psi.com!ftms!brown
rutgers/
INTERNET: brown@wi.extrel.com  or  ftms!brown%astroatc.UUCP@cs.wisc.edu
Newsgroups: comp.windows.x
From: bjork@telebit.com (Steven Bjork)
Subject: Re: failing to build XsunMono on a Sun with gcc
Organization: Telebit Corporation; Sunnyvale, CA, USA
Date: Thu, 21 Jan 1993 21:05:01 GMT

In article <C15Hoz.1vv@gabriel.keele.ac.uk> gerry@keele.ac.uk (G.D.Pratt) writes:
>With X11R5, public-patch-17 on a Sun3 running SunOS Release 4.1.1 and
>using gcc version 2.3.1 I'm building Xsun but failing to build XsunMono.

Also failed on sun2, os 4.0.3, same gcc, but only patch 5.
I just punted and forced a link with pex, but the server
swells to over a meg...

Not a pleasant situation with a four meg machine (grimace).

../Steven
Xref: sparky comp.windows.x:21468 comp.protocols.tcp-ip.ibmpc:7632
From: cmitcdhd@dowsv01.osd.aes.doe.CA (Dave Howard)
Newsgroups: comp.windows.x,comp.protocols.tcp-ip.ibmpc
Subject: Re: Hummingbird and FTP PC/TCP 2.11 problem
Date: 22 Jan 93 14:08:49 GMT
Reply-To: cmitcdhd@dowsv01.osd.aes.doe.CA (Dave Howard)
Organization: Environment Canada


  My config : HCL eXceed/W v3.1.1
              PC/TCP 2.11
                  Cabletron E2112-X
              Windows for Workgroups

  I would reply e-mail, however I'm using xrn to read news on a remote nntp
server, and for some reason when I "reply", my session hangs...

  I don't recall having to tweak ANYTHING in my PCTCP.INI to get this to work.
MAYBE you need to increase your TCP-CONNECTIONS or buffers (LARGE-PACKETS
SMALL-PACKETS).  In short, I suspect your trouble is not with the PC/TCP side.

-- 
David Howard
Downsview Client Services
Atmospheric Environment Service
Newsgroups: comp.windows.x
From: jncoco@jumbo.Read.TASC.COM (Joe Coco)
Subject: Doug Young's C++ Class Defaults
Organization: The Internet
Date: Thu, 21 Jan 1993 20:46:18 GMT

Has anyone tried using the code in Doug Young's Motif/C++ book that merges
class defaults into the resource database?  I am referring to the function
setDefaultResources() on page 99 (in my version anyway).  Class resources is
a very useful concept, but I am having sporadic problems with it.  
Sometimes it works, other times it does not work at all, and still other
times the code dumps core trying to create widgets immediately after the call
to setDefaultResources().  Also, does anyone have Doug's email address?

Thanks,
Joe Coco

TASC
55 Walkers Brook Drive
Reading MA  01867

email : jncoco@tasc.com

Newsgroups: comp.windows.x
From: mark@bhanu.andyne.on.ca (Mark Levison)
Subject: Conferences
Organization: The Internet
Date: Mon, 25 Jan 1993 15:43:59 GMT


In the next couple of days I have to choose between going to XWorld and
Xhibition.  I would like to hear about any comments people have about these
conferences.  Could you please email replies directly as I am unable to read
this group.

Cheers
Mark Levison
mark@bhanu.andyne.on.ca
From: eng40050@nusunix1.nus.sg (HENG LI SAN)
Newsgroups: comp.windows.x
Subject: how to check for pushbutton event while looping...
Summary: stopping an video loop by pressing an image
Keywords: multitasking, video loop...
Date: 28 Jan 93 08:35:24 GMT
Organization: National University of Singapore
X-Newsreader: TIN [version 1.1 PL6]

Anybody out there know how can I stop a video loop when I press a
pushbutton.  I have tried to use commands like
XtPending/XPending,XtProcessing etc but somehow, the progress run into
any infinite loop.

any comment on my algorithm....

while(!Terminated)
	
{
     	if i>(no of image) i=0;
	diplay image(i)
	check for pushbutton event
	if pushbutton , handle the event callback
	i++;
}



EventCB{
Terminated = True 
}


If anybody has done this , or have an idea on how to do this, please
leave me a note.  Thanking in advance.
 
Lisan.
Newsgroups: comp.windows.x
From: logier@cheops.qld.tne.oz.au (Rob Logie)
Subject: Re: Who knows about a X-Terminal without Monitor and Keyboard
Organization: Telecom Australia, TNE Computer Support Services
Date: Sat, 23 Jan 1993 00:27:12 GMT

cracauer@wavehh.hanse.de (Martin Cracauer) writes:

>Hello!

>I am looking for a X-Terminal without Monitor, Keyboard and Mouse. I
>want to connect an Eizo 660i, a PC Keyboard and a standard serial
>mouse to it.

>The sense in this is that I can choose all these components.

>Does anybody know of such a product ? Can one buy NCD's components ?


>[Dont say, use a PC with X11-Emulator. It is to slow.].

>Thanks.
>-- 
>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>Martin Cracauer <cracauer@wavehh.hanse.de>, WAVEDATA, Norderstedt, Germany


I think you can buy HDS X-Terminals without monitors.  They then support
quit a few different types and resolution monitors, selectable via a
switch inside the box.



-- 
Rob Logie                         | The opions expressed are mine alone and in
Telecom Australia ACN 051 775 556 | no-way reflect the views or policies of the
TNE Computer Support Services     | Australian and Overseas Telecommunications
EMAIL: logier@cheops.qld.tne.oz.au| Corporation. "These are my opinions alone"
Newsgroups: comp.windows.x
From: rich@bostech.com (Richard Baughman)
Subject: Fast port from Sunview to X/Motif?
Organization: Boston Technology, Inc.
Date: Thu, 21 Jan 93 19:31:17 GMT

We have a Sunview app that we'd like converted to X or Motif.  Which would be
easier?  I am not interested in running the Sunview app under X/Open Look - we
need it to run under Motif 1.2 X11R5.  I seem to remember Sun offering some
kind of porting package for this that would actually make an attempt to
change the sunview/sunwindow lib calls to X calls.  Could anyone offer some
advice to an X neophyte (new Motif user, no X programming experience, fair
amount of sunview, lots of C)?

Thanks - please reply via email.
-- 
Rich Baughman / Boston Technology / Wakefield, MA
rich@bostech.com
Newsgroups: comp.windows.x
From: diekman@iw.uni-hannover.de (Uwe Diekmann)
Subject: Which X-Apps Development Environment ?
Reply-To: diekman@iw.uni-hannover.de
Organization: Institut fuer Werkstoffkunde, Uni Hannover
Date: Thu, 28 Jan 1993 13:18:43 GMT

Hallo,

I am looking for a good Development Environment for X-Applications in C or C++. 

The development and runtime of the application should not be restricted to a particular
hardware or Unix-version or WM or X-Implementation (like Motif or OpenLook). 
The environment should be stable and easy to learn.

What is the best and most cost effective ? XView, OLIT, Interviews, Motif ?
Who can help ?

Thank you.
          Uwe
From: aad@siemens.com (Anthony A. Datri)
Newsgroups: comp.windows.x
Subject: Re: Openlook/Motif
Date: 23 Jan 93 07:47:34 GMT
Organization: Siemens Corporate Research, Princeton (Plainsboro), NJ

>OpenWindows, version 3, windowing system from Sun claims to be able 
>to simultaneously handle openlook, motif, sunview and postscript.

No big deal, since "openlook" and "motif" are only appearance and behavior
specs for applications.

-- 

======================================================================8--<
From: klute@tommy.informatik.uni-dortmund.de (Rainer Klute)
Newsgroups: comp.windows.x
Subject: Re: X11R5 and Type 1 fonts
Date: 26 Jan 1993 10:37:46 GMT
Organization: CS Department, Dortmund University, Germany
Distribution: world
NNTP-Posting-Host: tommy.informatik.uni-dortmund.de

In article <GUENTHER.93Jan18130439@amcl5.stolaf.edu>, guenther@stolaf.edu
(Philip A Guenther) writes:
|> Well, someone (sorry, I forgot your name... :-( ) sent me the
|> proverbial single line patch that has cleared up the problem.

That was me.

|> As it's
|> so short, I'll include it at the bottom of this posting, but perhaps
|> the next question is: how can this get included with the contrib
|> patches already on export.lcs.mit.edu?  Is there an address for
|> contrib bug reports, or should it be mailed to someone at IBM (who
|> donated the Type1 font renderer) so that they can update what goes in
|> the contrib?  Anyone?

The MIT X Consortium has taken over maintenance for the Type 1 font
renderer, and I sent them the fix. It should show up in X11R6 at least.

-- 
  Dipl.-Inform. Rainer Klute      klute@irb.informatik.uni-dortmund.de
  Univ. Dortmund, IRB
  Postfach 500500         |)|/    Tel.: +49 231 755-4663
D-W4600 Dortmund 50       |\|\    Fax : +49 231 755-2386
Newsgroups: comp.windows.x,comp.protocols.tcp-ip.ibmpc
From: tkevans@fallst (Tim Evans)
Subject: Re: Hummingbird and FTP PC/TCP 2.11 problem
Reply-To: tkevans@eplrx7.es.dupont.com
Organization: Tim Evans
Date: Fri, 22 Jan 1993 10:36:14 GMT

markb@spock.dis.cccd.edu (Mark Bixby) writes:

>I just upgraded from FTP's PC/TCP 2.05 to 2.11 and now I can't get an
>X session established with Hummingbird's EXCEEDP.  I apologize if this is
>a FAQ; I've seen it asked many months ago, but I stupidly didn't read it
>because I wasn't on 2.11 yet.

>Symptoms are "connection refused" and "can't open display" errors from the
>Unix side.

>I assume there's something I have to fix in the pctcp.ini file.

Probably you have to use the 'use-old-init-scheme' entry and create
the IPCUST.SYS and IPCONFIG.SYS.  See the "backware compatibility
notes in the PC/TCP 2.1 manual.
-- 
UUCP:		{rutgers|ames|uunet}!mimsy!wb3ffv!fallst!tkevans
INTERNET:	tkevans@fallst.es.dupont.com
Tim Evans	2201 Brookhaven Ct, Fallston, MD 21047