HDTenEightyP/NetNews huggingface dataset:
From: jgg@widget!uunet.uu.net (Xmiester)
Subject: Re: Ada multitasking with X-windows
Organization: EVB Software Engineering
Date: Sun, 12 Apr 1992 18:11:53 GMT


dwb@IMD.Sterling.COM (David Boyd) writes:

[... read earilier news posts on comp.windows.x to get the preliminaries ...]

>
>	And the government wants to know why developing X applications
>in Ada costs so much!!  
>
Compared to what?  Who has been doing this complaining?  I've been
searching for this information, but have yet been able to find any.

>I am old enough to remember the tail end of JOVIAL
>(a previous government developed language) and someone asking us to develop
>bindings between our FORTRAN libraries and JOVIAL.  The problems were very
>similar and the solutions equally ugly in many cases and JOVIAL was not as
>different from FORTRAN as Ada is from C.  
>

The currently available commercial Ada/Motif bindings can hardly be
called ugly.  They are as clean (or cleaner) than the C interface
with stronger type checking.  (Can you say "pragma External" ?)

>
>	The solution is for someone to
>completely re-implement not only the X library and intrinsics with a
>design geared toward Ada but the GUIs libraries (OLIT & MOTIF) as well.
>

I hardly believe this is a cost effective solution.  The answer is *NOT*
to re-invent a *better* wheel w/o a justification for the cost.  The
majority of Ada projects can deal with non-reentrant X/Xt/Motif libs.
It just requires knowledge and good design to do it right.  I suggest
that a better spent dollar is in the training of Ada engineers on the
issues and how to deal with them effectively from an engineering standpoint.
(It's surprising how many Ada programmer's I meet who write multi-tasking
 software, but don't understand the issues involved in writing re-entrant
 code, providing tasking-safe data structures, or real-time software in
 general).


I've been involved in the proposed design for an Ada widget set.
It ended up coming surprisingly close to the Xt single inheritance
model minus the added features of Xt/Motif such as the event translation
manager, keyboard traversal, etc... (due to $$$ considerations :-)

(BTW, the Ada9X inheritance proposal is a near duplicate of
the Xt single inheritance model -- It's how we've done it for years
in a more formalized definition, that's all).  Not that I'm saying the
Xt inheritance model is *great* but it's how you do it by hand in
a language which doesn't support inheritance.  (ie. it's optimally sufficient)

MOTTO: Do not what has been done, but understand it and use it.


-- 
John Goodsen
goodsenj@ajpo.sei.cmu.edu
Newsgroups: comp.windows.x
From: kaleb@thyme.jpl.nasa.gov (Kaleb Keithley)
Subject: Re: HP Widget set (was Re: Motif vs Open-look vs X)
Organization: Jet Propulsion Laboratory, Pasadena, CA
Date: Thu, 9 Apr 92 16:22:02 GMT

In article <23222@life.ai.mit.edu> gillett@rice-chex.ai.mit.edu (Walter E. Gillett) writes:
>Why doesn't anybody ever mention the HP Widgets (libXw.a) as an alternative to
>Athena or Motif/OpenLook?  Aren't they pretty much Athena functionality with
>a Motif look?  And they're free, right?

Free?  No.  The so called HP 2D widget set (which is available on export)
was R3 based, as far as I know, no one has made any attempt to port it to 
R4 or R5.  

The 3D HP widget set is HP proprietary, and is definitely not free.  

Another project here had HP come in an build an HP app which used the 
HP widget set on some DecStations.  They brought the source, built the
library and application, then deleted the source.  Later, after they'd
ported the app to Motif, they came back and built it again....

-- 

Kaleb Keithley                               kaleb@thyme.jpl.nasa.gov

Not authorized, in any way, shape, or form, to speak for anyone.
Newsgroups: comp.unix.sysv,comp.windows.x
From: shocking@cxbne.cx.OZ.AU (Steve Hocking)
Subject: Speedup & resolution restrictions
Organization: Comperex Australia Pty Limited
Date: Mon, 13 Apr 1992 08:14:41 GMT

	Is it likely that the 1024x1024 virtual resolution restriction will be
