HDTenEightyP/NetNews huggingface dataset:
From: tom@uts.cc.wayne.edu (Thomas Richard Stevenson)
Subject: Using x3270 to connect to MVS.
Keywords: x3270 mvs
Organization: Wayne State Univ.
Date: Thu, 12 Nov 1992 20:37:12 GMT

Now that I've said how great the P.D. version of x3270 is, I have
a question. It seems as thought x3270 works great when talking to 
a host that makes a connection directly in 3270 mode, but can't
handle hosts that do not. Our MVS machine first connects to SNA/TCP
in line mode, and displays a menu of services to pick from. Once
the users picks a services they are connectted in 3270 mode to that
service. tn3270 doesn't seem to have any problems making this switch
from line mode to 3270 mode, but x3270 does, and just hangs. I was
wondering if anyone has gone through the code to make the changes to
x3270 to allow for this mode change between line mode and 3270 mode?
Thanks!
-- 
     ____  __   __       Tom@UTS.CC.Wayne.Edu
      /   /_/  /_        Thomas_Richard_Stevenson@MTS.CC.Wayne.Edu
     /.  /\ . __/.       Tom@CMS.CC.Wayne.Edu
                         UserTom@WayneMTS.Bitnet
From: MikeSummers@cup.portal.com (Michael - Summers)
Newsgroups: comp.windows.x
Subject: Process clean-up when X term session terminates?
Date: Tue, 10 Nov 92 04:19:59 PST
Organization: The Portal System (TM)
Distribution: world

I have some end-users accessing an application on a SPARC server via
MacX 1.7.1. I can't convince these folks that quitting MacX is not the
proper way to quit the app.

This leaves all sorts of processes left on the server. Is there someway
to get the X Client to recognize that the session has disconnected and
clean everything up?

Thanks, Mike
Newsgroups: comp.windows.x,comp.sys.hp
From: milburn@vision.postech.ac.kr (John Milburn)
Subject: Re: Reversing colors for printing
Reply-To: milburn@vision.postech.ac.kr (John Milburn)
Organization: POSTECH, Pohang, Korea
Date: Sat, 7 Nov 92 02:58:47 GMT

In article <1697@esl.ESL.COM> cary@esl.com (Cary Jamison) writes:
>Is there an easy way of switching the black and white colors of the output
>of xwd and/or xwd2sb before sending the output on to a printer?  The
>command used is:
>
>xwd -frame | xwd2sb | pcltrans <various options> | lp
>
>Where the pcltrans options are specific for either a color PaintJet or
>LaserJet printer.  Somewhere in this pipe, I would like to switch the black
>and white colors so the windows printed don't waste so much ink (they have
>black backgrounds).  pcltrans is used instead of xpr because it provides
>better quality output for the HP printers.

For simple inversion, use pnminvert(1) from the Jef Poskanzer's pbmplus
package.

Then, the command could be something like:

xwd -frame|xwdtopnm|pnminvert|pnmtoxwd|xwd2sb|pcltrans <various options>|lp

There are better ways to do it with the pbmplus package. One might be:

xwd -frame | xwdtopnm | pnminvert | pnmscale 4 | pnmsmooth | ppmtopgm \
  | pgmnorm | pgmtopbm | pbmtolj | lp -or

This adds scaling, smoothing, and a good color -> mono conversion. It
skips the starbase bitmap conversion.  If you are playing with bitmaps
in any way, pbmplus is a must!

Pbmplus is available at a ftp site near you, and compilation on hpux is
not difficult.  Contact me if you need assistance.

John Milburn - Pohang Accelerator Laboratory
Pohang Institute of Science and Technology (POSTECH)
Pohang, Korea                Fax: 011-82-562-79-4499
milburn@vision.postech.ac.kr
From: lawson@ecst.csuchico.edu (M. Todd Lawson)
Newsgroups: comp.windows.x
Subject: Help Please...
Date: 9 Nov 1992 21:11:24 GMT
Organization: California State University, Chico
Distribution: world
NNTP-Posting-Host: flambe.ecst.csuchico.edu



   Hi!

     I am a student at Calif. State Univ. Chico studying computer engineering.
  I am currently looking forward to a career in the field of technical
  writing and documentation. Because of this, I have decided to start 
  a journal for the most frequently asked questions about computers. I
  intend for it to be a bi-monthly publication with the purpose of answering
  all the most often asked questions new and semi-experienced computer
  users have. It will not be for those of you with off the wall, obscure
  questions, because I will not be able to answer many of those.        

    For me to get started, please send me any question that a new user is
  likely to ask; i.e. What is the speed of my computer? 386 or 33mhz?
  I know that seems simple, but you would be surprised to hear what
  new computer people will ask. 
  
    Below is a subscription form and question
  sheet.  All I ask is that you send me a question, and your name will go
  into the mailing list. However, as I am a student, I have limited funds.
  
  If this is not in the scope of        
  NetNews, then, forgive me and just send a question. I will print as many
  as I can afford and send them out.

    Thanks for your participation, and I look forward to hearing from you.

    Todd Lawson.

    Lawson@cscihp.ecst.csuchico.edu

    1245 Esplanade Ave. #10
    Chico Ca. 95926

    




    Name:..................................................
     
    Address:...............................................

    City, State, Country:..................................
   
    Zip:..............

    Phone Number:..........................................

    Please put question below:.............................















    .......................................................


   Thanks again.

   Todd.
  
   
