HDTenEightyP/NetNews huggingface dataset:
From: etxmesa@eos.ericsson.se (Michael Salmon)
Newsgroups: fj.mail-lists.x-window
Subject: Re: xedit ?
Date: 2 Sep 92 11:11:10 GMT
Distribution: fj
Organization: Ericsson Telecom AB

Date: 2 Sep 92 08:12:57 GMT
Message-Id: <1992Sep2.081257.5413@ericsson.se>
Newsgroups: comp.windows.x

In article <1992Sep2.005909.24634@colorado.edu>, xuehua@tigger.cs.Colorado.EDU (Xuehua Lu) writes:
|> Hi! Will anybody in the newsgroup help me with a little problem?
|> I am an X window system beginner. I want to know the keystroke
|> command of xedit for locating line by line number, i.e., given the
|> line number, find the palce where it is in the file.
|> 
|> Thank you in advance. I'd appreciate your help.

xedit is basically just a wrapper around the text widget and that
doesn't have the facility that you desire, it does have the ability to
move down one line though, plus the ability to do an action a number of
times, default 4. So to move from line 1 to line 23 type
^U^U<down>^U<down><down><down>, that moves 16 + 4 + 1 + 1 or 22 lines.
The multiply facility can take other values but you must define
translations to do this. Alternatively get axe which has this facility. 

-- 

Michael Salmon

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

Ericsson Telecom AB
Stockholm
From: ldawes@uahcs2.cs.uah.edu (Lisa Dawes)
Newsgroups: fj.mail-lists.x-window
Subject: gcc 2.2 and R5 question
Date: 25 Aug 92 16:55:13 GMT
Distribution: fj
Organization: Workstation Div., Supermicro Systems Group, Sony Corporation

Date: Tue, 25 Aug 92 10:24:55 CDT
Message-Id: <9208251524.AA25011@uahcs2.cs.uah.edu>

I just compiled X11R5 with gcc 2.2 on my Sun Sparc with SunOS 4.1.1.
I was wondering if anyone new the side affects of compiling the
shared libraries with gcc.  There is a warning saying that old 
X applications linked with cc will not work (they must have been
linked with gcc).  

Are there any benefits of compiling the libraries with gcc?

Thanks ahead.
From: raney@teal.csn.org (Scott Raney)
Newsgroups: fj.mail-lists.x-window
Subject: i18n standard for keyboard entry of extended characters
Date: 4 Sep 92 06:03:00 GMT
Distribution: fj
Organization: Colorado SuperNet, Inc.

Date: 3 Sep 92 18:05:55 GMT
Message-Id: <Bu0Kxy.6vw@csn.org>
Newsgroups: comp.windows.x,comp.windows.x.motif


  My application (MetaCard) needs to support entering extended (high
bit set) characters from US standard keyboards.  Is there a standard
for this?  Using X11R5/Motif 1.2 is not an option, but using the
standard key sequences is.  Sun's deskset uses one set of two key
sequences, Framemaker uses another, Macintosh apps use a third.
  If there is no standard, has anyone developed a system that only
requires pressing a single key (in combination with a modifier key)?
I've had requests *not* to use two key sequences for this as they are
slower and usually no more mnemonic than a single key solution would
be.
  I look forward to getting references to the solution to this problem,
     Scott

-- 
***********************************************************************
* Scott Raney  303-447-3936            Remember: the better you look, *
* raney@metacard.com                   the more you'll see -- Lidia   *
***********************************************************************
From: tucker@bedford.progress.COM (Kyle Tucker)
Newsgroups: fj.mail-lists.x-window
Subject: Xterminal-Server ratio wanted
Date: 2 Sep 92 04:51:14 GMT
Distribution: fj
Organization: Progress Software Corp.

Date: 1 Sep 92 20:06:09 GMT
Message-Id: <1992Sep1.200609.15078@progress.com>
Newsgroups: comp.unix.admin,comp.windows.x

Hi all (again),
	We are currently performing an initial investigation into upgrading