removed from future versions of SpeedUp? Whilst the virtual screen bit removes
most of the irritation, it is still a little irksome.

	None of the above should be misconstrued as an attack on Glenn, I think
what he's done is marvellous, but I'm sure that even he would like to see this
restriction removed.


	Cheers,

	Stephen
-- 
-------------------------------------------------------------------------------
"Love makes the world go around, but sex makes the ride fun"
		Stephen Hocking - Unix consultant
shocking@cxbne.cx.oz.au			-	I am responsible for myself...
From: ric@updike.sri.com (Richard Steinberger)
Newsgroups: comp.windows.x
Subject: get_wmShellWidgetClass not found problem
Date: 6 Apr 92 16:37:41 GMT
Organization: sri
Originator: ric@updike


	I have recently been getting a number of Undefined symbol errors
when I have tried to build some X11 clients.  The symbols not found are
always:

   _get_wmShellWidgetClass
   _get_applicationShellWidgetClass

Most recently this happened when I tried to build the X11-based info
previewer, xinfo, available from prep.ai.mit.edu.  I am using X11R4.18
on a SUN 670 with SUNos 4.1.2.  The link line in the xinfo build looks
like:

cc -o xinfo xinfo.o Info.o -O -D_NO_PROTO -DSTRINGS_ALIGNED -DNO_REGEX \
-DNO_ISDIR -DUSE_RE_COMP -DUSE_GETWD -lXaw -lXmu -lXt -lXext -lX11 -lm

Can someone explain what I am missing?  Thanks in advance to all who reply.

regards,

	ric steinberger
	ric@updike.sri.com


Newsgroups: comp.windows.x,comp.unix.ultrix
From: k2@bl.physik.tu-muenchen.de (Klaus Steinberger)
Subject: Re: xloadimage won't set the root window on a DECstation
Keywords: n
Organization: Technische Universitaet Muenchen, Germany
Date: Mon, 6 Apr 1992 19:23:25 GMT

jwilson@nordsieck.cs.colorado.edu (John Wilson) writes:


>    If I remember correctly,  xloadimage has never been able to display on
>    the root window on our 24 bit decstations.  Also, when we got our new
>    dec 5000/240 and went to ultrix 4.2a,  xloadimage started having
>    problems displaying large images.  Because of this xv was installed.
The problem with xloadimage is, that it believes the root-window
would be always windowid=0x0. That's not true, on my NCD's with twm,
i always get 0x28 instead. xsetroot handles that correctly, but xloadimage
didn't. If i tell xloadimage the windowid, it works.

Try "xwininfo" on the root, and you would see your windowid.

Klaus
--
Klaus Steinberger               Beschleunigerlabor der TU und LMU Muenchen
Phone: (+49 89)3209 4287        Hochschulgelaende
FAX:   (+49 89)3209 4280        D-8046 Garching, Germany
Internet: Klaus.Steinberger@bl.physik.uni-muenchen.de
From: mahan@tgv.COM (Patrick L. Mahan)
Newsgroups: comp.windows.x
Subject: RE: Can a window be freed of WM's control?
Date: 10 Apr 92 16:16:45 GMT
Organization: The Internet

#
#I would like to create a window that is not controlled by a window manager. That is, I do not
#want the WM to put  a border,icon,resize and stack buttons on my window, nor do I want the user
#to be able to move the window.
#Is there any way to do this? I have not been able to find any window attributes that will allow me to create/map a window that will escape the control of a Window Manager.
#BTW, I am using VMS/DECWindows.
#

If you are working at the xlib level, then using the XSetWindowAttributes
structure set the override_redirect field to true.  This will cause the
window manager to leave the window alone.

At the Intrinsics level, after the widget is realized, use XChangeWindowAttributes
to set the override_redirect field to true.

Patrick L. Mahan

--- TGV Window Washer ------------------------------- Mahan@TGV.COM ---------

Waking a person unnecessarily should not be considered  - Lazarus Long
a capital crime.  For a first offense, that is            From the Notebooks of
							  Lazarus Long
From: j_perdigao@cen.jrc.it (Jose Perdigao)
Newsgroups: comp.windows.x
Subject: PEX Extension
Date: 16 Apr 92 08:05:07 GMT
Organization: The Internet

