HDTenEightyP/NetNews huggingface dataset:
From: smith@compound.se (Bjorn Smith)
Newsgroups: fj.mail-lists.x-window
Subject: Xtroff + groff + char > 127
Date: 7 Sep 92 10:05:05 GMT
Distribution: fj
Organization: Compound Systems AB

Date: 7 Sep 92 08:13:58 GMT
Message-Id: <Bu787A.EtM@compound.se>
Newsgroups: comp.windows.x.apps,comp.windows.x

We have tried to user groff producing 8 bit feeding xtroff but without
success. For 7-bit ascii it works perfect but when character values above
127 decimal enters xtroff it complain saying:

"Bad character (-27) in  PutCharacter at..."

Is there a fix for this ?

Thanks in advance !
-- 
Bj|rn Smith	Compound Systems, phone +46 8 7923689
UUCP:	 	{uunet,mcsun}!seunet!comsys!smith
Domain Address:	smith@compound.se
From: hasty@netcom.com (Amancio Hasty Jr)
Newsgroups: fj.mail-lists.x-window
Subject: request for X windows performance report
Date: 15 Sep 92 01:45:46 GMT
Distribution: fj
Organization: Netcom - Online Communication Services  (408 241-9760 guest)

Date: Mon, 14 Sep 92 21:52:19 GMT
Message-Id: <-3yna8m.hasty@netcom.com>
Newsgroups: comp.windows.x





I am currently working with Xfree86 under 386bsd, writing a driver for
an S3 based card Orchid Farenheit 1280 as part of a performance improvement.

My question is simple where are the performance bottlenecks in X?

Amancio Hasty
From: jss@inmet.camb.inmet.com (Jelle Schoen)
Newsgroups: fj.mail-lists.x-window
Subject: Getting resources of another client
Date: 15 Sep 92 09:18:52 GMT
Distribution: fj
Organization: Intermetrics Inc, Cambridge MA

Date: 14 Sep 92 22:37:27 GMT
Message-Id: <1992Sep14.223727.6105@inmet.camb.inmet.com>
Newsgroups: comp.windows.x,comp.windows.x.apps

I hope someone can help me with the following:

I have an application running under the X window system (X11R4) on a Sparc
workstation and this application creates a subprocess which will run
independently under X creating its own windows.  The main application needs
to be able get resources/properties of the windows of the subprocess, such
as the x and y locations.  I like to write these to a file in order for an
user to be able to save the screen layout of the main and subprocess, and
restart them at some later date.  The subprocess is actually a plot utility
so I like to also save the window's content of it.  I have found a way to get
the root window's ID and a list of ID of all the clients currently running
under the X server, and their x and y coordinates.  I have done this using
calls to the procedures XOpenDisplay, XQueryTree, and XGetWindowAttributes.
I have the following questions:

1) Is there a way to uniquely identify the windows of my subprocess, that is
   any resources/properties that'll tell me which window is which?  How
   do I do that?  The ID itself won't do the job since the subprocess
   creates its IDs and the main process doesn't know them at all and I can't
   update the source of the subprocess.

2) Is it possible to save a screen layout?  And a window content?  I have heard
   of the utilities xwininfo for window attributes and xwd for a window's
   screendump but I need something that isn't interactively and they are.

I am new to the X world so any information is appreciated.  Also if I am
going in the wrong direction let me know.  I prefer e-mail but I also
will check the newsgroup.  Thanks,

Jelle Schoen
jss@inmet.camb.inmet.com
From: garyb@abekrd.co.uk (Gary Bartlett)
Newsgroups: fj.mail-lists.x-window
Subject: How do I get 'asciiStringWidgetClass' in R5?
Date: 10 Sep 92 04:57:57 GMT
Distribution: fj
Organization: Abekas Video Systems, Reading, UK.

Date: 9 Sep 92 15:55:04 GMT
Message-Id: <1992Sep9.155504.11469@abekrd.co.uk>
Newsgroups: comp.windows.x

What's the story with the asciiStringWidgetClass in X11R5?  I was trying
to  compile  up  an  old  program (which compiled without problem on R4)
which used the following call:

	#define ASCII_STRING
	#include <X11/Xaw/AsciiText.h>

	:
	:

	send1 = XtCreateManagedWidget("send1", asciiStringWidgetClass,
					box1, args, FIVE);

