HDTenEightyP/NetNews huggingface dataset:
From: mark@coombs.anu.edu.au (Mark)
Newsgroups: comp.windows.x
Subject: But I dont wanna usee port 6000!!!! :(
Followup-To: poster
Date: 23 Nov 92 03:56:01 GMT
Organization: Australian National University
NNTP-Posting-Host: 150.203.76.2
Keywords: alternate port
Organisation: Wassat?!

Hi,

A friend of mine overseas has a problem where due to his network topography
he wishes to use another port for his X sessions....

Instead of clients connecting to port 6000 he'd like to use another one, say
30000. How does one do this without recompiling everything... It would be on
a per-session basis. We're not worried about the server, it's the clients we
need to change. 'Graphic' representation:

------.                                .--------.
 xdm  | <- Port 30000 --.              | xterm  |
server|                  \             | client |
      |                   \            |        |
      |  <- port 6000 --x  \___________|        |
------                                  --------
His console                             Remote host

Please email replies to me. I will summaries replies.
Thanks,
Mark
mark@coombs.anu.edu.au
mark@gnu.ai.mit.edu
markm@rmit.edu.au
From: jimf@centerline.com (Jim Frost)
Newsgroups: comp.windows.x
Subject: Re: FLAME, FLAME ON X!!!
Date: 17 Nov 1992 21:45:16 GMT
Organization: CenterLine Software, Inc.
NNTP-Posting-Host: 140.239.3.202

black@westford.ccur.com (Samuel Black) writes:
>>Actually, I once saw a malloc package that could be made to return some
>>memory to the operating system by clever use of sbrk and brk, but I doubt 
>>that any X11 servers are written using such a technique.  Might be an
>>interesting experiment for some vendor, though ...

I've written such a thing, actually.  It's not particularly difficult
although it becomes a question of whether it's smarter to do the
correct brk/sbrk or to hang onto the piece (the brk/sbrk requires a
system call which you'd prefer to avoid).  I dealt with that issue by
never doing a negative sbrk unless I had the whole piece that I got
when I did the positive sbrk, but a threshold is probably a better
approach.

>Now, if we just had an OS that provided support for sparse memory spaces, ...

AIX does so by default.  In my opinion it's one of its most annoying
features since it means that an allocation can fail well after it's
made, making it similar to programming floating-point code on a chip
with a long pipeline -- you know you'll get the error condition but
you have no idea when.  For applications which want sparse memory
spaces this behavior is wonderful, though.  (It's actually not
difficult to get traditional malloc behavior under AIX by touching
every page you get back from malloc, but it's one more detail to think
about.)

AIX also provides a new system call, disclaim(), which can be used to
free VM pages that you don't care about anymore.  That's much better
granularity than brk/sbrk and would be a *really* nice thing to make
use of in a malloc package.

jim frost
jimf@centerline.com
Newsgroups: comp.windows.x
From: mjma@cbnewsj.cb.att.com (michael.j.matthews)
Subject: Input Method
Organization: AT&T
Date: Wed, 18 Nov 1992 20:28:45 GMT
Keywords: Xwindows OLIT4.0i X11R5


Help,

I am using OLIT 4.0i ( looking forward to MOOLIT when available
for NCR machines ) and need to implement compose key functionality
for International applications. The prescribed method is to use the
Input Method construct (am I being redundant?) which I understand is
also part of X11R5. I found the documentation incredibly fague regarding
the specifics of the interface.

Anbody have /know of...

- Good Examples of implementation.
- Good documentation of implementation.

Any help would be appreciated.


-- 
Michael J Matthews         ATT IMS International Services
[att|attmail]!attibr!attmjm!mjm      201-326-5215
Newsgroups: comp.windows.x,news.answers
From: hb@woody.csd.uu.se (Henrik B}kman  CSD)
Newsgroups: comp.windows.x,comp.windows.x.motif
Subject: problems with motif-program
Date: 20 Nov 1992 17:08:59 GMT
Organization: Uppsala University
Distribution: world
NNTP-Posting-Host: woody.csd.uu.se

I have some problem running a motif-program on a sun xnews-server.
The program just hang. Everything works ok on a MIT-x-server. When
I use xscope on it I got this just before it hangs.

 4.60: Client 2 -->   24 bytes
         ............REQUEST: ConvertSelection
                   requestor: WIN 00900017
                   selection: ATM 000000a5
                      target: ATM 000000a6
                    property: ATM 000000a2
                        time: CurrentTime
 4.71:                                    32 bytes <-- X11 Server 2
                                         ..............EVENT: SelectionNotify (from SendEvent)
                                                        time: TIM 1aa3e73f
                                                   requestor: WIN 00900017
                                                   selection: ATM 000000a5
                                                      target: ATM 000000a6
                                                    property: <NONE>

When I run on the MIT-x-server I got this on the same place.

 3.96: Client 2 -->   24 bytes
         ............REQUEST: ConvertSelection
                   requestor: WIN 01c0000c
                   selection: ATM 00000068
                      target: ATM 00000067
                    property: ATM 0000006c
                        time: CurrentTime
 3.96:                                    32 bytes <-- X11 Server 2
                                         ..............EVENT: SelectionNotify
                                                        time: CurrentTime
                                                   requestor: WIN 01c0000c
                                                   selection: ATM 00000068
                                                      target: ATM 00000067
                                                    property: <NONE>

The only differense is the changing of the time-argument in the response
when I am using Sun's xnews-server.

I know that it could be millions of bugs in the program's code but I
haven't got the source or any other tracing-capabilities (I run it
on HPUX). When I check the documentation for the X protocol it says
that in the "SelectionNotify-EVENT-response" for the "ConvertSelection-
REQUEST" the arguments should be passed unchanged. I now wonder if
the time-argument should be passed unchanged too and if it doesn't
could there be any problems of that? I think the program is using motif 1.1.

