HDTenEightyP/NetNews huggingface dataset:
From: reno@cps.msu.edu (Gerald L Jr Reno)
Newsgroups: comp.windows.x,alt.graphics.pixutils,alt.binaries.pictures.utilities
Subject: binhex Silly Question
Date: 16 Nov 92 21:08:48 GMT
Reply-To: reno@cps.msu.edu (Gerald L Jr Reno)
Organization: Dept. of Computer Science, Michigan State University
Originator: reno@arctic.cps.msu.edu

Can someone tell me just what binhex is, and where I can get a
hold of a copy? I have access to Suns, PCs, NeXTs, and Macs...

Many thanks,

Jerry Reno reno@cps.msu.edu
Newsgroups: comp.windows.x
From: sd344@city.ac.uk (Paul Sharpe)
Subject: X-based music notator
Keywords: music notation
Organization: The City University
Distribution: comp
Date: 19 Nov 92 13:35:31 GMT


Does anyone know of a notation program (preferebly *free*) to run under X?

cross-posted in comp.music 

(email)

-- 
Paul Sharpe, Unix System Programmer, City University

+44 (0)71 477 8000 x3758
Internet: P.A.Sharpe@city.ac.uk
From: rjc@cogsci.ed.ac.uk (Richard Caley)
Newsgroups: comp.windows.x
Subject: Re: Re: twm titlebuttons etc.
Date: 20 Nov 92 19:25:39 GMT
Organization: Human Communication Research Center
In-reply-to: hrt@utne.aosg.gsf.dec.com's message of 19 Nov 92 18:43:28 GMT

In article <1992Nov19.184328.13507@aosg.gsf.dec.com>, Henry R. Tumblin AOSG (hrta) writes:

hrta> One other thing to note is that the size of the bitmaps for the
hrta> title bar are 15x15.

The size of the buttons depends on the size of the titlebars which in
turn depends on the size of the font used. 

In later version of tvtwm there is an extra parameter TitleFontPadding
to allow you to add space above and below the text giving bigger
buttons for a given text size.

In case anyone likes them, here are the buttons I use.

#define iconify_button_width 16
#define iconify_button_height 16
#define iconify_button_x_hot 7
#define iconify_button_y_hot 7
static char iconify_button_bits[] = {
   0xfc, 0x1f, 0x02, 0x20, 0xfd, 0x7f, 0x05, 0xd0, 0x05, 0xf0, 0xf5, 0xd7,
   0x15, 0xf6, 0x25, 0xd6, 0x25, 0xf3, 0xc5, 0xd3, 0x85, 0xf1, 0x05, 0xd0,
   0xfd, 0xff, 0x56, 0xf5, 0xfc, 0x7f, 0xf8, 0x3f};

#define resize_button_width 16
#define resize_button_height 16
#define resize_button_x_hot 7
#define resize_button_y_hot 7
static char resize_button_bits[] = {
   0xfc, 0x1f, 0x02, 0x20, 0xfd, 0x7f, 0x85, 0xd0, 0x45, 0xf3, 0x45, 0xd3,
   0x35, 0xf6, 0x0d, 0xd8, 0x35, 0xfe, 0x75, 0xd7, 0x45, 0xf3, 0x85, 0xd1,
   0xfd, 0xff, 0x56, 0xf5, 0xfc, 0x7f, 0xf8, 0x3f};

--
rjc@cogsci.ed.ac.uk	You start by customising the buttons and
			before you know it you find yourself
			rewriting all of the code...
From: snail@lsl.co.uk
Newsgroups: comp.windows.x
Subject: Re: Want to overlay bitmap onto a pixmap
Date: 16 Nov 92 18:10:06 GMT
Organization: Laser-Scan Ltd., Cambridge