Hi

Does anyone knows if the default X11R5 PEX extension implementatio  in
the criteria "HLSHRMode" support the type "ZBuffer".If not what can we
do to obtain it.

Any hint will be appreciated.

Thanks in advanced

Jose Perdigao , Victor Sequeira

E-MAIL : j_perdigao@jrc


Jose Perdigao

Commission of the European Communities
Joint Research Centre (JRC)
Informatic Systems Engeneering Institute (ISEI)
21020 ISPRA(VA) ITALY
Tel: xx-39-332-789181 
Fax: xx-39-332-789001
Telex: xx-39-332-380042 EUR I
E-mail: j_perdigao@jrc.it
From: erich@netcom.com (Erich Proudfit)
Newsgroups: comp.windows.x
Subject: Wanted: XMille source & execs for X11R5
Date: 16 Apr 92 16:28:09 GMT
Article-I.D.: netcom.p0zj=3l.erich
Organization: Netcom - Online Communication Services  (408 241-9760 guest)

Does anybody have a working copy of XMille for X11R5?
 
I need the source and working executeables.
 

-- 
+----------------------------------+--------------------------------------+
|  Erich Proudfit                  |                                      |
|  Western Microtechnology         |                                      |
|  800-MEGABIT                     |                                      |
|                                  |                                      |
|  email: erich@netcom.netcom.com  | GO San Jose Sharks!!!                |
+----------------------------------+--------------------------------------|
From: fox@rudolf.nscl.msu.edu (Ron Fox)
Newsgroups: comp.windows.x
Subject: Remapping keyboards.
Date: 13 Apr 92 12:39:53 GMT
Reply-To: fox@rudolf.nscl.msu.edu (Ron Fox)
Organization: National Superconducting Cyclotron Lab.

--
 I would like to re-map the keys on a SUN Sparcstation ELC keyboard
(type-4 keyboard) in such a way that I Can use the shifted keypad
much like a VT-100 keypad.  I notice that most of it works, but
what seems to be missing are PF1-PF4.  I'm a bit new to all of this,
but are there resource like entries that can be made to do this?
Additionally, what are the names of some of these keys from the
X resources point of view?  In particular, what are the keys
on the keypad called, and what are the top row of function keys
called.  My end goal is to be able to use the DEC editors running
on VMS machines while telnetted either from an xterm,
remotely run DECTERM, or a shelltool window.

   Since as usual I'm behind on my newsgrouping, please mail me the
answers.
	Thanks,
	Ron

Ron Fox                     | FOX@MSUNSCL.BITNET      | Where the name 
NSCL                        | FOX@RUDOLF.NSCL.MSU.EDU | goes on before
Michigan State University   | MSUHEP::RUDOLF::FOX     | the quality
East Lansing, MI 48824-1321 |                         | goes in.
USA
From: kk@unisql.UUCP (Kerry Kimbrough)
Newsgroups: comp.windows.x
Subject: Project mgmt tools needed
Date: 8 Apr 92 15:40:59 GMT
Article-I.D.: hyundai.9204081540.AA01149
Organization: The Internet


Who can recommend X-based tools for project management? Features
needed are those found in MacProject: simple GUI, PERT charts, Gantt
charts, resource levelling, nested subprojects, good PostScript
output.

I'm especially interested in freeware or products that are affordable
for 1-2 seats. AutoPlan seems to fit the bill, except for its cost.
Nevertheless, if you can share your experiences with AutoPlan or
similar products, I'd like to hear them.


Regards,

Kerry Kimbrough                     <unisql!kk@cs.utexas.edu>
UniSQL, Inc.
Newsgroups: comp.windows.x
From: Gerry.Tomlinson@newcastle.ac.UK (G.M.Tomlinson)
Subject: Announcing xp, xpick and xzap
Organization: The Internet
Date: Tue, 14 Apr 1992 17:49:00 GMT


I have written three small Athena Widget applications based on programs
described in "The Unix Programming Environment" by Kernighan and Pike,
and called them xp,xpick and xzap.