On linking, the asciiStringWidgetClass could not be found:

	ld: Undefined symbol 
	   _asciiStringWidgetClass

I  looked  in  the  header  file  and it mentioned something about Ascii
String Emulation - what is this?  Has it been removed in R5?

Is  there something I can replace this with to make the program compile?
(I    tried    blindly    changing   the   'asciiStringWidgetClass'   to
'asciiTextWidgetClass'  which enabled it to compile but the program then
did not work as it should).

If it makes a difference I'm compiling on a Sparc (4.1.1).

Thanks,
Gary
-------------------------------------------------------------------------------
Gary Bartlett, Abekas Video Systems, 12 Portman Rd, Reading, Berks, RG3 1EA. UK
-------------------------------------------------------------------------------
NET:  Gary.Bartlett@abekrd.co.uk                          PHONE: +44 734 585421
UUCP: ...!uunet!mcsun!uknet!abekrd!Gary.Bartlett	  FAX:   +44 734 567904
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DES Public: 5a9a5d35a2f745ddd8cce89707d3fe671c136aec90b0da037c182630e911eb9e
-------------------------------------------------------------------------------
From: da188@city.ac.uk
Newsgroups: fj.mail-lists.x-window
Subject: Re: xbm to gif conversion
Date: 14 Sep 92 14:39:52 GMT
Distribution: fj
Organization: Workstation Div., Supermicro Systems Group, Sony Corporation

Message-Id: <AA00344.9209141155.Truro@uk.ac.city>
Date: Mon, 14 Sep 92 12:55:30 BST
Reply-To: da188@city.ac.uk
X-Mailer: ELM [version 2.3 PL11]

>Date: 12 Sep 92 11:51:10 GMT
>From: katz@za.ac.und.lourie (Moran Katz)
>Organization: Univ. Natal, Durban, S. Africa
>
>Hi
>
>I would like to know if there are anyone programmes out there that will
>convert from xbm to gif/pcx or any other format that I can use on a PC.


The X client, xv, currently allows you to view xbm, SUN raster, GIF, pbm and
pbm+ files (I think), and allows you to save in those formats too - maybe this
would make a useful conversion program for you? If you are converting Windows
bitmaps to GIF, then may I recommend the WINGIF program for Windows.

Aj.
-- 
.-------------------------------[ The Eno ]------------------------------------.
 JANET : da188@uk.ac.city  da188@uk.ac.city.cs
 I'net : da188@city.ac.uk  da188@cs.city.ac.uk
 BITNET: da188%city.ac.uk@cunyvm.cuny.edu   da188%cs.city.ac.uk@cunyvm.cuny.edu