In article <1992Nov7.113623.21363@thunder.mcrcim.mcgill.edu>, mouse@thunder.mcrcim.mcgill.edu (der Mouse) writes:
> In article <1992Nov5.155947.2619@lsl.co.uk>, snail@lsl.co.uk writes:
>> In article <RPB.92Nov3144841@brain.psy.ox.ac.uk>, rpb@psy.ox.ac.uk (Ray Bellis) writes:
> 
>>> [wants to overlay a 1-bit bitmap onto an 8-bit pixmap]
> 
>> OK, [...rough outline, mentioning XCopyArea...]
> 
>> Note that I haven't address the fact that you're dealing with 8 bit
>> and 1 bit pixmaps.  All I'm doing is addressing the fact you must
>> remove data before you plot data.
> 
>> Note, that you could also use XCopyPlane for each of teh 8 planes.
>> This is probably not what yu want and will be slower than 1
>> XCopyArea.
> 
> You seem to be a bit confused about XCopyPlane and XCopyArea.

At the time yes. Stupid of me, I was really tired and thought that 'cos he'd
tried various things he'd got the depth right and had screwed something else,
when I came in the next day, I realised I'd screwed up myself. I think I won't
post when I'm tired in future. Stupid really since I'd done a lot of
stuff using these only a few weeks earlier.

Electrons really fry my brains after about 9 or 10 hours.
-- 
snail@lsl.co.uk      

You Have To Remember, You Need To Beleive,
The Time Has Past, Dust In The Leaves.
From: jimf@centerline.com (Jim Frost)
Newsgroups: comp.windows.x
Subject: Re: FLAME, FLAME ON X!!!
Date: 20 Nov 1992 19:32:56 GMT
Organization: CenterLine Software, Inc.
NNTP-Posting-Host: 140.239.3.202

dbrooks@osf.org (David Brooks) writes:
>jimf@centerline.com (Jim Frost) writes:

>>Unfortunately power-of-two allocation is remarkably wasteful of
>>virtual memory (which means wasteful of real live swap space on many
>>systems).

>Then why have I heard people recommend using gnu malloc with X, people who
>I thought would be in the know?  The only gnu mallocs I've seen use
>exclusively power-of-two allocation, and don't attempt to split a larger
>block or merge blocks on free.

Look at it this way -- if you do all allocations in a power of two
then to have a list for every possible different sized allocation you
need only thirty-two lists (actually 28 or 29 depending on the minimum
allocation size, or even fewer if you consider that you can't really
allocate a 4 gig area).  That's real convenient -- you can basically
find an empty space (if there is one) immediately, making your
allocator REALLY fast.  It's my assumption that that's what the GNU
malloc does, although I've never looked it the code.

The downside is that it's wasteful for allocations that don't fit
well.  An 65-byte allocation will return 128 bytes.  No big deal, at
least as long as you're not doing a lot of those allocations.  As the
sizes get larger, however, it becomes a really big deal -- a 1.1
megabyte allocation will return 2 megabytes, for instance.  Once you
have a few of those you're starting to really waste memory.

Most small programs -- and even a lot of large ones -- do few large
allocations but a lot of small ones.  For small allocations the
lossage isn't too bad, so you get the performance win of finding free
elements of the right size quickly without any real degredation.

Things fall apart quickly for any application that actually needs to
do many large allocations of odd sizes, though -- if the allocation
doesn't fit well you start to loose megabytes.  Thus for applications
that do lots of large allocations it really pays to use something that
fits allocations better.  Further, it's really not that hard to make
an algorithm that's just as fast as the power-of-two algorithm -- at
least for a fair number of different small sizes.  It's just harder
than doing a power-of-two algorithm.

Anyway this has gone off pretty far from X.  If you want more
discussion send me email.

jim frost
jimf@centerline.com
From: grape@suned1.Nswses.Navy.MIL (Mike Grapevine)
Newsgroups: comp.windows.x
Subject: Executing GNU-C compiled Desqview/X applications
Date: 20 Nov 92 15:23:47 GMT
Organization: The Internet

Hello,
    I compile and try to execute X-Window based
applications using gnu-C distributed by djgpp while
using Desqview/X under MSDOS. When I try to execute
the applications, such as xfishtank, I get:

Segmentation violation in pointer 0x00000000 at 40:e0a0
Exception 14 at eip=e0a0

    Anybody know what's wrong here. I use aout2exe
to convert executables from an a.out format to an
exe format.

-- 
        Michael D. Grapevine          |  One of these days,
        USN SWC                       |    One of these days,
        Code 4L32                     |  POW!
        grape@suned1.nswses.navy.mil  |   It's gonna happen,
        grape@tecnet1.jcte.jcs.mil    |     and I won't even realize it.
        Bus: (805) 982-0983           |
        FAX: (805) 982-0973           |
    Any statements / opinions made here are mine.