Anyone have any ide???

-- 
----------------------------------------------------------------------
Henrik Bakman           Adress: Box 520          Tel: +46 18 181044
System Manager                  751 20 UPPSALA   Fax: +46 18 521270
Computing Science Dep.          SWEDEN           Email: hb@csd.uu.se
Uppsala University
From: ucjtrjf@ucl.ac.uk (Jonny Farringdon)
Newsgroups: comp.windows.x
Subject: Re: saving a layout
Date: 18 Nov 92 11:28:11 GMT
Organization: Bloomsbury Computing Consortium


  well you could have a mouse/menu button which executed ..

either a pinched copy of olplaces (owplaces?) from Sun,
which stores SIMPLE info on windows and placements in a file,
adding an & to the end of the lines.

OR  use xplaces (from one of the ftp archives) . like this ..
    "Save Workspace"    exec xplaces | tail +2 > $HOME/.x-init

xplaces saves much more info, and gets xon (rsh) windows right,
plus icon location etc. HOWEVER it does not put a & at the end
of the lines.  Still you could enhance the above so that it would.

Then , from your .xinitrc fire do a ...

.xinitrc

source .x-init &
vtwm

You could even do something like  ``cat .x-init | sh''   &c

BUT you must get &'s at the end of the lines.  Because of this, i have
the command, but then just look at the file and make appropriate edits
to my .xinitrc


I only sent this to you, so you might want to summerise.

All the best, J.   ucjtrjf@ucl.ac.uk
From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
Newsgroups: comp.windows.x
Subject: Re: Initializing Bitmap's
Keywords: PIXMAP, BITMAP GC
Date: 20 Nov 92 09:56:41 GMT
Organization: McGill Research Centre for Intelligent Machines

In article <1eem4rINNl0c@uwm.edu>, amit@point.cs.uwm.edu (Amit Srivastava) writes:

> Is there way to initialize a bitmap to say all 0's, [...]