They are available for anonymous ftp on export.lcs.mit.edu
in contrib as xp-1.1.tar.Z, xpick-1.0.tar.Z and  xzap-1.0.tar.Z.


XP
xp uses a readonly Text widget to display its standard input, or files
given as arguments, in a single top level window.

Some of its features are:

geometry in lines and columns,
egrep-style regular expression searches (via Henry Spencer's regexp package),
optional case insensitive and multi-file searching,
optional line wrapping and horizontal scroll bar,
split window facility providing 2 views of the same or different files,
shell command escapes, optionally passing on the current file as stdin.


XPICK
xpick displays its arguments (or standard input) in a MultiList widget
(from the Free Widget Foundation widget set), lets you select any of
them with the mouse, then outputs the chosen ones on standard output
when a command button is hit.

an example use is:

rm `xpick *`

or

rm `ls -ld *  | xpick -1 - | awk '{print $8}'`


XZAP
xzap runs "ps" and displays its output in a MultiList widget.  You can
then select  one or more processes  before sending them a KILL signal
by hitting a command button.  xzap makes no assumptions about ps other
than  that it displays process ids in a column headed PID.


Developed on a Sun-4, SunOS 4.1.1 X11R4 & X11R5
these programs have successfully been built & run on

  Sun-3 SunOS 4.1.1  X11R4
  Encore Multimax Umax 4.3 X11R4 & X11R5
  DEC MicroVax Ultrix V2.2 X11R5
  Acorn R260 RiSCIX 1.21 X11R4


	Gerry.

Gerry.Tomlinson@newcastle.ac.uk
Computing Laboratory, The University, Newcastle upon Tyne, UK, NE1 7RU
Tel: +44 091 222 8139
Newsgroups: comp.windows.x
Subject: Re: more on gcc2.1 X11R5pl10 sun3/sunos4.1 sun4/sunos4.1.2
From: Chuck.Phillips@FtCollinsCO.NCR.COM (Chuck Phillips)
Date: 14 Apr 92 06:24:08 GMT
Followup-To: comp.windows.x
Organization: NCR Microelectronics, Ft. Collins, CO
In-reply-to: merlyn@iWarp.intel.com's message of 9 Apr 92 18:37:45 GMT

>>>>> On 9 Apr 92 18:37:45 GMT, merlyn@iWarp.intel.com (Randal L. Schwartz) said:

Randal> X11R5pl10 compiled with gcc2.1 on the sparc under sunos4.1.2 compiles
Randal> and installs fine and executes fine, *except*...

Randal> binaries compiled under "cc" won't run!

Randal> [ important part for gnu.gcc.help readers: ]
Randal> apparently, gcc compiles code that calls routines normally found in
Randal> libgcc.a.

Add -L/your/path/goes/here -lgcc to your Sun cc CFLAGS, and/or keep the gcc
versions of the libraries in the gcc lib directory so only those using gcc
will get gcc compiled versions.

Alternately, you can merge libgcc into libX11.a and link staticly.  You may
(or may not) run into problems creating a dynamic link libX11 with libgcc
merged in.  (Please post if you accomplish a working dynamic version of
libgcc, merged or not.)


Randal> I am *not* using the gnu utilities [as, ld, etc].

For now, you're probably best off using Sun's ld to get support for dynamic
linking.  In my experience with gcc on Suns, Sun's "as" does a noticably
better job of optimization.  (Admittedly, I haven't tried the latest
version.)  On Suns, I've obtained the smallest, fastest executables using gcc
for compiling and using the native "ld" and "as".  One thing I did prefer
about "gas" is the warning messages when out of range branch instructions
were fed to it.  I also liked the more descriptive error messages (with line
numbers and file names) from gnu ld.  <sigh>


On Sun 3s, you can get a further runtime boost by changing the flags gcc
passes to ld to include the f6888x libraries, rather than the default of
software routines.  On an earlier version of gcc using this setup (and
compiling libgcc with the f6888x libraries) I obtained a visible speedup for
X.  Of course, if you don't have a 6888x in your machine, the code will fail.


Special kudos to the folks who've contributed to gcc in general and
especially to those who've worked on the Sun parts.  Compiling the most
recent version of gcc with itself using "-O2" without "-g" produced _no_
errors for sparc under SunOS 4.1.1.  Pretty darn impressive in my book!

	Cheers,
--
Chuck Phillips  MS440
NCR Microelectronics 			Chuck.Phillips%FtCollinsCO.NCR.COM
2001 Danfield Ct.
Ft. Collins, CO.  80525

"Outside a dog, a book is a man's best friend.  Inside a dog, it's too dark
to read." -- Groucho Marx
Newsgroups: comp.windows.x
Subject: Can someone tell me about SLIP????.
From: mtabacch@eve.wright.edu (Marci Tabacchi)
Date: 7 Apr 92 14:00:53 EST
Organization: Wright State University
Keywords: SLIP

I need to be able to test X programs over a modem.  Can someone please
help me on this?????

Thanks in advance
Marci 
mtabacch@eve.wright.edu
From: jain@spectra.com (Sadhana Jain)
Newsgroups: comp.windows.x
Subject: Anybody having problems running IslandGraphics on a X11r5 server?
Date: 14 Apr 92 22:45:19 GMT
Organization: Spectragraphics Corporation

Hi!

Has anybody noticed any crash problems while running IslandGraphics
(IslandDraw or IslandWrite) application on an X11r5 Server? We are testing
X11r5 server on our company's X terminal and the IslandGraphics application
crashes the server randomly while drawing or rotating a pixmap etc. The
crash is very puzzling, therefore am wondering if it's the application's
bug or the server bug. If anybody has had similar experience, please help.
Please send mail to jain@spectra.com.

Thanks,
Sadhana Jain.
Newsgroups: comp.windows.x
From: kswatek@su19az.ess.harris.com (Ken Swatek)
Subject: Re: PC X-Terminal emulations
Followup-To: comp.windows.x
Keywords: MicroX PC X-Term
Reply-To: kswatek@su19az.ess.harris.com
Organization: Harris (Government Aerospace Systems)
Date: Tue, 7 Apr 1992 17:04:05 GMT

In article 29788@urmel.informatik.rwth-aachen.de, berg@physik.tu-muenchen.de (Stephen R. van den Berg) writes:
>I was wondering, are there any alternatives to the X-View/ PC/TCP combo from
>FTP Inc.?
>
>Specifically, I am looking for an X-Terminal emulation that can run with
>a packet driver under it.
>-- 
>Sincerely,                                berg@messua.informatik.rwth-aachen.de
>           Stephen R. van den Berg (AKA BuGless).    berg@physik.tu-muenchen.de
>
>"Be spontaneous!"



I'm currently using a program called MicroX from Starnet Communications.
It supports 256 color or mono.  With resolutions up to 1024x768.  And
they include networking software (NCSA packet driver & software).  The
cost is only $345 for the 386 version and $195 for the 286 version.

I use olwm for my window manager.  This makes my PC look just like a
Sun.  I use OpenWindow's Deskset tools and Valid's CAE tools.  It all
works great.

For more info you can contact Greg Mudge at Starnet.  His phone number
is (408)739-0881 and his E-mail address is mudge@starnet.com

Good Luck,
Ken
______________________________________________________________________________

Ken Swatek                             INTERNET: kswatek@su19az.ess.harris.com
Harris Corporation                     UUCP:     uunet!su19az!kswatek
Government Aerospace Systems Division  CCMail:   harris.kswatek
Mail Stop: 102-4827                    FAX:      407-727-4016
P.O. Box 94000                         Pager:    407-690-8548 (Digital)
Melbourne, Florida 32902               Voice:    407-727-6081
______________________________________________________________________________
From: mahesh@vu-vlsi.vill.edu (MAHESH BAGADE)
Newsgroups: comp.windows.x
Subject: Xm Routine to get start/end position of a string.
Date: 10 Apr 92 13:52:02 GMT
Organization: Villanova University


Hi Netters!

Can any body be kind enough to tell me how to get the starting and end
position of a given string in a Scrolled/Text widget. I would like to
make use of this information to highlight that string the text.

Thanks in advance....

Mahesh Bagade
From: armoza@bonhomme-richard.itd.nrl.navy.mil (David Armoza)
Newsgroups: comp.windows.x
Subject: Looking for a font
Date: 15 Apr 92 20:51:03 GMT

Hello,

	Recently we were trying to work up a little piece of code that
would represent graphs for a project, and we wanted to present the
label for the vertical axis sideways.  Lo and behold, we discovered a
reference to a font called "rot-s16" that was is supposed to be in
the distribution from MIT (according to _Xlib Programming Manual_ by
Adrian Nye, volume 1 of The Definitive Guides to the X Window System,
see page 167, section 6.2.7).  I have looked through our directories
of both X11R4 and X11R5 and have not found this elusive font.  I was
hoping someone could direct me to where I could get a copy it, i.e.,
through an ftp site and directory location.

Thanks in advance for your help,
  David Armoza
--
*****************************************************************************
* David Armoza                  *      ARPA: armoza@itd.nrl.navy.mil        *
* Code 5570                     *      PN #: (202) - 767 - 3961             *
* Naval Research Laboratory     *      Disclaimer:  Leave the guys I work   *
* Washington, DC 20375-5000     *      for out of it, it's all my fault.    *
*****************************************************************************
Xref: sparky comp.windows.x:9644 comp.unix.ultrix:3734
From: jeanpaul@dutecad.et.tudelft.nl (J.P.M. van der Jagt)
Newsgroups: comp.windows.x,comp.unix.ultrix
Subject: Re: xloadimage won't set the root window on a DECstation
Keywords: n
Date: 7 Apr 92 14:25:58 GMT
Organization: Delft University of Technology, Dept. of Electrical Engineering

jwilson@nordsieck.cs.colorado.edu (John Wilson) writes:

>    If I remember correctly,  xloadimage has never been able to display on
>    the root window on our 24 bit decstations.  Also, when we got our new
>    dec 5000/240 and went to ultrix 4.2a,  xloadimage started having
>    problems displaying large images.  Because of this xv was installed.
>    John Wilson

If you kill "dxwm" and run "twm" instead, xloadimage displays on the
root window just fine.
And with "twm" you can have your same home-made X11-menus that you always
liked so much...  :-)
Bye. John-Paul
-- 
[] J.P.M. van der Jagt [] Systems manager [] Delft University of Technology []
[] Email: jeanpaul@duteca.et.tudelft.nl [] Phone: 31-15-781366 [] unix unix []
[] - He sells C-shells by the seashore - Lauren Bacall - Key Largo - 1948 - []
Newsgroups: comp.windows.x
From: jmd@loral.cts.com (John McDaid)
Subject: Artificial Horizon
Organization: Loral Instrumentation
Distribution: usa
Date: Tue, 7 Apr 92 18:27:02 GMT