-- 
===============================================================================
M. Todd Lawson -- Lawson@cscihp.ecst.csuchico.edu
California State University, Chico. Computer Engineering Dept.
It happens to the best.  It happens to the rest.
From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
Newsgroups: comp.windows.x
Subject: Re: Mapping A Window To A Process
Date: 7 Nov 92 10:53:06 GMT
Organization: McGill Research Centre for Intelligent Machines

In article <Bx7oBI.5IG@cs.columbia.edu>, haupt@cs.columbia.edu (Marcus E. Haupt) writes:

> I would like to know if anyone has come across a method to findt the
> UNIX pid of a process given only a window (Xlib data struct pointer)
> that is known to have been created by that process.

At the Xlib level, a window (data type Window) is not a data structure
pointer, or at least usually isn't.  In the MIT sample implementation,
and presumably most other implementations, the Window datatype is just
a 32-bit unsigned integer.

Given a window ID (the 32-bit value) and a server (window IDs are
meaningless without a server to refer them to), there is little you can
do in most cases.  It would be possible, by hacking on the server, to
find out everything possible about the connection.  However, this may
not be much.  For a TCP connection, all you can get is the address and
port number of the remote end; for a UNIX-domain connection, if they
exist, not even that much can be determined.

In any case, there may not be any "UNIX pid"; the client process may
not be running on a UNIX machine.  It could be VMS, for example, or it
could be a Mac running Planet X (I think that's the name), or it could
be a DOS box running whatever it's called that does the analogous thing
for DOS....

> Or, conversely, given a pid known to have initiated a connection with
> the X Server, is there any way to find out what the Window Tree for
> that process looks like?

Depends on how dirty you want to get your hands.  First, we have to
assume that the connection in question is still open.  Second, we have
to decide what to do if the process has more than one X connection
open.  Once those issues have been addressed, we have to grub around in
the Xlib data structures inside that process (which means reading its
address space, which involves system-dependent and usually messy and
fragile kludges) to find (a) what server is on the other end of that
connection and (b) what the resource ID mask and base values are.  We
then walk the window tree on the server in question, looking for window
IDs that fit the mask and base we found....

In short, it's so hard that you don't want to do it if you can help it,
and you will have to learn a *lot* more about system-level software
before you have much hope of making it work.

					der Mouse

			    mouse@larry.mcrcim.mcgill.edu
Newsgroups: comp.windows.x
From: iversen@dsfys1.fi.uib.no (Per Steinar Iversen)
Subject: Re: xsetroot for VMS/DecWindows
Reply-To: iversen@vsfys1.fi.uib.no
Organization: Department of Physics, University of Bergen, Norway
Date: Fri, 6 Nov 92 06:13:07 GMT


In article <9211051512.AA08704@cephb.cephb.fr>, chrisp@cephb.cephb.fr (Chris Person) writes:

>Hi,
>
>I look for program equivalent to xsetroot on X/Unix machine but for VMS runnin g 
>DecWindows. this program must be able to load standard bitmap files .
>
>If other format could be supported at the same time, it would be great.
>
>Does anybody know where I could transfer such program from?

If you run DECwindows/Motif 1.1 it is already there, it is one of a number of
common X-utilities that DEC now bundles with DECwindows. From my system:

$ dir DECW$UTILS

Directory SYS$COMMON:[SYSHLP.EXAMPLES.DECW.UTILS]

ATOBM.C;1           ATOBM.EXE;1         BITMAP.C;1          BITMAP.EXE;1
BMTOA.C;1           BMTOA.EXE;1         COPYRIGHT.H;1       DECW$DEFINE_UTILS.COM;1
DIALOG.C;1          DSIMPLE.C;1         DSIMPLE.H;1         EXEC.C;1
HANDLE.C;1          PF.C;1              STRIPNAME.C;1       UNLINK.C;1
WQ.H;1              XDPYINFO.C;1        XDPYINFO.EXE;1      XEV.C;1
XEV.EXE;1           XLSATOMS.C;1        XLSATOMS.EXE;1      XLSFONTS.C;1
XLSFONTS.EXE;1      XLSWINS.C;1         XLSWINS.EXE;1       XMAG.C;1
XMAG.EXE;1          XMODMAP.C;1         XMODMAP.EXE;1       XMODMAP.H;1
XPROP.C;1           XPROP.EXE;1         XRDB.C;1            XRDB.EXE;1
XREFRESH.C;1        XREFRESH.EXE;1      XSET.C;1            XSET.EXE;1
XSETROOT.C;1        XSETROOT.EXE;1      XWD.C;1             XWD.EXE;1
XWDFILE.H;1         XWININFO.C;1        XWININFO.EXE;1      XWUD.C;1
XWUD.EXE;1

I must admit I have not tried it yet...

-psi

+------------------------------------------------------------------------------+
! Per Steinar Iversen    ! Internet:     iversen@vsfys1.fi.uib.no              !
! Fysisk Institutt       ! BITnet:       iversen@cernvm.bitnet                 !
! Universitetet i Bergen ! HEPnet:       VSFYS::IVERSEN (VSFYS=21.341=21845)   !
! Allegaten 55           ! Phone:       +47 5212770                            !
! N-5007 Bergen          ! Fax:         +47 5318334                            !
! NORWAY                 !                                                     !
+------------------------------------------------------------------------------+
Newsgroups: comp.windows.x
From: paulj@gdwest.gd.com (Paul D Johnston)
Subject: When is the next significant X meeting/seminar?
Organization: General Dynamics Corp.
Distribution: usa
Date: Tue, 10 Nov 1992 19:17:28 GMT

   We're in the process of deciding our seminar/conference budget for
next year for our Man-Machine Interface Dept.  Could someone please
respond via email with approximate dates and costs of the significant
X conferences set for 1993, or direct me to the right source?  A timely
response would be most excellent!

			- Paul D. Johnston

-- 
==============================================================================
| Paul D. Johnston  paulj@gdwest.gd.com	|  My opinions are not	| 	     |
| GDE Systems, Inc., San Diego, CA.	|  shared by anyone.	| God Rules! |
==============================================================================
Newsgroups: comp.windows.x
From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
Subject: Re: X Window Protocol Specs (?)
Organization: McGill Research Centre for Intelligent Machines
Date: Sat, 7 Nov 92 23:51:31 GMT

In article <1992Nov6.190345.29073@nntp.hut.fi>, k32116h@puukko.hut.fi (Petri Riihikallio) writes:

> Where can I find more info about the bit stream between a X Window
> server and client ?  If you know a good, accessible or definite
> description, please let me know about it.

mit/doc/Protocol on the R5 tape is a directory that contains the
definitive protocol description.  (It's not a bit-stream, by the way,
but a byte-stream, or more precisely a stream whose units are 8 bits
wide.)

> I am studying computer communications, especially OSI.  I would like
> to take a look at another implementation of communicating structured
> data between dissimilar systems.  I believe (hope) that X Window
> Protocol is somewhat more efficient than ASN.1 / BER.

I'm not sure what ASN.1/BER is, but I suspect you are a little confused
about precisely what the X protocol is.  X assumes that some lower
level provides a reliable bidirectional byte-stream; thus, it can be
built on top of TCP, DECnet, or anything else that lets you shove bytes
in one end and count on getting them out the other - including the OSI
analog to TCP, whatever it's called.

					der Mouse

			    mouse@larry.mcrcim.mcgill.edu
Xref: sparky comp.windows.x:18835 comp.sys.hp:12653
From: cary@esl.com (Cary Jamison)
Newsgroups: comp.windows.x,comp.sys.hp
Subject: Reversing colors for printing
Date: 6 Nov 92 19:28:13 GMT
Organization: ESL Inc, A Subsidiary of TRW

Is there an easy way of switching the black and white colors of the output
of xwd and/or xwd2sb before sending the output on to a printer?  The
command used is:

xwd -frame | xwd2sb | pcltrans <various options> | lp

Where the pcltrans options are specific for either a color PaintJet or
LaserJet printer.  Somewhere in this pipe, I would like to switch the black
and white colors so the windows printed don't waste so much ink (they have
black backgrounds).  pcltrans is used instead of xpr because it provides
better quality output for the HP printers.