The (R4) Xlib document says, in part:

	6.1.  Clearing Areas
	
	Xlib provides functions that you can use to clear an area or
	the entire window.  Because pixmaps do not have defined
	backgrounds, they cannot be filled by using the functions
	described in this section.  Instead, to accomplish an analogous
	operation on a pixmap, you should use XFillRectangle, which
	sets the pixmap to a known value.
	
	[...describes XClearArea and XClearWindow...]

So just set up a GC to get 0s in the destination drawable (eg,
foreground=0 and function=GXcopy, or foreground=~0 and
function=GXandInverted) and do an XFillRectangle of the whole pixmap.

					der Mouse

			    mouse@larry.mcrcim.mcgill.edu
From: idf@cs.bham.ac.uk (Ian Fitchet)
Newsgroups: comp.windows.x
Subject: Xman and Bold fonts
Date: 23 Nov 92 00:11:24 GMT
Organization: School of Computer Science, University of Birmingham

Hi,

	Having just written a (dumb) emacs mode to help me edit man
pages it have noticed that xman doesn't honour bold requests.

	I had a quick look through the source and it all apprears to
be there but on testing, bold test is treated as "normal" text. (eg if
you set your "normal" text to be weeny then bold becomes weeny too -
and certainly not bold :-()

	Xman 3.1.5 for X11R5 (for the interested)

--
Cheers,

	Ian

-------------------------------------------------------------------------------
Ian Fitchet     				      I.D.Fitchet@cs.bham.ac.uk
School of Computer Science
Univ. of Birmingham, UK, B15 2TT
Newsgroups: comp.windows.x
From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
Subject: Re: colors & pixels..
Organization: McGill Research Centre for Intelligent Machines
Date: Wed, 18 Nov 92 23:59:31 GMT

In article <1ebdh6INN66a@uwm.edu>, amit@point.cs.uwm.edu (Amit Srivastava) writes:

> I am using DirectColor setting for colormaps.  X has the rgb plane
> which has 24 bits to store the pixel.  However it uses an unsigned
> long to store the pixel, does X care what u do with the remaining 8
> bits.

(I assume that's supposed to be a question, in spite of the lack of a
question mark.)

No.  Pixel values are generally simply truncated to the correct number
of bits, rather than range-checking.

But you can't count on those bits being there; it would be entirely
possible to have a 32-bit DirectColor visual with, say, 11 bits of red,
11 of green, and 10 of blue....

					der Mouse

			    mouse@larry.mcrcim.mcgill.edu
Newsgroups: comp.windows.x
From: mailhot@IRO.UMontreal.CA (Pierre Mailhot)
Subject: Recompiling SUIT libraries on a Sparc
Keywords: SUIT, libsrgp.a, libsuit.a
Organization: Universite de Montreal
Date: Thu, 19 Nov 1992 16:17:49 GMT

Hello everybody!

Did anyone using SUIT on a SPARCstation ever tried to recompile
the libraries (libsrgp.a, libsrgp.so.2.3, libsuit.a, libsuit.so.2.3)
that came with pre-compiled with the original distribution?

We are having a lot of problems simply trying to recompile everything
(bus error, offset text, etc...) and we would like to know if anybody
has encountered any problem while trying to recompile the libraries.
We would also like to know what were the switches used for compiling
and loading the libraries.  The values given in the Makefiles doesn't
seem to work...

We are trying to recompile the libraries on a SPARCstation 1+ with
SunOS 4.1.2 and gcc-2.2.2.

Please e-mail me any answer.  Any help would be greatly appreciated.  

Thanks.
--
Pierre Mailhot   E-mail: mailhot@IRO.UMontreal.CA   Fax: (514) 343-5834
                 Tel: (514) 343-6111 ext. 3530	    Local: X-220
                 Universite de Montreal, Dept. IRO, C.P. 6128, Succ. A,
                 Montreal, Quebec, Canada, H3C 3J7
From: fpb@ittc.wec.com (Frank P. Bresz)
Newsgroups: comp.windows.x
Subject: TVTWM on X11/R5
Date: 20 Nov 92 13:14:22 GMT
Organization: Westinghouse, ITTC, Pgh, PA.


Hi there,

	I just built tvtwm under X11/R5 by using the stuff in 

	/cdrom/x11r5/contrib/clients/tvtwm

	Built OK without pixmaps runs good.  1 problem I have noted.  The
	f.raiselower doesn't work in quadrants other than upper left (or
	perhaps the starting quad which is the same for me).  I have
	defined a 2x2 virtual space, i.e. my virtual is 4 full screens.
	The f.raise and/or f.lower work fine by themselves in any quadrant
	and I have resorted to this solution for now so it isn't pressing.
	But kind of weird. 