our present dumb-terminal based user environment to a X windows based one.
We are weighing all the dis/advantages of PCs, Xterminals and workstations
and look favorably at Xterminals from a maintenance standpoint. I use one
myself and see no lack of functionality. We would like any opinions on this
decision itself. And if we do go with Xterminals, then the question of how
many Xterminals running off of how many Sparcs, Sparc2s, Solbournes, etc. We
would like to hear about any success/horror stories about implementing such
a configuration and performance issues regarding Xterm/Server ratios which
seem to work well. These users will mainly be running Progress applications
and some word-processing, news readers and email UAs.

Thanks in advance (again), Kyle 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Kyle Tucker - Email Administrator  | 		Progress Software Corporation
tucker@bedford.progress.com 	   |		14 Oak Park
(617)280-4565			   |		Bedford, Mass. 01730
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
From: oj@miki.pictel.com (Oliver Jones)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Communication between Motif apps using properties
Date: 26 Aug 92 01:49:31 GMT
Distribution: fj
Organization: PictureTel Corporation

Date: 25 Aug 92 16:10:42 GMT
Message-Id: <1992Aug25.161042.1845@miki.pictel.com>
Newsgroups: comp.windows.x

In article <1992Aug19.011753.18485@tfs.com> meir@tfs.com (Meir Zaid) writes:

>My problem now is that the applications sending the messages to the
>messages handler are not X/Motif applications so they don't have widgets
>or windows, or XtMainLoop.  Now, the messages handler app only seems to
>get the PropertyNotify event when the sending application has a XtMainLoop.

Xt takes care of the solicitation of the PropertyNotify events for you.
If you're working at the Xlib layer, you have to use XSelectInput explicitly
to solicit the PropertyNotify events.

  XSelectInput (dpy, win, PropertyChangeMask| <<whatever other mask bits you need >>);

Then, you'll get PropertyNotify events; these notify you of
changes to property values.

>I tried creating a simple invisible window on the sending app but this
>doesn't help. 

You don't need to create an invisible window;  there's nothing wrong with
using your app's top-level shell window or even the default root window
to store your property (but if you use the default root window take
extra care to destroy the property when your system of application programs
terminates).
From: lwv26@cas.org (Larry W. Virden)
Newsgroups: fj.mail-lists.x-window
Subject: Re: GUIs Considered Harmful
Date: 2 Sep 92 23:15:22 GMT
Distribution: fj
Organization: Nedriv Software and Shoe Shiners, Uninc.

Date: 2 Sep 92 16:15:45 GMT
Message-Id: <1992Sep2.162110.15032@cas.org>
Newsgroups: alt.religion.computers,comp.human-factors,comp.windows.misc,comp.windows.news,comp.windows.x

In article <1992Sep1.185607.26628@nntp.uoregon.edu> johnm@cajal.uoregon.edu (John Martin) writes:
:
:This is exactly the type of user that GUIs are perfect for! I don't think that
:anyone is arguing otherwise.  BUT -- among proficient users, a good CLI is
:still better and more productive then a GUI.
:

Hmm.  I use codecenter and xcodecenter both at different times - that 
gives me experience under a CLI and GUI.  And I find the GUI codecenter much
easier to use than the CLI - and I am a long time Unix user, fall under
the proficient user category, and type quite fast.  

I also find that having a virtual desktop, with lots of xterms, gives me
the best of both worlds - cause I find somethings easier to do with the
GUI (like tracking lots of mail boxes for incoming mail, watching log/info
files for new information, etc) and I find other things easier with a CUI
(like vi, ksh, etc.)

I don't know why folks have to take an either/or angle.  Let's make the
user more proficient by giving them access to both environments and
when it makes more sense to use shell, a CUI, a mouse, voice input, a
blink of the eye, a sneeze/hiccup/burp/whatever then use it.  And make
as many of the other accesses available as possible, for those with
other priorities...
-- 
Larry W. Virden                 UUCP: osu-cis!chemabs!lvirden
Same Mbox: BITNET: lvirden@cas  INET: lvirden@cas.org
Personal: 674 Falls Place,   Reynoldsburg, OH 43068-1614
America Online: lvirden@aol.com
From: oj@miki.pictel.com (Oliver Jones)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Displaying polygonal boundaries with interior holes
Date: 27 Aug 92 04:10:08 GMT
Distribution: fj
Organization: PictureTel Corporation