Newsgroups: comp.windows.x
From: e-sink@uiuc.edu (Eric W. Sink)
Subject: Raster images in xfig ?
Originator: sink@ux2.cso.uiuc.edu
Reply-To: e-sink@uiuc.edu
Organization: University of Illinois at Urbana
Date: Thu, 19 Nov 1992 21:44:59 GMT

Has anyone considered adding the capability of using raster
image objects in xfig ?  An image could be imported from say,
an xwd file, and then it could be included in printouts and
so on.  Great for annotating scientific images.  Natural
for PostScript output, tough on TeX.  Difficult to save in
xfig format.

Just an idea...


-- 
Eric W. Sink, Spyglass        | "You are the Pan."
1800 Woodfield Drive          |     - Rufio
Savoy, IL  61826              |
---- e-sink@uiuc.edu ---------|---------- 217-355-6000 -----------------------
Newsgroups: comp.windows.x
From: pagni@bertoldo.cnuce.cnr.it (Andrea Pagni)
Subject: Tkx printing from RISC/6000
Organization: The Internet
Date: Wed, 18 Nov 1992 14:42:49 GMT


I have the problem of printing from  a  52H running AIX 3.2 to a
Tektronix 4693DX Color Printer.
As I'm quite new to AIX I found problems in defining the printer
finding drivers etc....
Is anyone able to help me?
thanks in advance.

GPF
Xref: sparky comp.windows.x:19470 comp.windows.x.intrinsics:558
From: psn6493@usl.edu (Nagpal Prakash S)
Newsgroups: comp.windows.x,comp.windows.x.intrinsics
Subject: Event detection
Date: 20 Nov 92 17:14:14 GMT
Organization: University of Southwestern Louisiana

Hello Folks!

