HDTenEightyP/NetNews huggingface dataset:
From: bmyers@shyguy.lonestar.org (bob myers)
Subject: computing Xconfig modeDB line-Interlace ???
Organization: 3-B Technology
Date: Mon, 11 Jan 1993 11:38:44 GMT


I'm still trying to find a way to use my Laser 386sx monitor with my
STB ERGO Powergraph 1024x768x256 board.  I've been able to grab the
640x480 entry from the standard entry in modeDB.txt (in Linux's
/usr/lib/X11/etc directory), and have it working properly.  The
800x600 entry seems to roll vertically, along with displaying some
white retrace lines at times.  I'm thinking that I might be able
somehow 'massage' this entry to work within the next day or two.

Unfortunately, I've not been able to get the monitor to work with any
1024x768i entry found in this list.  Likewise, I'm not sure how to 
generate entries for an interlaced mode of operation for a monitor.

If anyone can point to a FAQ that explains computing these entries for
an interlaced mode, please let me know.

thanks, and sorry for the reposting of this problem.  I'm just stumped
by it, and I'm not sure how to compute the proper values  (everything
that I've read i believe is geared to the non-interlace mode of operation).
-- 
-----------------------------------------------------------------
Bob Myers                        | You gotta watch out for those
Shyguy's AT&T SVR4 Unix/Uniboard | shy guys....you never know 
Email:bmyers@shyguy.lonestar.org | what they're thinking..:)
From: jeff@nsr.hp.com (Jeff Gruszynski)
Newsgroups: comp.windows.x,comp.windows.x.intrinsics,comp.windows.x.motif
Subject: Re: Specifying text in different languages in a resource file
Followup-To: comp.windows.x,comp.windows.x.intrinsics,comp.windows.x.motif
Date: 11 Jan 1993 23:23:37 GMT
Organization: Hewlett Packard Santa Clara Site
Distribution: inet
NNTP-Posting-Host: hpmvd069.nsr.hp.com
X-Newsreader: TIN [version 1.1.2 PL7]

>David C. Williss (cq377@cleveland.Freenet.Edu) wrote:
>: 
>: In a previous article, jarnold@spot.wrc.xerox.com (jeff arnold esc1-318) says:
>: 
>: >
>: >Hi,
>: >  I'm reposting the following question.  If you know the answer, please
>: >reply to henry_wong.lax1b@xerox.com
>: >
>: >  Is it possible to specify a character string (e.g. XmNlabelString for
>: >a push button) in a resource file using MOTIF 1.1.X in different languages 
>: >(i.e. French, German, ...)? If not, what's a good way of doing it?
>: >NLS catalog, maybe? Does MOTIF 1.2 support it?
>: >
>: >Thanks,
>: >
>: >Henry 
>: >
>: >P.S. I'm using MOTIF 1.1.X on an RS6000 running 3.2
>: >
>: Actually, if anybody can answer this, please post the answer here and/or
>: maybe add it to the FAQ.  I'd like to know too.  Especially languages
>: such as Chinese.
>: 

O'Reilly & Assoc, X Toolkit Intrinsics Programming Manual, Motif Ed.
(at least for X11R4 version) in chapter 10.2.3 (The Language String)
mentions, among others, /usr/lib/X11/$LANG/app-defaults for language
specific app-defaults.  

--
================================================================================
Jeff Gruszynski
Semiconductor Test Equipment
Systems Engineer
Hewlett-Packard
================================================================================
(415) or T 694-3381
jeff@hpmvd061.nsr.hp.com
jeff@hpuplca.nsr.hp.com
================================================================================
Newsgroups: comp.windows.x
From: haim@cs60.cs.technion.ac.il (Haim Roman)
Subject: X-based spelling checker 
Organization: Technion, Israel Inst. Tech., Haifa
Date: Thu, 7 Jan 1993 08:29:12 GMT
Keywords: spell