Date: 26 Aug 92 17:36:10 GMT
Message-Id: <1992Aug26.173610.2645@miki.pictel.com>
Newsgroups: comp.windows.x

In article <9208252222.AA15019@sunshine.rdyne.rockwell.com> yqd515@sunshine.rdyne.rockwell.COM (ALLWARDT) writes:

>I have a program which displays colored polygonal regions.  Some of the
>regions specified may be "complex" in the sense that they have interior
>holes.

>I'd like to have the same functionality running under X.  I guess what I'm
>looking for is an  "XFillPolygons" routine (note the plural)....

According to the way XFillPolygon does its containment tests, you can
combine your multiple disjoint polygons into a single polygon boundary
stored in a single XPoint array.

For example, suppose your "outer" polygon connects points A,B,C,D,E,A
One "inner" polygon connects points G,H,K,L,M,G
Another "inner" polygon connects points  P,Q,R,S,T,P

If you make up a single XPoint struct with the following sequence,
XFillPolygon will draw what you want:

  A,B,C,D,E,A, G,H,K,L,M,G,A  P,Q,R,S,T,P,A

Notice that every "inner" polygon begins with a boundary-edge
from point A to the inner polygon's first point, and ends with
a boundary-edge back from its first point to A.

For example, the first inner polygon ( G,H,K,L,M,G) is drawn as
A,G,H,K,L,M,G,A.  The lines AG and GA are coincident, so no pixels
under them are lit, and it doesn't matter whether they cross any
other edges.

Make sure you tell XFillPolygon that this is a Complex polygon!

This method is probably a good stress-test for X server rendering code.

> or a way to perform this using regions

You can do this too.  Use XPolygonRegion to rasterize each polygon
separately, then use the subtraction or xor operators to combine the
regions appropriately.

There are a couple of problems with this.  One) a Region structure is
typically less compact than the XPoint array, so it will take more
network bandwidth to send it to the server.  Two) you'll have to cook
up an XDrawRegion function, because Xlib has none (R6?).

Ollie Jones
From: lecom@slhp1.epfl.ch (Claude Lecommandeur)
Newsgroups: fj.mail-lists.x-window
Subject: Re: GUIs Considered Harmful
Date: 26 Aug 92 11:28:27 GMT
Distribution: fj
Organization: Ecole Polytechnique Federale de Lausanne

Date: 26 Aug 92 08:48:37 GMT
Message-Id: <3905@sicsun.epfl.ch>
Newsgroups: alt.religion.computers,comp.windows.misc,comp.windows.news,comp.windows.x,comp.human-factors

