HDTenEightyP/NetNews huggingface dataset:
From: jeremy@sw.oz.au (Jeremy Fitzhardinge)
Subject: Re: BUS error in Type1 code -- any ideas?
Organization: Softway Pty Ltd
Date: 29 Sep 92 03:35:15 GMT

In <Bv7BHB.LEL@dcs.glasgow.ac.uk> sinclair@dcs.glasgow.ac.uk (Duncan Sinclair) writes:
>This is on a b&W sparc, SUNOS 4.1.1, server compiled with gcc 2.2.2.
>X11R5, patch level 17, Type1 software patch 1.

There seems to be a problem in gcc when compiling the Type 1 renderer.
I compile the whole server with gcc, except the Type 1 renderer directory
which I do with the Sun C compiler.  I've yet to track down what actually
fails so I can generate a gcc bug report.

	J

--
jeremy@sw.oz.au ph:+61 2 698 2322-x122 fax:+61 2 699 9174
The pumpkin.  The sheep.  My brother's wife.
From: eddie@laslett.SLAC.Stanford.EDU (Xintian Eddie Lin)
Newsgroups: comp.windows.x
Subject: adding font path on a X terminal
Date: 7 Oct 92 01:23:15 GMT
Organization: Stanford Linear Accelerator Center


Hi, there:
	I am running x server on a NCD x terminal, the trouble I have is
xset +fp /u/ap/eddie/myfontsdir giving error message as following:
X error of faileed request: BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  51(X_SetFontPath)

The fonts.dir is properly built, I suspect I have to do something to the 
configuration file for the server. Can anyone point me to the right place ?

thanks

	Eddie Lin
-- 
======================================================================
#                   Balance Principle:   Gain For Lose               #
======================================================================
From: dale@ntg.com (Dale Luck)
Newsgroups: comp.windows.x
Subject: looking for xperfmon for X11R5
Date: 5 Oct 92 22:41:38 GMT
Distribution: usa
Organization: New Technologies Group, Inc.  Palo Alto CA


Subject like says it. We have a collection of sparcs
and sun3s all running 4.1.1 or better. The xperfmon
I have dates back to X11R4 days and no longer links
properly with X11R5 libraries. Can anybody help?
email is prefered.
Dale
From: gjc@mitech.com (George J. Carrette)
Newsgroups: comp.windows.x
Subject: Re: X11 Vectrix emulator?
Date: 28 Sep 92 19:08:57 GMT
Followup-To: comp.windows.x
Distribution: usa
Organization: Mitech Corporation, Concord MA

In article <15672@borg.cs.unc.edu>, mueller@carissimi.cs.unc.edu (Carl Mueller) writes:
> Failing that, does anybody have any X11 program that accepts
> general commands from stdin to draw points, lines, circles, etc?
> Sure, such a program wouldn't be too hard to write; it's just
> a matter of TIME!

XTERM does that, especially in the TEK 4014 emulation.



Xref: sparky comp.windows.x:17423 comp.windows.x.motif:6602 comp.windows.x.intrinsics:369
From: bjoerns@stud.cs.uit.no (Bjoern Stabell)
Newsgroups: comp.windows.x,comp.windows.x.motif,comp.windows.x.intrinsics
Subject: Re: Blinking
Date: 4 Oct 92 16:23:03 GMT
Organization: University of Tromsoe, Norway

In article <1992Oct1.204222.13721@relay.nswc.navy.mil>, dnguyen@xobu.nswc.navy.mil (D. Nguyen) writes:
] Hi all,
] Does any one know how to implement blinking in X ? An obvious solution
] is just too costly. Thanks.

Obvious?  Are you thinking of redrawing with a different color each
'blink'?  What about drawing in a read/write allocated color and changing
the color to get a blinking effect?

Regards,
-- 
                                                  Bjoern Stabell
                                                  University of Tromsoe
                                                  (+47) 83 44 053 / 83 75 164
                                                  bjoerns@staff.cs.uit.no