Has anyone ever implemented an artificial horizon instrument in Xlib?
I was real curious about the algorithms used to move the "globe" inside
the instrument.  I would enjoy hearing from anyone that has done this.

John McDaid
jmd@loral.UUCP
From: mac742@CENT1.LANCS.AC.UK (Andrew Stoker)
Newsgroups: comp.windows.x
Subject: Screen dimensions
Date: 15 Apr 92 21:38:18 GMT
X-Unparsable-Date: Wed, 15 Apr 92 22:39:25 WET DST

Question number 2 of the evening.

How do I find the dimensions of the "usable" area of the screen in something
other than pixels?  I've had a look at the {Height,Width}MMOfScreen functions,
but as far as I can tell, their result must also include the black border that
isn't used (can't be used?) in displaying images.

What I essentially need is a convertion function that given a measurement in
say inches, will return a value in pixels needed to draw a line of that
length.  I appreciate that this may be different for X and Y axes, but what's
relevant at the moment is HOW to do it.

If I can't do this, there's going to be a lot of fiddling with a ruler.

Please reply by email.

  Andy
-- 
+-----------------------------------------------------------------------------+
| Email : mac742@uk.ac.lancs.cent1    Janet               Time is an illusion,|
|         mac742@lancaster.ac.uk      Internet/Bitnet        Lunchtime        |
|         mac742%uk.ac.lancaster@ukc  UUCP                      doubly so.    |
+-----------------------------------------------------------------------------+