`------------------------------------------------------------------------------'
From: gjc@mitech.com (George J. Carrette)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Stack Traceback program wanted
Date: 11 Sep 92 03:33:42 GMT
Distribution: fj
Organization: Mitech Corporation, Concord MA

Date: 10 Sep 92 10:26:42 GMT
Message-Id: <2677@mitech.com>
Newsgroups: comp.windows.x

In article <1992Sep9.143656.20352@kocrsv01.delcoelect.com>, c23st@kocrsv01.delcoelect.com (Spiros Triantafyllopoulos) writes:
> we're looking for a program to do stack a trace ... on demand... 
> like under VMS with lib$signal(...)

> So it looks like I'm after 'trace' that can be linked in user programs
> and provide us with the information above. Environment's strictly Unix,
> SunOS and HP-UX.

I think this can be a very important issue for X window programming,
because the complex control structures that end up getting automatically
generated by all the callback mechanisms and recursions in use.
Otherwise I wouldn't want to answer this on comp.windows.x

[It would be a lot of work to write code for the various vendors 
 environments, core formats and etc, to support the traceback features found
 in VMS.]

Fortunately, there is an EASY TRICK available, crude-but-effective,
that can be applied here. It depends only on two things:
(1) some hook or idea of the start and end of "the stack"
(2) some kind of table of program counter starting addresses and procedure name

#1 is easy, in your main, just do this:
char *near_top_of_stack = NULL;
main(...)
{long foo;
 near_top_of_stack = (char *) &foo;
...}

In your "trace" procedure, do a similar thing. On some machines you may
need to recurse a bit more, and do a setjmp(...) to "normalize" the stack
(Details on request, or see the LISP implementation SIOD or the various
 "garbage collectors" for C available.)

Now you might think that #2 means a lot of work. But it doesn't,
at least not in an X-toolkit environment, because there are well documented
datastructures already lying around that have all sorts of pointers to
procedures, those "program counters" you are interested in.
Such as methods and callbacks.

And lastly, you can quite portably employ a filter of some kind
to scan both ".h" and ".c" files in order to generate a special "symbols.c"
file, that has a symbol table for all the other non-callback or
non-method employed procedures.

struct some_symbol some_symbols[] = 
 {{"XtManageChild",XtManageChild}, ... {0,0}};


= So how does this trace procedure work then?
  Well, it doesn't have to do much. Just scan the stack from start to end,
  looking for addresses that appear to be within the program counter range
  of procedures that have been used as callbacks, etc.

  When I use this, I get 80% of the benefit out of the callback info
  that can be gotten for free from the existing environment.

-gjc
From: noel@chpc.utexas.edu ((user name unknown))
Newsgroups: fj.mail-lists.x-window
Subject: Needed -- public-domain graph-plotting widget
Date: 14 Sep 92 09:24:43 GMT
Distribution: fj
Organization: The University of Texas System - CHPC

Date: 13 Sep 92 21:38:33 GMT
Message-Id: <1992Sep13.213833.28870@chpc.utexas.edu>
Newsgroups: comp.windows.x,comp.windows.x.motif,comp.windows.x.open-look


The subject line says it all.
Thanks in advance.
-- 
Noel Menezes                            Internet: noel@hermes.chpc.utexas.edu
Research Assistant                      BITNET:   noel@uthermes
Center for High Performance Computing   Phone:    (512) 471-2447
Balcones Resarch Center & UT-Austin     Fax:      (512) 471-2445
From: kgermann@zeos.com (Ken Germann)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Free software and the future of support for Diamond products
Date: 13 Sep 92 00:52:26 GMT
Distribution: fj
Organization: Zeos International, Ltd

Date: 12 Sep 92 03:55:49 GMT
Message-Id: <1992Sep12.035549.4743@zeos.com>
Newsgroups: comp.unix.sysv386,comp.windows.x,comp.os.linux,comp.unix.bsd,comp.os.mach,comp.sys.ibm.pc.misc,comp.sys.ibm.pc.hardware

In article <1992Sep11.124831.10108@crd.ge.com> davidsen@crd.ge.com (bill davidsen) writes:
>In article <1992Sep10.130359.24767@cbnewsj.cb.att.com>, dwex@cbnewsj.cb.att.com (david.e.wexelblat) writes:
>
>| Well, one of the responses to our Diamond mail survey was from Rick Kemp
>| at SCO.  I quote:
>| 
>| 	We have no plans on supporting their cards at anything but
>| 	640x480 resolution.  They have refused to tell us how their
>| 	cards work, and we have told all of our distributors to
>| 	discontinue carrying them (Gateway 2000 and Zeos).
>| 
>| So we'll see.  The fact that SCO is having trouble doesn't bode well
>| for our winning this battle.
>
>  Interesting, since SCO has a stealth X driver in their directory on
>uunet. I have very little information about it beyond that.
>-- 
The solution for the support of X/Windows in the Freeware arena or
any other arena would be to design a VESA based driver for these
software packages. It would greatly simplify the need to design
specific drivers for specific cards. Granted the VESA drivers may not
take advantage of the hardware specific to the card; but, there would
still be a driver available until someone changes their minds.
How difficult would it be to support a VESA based driver under Unix?
This would be a place to start.


The problems with the support arose with the Speedstar 24X and Diamonds
proprietary technology used on the card. The Speedstar and Stealth
are both supported by ODT 1.x and 2.x now.  The generic TSENG drivers
, I am told should work for the Speedstar (ET4000) based card. 



-- 
Ken Germann              ZZZZ EEEE  OO   SSS    ZEOS International, Ltd.  
support@zeos.com   INET     Z E    O  O S       Technical Support Dept.
uunet!zeos!support UUCP    Z  EE   O  O  SS     530 5th Ave N.W.
800-228-5390      VOICE   Z   E    O  O    S    St. Paul, MN 55112
612-633-7337             ZZZZ EEEE  OO  SSS     FAX         612-633-4607
From: bhilt@amd-1s.hac.com (Brian Hiltscher (DSS))
Newsgroups: fj.mail-lists.x-window
Subject: Unsubscribe
Date: 10 Sep 92 17:53:51 GMT
Distribution: fj
Organization: Workstation Div., Supermicro Systems Group, Sony Corporation

Date: Thu, 10 Sep 92 07:52:52 PDT
Message-Id: <9209101452.AA12610@amd-1s.hac.com>

Please unsubscribe me.  Thank You
From: sobol@cathedral.cerc.wvu.wvnet.edu (Michael Sobolewski)
Newsgroups: fj.mail-lists.x-window
Subject: X Error:  BadCursor
Date: 12 Sep 92 18:40:31 GMT
Distribution: fj
Organization: Workstation Div., Supermicro Systems Group, Sony Corporation

Date: 11 Sep 92 16:25:05 GMT
Message-Id: <3537@babcock.cerc.wvu.wvnet.edu>
Newsgroups: comp.windows.x,comp.windows.x.motif

Why the following method (modified Young's function):

void TraverserWindow::setBusyCursor()
{
  // Do nothing if the widget has not been realized

    if ( XtIsRealized ( _w ) )
      {
        // If this is the first time, create the busy cursor

        if ( !_busyCursor )
            _busyCursor = XCreateFontCursor ( XtDisplay ( _w ),
                                              XC_watch );

        // Install the busy cursor for this window's top-level shell

        XDefineCursor ( XtDisplay ( _w ),
                        XtWindow ( _w ),
                        _busyCursor );
        XmUpdateDisplay(_w);
      }
  }


where _w is a popupshell, causes the error:

X Error:  BadCursor
  Request Major code 2 ()
  ResourceID 0x2
  Error Serial #1840
  Current Serial #1841

I appreciate any suggestions you would be able to e-mail to me.

Mike

-------------------------------------------------------------------------------
Michael Sobolewski              How not to get lost in the complexities of our
CERC/WVU, Drawer 2000           own making is still computing's core challenge.
Morgantown, WV 26506                                           Edsger Dijsktra
office: (304) 293-6961
e-mail: sobol@cerc.wvu.wvnet.edu
From: savchenk@cgi.com ("Alex Savchenko")
Newsgroups: fj.mail-lists.x-window
Subject: Tree Layout/Display Algorithm(?)
Date: 10 Sep 92 04:30:14 GMT
Distribution: fj
Organization: Workstation Div., Supermicro Systems Group, Sony Corporation

Message-Id: <9209091518.AA19908@ult4>
Date: Wed, 09 Sep 92 11:18:40 -0400
X-Mts: smtp


Did anybody come across an article about (or source  code of :) an
algorithm that allows efficient layout/display/editing of a grahical
presentation of a tree-like structures in the window?

Thanks in advance,

	- Alex.
From: mohit@bristol.com (Mohit Sharma)
Newsgroups: fj.mail-lists.x-window
Subject: Unable to get double Click Events
Date: 15 Sep 92 22:44:35 GMT
Distribution: fj
Organization: Bristol Technology Inc., Ridgefield, CT, USA

Date: 14 Sep 92 23:02:09 GMT
Message-Id: <1992Sep14.230209.8752@bristol.com>
Newsgroups: comp.windows.x,comp.windows.x.motif

Hi Netters

I have been really frustrated by this problem and will appreciate any 
response from anyone regarding the problem. The problem I am having is 
as follows:

I am writing a widget in which I want to distinguish between 
a single mouse click and a double mouse click. That is easy because I add
Translations for the two and am able to detect them properly . When ever I 
get a double click I also get the single click function called which is 
fine with me. The problem I have is that at a single click I want to 
Popup a menu but at the double click want to perform some other 
functions. What happens after the first click is detected is that
the menu is popped up but then I am never able to get the double click
routine ever called because the double click translation does not work now.

I know the popup menu grabs the server till it sees a third 
mouse button release event. So I would like to know the possible ways
I can implement the single and double click so that I get to process
Both the events properly.

Thanks

Mohit 
mohit@bristol.com

Bristol Technology Inc.
898, Ethan Allan Highway
Ridgefield, CT 06877
From: haberman@s6.msi.umn.edu (Joe Habermann)
Newsgroups: fj.mail-lists.x-window
Subject: xprkbd source?
Date: 15 Sep 92 03:42:39 GMT
Distribution: fj
Organization: University of Minnesota

Date: 14 Sep 92 18:35:18 GMT
Message-Id: <haberman.716495718@msi.umn.edu>
Newsgroups: comp.windows.x

On our machines we have a program called xprkbd that will 
dump the KeyCode to KeySym mapping for an X display.  Does 
anyone know where I can find the source?  Our man-page seems 
to imply that it may come along with xmodmap, but I looked 
in mit/clients/xmodmap and didn't see it.

Thanks,

Joe Habermann
haberman@msi.umn.edu
From: pd@x.co.uk (Paul Davey)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Xterminal-Server ratio wanted
Date: 15 Sep 92 21:52:17 GMT
Distribution: fj
Organization: IXI Ltd.

Date: 15 Sep 92 18:32:11 GMT
Message-Id: <PD.92Sep15183212@herts.x.co.uk>
Newsgroups: comp.unix.admin,comp.windows.x


One of our distributors was telling me the other week of a pair of
sites using multiple processor Data General machines.

They are running 100 - 150 X terminals per box with no problems.

Software is mixed office automation stuff with X.desktop.

The DG hosts have 96 or 128Mb RAM mind you.

Response is apparently excellent.



--
		     Regards,				
			    Paul Davey			
					
		 "These are interesting times"	

  **	  LOOK - the NEW address & phone numbers for IXI	**

  **	  IXI	         	Internet: pd@x.co.uk		**
  **	  Vision Park   	UUCP:     pd@ixi.uucp		**
  **	  Cambridge        	Bang:     ...!uunet!ixi!pd	**
  **	  CB4 4ZR       	Tel:      +44 223 236 555	**
  **	  United Kingdom	Fax:      +44 223 236 550	**
From: nagrwb@vax.ox.ac.uk
Newsgroups: fj.mail-lists.x-window
Subject: Re: help - DEC.5000 / twm / .X11Startup
Date: 10 Sep 92 08:35:04 GMT
Distribution: fj
Organization: Oxford University VAX 6620

Date: 9 Sep 92 10:54:21 GMT
Message-Id: <1992Sep9.115421.8774@vax.oxford.ac.uk>
Newsgroups: comp.unix.ultrix,comp.windows.x

In article <1992Sep9.100638.8758@vax.oxford.ac.uk>, I wrote
> On logging in to a DECStation5000/200 I have sitting at my desk at
> the moment I would like to automatically:
>   kill the DecWindow Manager
>   use twm
>   set a few friendly X clients
>   start-up epoch (which resides on another host) in an iconified state
>   have the DEC Session Manager and DECterm console window iconified
> 
> I'm a bit of a novice at this sort of thing so here's my .X11Startup file
>   
>    # Kill the DecWindow Manager
>    kill -9 `ps -ax | grep dxwm | grep -v grep | awk '{ print $1}'` 
>    # Use the Tab Window Manager (is nicer anyway no?)
>    twm &
>    # Start up any other X clients that are desired.
>    xsetroot -bitmap ...
>    xbiff ... &
>    dxclock ... &
>    xload ... &
>    xterm -iconic -title elm -e elm &
>    xterm ... &
>    xrsh otherhost /usr/local/bin/epoch ... & 
> 
> which does most of the job. However I don't know how to have the session
> manager and console iconified automatically. Also the "xrsh ... epoch" exits
> immeadiately. suggestions/help welcomed and yes i know i can set everything
> up just as i'd like and then xlock when I'm not around but others need access
> to the console.
Okay - so I'm a novice. I've set up the .Xdefaults file to give me TWM instead
of finding and killing DWM. Also managed the iconified features. However
I still have one problem. I can't seem to get epoch started on the
otherhost - the session manager reports a cryptic "No match." Help anybody?

Richard.
-- 
** R.W. Brankin -- Numerical Algorithms Group Ltd. -- nagrwb@vax.ox.ac.uk **
**   suggestions for sig. welcome   --   will need   include<std.discl>   **
From: fkk@Germany.Sun.COM (Frank Kaefer - Sun Germany IR SysAdm Postmaster - Munich)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Sun, X11R5 and openwindows
Date: 15 Sep 92 22:29:59 GMT
Distribution: fj
Organization: Workstation Div., Supermicro Systems Group, Sony Corporation

Date: 15 Sep 92 06:59:07 GMT
Message-Id: <fkk.716540347@penang>
Newsgroups: comp.windows.x

haim@cs.technion.ac.il (Haim Roman) writes:

|In article <1992Sep09.211513.19115@watson.ibm.com>, johndew@watson.ibm.com (John Dewysocki) writes:
||> We have upgraded to SunOs 4.1.2 and X11R5, my problem is that
||> I can't start up openwindows any more.  When I try to execute
||> openwin it complains in the following way, then dies:
||> Couldn't get base SunWindow
||> /usr/openwin/bin/xinit:  Connection refused (errno 61): unable to
||> connect to X server

|Egads, you too!?  I've noticed the same problem, but, because of the
|particular circumstances, I assumed that we really munged some system
|files.  Please post any answers you get to news.
|Thank you.

There might be a simple solution to this problem: just remove /tmp/.??*
(ie .NeWS-unix .X11-unix) - this did the trick for me :-)

Cheers,
Frank
--
Frank Kaefer, SUN Microsystems GmbH Germany, IS SysAdm Postmaster
IS Solaris Transition Co-Ordinator Central Europe
frank.kaefer@Sun.COM frank.kaefer@Germany.Sun.COM fkk@sta.sub.org
From: drmres27@ucs.usl.edu (Mejia Pablo)
Newsgroups: fj.mail-lists.x-window
Subject: Re: stop dirty pictures.. how?
Date: 12 Sep 92 07:17:42 GMT
Distribution: fj
Organization: Univ. of SW Louisiana, Lafayette

Date: Fri, 11 Sep 1992 05:37:51 GMT
Message-Id: <DRMRES27.92Sep10233751@suze.ucs.usl.edu>
Newsgroups: comp.windows.x


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

>   type xhost - to disallow access, and xhost + to allow access.

I don't believe that this works all of the time.  At least I am
positive that it does'n run work on our Suns.  You need to start up
the server with some type of authority mode, as well as running xauth
to generate an authority file.  This maybe the problem.  Check how you
start your server.

Is this different for other servers?

On our system, I started the xnews system with -noauth.  Then anyone
who wants to use your display just needs to log on to the machine, and
type xhost +.  The request is granted.  Then anyone can throw windows
up on your screen.  Note that this will not work if you have a
previous .Xauthority file, it must be removed.

Pablo Mejia
drmres27@ucs.usl.edu
From: mjk@hoot.esd.sgi.com (Mark Kilgard)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Books on Porting X servers ???
Date: 6 Sep 92 10:23:27 GMT
Distribution: fj
Organization: Silicon Graphics, Inc.

Date: 4 Sep 92 22:11:47 GMT
Message-Id: <1992Sep4.221147.28143@odin.corp.sgi.com>
Newsgroups: comp.windows.x

In article <2970@jeff.mdavcr.mda.ca>, brian@mdavcr.mda.ca (Brian Lemire) writes:
|> 
|> 	Does anyone know of books written on the design of and/or porting
|> the X window server ? (X11 R5 preferred). If this is not a FAQ, and there is
|> enough interest, I will post responses to this news group. Please E-Mail
|> responses to me, thanks

Yes, Digital Press will soon be publishing a book on
the MIT X server and its internals.  It is by Erik Fortune
and Elias Isreal (sic?).  It is in the same series as Scheifler
and Gettys "X Window System".

Yes, it covers X11R5.

I think it fills a long open gap in the X literature.  I
think you will find it exactly what you are looking for.
(I helped review a draft of it.)

- Mark