--
Frank P. Bresz  |My opinions are mine, WEC pays big money for official opinions
fpb@ittc.wec.com|"I knew Thomas Jefferson, he was a friend of mine" Ron Reagan
uunet!ittc!fpb  |Member: League for Programming Freedom (LPF) | STOP Software |
+1 412 733 6749 |For more information on the 'LPF' send mail  |  Patents Now  |

Newsgroups: comp.windows.x
From: bjl@loki.research.ptt.nl (Ben Lippolt)
Subject: VTX2000 or NCD-19c? Which one do you like better?
Reply-To: B.J.Lippolt@research.ptt.nl
Organization: PTT Research
Date: Wed, 18 Nov 1992 21:08:32 GMT

Hi,

If you had to choose between DEC's VTX2000 or a NCD-19c, which one do
you prefer? 
 a. in a (non-DEC) Unix environment.
 b. in a VMS/Ultrix environment.

Why?


Thanx for any info.


Ben Lippolt.
From: snail@lsl.co.uk
Newsgroups: comp.windows.x
Subject: Re: Opinions of X
Date: 20 Nov 92 17:47:57 GMT
Organization: Laser-Scan Ltd., Cambridge

In article <1992Nov15.014046.16078@eng.umd.edu>, clin@eng.umd.edu (Charles Lin) writes:
>     What would a new windowing system have to do that would make
> it competitive with X?  I can think of two issues that seem to
> determine the success of a system, price and portability.

Well on the latter sentence, X is the cheapest (free) system and is also the
most widely ported windowing system in the world.
-- 
snail@lsl.co.uk      

"para-phrasing an American's .sig"....
For the record, I did not vote for Bill Clinton
:-)
Newsgroups: comp.windows.x
From: mr@delfin.com (Mark Rosenberg)
Subject: Problems building XTrap for X11R4 on SunOS 4.1.1
Reply-To: mark@delfin.com
Organization: Delfin Systems, Sunnyvale CA
Date: Tue, 24 Nov 1992 00:29:52 GMT

I've been trying to build the XTrap extension into my X11R4 server running
under SunOS 4.1.1 and have to date been unsucessful. After running the
install.XTrap script, the make World first builds several malformed makefiles
(:/:: conflicts). After fixing these Makefiles by hand (removing the :
targets) and adding conditional compilation for function prototypes in
xtrapchar.c, I get a clean make. However nothing ever seems to get linked
with libXtrap.a. Anyone know whats wrong? I'm using XTrap v3.2.
-- 
Mark Rosenberg
internet:mark@delfin.com
phone: (408) 562-1126	fax: (408) 748-1140
snail: Delfin Systems, 3000 Patrick Henry Drive, Santa Clara, CA 95054-1814
From: pd@doc.ic.ac.uk (Philip Daniels)
Newsgroups: comp.windows.x
Subject: About Xresources
Date: 21 Nov 1992 16:36:27 -0000
Organization: Department of Computing, Imperial College, University of London, UK.
Distribution: world
NNTP-Posting-Host: oak42.doc.ic.ac.uk

  In the 'Xspeedups' article posted recently, there is a section which reads:

 ; Joe English (joe@trystero.art.com) :
 ;   Keep your .Xresources and .Xdefaults file small.  Same effect as
 ;   [reducing the number of fonts].  
 ;
 ; In your .Xdefaults (.Xresources) file, try just putting the minimum
 ; amount of resources that you want to have available to all your
 ; applications.  For example:  *reverseVideo: true
 ;
 ; Then, separate your resources into individual client-specific
 ; resource files.  For Example: I store mine in $HOME/lib/app-defaults.
 ; In my .login file I set the environment variable XUSERFILESEARCHPATH:
 ;         setenv XUSERFILESEARCHPATH $HOME/lib/app-defaults/%N
 ;  So, when I launch an xterm, it loads it's resources from
 ;  ...app-defaults/XTerm.  Xdvi finds them in .../app-defaults/XDvi,
 ;  and so on and so forth.

  Running X11R5, tcsh 6.00.01, I couldn't get this to work. (Bug in this