Does anyone know of an X-based spelling checker?
-- 
+---------------------------------------------------------------------+
| Haim (Howard) Roman	| 					      |
| Systems Staff 	| E-MAIL: haim@cs.technion.ac.il	      |
| Computer Science Dept	| PHONE:  04-294350	(from  inside Israel) |
| Technion		|         +972-4-294350 (from outside Israel) |
| Haifa, Israel		|					      |
+---------------------------------------------------------------------+
From: khartig@nyx.cs.du.edu (Kevin Hartig)
Subject: Looking for graph file to XPixmap C++ code
Summary: Looking for C++ code to read graphics file formats and generate pixmaps
Keywords: pixmpas C++ graphics
Organization: University of Denver, Dept. of Math & Comp. Sci.
Date: Tue, 12 Jan 93 22:31:45 GMT

I am looking for example code that reads various graphics file formats
(GIF, JPEG, PPM...) and creates XPixmaps. Preferably code written in C++.
Any leads would be appreciated.

-Kevin
 Hartig@fsl.noaa.gov
Newsgroups: comp.windows.x
From: cazier@gothamcity.uucp (David J. Cazier [I-NET])
Subject: DISPLAY capture
Organization: Software Technology Branch - NASA/Johnson Space Center
Date: Tue, 12 Jan 1993 16:20:03 GMT

