HDTenEightyP/NetNews huggingface dataset:
From: oj@pictel.com (Oliver Jones)
Newsgroups: comp.windows.x
Subject: Re: Caching pixmaps
Date: 9 Apr 92 17:19:52 GMT
Article-I.D.: pictel.1992Apr9.171952.7010
Organization: PictureTel Corporation

In article <9204071559.AA01289@opus.starlab.csc.com> bgendler@opus.starlab.csc.COM (Bruce Gendler) writes:

>  I am using XCopyArea to perform [scrolling on a 600x600
>  display in a 300x300 viewport.]
>1.  Are 90,000 bytes being sent from the program to
>    the X Server every time XCopyArea is called?
Heck, no!  The image bytes only get sent when you do XPutImage
or the equivalent.
>2.  Is there a notion in X of caching the pixmap on
>    the server and only sending the server the copy
>    parameters rather than the 90,000 bytes?
Yes, that's how XCopyArea and XCopyPlane work.


Ollie Jones                  PictureTel Engineering
email:  oj@pictel.com        222 Rosewood Drive
tel:   +1(508)977-8396       Danvers, MA 01923-1393
video: (+1)700-561-9938&9939 fax: +1(508)532-6893
From: ksk@ksksun.bioc.aecom.yu.edu (Ken Krauter)
Newsgroups: comp.windows.x
Subject: X11R5 font server
Keywords: font server, rpc ports
Date: 9 Apr 92 13:23:04 GMT
Reply-To: ksk@ksksun.bioc.aecom.yu.edu
Organization: Sun Microsystems, Inc.


I have recently install X11R5 on my Sparc 1+ and I find that it works great.  The
speed compared to the SUN version of X11R4 which carries all the overhead of
sunview, NeWS and X11 is impressive.  We are on a network of Sparcs and it makes
sense to store fonts and most executables on one server.  X11R5 comes packaged with
a font server daemon which supports this.  I am not much of a hacker but the code
for the daemon compiled flawlessly.  Also, the daemon loads and runs just fine.  
However, when I try to access the shared fonts on the machine running the fs server,
the program attempting access bombs (i.e. fslsfonts, fsinfo) with a message that
the server cannot be found.

fs &
fsinfo
fsinfo:  unable to open server "(null)"
fsinfo -server ksksun:6000
Binding TCP socket:  Address already in use
Error:
Fatal server error!
Error:  Cannot establish any listening socketsError:


I don't understand much about sockets and really don't understand TCP calls.  However
the X11R5 documentation on this subject is rather thin and in principal, the
commands above should work.  So I have the sense that this is simply a configuration
problem.  Has anyone used fs?  Anyone have any suggestions?  

Thanks in advance.

ksk@ksksun.ca.aecom.yu.edu
From: beilby@latcs1.lat.oz.au (Scorpius)
Newsgroups: comp.windows.x
Subject: How do I show an Image a X prog.
Date: 6 Apr 92 04:00:02 GMT
Organization: Comp Sci, La Trobe Uni, Australia
Originator: beilby@latcs4.lat.oz.au


	I tried posting this Q before, but it didn't apear to get out.

	How do I display an image using the Athena widget set?  The image
will be in basicly 8 bit Sun Raster format, ie 256 bytes * 3 LUT, sperate
from the image which is hight*width bytes.

	It apears that to display images I need to put them into pixmap
format, but how to do that and what to do then is a little beyond me.
		
                                     / / / /     __
                                )--/+-+-+-+---  '  \
                                  (8| Scorpius>\___/
                                )--\+-+-+-+---
                                     \ \ \ \
					
					beilby@latcs1.lat.oz.au
From: mahesh@vu-vlsi.vill.edu (MAHESH BAGADE)
Newsgroups: comp.windows.x
Subject: Algorithm for string search in a XmText widget.
Date: 10 Apr 92 13:45:58 GMT
Organization: Villanova University

Hi Netters!

Can some somebody mail me a rough algorithm as to how do a keyword
search facility in a XmScrolled Text ot XmText widget.

The functionality should be as follows:

When the user types in a key word and selects Forward/backward search,
that word should be searched for and highlighted.

Thanks in advance...

Mahesh Bagade
From: beau1029@hgc.edu (donald beaudry)
Newsgroups: comp.windows.x
Subject: Source for xfig
Date: 10 Apr 92 02:51:33 GMT
Organization: The Hartford Graduate Center

Is there an ftp site were I can find the source for xfig?  I am looking for
a version that will run under X11R4.  Is there an ftp site with the
X distribution expanded?

Thanks.
From: jarober@aplcen.apl.jhu.edu (DE Robertson james an 410-740-9172)
Newsgroups: comp.windows.x
Subject: Re: Motif vs Open-look vs X
Date: 8 Apr 92 22:12:11 GMT
Organization: Johns Hopkins University

ahsiung@bbn.com (Anita Hsiung) writes:

>mark@telesys.ncsc.navy.MIL (Williams) writes:
>>>  We are planning to build a large windows application
>>>  and would like suggestions on the following     
>>>  topics:

>My responses are off the top of my head and opinions are mine only...

>>>    1. What platform should we select? (Motif, open-look, basic X)

>Motif/Open Look -- Commercial, so you have to pay.  With this payment,
>	you would receive probably more support in terms of
>	consulting.  They both look nice (I like Motif better) with
>	more 3-D effects, documentation is confusing (different
>	authors say different things and there are outright errors in
>	many manuals) but if you know what you're doing, it's a little
>	bit "easier" and quite flexible.

	The above depends. If you have Suns, you already have the tools to
develop XView and OLIT apps free. Shipping the libs and OLWM doesn't 
cost either, and the source for XView is free.

	For Motif, it comes shipped on many platforms, and I believe that 
the royalty (license ?) fee is $50.00 per app shipped. This is more
expensive than OpenLook, but considering the cost of the average Unix
app, it's not too bad.


>>>    2. What programming tools are available to assist software 
>>>       development in the selected environment?

>Hmm..  There are a few packages that help you create user interfaces,
>I believe Sun produces one and some other small software companies may
>have some, BUT, from what I've heard (I haven't tried any of them) you
>have to be a C, UNIX and X expert already to learn them, or the code
>they create is too muddled for use, or by the time you learn how to
>use them, you could have created all the code by typing in the first
>difficult widget, then using cut-and-paste.

	If you have a SUN system, get devGuide. It's far easier to
learn XView or OLIT from scratch if you have devGuide. There are similar
Motif tools available, although I haven't any experience with them.

>>>    3. Other pointers/suggestions for windows programming
>>>       development.

>Go slowly.  Create one parent widget, compile, look at it.  Add one
>child, compile, look at it.  Add one more child, etc...  After that,
>cut-and-paste!

	Get a builder. It will save you time, effort and money.

>Good luck!
> Anita 

>---------------------------------------------------------------------------
>| Anita Hsiung       |                                                    |
>| ahsiung@bbn.com    | "Roads?  Where we're going, we don't need roads!"  |
>| BBN, Inc.          |                               Doc Brown            |
>| Canoga Park, CA    |                                                    |
>---------------------------------------------------------------------------

	Jim Robertson
	jarober@aplcen.apl.jhu.edu
Newsgroups: comp.windows.x
From: rob.e.allan@hydro.on.ca ()
Subject: help! getting XWarpPointer to work in xview
Organization: Ontario Hydro
Date: Mon, 13 Apr 1992 12:57:03 GMT

I can't seem to be able to get XWarpPointer to work at all
in an xview program under OpenWindows 2 (olvwm). I'm not
really an xlib programmer, so could someone out there please
let me know how it can be done? (Some example code would be
greatly appreciated.) 

I've already tried comp.windows.open-look and alt.toolkits.xview
and I have only got "let us know what you find out" email.
Thanks alot for any assistance you can give, I'm really
stuck right now.


rob allan	email: rob.e.allan@hydro.on.ca
From: rps@arbortext.COM (Ralph Seguin)
Newsgroups: comp.windows.x
Subject: Postscript Type 1 -> BDF
Date: 15 Apr 92 18:30:18 GMT
Organization: The Internet