version of tcsh perhaps?)  However:

XUSERFILESEARCHPATH=/homes/pd/lib/app-defaults/%N
export XUSERFILESEARCHPATH

in my .xsession works perfectly.

 - Phil.

Newsgroups: comp.windows.x
From: console@eng.umd.edu (Console)
Subject: XVIEW problem (Scrollbars and Dynamic Colors)
Date: Mon, 16 Nov 92 21:27:51 GMT
Organization: Project GLUE, University of Maryland, College Park
Distribution: usa

        I am facing two prblems with xview.  The first involves
attaching srollbars to windows:

        If I have a pair of (vert + horiz) scrollbars and several
windows that use them exclusively (hence only two objects need to be
created), what is the correct procedure for dynamically attaching the
scrollbars to the windows?  When I attach them using an xv_set to a
client, strange things happen: sometimes the scrollbar shows up around
the canvas, but it has not effect on it; there is a rectangular square
at the corner made by the scrollbars ... etc.

        The second problem I am having has to do with the CMS.  When I
try to change a subwindow's color values, the parent's color values
also change.  I am not sure why that is happening.  The WIN_CMS
returned by xv_get is different for the two windows and so is the
color index table address.  My objective is that given an Xv_window, I
want to be able to change specific color value entries for that window
only.

        All help would be really appreciated.

PD
Newsgroups: comp.windows.x
From: dbrooks@osf.org (David Brooks)
Subject: Re: FLAME, FLAME ON X!!!
Followup-To: comp.windows.x
Reply-To: dbrooks@osf.org (David Brooks)
Organization: Open Software Foundation
Date: Thu, 19 Nov 1992 04:04:34 GMT

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.  There's even a comment:

  /* If there are no blocks of the appropriate size, go get some */
  /* COULD SPLIT UP A LARGER BLOCK HERE ... ACT */

>  It works fine for very tiny allocations but once you start
>allocating those "unusual" sizes like 80-byte segments you start
>seeing major memory waste as well as relatively slow free-element
>location compared to several other techniques.

Well, maybe X does use relatively small allocations, except for pixmaps
(which is where we came in).
-- 
David Brooks					dbrooks@osf.org
Open Software Foundation			uunet!osf.org!dbrooks
Allberall und ewig blauen licht die Fernen!  Ewig... ewig... earwig... O!
Newsgroups: comp.windows.x
From: anderson@mayo.edu (Alfred I. Anderson)
Subject: Can X accept non-traditional data (Voice, Pen)
Organization: Mayo Foundation
Date: Mon, 16 Nov 1992 18:04:26 GMT

I'm brand new to X-Windows and have been following this group to gain 
knowledge of X. 

This may be a nieve question but, OS/2 and Windows NT will support 
alternative data modalities (pen, handwriting recognition, voice 
acquisition, voice presentation)?