Xref: sparky comp.windows.x:17315 ba.windows.x:125 comp.windows.x.motif:6554
From: gringort@wsl.dec.com (Joel Gringorten)
Newsgroups: comp.windows.x,ba.windows.x,comp.windows.x.motif
Subject: Re: Keyboard equivalent for middle mouse button?
Date: 1 Oct 92 01:05:34 GMT
Reply-To: gringort@wsl.dec.com (Joel Gringorten)
Organization: DEC Western Software Lab

In article <1992Sep29.174919.2644@rational.com>, rw@Rational.COM (Bob Weissman) writes:
|> I'd like to get the same function (paste primary?) on my keyboard
|> as I have on the middle button on my mouse.
|> 

I think it's application dependent.  Alt_Y (Mod1 Y) works in
the MIT text widget.  The action routine is called stuff(). 
For DECwindows applications in my .Xdefaults file I can say:

*DwtText.translations:  #override \n\
	Mod1<Key>b:		stuff()	\n\
	Mod1<Key>y:		stuff()	

The MIT text widget appears to use the action routine insert-selection().
Ditto for Xterm.

I never have been able to get any of the Motif resources to work, but
the action routine for the Text widget is called "stuff()", same as 
the DECwindows Text widget (gee, what a coincidence.)

hope this helps,
-joel
Newsgroups: comp.windows.x
From: achille@leland.StanFord.EDU ( Achille Hui, the Day Dreamer )
Subject: Re: Wanted: "bitmap gallery" utility
X-Transfer-Agent: leland.stanford.edu (NNTP)
Organization: Dept. of Physics, Stanford University.
Date: 26 Sep 92 19:06:31 GMT

>    Hi folks,
>I need a utility which displays many bitmaps in a single window 
>(e.g. displays 25 30x30 bitmaps), preferably ALL the bitmaps contained 
>in a directory. Does such an animal exist?
>
>-- 
>        Massimo Campostrini, 
>Istituto Nazionale di Fisica Nucleare, Sezione di Pisa,
>Piazza Torricelli 2, I-56126 Pisa, Italy  ||  Phone: (+39)(50)42093
>Internet: campo@sunthpi3.difi.unipi.it    ||  Fax:   (+39)(50)48277

If you have John Ousterhout's Tk toolkit on you system, the following
wish scripts will do the job. If you don't have one, demand your system
admin to have one. 

	Hopefully this helps....		

------------------------------------achille (eillihca@drizzle.stanford.edu)
JAXU -- Just Another X-window User

P.S:	you should modify the first line of the following script
	to reflect the correct location of the program "wish" on
	your system.
---- WISH SCRIPT FOLLOWS ----cut-here-------------------------------------
#!/usr/local/bin/wish -f
#
#	usage: bitmaps bitmap1 [ bitmap2 ..... ]
#
proc centerString str {
    global maxlen
    set len [expr $maxlen-[string length $str]]
    if $len<=0 {
        return "$str"
    } else {
        return [format "%*s%s%*s" $len "" "$str" $len ""]
    }
}
if $argc<=0 {
    exit
} else {
    set ncol 1
    while {$ncol * $ncol < $argc} {
        set ncol [expr $ncol+1]
    }
    set nrow 1
    while {$nrow * $ncol < $argc} {
        set nrow [expr $nrow+1]
    }
    label .label -borderwidth 2 -relief sunken \
        -font -*-helvetica-medium-r-normal--*-180* -text bitmaps
    pack append . .label {top pady 10 expand fill}
    set k 0
    set maxlen 7
    for {set i 0} {$i < $nrow} {set i [expr $i+1]} {
        frame .$i -borderwidth 0 -relief flat
        pack  append . .$i {top expand fill}
        for {set j 0} {$j < $ncol} {set j [expr $j+1]} {
            if $k<$argc {
                set fname [lindex $argv $k]
                set bname [file tail $fname]
                set len [string length $bname]
                set len [string length $bname]
                if $len>$maxlen {
                    set maxlen $len
                }
                button .$i.$j -borderwidth 2 -relief raised -bitmap @$fname
                bind .$i.$j <Any-Enter> "
                        %W activate; set tk_priv(window) %W
                        .label config -text [centerString $bname]
                "
                bind .$i.$j <Any-Leave> "
                        %W deactivate; set tk_priv(window) {}
                        .label config -text [centerString bitmaps]
                "
                bind .$i.$j <3> {exit}
		pack append .$i .$i.$j {left expand fill}
            }
            set k [expr $k+1]
        }
    }
    focus .
    .label config -text [centerString bitmaps]
}
From: kelly@nmt.edu (Sean Kelly)
Newsgroups: comp.windows.x
Subject: Re: Regarding How to stop Dirty Pictures.
Date: 26 Sep 92 04:22:21 GMT
Article-I.D.: nmt.1992Sep26.042221.3746
Organization: New Mexico Tech