In article <1992Aug23.020825.3490@uwm.edu>, markh@csd4.csd.uwm.edu (Hunk) writes:
|> In article <1992Aug20.181915.2357@twg.com> "David Herron" <david@twg.com> writes:
|> >To a computer expert (I've been programming for 19.5 years now) this 
|> >visualization is second nature.  In order to design/write/debug software
|> >we must be able to visualize computer processes.  Most people do not have
|> >that sort of background and thus have a hard time with it.
|> 
|> Speak for yourself.  When I write software, I derive it via purely algebraic
                        ---------------------

Does it happen very often ?


|> manipulations with little or no regard to what process is actually going on.
|> 
|> For instance, the Tower of Hanoi solution below is typical of what I do.  I
|> don't even need to bother testing or debugging it, since I already PROVED
|> it will work (under the assumption that long integers are 32 bits, that the
|> parameter N (below) is <= 31, that you're compiling with an ANSI-C compiler,
|> and your system has sufficient memory.).
|> 
|> I haven't the slightest idea what it's actually doing and never even bothered
|> trying to visualize it.  All I know is that it works.
|> 
|> /* Towers of Hanoi solution.  Non-recursive. */
|> #include <stdio.h>
|> 
|> /* Move a stack of N objects from tower A to C, using B */
|> void Hanoi(int N, char A, char B, char C) {
|>    unsigned long X = 0; char D;
|>    while (1) {
|>       if (N&1) D = B, B = C, C = D;
|>       for (; N > 0; N--) X = (X + 1) << 1;
|>       for (; X&1; X >>= 1, N++) D = A, A = B, B = D;
|>       if (X == 0) break;
|>       printf("Move %d from %c to %c.\n", N + 1, A, B);
|>       D = C, C = B, B = A, A = D, X--;
|>    }
|> }
|> 
|> main() { Hanoi(3, 'a', 'b', 'c'); }

    There is nothing to brag about this little piece of shit you call a program.
You are not alone to be aware of programs proofs, but it seems you are one of the
very few that think it can be any good for real software.
    Your post make me think of a my 5 years old child who thinks he knows about
everything, although he knows about nothing.

-- 


                    Claude Lecommandeur
                    Service Informatique Central
                    Ecole Polytechnique Federale de Lausanne
                    1015 LAUSANNE (SWITZERLAND)
                    E-Mail : lecom@sic.epfl.ch
                    Tel : (41 21) 693-22-97
From: TRANLE@INTELLICORP.COM (Minh Tran-Le)
Newsgroups: fj.mail-lists.x-window
Subject: Strange keyboard mapping for the hpux-8.0x X server ...
Date: 3 Sep 92 06:45:05 GMT
Distribution: fj
Organization: Workstation Div., Supermicro Systems Group, Sony Corporation

Message-Id: <9209030630.AA10608@expo.lcs.mit.edu>
Date: Wed, 2 Sep 92 23:29:13 PDT
Reply-To: tranle@intellicorp.com


I have just noticed that the X server that comes with hpux 8.0 does
some strange keyboard mapping to some international keysyms when you
use the meta key (Alt_L).

For example if you run xev and press <Alt_L> and <x> you get the 
keysym "scaron".  Most the keys when used with the <Alt_L> key will
give strange keysyms.

Does anybody knows if there is a config file or a flag somewhere that
will tell the hpux X server not to use that strange keymap bindings.
Some program like GNU emacs wants that server send for <ALT><KEY>
the keysym for the <KEY> with the meta bit set.

Thanks,
Minh Tran-Le.
-------
From: imp@solbourne.com (Warner Losh)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Motif Numbers
Date: 29 Aug 92 13:52:09 GMT
Distribution: fj
Organization: Solbourne, User Interface Group

Date: 29 Aug 92 01:12:17 GMT
Message-Id: <Btq0oI.2Ez@solbourne.com>
Newsgroups: comp.windows.x

In article <238@imatron.COM> jonm@imatron.COM (Jon Meyers) writes:
>- C++ based toolkits (OI) are generating interest
>- Watch out for MOOLIT!  It let's one compile the same(?)
>code for Motif or OpenLook.

OI has given its users both OPEN LOOK and Motif for at least three
years.  MOOLIT is much more recent than that.

Warner

-- 
Warner Losh		imp@Solbourne.COM
I've almost finished my brute force solution to subtlety.
From: mahan@TGV.COM (Patrick L. Mahan)
Newsgroups: fj.mail-lists.x-window
Subject: RE: Granite background on root window -- how is it done?
Date: 31 Aug 92 19:42:01 GMT
Distribution: fj
Organization: Workstation Div., Supermicro Systems Group, Sony Corporation

Date:    Mon, 31 Aug 92 10:13:57 PDT
Message-Id: <920831101357.254000b0@TGV.COM>
X-St-Vmsmail-To: ST%"xpert@expo.lcs.mit.edu"

#
#I have the feeling that this should be an easy question but I can't find the
#answer on my own so here goes.....
#
#My boss asked me if there is a way to put a "granite" pattern on his root
#window after login.  I thought I remembered seeing something about it at
#some point in the past so I said I would look into it.
#
#After going through Scheifler & Gettys, O'Reilley (Vols 1,2,4 & 5), the FAQs
#for comp.windows.x and comp.windows.x.motif and the vendor documentation we
#have on hand I still cannot find out how it is done.  It is not one of the
#options presented in the Motif window manager's 'Screen' options.
#
#BTW we have VMS 5.4 running X11R4.
#
#OK.  What do I do?  Where else do I look?  Or have I just overlooked something?
#Any help will be greatly appreciated.
#

What you will need to do is to get ahold of either the X11R3 or X11R4 clients
and demos available from the DECUS Library.  This code will contain among
other things a routine to correctly find the root window on a DECwindows/VMS
display which you can then use to change the background.  In the X11R3 stuff
there was a program called XGRANITE that does what you boss wants.  Otherwise,
you're going to have to come up with you own granite bitmap.

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
From: jel@creare.creare.com (Jeffrey E. Lewis)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Load an XWD image onto a window.
Date: 27 Aug 92 13:57:44 GMT
Distribution: fj
Organization: Creare Inc., Hanover, NH

Date: 26 Aug 92 13:08:06 GMT
Message-Id: <BtLDtJ.7Ct@creare.creare.com>
Newsgroups: comp.windows.x,comp.windows.x.motif

Hello Netter,
  I am looking for source code that will allow me to load an xwd image and
place it onto a window given the id.  I have tried using xloadimage but it does
seem to work.  Can you direct me to an FTP site or give me any information on
this task.

 
ad(thanks)vance
Little Louie,

+-----------------------------------------------------------------------------+
| CREARE: Engineering Research and Development, Computer Systems and Software |
|    Creare, Inc. * Etna Road * P.O. Box 71 * Hanover, New Hampshire 03755    |
|                      603 643-3800 * FAX 603 643-4657                        |
|                Jeffrey E. Lewis * Internet: jel@creare.com                  |
+-----------------------------------------------------------------------------+
From: rueggan@toz.buffalo.ny.us (rueggan])
Newsgroups: fj.mail-lists.x-window
Subject: Visual Basic
Date: 28 Aug 92 11:34:46 GMT
Distribution: fj
Organization: The Tower of Zot - (716)691-3865