I would like to know how the UNIX .profile or .cshrc file can be set to 
capture the IP address of the terminal you log into so that the DISPLAY
variable can be automatically set for a X session.
Newsgroups: comp.windows.x
From: mstone@netcom.com (Hong Chen)
Subject: Help On Compiling X11R5 on SUN Solaris 2.1
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Distribution: usa
Date: Tue, 5 Jan 1993 02:06:15 GMT
From: beck@irs131.inf.tu-dresden.de (Andre Beck)
Newsgroups: comp.windows.x
Subject: Re: An Open Challenge (it can't be done!)
Date: 4 Jan 1993 15:26:22 GMT
Organization: Dept. of Computer Science, TU Dresden, Germany.
Distribution: world
Reply-To: Andre_Beck@IRS.Inf.TU-Dresden.DE
NNTP-Posting-Host: irs131.inf.tu-dresden.de
Keywords: xor cursors images biscuits


The Problem was:
>Here's the short form:
> - 8 bit image in backing pixmap used to update window
> - Image drawn in 8 bit X window
> - Want to draw diagonal lines on top of image that can
>   be removed quickly (i.e. replace them with the data they so
>   recently covered)
> - Can't do server extensions (too many platforms to support)

If you already have the backing pixmap, why not do the following:

Keep a list of all lines.

To redraw, XCopyArea the pixmap to the window, then draw the line list to
the window.

To add/remove lines, simply add/remove them to/from your list, then redraw.

(I understand you the way, that you are drawing the lines to the pixmap,
 if not, it will get simple for you).

Another but not so good way would be a proper selected PlaneMask.


--
+-o-+--------------------------------------------------------------+-o-+
| o | Your .signature timeout has expired, please choose a new one | o |
| o | This one is dedicated to all copy-and-edit-my-sign-guys...   | o |
| o |                        \\\----///                            | o |
| o | Andre' Beck (ABPSoft) mehl: Andre_Beck@IRS.Inf.TU-Dresden.DE | o |
+-o-+--------------------------------------------------------------+-o-+
From: durian28@ecst.csuchico.edu (dl)
Newsgroups: comp.windows.x
Subject: Does XtCloseDisplay() destroys windows?
Date: 8 Jan 93 02:01:18 GMT
Organization: California State University, Chico
NNTP-Posting-Host: bolger.ecst.csuchico.edu


I am writing a single application context program with multiple displays
in hpux 8.0/Motif1.1 environment.

I seemed to have problems with XtCloseDisplay().

Scenerio:
	1. Created a display with XtOpenDisplay() and used XtAppCreateShell(),
	     XtCreatePopupShell() to create a toplevel widget as the parent
             for other windows in that display.
        2. Then, I remove the display with XtCloseDisplay().
	3. When I reopens the same display (step #1) and tried to create widgets,
	     I get the following warning:
   		"Warning: Try to change value of a registered window."
	     and then core dumps.

Temporary solution:
	- Instead of XtCloseDisplay(), I use XtDestroyWidget() on the toplevel widget.
	  Now, the program runs perfectly, I think.  Will there be any future problem
	  by not closing those displays with XtCloseDisplay()?

Main questions:
	1. Will there be any future problem by not closing the displays with
	     XtCloseDisplay()?
	1. Does XtCloseDisplay() destroys windows?  
	2. If it does, what's my mistake?


THANKS IN ADVANCE.

-dennis-
Newsgroups: comp.windows.x
From: glen@iis.UUCP
Subject: Re: Pixmap Editor for X
Organization: The Internet
Date: Wed, 6 Jan 1993 17:42:34 GMT

> 
> I would like to create a logo within my application (multi-colored).
> Sun utilities do not have a pixmap generator. There are some third
> party pixmap widgets for MOTIF but since I am using OLIT, I can not
> use them. Please let me know of any X pixmap utilities or OLIT
> pixmap utilities if you know of  any. Thank you in advance.
> 
> 	Vladimir Dimanshteyn
>         UPS R&D
> 
Try using $OPENWINHOME/bin/iconedit, distributed with OW3.  You can create
icons, bitmaps, mono-pixmaps AND color-pixmaps files.
From: taylor@foraker.tivoli.com (Eric Taylor)
Newsgroups: comp.windows.x
Subject: Re: Varargs functions
Date: 5 Jan 93 18:56:04 GMT

In article <1993Jan4.162507.7847@alex.com>, bryan@alex.com (Bryan Boreham) writes:
|> In article <LJb=sL@engin.umich.edu>, garath@engin.umich.edu (Scott Grosch) writes:
|> |> 
|> |> I have heard many times that it is bad practice to mix the varargs
|> |> routines (such as XtVaSetValues) with the non varargs routines (such
|> |> as XtSetArg() with XtSetValues).  I have looked through the code for
|> |> these functions and it would appear that the varargs simply pull out
|> |> each arg, put it in the formst that XtSetValues wants, and then calls
|> |> that just like normal.  Would someone shed some light on this please?

Perhaps stylistically bad, but certainly valid.
Just try and get around arg lists when doing MOTIF programming.

BTW, anyone, in MOTIF 1.2 are there varargs versions of the
XmCreateXXXX calls?  I am anxiosly awaiting such things.
From: bfn568w@mt5.BELL-ATL.COM (John Bolton)
Newsgroups: comp.windows.x
Subject: Basic help with XSendEvent
Date: 8 Jan 93 20:52:39 GMT
Organization: The Internet

Dear Friends,                                          January 5, 1993

RE: Help with XSendEvent

Problem: I am listening for certain asynchronous events on a network.  When
I get one, I want to notify an X client application that I have received
this network event, so that application can grab it in its main event loop.

Although I am pretty good at graphics in X, I cannot seem to get XSendEvent
to successfully send a message to the other application (or the other
application to see it?).

So my question is, if you have a code fragment that shows how to use 
XSendEvent and the corresponding way the other client must receive the message
I would love to have a look at it. You would be helping X to take hold in
Bell Atlantic.   

Thanks a million.

John Bolton
bfn568w@bell-atl.com
From: jayesh@caip.rutgers.edu (jayesh patel)
Newsgroups: comp.windows.x
Subject: Help in using XDrawLine()
Date: 12 Jan 93 20:49:55 GMT
Organization: Rutgers Univ., New Brunswick, N.J.

Hi Friends,
I am novice to x-window programming. Can anyone tell me
why line does'nt appear in the window when i run the following program.

#include <stdio.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>

main(argc,argv)
     int argc;
     char **argv;
{
  int x,y,width,height;
  Display *display;
  Window win,root;
  XEvent event;
  int screen;
  XGCValues value;
  GC gc;

  x=atoi(argv[1]);
  y=atoi(argv[2]);
  width=atoi(argv[3]);
  height=atoi(argv[4]);
  
  display = XOpenDisplay(NULL);
  root = XDefaultRootWindow(display);
  win = XCreateSimpleWindow(display,root,x,y,width,height,0,0,0);

  XMapWindow(display,win);
  gc = XCreateGC(display,win,0,0);
  screen = DefaultScreen(display);
  XSetForeground(display,gc,BlackPixel(display,screen));
  XSetBackground(display,gc,WhitePixel(display,screen));
 
  while(1)
    {
      XNextEvent(display,&event);
      switch(event.type){
      case Expose:
	XDrawPoint(display,win,gc,10,10);
	XDrawPoint(display,win,gc,20,20);
	XDrawLine(display,win,gc,10,10,20,20);
        break;
      }
    }
}
Xref: sparky comp.windows.x:20919 comp.graphics:13568 alt.graphics.pixutils:2868 comp.windows.x.apps:1759
From: koblas@netcom.com (David Koblas)
Newsgroups: comp.windows.x,comp.graphics,alt.graphics.pixutils,comp.windows.x.apps
Subject: XPaint 2.0 Release Information
Date: 8 Jan 93 17:23:25 GMT
Organization: Netcom - Online Communication Services  (408 241-9760 guest)


                              XPAINT 2.0 Release


Welcome to the release of XPaint 2.0!  So, what does XPaint do for
you?  Why many wonderful things of course.  XPaint is a reasonably
versatile bitmap/pixmap editing tool.  XPaint came out of a problem
editing some very large bitmaps, and wanting more functionality then
was provided by bitmap. After XPaint 1.0 sat around for a LONG time, I
finally ended up with a strong need to edit color pixmaps.  Presto,
this is what has appeared from that problem.

The short features list:
        Usual paint operations:
                Brushes, Spray paint, Pencil
                Lines, Arcs, Pattern Fill, Text,
                Boxes, Circles, Polygons.
        Works on multiple images simultaneously.
        Cut/Copy/Paste between all active images.
        Fatbits/Zoom on the image windows.

XPaint is slightly biased towards a MacPaint-like operation set, since
this is the only paint program that I have ever used for more than 30
seconds, but not to let this discourage you, it does quite a bit more.
If you find some functionality missing and feel like adding it, there
is a rough description of how the operations interface works, and I'd
be more that willing to help you.

At the present time, XPaint only supports the reading/writing of either
X11 Bitmaps, XWD (X window dump) format, or the PNM format that is used
in the PBMPLUS toolkit (which is available for ftp from
export.lcs.mit.edu, and provides many converters to and from most
widely available formats).  Also for those of you using 'xv' to preview
images, you will find that it can read/write the PNM formats as well
and can be used as a simple format converter.

XPaint is written using ANSI C (for the most part), and thus you need
to have a compiler that understands function prototypes.  On most MIPS
based machines this is the standard compiler, on a Sun SparcStation you
will either need to use gcc or 'acc' (from sun).  If you have some
other brand of workstation, try using 'gcc' if your compiler doesn't
work.

Available for FTP from:
        export.lcs.mit.edu as contrib/xpaint2.tar.Z 
        netcom.com as pub/koblas/xpaint2.tar.Z

Hope you find this useful, 
David Koblas 
koblas@netcom.com
-- 
name       : David Koblas                 domain: koblas@netcom.com
affiliation: Extra Mile Consulting	   phone: +47 (83) 38663
quote: "Time has little to do with infinity and jelly donuts."
Newsgroups: comp.windows.x
From: bambi@bu.oz.au (David J. Hughes)
Subject: Re: version of XDM that uses kerberos
Organization: ITS, Bond University
Date: Tue, 12 Jan 1993 01:12:45 GMT

mickey_coggins@vnet.ibm.COM ("Michael A. Coggins") writes:

>Has anyone added kerberos authentication to the XDM program?


I'll be starting work on this next week so if anyone has pointers,
please raise your hand before then.  If not, I'll make anything I come
up with available to all who ask.


bambi
   ___                                 David J. Hughes     bambi@bu.oz.au
  /   \                /  /    /        
 /  __/ __   __   ____/  /    / __          Senior Network Programmer
/    \ /  \ /  \ /   /  /    / /  \  /    Comms Development & Operation
\____/ \__//   / \__/   \___/ /   / /       AUSTRALIA  (+61 75 951450)
Newsgroups: comp.windows.x
From: dn3662@oktext.sbc.com (David W. Neill)
Subject: Re: linker errors under OpenWindows
Reply-To: dn3662@oktext.UUCP (David W. Neill)
Organization: Southwestern Bell
Date: Wed, 6 Jan 93 03:45:16 GMT

In article <9301060002.AA00856@fingon.Aus.Sun.COM> brianc@Aus.Sun.COM (Brian Cunningham) writes:
>
>> 
>> I am using a SUN SPARC STATION IPX with SunOS Release 4.1.3 (GENERIC_SMALL) #).
>> following:
>> 
>> % make -f makefile xhw3
>> cc -o xhw3  xhw3.o -O  -lXaw -lXmu -lXt -lX11 -lm   
>> ld: Undefined symbol
>>    _XShapeQueryExtension
>>    _XShapeCombineMask
>>    _get_wmShellWidgetClass
>>    _get_applicationShellWidgetClass
>> *** Error code 2
>> make: Fatal error: Command failed for target `xhw3'
>>
>
>I have the Same problem Yun. I am running SunOS 4.1.3, OW 3.0. All fully 
>installed and always find that the following two errors occur when compiling
>most X programs;
>
>   _get_wmShellWidgetClass
>   _get_applicationShellWidgetClass
>
>I too tried the -Bstatic compile option, to no effect. Does anyone out there
>have a solution?
>

Did you do a "make clean" before re-issuing make?  Adding the -Bstatic
option gave me the same errors until I re-built all the *.o files,
also.  Then, the link run ran through without a hitch.  Also, in the
Makefile, I believe I placed the "-Bstatic" in front of the entire
collage of -l[Xt|Xaw|Xmu|etc].  May not have been necessary, but if
memory serves, I couldn't get it to work otherwise.


--
David Neill - Mgr, Mtce Ctr      phone number   email
2205 N Rockwell FLR 1      work> 405-792-3333 > ..oktext!dn3662
OKC,OK          73008      home> 405-843-4464 > ..oktext!frodo!david
Internet:  dn3662@sunset.sbc.com  OR  ..texbell.sbc.com!oktext!dn3662
Newsgroups: comp.windows.x
From: twilight@yoyo.cc.monash.edu.au (Robert Prowse)
Subject: Conferences and trade shows in USA, whats out there?
Summary: Looking for some Conferences and/or trade shows in USA about X
Keywords: conference,trade show
Organization: Monash University, Melb., Australia.
Date: Mon, 4 Jan 1993 11:42:56 GMT

Hi,
	I have a friend who is going over to America
this year and wishes to increase his knowledge about X.
In particular he is looking for any useful conferences, 
trade shows or perhaps even large user group meetings
that would give a feel of what X is doing at the moment, 
and what directions it could possibly take.
	If you know of anything that is coming up
could you please email me some information on who to 
contact for further information.

Thanks in advance!

Robert Prowse

twilight@yoyo.cc.monash.edu.au
From: bouyer@babette.ensta.fr (Manuel Bouyer)
Newsgroups: comp.windows.x
Subject: RE: Xpaint 2.0 compile error
Date: 10 Jan 1993 13:13:33 GMT
Organization: Ecole Nationale Superieure de Techniques Avancees, Paris
Distribution: world
NNTP-Posting-Host: babette.ensta.fr



In article 7556, Roland Besserer writes:
>Just downloaded and tried to compile xpaint 2.0 (have had xpaint 1.0
>for a while) and I get:
>
>Operation.c: In function `okLineCallback':
>Operation.c:90: `XtNleftBitmap' undeclared (first use this function) 
>Operation.c:90: (Each undeclared identifier is reported only once 
>Operation.c:90: for each function it appears in.) 


On my sun3, I had to include the file SmeBSB.h (file of the Xaw librarie) in
Operation.c. There are anothers problems with math.h i've not solved.

---
Manue Bouyer
ENSTA (Paris)
bouyer@ensta.fr
---

Newsgroups: comp.windows.x
From: mh@awds.imsd.contel.com (Mike Hoegeman)
Subject: Re: any Experiences with X over serial lines
Organization: GTE Contel Federal Systems, Westlake Village CA
Date: Thu, 7 Jan 1993 01:19:36 GMT

Normally I would not post something that smacks of advertising but
there seems to be a lot of interest lately in this newsgroup about X over
serial lines. 

If you are interested in using X over dialup lines you may want to
investigate the Qume QX-15 X(11R5) terminal. It is a monchrome X
terminal works very well over serial lines. The terminal is _very_
inexpensive and does not need slip or anything like that. Just a
modem.

**Note** This is definitely a biased opinion as I write server
software for the terminal.

If anyone wants some more info just drop me a line.
-- 
------------------------------------------------------------------------------
Mike Hoegeman               email: mh@wx.gtegsc.com  tel: (818)706-4145
GTE Weather Systems Group   31717 La Tienda Dr, Westlake Village CA. 91359
From: snozer@cats.ucsc.edu (Daniel Craig Jalkut)
Newsgroups: comp.windows.x
Subject: server/ddx/snf dir for X11R4
Date: 11 Jan 93 10:14:51 GMT
Organization: University of California, Santa Cruz
NNTP-Posting-Host: am.ucsc.edu


I just spent a hellishly long time transferring the tar segments 
for X11R4 to my Sun at home and when installing I hastily deleted 
the ddx/snf directory only to find later that I actually need it. 
I have found an untarred R5 directory but not an untarred R4 dir anywhere.
Can someone point me to an anonymous FTP site with the untarred R4 files
or could someone who has the untarred r4 archive pack up the server/ddx/snf
directory(it's about 25K I think) and mail it to me? Thanks!

-Daniel
Newsgroups: comp.windows.x
From: drand@spinner.osf.org (Douglas S. Rand)
Subject: Re: Colors and GXxor
Organization: Open Software Foundation
Date: 11 Jan 93 12:59:16

In article <9301082259.AA16974@questercorp> stephen@tangent1.UUCP (Stephen McKay) writes:

	   I have created a DrawArea widget under motif and have colored the foreground of this region using Xcolor "DeepSkyBlue".

	   The problem comes when I want to select the foreground color to use with rubberbanding. ie. a rectangle.  What is the method fo selecting a foreground (x) color that when used with Xor, displays the desired color (y)?

	   Note: If the DrawArea is XFillRectangle with "DeepSkyBlue" and I draw a line with logical function GXxor and foreground color = "White", the color of the line drawn is "DeepSkyBlue".

This is probably in the FAQ,  you need to set plane_mask to the
OR of the two colors involved.  A detailed description exists in
at least the O'Reilly books.  The short explanation is that  XOR
xors all the pixel bits and the result had better be a valid
pixel value.


--
Douglas S. Rand <drand@osf.org>		OSF/Motif Dev.
Snail:         11 Cambridge Center,  Cambridge,  MA  02142
Disclaimer:    I don't know if OSF agrees with me... let's vote on it.
Amateur Radio: KC1KJ
Xref: sparky comp.windows.x:21059 comp.windows.x.motif:8518
From: vrowley@testament.bbn.com (Vicky Rowley)
Newsgroups: comp.windows.x,comp.windows.x.motif
Subject: Assistance requested concerning japanese in text widget
Date: 12 Jan 1993 18:29:47 GMT
Organization: Bolt Beranek and Newman Inc., Cambridge MA
Distribution: usa
Reply-To: vrowley@testament.bbn.com. (Vicky Rowley)
NNTP-Posting-Host: bbn.com

Hi,

I have been trying for some time to display japanese characters in a
text widget under X11R5 and Motif1.2 (SunOS4.1.1), without success.  For the
time being, we do not need the capability to enter characters
using the keyboard.  For starters, it would be nice to just
display the appropriate characters according to data read in from
a file, for example.  Any suggestions you might have on how I
could accomplish this would be much appreciated.

Thanks in advance,
Vicky Rowley
vrowley@bbn.com
(617)873-2387
From: haynes@cats.ucsc.edu (Jim Haynes)
Newsgroups: comp.windows.x
Subject: X11R4 on SunOS 4.1.3?
Date: 8 Jan 93 22:13:21 GMT
Organization: University of California; Santa Cruz
NNTP-Posting-Host: hobbes.ucsc.edu


Pardon me if this has already been answered N times.  This is question N+1.

I'm running X11R4 on SunOS 4.1.1 just fine.  I just tried compiling the
X11R4 source on SunOS 4.1.3 and when I try to run the X server
I get errors like
Getting interface configuration: operation not supported on socket
sunOpenFrameBuffer: Inappropriate IOCTL for device
fatal server bug!

This is on an SLC.  Can somebody tell me what I'm doing wrong?
-- 
haynes@cats.ucsc.edu
haynes@cats.bitnet

"Ya can talk all ya wanna, but it's dif'rent than it was!"
"No it aint!  But ya gotta know the territory!"
        Meredith Willson: "The Music Man"
Xref: sparky comp.windows.x.intrinsics:748 comp.windows.x:21035 comp.windows.x.motif:8509