[ Various people write about keeping unwanted users from accessing
  their displays ]

The solution for which you're looking is to make an .Xauthority file
and to start your server with the -auth option.  The argument to -auth
is the location of your .Xauthority file.  You make the .Xauthority
file using the xauth utility.  All of this crap (-auth option to X
server and xauth program) is included in the X11R{4,5} releases, so
you don't have to go out and fetch it.

xauth and the -auth option enable to choose from three different
authorization mechanisms.

  MIT-MAGIC-COOKIE-1	key-based, key transmitted without encryption
  XDM-AUTHORIZATION-1   key-based, key transmitted w/encryption
  SUN-DES-1             Sun's secure-RPC based (most secure)

Not all servers are built to support XDM-AUTHORIZATION-1.  Check with
whomever built X at your site.  Also, SUN-DES-1 won't work on machines
that don't have Sun's secure-RPC mechanism.

Here's a simple and dirty way to use MIT-MAGIC-COOKIE-1.

1.  Make up a 128 bit cookie, or use a cookie generation program,
    script, random sequence from /dev/mem, whatever.  Let's say
    it's 58ea60c442308e7a678c601d50d28dd3.

2.  Use xauth to make your .Xauthority file.  Type the following
    commands to xauth (in the example, the local host name is fish):

      add fish:0 MIT-MAGIC-COOKIE-1 58ea60c442308e7a678c601d50d28dd3
      add localhost:0 MIT-MAGIC-COOKIE-1 58ea60c442308e7a678c601d50d28dd3
      add fish/unix:0 MIT-MAGIC-COOKIE-1 58ea60c442308e7a678c601d50d28dd3

    When the server starts and reads the authorization file, it then
    knows what key it needs for any connection coming across the
    network (fish:0), coming through the localhost or loopback device
    (localhost:0) and coming through the socket in /tmp/.X11-unix/X0
    (fish/unix:0).

3.  Start X windows with the -auth option to the server.  For example,
    if you use xinit, the command might be

	xinit -- :0 -auth $HOME/.Xauthority

4.  Good luck.  You shouldn't need to worry about nasty pictures or
    people spying on your keystrokes and what-not now ... at least,
    not for awhile :)

Don't even bother with the horrendous manpages for Xsecurity or
xauth---they won't help you.

This should be FAQ --- is it?

--k
Newsgroups: comp.windows.x
From: sjg@dogmatix.ph.kcl.ac.uk (Simon Gornall)
Subject: Xpixmap files
Organization: J. Random Misconfigured Site
Keywords: Argh!
Date: Wed, 30 Sep 1992 07:02:13 GMT
X-Posted-From: dogmatix.ph.kcl.ac.uk
NNTP-Posting-Host: sol.ctr.columbia.edu

Aaaarrrrrggggghhhh! disk head crash on the users partition
with no backups of the pixmaps I used for icons. Does anyone
know of an ftp site for pixmaps, I **REALLY** don't fancy
redrawing them all over again...

Simon.
From: pychang@slate.mines.colorado.edu (CHANG PHILLIP YOUNGSU )
Newsgroups: comp.windows.x
Subject: Question on Xwindows
Date: 2 Oct 92 09:03:23 GMT
Organization: Colorado School of Mines


Hello World !!!

I am a long time MS-DOS user, and recently I have been introduced to the
Unix and Xwindow

Can someone send me some informations on books
about Unix beginner's guide. 
also I am very interested in running Xwindow on my Home computer.
I have 486-50MHZ with 8mag of Memory and 240 HardDrive. W/ SuperVGA
monitor.

My E-MAIL address is pychang@mines.colorado.edu

thank you