Date: 28 Aug 92 04:22:21 GMT
Message-Id: <yN97PB1w165w@toz.buffalo.ny.us>
Newsgroups: comp.windows.x

I am wondering... I see alot of HIGH END talk here about motif, and 
sorts.. is there anyone here who is a Visual basic programmer?  I would 
like to talk to someone that is.... mail me with a reply... I have some 
questions... if this is the wrong forum, then tell me and I will try to 
find another...

---------------------------------------------------------------------
rueggan@toz.buffalo.ny.us (rueggan])
-- Change this!
From: matt@tfs.com (Matthew Hom)
Newsgroups: fj.mail-lists.x-window
Subject: How to simulate non-autorepeating keyboard?
Date: 21 Aug 92 19:09:30 GMT
Distribution: fj
Organization: TRW Financial Systems

Date: 20 Aug 92 21:24:55 GMT
Message-Id: <1992Aug20.212455.6412@tfs.com>
Newsgroups: comp.windows.x

My X server does not support any of the XKeyboardControl features.
I have tried disabling autorepeat via "xset r off" and although
xset returns 

Keyboard Control:
  auto repeat:  off    key click percent:  0    LED mask:  00000000
  auto repeating keys:  0000000000000000
                        0000000000000000
                        0000000000000000
                        0000000000000000

the autorepeat is still active. Is there a way an application can
grab the keyboard when a keypress occurs and ignore subsequent keypresses
until the keyrelease comes in? I haven't been able to get the right
sequence of calls to do the trick. Can someone send me some code that
does this?

Thanks.

+-----------------------------------------------------------------------+
| These opinions are my own and do not reflect those of my employer.    |
+-----------------------------------------------------------------------+
| Matt Hom                              matt@tfs.com                    |
| TRW Financial Systems                 (310)590-7510                   |
| 200 Oceangate, Suite 1000                                             |
| Long Beach, CA 90802-4336                                             |
+-----------------------------------------------------------------------+
From: malay@sae.com (Bob Malay)
Newsgroups: fj.mail-lists.x-window
Subject: Restarting XDM Connections
Date: 31 Aug 92 21:48:34 GMT
Distribution: fj
Organization: Template Software

