waashk/20ng huggingface dataset:
In article <1993Apr30.132044.15762@vpbuild.vp.com> jessea@u013.me.vp.com (Jesse W. Asher) writes: >I'm trying to get MH compiled (and then xmh) and I'm having some problems. >I've got mh-6.8, using gcc on SCO 3.2.4.  My MH file is listed below.  Does >anyone have any suggestions on what I can add to get it to compile??  Here's the one that I used:  # @(#)$Id: MH,v 1.7 90/04/06 09:44:31 sources Exp $ # SCO 3.2.4v2 bin	/usr/local/bin bboards	on etc	/usr/local/lib/mh mail	/usr/spool/mail mailgroup	mail ldoptlibs	-lsocket -lcrypt_i mandir	/usr/man cc	gcc ccoptions	-traditional manuals	none chown	/bin/chown mts	sendmail/smtp pop	on debug	off sharedlib	off signal	void sprintf int options	ATTVIBUG BIND DPOP DUMB RENAME SOCKETS SYS5 SYS5DIR VSPRINTF FCNTL MHE MHRC MIME MORE='"/usr/bin/more"' POPSERVICE='"pop3"' RPATHS FOLDPROT='"700"' MSGPROT='"600"' SBACKUP='"\\043"' SHADOW curses	-lcurses -ltermcap ranlib	off  You may want to use a different locking style; my mailbox is mounted over NFS so I use fcntl-style locking.  I also applied the following tweak to sbr/makedir.c:  *** /src/public/mh-6.8/sbr/makedir.c    Tue Dec 15 10:55:22 1992 --- sbr/makedir.c       Tue Apr 13 14:02:04 1993 *************** *** 24,30 ****   #include <sys/types.h>   #include <sys/stat.h>   #endif        /* SYS5DIR */ ! #if defined(SVR4) || defined(ncr)   #include <unistd.h>   #endif  --- 24,31 ----   #include <sys/types.h>   #include <sys/stat.h>   #endif        /* SYS5DIR */ ! #if defined(SVR4) || defined(ncr) || defined(SYS5) ! #define MAXPATHLEN 1024   #include <unistd.h>   #endif  That took care of everything but the man pages, which I installed by hand.  Good luck, -- Steve
[posted for a friend]  Okay, I looked through the FAQs and didn't see this, but I know its come up before...  XAllocColor is supposed to do the following in order:     Try to find an exact match read-only color cell. (within hardware limits)     Try to allocate a read-only colorcell and set it to match. 	and when all else fails,      Return the colorcell with the best match from the read-only colors      already allocated in the colormap.  This sounds good in theory.  It doesn't seem to work this way though.  If there is no exact match already in the colormap, and  no unallocated cells, then XAllocColor fails, even when it has  already allocated several other cells already, and there are dozens  of read-only cells already in the colormap.  Is this a bug?  A feature?  A misunderstanding on my part?  Any help appreciated,
I'm looking for a version of xterm which handles color and vt220 style status lines. Can anyone out there help?
Using the usersub stuff in perl, you can incorporate things like curses for use in perl.  I was wondering if anyone had done this with X (preferably Motif), and if so, where I could get the source for it?
From 9150618 Thu Apr 29 16:36:43 1993 Date: Thu, 29 Apr 1993 16:36:42 +1000 From: 9150618 (Gavin Fairlamb) To: 9130037 Status: R   Hello, folks...         I am doing a uni. project and was wondering if you could    supply with some specific info. or references for info. regarding    		1). Considerations for installation of XWindows in 		a HP 9000(unknown model)                 2). Motif, OPENLOOK, XToolkit????                 3). X11, X11R....                  4). Glossary of any term on X  	We considering this software for the project which deals      in image analysis...       Any info. would be greatly appreciated.
Hi, I'm new to this group so please bear with me!  Two years ago I wrote a Sunview application for fast animation of raster files. With Sunview becoming rapidly obselete, I've finally decided to rewrite everything from scratch in XView. I put together a quick test, and I've found that XPutImage() is considerably slower (factor of 2 on average?) than the Sunview command pw_rop() which moves image data from memory pixrects to a canvas. This was on a Sparc IPX. It seems that: (1) the X protocol communication is slowing things down; or (2) XPutImage is inefficient...or both! My question is, what is the fastest way in X11R5 to dump 8 plane image data to a window? Can I take advantage of the fact that the client is running on the same machine as the server? Or am I stuck with XPutImage() (in which case I might as well give up now...)?  All help appreciated...thanks!  Derek  ----------------------------------------------------------- | Derek C. Richardson    | Tel: (0223) 337548 x 37501     | | Institute of Astronomy | Fax: (0223) 337523             | | Cambridge, U.K.        |                                | | CB3 0HA                | E-mail: dcr@mail.ast.cam.ac.uk |
Does anyone know of an X-based terminal emulator which can emulate a color tektronics graphics terminal such as  TEK 4105 or TEK 4107, etc?
In <C6tGoJ.20J@inmet.camb.inmet.com> gjs@corsica.camb.inmet.com (George Snyder) writes:  >In article <1sk97rINNptb@polaris.isi.com> kin@isi.com (Kin Cho) writes:  >> I wonder if anybody know of a X-window-based postscript file >> viewer that runs under SunOS (prefered), HPUX, or IBM AIX.  >If you are running Sun OpenWindows, you can use "pageview".  This is an >X Window PostScript previewer like "ghostview", but displays much nicer  Yes, but it's broken on OW 2.0.  It does not handle multiple pages well.  If you don't have the proper PostScript commands it will draw the entire document on the same page instead of pausing after each page.  I haven't tried OW 3.0 yet, though.
> If anyone has any information about the existence or location of a > dedicated X server kernel for the Sun3, please send email.  I am > trying to put some neglected Sun3s to good use but they don't have > enough memory for SunOS 4.1.1.  Thanks in advance for any help.  	There is a free program called 'xkernel' which does just that. It is by Seth Robertson (seth@ctr.columbia.edu).  It takes a sun 3 and boots a limited kernel which allows you to run X.  We converted 4 machines over this semester and the speedup is enormously appreciable -- I find them faster than an NCD 15inch black&white XTerminal that we are playing with, and a bigger screen to boot!  As a matter of fact, the department just bought some old sun3s at an auction to convert!  } Xkernel is available for anonymous ftp from ftp.ctr.columbia.edu } [128.59.64.40] in /Xkernel/Xkernel.shar (/Xkernel is a symlink to the } latest version of Xkernel)  	Note that the compiled version which is available is for the sun 3/50, but compiling to work for a sun 3/1xx should be quite easy.  	I am not connected with xkernel except as a satisfied installer and user 8).  I may be able to answer questions; feel free to email me.
Hi,  I have an application which draws graphs, bar charts etc. I need to include print support for these from within my application i.e. a user can print the graphs from within the applictaion by clicking on a print button. I am  not sure if I can invoke xwd & xpr from within my application and specify the window id to get my window dump and then send this file for printing or  if there are other ways of doing this. I would appreciate any help in this  regard. Thanx.  	- Mahendra.  PS : Please mail your replies to me as I am not a regular reader of this  news group. I will post a summary if there is sufficient interest.  --
In article <1snoqoINNdh@darkstar.UCSC.EDU>, philb@cats.ucsc.edu (Philip Brown) writes: >  >  > I'd like to know if there is any ***_FREE_*** fax software for Xwindows > that I can use. > I have a sun 4/110 running mit X11R5. > I checked the export.lcs.mit.edu list, and there didn't seem to be > anything there. >  > --  >   -------------------------------------------------------------------- > "Tea: a Noxious brew of various oriental leaves, containing toxic acids. > Personally, I rather like it." (paraprhased from Dr. Who: Peter Davidson) > philb@cats.ucsc.edu   philb@soda.berkeley.edu  check prep.ai.mit.edu.  It's called fax-3.2.1.tar.Z or something to that effect and is the software for netfax. Be forewarned that it requires (at the moment) a fairly costly $450 fax modem with certain capabilities to use it.
On export.lcs.mit.edu directory contrib, and avahi.inria.fr directory pub/xpm: xpm-3.2f-to-3.2g.patch.Z xpm-3.2g.tar.Z  /* Copyright 1990-93 GROUPE BULL -- See license conditions in file COPYRIGHT */ /**************************************************************************\ * 									   * *  			HISTORY of user-visible changes			   * * 									   * \**************************************************************************/  3.2g	(93/04/26)      ENHANCEMENTS: 	- much faster close colors 	- piping from/to compressed files now handles GNU's gzip (.z)  format 	- added XpmColorKey attribute - ability to specify which visual's 	  colors to use (ie: now it's possible to read in a pixmap in a 	  color visual, but use the colors specified for monochrome). 	- added -mono, -grey4, -grey and -color options to sxpm to demonstrate 	  the XpmColorKey attribute. 		- Jason Patterson <jasonp@fitmail.qut.edu.au>      BUGS CORRECTED: 	- fixed bug where redefining "None" as a pixel stopped mask generation 	- minor SVR4 defines for <string.h> 	- fixed annoying closecolor bug related to read/write color cells 	- fixed minor bug in color value -> pixel overloading 	- manual updated to include new red/green/blue closeness attributes 		- Jason Patterson <jasonp@fitmail.qut.edu.au>  	- the top Imakefile was missing the depend target 	- sxpm/Imakefile fixed so that -L../lib is set before the standard 	  library location. 		- Vivek Khera <khera@cs.duke.edu>  	- lib/xpmP.h now defines bcopy as memcpy for VMS (required by recent 	  versions of VMS) 		- J. Daniel Smith <dsmith@ann-arbor.applicon.slb.com>  	- the lib/Imakefile didn't work with X11R4.
We have a program written with X11R5 and Motif 1.2.1.  It runs fine on the Sun X11R5 server and MacX.  When that program is run under the Sparc 2 and the OW server, the program crashed itself along with the server.  It crashed before the first window had showed up.  I got the following error from X. XIO:  fatal IO error 32 (Broken pipe) on X server "perot:0.0"       after 62 requests (59 known processed) with 0 events remaining.       The connection was probably broken by a server shutdown or KillClient.  I have run the program with xmon and below is the last twenty lines or so from xmon before both the program and server crashed.             ............REQUEST: GetProperty                         delete: False                         window: WIN 00900001                       property: ATM 00000074                           type: ATM 00000074                    long-offset: 00000000                                         ..............REPLY: GetProperty                                                      format: 00                                                        type: <NONE>                                                 bytes-after: 00000000            ............REQUEST: GetInputFocus                                         ..............REPLY: GetInputFocus                                                   revert-to: Parent                                                       focus: WIN 0040000d            ............REQUEST: ChangeProperty                           mode: Replace                         window: WIN 00900001                       property: ATM 00000074                           type: ATM 00000074                         format: 08                           data: 42 00 00 01 00 00 00 10 00 00 00 75 00 00 00 00             ............REQUEST: GetInputFocus  Please email to me if you have any idea of the above problem. Thanks in advance.
Has anyone built Xkernel for 3/80's?  It works great on our 3/50s, and I  would just as soon kiss the entire Sun 3 architeture goodbye (and reclaim  a bunch of disk space).  Email me direct, I'll post a summary.
Can anybody tell me anything about the availibility of non-Roman fonts for X-Windows? Especially Unicode and/or han idiographic fonts.  Also, how about conversion tools for getting PC/Macintosh fonts into a format suitable for X? I would assume it is not too difficult for bitmap fonts.  The FAQ's for this group and comp.fonts are not very helpful on these questions.
I'm a Solaris 2.1 user with a classic workstation.  I have compiled xfig 2.1.7 version with -DOPENWIN flag to use it with  openwindows, but when i run it, the program runs and runs and runs (15 minutes) and never is ready to work with it. The labels are not completed and i can't push any button.  I have no problem if i does not run the openwindows but X.  Any solution?  Thanks in advance and excuse for my english. --   ------------------------------- Pedro Antonio Acebes Bayon E-mail: pacebes@cozuelos.tid.es
In a prior article masc0442@ucsnews.sdsu.edu (Todd Greene) said:    > Is there an Xt call to give me my application context?  > I am fixing up an X/Motif program, and am trying to use XtAppAddTimeOut,  > whose first argument is the app_context.  What call can I use  > to give me this value?   	XtAppContext XtWidgetToApplicationContext(Widget)
These are two common subjects so I hope someone has had to deal with these specific questions.  1.  If my application depends on modifiers, what is the best lookup method? My choices are to call XGetModifierMapping() for each key press with a  modifier, or make the call once at the init of the app and store the modifiers in a lookup table.  I would like to do it the second way, but I can't seem to get the notify when the user uses xmodmap to remap the modifiers.  I know that when an app calls XSetModifierMapping() a MappingNotify event is generated (non-maskable) which I can pick up and modify my internal table.  But, I don't seem to get any notify events when the user uses xmodmap.  If I use Xt, all  O'Reilly has to say is '...is automatically handled by Xt...'.  If I use Xlib, ala XNextEvent(), I get nothing.  This all stems from problems with users of  the Sun 4/5 keyboard and the NumLock; plus various Alt/Meta/etc. modifier  requirements.  2.  I would like to place a popup so that it will be to the immediate right of my main window.  I want it at the same y coord, and their right/left sides touching.  What I need to ask for is the x,y coord of the window  manager's border for the main window.  This should ring a bell with anyone who has called XtMoveWidget(), immediately checking the x,y after the move and seeing that it is right, and in their next callback asking for the x,y and seeing that it is now offset by the WM border.  Any help would be most appreciated.
Xcursor version 4.1 is now on export as xcursor4.1.tar.Z. I've added  a new option to determine if a requested cursor size is OK. Of course, your server may lie!
/* Apologies for those who have read this before but no-one has solved this */ /* one yet so I'm posting again! Sorry :-)                                  */  I'm having problems creating a cursor bigger than 64x64, I'm using Motif 1.1 X11R4 running HP-UX 8.07 - all the functions return valid results but no cursor appears when the bitmap is bigger than the aforementioned size. I tried  using the following code:  unsigned int w,h; XQueryBestCursor(XtDisplay(programArea), XtWindow(programArea), 72, 71, &w, &h);  to return the nearest size to what I require however it returns 72 and 71 as the width and height respectively. What am I doing wrong? and if not how can I get round the problem!!
ld: Unidentified external symbol    _get_wmShellWidgetclass    _get_applicationshellwidgetclass    I use -lXaw -lXmu -lXext -lX11 -lXt not in this order but in a proper order  I am wondering if there has to be some changes in my link libraries or should i include some more libraries.  ANy help in this matter will be very useful and highly appreciated
I need to know where I can get a FAQ on Xwindows for MS-DOS machines. The usual FAQ just gave me a name of a file called XServers-NonUNIX.txt.Z. which I cannot find anywhere.
I want to do the equivalent of an "xwininfo -name" via a call or set of calls in Xlib.  I need to map a windows name to its id. It's probably easy, but I've only been programming in X for a little while. I've looked in the O'reilly books and didn't find it and I also checked the FAQ and couldn't find it.  Email to one of the following addresses and I'll post a response if it seems reasonable to do so.   Guy
Briefly, StarNet Communications has four PC X server packages.  	Micro X-lite		$ 75.00 		Includes integrated tcp/ip, runs in 640KB, no arcs().  	Micro X-enlite		$150.00 		Includes integrated tcp/ip, runs under DOS, shape extension 		   "     interface to Novell tcp/ip  	Micro X-DOS		$345.00		($225 ea. in a 5-pack) 		Includes integrated tcp/ip, runs under DOS, shape extension 		   "     interface to Novell tcp/ip, FTP's PC/TCP, & PC-NFS.  	Micro X-WIN		$425.00		($300 ea. in a 5-pack) 		Includes Lanera TCPOpen tcp/ip stack & utilities 		   "     interface to FTP's PC/TCP, Sun's PC-NFS, & WinSock.  For more information contact: ---------------------------------------------------------------- StarNet Communications		FAX:	   1-408-739-0936 3073 Lawrence Expressway	Voice:	   1-408-739-0881 Santa Clara, Ca.  95051		E-mail     microx@starnet.com
hess@swt1.informatik.uni-hamburg.de writes:  >> I wonder if it is possible for a parent window to paint over the area of >> its childs. If it is not, then how could it be possible to implement a  >> rubberband across multiple xwindows to select the objects that are >> displayed one in each window?  Use a GC with the subwindow_mode attribute set to IncludeInferiors. The default is ClipByChildren. However, beware if any of the children are of a different depth to the parent; the semantics of this are undefined by the protocol.
Hi  Can someone please give me some pointers to setting up imake in a SUN OPENWINDOWS enviornment ? I've checked through all the documentation but can not find any clues.  Please respons via e-mail.....  Thanks  Paul
In article <lu1oftINNnfk@cascais.cs.utexas.edu>, sirosh@cs.utexas.edu (Joseph Sirosh) writes: |> Most graphics systems I have seen have drawing routines that also specify |> a color for drawing, like |>  |> Drawpoint(x,y,color) or Drawline(x1,y1,x2,y2,color) or |> Fillrectangle(x1,y1,x2,y2,color)  |>  |> With X, I have to do something like  |> XSetForeground(current_color) |> XDrawPoint(d,w,x,y) |>  |> Why split this into two functions? Why did X designers decide to not associate |> the color with the object being drawn, and instead associate it with the |> display it is being drawn on?  For flexibility. Anyway, what you say is not really true. The color information is associated with a GraphicsContext, not with a display, and the GC _IS_ a parameter to the drawing routines.  So, if you need to fast switch between green dotted lines and blue ones of width 2, you can make 2 GCs for those cases and then simply do  XDrawLine(dpy,win,gc_red,x1,y1,x2,y2); XDrawLine(dpy,win,gc_blue,x3,y3,x4,y4);  for this effect.  This is eventually more complicated to do for the programmer, but also much more efficient and flexible. You would not include all the other parameters like line pattern, with, cap and joinstyle, drawmode and so on in every drawing call, so why do it for color ? BTW, stay away from XDrawPoint() if you don't really need it (to draw RANDOM points), for image transfers there are Image routines.
Hi folks, ] Does anybody know for a good 32-bit C++/C compiler for OS/2 that supports OS/2 API and Microsoft windows (maybe Windows NT)?  thanx
In article <1993Apr21.111919.5281@alf.uib.no> singg@alf.uib.no (Kurt George Gjerde) writes:     In article <1993Apr19.191531.15865@news.media.mit.edu>, dyoung@media.mit.edu (David Young) writes:       :      :     |>    XSetFunction( myDisplay, gc, GXxor);    |>    XSetForeground( myDisplay, gc, drawIndex);    |>     |> Then to draw I do:    |>     |>    XDrawLine( myDisplay, XtWindow( drawingArea1), gc, x1, y1, x2, y2);    |>    XFlush( myDisplay);    |>     |> And when I'm all done, to return things to normal I do:    |>     |>    XSetFunction( myDisplay, gc, GXcopy);    |>     |>     |> What I'd like to happen is for the lines I draw to be the inverse of    |> whatever I'm drawing over.  Instead what happens is I get white lines.  If    |> the lines are over a white background - nothing shows up.  If the lines are    |> over a black area - nothing shows up!  It's very strange.  But the GXxor    |> function seems right - since if I do a rubber-banding box, it erases and    |> redraws itself correctly (ie. not disturbing the underlying image).    |>     |> Any suggestions what I'm doing wrong?    |>     |> david         Try change the GXxor to GXequiv.  I have to do this for programs that       are to run on NCD terminals (on Sun terminals I have to change it       back to GXxor)...  There is a small section in the O'Reilly Xlib books that describes the right thing to do.  The key is to set the plane_mask in the GC to the OR of the foreground and background pixel values.
We have a Sun 3/80 and we have just acquired a cg8 frame buffer card.  The cg8 is supposed to support both a 24-bit color visual and a monochrome visual. The default visual for the xnews server is the monochrome, and we are unable to change it to the 24-bit visual. We have tried using XGetVisualInfo to get a visual of depth 24, but had no success.  xdpyinfo gives no information about a 24-bit deep visual, only monochrome.   There are two possible solutions: 	If someone has patches for X11R5 Xsun server, could they forward them to us?  	Otherwise, could someone instruct us how to access the 24-bit color in openwindows?