I looked through the FAQ and couldn't find anything regarding this,
but I know that I've seen something regarding this.  The question is,
how do I convert my Postscript Type 1 fonts into BDFs (or F3 fonts for
the OpenWindows)?  I'd like to generate the standard set of sizes.
Also, I have R5 with the type 1 font rendering code in it at home, are
there any special steps necessary to add these fonts to the font path?
Ie, suppose I have a directory /home/local/pdfonts?  I have a strong
suspicion that  xset +fp  /home/local/pdfonts won't do the trick. :)

		Thanks, Ralph
From: CFRAZIER@hdsc.ssc.af.MIL (C | C Code | C Code Run, please!)
Newsgroups: comp.windows.x
Subject: color problem
Date: 9 Apr 92 17:39:02 GMT
Organization: The Internet

I got a problem I hope somecan can help me resolve. 

I'm running  Motif  on a VAX and have noticed that my colors aren't consistent 
from terminal to terminal.  I'm having a heck of a time with the colormaps and 
someone out there please offer some code to help me with this.  thanks.


cfrazier@hdsc.ssc.af.mil
From: doel@fiddler.NoSubdomain.NoDomain (Michael Doel)
Newsgroups: comp.windows.x
Subject: Multiple pointing devices in X
Date: 15 Apr 92 20:47:35 GMT
Reply-To: doel@crd.ge.com
Organization: GE Research & Development

Forgive me if this is a novice question...

In all of the diagrams I've ever seen of the X Windows model
(admitedly few), there is always one mouse, one keyboard, and
one (or more) screens handled by the server.

Is there anything that prevents me from using two, three, or
more pointing devices if my hardware allows it?  Will this require
changes to the sample server that comes from MIT?

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mike Doel				<doel@crd.ge.com>
P.O. Box 8
Schenectady, NY 12301			(518) 387-6203

"For every complex problem, there is a solution that is simple, neat
 and wrong." - H.L. Mencken
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Newsgroups: comp.windows.x
From: bjaspan@athena.mit.edu (Barr3y Jaspan)
Subject: Re: MS-DOS X Server with SLIP support???
Organization: Massachusetts Institute of Technology
Distribution: na
Date: Mon, 13 Apr 1992 17:55:52 GMT

In article <1992Apr6.133746.1@hmcvax.claremont.edu> jstimson@hmcvax.claremont.edu writes:
>I am looking for an X server for MS-DOS (386 with ATI VGAWonder) that supports
>Internet Protocol Serial Links (SLIP).  I have access to a SLIP link, but not
>Ethernet.  I really don't want a program that runs under MS-Windows - it's too
>much of a power-suck to be used for anything besides word processing.  I'm also
>curious about prices for the various packages that support SLIP.
>							- John

Since you have a 386 machine, you might want to look into OS/2 2.0 with IBM's
TCP/IP 1.2 package, which provides both SLIP support and an X server.  I am
running this system (although I am using ethernet, not SLIP) and it works
quite well.  Note that OS/2 2.0 will allow you to keep using all of the DOS
programs, etc.

You can upgrade DOS to OS/2 for about $50.  TCP/IP 1.2 is $200 for the base
package (which includes essentially all of the common Unix network programs)
plus $150 for the X Window System extension.  Total cost about $400 list price
(so you can probably do better).  I do not know whether this is more or less
than the other solution I've seen suggested (two Desqview products and FTP
PC/TCP from FTP Software).  You can order all of this from (I
think) 1-800-IBM-3OS2.

Hope this helps.

-- 
Barr3y Jaspan, bjaspan@mit.edu
From: fdm1@wsinis02.info.win.tue.nl (Hans Senden)
Newsgroups: comp.windows.x
Subject: Connection Oracle / X Windows
Keywords: Oracle, X Windows
Date: 3 Apr 92 08:31:35 GMT
Reply-To: fdm1@info.win.tue.nl