I am having a problem with detecting a mouse double click event. I want
to have a callback associated with a mouse double click, i.e.
Btn1Down,Btn1Up,Btn1Down,Btn1Up, in a text window. This call back is in addition
to the default action of the Translation tables, i.e. text highlighting and
copying text to Cutbuffer 0. 
Any suggestions, tips help ? 
(:-(
Thank you in advance.

prakash@usl.edu
-- 
	:o-   |_|
    	    < |_|
	:o-   |_|
Newsgroups: comp.windows.x
From: lyonsk@tuva.saic.COM ("KYLE LYONS")
Subject: unsubscribe
Organization: The Internet
Date: Thu, 19 Nov 1992 02:47:00 GMT

please unsubscirbe me.

Newsgroups: comp.windows.x,news.answers
From: per@upnet.se (Per Agren)
Subject: Graphical Picture conversion,YPP or TIFF  to Sun Raster.
Organization: The Internet
Date: Mon, 16 Nov 1992 17:53:05 GMT

Hello !!

I need to convert tiff and ypp pictures to Sun raster files. And one demand is that
I should be able to force the pictures to use a colormap that I choose.


Does anyone know about such an application, toolkit or a library that I could use
to implement this.

Or have anyone done something similar ???


Please answer by mail, since I do NOT read this group.


Best Regards
------------------------------------------------------------
Per Agren 	Upnet AB 		email:    per@upnet.se
	Box 20 161		phone:   +46 8 635 3000
Tech Support	Karlsbodav.9-11	fax:        +46 8 987067
Sweden	161 02 BROMMA	car.ph:    +46 10 167868
Newsgroups: comp.windows.x
From: envbvs@epb11.lbl.GOV (Brian V. Smith)
Subject: Transfig 2.1.6 available on export
Organization: The Internet
Date: Tue, 17 Nov 1992 16:22:11 GMT

Well, it has only been about a week since I released TransFig 2.1.5, but there
were some pretty major bugs so I have made version 2.1.6 available.

Here is the announcement:

TransFig 2.1.6 is available on export.lcs.mit.edu in /contrib/transfig.2.1.6.tar.Z.
Be sure to set binary mode when transferring.

>>> It is important for users of xfig 2.1.6 to get this latest version 
>>>    of TransFig.

TransFig is a set of tools for creating TeX documents with graphics
which are portable, in the sense that they can be printed in a wide
variety of environments.

The transfig directory contains the source for the transfig command
which generates a Makefile which translates Fig code to various graphics
description languages using the fig2dev program.  In previous releases,
this command was implemented as a shell script.

The fig2dev directory contains a general program for translating from
Fig code to other graphics desciption languages.  The dev subdirectory
contains a library of output drivers used by fig2dev.

Drivers currently exist for the following graphics langauges:
(E)EPIC macros, LaTeX picture environment, PIC, PiCTeX, PostScript, and TeXtyl.
Fig2dev can be configured with a subset of these drivers

I have taken over the maintenance of TransFig from Micah Beck so please send any
bug notices, fixes, contributions etc to me at bvsmith@lbl.gov.

Here are the CHANGES from 2.1.5:

o Courier-BoldItalic changed to Courier-BoldOblique for PostScript fonts
o "if" statement replaces copysign() call since some machines don't have it
o some backslashes ('\') corrected in printf statements in transfig/mkfile.c and
	fig2dev/iso2tex.c
o changed header for postscript files from "%!" to "%!PS-Adobe-2.0" when using
	-P (showpage) option and "%!PS-Adobe-2.0 EPSF" otherwise (Encapsulated)
o corrupt transfig/Imakefile and typo (SCRS instead of SRCS)
o some variables (cur_thickness and coord_system) were multiply defined in 
	various drivers in fig2dev/dev - made those static


- Brian V. Smith
- Lawrence Berkeley Laboratory
From: stefans@bauv106.bauv.unibw-muenchen.de (Stefan Schwarz)
Subject: Re: Communcation with applications using XSendEvent?
Keywords: ClientMessageEvents, XSendEvent
Organization: Universitaet der Bundeswehr Muenchen (Germany)
Date: Tue, 17 Nov 1992 06:42:55 GMT

amit@point.cs.uwm.edu (Amit Srivastava) writes:

>I am trying to use XSendEvent to communicate with diff. applications,
>using the ClientMessageEvent as my event type.  What kind of Mask
>needs to be set up on the receiveing side for an application
>to receive client message events?
>	Any answeres will be appreciated?	


There's no mask for ClientMessage. Every application receives such events.

Stefan
-- 
__
Stefan Schwarz                            University of the armed forces
Laboratory for graphical data processing  W-8014 Neubiberg, FRG
--
Newsgroups: comp.windows.x
From: leonp@cs.kun.nl (Leon Pillich)
Subject: Anybody familiar with this problem?
Keywords: Xlib calls, Overloading X servers, Errors, Crash
Organization: University of Nijmegen, The Netherlands
Date: Mon, 23 Nov 1992 13:03:13 GMT

I have a nasty problem which I need to solve real soon.
I hope that some of the X wizards on the net are familiar with it.

The problem is this:
I have a fairly complex x program, using multiple windows etc., and
I want to draw in some window. The problem is that I do not want to
simply draw an object and then wait for user action, but that I want
to be able to draw a lot of objects on a timer interrupt based routine.
I figured out how to do the timer interrupt (i.e. I use signals, and generate
an artificial timer event for my event loop). However when the timer interval
is fairly small, say 100 times/second (this means drawing graphical objects 
100 times / second), then the X Servers sends some error message to 
my application. This message is sometimes something like
BadDrawable, but another time it will be BadRequest or BadLength (or anything).

What am I doing wrong?
Can it be that I'm overflowing the X Server, i.e. I'm sending more
requests in one second then the server can handle and that this way after
a certain time the servers internal request buffer is overflown?
If this is the case there should be a solution by installing some smart
after function, or isn't there any solution to this problem?

Is anybody familiar with this problem and does someone know a solution
for it?

I'll be graftefull for any help.


Leon Pillich
University of Nijmegen, Holland
email: leonp@cs.kun.nl
-------------------------------------------------------------
 Life is what's happening when you're making other plans ...
                                      John Lennon
Newsgroups: comp.windows.x
Distribution: world
Followup-To: 
From: meyerm@hp700.trg.saic.com (Michael Meyer)
Reply-To: meyerm@hp700.trg.saic.com
Organization: Science Applications International Corp.
Subject: NCD-19c vs HP 19Ca X-terminals ???
Keywords: 
Date: Fri, 20 Nov 1992 23:18:47 GMT

Has anyone ever compared these 2 types of X-terminals head to head?
They are comparably priced, use identical monitors, and have quite similar
Xstone ratings (yes, I know this is a bogus performance metric).

I am interested in the experiences of someone who has (preferably) used or
demo'ed both terminals.

Thanks in advance for any input.

--Mike 
___________________________________________________________________________
Michael S. Meyer                             meyerm@hp700.trg.saic.com
Technology Research Group                               619-546-6097  voice
Science Applications International Corporation          619-546-6777    fax
San Diego, CA
___________________________________________________________________________
From: 6500msd@ucsbuxa.ucsb.edu (Michael D'Errico)
Newsgroups: comp.windows.x
Subject: Re: Finding out the number of 'free' cells in the color map
Keywords: color map, color cells
Date: 18 Nov 92 01:08:25 GMT
Article-I.D.: ucsbcsl.6747

In article <1992Nov15.193125.19911@thunder.mcrcim.mcgill.edu> mouse@thunder.mcrcim.mcgill.edu (der Mouse) writes:

|In article <1992Nov13.072332.27682@mailhost.ocs.mq.edu.au>, s8923098@macnab.mqcs.mq.oz.au (Josef WIDJAJA) writes:

|> I want to use XAllocColor many times to allocate color cells that can
|> be shared by other applications.  But I want to know in advance how
|> many of these will be available.  How can I do this ?

|You can't.  For one thing, it depends on exactly what colors you're
|allocating, because you may match colors that are already allocated and
|hence get an already-allocated cell instead of a new one.  Even if you
|rephrase it to ask "how many cells are unallocated", there is no simple
|way to answer it; you have to try it and see.  (Unless you want to
|design and implement an extension, of course.)

|> [code example]

|> I want to know how many color cells are going to be available so that
|> I can adjust the value of maxno, and prepare data[i]'s accordingly.
|> More specifically, I want to make sure that result is always
|> succesful(true).

|Can't be done.  Even if you did contrive somehow to find out how many
|cells are free, other clients could allocate cells while you're
|working.  You'd have to grab the server to prevent this....

I agree that there is no way (at least not yet) to query the number of unused
color cells in a colormap.  You could probably get around this with the
following approach:  use a loop that adjusts maxno until you successfully
allocate the colormap.  The following pseudo-code shows what I would try:

        maxno = desired_maxno;
        done = False;

        while (!done && maxno>=min_allowable_maxno)  {
          if (try_to_allocate_maxno_colors)
            done = True;
          else  {
            free_any_allocated_colors;
            maxno--;
            }

        if (!done)
          error;


Michael D'Errico
6500msd@ucsbuxa.ucsb.edu
Newsgroups: comp.windows.x
From: pmartz@dsd.es.com (Paul Martz)
Subject: Re: FLAME, FLAME ON X!!!
Reply-To: pmartz@dsd.es.com (Paul Martz)
Organization: Evans & Sutherland Computer Corp., Salt Lake City, UT
Date: Fri, 20 Nov 92 22:46:44 GMT

In article <1ejeh8INN1jq@armory.centerline.com>, jimf@centerline.com (Jim Frost) writes:
> dbrooks@osf.org (David Brooks) writes:
> Look at it this way -- if you do all allocations in a power of two
> then to have a list for every possible different sized allocation you
> need only thirty-two lists (actually 28 or 29 depending on the minimum
> allocation size, or even fewer if you consider that you can't really
> allocate a 4 gig area).  That's real convenient -- you can basically
> find an empty space (if there is one) immediately, making your
> allocator REALLY fast.  It's my assumption that that's what the GNU
> malloc does, although I've never looked it the code.
> 
> The downside is that it's wasteful for allocations that don't fit
> well.  An 65-byte allocation will return 128 bytes.  No big deal, at
> least as long as you're not doing a lot of those allocations.  As the
> sizes get larger, however, it becomes a really big deal -- a 1.1
> megabyte allocation will return 2 megabytes, for instance.  Once you
> have a few of those you're starting to really waste memory.

Everything's a trade-off. Why get a 2meg chunk for a 1.1meg request?
Go get 1.1meg instead, and stick it in a list for chunks sized between
1 and 2 megs. Then finding a free chunk the correct size becomes a
matter of searching through the list of similarly sized chunks to find
one big enough to fulfill the request. Slightly less time efficient
than the algorithm you outline above, but it licks your memory
efficiency issue. Maybe not quite as good at handling fragmentation.
-- 

   -paul	pmartz@dsd.es.com
		Evans & Sutherland
Newsgroups: comp.windows.x
From: hasty@netcom.com (Amancio Hasty Jr)
Subject: Re: XFree support for ATI Ultra Pro?
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Date: Sat, 21 Nov 1992 17:52:52 GMT

In article <1992Nov19.193044.26421@cbnewsj.cb.att.com> dwex@cbnewsj.cb.att.com (david.e.wexelblat) writes:
>In article <BxyysH.B66@ns1.nodak.edu> grosen@isc.cs.ndsu.nodak.edu (Johannes Grosen) writes:
>> 
>> The XFree FAQ says that the ATI Ultra (8514a) card is *not* supported
>> in XFree86 yet I am certain that I have seen references to it by
>> people who are successfully using it (Gateway machines). Can anyone
>> confirm or deny this?
>> 
>> Thanks!
>> -- 
>> Johannes Grosen
>> ISC System Administrator
>> grosen@isc.cs.ndsu.NoDak.edu
>
>XFree86 does NOT support ATI Ultra (i.e. 8514) or S3.  There are people
>working on X servers for those boards, under 386BSD and Linux.  But this
>work is not part of XFree86; in fact, it's not even based on XFree86 (they
>started with the stock X11R5 ports to those OSs).  Someone may wind up
>porting those to XFree86, but we are not working on it ourselves.
>
>--
>David Wexelblat <dwex@mtgzfs3.att.com>  (908) 957-5871
>AT&T Bell Laboratories, 200 Laurel Ave - 4B-421, Middletown, NJ  07748
>
>"The meaning of life?  That's simple.  Try to be happy, try not to hurt
> other people, and hope to fall in love."  -- Mallory Keaton

I am one those people working on S3, 8514/a, and ATI Ultra under 386bsd.
XBSD8514 works with 8514/a and ATI Ultra in 8514/a mode. So far
under 386bsd there has been no problems reported with the 8514/a server,
except for a minor bug of the mouse buttons being switched.
However my support is limited for the 8514/a because I don't own
an 8514/a card nor an ATI Ultra card.

XS3 is a server based on the 8514/a server but modified to work with 
S3's chipset 911/924. XS3 supports the hardware cursor available on
the S3 chipsets. The server works on all S3 cards which use a 
non- programmable clock synthetizers. Known major brand cards known
to work with XS3 are: Orchid Farenheit 1280, Actix GraphicEngine and
STB Wind/X. Known window managers to work with XS3 are Motif, 
olwm, gwm, and twm. Additionally, all XFree86 clients work with
XS3. 

The reason that I started from the stock X11R5 is that most of the
XFree86 work is related to supporting non-accelarated graphic cards
such as the et4000. Since I use hardware implemented blitbt, 
line, rectangle and fill functionality, the vga speed-ups were
not needed. Currently we are about 6 times faster than XFree86.

Currently, I am working on supporting S3's 801 chipset which has
an overall performance improvement of %50. When I am done we
should have a 60k+ xstones server.

XS3 and the 8514/a servers are also available for Linux.

Binaries and patches for all mentioned servers are available
at sunvis.rtpnc.epa.gov:/pub/386bsd/incoming.
I found that porting the 8514/a was very simple to port to 386bsd.

Enjoy,
Amancio Hasty
Home: 415-595-3046


Newsgroups: comp.windows.x
From: Shannon Merrill <smerrill@aristotle.ils.nwu.edu>
Subject: Thank you! (was FAQ Request)
Organization: The Institute for the Learning Sciences
X-Useragent: Nuntius v1.1
Date: Wed, 18 Nov 1992 17:12:58 GMT

Just a quick note to thank those who sent me the FAQ I needed.  Your help
is greatly appreciated!

--Shannon Merrill