waashk/20ng huggingface dataset:
Yet another XView question: is there an (easy) way of detecting when a user has resized a frame _externally_ by way of the window manager (e.g. grabbing and letting go of the frame resize corners under olwm)? If so, please let me know!  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 |
A few days ago there was a posting in this group by Andrea Winkler titled "X and Security / X Technical Conference".  I was one of the instructors of that tutorial.  Unfortunately, my system purged the message before I had a chance to see it, and I don't have Andrea's email address.  If someone has Andrea's address and/or the posting, I would really appreciate it if you'd forward it to me!  Thanks --Jeremy  Jeremy Epstein			Internet: epstein@trwacs.fp.trw.com Trusted X Research Group	Voice: +1 703/803-4947 TRW Systems Division Fairfax Virginia
sat@eng.tridom.com (Stephen Thomas) writes: >In article 6af@uniwa.uwa.edu.au, ngolding@tartarus.uwa.edu.au (Neil Golding) writes: >>I`m looking for some assistance in locating information on how to run >>win 3.1 on a CGA monitor.  >The CGA driver for Windows 3.0 works fine with Win3.1.    Oh no! Oh no!  They've taken over comp.windows.misc and now THEY'RE COMING FOR US!    --berry
I've been hearing rumblings about Fresco, and it sounds like it may be what I'm looking for, but how far is it from release, or at least some kind of availability?  How similar is it to InterViews?  If I code to InterViews, will my code work with Fresco?  How about Motif?  I've heard some mention of versions of InterViews which support Motif.  Will it be feasible to use Motif with Fresco?  Any information would be much appreciated.  - Brad
I'm trying to turn on Xauthorization using MIT-MAGIC-COOKIE on my servers (CPU heads, HP700RX Xterminals), but I'm running into a couple of problems.  First, at least one of our applications (Maple) doesn't seem to understand  how to deliver the magic cookie, and won't run on a display with authorization turned on.   Second, we have people with client software on remote machines, and I really don't want to hassle them with having to copy their .Xauthority file to the remote machine... assuming that the clients there support Xauthorization.  So, what I would like to do is turn on MIT-MAGIC-COOKIE by default, with non-privileged users able to turn it off - dropping back to host-based authorization.  (Yes, I know how to turn it off by changing the Xconfig file for the heads and the Client Authorize setting for the Xterminals, but non-privileged users can't do this.)  I've checked with the HP Support Line, and there doesn't appear to be a way. Can anyone confirm this, or do you know of a way to accomplish what I want?  BTW, I'm running HPUX 9.0, and Vue 3.0.  Thanks in advance, Rick --   Rick McTeague Electrical Engineering Department, Speed Scientific School University of Louisville, Louisville, KY 40292 (502) 588-7020  Internet: sysrick@starbase.spd.louisville.edu
I need to have PCs and SPARCstations run the same application ( namely MicroSoft Project ). The original system ran on the PC. Now it needs to be expanded to allow UNIX users to work with the application. The current proposal is to use DESQview/X as a display server for the application.  I would like to know your experiences with using DESQview/X to run an application on a PC and displaying on a SPARCstation. I've heard that the network traffic is slow.  Replies only by e-mail please.  Thanks, in advance.
Hello Xperts out there. I've just built X11R5 for SunOS 4.1.1/SPARC. I have gcc-2.2 and I'd like to use its 64-bit capability to generate an X11 release which will render to the frame buffer using store-double (64-bit) machine code. Can anyone tell me which directories/source files/ compiler switches to begin with?  thanks in advance
> Apollo DN2500 (Domain/OS 10.3, X11R4, Motif ?.?).  I think you are running Xapollo , it's a X11R3 server ...  If you want a X11R4 server you should install PSKQ3 (10.3.5) or 10.4   so you can run Xdomain .   >  > I get these errors appearing on the DECstation: >  > > dxterm > X Toolkit Warning: Cannot convert string "<Key>apCharDel        " to type VirtualBinding > ... > Segmentation fault >  > Any ideas? Is it a Motif problem...are the DEC and Apollo versions of Motif > incompatible? Or something to do with XKeysymDB?  In XKeysymDB you could add :  !		Apollo specific keysyms ! apLineDel            : 1000FF00 apCharDel            : 1000FF01 apCopy               : 1000FF02 apCut                : 1000FF03 apPaste              : 1000FF04 apMove               : 1000FF05 apGrow               : 1000FF06 apCmd                : 1000FF07 apShell              : 1000FF08 apLeftBar            : 1000FF09 apRightBar           : 1000FF0A apLeftBox            : 1000FF0B apRightBox           : 1000FF0C apUpBox              : 1000FF0D apDownBox            : 1000FF0E apPop                : 1000FF0F apRead               : 1000FF10 apEdit               : 1000FF11 apSave               : 1000FF12 apExit               : 1000FF13 apRepeat             : 1000FF14 apKP_parenleft       : 1000FFA8 apKP_parenright      : 1000FFA9   -- Victor .                                              \     /                                               ^ ^   ______victor@hpfrcu03.france.hp.com_______oOOo_o_oOOo_________________  Victor GATTEGNO
In article <9304292140.AA29951@haji.haji_sun>, fwr8bv@fin.af.MIL writes: > I am using xdm on X11R5 with OW3 and Xview3 on Sun3s and SPARCs running  > SunOS 4.1.1.  Prior to using xdm, I used to set PATH and other environment > variables (like MANPATH, HELPPATH, ARCH, etc) in my .login file.  With xdm, > the .login file doesn't get executed and therefore neither the olwm > root-window nor my applications know about these variables.  One usual suggestion is to put everything into your every-time shell rc-file instead of your login-only one, which is fair enough if you only have a few users who know what they're doing.  If you have several hundred users who do what the books tell them, though, then it's confusing at best.  Another is to have your xterms run login shells, but that still leaves the window manager and the things that get started from its menus with the wrong environment.  Our alternative is that instead of having xdm run the client startup scripts, it runs the user's favourite shell as a login shell, and has *it* then run the rest of the startup scripts.  That way the user's usual environment gets set up as normal and inherited by everything.  You can find an almost-current copy of our scripts and things in contrib/edinburgh-environment.tar.Z, available from the usual places.
I have a problem where an Athena strip chart widget is not calling it's get value function.  I am pretty sure this is happening because I am not using XtAppMainLoop, but am dealing with events via sockets.  (ya ya).  Anyway, I want to cause a timeout so that the strip chart widget(s) will call their get value callback.  Or if someone knows another FAST way around this (or any way for that matter) let me know.  I cannot (or I don't think) call the XtNgetValue callback myself because I don't have the value for the third parameter of the get value proc (XtPointer call_data).    In other words, I want to force a strip chart widget to update itself.  Any ideas anyone?
In article <C6wLIJ.L5K@bailgate.gpsemi.com>, markw@pspmf3.gpsemi.com (Mark Wilkinson - Ext 3443) writes: > Hi All, >        This is the first time I've posted to the net, so I hope this is > going to the right people. >   I'm looking for software packages that run on an IBM PC clone that > allows me to display Openlook and motif windows on the PC.  >   The idea is to use the PC as a cheap X windows terminal for use by > process Engineers at work.  >  >   If anyone can E-Mail me any recommended packages/horror stories/etc > I would be greatful. >  > 		Thanks in advance >  > 			Mark Wilkinson >  >  > --  >  _____________________________________________________________________________ > /                               |                                             \ > | Mark Wilkinson                |   E-Mail : wilkinson_m@roborough.gpsemi.com | > | Senior Software Engineer      |            markwilk@lincoln.gpsemi.com      | > | GEC Plessey Semiconductors    |                                             | > | Roborough, Plymouth, England  |                                             | > \_______________________________|_____________________________________________/  Xoftware from Age Software has proven good by me.  Runs under MS Windows and is relatively stable. 	techsup@age.com could probably help you out more. --Andy
In article <9304292140.AA29951@haji.haji_sun> fwr8bv@fin.af.MIL writes: >Hi, > >I am using xdm on X11R5 with OW3 and Xview3 on Sun3s and SPARCs running  >SunOS 4.1.1.  Prior to using xdm, I used to set PATH and other environment >variables (like MANPATH, HELPPATH, ARCH, etc) in my .login file.  With xdm, >the .login file doesn't get executed and therefore neither the olwm >root-window nor my applications know about these variables.  I always use the following in my .[t]cshrc:  ... f ( $?LOGIN == 0 ) then    source $home/.login endif ...  and in .login:  ... setenv LOGIN 1 ...  So I don't need to set all environment variables in my .cshrc, but they get set if I login via xdm or xon | xrsh | rx and so on.  Hope this helps,  Bernward
I want to be able to send a Pixmap from one client to the next. Along with this I want to send the Colormap and foreground and background pixel values.  So far not a problem, I can do this with no problem.    However, once I have the Pixmap id and the Colormap id, how do I go about telling the server that the second (receiving) client now wants to have associations with the two id's?  	TIA,  	John
In <C78u6q.D0D@deshaw.com>, wolf@cs.stanford.edu writes:  >Moving the mouse out of the xterm window before >clicking up will not abort the paste.  In fact, once that middle >button is pressed down, the paste is inevitable.  >So, the obvious questions.  Is there some way around this?  And, do >others feel that moving the mouse out of an xterm window before >release should abort the paste?  I would have thought this would have >been a common enough problem that someone would have changed xterm by >now, but maybe it's just me.  >Michael  It is not just you.  I have been aggravated many times by the mouse making hay of my maladroitness, and would be _ever_ grateful to everyone who would make keyboard alternatives for ALL mouse actions.
We recently got an NCD X-terminal to evaluate. This is running XRemote over a serial line. I wanted to get some measurement of response time, so I wrote a small Xlib program which simply creates a window, maps it and sends the first Expose  event to itself. The program times the delay from sending the event, to  receiving it.  I thought this was the simplest way to test client/X-server  round-trip delays. It's a similar concept to the ping(8C) program.  Is this a valid test to perform ? I've also tried the xbench program, available from ftp.uu.net, which bombards the server with graphics operations, but I  just wanted to get a quantative measure of what is "acceptable" interactive  response time. Has anyone got any ideas on this subject ?  Thanks. Andrew. (afielden@mlsma.att.com)
In article <1993Apr21.154620.16330@infodev.cam.ac.uk>, dcr@mail.ast.cam.ac.uk (Derek C. Richardson) writes:  |> 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  The protocol has to move the whole image from process memory to server memory, this is the hog. The conversions in the XPutImage() are fast.  |> 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  Yes, by utilizing the MIT-SHM extension, that provides an XPutImage derivate that uses shared memory. Fine fast.  |> XPutImage() (in which case I might as well give up now...)? |>   No. You can still XPutImage all of the frames onto pixmaps (thus moving them to server memory) and then replay them fastest using XCopyArea() BUT be aware, this is a major server memory bummer !
I am having problems with a  Motif application that when run on another machine (with different X paths, etc) can't find the XKeysymDB file.   This causes a large warning output:  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()' ... .... .... etc.  as the file is in a different location, but Xt seems to only look for it in the place where it is on the machine the app was compiled on.  Is there any way to read the XKeysymDB manually with an X/Xt call so that additions to the XKeysymDB can be distributed with the application ?  I have used trace(1) to find out what was going on, but I need a fix so that these translations in the application can be recognised.
dcr@mail.ast.cam.ac.uk (Derek C. Richardson) writes: > Shared memory PutImage (also mentioned by nkissebe@delphi.beckman.uiuc.edu, > Nick Kisseberth) looks interesting, but I need someone to point me to some > documentation. Is this method likely to give better results than server- > resident pixmaps? I'd also be interested in looking at the XView code > mentioned above...    There's documentation on how to use the shared memory extension in the X11R5 distribution.    Actually, I just finished writing a motif animation program... (take-lots-of-image-data-and-display-it-pretty-darn-fast). When using on-server pixmaps or shared memory, I had to insert a delay loop to keep it from going too quickly :). Testing both methods side by side, they were just about equal.    The advantage of SHM is that your X server doesn't grow to ridiculous sizes; but pixmaps can work over a network and *are* removed if your application dies (one tends to use ipcrm manually quite a bit when debugging SHM apps).    Shared memory also has the problem that some operating systems (e.g. Ultrix) seem to allow only a small number of segments (~6) to be attached to a process at once; consequently, a redraw becomes XShmAttach();XShmPutImage();XShmDetach(); on Dec systems. And Dec's 24 bit displays (like the ones I tend to use most often) don't seem to support the extension (maybe someone compiled them wrong?), and using pixmaps causes the X server to crash (failed mallocs), so one *has* to use the local unix domain socket (which really isn't that bad; one copies the info three times per redraw instead of one).    In short: allowing all three forms of display, within the program is a Good Thing (minus SHM if running over a network), and let the user pick whatever feels fastest.    (I just use an ximagehandler class and forget about it :)
Just create the window in the place you want it and set the program position field in the WM_NORMAL_HINTS property, then map it.  Then, assuming they have a non brain dead window manager, the user can say whether they want to us program specified positions or not. For tvtwm the UsePPosition command in the .tvtwmrc will do this.  Now, I'm sure that by the time this message gets out of our local news timewarp someone will have advised you to set the user position bit in the WM_NORMAL_HINTS. _Do_not_ do this. It's evil. It's a disservice to your users. Offler the tusked crocodile god will come in the night and remove your vital organs with a blunt spoon if you even contemplate it.
I have found a situation which I think is a bug in X or Motif, but I'm hoping is really just a mistake on my part.  Does anyone know anything about this problem........  - I am using an XmTextField, and setting its XmNvalue to a hardcoded   text string (ascii or Kanji) either via XtSetValues or XmTextSetString.   The problem is that when the XmTextField is displayed, the text is getting   truncated, depending on the setting of the environment variables   LANG (more specifically LC_ALL).  When they are set to japanese,   the text gets truncated.  When they are set to english, everything   works fine.  I am taking the default for XmNcolumns.   (Please note that hardcoding of text is NOT done in my actual    application, just in my sample code to make things easier) 	 - I am running Motif 1.2, X11R5 via HPUX9.01.  My test program is set up   to handle 16 bit Kanji characters.  I have remembered to do      XtSetLanguageProc() prior to my MrmInitialize and my font resources   are set to japanese fonts.  - Don't know if this matters, but my dialog box and TextField is initially   created with UIL.    The problem does NOT happen with XmText.  Unfortunately substituting XmTextFields with XmTexts in my application is not an acceptable alternative (way too much code to be modified while in beta!)  I have a small test program which illustrates the problem if anyone wants it.  My best guess is that either the X code or Motif is not properly allocating memory for japanese, but since I don't have the source to look at it is just a guess.  Please let me know if this sounds familiar, or if you have a suggestion, or if you want the sample program.  THANKS!!!!!!!!  - Susan
I have a toggleButton widget (yes widget) and I have a routine which changes the color of the foreground and background of the label.  Well, the background changes alright, but the label text does not redraw itself.  I am guessing that I have to force it to redraw with an XExposeEvent sent to it via XSendEvent.  Is this the best way to get the text up again?  I can't seeem to get XSEndEvent to work right.... if this is a good approach, might anyone have an example lying around to show me how to do this?  I've RTFM all evening and did not find a decent example.  PS I keep getting Segmentation Faults in XSEndEvent, tho all the values are as expected.  Thanks in Advance
Mark D. Collier (mark@trident.datasys.swri.edu) wrote: : 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.  A question like this is answered in the FAQ, about sharing X windows. One of the answers is XTrap, a record and playback extenstion to X.  You can find it at export.lcs.mit.edu:/contrib/XTrapV33_X11R5.tar.Z.  Does anyone know of a program which doesn't require an X extension?  Most the the X servers we have at work have vendor extensions which we can't modify, so XTrap doesn't help up.  There is X conferencing software at mit, but I don't know how easy it would be to modify it to do record and playback.  Any help would be appreciated.
> Let's say I have two rectangles on the canvas(see above)  > one intersecting the other... > Now, I would like to delete one of the rectangles. > The way I do it is to create another GC wherein I use the > GXxor logical function and simply redraw the rectangle using the newly > created graphics context thus deleting it for all apparent purposes. > A problem with this approach is that at the points of intersection the pixel  > locations belonging to the other rectangle also become white, which is  > something that should be avoided.  You could set up a bitmap with a mask in it.  Clear the bitmap, draw the rectangle to be deleted with GXor.  Draw the one that is to stay with GXclear.  Then GXxor the entire pixmap with the screen.    Note that this is a pretty effective way of animation, if you ever need to do that (replace the GXclear with a GXxor).  ---------- Joe Hildebrand hildjj@fuentez.com Software Engineer Fuentez Systems Concepts (703)273-1447
I was having the same problems compiling X11R5 on a IPC sunos 4.1.3. If you compile with 'make -k World' it will not stop on the ld errors. As was stated in another post the clients with the errors still run correctly.
In article 14595639@wl.aecl.ca, harrisp@wl.aecl.ca () writes: >I use DESQview/X and I think it is great. Where it really shines (IMHO) is >to let unix users log into a pc and run dos and windows applications with >the display going to their screens. >You'll need to get: >DESQview/X v 1.1 >DESQview/X v 1.1                           $275 suggested retail >DESQview/X to Other X Systems v 1.1        $200 suggested retail > >You also must be running a supported network (FTP softwares PCTCP, >Novell Lan workplace for dos, Sun Microsystems PC-NFS, Beame and WHiteside, >Wollongong pathway TCPIp or HP Microsoft Lan Manager) > >if you don't have any of this network stuff, Quarterdeck will give you a >copy of Novell TCPIP transprot for dos with the Network manager. > >You can get more info by sending email to (appropriately) info@qdeck.com. > >In my opinion, if you want to have other people logging in and running >applications at your pc, you'll want to have a 486 33 with 16 Megs of RAM. >Also, the Xwindows software in DESQviewX really seems to like an ET 4000 >(TSENG Labs chipset) based graphics card. Personally, I found that things >ran better with a SCSI drive in the pc than with ESDI drives, but that is >my experience only > >                                Good Luck and Best Wishes >                                                Phil  What sort of traffic is generated with the X-calls?  I am curious to find out the required bandwidth that a link must have  if one machine running DV/X is supporting multiple users (clients) and we require adequate response time.  Anyone have any ideas ??
In article <735525194.9026@minster.york.ac.uk>, cjhs@minster.york.ac.uk writes: > Bryan Boreham (bryan@alex.com) wrote: > : 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.  The only time I've seen similar behaviour is when an X application forked a child without setting close on exec on the X display connection file descriptor. The shell waited for a ConfigureNotify event that never arrived because it got picked up by the child.  Sometimes the shell correctly got the ConfigureNotify if the timing was 'right'.
I am urgently looking for the following article, can I cannot find it anywhere in our local libraries:        John Allen Smith       "The Multi-Threaded X Server"       The X Resource         Issue 1, pp. 73-89, Winter 1992  If anyone can tell me where I can find it, I WILL much appreciate it!!  H.F. Sadie Departement of Computer Science University of Stellenbosch South Africa
A simple question to all the Xperts:  Is it possible to use several X-Terminals with only one mouse and one keyboard?  Any suggestions?  Thanks, rainer.