Philip Chang..
pychang@mines.colorado.edu
From: brians@atlastele.com (Brian Sheets)
Newsgroups: comp.windows.x
Subject: Problems compiling vtwm
Date: 30 Sep 92 10:00:02 GMT
Article-I.D.: atlastel.1992Sep30.100002.10161
Organization: Atlas Telecom Inc.
Disclaimer: Views expressed do not necessarily represent those of my employer.

I am having some problems compiling vtwm on a Sequent S3 running X11R5.
When I compile it, it barfs out with __fixdfsi and _strdup undefined. I have also had this 
problem on other compiles with other programs. Where should this be defined??. 


thanks
-- 
Brian Sheets				"TRUCK?! What truck?"
153 N. Hayden Bay Dr.			 
Portland, Or 97217			   -Raiders of the Lost Ark
From: grk@ccwf.cc.utexas.edu (Glenn R. Kronschnabl)
Newsgroups: comp.windows.x
Subject: Wcl - Simple Question
Date: 5 Oct 92 13:54:22 GMT
Reply-To: grk@ccwf.cc.utexas.edu (Glenn R. Kronschnabl)

Hi,

I am trying to do something very simple using Wcl v2.2 and I am having 
difficulty.  I looked in all the example provided and couldn't find anything.

What I am trying to do:
 0) have a table widget containing a
 1) Create a RadioBox with two togglebuttons, say sel1 and sel2 and two
    control buttons, say quit and edit in the table
 2) ** now, based on which radio button is set I want to popup a
    a specific dialog widget when I press the edit button

How do I do this?  Thanks.

Regards,
Glenn
----
Glenn R. Kronschnabl
UT-Austin (but an Aggie at heart!)
I didn't do it, you didn't see me do it, you can't prove anything!

Internet: grk@ccwf.cc.utexas.edu
Xref: sparky comp.windows.x:17196 comp.windows.news:705 comp.windows.misc:1510
From: mark@melpar.UUCP (Mark Mchugh)
Newsgroups: comp.windows.x,comp.windows.news,comp.windows.misc
Subject: Grabbing NumLock key
Keywords: Grabbing Numlock
Date: 28 Sep 92 14:37:52 GMT
Followup-To: comp.windows.x
Organization: E-Systems, Melpar Division, Falls Church, VA

I am having a problem grabbing the NumLock key on a Sun IV keyboard.

We have a program that grabbes all twelve f-keys and all fifteen r-keys.
We are also grabbing the numlock key in order to switch from r-keys
to normal cursor control keys.  

Upon pressing a numlock key, no other keys can be grabbed until the
numlock key is depressed again.  It is as if the server steals the first
numlock press and doesn't inform us of the event. 

If anyone knows anything about this please let me in on it.....
Xref: sparky comp.windows.x:17530 comp.sys.hp:11345
From: alpa@tsunami.mbari.org (Patrick Allen)
Newsgroups: comp.windows.x,comp.sys.hp
Subject: Creating 35mm slides from screen dumps
Date: 7 Oct 92 01:09:52 GMT
Organization: Monterey Bay Aquarium Research Institute

A number of people here at the Institute have expressed a strong desire to be
able to create 35mm color slides from screen images. These could be used in
seminars, presentations, etc. The platform which would be used is an HP
7XX workstations with 19" monitors.

I guess the first question is - "Is this possible?" Is there any type of a
"camera" which would produce a slide given a postscript file or bitmap or 
some other graphic format file.

Is it more practical to use software such as xv to display the image on the
full monitor and then use an actual camera to take a picture of the display?

Does anybody out there have any experience in evaluating or using this type
of hardware / software? Any help would certainly be appreciated. Please
respond via email.

-- 
Patrick Allen (alpa@mbari.org)
Monterey Bay Aquarium Research Institute	  Voice:  408-647-3724
160 Central Ave, Pacific Grove, CA  93950         FAX: 408-649-8587
From: alex.sarafian@analog.com (Alex Sarafian)
Newsgroups: comp.windows.x
Subject: Stopping broadcast messages to xterms
Date: 1 Oct 92 14:40:28 GMT
Organization: Analog Devices, Inc.
Originator: sarafian@massis




Is there a way to stop broadcast messages (wall, rwall, etc..) from appearing
in all the xterms on system.