Date: 31 Aug 92 16:55:35 GMT
Message-Id: <1992Aug31.165535.6580@sae.com>
Newsgroups: comp.windows.x


We have a network of Sun3's connected to a Sun4. The Sun4 runs XDM but does not have
a local display. When one of the xdm client machines goes down and the xdm 
connection is broken we have difficulty restarting the xdm connection without
disturbing the other client machines. So we have been forced to kill xdm & the
xdm client connections and then restart xdm which interrupts the users on the
client machines. Is there a way to force xdm to restart a broken client connection
without disturbing existing client connections????

Bob Malay
From: christia@latenite.ssc.gov (Mike Christiansen)
Newsgroups: fj.mail-lists.x-window
Subject: multiple screens (display), single pointing device....
Date: 29 Aug 92 23:43:30 GMT
Distribution: fj
Organization: SSC Laboratory, Dallas, TX

Date: Sat, 29 Aug 1992 20:45:16 GMT
Message-Id: <CHRISTIA.92Aug29144516@latenite.ssc.gov>
Newsgroups: comp.windows.x

Is it possible under R5 to support multiple displays using a single
mouse / pointer. That is, like the mac I want to install two (or
three) frame buffers and manipulate windows on all three through a
single pointer such that the cursor is run into the side of one, it
apperars on the next longical display. Is this possible under
open-look?

thanks
--
----------------------

Mike Christiansen
Superconducting Super Collider Laboratory
Controls Group
2550 Beckleymeade Ave.
MS.4002
Dallas, TX. 75237

214-708-3415
christia@latenite.ssc.gov
From: adelt@imada.ou.dk (Adel Shavandi)
Newsgroups: fj.mail-lists.x-window
Subject: XView forking problem
Date: 27 Aug 92 16:07:55 GMT
Distribution: fj
Organization: Dept. of Math. & Computer Science, Odense University, Denmark

Date: 27 Aug 92 12:18:25 GMT
Message-Id: <1992Aug27.121825.24459@imada.ou.dk>
Newsgroups: comp.windows.x



I have a problem when forking my XView program:



// ...
switch (pid=fork()) 
	{
	case -1:
		//perror("VisInterface::action(): fork() failed!");
		exit (1);
	case 0:	// child
		childProcess ();
	default:
		parentProcess ();
		break;
	}

// ...

In the child process I try to draw in a window and display* that
is shared with the parent. After each drawing I call XFlush(dpy)
to empty the buffer. First time I spawn a child, everything is
without problem and I draw and then clear the object. But if in 
same program I spawn the child once more, I get the following 
error:

parent> running
XView error:
 
The version of OpenWindows, I use, is 2.0. I will really appraciate
if somebody can help me to find out why this error is happening.


email:  adelt@imada.ou.dk



			Thanks,
				Ade`l
From: ebina@void.uiuc.edu (Eric Bina)
Newsgroups: fj.mail-lists.x-window
Subject: Finding the installed colormap
Date: 1 Sep 92 02:57:34 GMT
Distribution: fj
Organization: NCSA

Date: Mon, 31 Aug 1992 22:05:27 GMT
Message-Id: <BtvC14.K0t@news.cso.uiuc.edu>
Newsgroups: comp.windows.x


How do I find out the currently installed colormap?  I need this for a simple
screen grabbing function I am doing.  To grab an arbitrary section of the root
window I do an XGetImage() with IncludeInferiors.  The problems is that the
colormap that is installed at the time of the grab may not be the default
colormap.  When I save this image to file, I want to save the proper colormap
with it.  In particular I am having this problem on an SGI Indigo.  The SGI seems
to do some strange stuff with colormaps in an attempt to prevent colors flashing
when you change to windows with different colormaps.  Can anyone give me any
help/advice on this?

	Eric Bina
	ebina@ncsa.uiuc.edu