waashk/20ng huggingface dataset:
In article <1993May13.212121.29048@colorado.edu>, hoswell@alumni.cs.colorado.edu (Mike Hoswell) writes: |>  |> I'm quite familiar with a variety of window title *setting* methods. |>  |> My question is...  Is there any way (via Resources, etc) to stop an |> application's ability to re-name it's own Name / IconName properties? |>   Sorry, that's a feature.  The ICCCM specifies how the app should set its title, so the wm is obliged to do it.  If this bothers you, complain to the app writer.  |> ...who cares if it's not 'nice' to the application - |>  |> 	I WANT CONTROL! ;-) |>   Write your own wm that doesn't support the ICCCM.  Or write an program that you give a window ID and a title.  The your program can set the windows title for the app and then if the app changes it, your program switches it back again.  |> -Mike |>  |> --  |> Mike Hoswell - hoswell@ncar.ucar.edu |   Never Stop! / toasted - Bagels    | |> Climate and Global Dynamics          | Disclaimer: I represent myself only | |> NCAR, PO Box 3000, Boulder CO, 80307 +----------------+--------------------+ |>   ...So I've got that going for me --- Which is nice. |   Think Clearly.   |
In article <gordons.737161050@mon> gordons@mon.sps.mot.com (Gordon Sasamori) writes: <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.  OW 3.0 is the same.  But, the definition of broken is relative.  Pageview requires DSC compliant PostScript files, in order to stop at page breaks. I don't consider that broken.  I say that any program that puts out a PostScript file that isn't DSC compliant is broken.
Will there be no chance to get the Author of this _REALLY_ superb program to remove the 'institutional' point in his license statement ? Or at least to say 'except educational ones' at this ?  I understand that use of this software by either commercial or governmental users should be result in a donation to its creator, but the everytime rare on money universities, schools or whatever else institutions should not be restricted.  If the situation stays as is and the Author explicitely states that he treats universities and schools as institutions in this context, i'll have to fallback to xv 2.21 here. Maybe our disk capacity will soon be dead, when every user has a copy of xv-3.00 in his home dir...
I'm trying to make a 24 bit window using XCreateWindow on a 8 bit PseudoColor server. As far as I know this should be possible if you server supports a TrueColor or DirectColor visual. I'm using a Sun IPC with a RasterFLEX card.  Running xdpyinfo gives: ... screen #0:   dimensions:    1152x900 pixels (352x275 millimeters)   resolution:    83x83 dots per inch   depths (4):    1, 5, 8, 24   root window id:    0x80083   depth of root window:    8 planes   number of colormaps:    minimum 1, maximum 6   default colormap:    0x80080 ...   number of visuals:    8   default visual id:  0x80079 ...   visual:     visual id:    0x80079     class:    PseudoColor     depth:    8 planes     size of colormap:    256 entries     red, green, blue masks:    0x0, 0x0, 0x0     significant bits in color specification:    8 bits   visual:     visual id:    0x8007a     class:    TrueColor     depth:    24 planes     size of colormap:    256 entries     red, green, blue masks:    0xff, 0xff00, 0xff0000     significant bits in color specification:    8 bits   visual:     visual id:    0x8007b     class:    DirectColor     depth:    24 planes     size of colormap:    256 entries     red, green, blue masks:    0xff, 0xff00, 0xff0000     significant bits in color specification:    8 bits   My code looks like this:  if ((Xio.DspPtr = XOpenDisplay(NULL)) == NULL)     logexit(1, "Cannot connect to X server %s", XDisplayName(NULL));  Xio.Scr = DefaultScreen(Xio.DspPtr);   /* use this screen                 */  if (XMatchVisualInfo(Xio.DspPtr, Xio.Scr, 24, 		     DirectColor, &Xtern.ColorInfo)) {    memset(&SetWinAttrib, 0, sizeof(XSetWindowAttributes));    Xio.GSwin = XCreateWindow(Xio.DspPtr, RootWindow(Xio.DspPtr, Xio.Scr), 			     x, y, w, h, 0, 24, InputOutput, 			     Xtern.ColorInfo, 0, &SetWinAttrib); }   This results in a BadMatch error. Can anyone please tell me why ?   ------------------------------------------------------------------------------ | Henrik Winther Nielsen                                     CCCCCCC  II   | Basic Development                                         CC  CCCC       | CCI Europe                   Mail:  hwn@cci.dk            CC CC     II   | Oester Parkvej 9             Phone: 86295588 (361)        CC  CCCC  II   | DK-8270 Hoejbjerg                                          CCCCCCC  II   | Denmark                                                    e u r o p e
Hi there  (I posted this to comp.windows.x.intrinsics but got no response, so I'm posting here.)  I'm wanting to connect a digitiser made for PCs into my workstation (an HP 720). It is my understanding the X windows can understand a variety of input devices including digitiser tablets.  However, this digitiser makes use of the serial port, so there would seem to be a need to have a special device driver.  The HP manual pages say that the HP X server will accept X input from devices listed in the /usr/lib/X11/X*devices file (* = display number). I shouldn't think I would be able to simply insert /dev/rs232c as an input device in this file and expect a digitiser to work.  But maybe I'm wrong.  Am I?  What I would like to know is: does anybody out there have a digitiser connected to their workstation for use as a pointer for X (rather than just as input to a specific X application)?  If so, what were the steps required for installation? Did you need a special device driver?  Did the manufacturer supply it?  Are there generic public domain device drivers around?  (I understand that digitisers generally use only a couple of standard formats.)  Any help would be greatly appreciated.  Cheers - Vaughan
In article <1993Apr8.200441.9423@jwminhh.hanse.de>, wieck@jwminhh.hanse.de (Jan Wieck) writes: |> mbheprg@PROBLEM_WITH_INEWS_GATEWAY_FILE (Raju Gurung) writes: |> : Jeff Haferman (haferman@icaen.uiowa.edu) wrote: |> : > Can somebody point me to source code for dumping the contents of |> : > an X-window into a color postscript file?  I have written |> : > an app which brings up an X-window, and I want (at the click |> : > of the mouse) to dump the window into a postscript file. |> : |> : |> : |> : I use xwd and xwd2ps. To do it from within a program I use |> : xwd -id xxxxx where xxxxx is the window id obtained from XtWindow(widget). |>  |>     He asked for sources. |>  |>     The   portable    bitmap    tools    from    Jef    Poskanzer |>     <jef@well.sf.ca.us>  include  filters  to  do  that (and much |>     more). |>   BTW, the X11 tools come as sources. The sillyness of most vendors lets you stuck with binaries.  Anyway, have a look onto xgrab/xgrabsc. It does the IMHO best job for this, including compression.
I need help positioning the slider of a List widget's horizontal scrollbar.  I am displaying the full path of a selected file in a list widget.  The horizontal's slider defaults to the left side of the list widget; however, I need the slider on the right side.  This is so the user can SEE the file name they selected.  I know it's possible, because when files are displayed in a file selection dialog box, the slider is on the right side.  Thanking any and all who can help in advance, Rodney F. Clay
Greetings,   I need some help with the detail of geometry specification.  I have a program that uses Xlib to create a simple window.  I tried to hard code the x,y location in XCreateWindow but it didn't work.  I also tried XSetStandardProperties, XSetWMHints with no luck.  Could somebody enlighten me on this subject.  Hans.
In article <C5IFJ0.F2u@csn.org> doomer@teal.csn.org (John Dumais) writes: >I've been trying to figure a way to programmatically iconize  >an application running under a Motif window manager.  I have tried >several approaches includeing sending events to the application's >border window, but to no avail?  Anyone done this before?  I tend to use XIconifyWindow to achieve this effect...  Have you tried that?  - Brad
I need to port several OS/2 PM applications to X (OpenWindows or Motif), and desperately need any information on how to go about doing this (short of a complete rewrite.   Are there any tool to make porting easer? Any References? Any talent out there to hire to do this? I will even take an OS/2 Presentation Mgr emulator for sun!   Any, and all replies (except flames) welcome!     Brian Colaric
cfl@buc.edu.au (Colin Linahan) writes:  >Hi, >	Sorry if this is a FAQ but : could someone please tell me where I  >can get the patch(es) for X11R5 so that I can compile it under Solaris2.1  export.lcs.mit.edu:/contrib/R5.SunOS5.patch.tar.Z  Get Xsun.multi-screen.tar.Z while you're at it.
We've developed a number of applications using DevGuide and found it to  be a very useful tool. I've been impressed with the level of integration it affords using the connection editor. I love the general ease of use.    I talked with Tali Aben at Sun today about DevGuide + Motif. She was very helpful. We provided some input as to what we'd like to see in the next version of DevGuide. Tali was very enthusiatic about our comments. I mentioned I was going to post this email message and she offered to receive additional comments from the net on what DevGuide should evolve into.     Send your comments/wish-list, raving, et. al. about DevGuide to:    Tali.Aben@Sun.COM    Pretty cool example of a company that cares what we want.... More of this and computers may have a future.   Frankly, I like the idea that it will offer some migration capability to DOE/DOMF through an integrated ToolTalk capability, pointed out in March's  SunExpert magazine.
I've found that I have to add the "-8" option for displaying JPEGs with the new version.  For some reason, if I don't, it goes into 24-bit mode and the resulting image is displayed with 216 colors  (from a 6x6x6 array) instead of 256 and looks grainier.  Since I'm on the ubiquitous 8-bit pseudo color display I would have thought it could tell that.
In article 28858@cas.org, lwv26@cas.org (Larry W. Virden) writes: >In article <0frolV200awVI3IV4s@andrew.cmu.edu> "Derrick J. Brashear" <db74+@andrew.cmu.edu> writes: >: >:I got the following today from Gary Risebrough and it worked fine: >: >:Excerpts from mail: 29-Apr-93 Re: ol{v}wm 3 virtual keybo.. >:ITO2@aodc.gov.au (554) >: > >:> I have : >:> > OpenWindows.KeyboardCommands:   Full >:> > OpenWindows.VirtualGrabKeys :   False >: >:> which seems to work. >: > >Where can I find man pages about VirtualGrabKeys resource - it doesn't >show up in my OpenWindows 3.0 man pages...  VirtualGrabKeys is not an OW resource. It belongs to olvwm(1).
I have a peculiar color problem with MacX, Apple's Macintosh X server. I'd like to know if others have seen the same problem. It's happened with the current version (1.2), and with version 1.1.7. When some types of client windows are displayed, parts of the windows are in the wrong color; if the window is moved slightly, forcing the server to repaint it, it is repainted in the correct colors. It doesn't happen for xterm windows, but has happened for graphic windows and with some Motif clients. --
This may be an FAQ, but I dont know where to get the FAQ list! My OpenLook application has a few buttons. The first button turns red(gets highlighted?) as soon as the sprite(mouse) is moved into the application window. How do I suppress this?
claes@polaris (Heinz-Josef Claes) writes: >I have a Sparc[12] with a german type 4 keyboard. >Has anybody a Patch for X11R5?   export.lcs.mit.edu:/pub/sunkbd..930314.tar.Z  	/MaF
I need some help in tracking down a dvi viewer for X. I have xdvi but we have not got the X libraries and includes installed- so  		i) is there a way around this, as we are trying to avoid 		   installing the stuff (space is at a premium). 		ii)would someone be prepared to make the binaries 		   available. We have a HP700 and a HP382.
In article <735259869.13021@minster.york.ac.uk>, cjhs@minster.york.ac.uk writes: > The application creates window with a button "Quit" and "Press me". > The button "Press me" pops up a dialog box. The strange feature of > this program is that it always pops up the dialog box much faster the > first time. If I try to pop it up a 2nd time (3rd, 4th .... time),  > it is *much* slower.  The shell is waiting for the window-manager to respond to its positioning request.  The window-manager is not responding because it thinks the window is already in the right place.  Exactly *why* the two components get into this sulk is unclear to me; all information greatly received.
I am wondering how to change the English fonts in an existed  API to some multi-bytes fonts ? (such as Chinese, Japanese...) Someone told me X11R5 supports some internationalization features, but I cannot find any examples for my need. Is there anybody has done some similar jobs ?  By the way, all the English fonts should be replace by Chinese or Japanese fonts, that means in windows, menubar, button....  That will be great if someone can share us what you have done. Thanks in advance.
I am looking for a package that implements standard image processing functions (reading/writing from standard formats), clipping, zoom, etc. implemented under X. Both public domain and private packages are of interest. The particular application area I have in mind is medical imaging, but a package meant for a more general context would be acceptable.  Please reply to me; I will summarize on the net if there is general interest.
i read about the code you can put in to most applications so that the virtual desktop stuff in tvtwm doesn't confuse them (or is the application confusing the virtual-ness? [chicken & the egg?]  but wanted to see if it has been applied to a version of xroach  i never could quite get ssetroot to work either? any suggestions. luckily xv -root -quit does the trick for the most part  also, i'ld be quite interested in hearing more about the icon region for each virtual window under tvtwm that i read a thread on last week here 	thanx, 		fish
After having OpenWindows  (Version 3 for SunOS 4.1) or Xwindows running continuously on my machine for 3-4 days, the following message appears  when trying to open a new window, or to run any program that needs to open windows.  XView error: Cannot open connection to window server: :0.0 (Server package)  I would greatly appreciate any suggestions to solve this problem.
In article <1roouu$gdj@tuegate.tue.nl> lennart@blade.stack.urc.tue.nl (Lennart Benschop) writes: > >I am looking for a  program to draw various kinds of diagrams on my Linux >system. > >- It must be free. >- It must run on standard (monochrome) X with a small screen size (800x600) >  No motif/openlook etc. >- It must compile under Linux with gcc/g++. Most generic unix software >  works ok. >- It must produce postscript files that I can include into LaTeX documents >  with dvips. Or just tell me another free program that converts one >  of the supported formats to ps. >- It must produce drawings that are larger than the window size (scrollable). > >I know of several such programs, idraw, xfig. tgif. I have >no experience with any of them. Features I would like in the programs are. > >- ability to draw circles, arcs, straight lines, boxes and arrows. >- support for both dashed and solid line styles for all of these objects. >- support for texts in any size. >- ability to move/copy/resize/rotate any part of the drawing. >- ability to turn any part of the drawing into a library component >  (e.g. a transistor symbol composed of three lines, an arrow and a circle) >- any aid (numeric coordinates, screen grid) to align parts of the drawing. >- less essential, but in fact very handy: preservation of connection. >  If I move one part of the drawing, the lines that connect that part to the >  rest of the drawing, stay connected. > >Ideally I want the tool so general and flexible that it is comfortable to >draw electronic schematics, flow charts, logic diagrams, data flow diagrams >and block diagrams with it.  > >I just want to know which of the programs offer which of the features on my >whishlist and are there any other programs? How demanding are the programs >with respect to disk space, memory and CPU usage? Are any of the programs >known to work on Linux with monochrome X?  In the list you mentioned, tgif handles everything except rotation and any size text.  It only supports 90 degrees rotation.  Currently, it supports 11 (X11R4 standard) font sizes.  However, it allows arbitrary scaling of the entire drawing.  Effectively, it allows any font sizes, but you can only have 11 different sizes per drawing.  Tgif takes up 850K (compiled with -O option) on a SPARCstation.  I was told that it compiles under Linux, but I haven't tried it yet.  It works with both color and monochrome X.
Can anybody tell me if they know where I can obtain the source code for a polygon filling algorithm, or any other graphics orientated mailing lists that may be able to help me.  Thanks, Paul. --  ----------------------------------------------------------------------------- | Paul Jaques                                                               | | Systems Engineer, Camborne School of Mines,                               | |                   Rosemanowes, Herniss, Penryn, Cornwall.                 | | E-Mail: pjaques@csm.ac.uk Tel: Stithians (0209) 860141 Fax: (0209) 861013 |
zvi@nynexst.com (Zvi Guter) writes: >The author of Wcl (or the current care taker). His is the only name I found >in the dist tree. I have tried to mail him at: David.Smyth@ap.mchp.sni.de, >but the mail bounced back.  Here I am!!  ------------------------------------------------------------------------- David Smyth				david@jpl-devvax.jpl.nasa.gov Senior Software Engineer,		(818)306-6463 (temp! do NOT use v-mail) X and Object Guru.			tempory office: 525/B70 Jet Propulsion Lab, M/S 525-3660 4800 Oak Grove Drive, Pasadena, CA 91109 -------------------------------------------------------------------------   What's the earliest possible date you can't prove it won't be done by? 					- Tom DeMarco
Hello--  I'm currently designing the architecture of a chip which is intended to help speed up common operations on a windowing system such as X.  A friend and I are designing the chip as the final course project for an advanced computer architecture course taught by Dr. Fred Brooks at UNC-Chapel Hill.  While we feel that we've got a pretty solid design currently, we'd really like to get ahold of some frequency data from an X-Windows server so that we can make the most effective use of our bit budget.    Unfortunately, I've been unable to find anything of this sort in the various X FAQs, or X manuals that I've seen.  Does anyone have some type of frequency data, like how many Copy-rectangle operations vs draw-lines, and things of that sort?  Or, barring that, a program that records requests to the server into a logfile that I can munge on myself?  Any and all help would be very appreciated.  Many thanks,     ---Mark
You can also set the Foreground to the XOR of the foreground and background colors:  XSetForeground(..., fg ^ bg);    This works great for me (at least with TrueColor visuals).
--  Hi netland,  I thought that I once read about the existance of a virtual mwm like vtwm. On the usual ftp sites (gatakeeper.dec.com, export.lcs.mit.edu) I can't find any trace of this program. Could anybody give me a hint where to find this program or confirm/deny the existance of this program.  Regards,
Hi! I've just installed the new XArchie 2.0.1 and it all works fine, except:  on our grayscale xterm the custom icons compiled into the program don't work at all, but on the BW terminal it works fine. I can set the icon to an xbm file with .twmrc, but that doesn't give the neat-o change when busy action. (Other programs with similar actions, e.g. xmail, xbiff, work fine.)  The X-interface author, George Ferguson, suggests it might be a problem with the X intrinsics, but isn't willing to hack around to fix it himself. But I know zero about X programming, so I don't think I can find it.   Does anyone out there know an obvious fix for the problem?  Andrew
Hi, 	Iam looking for information on any work that deals with real-time support in X-windows????!! 	Would be happy if you could provide any pointers or information thanks Lakshman lakshman@ms.uky.edu
In article <BADING.93Apr21134939@athene.cs.tu-berlin.de>, bading@cs.tu-berlin.de (Tobias 'Doping' Bading) writes: |>  |> try this after XCreateWindow: |> ----------------------------- |>  |> #include <X11/Xutil.h> |>  |> Display display; |> Window window; |>  |> { |>   XSizeHints *xsizehints = XAllocSizeHints (); |>   xsizehints->flags = USPosition | USSize;	/* or = PPosition | PSize */ |>   xsizehints->x = 42; |>   xsizehints->y = 42; |>   xsizehints->width = 100; |>   xsizehints->height = 100; |>   XSetWMNormalHints (display, window, xsizehints); |>   XFree (xsizehints); |> } |>  |> These hints tell the window manager that the position and size of the window |> are specified by the users and that the window manager should accept these |> values. If you use xsizehints->flags = PPosition | PSize, this tells the window |> manager that the values are prefered values of the program, not the user. |> I don't know a window manager that doesn't place the window like you prefer if |> you specify the position and size like above.   You are right but PLEASE DON'T DO THIS.  It makes my brain hurt. USPosition and USSize should ONLY be set if the USER specified the position and size.  You say: "Tom, don't blow a gasket, what's the harm?"  Some window managers do very different things (besides positioning the window) when they see USPosition rather than PPosition.
Well, I'm glad that there's plenty of NT stuff at Xhibition. Not because I want to use it instead of X, but because I want to  find out what the chances are that some time in the future I may  not have any choice.