HDTenEightyP/NetNews huggingface dataset:
From: da188@city.ac.UK
Subject: Re: xbm to gif conversion
Reply-To: da188@city.ac.uk
Organization: The Internet
Date: Mon, 14 Sep 1992 11:55:30 GMT

>Date: 12 Sep 92 11:51:10 GMT
>From: katz@za.ac.und.lourie (Moran Katz)
>Organization: Univ. Natal, Durban, S. Africa
>
>Hi
>
>I would like to know if there are anyone programmes out there that will
>convert from xbm to gif/pcx or any other format that I can use on a PC.


The X client, xv, currently allows you to view xbm, SUN raster, GIF, pbm and
pbm+ files (I think), and allows you to save in those formats too - maybe this
would make a useful conversion program for you? If you are converting Windows
bitmaps to GIF, then may I recommend the WINGIF program for Windows.

Aj.
-- 
.-------------------------------[ The Eno ]------------------------------------.
 JANET : da188@uk.ac.city  da188@uk.ac.city.cs
 I'net : da188@city.ac.uk  da188@cs.city.ac.uk
 BITNET: da188%city.ac.uk@cunyvm.cuny.edu   da188%cs.city.ac.uk@cunyvm.cuny.edu
`------------------------------------------------------------------------------'
Newsgroups: comp.windows.x
From: jchauvin@netcom.com (John H. Chauvin)
Subject: Xlogin question: Adding a screen saver and root background
Date: Sat, 05 Sep 92 15:49:41 GMT
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 


I tried posting this message to comp.sys.sgi and received no
responses so I will try here. I hope someone can help me.

I am currently using a Silicon Graphics 4D/25G workstation and
am attempting to define a screen saver and custom root background
which would only be active/displayed when no user is logged on
(when the login program called pandora is running) overriding the
default light blue background and blank screen saver.

Since the file /usr/lib/X11/xdm/Xlogin displays pandora, it seems
to be the logical place to insert the screen saver and background
commands. I have defined a screen saver using the "haven" command
which runs a gl based screen saver. The root background is displayed
using the "bgpaste" command. Both commands are set to run in the
background. Having done this, I have encountered a problem.

Having made the changes to Xlogin, I logged off the system. The
new background appears and the screen saver is active. BUT, when I
attempt to log back on, the system hangs immediately after the
login screen disappears. What is going on? Since this approach did
not work, I moved the commands to the Xreset file. Both commands
seem to work and I was able to login to the system. But as I logged
in and out a number of times, I discovered that the screen
saver was active only half the time. One look at the xdm-error file
convinced me that this approach was also incorrect.They say what
I am trying to do can be done. Any suggestions?


Thanks

John Chauvin
Northrop Corporation
Advanced Technology & Design Center
Pico Rivera, California
jchauvin@netcom.com
-- 
John H. Chauvin jchauvin@netcom.COM
Netcom - Online Communication Services San Jose, CA
Newsgroups: comp.windows.x
From: joe@oilean.islandsw.com (Joe McGuckin)
Subject: Font Editor available?
Organization: Island Software
Distribution: usa
Date: Mon, 7 Sep 1992 07:43:53 GMT

Is there a bitmap font editor available?  What about tools for resizing/rescaling
existing fonts?

Thanks!

-joe

-- 

Joe McGuckin             joe@islandsw.com
Island Software    	 oilean!joe@sgi.com
(415) 969-5453
From: rjsmith@iron.hq.aflc.af.mil (Randy Smith)
Newsgroups: comp.windows.x
Subject: Is X a bandwidth hog?
Date: 16 Sep 92 00:12:09 GMT
Distribution: comp
Organization: AFSAC


Recently, there's been some dicussion around the office that X can be a 
bandwidth hog.  Obviously, it depends on what you are doing, but on a
thicknet ethernet just how bad would it be to use X to support an office
automation environment, i.e. some word processing, e-mail, and spreadsheet
applications.  We don't forsee a lot of big bitmap-type activity.

--Randy--
Newsgroups: comp.windows.x
From: markkj@mullian.ee.mu.OZ.AU (Mark Johnston)
Subject: Wierdness with XFillPolygon...
Summary: Bug in XFillPolygon....
Keywords: ARGGH! XFillPolygon
Organization: Computer Science, University of Melbourne, Australia
Date: Mon, 14 Sep 1992 06:39:19 GMT


    I have written a program that is to convert some 3D polygons to 2D
polygons and then display the results.  The calculations work correctly every
time I run the program, but then when I go to do the XFillPolygon, the program
will either (a) draw the polygon between the points correctly, or (b)
will draw a polygon that has been rotated 90 degrees.  After drawing the polygon
I then proceed to draw the points that form the verticies of the polygon,
and they always appear in the correct place.  The polygon I am drawing is
_always_ with the same points, and only has 3 verticies.  The shape I am passing
is "Convex", and I have even tried using "Complex" to no avail.  The program
has been run through gdb on both a Sun 4/75 with shared libraries and an 
IRIS 4D/340S without shared libraries.  I've run the program under gdb, and
for both when the program works and when it fails, the point set that is passed
to XFillPolygon is correct.

	The only thing that may be affecting the polygon filling is that one 
coordinate is negative.  I have not been able to get the program to give
strange results on data sets that produce all-positive verticies.  While
negative values on the x axis may account for bad results, it still does not
account for why the polygon would be _rotated_ !!!  I have also tried
using XSetClipRectangles() without success!


    Can anyone provide any suggestions/hints/(unhelpful FAQ advice) to why this
may be happening???


	Thanks.


	Mark.

--------------------------------------------------------------------------------
        Mark Johnston         |                   | markkj@munagin.ee.mu.oz.au
3rd year Software Engineering |                   |-----------------------------
    Melbourne University      |                   | markkj@mundil.cs.mu.oz.au 
--------------------------------------------------------------------------------
From: adolce@bbn.com (Anne Dolce)
Newsgroups: comp.windows.x
Subject: PBM and Insensitive Pixmaps
Date: 11 Sep 92 16:04:31 GMT
Organization: Bolt, Beranek & Newman, Inc.
NNTP-Posting-Host: spcsun24.bbn.com

Hi,

  Could someone tell me which (if any) of the pbmplus
  utilities can be used to convert a pixmap into one
  which looks like it is insensitive?  I have two-color
  icons (e.g., light green and dark green) and I need
  a pixmap which gives the appearance that the icon is
  insensitive.

  I was playing with ppmdither, but don't really know
  how to use it for this purpose.  Thanks for any help.

Anne
----
*        *                   *********************************
*        *                   *  Anne Dolce (adolce@bbn.com)  *
*        *                   *  BBN Software Products        *
******   ******   ******     *  150 Cambridge Park Dr 20/9C  *
*    *   *    *   *    *     *  Cambridge, MA  02140  USA    *
*    *   *    *   *    *     *  Phone:  617-873-2122         *
******   ******   *    *     *********************************
 
Newsgroups: comp.windows.x
From: josh@viewlogic.com (Josh Marantz)
Subject: Checking for existence of mouse buttons/keys
Organization: Viewlogic Systems, Inc.
Date: Tue, 15 Sep 1992 20:51:47 GMT

>der Mouse (dm) writes:
>...Printing a message like "I can't run on a
>server with only 2 buttons on the pointer" and dying is better than
>running crippled due to needing a nonexistent third button.  (Usually.
>I would want any such program to have a switch saying "I know what I'm
>doing; run anyway.".)  Not checking and then depending on the presence
>of those buttons is IMO a bug.

By the way, how do you query X to see how many mouse butons are
actualy present?  For that matter, can you detect if certain keys on
the keyboard are present (I guess that means, are any keycodes bound to
specific keysyms?)
From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
Newsgroups: comp.windows.x
Subject: Re: X11R5 -- HELP !
Date: 11 Sep 92 00:15:43 GMT
Organization: McGill Research Centre for Intelligent Machines

In article <1992Sep8.114335.2359@cci.dk>, hwn@cci.dk (Henrik W. Nielsen) writes:

> I have just compiled X11R5 on my Sun IPC (SunOS 4.1.1) using gcc-2.

> It compiles without any errors, but when trying to start X, I get the
> following error message:

> Getting interface configuration: Operation not supported on socket
> sunOpenFrameBuffer: Inappropriate ioctl for device
> 
> Fatal server error:
> no screens found

> Does anyone know what is wrong ? 

There's a good chance the FAQ does.

----------------------------------------------------------------------
Subject:  96)  What are these I/O errors running X built with gcc?
When I try to run xinit or the Xsun server I get the error 
	"Getting interface configuration: Operation not supported on socket. 
	Fatal server bug! no screens found."

	Running the gcc fixincludes script apparently didn't work. You can do 
this simple test:

	#include <sys/ioctl.h>
	SIOCGIFCONF

Run that through cc -E and gcc -E.  The last line of output is the piece of 
interest; it should be identical (modulo irrelevant differences like 
whitespace).  If the gcc version has 'x' where the cc version has 'i', your 
fixincludes run didn't work for some reason or other; go back to your gcc
sources and run `fixincludes`; then rebuild the X distribution. If they are 
identical, try running a make clean in mit/server and rebuilding, just to make 
sure everything gets compiled with the proper include files.  

[courtesy der Mouse, mouse@LARRY.MCRCIM.MCGILL.EDU; 9/90]

----------------------------------------------------------------------

					der Mouse

			    mouse@larry.mcrcim.mcgill.edu
Newsgroups: comp.windows.x
From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
Subject: Re: Questions regarding TVTWM
Organization: McGill Research Centre for Intelligent Machines
Date: Thu, 10 Sep 92 22:49:29 GMT

In article <amoss.715949819@falafel>, amoss@huji.ac.il (Amos Shapira) writes:
[stuff about tvtwm and setting the screen's background]
> What I would really like to have in tvtwm is that it wouldn't obscure
> the real root so no-one should know about it and so I get the same
> image no matter what part of the virtual root is visible currently

This is possible.  The conceptually simplest way of doing it is
probably to do away with the virtual root altogether, and pan by moving
all the windows individually.  I am told this has been tried and it has
unacceptable performance problems.  The next way that occurs to me is
to use the SHAPE extension to shape the pseudo-root window so that it
covers exactly and only those areas that have client windows on them.
I have not heard of this being tried, and no other ways come to mind
immediately.

> (I was thinking while writing this [I sometimes do that :)] and
> though that maybe a transperant window as the virtual root might do
> that? What do you think?)

Sounds nice, but transparent windows don't really exist.  (Well, they
do, but an InputOnly window can't have InputOutput children, so that
solution is out.  *Why* an InputOnly window can't have InputOutput
children I don't know.)  Setting the pseudo-root's background to
ParentRelative would help, but only partially.

					der Mouse

			    mouse@larry.mcrcim.mcgill.edu
From: snail@lsl.co.uk
Newsgroups: comp.windows.x
Subject: GUIs considered harmful (alternative distribution)
Date: 7 Sep 92 18:09:43 GMT
Organization: Laser-Scan Ltd., Cambridge

[guy defending the Mac and slagging UNIX..]
>Try printing a text file to a postscript printer.. thats a more common problem

lpr -P <printer_name> -K2 (double sided) -Das (ascii)

However 'man' is not intuitive for a novice, whereas HELP is. Having said that
we use VMS as well as UNIX and it's all in there in HELP on VMS, but trying
to find what you want is almost impossible....

HELP SHOW

blah.....

HELP SHOW REGSITERED NEWSGROUPS

unknown command etc etc

this went on for a while until I found out the command was

DIR /REGISTER

How the hell am I meant to guess that I need help on DIR for my newsreader
when I've selected things I want shown using REGISTER. VMS's help system is
retarded (almost most other peoples opinion on VMS HELP at this site)
-- 
snail@lsl.co.uk      

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

Vote for Bill Clinton. Vote for Bill Clinton. Vote for Bill Clinton.
Newsgroups: comp.windows.x
From: jdmcmill@eos.ncsu.edu (JAMES D MCMILLAN)
Subject: Printing images from the screen
Organization: North Carolina State University
Date: Thu, 10 Sep 1992 21:36:05 GMT


I was wondering if anyone out there could help me with a problem I have
recently encountered. 

I have been working on printing out different graphic formats (xwd, sun
raster, etc...) to a 24 wire printer.  I found some software from a 
contrib directory from MIT that would convert from various formats to 
pnm, ppm, pgm, and pbm.  The only problem is when I try to print out
the files (using the various conversion programs and finally from pbmtoepson
and an epson compatible printer), I get garbage at the end of the printed 
lines that seem to be some left over color information.  Also, when I try
to print a black on white (regular video), it really bombs, but when I
do reverse video (white chars on black), it seems to work ok except for the
chars at the end of the printed lines.

If anyone knows of a patch for this problem or another package that will work
, please drop me a line at the address below.


Any help is greatly appreciated,

Thanks,

-----
Duncan McMillan
jdmcmill@eos.ncsu.edu
mcmil-jd@osl.csc.ncsu.edu
mcmil-jd@adm.csc.ncsu.edu
From: rlr@hpuerca.atl.hp.com (Ricky Ralston)
Newsgroups: comp.windows.x
Subject: How to press CAPSLOCK ?
Date: 8 Sep 92 20:06:33 GMT
Organization: Hewlett-Packard, Atlanta Technology Center



How can I logically press the Caps Lock key.  I need the functionality
of having a widget keyboard.  (ie. When I press the button labeled
"Caps" the Caps Lock toggles - just like it was pressed from the "real"
keyboard.)



Ricky Ralston

rlr@atl.hp.com
Newsgroups: comp.windows.x
From: gml4410@ggr.co.UK (Lack Mr G M)
Subject: Re: Need XTERM to process Form Feed to clear screen.
Organization: The Internet
Date: Thu, 10 Sep 1992 12:43:20 GMT

> Need advice as to how to get XTERM to process FF (form feed) like
> conventional VT100 terminals. The regular terminals will scroll up
> and clear a page worth of screen. Can't seem to find out anything
> to set to cause this to happen and our applications use form feed to
> clear an area to place text into with escape sequence commands
> so without the clear area the display gets garbled. Would appreciate
> any help on this.

     I'm  not  aware  of  a  vt100  doing  a  screen-clear when it get a
form-feed??!  I *am* aware that a Prime PT200 terminal goes to HOME (ie.
0,0)  when  it gets a form-feed.  All vt100 emulators I have seen either
ignore form-feed or throw a blank line instead (in fact, I find it quite
amusing that this comes form Computervision as I asked Prime whether the
PT200 could be configurable to ignore form-feed arther than going  home,
so that it looked more like a vt100....)

     Why  don't  you  get your software to send Esc[HEsc[J, which should
clear the screen for anything remotely close to a vt100. 


-------------------------- Gordon Lack ----------------------------------
The contents of this message *may* reflect my personal opinion.  They are
*not* intended to reflect those of my employer, or anyone else."

Xref: sparky comp.windows.x:16260 comp.windows.open-look:3746
Organization: University of Illinois at Chicago
Date: Sunday, 6 Sep 1992 19:23:19 CDT
From: <U56789@uicvm.uic.edu>
Newsgroups: comp.windows.x,comp.windows.open-look
Subject: File icons using XView

Hi,
I am a new member of the X community. I am presently using Xview 3.0 .

I need to create file icons similar to the ones in the OPENLOOK file
manager, ie an icon representing the various kinds of files (make, .c,
executable etc.) and the name of the file below the icon. Like in the
file manager I need to implement the capability to select these icons
(hilighting the icons), moving them around (like to the trash) etc.


I would like to know how this could be done using XView. I have looked
the XVIEW reference manual (O 'Reilly vol. 7). It hasn't been very helpful.

I have been thinking of using panel buttons and mapping the server images
onto them. But the problem is I need to have both  the icon (server_image)
and a title (label_string). A panel button can have either one,not both ie.,
a PANEL_LABEL_IMAGE or PANEL_LABEL_STRING cannot both be in effect.

I would appreciate your help in this matter. I request anyone who has
had the similar problem or implemented something similar to send me
pointers as to how this can be accomplished.

Thanks in advance.

Sanjeev Shah
ssshah@bert.eecs.uic.edu

Dept. of EECS
Univ. of Illinois at Chicago

Newsgroups: comp.windows.x
From: jruiz@wm.estec.esa.nl (Jose Ruiz -Student-)
Subject: Xview graphics
Reply-To: jruiz@wm.estec.esa.nl
Organization: ESA/Estec/WMS, Noordwijk, The Netherlands
Date: Tue, 8 Sep 1992 16:10:18 GMT

I'd like to integrate dynamic graphics in a graphic interface designed with DevGuide 3.0 (on Xview). I've tried using widgets for XtInstricts but I cannot make it work. I think it's because a conflict between Xview and XtInstricts. 
Has anyone public domain software to integrate graphics in Xview?
 
-Thanks



Newsgroups: comp.windows.x
From: rws@expo.lcs.mit.EDU (Bob Scheifler)
Subject: PEX 5.1 Protocol Specification
Organization: The Internet
Date: Tue, 15 Sep 1992 15:34:55 GMT

The final PEX 5.1 Protocol specification is now available via anonymous
ftp to export.lcs.mit.edu (18.24.0.12), in the directory /pub/DOCS/PEX/.
Changes made from the Public Review draft are listed in the file
"5.1P_changes" in that directory.
Newsgroups: comp.windows.x
From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
Subject: Re: Question on DirectColor visual
Organization: McGill Research Centre for Intelligent Machines
Date: Thu, 10 Sep 92 19:58:02 GMT

In article <steitz.715936342@aorta>, steitz@aorta.tat.physik.uni-tuebingen.de (Arno W. Steitz) writes:

> I want to port an X-program which works currently on 24-Bit TrueColor
> to a 24-Bit DirectColor visual.  I couln't figure out a way to avoid
> allocating about 16 million colorcells, loading RGB-values into
> corresponding XColor structures and storing all this to the colormap.

> Is there a way to set R-G-B ramps of 256 entries each independently.

Certainly.  That's the whole point of DirectColor: you don't have
16777216 independent cells, but only 768.  (16777216 independent cells
would be 24-bit PseudoColor.  Also, I'm handwaving: "cell" is being
used to mean something that holds either an RGB triple or just 1/3 of
that, depending on context.)

Essentially, you have the following.  (Details may vary, such as the
number of bits, or the ordering of the fields within the pixel.  This
is an example.)

          +--------------------------+
Pixel:    | rrrrrrrrggggggggbbbbbbbb |
          +--------------------------+
            \__  __/\__  __/\__  __/
               \/      \/      \/
              //       ||       \\
   /==========/        ||        \==========\
   ||    Red table     ||    Green table   ||    Blue table
   ||   +----------+   ||   +----------+   ||   +----------+
   ||   | xxxxxxxx |   ||   | xxxxxxxx |   ||   | xxxxxxxx |
   ||   | xxxxxxxx |   ||   | xxxxxxxx |   ||     ........
   ||   | xxxxxxxx |   ||     ........     \==> | xxxxxxxx | >==\
   ||     ........     \==> | xxxxxxxx | >==\     ........     ||
   \==> | xxxxxxxx | >==\     ........     ||   | xxxxxxxx |   ||
          ........     ||   | xxxxxxxx |   ||   | xxxxxxxx |   ||
        | xxxxxxxx |   ||   | xxxxxxxx |   ||   | xxxxxxxx |   ||
        +----------+   ||   +----------+   ||   +----------+   ||
                       ||                  ||                  ||
                   To display,         To display,         To display,
                   red channel        green channel        blue channel

When you store into one of the three tables (via XStoreColor with the
appropriate bit set in the flags field of the XColor structure), the
new value is used for all pixel values that use that table entry (in my
example, there are 65536 such, that being the number of pixel values
with those eight bits fixed and the other 16 varying).

Thus, you need only create the ramps you desire and then do 256
XStoreColor calls (or one XStoreColors call storing all 256 entries),
loading all three tables at once.

					der Mouse

			    mouse@larry.mcrcim.mcgill.edu
From: ebubra@ebu.ericsson.se (Bertil Askelid)
Newsgroups: comp.windows.x
Subject: gcc-2.1 & X11r5p17 success, BUT xdm ???
Date: 14 Sep 92 05:51:52 GMT
Reply-To: ebubra@ebu.ericsson.se (Bertil Askelid)
Followup-To: comp.windows.x
Organization: Ericsson Business Communications, Anaheim, California

Hello!

   I am trying to compile X11r5 patchlevel 17 on a Sparc IPX running
   SunOs 4.1.1 using gcc-2.1. I have managed to compile everything
   sucessfully following the good advice from fellow netters as
   summarized below. The only failure I have is when linking xdm:
   
      gcc -fpcc-struct-return -o xdm -O2   auth.o daemon.o server.o dpylist.o dm.o error.o file.o  greet.o netaddr.o reset.o resource.o protodpy.o policy.o  session.o socket.o streams.o util.o verify.o xdmcp.o  Login.o mitauth.o  genauth.o access.o choose.o xdmauth.o rpcauth.o -L../.././lib/Xaw -lXaw -L../.././lib/Xmu -lXmu -L../.././lib/Xt -lXt -L../.././extensions/lib -lXext -L../.././lib/X -lX11 ../.././lib/Xau/libXau.a ../.././lib/Xdmcp/libXdmcp.a -lrpcsvc -L/usr/local/X11r5/lib    
      ld: Undefined symbol 
         __C0095A2A 
      collect: /usr/bin/ld returned 2 exit status
      *** Error code 1

   Is there anyone out there who has come across this and has figured
   out a solution? Please, email the answers to me and I will summarize
   the result! This group is overloaded as it is!

   I have followed all (?) the advice I have come across on
   this newsgroup on the subject since May-92:
   
      I have applied the patches in gcc-2.1/README.X11.
      
      As adviced by dmose@bright.uoregon.edu (Dan Mosedale) I have had
      some Sun patches applied:
      
         ld.jumbo.100170-06
         libc.100266-06
         ld.so.100257-03

      and also set the following flag in my /mit/config/site.def file:
      
         #define SunPost411FCSLd    YES
         
      I followed the advice by jb@falstaffMAE.CWRU.Edu (Jim Berilla) and
      added "-lXt" as follows in /mit/config/sunLib.tmpl on line 51:
      
         XMULIB = _Use(-lXmu,-L$(XMUSRC) -lXmu -L$(TOOLKITSRC) -L$(EXTENSIONSRC)/lib -L$(XLIBSRC) -lXt)

      and also edited /mit/config/sun.cf to correct a mistake in
      gcc-2.1/README.X11:
      
         #if defined(HasGcc2) 
         #undef OptimizedCDebugFlags /* <------ this line was forgotten */
         #define OptimizedCDebugFlags -O2
         #else
-- 
			Bertil Askelid
			ebubra@ebu.ericsson.se
Newsgroups: comp.windows.x,comp.windows.x.apps