Can I restrict them to just the console ?

If so, please respond via email to alex.sarafian@analog.com
I will post a summary.




Thanks,

Alex S.

-- 
+----------------------+
    Alex Sarafian 
  Analog Devices, Inc.
alex.sarafian@analog.com
From: abel@sparc2.prime.com (Barry Abel)
Newsgroups: comp.windows.x
Subject: Looking for tools for testing X applications
Keywords: Computervision, Cambridge, MA
Date: 1 Oct 92 20:25:44 GMT
Expires: 1 Jan 93 05:00:00 GMT
Reply-To: abel@sparc2.prime.COM (Barry Abel)

Does anyone know of good software that can be used to automate the
testing of an X Windows application?  The program that I'm testing
is a computer-aided design program; the platform I'm most concerned
about is the Sun SPARCstation.  I'd like software that would allow
me to write automated test suites and that would check results 
against standard results. 

Please reply to my e-mail address.  I will post a summary of any 
replies. 

Thanks in advance.

- Barry Abel
From: klute@tommy.informatik.uni-dortmund.de (Rainer Klute)
Newsgroups: comp.windows.x
Subject: Re: Question Regarding XtMainLoop()
Date: 5 Oct 1992 14:48:28 GMT
Organization: CS Department, Dortmund University, Germany
Distribution: world
NNTP-Posting-Host: tommy

In article <1992Oct02.135443.13597@bnr.ca>, herrage@crchh451.bnr.ca (Robert
Herrage) writes:
|> I'm currently encountering a problem that I'm guessing is caused by 
|> XtMainLoop().  First of all, does XtMainLoop() look for events based
|> on the order in which things have "registered" to be monitored by it?
|> Let me give you an example.
|> 
|> I have a dialog that I'm wanting to popup.  I've also used
|> XtAppAddInput()
|> to monitor a socket (this is done way before the dialog is requested to
|> be
|> popped up).  What ends up happening is that there is a case where my
|> appli-
|> cation gets a burst of data on the socket.  These all seem to be
|> handled
|> BEFORE the dialog ever gets popped up -- even though I called
|> XtPopupDialog()
|> BEFORE the burst begins.
|> 
|> Is this due to the fact that XtAddAppInput() has some entry in some
|> array
|> that XtMainLoop() looks at so that it sees the socket-related events for
|> it 
|> BEFORE it ever processes any event(s) for the dialog?  If this is the
|> case, 
|> how can I prioritize the order in which things get processed?
|> 
|> What I want to have happen is that as soon as the function, that made
|> the 
|> call to XtPopupDialog(), returns, I want to see my dialog on the screen
|> (not just a box, but all of the subwidgets within it).  Then as each
|> block
|> of data comes on the socket, I want to update the contents of the
|> dialog. 

The behavior you observed is due to the way of working of XtAppMainLoop: In
an endless loop it calls XtAppNextEvent, which delivers an X event, and
processes this X event with the XtDispatchEvent function. Please note:
XtAppNextEvent return only when there actually is an X event! Other input
sources or timers are handled inside XtAppNextEvent - it doesn't return. So
calling XtPopupDialog upon receiving the first bits of socket input does
not help because there is so much else to receive, and the X events
resulting from the XtPopupDialog call have to wait.

A solution could be to get rid of XtAppMainLoop and write a private main
loop using XtAppPeekEvent. This function returns whenever some input is
available, being it an X event or input from an input source registered
with XtAppAddInput. Only timers are handled inside. You could even query
which type or types of input are available (XtAppPending) and selectivly
process the one which you think should be processed first
(XtAppProcessEvent).

-- 
  Dipl.-Inform. Rainer Klute      klute@irb.informatik.uni-dortmund.de
  Univ. Dortmund, IRB
  Postfach 500500         |)|/    Tel.: +49 231 755-4663
D-W4600 Dortmund 50       |\|\    Fax : +49 231 755-2386
From: snail@lsl.co.uk
Newsgroups: comp.windows.x
Subject: Re: X regions: why or why not?
Date: 29 Sep 92 16:12:44 GMT
Organization: Laser-Scan Ltd., Cambridge