For one of the windows we tried temporarily switching the colormap within
the application.  This works for xwd but not for xwd -frame.  HP admits
this is a bug in their xwd but is unwilling to fix it because noone else
needs it (I'm really growing to love HP support lately)!  I tried xwd from
a Sun and it has the same behavior.  There is extra information in the title
bar, which is why we need the -frame option.

A workaround is to do
xwd | xwud
then do
xwd -frame ...
on the xwud window.  This is unacceptable for us since these commands are
executed as the result of the end user hitting a PRINT button.  It would
not do to suddenly have another window pop up that the user would have to
click in again.

So, I'm back to looking at switching the colormaps in the xwd or xwd2sb
output.  This would be a preferable solution since it would be more
general, also (it would work for all our windows without the individual
applications having to explicitly switch their colormaps).

I'm not an X programmer, but got stuck with finishing this task up for
our end user.  That's why I'm hoping someone out there may have a fairly
simple solution they can share with me and I don't have to plow through
manuals figuring out xwd or xwd2sb.

Thank you.

  *********************************************************************
  *              *  Software is not years behind hardware -           *
  * Cary Jamison *  it is finding the limitations of current hardware *
  * cary@esl.com *  and defining the needs of future hardware!        *
  *              *              - me                                  *
  *********************************************************************

Xref: sparky comp.windows.x:18892 comp.windows.x.motif:7322
From: snail@lsl.co.uk
Newsgroups: comp.windows.x,comp.windows.x.motif
Subject: Re: X Window System bibliography
Date: 9 Nov 92 12:27:12 GMT
Organization: Laser-Scan Ltd., Cambridge

In article <1ddb4aINNe1q@fbi-news.Informatik.Uni-Dortmund.DE>, klute@tommy.informatik.uni-dortmund.de (Rainer Klute) writes:
> In article <Bx9FBs.Aoq@ora.com>, david@ora.com (David Flanagan) writes:
> |> In any case, I've prepared a bibliography of all the O'Reilly X books,
> |> suitable for merging with or appending to Ken's bibliography.
> 
> Thanks, David, for preparing this list. It is really useful if you search
> for a book on an author basis. Could you please put it on
> export.lcs.mit.edu as, say, /contrib/Xbibliography.OReilly beside Ken's
> list until Ken gets convinced to include it?
>
Yes, the O'Reilly *list* of books should be included in Ken's list. If he
continues to ignore the value of these books, I wonder if he has a hidden
agenda? and if not, why the reluctance to include the books in the his
bibliography, with a seperate mention for each.

We have nearly all the O'Reilly books here, and they are vastly different
from each other, and have paid for themselves many times over.

Disclaimer: I have no connection with O'Reilly. Just a satisfied user.
> -- 
>   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
-- 
snail@lsl.co.uk      

You Have To Remember, You Need To Beleive,
The Time Has Past, Dust In The Leaves.
Newsgroups: comp.windows.x
From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
Subject: Re: Color in XImage?
Organization: McGill Research Centre for Intelligent Machines
Date: Tue, 10 Nov 92 06:24:11 GMT

In article <1992Nov8.080422.12600@ringer.cs.utsa.edu>, rhanuman@ringer.cs.utsa.edu (Raghu Hanumanthaiah) writes:

> I have an array of pixels and each pixel has 3 8-bit components (red,
> green, blue) which define the color of the pixel.  How do I pass this
> information to the XImage structure so as to may it recognize the
> proper RGB values and render them appropriately?

You may not be able to, not directly.  The pixel values in an XImage
are pixel values - which sounds tautological, but when you notice that
(except for the relatively rare TrueColor and to some extent
DirectColor visual types), pixel values are not simple RGB triples, it
indicates your problem.

If you have a TrueColor visual available, constructing pixel values
from your RGB values will be fairly easy; you just need to shift and
mask each primary and assemble the pixel value.  For DirectColor, the
same is true, but you also need to make sure that your colormap has
appropriate ramps loaded into it.

The next easiest visual type is probably StaticColor; for this, you can
either call XAllocColor for each distinct color in the picture to get
the pixel values (which will be very time-consuming unless the picture
is either small or has large areas of constant color) or you can use
XQueryColors to read back the colormap and pick the colors yourself
(depending on the picture and the desired effect, dithering may help).

PseudoColor is just like StaticColor except that you have to choose the
colors.  There are various algorithms around to do this; see ppmquant
for an example.

GrayScale and StaticGray are just like PseudoColor and StaticColor
except that only shades of gray are available.

					der Mouse

			    mouse@larry.mcrcim.mcgill.edu
Newsgroups: comp.windows.x
From: chris@luchs (Christian Forst)
Subject: xfig 2.1.5
Organization: Inst.of Theor.Chemistry,Univ.of Vienna,Austria
X-Newsreader: Tin 1.1 PL3
Date: Tue, 10 Nov 1992 15:09:30 GMT

In xfig2.1.5 the y-ruler doesn't scale when zooming and doesn't move at all
(the grid and the figure on it does). Has anyone solutions or patches
available ?

	Chris
--
+-----------------------------------+-----------------------------------------+
| Christian Forst		    | Phone: +43-1-40-480-670                 |
|				    | Fax:   +43-1-40-28-525                  |
| gargl, wonz, bazong, zawapp, gurp,| Email: Christian.Forst@itc.univie.ac.at |
| schwuppdi, bla, bingo, murx,boink,|                                         |
| zappadong, hau wech, knurps, ...  | No more comments on Disclaimers ...     |
+-----------------------------------+-----------------------------------------+
From: kaleb@thyme.jpl.nasa.gov (Kaleb Keithley)
Newsgroups: comp.windows.x
Subject: Re: FLAME, FLAME ON X!!!
Date: 10 Nov 92 00:29:31 GMT
Organization: Jet Propulsion Laboratory, Pasadena, CA

In article <1683@igd.fhg.de> baumann@igd.fhg.de (Peter Baumann) writes:
>This is a sad story told by a frustrated user of some quite common
>one-letter software. 
> [...]
>Short after that, a colleague of the bad-luck guy occasionally
>remarked, "Did you know that the X windows server never releases
>memory space once acquired for image display? Each new image loaded
>makes the X server address space grow until there's no more available."
>And added, "This is a well-known bug of X". Well-known. Well...

A well-known bug of X?  More accurately, it's a well-known "feature" of 
UNIX?  

-- 

Kaleb Keithley                          kaleb@thyme.jpl.nasa.gov

Not authorized, in any way, shape, or form, to speak for anyone.
Newsgroups: comp.windows.x
Subject: Telecommuters, Remote Workers
From: 9138827a@levels.unisa.edu.au
Date: 4 Nov 92 20:55:14 +1030
Organization: University of South Australia

This item has been cross-posted to comp.os.ms-windows.apps,
comp.sys.ibm.pc.digest and comp.sys.ibm.pc.misc
=====================================================================

I am undertaking postgraduate study at the School of Library and
Information Management, University of South Australia, Adelaide, on
the particular information needs of telecommuters - those who perform
job-related work at a site away from an organisation and communicate
electronically rather than commuting physically.
 
I would be very interested in, and would greatly appreciate a response
from those who are telecommuters, to the following questions. If you
are not a telecommuter but know of others who are it would be
appreciated if you could pass this on to them:
 
 
Q1      Does the organisation to which you telecommute provide any
        library and information services which are accessible to you
        online? (eg catalogs, reference assistance, databases, literature
        searches, document delivery services, organisation information
        such as daily bulletins and administrative gazettes.)
 
        If yes:
 
        (a) What services are provided?
        (b) How useful are these services to you?
 
Q2      (a)     What is the nature of the organisation to which you
                telecommute?
 
        (b)     If you sometimes commute physically to your organisation,
                how frequently do you do this?
 
Q3      What are the particular information needs that you have as a
        telecommuter?
 
Q4      What basic information services do you consider should be
        provided by an organisation for its telecommuters? (see Q5 for
        additional and desirable services)
 
Q5      What additional information services would you perceive as being
        highly desirable for an organisation to provide for its
        telecommuters?
 
Q6      Are there any further comments you wish to make regarding the
        information needs of telecommuters?
 
Q7      Would you like a summary of the results of this survey E-mailed
        to you?
 
Respondents can be assured that individuals and organisations will not
be identified in any report or summary of this survey.
 
Please E-mail your response to my Internet address:
 
9138827a@ntx.city.unisa.edu.au
 
Thank you for your cooperation
 
Bronwen Strong   

Newsgroups: comp.windows.x
From: daniel@moonshine.osf.org (Daniel Dardailler)
Subject: Multi-screen X server
Organization: Open Software Foundation, Motif Team
Date: Thu, 12 Nov 1992 15:16:15 GMT

I'm looking for references of multi screen X servers,
any hardware, but preferably sun, hp, or 486.
I'm particularly interested by those that you can run on a 
single physical tube (this way I won't have to buy another monitor)

I used to have one where you could say at startup time: "X -2" (for 2 screens)
and then open connections to either unix:0.0 or unix:0.1
(switching of the mouse from one screen to another was done
by crossing the edges of the current screen).

Is it a default option in the MIT distrib, or is it a proprietary feature ?
(and if yes, who would sell such a product).

Thanks for any help.

Daniel