Alfred
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Alfred Anderson                Internet:    anderson@Mayo.edu
Mayo Foundation - Rochester MN 55905
-----------------------------------------------------------------
From: jordan@ctron.com (Rob Jordan)
Newsgroups: comp.windows.x
Subject: looking for X capture/playbak
Date: 16 Nov 92 13:38:55 GMT
Reply-To: jordan@ctron.com (Rob Jordan)
Organization: Cabletron Systems Inc

Hi all,

Does anyone know of a good *reliable* keyboard mouse capture/playbak
program for
testing X window application software?

Any ideas or suggestions would be helpful. Thanks!

jordan@ctron.com
Newsgroups: comp.windows.x
From: kaleb@thyme.jpl.nasa.gov (Kaleb Keithley)
Subject: Re: FLAME, FLAME ON X!!!
Organization: Jet Propulsion Laboratory, Pasadena, CA
Date: Thu, 19 Nov 92 18:08:58 GMT

In article <1992Nov19.040434.12181@osf.org> 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.  There's even a comment:
>

But which GNU malloc?  The one in emacs and gcc or their "beta" version?  
They are different!  The one in emacs is very similar to the berkeley 
malloc, which is blazingly fast, but very poor at managing fragmentation 
of the malloc "arena" a.k.a. the heap.  Ironically, fast but inefficient
is probably okay for gcc, but exactly the opposite of what you want for
emacs, an X server, or any other long running malloc-intensive application.

Several vendors have very good malloc packages, and others don't.  Some
vendors provide alternative malloc packages that emphasize size over speed;
usually you link with -lmalloc to get this one, if it's available.

Early in X11R4 I ran a series of benchmarks on the MIT Sample X Server using
some of the various mallocs publically available, two proprietary mallocs 
(people sent me their compiled binaries), plus the standard malloc that 
comes with SunOS C runtime library.  The tests were not really scientific, 
so the results are by no means conclusive, but I would offer that while 
demonstrably slower, SunOS, GNU beta, and AT&T SVR4 mallocs appear to make 
more efficient use of the heap than the emacs and berkeley mallocs.

-- 

Kaleb Keithley                          kaleb@thyme.jpl.nasa.gov

Not authorized, in any way, shape, or form, to speak for anyone.
From: tim@trident.datasys.swri.edu (Timothy J. Barton)
Newsgroups: comp.windows.x
Subject: Curses and color
Summary: curses support for color?
Date: 18 Nov 92 15:57:58 GMT
Article-I.D.: trident.217
Organization: Southwest Research Institute

Does a version of curses exists which supports color?  I need 16/128 colors,
not just HIGHLIGHT, BOLD, and UNDERLINE; and if a color curses exists,
is there an enhanced xterm that will support it?

I guess I am looking for a version of curses with DEC 340 support and an
xterm with DEC 340 support instead of VT100.  I am writing an application
that has to use curses, but the sponsor wants color too.    Yea right!  :-)

Thankfully, the next version of the application will be in X, but until then,
I'm stuck with curses.  Thanks in advance.  You can email directly should you
be laughing so hard that you can't post.

----------------------------------------------------------------------------
Timothy J. Barton                         tim@trident.datasys.swri.edu
Senior Research Analyst                   (512) 522-3540
Southwest Research Institute (SwRI)       (512) 522-5499  (Fax)   
San Antonio, Texas  78228-0510
From: ccnjb@bristol.ac.uk (Nick Bruton)
Newsgroups: comp.windows.x
Subject: xdm & chooser
Date: 18 Nov 92 09:15:03 GMT
Organization: University of Bristol, England

Hi,
 I am trying at the moment to setup some X terminals to use xdm and chooser.
My problem is that if I tell chooser to broadcast it only sees machines on my
local ethernet.
e.g.
My x-term is 137.222.12.25
broadcast only sees machines on 137.222.12
is there anyway to force xdm & chooser to see all machines on 137.222 ???
Thanks Nick
Xref: sparky comp.windows.x:19210 alt.graphics.pixutils:2616 alt.binaries.pictures.utilities:1684