Hello,
does anybody know how to connect X Windows and the Oracle RDBMS :
does a possibility exists to send a SQL-commando in the Xlib program to Oracle, and create, maintain and delete a database ?

Please send your comments to : fdm1@info.win.tue.nl

Are there some articles or books about this subject ?

    
Hans Senden
University of Technology
Eindhoven, The Netherlands
Xref: sparky comp.windows.x:9713 comp.editors:1356
From: mackey@scs.fiu.edu
Newsgroups: comp.windows.x,comp.editors
Subject: Re: VI bug using X.
Date: 8 Apr 92 16:55:40 GMT
Followup-To: comp.windows.x
Organization: %BS-F-QXCD, Bullshit quota exceeded, core dumped.

In article <1992Apr3.135526.14000@cv.ruu.nl> rvloon@cv.ruu.nl (Ronald van Loon) writes:
>>In <1992Apr3.031346.27292@sunspot.noao.edu> hcohl@sunspot.sunspot.noao.edu (Howard Cohl) writes:
>>| "   I used sunview in the past and am now switching
>>| "   to X.  When I use VI to edit a file, it used
>>| "   to work that when I pressed an arrow key while
>>| "   I was in insert mode, it would take me out of
>>| "   insert mode and then go wherever the arrow pointed
>>| "   to.  Now that I am using an xterm in the above
>>| "   mentioned setup, when I enter an arrow key
>>| "   while I am in insert more, it doesn't take
>>| "   me out of insert mode and puts the letters
>>| "   A,B,C and D depending on which arrow I use.
>>| "   Help!
>>This happens because the arrow keys generate the sequence ESC ] A
>>ESC ] B, ESC ] C, ESC ] D. Somehow (because of a slow connection perhaps) these characters arrive after a certain time interval, so vi does not see the
>>sequence as one, but rather as three (or two, ESC sometimes gets discarded)
>>separate keystrokes. There is no real solution for this. (Other than using
>>hjkl)

Put the following in .exrc:

