waashk/20ng huggingface dataset:
Does anyone know what is available in terms of automated testing of X/Motif applications. I am thinking of a system which I could program (or which could record events/output) with our verification test procedures and then run/rerun each time we do regression testing. I am interested in a product like this for our UNIX projects and for a separate project which will be using OpenVMS.
Any Tcpview-for-Sun users out there?  I pulled down the pre-compiled executables made for Sun for Tcpview, but I'm getting a whole slew of the following types of error messages when I try to start it up:   Warning: translation table syntax error: Unknown keysym name: osfActivate   Warning: ... found while parsing '<Key>osfActivate:ManagerParentActivate()'   Warning: translation table syntax error: Unknown keysym name: osfCancel   Warning: ... found while parsing '<Key>osfCancel:ManagerParentCancel()'   Warning: translation table syntax error: Unknown keysym name: osfSelect   Warning: ... found while parsing '<Key>osfSelect:ManagerGadgetSelect()'   ... But I *know* I have those in my keysym:   egrep "osfActivate|osfCancel|osfSelect" $OPENWINHOME/lib/XKeysymDB yields:   osfActivate             :1004FF44   osfSelect               :1004FF60   osfCancel               :1004FF69   osfSelectAll            :1004FF71 and, if I take *out* the osf lines from said XKeysymDB, my copy of wscrawl (another Motif-compiled-for-Sun program) gives the same type of complaints as listed above.  Any tips?  I'm mystified.
I have a program produces a continuous tone by calling XBell repeatedly at an interval equal to the duration of the bell. If it is run more than once on a display, the tones are buffered in the X server and the tone contunues after all occurrences of the program have exited. Is there a convenient way of preventing this, e.g., by emptying the X server bell buffer when each program exits? - Disclaimer: Please note that the above is a personal view and should not    be construed as an official comment from the JET project.
In article <27808.9304211039@scorpion.dps.co.uk>, gerard@dps.co.UK (Gerard O'Driscoll) writes: |>  |> pyeatt@Texaco.com writes: |>  |> >> There is a widget already defined for GL.  It is the GlxMDraw (motif) or |> >> GlxDraw (athena) widget.  It is similar to a XmDrawingArea, except that it |> >> allows you to use GL calls to render into the window.  Look at glxlink, |> >> glxunlink, glxgetconfig, and glxwinset in the man pages. |>  |> Where do I get hold of these widgets? |>  |>  	Gerard O'Driscoll (gerard.odriscoll@dps.co.uk) |>  	Du Pont Pixel Systems Ltd.  They come with every Iris now.  Nth also ships it with their latest version of Nth Portable GL.  I just got the update a couple of weeks ago.  I would assume that Silicon Graphics would license the source to you so that you can include it in your company's GL offering.
In article <1tbpi9INNfp3@early-bird.think.com> barmar@think.com (Barry Margolin) writes: >In article <1993May18.130845.6859@taylor.uucp> mark@taylor.uucp (Mark A. Davis) writes: >>You are stuck in a distributed system feedback loop!  What if you are on an >>Xterminal or running xterm over the net to another machine?  That is when the >>load problems occur.  If you had a machine with 20 Xterminals attached and >>they all had blinking cursors in xterm's, this could represent a considerable >>ethernet bandwidth waste. > >Ethernet certainly has enough bandwidth for a few blinking cursors.  My >Lisp Machine blinks the cursor twice a second and updates the time in the >status line every second.  This uses under 1K bytes/second, or about .1% of >the bandwidth of Ethernet.  A hundred of them on a single ethernet might be >a problem, but a couple dozen should be fine.  Bandwidth is unlikely to be the problem, except over a wet string network. One of major flaws of X is the horrendous number of transactions (and hence process switches) that it forces upon a host.  Actual measurements (hourly average) are 5 per second per logged in user, which can lead to 20-50 or more process switches (depending on whether each event is filtered by the window manager as well as the applications and how many processes are needed for each character.)  While a blinking cursor needs only the application and the networking process, and does not add any transactions, it will add something like 10 process switches per second per user.  This is a significant increase in overhead, especially as the application may have quite a large working set.  If you want a rapidly blinking cursor, there could be as many as 50.  If you want to go there, I wouldn't start from here!
Has anyone used DCE threads with an X Client? 	Is it possible to have one thread listening for incoming RPCs 	while another processes X Events? How do you set something 	like this up? 					_ Atul 					(apara@ctp.com)
In article <352@trident.datasys.swri.edu> mark@trident.datasys.swri.edu (Mark D. Collier) writes: >I am looking for GUI Builders/UIMS's which run in a VMS/OpenVMS >environment. I am interested in both Motif tools and GUI-independent >tools such as XVT. My client also requires that the tool has been >in production for at least 6 months in the VMS environment. Note >that I have the list of tools from the FAQ, but not the info on >VMS availability. > >Thanks  Take a look at TeleUSE, a complete UIMS from Alsys (formerly TeleSoft). In the US, you can reach them at (619) 457 2700.  Alsys have an VMS version of TeleUSE v2.0.5 for VMS V5.5 or higher, built using DECwindows Motif 1.0 (based on X11R4 and Motif v1.1.1).  BTW, the VMS port from the UNIX version was made at my company, and was released in November 1992.
Hi,  I've tried to get rid off XDM's ugly Login window by giving it a 'cool' backgroundPixmap ressource. As Login is derived from Core, this should be possible. Anyway, setting xlogin*backgroundPixmap:/a/b/c.xpm did not produce any message of the form 'cannot convert String to Pixmap' and explicitely registering such converter lead to nothing, too.  Any way to do it ?
Hi.  I'm wonderring if it is possible to replace a single module, as XKeybind.o in a shared library, as libX11.so in Suns OpenWindows. I tried to RTFM, but I didn't get any wiser that way. Also, can I do the same on an RS6000 machine running 3.2.2 (if it is possible at all). I know how to do it with real  libraries (ar). I am trying to replace XLookupString in the delivered libraries, with another that does a few special things.  /Per --
I remember seeing something in the X distribution mentioning support for a Tektronix terminal in an X server.  Is this accurate?  --  mike@hopper.acs.virginia.edu
Rather than write my own, can anyone direct me to a package that will let me create cascaded popup menus in X windows.  For reasons of portability, the package should  not rely on any X toolkit other than XLib and the XT Intrinsics.  Something written in C++ would be nice, too.
In article <1993May17.085405.7807@eua.ericsson.se> tvtjet@eua.ericsson.se (Jorgen Eriksson) writes:  	   Are there any widgets, function  	   librarys for drawing networks,  	   graphs etc ? (Not tree views)  	   Freeware, shareware, comercial... 	   Like this, for instance:  	   [ pretty picture deleted ]  	   * Just by giving the associations  	     between the nodes. Automatic 	     layout generation.  	   * It would be nice if any node  	     symbols could be used. Maybe  	     even to insert widgets as nodes.  	   * Using different line styles etc. 	     for describing associations.  Check out the XmGraph library in the following location:  	iworks.ecn.uiowa.edu:/comp.hp/GUI_classic/XmGraph.tar.Z.
In article <1993Apr26.123918.1@vxcrna.cern.ch>, roeber@vxcrna.cern.ch (Frederick Roeber) writes: > I'm writing an X server for some video-generation equipment.  The > hardware is "truecolor" in YUV space; in X terms it has a 24-bit > static color visual.  I would really like to have the server just > present this static visual, but I'm not sure if this will be  > acceptable to "most" X clients.  The three problems I see are: >  >   1) The colormap, though huge, is static. >   2) All pixels would be 3 bytes wide. >   3) Because the hardware actually lives in YUV space, the >      translation RGB->YUV will introduce some rounding error.  We tried to ship an X server once that only supported a 24bit TrueColor visual. The main problems we encountered were:  	1) Clients written with logic like the following:  	    if (DefaultDepth() != 1) 		/* Assume default depth is 8bit */  	   These clients need an 8bit deep visual in the root window 	   to run correctly.  	2) Other clients didn't even bother to do that much, and just 	   outright assumed they had a *dynamic* visual class, with a 	   dynamic colormap. XStoreColors doesn't work on cmaps 	   associated with Static or TrueColor visual classes, but 	   many clients don't bother to check, they just start 	   throwing XStoreColor calls at you.  Though both are clearly client error, this is the case with so many clients that it's easier for you to expose 8bit PseudoColor as a default root window visual, than it ever would be for all these client writers to change their clients to do the right thing. --
hi, > Hello, >  > 	I am admin for an RS/6000 running AIX 3.2, X11R5, Motif, and xdt3. > 	I want to prevent the user from hitting CNTL-ALT-BKSPC to exit X.  try DontZap in /usr/lib/X11/Xconfig  cu 	styx
Hi Xperts, some simple questions for you:  I've seen a lot of different terms, which seem to mean the same thing. Who can give an exact definition what these terms mean:  	-) multi-screen 	-) multi-headed 	-) multi-display 	-) X-Server zaphod mode  Is there a limit how many screens/displays a single server can handle (in an articel a read something about an upper limit of 12) ?  How is the capability called, if I want to move the cursor from one screen/display to another.  Any hints welcome.  Thanks, rainer.
I am looking of information regarding UIMX. I believe this is an application front end generator tool for Motif (among others). Whould someone given me a contact? I need to get hold of the programmers' guide, or something like it.
Is the virtual mouse simulation in ol{v}wm 3.x available under X11R5? I've been told I'm setting the right resource, yet it continues not to work. I'm running olvwm3.3 (or olwm 3) on a Sun 3, X11R5 pl 22.
In article <1993Apr29.102341.13820@comp.lancs.ac.uk> julian@comp.lancs.ac.uk (Julian G. Self) writes: >Wasn't the shareware fee a "suggestion" by John?  It's a request to personal users; it's a requirement for commercial, government, and institutional users.  Someone else asked whether the authors of the JPEG and TIFF software had given permission to incorporate their code into a commercial product.  I found the following in jpeg/README:      We specifically permit and encourage the use of this software as the     basis of commercial products, provided that all warranty or liability     claims are assumed by the product vendor.  and the following in tiff/Copyright:      Permission to use, copy, modify, distribute, and sell this software and     its documentation for any purpose is hereby granted without fee, ...  Looks like he's OK on that account. --  Barry Margolin System Manager, Thinking Machines Corp.
In article <1993May12.161857.29950@samba.oit.unc.edu> naoumov@physics.unc.edu (Sergei Naoumov) writes: >I run twm and would like to execute some program before leaving twm. In other >words I would like to run some program before I do f.quit. Is it possible >to make a menu section which would contain these two parts?  In your menu definition, put:      "Quit TWM" f.function "Execute and Quit"  Then define:  Function "Execute and Quit" {     !"some_program"     f.quit }  --  Barry Margolin System Manager, Thinking Machines Corp.
I don't seem to be able to get window positions reliably through the XView xv_get() function:     x = (int) xv_get(my_frame, XV_X);    y = (int) xv_get(my_frame, XV_Y);  For example, if I set XV_X & XV_Y to 50,50 the frame comes up in the correct position, with the top left corner (the size handle) at 50,50. xv_get() returns 50,50 as well. But later on xv_get() returns 5,25 without any intervening xv_set(my_frame, XV_?). My frame is fitted around a canvas, and it turns out (by measuring on the screen) that 5,25 is the position of the first pixel in my canvas relative to the frame's origin. What gives? Any help most appreciated!  Derek  P.S. On a related subject, is there any way of querying the window manager as to the thickness of borders it puts around frames, etc.?  ----------------------------------------------------------- | 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 |
Environment:       mach/arch : sparc/sun4  (IPX)       OS	: SunOS 4.1.3       X11	: X11R5 (patchlevel 22)       Motif	: 1.2.2  I bring up X server using 'startx' and /usr/bin/X11/Xsun. The following sequence of actions crashes the X server (SIGPIPE, errno=32, 'xinit' reports that connexion  to X server lost):     1. xinit -- Xsun    2. start mwm    3. start a client with a 100dpi/75dpi font.    4. move the window by dragging the title bar.  The server dumps core due to SIGPIPE. One of the two messages is printed:    "Connection to X server lost"  or      "Connection broken (errno=32)"  (I believe the first is reported by a client and the second by the server itself).  Next, I ran xdm in debug level = 5. After the same set of actions, xdm reports:    select returns -1   Server for :0 terminated unexpectedly: status 2560   Note:  * The problem doesn't occur with other window managers (twm or olwm).   * I have not set LD_LIBRARY_PATH.   * I am not running font server.   * If I start the client with fixed width font, I do not see this problem.  * My font path:      /usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/Speedo/,/usr/lib/X11/fonts/75dpi/,/usr/lib/X11/fonts/100dpi     (I did mkfontdir in /usr/lib/X11/fonts/100dpi, /usr/lib/X11/fonts/75dpi,    /usr/lib/X11/fonts/PEX, /usr/lib/X11/fonts/Speedo,    and in /usr/lib/X11/fonts/misc).   * This problem seems to occur only on IPX machines. I do not see this     problem on IPC workstations.  Questions:  * What the hell is goin on ? :-)  * What does "status 2560" mean (of the server).  I'd greatly appreciate any hints as to the cause of the problem.
# #I have a question regarding the processing of program arguments #such as the -geometry option. Since this is a standard X option,  #I'm wondering wether I have to parse it manually or whether there #is some predefined function that will do this for me? #  If you are using the Intrinsics, it is parsed for you.  If you are working at the Xlib level, you can parse it yourself or you can use the following bit of code.  static XrmOptionDescRec options[] = { 	{"-geometry",	".geometry",	XrmoptionSepArg, (XPointer)NULL} };  #define Number(x)	(sizeof(x)/sizeof(x[0])) XrmParseCommand(db, options, Number(options), "MyApplication", &argc, argv);  Then use XrmGetResource() to retrieve the value and parse it using XParseGeometry().  It is probably quicker to parse it yourself from argv, however, I much prefer using the X resource management routines to do this.  Patrick L. Mahan  --- TGV Window Washer ------------------------------- Mahan@TGV.COM ---------
Is it possible to get an xterm scrollbar to come out on the right side instead of the left?  Ron Shenk
Ik Su Yoo <ik@mobydick.leis.bellcore.com> writes: > >Another important difference is that MSW doesn't have any window that >handle sophisticated geometry management (like XmForm).  Is this an advantage to MS Windows or to Xt?  I used to think it was a big advantage for Xt, but I am not at all sure anymore...  ------------------------------------------------------------------------- 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
Hi,  I am about to write an application in X/Motif that will require the embedding of a pseudo tty. So, before I re-invent the wheel, has anyone written/gotten a motif widget that does the job ? Otherwise, I would appreciate any pointers to make such a beast.  My environment is X11R4/Motif 1.1 and X11R5/Motif 1.2 (if this helps).   Thanks in advance.
> My question is this:  Is there a means of determining what the state > of CapsLock and/or NumLock is?  Alright.  Ignore this.  I have delved a bit deeper (XKeyEvent) and found what I was looking for.  ev->state   has a bunch of masks to check against (LockMask is the one for CapsLock).  Unfortunately, it appears that the NumLock mask varies from server to server.  How does one tell what mask is numlock and which are for Meta (Mod1Mask, Mod2Mask, Mod3Mask, Mod4Mask, Mod5Mask). eg, SGI's vendor server has Mod2Mask being NumLock, whereas Solaris 1.0.1 OpenWindows 3.0 has Mod3Mask for NumLock.  Is there an unambiguous means of determining NumLock's mask at runtime for any given server?  Sorry for the wasted bandwidth and my appalling ignorance.
In article <4378@creatures.cs.vt.edu>, ramakris@csgrad.cs.vt.edu (S.Ramakrishnan) writes: >  >    Environment: >       mach/arch : sparc/sun4  (IPX) >       OS	: SunOS 4.1.3 >       X11	: X11R5 (patchlevel 22) >       Motif	: 1.2.2 >  > I bring up X server using 'startx' and /usr/bin/X11/Xsun. The following sequence > of actions crashes the X server (SIGPIPE, errno=32, 'xinit' reports that connexion  > to X server lost):  I had this problem as well - It had to do with the CG6 graphics card that comes with the IPX.  What fixed the problem for me was to apply the "sunGX.uu" that was part of Patch #7.  Patch #1 also used this file so perhaps you didn't apply the one that came with Patch #7.  jeff
Hi Xperts!  How can I move the cursor with the keyboard (i.e. cursor keys),  if no mouse is available?  Any hints welcome.  Thanks.
On the code I sent, please replace the line:     XtAddCallback(PopUpShell, XtNcallback, MyPopUp, (XtPointer)PopUpShell);  by     XtAddCallback(Button, XtNcallback, MyPopUp, (XtPointer)PopUpShell);  ---   The rest (and my question) remains the same...
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.   > Thanks.   > Jeff Haferman                            internet: haferman@icaen.uiowa.edu > Department of Mechanical Engineering     DoD 0186  BMWMOA 44469  AMA 460140 > The University of Iowa > Iowa City, IA  52242                                 '76 R90S  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). -- ----------------------------------------------------------------------- | Raju Gurung, I.T. 109, I.T. Building, Dept. of Electrical Eng.,     |  | University of Manchester, Oxford Rd, Manchester, U.K.               |
In article 8yD@ie.utoronto.ca, garym@ie.utoronto.ca (Gary Murphy) writes: >I'm new to the hardware and with a mandate to port some X-based >stereo-video software --- does anyone know of or have experience with >X on Amiga machines?  If I can retain the X event handling, it would >ease my plight considerably, and if I can keep all the Motif bits, so >much the better! >  There is X for the Amiga, but it'll cost you.  GfxBase Inc., owned by Dale Luck, one of the original Amiga architects, sells X for the Amiga. There are many options available, including Motif.  Call 'em and get the scoop.  GfxBase Inc. 1881 Ellwell Drive      Phone: 408-262-1469 Milpitas, CA 95035        Fax: 408-262-8276  I've got no connection with them, other than being a satisfied customer.
harden@skate.ics.com (Aub Harden) writes:   >In article <1993May14.191035.19271@vpbuild.vp.com>, jessea@u013.me.vp.com (Jesse W. Asher) writes: >|> I've been getting mail from Xhibition about the June conference and I was >|> wondering if Microsoft had bought Xhibition?  The front says "Conference >|> from Microsoft Windows NT Developers".  What's the deal?  I thought >|> "X"hibition was for "X-windows"?? >|>  >|> --  >|>       Jesse W. Asher                                            I was wondering this myself.  >and (not surprisingly when you look at the audience) Windows NT.  >With the bulk of the Xhibition audience (and the UNIX community) developing >applications for in-house or custom use, a new 32-bit operating system from a >player as large as Microsoft needs to be evaluated. With MS Windows on so many >desktops, and the price of computing power dropping, its successor needs to be >evaluated.  As corporations begin to look at NT, so must their developers and >suppliers.  >what you need.  Conference attendees will receive NT Software Development >Kits- to bang on, evaluate, and generally to see for yourself.  >I hope this doesn't sound like an NT commercial (it should sound like an >Xhibition commercial:-).  Unfortunately it does.  I don't agree with the logic of NT at an X windows conference.  Perhaps some good will come of it, but the two are so dissimilar and the NT marketing stuff is so large in the Xhibition adds that I was  coming to a similar conclusion as Jesse...
I am using the GLX widget + athena widgets on a mixed-model application, under 4Dwm, but when the dialog gets popped up, its text entry field does not have focus. Aimilar code works perfectly if I use "pure X" (no mixed-model). HEre is the relevant portion of the code.  {    int n;    Arg wargs[16];    Widget Button, PopUpShell, Dialog;     /* initialize TopLevel here */    .    .    .     n = 0;    XtSetArg(wargs[n], XtNlabel, "Foo"); n++;    Button = XtCreateManagedWidget("FooBtn", commandWidgetClass,                                   TopLevel, wargs, n);     PopUpShell = XtCreatePopupShell("PupShell", overrideShellWidgetClass,                                    Button, NULL, 0);    XtAddCallback(PopUpShell, XtNcallback, MyPopUp, (XtPointer)PopUpShell);     n = 0;    XtSetArg(wargs[n], XtNvalue, ""); n++;    Dialog = XtCreateManagedWidget("TheDialog", dialogWidgetClass,                                   PopUpShell, wargs, n);     .    .    . }  void MyPopUp(w, popup_shell, call_data) Widget w; Widget popup_shell; XtPointer call_data; {    XtPopup(popup_shell, XtGrabExclusive); }  ---  A way I found to give focus to the text field is to move the application window around a little bit and place it right behind the popup.
Thanks to everyone who mailed help, unfortunately the end problem was a REALLY stupid `oversight' on my behalf. The code was 100% perfect, but it might help to add Control.C to my makefile.......  	Anyway the mangled name was telling me it could'nt locate the Control constructor...
In article <1993May11.152807.21386@xact.demon.co.uk> ptm@xact.demon.co.uk (Paul Thomas Mahoney) writes:     Newsgroups: comp.windows.x    Path: linus.mitre.org!linus!agate!howland.reston.ans.net!torn!nott!bnrgate!bnr.co.uk!uknet!warwick!qmw-dcs!qmw!demon!xact.demon.co.uk!ptm    From: ptm@xact.demon.co.uk (Paul Thomas Mahoney)    Organization: X-Act Solutions Limited    X-Newsreader: Tin 1.1 PL3    Date: Tue, 11 May 1993 15:28:07 GMT    Lines: 8     I am looking of information regarding UIMX. I believe this is an application    front end generator tool for Motif (among others). Whould someone given me a    contact? I need to get hold of the programmers' guide, or something like it.    --     Paul Mahoney, X-Act Solutions Limited    smail: 20 Shipley Lane, Cooden, Bexhill-on-Sea, East Sussex, TN39 3SR    email: ptm@xact.demon.co.uk ... pmahoney@cix.compulink.co.uk    phone: +44 424 846368      I went to the XWorld convention in NY and talked to the people from Bluestone who make UIMX.  They sent me a HUGE 3 ring binder of info and a demo tape.  Let me know what you need.