In article <THOTH.92Sep27125200@beach.cis.ufl.edu>, thoth@beach.cis.ufl.edu (Robert Forsman) writes:
> 
>> I've noticed, however, that not much of the freeware
>> X software that I can ftp uses regions.  Why is this?
> 
>   I believe it's just that not many people know how to accumulate
> Expose events properly.  It's a darn shame too because programs like
> xdu really lose when you OpaqueDrag across them.

Could someone show me (and others :) ) how please? JUst curious....
--
snail@lsl.co.uk      

Interviewer: "What's the most satisfying thing about being in
              The Sisters Of Mercy?"
Eldritch:    "When I collapse at the end of it..."
Interviewer: "Do you mean that?"
Eldritch:    "Yeah...."

Vote for Bill Clinton. Vote for Bill Clinton. Vote for Bill Clinton.
From: APLer@cup.portal.com (Roland Walter Besserer)
Newsgroups: comp.windows.x
Subject: XDM for DECstation 5000/200
Date: Sun,  4 Oct 92 12:40:52 PDT
Organization: The Portal System (TM)


Could anyone tell me where to find a binary of xdm for the DECstation 5000/200
so I can use an XTerminal as a concole. The DECstation I have is for driver
development and thus has no graphics card. 

Also, disk space is limited (a 320MB drive with only about 15MB free), so
building it would be a pain.

roland
Newsgroups: comp.windows.x
From: me@dude.pcs.com (Michael Elbel)
Subject: Re: Emu anyone?
Organization: PCS Computer Systeme GmbH
Date: Wed, 30 Sep 1992 17:55:10 GMT
Keywords: emu

In <1992Sep30.094502.21213@odin.corp.sgi.com> news@odin.corp.sgi.com (Net News) writes:

>Are the Emu developers out there anywhere? I am looking for
>versions of emu later than that available on export.lcs.mit.edu
>(October 91). Was the development continued? Email to the suggested
>address bounces (emu@pcsbst.pcs.de or emu@pcsbst.pcs.com - pcsbst.pcs.com
>no longer seems to be around)

At least the emu@pcsbst.pcs.com still should work. I've responded
to a couple of mailings to that address the last month, even one
that went through sgi.com. If yo would be so kind to try again,
and if the mail still bounces mail me directly so we can try
to sort this out.

Yes the developers are still out there. I'm the only one left
at PCS, but both Jordan and Tom are still alive.

We couldn't afford to do much more work, since the initial
project has been cancelled and we have to do it in our own
time. Emu should work reasonably well, however, as is. I'm
using it right now to read this newsgroup.

I have a couple of patches that 
	a) make it emulate the vt220 even better 
	   (thanks to Steve Crooks @ ingr.com) 
	b) Make it run better on BSD derived systems

I hope to put a new version on export sometimes in the near
future (sounds like marketing? right :-) if Jordan can make
himself finish the documentation.

If someone pays me I even am willing to implement double
width / double height text ;-)

Michael

--
Michael Elbel - me@dude.pcs.com  |  Fermentation fault (coors dumped)
Newsgroups: comp.windows.x
From: EB@CNUCE.CNR.IT
Subject: How do you create a greeting message on the root window?
Organization: The Internet
Date: Mon, 28 Sep 1992 19:22:00 GMT

Hello,

Recently I was staring at my SS while OpenWindows was 
starting up and a question came to my mind:

	How is the initial greeting message created?

I dug out an old version of uwm and tried to hack something
by creating a simple window with a greeting string 
inside (the basicwin example of O'Reilly Vol. 1).
I use the MapNotify event and it almost works: the window
is shown but with no text inside

I'm no Xlib expert, but can someone give me a hint.

Thanks
From: pd@x.co.uk (Paul Davey)
Newsgroups: comp.windows.x
Subject: Re: xon obeying xdefaults
Date: 29 Sep 92 18:23:02 GMT
Organization: IXI Ltd.

>>>>> On 25 Sep 92 21:38:21 GMT, lpb@cs.bham.ac.uk (Luc Beaudoin) said:

Luc> Is there a way to make  xon obey one's .Xdefaults?

At login or session start (maybe in .xinitrc or .xsession)

	xrdb ~/.Xdefaults

--
		     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	**
Newsgroups: comp.windows.x