map! ^[OA ^[k
map! ^[OB ^[j
map! ^[OC ^[h
map! ^[OD ^[l
map! ^[[A ^[k
map! ^[[B ^[j
map! ^[[C ^[h
map! ^[[D ^[l

NOTE: The above is what `cat -v` would print.  Do not put the
characters "^[" in the file.  Instead, where you see "^[" above,
in input mode, type Ctrl/V followed by ESC.

The explanation about ESC ] A above is not quite correct.  (In fact
the bracket used is [ and not ].)  Under suntools, the up arrow
generates ESC [ A, which is treated as the following commands:

ESC  -- get out of input mode.
[    -- first half of the [[ command.
A    -- illegal completion of the [[ command, therefore BEEP!
Arrows after this are treated correctly by vi.

Under xterm and on a real vt100, the up arrow generates:

ESC  -- get out of input mode.
O    -- open a line above the current line and go into input mode.
A    -- insert the letter A into the buffer.

This many arrows will generate many A's on lines by themselves.

The downside of doing the .exrc things suggested above is that it
tends to slow down escaping from input mode using the ESC character.
Vi hesitates a second or so until it figures out that the next
character of one of the above macros is not coming.  This is annoying.

A correct solution would probably to somehow make vi get the ESC [ A
combination from xterm instead of the ESC O A combination.  I'm not
sure why it gets ESC O A, since in line mode od -a produces the
bracket combinations.
Newsgroups: comp.windows.x
From: converse@expo.lcs.mit.EDU (Donna Converse)
Subject: Re: where can I get the X11R5 specs?
Organization: X Consortium, MIT Laboratory for Computer Science
Date: Fri, 10 Apr 1992 17:07:01 GMT


> Is there any info on what is standard and what is contributed
> on X11R5? 

Read the XSTANDARDS manual page in the R5 documentation, particularly,
read the section on what is not included in the X standards from the
X Consortium.
Newsgroups: comp.windows.x
From: CFRAZIER@hdsc.ssc.af.MIL (C | C Code | C Code Run, please!)
Subject: colors
Organization: The Internet
Date: Thu, 9 Apr 1992 14:35:00 GMT


I'm running  Motif  on a VAX and have noticed that my colors aren't consistent 
from terminal to terminal.  I'm having a heck of a time with the colormaps and 
someone out there please offer some code to help me with this.  thanks.

I've worked over 30 hours on just getting the colors the act right.  Can anyone 
offer me any advice.  I've already gone over schedule for this thing.  

 p.s.  Are there any dial-up BBSs that support Motif discussion?

cfrazier@hdsc.ssc.af.mil


Newsgroups: comp.windows.x
From: psycho@brtpa25.bnr.ca (Paul Jezioranski)
Subject: xsetroot -cursor limited to 32x32
Reply-To: psycho@brtpa25.bnr.ca (Paul Jezioranski)
Organization: Bell-Northern Research, Ottawa, Canada
Date: Wed, 15 Apr 1992 21:06:12 GMT

I'm using an HP/Apollo 425 running SR10.3. When I type:

	> xsetroot -cursor <bitmap_file> <mask_file>

and both the cursor and mask file have x/y parameters larger
than 32 bits, the cursor image gets truncated to 32x32. Is
there an Xdefault parameter that I'm missing somewhere??
The window manager doesn't seem to make a difference...
From: elmar@knipp.en.open.de (Elmar Knipp)
Newsgroups: comp.windows.x
Subject: Athena-Widgets for HP9000/700
Date: 8 Apr 92 17:33:59 GMT
Organization: Private/FRG

The subject says it all: Has anyone
compiled the librarys for the 
HP9000 Series 700 (X11R4)?

Please mail direct to "elmar@knipp.en.open.de"

--------------------------------+-------------------------------------
Elmar Knipp                     |     Voice:       + 49 231 975015-0
Knipp Satz und Bild digital     |     Fax 3:       + 49 231 975015-80
Technologiepark                 |     Modem:       + 49 231 975015-82
Martin-Schmeisser-Weg 9         |     ISDN-Server: + 49 231 975015-831
4600 Dortmund 50                |     E-Mail:  elmar@knipp.en.open.de
Germany                         |        
--------------------------------+-------------------------------------
From: bebert.osbu_north@XEROX.COM
Newsgroups: comp.windows.x
Subject: Grabbing the Keyboard and XTerm (OpenWin 3.0)
Date: 10 Apr 92 02:08:32 GMT
Reply-To: "bebert.osbu_north@xerox.com".OsBU_North@xerox.com


I am in the process of porting an application to X which makes use of the OPEN
key (L7) on the Sun keyboard.  Sadly, the OpenLook window manager also makes
use of that key to iconify/deiconify the window.

I have tried setting up my .Xdefaults to prevent olwm from doing this, but that
isn't an ideal solution.  Also, it doesn't appear to work too well... owlm
seems to want to use L7 for OpenClosePointer regardless of what
olwm.KeyboardCommands.OpenClosePointer is set to.  Rats.

One solution which was giving very good results was to grab the keyboard when
the input focus was set to the application window, giving it up when the focus
was lost.  (This should be almost transparent to the user, the only thing
they'd notice was that "pointer" keys would go to our application when we had
the input focus, which is OK.)

The technique I used was to simply do an XGrabKeyboard on FocusIn events with
the NotifyNormal and NotifyWhileGrabbed detail, and XUngrabKeyboard on FocusOut
events with the same detail.  (All programming has to be done at the Xlib
level, for portability reasons.)  This worked very well, for a while...

I found one problem.  If you click on our window, then click on an XTerm
window, all key and button events seem to get "stuck".  It's as if XTerm is
doing an XGrabPointer(Sync) which is failing because our application still has
the keyboard grabbed, but it's not failing completely.  I've looked at xterm
sources and I can't find any reason for this, nevertheless it happens.  (Only
with xterm windows, and only with OpenWin 3.0)

I'd love to hear any ideas y'all have for either 1) fixing things so I can get
the OPEN KeyPress/KeyRelease events, or 2) explanations for why the freeze
happens when switching input focus from our app to xterm.

I'll summarize any email responses I get.  (But I read the newsgroup too!)

			--Bob (bebert.osbu_north@xerox.com)
From: louqun@cs.tamu.edu (Qun Lou)
Newsgroups: comp.windows.x
Subject: Re: VI bug using X.
Date: 11 Apr 92 02:36:50 GMT
Organization: Computer Science Dept., Texas A&M University

Similar problem happened to me when I was writing my own editor.

The problem with vi is very likely  related to transmit
speed of the terminal. A, B, C, D would appear when
I used vi on a VT220 terminal. Later I found out that if
I change the Communication Setup of the terminal, this would
not happen. There is a selection in Communication setup
that says "Limited Transfer", if I toggle it to "Unlimited
Transfer", everything would be O.K. However, on an
xterm, I haven't found such an option. The problem with
vi on xterm seems to happen only  when I do a rlogin or 
telnet and use a remote vi.

The reason vi generates ESC O A combination instead of
ESC [ A is that when vi first starts up, it sends an escape
sequence of ESC [ ? 1 h, telling the terminal to treat the
keypad region as cursor keys. Vi wants to make sure that
the keypad region on VT100 is used as cursor keys instead
of digit pad.

At the end of vi session, vi would send out another escape
sequence ESC [ ? 0 h to resume the keypad region to be used
as digit pad. Moving cursor keys after vi finishes editing
would generate ESC [ A sequences. The normal DEC vt220 
terminals has a setup for keyboard. Among it there is a 
selection called cursor application, toggling it 
would enter into digit key mode.

Qun Lou
Dept of Computer Science
Texas A&M University
louqun@cs.tamu.edu
Newsgroups: comp.windows.x,comp.sys.hp
From: datri@convex.com (Anthony A. Datri)
Subject: Re: Weird problems with X11R5 shared libraries under HPUX
Organization: Engineering, CONVEX Computer Corp., Richardson, Tx., USA
Date: Tue, 7 Apr 1992 21:48:57 GMT
X-Disclaimer: This message was written by a user at CONVEX Computer
              Corp. The opinions expressed are those of the user and
              not necessarily those of CONVEX.


I figured it out -- shared libraries have to have the execute bit turned
on, believe it or not.  Somehow mine lost the bit.  I discovered on the
way that HP doesn't document mmap.

-- 


======================================================8--<
From: jncoco@jumbo.read.tasc.COM (Joe Coco)
Newsgroups: comp.windows.x
Subject: X Terminals
Date: 13 Apr 92 20:00:09 GMT
Organization: The Internet


  My company is contemplating installing a network of X terminals and it
would be helpful to talk to someone who already has.  If your site has a 
network (even a small one) of X terminals and you would be willing to spend
a few minutes on the phone discussing your experience with the network, let me 
know what your name and phone number is.  Some issues we are interested in 
discussing are network considerations, administration, and performance.

Thanks,
Joe Coco
TASC
email : jncoco@tasc.com
Newsgroups: comp.windows.x
From: mahan@tgv.COM (Patrick L. Mahan)
Subject: Re: Dec clients blow Sun Server's mind
Organization: The Internet
Date: Fri, 10 Apr 1992 04:51:25 GMT

# I recently built the client side stuff from X11R4(PL18) on a Dec VAXStation
# running Ultrix 4.1.  All of the R4 clients (as well as the Dec-supplied
# R3 clients like dxterm) cause the Sun Openwindows 2.0 Server to spew
# incomprehensible messages on the console, and remote clients can no longer
# connect.  The message I get (on the Sun side) is this:
# 
# Process: 0x2548fc (X Listener %socketl6000)   Error: stackunderflow
# Stack:
# Executing: 'pop'
# At: {packedarray{4} 'stopped' 'pop' *'pop' 'closefile' 'dup' (r) 'file'}
# In: {... 4 'index' append 'put' packedarray{8} *'loop'}
# 
# Which looks to be some sort of display postscript debugging message.
# 
# 1. Is this a Sun or a DEC problem?
# 2. Can it be made to go away?
# 

It's Sun's problem.  That code is PostScript and its coming from the XNeWS
server.

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