waashk/20ng huggingface dataset:
Hello,  This is my first net letter, so forgive mistakes!  I have been plagued by problems (or lack of info) with authorization in Open Windows 3.0 for a long while and would like some help please!  I generally use strait MIT X, and so don't use OW much, but when I share  X software with others - bad news.  PROBLEM:  My friend who logs into his SSII trys to run my  program that runs fine on my machine, however,  my friend gets "client not authorized to connect  to server" (or something close).  If OW is started with the -noauth option all is well, but surely this is not required in general!  Also, xhost + does not work, becoming root does not  work, etc...   Any help will be greatly appreciated!  Thanx
In article <C5oL74.3B1@aeon.in-berlin.de>, thomas@aeon.in-berlin.de (Thomas Wolfram) writes: |> >Hey guys! |> >I work on many stations and would like this name and current logname |> >to be in a title of Xterm when it's open and a machine name only |> >when it's closed. In other words, I want $HOST and $LOGNAME to appear |> >as a title of opened XTerm and $HOST when XTerm is closed. |> >How can I do it? |>  |> Almost all window managers (twm, mwm, olwm and their derivates) support |> escape sequences for it. For your purpose put following into your |> .login (if you're using csh or tcsh), for sh you have to modify it. |>  |> if ( "$term" == "xterm" ) then |> 	echo "^[]2;${LOGNAME}@${HOST}^G^[]1;${HOST}^G" |> endif |>   1) This is NOT a feature of the Window Manager but of xterm. 2) This sequences are NOT ANSI compatible, are they ?    Does anyone know IF there are compatible sequences for this and what they    are ? I would think they are DCS (device control sequence) introduced,    but may be a CSI sequence exists, too ?    This MUST work on a dxterm (VT and ANSI compatible), it may not work    on xterms.
The copyright notices themselves seem to be making conficting restrictions.  I do not know how to reconcile:  /* Copyright Notice  * ================  * Copyright 1989, 1990, 1991, 1992, 1993 by John Bradley  *   * Permission to use, copy, and distribute XV in its entirety, for   * non-commercial purposes, is hereby granted without fee, provided that  * this license information and copyright notice appear in all copies.  *  ... with:   *  * XV is shareware for PERSONAL USE only.  You may use XV for your own  * amusement, and if you find it nifty, useful, generally cool, or of  * some value to you, your non-deductable donation would be greatly  * appreciated.  $25 is the suggested donation, though, of course,  * larger donations are quite welcome.  Folks who donate $25 or more  * can receive a Real Nice bound copy of the XV manual for no extra  * charge.  *   * Commercial, government, and institutional users MUST register their  * copies of XV, for the exceedingly REASONABLE price of just $25 per  * workstation/X terminal.  Site licenses are available for those who  * wish to run XV on a large number of machines.  Contact the author  * for more details. ...  It strikes me that the first part gives you the right to use, without fee, the program for noncommercial purposes if the info appears in all copies. This seems to cover educational institutions despite what the rest of the notice says.  And the first part doesn't say subject to the conditions outlined below...   Chris
Has anyone found a fix for the following problem?  Client Software:	SunOs 4.1.1, X11R5 Server Hardware:	Sun IPC Server Software:	SunOs 4.1.1, Open Windows 3.0 (w/ patch 100444-37)  A Motif 1.2.2 application will periodically hang when run against the OpenWindows 3.0 server (xnews). The pulldown is displayed but then no button actions have any effect. Sometimes pressing <Return> will unstick the application but not usually. It looks like the pulldown is grabbing the focus and never letting go. Other windows on the display continue to get updated so the server isn't hanging. If I log in from another terminal and kill the Motif application then everything gets back to normal. The same application when run against other X servers (including MIT X11R5 Xsun, DecWindows, Tektronix X terminal) has no problems. This is obviously a OpenWindows problem but I need a work-around since most of our customers are OpenWindows users.  I have tried the following things:      1. Installing the latest version of the OpenWindows server patch        (100444-37).      2. Using mwm (version 1.2.2) instead of olwm.      3. Applying the patch specified in the Motif FAQ (question 110).        This had the effect of disabling the point-and-click method of        menu interaction (as opposed to the click-and-drag method), and        screwing up the menu mnemonics keys. It did seem to help, but I        was still able to get the application to hang.  Repeat By:  This is an intermittent problem so you'll have to try several times.  Click and release on a menu heading (pulldown menu will pop up)  Click and release on a menu item  Repeat until application hangs   Any help would be appreciated. Thanks in advance.
In article <TKLD.93Apr2123341@burns.cogsci.ed.ac.uk> tkld@cogsci.ed.ac.uk (Kevin Davidson) writes: > >>   In my opinion, a programming degree is still worth having. > > Yes, but a CS degree is *not* a programming degree. Does anybody know of >a computing course where *programming* is taught ? Computer Science is >a branch of maths (or the course I did was). > I've also done a Software Engineering course - much more practical and likely >to be the sort of thing an employer really wants, rather than what they think >they want, but also did not teach programming. The ability to program was >an entry requirement.  At Robert Gordon University, programming was the main (most time-consuming)  start of the course. The first two years consisted of five subjects: Software Engineering (Pascal/C/UNIX), Computer Engineering (6502/6809/68000  assembler), Computer Theory (LISP/Prolog), Mathematics/Statistics and  Communication Skills (How to pass interviews/intelligence tests and group discussions e.g. How to survive a helicopter crash in the North Sea). The third year (Industrial placement) was spent working for a computer company  for a year. The company could be anywhere in Europe (there was a special  Travel Allowance Scheme to cover the visiting costs of professors).   The fourth year included Operating Systems(C/Modula-2), Software Engineering  (C/8086 assembler), Real Time Laboratory (C/68000 assembler) and Computing  Theory (LISP).  There were also Group Projects in 2nd and 4th Years, where  students worked in teams to select their own project or decide to work for an  outside company (the only disadvantage being that specifications would change  suddenly).   In the first four years, there was a 50%:50% weighting between courseworks and  exams for most subjects. However in the Honours year, this was reduced to a  30%:70% split between an Individual Project and final exams (no coursework  assessment) - are all Computer Science courses like this?  BTW - we started off with 22 students in our first year and were left with 8 by Honours year. Also, every course is tutored separately. Not easy trying to sleep when you are in 8 student class :-).   Cheers,   Michael
Hello!!!  The title just about says it all.  I need a list of the bugs for Motif 1.2.
I recently read here that Sun has a patch for xdm on Solaris2.1.  I was wondering if anyone could give me the  patch number.
I posted about this a while ago but without code excerpts noone was able to help me.  The problem is that main_win.win is doing fine, but when I create detail_win.win, it does not receive it's initial expose events until main_win.win receives an event. Here are the relevent calls:  main_win.win = XCreateSimpleWindow (mydisplay, DefaultRootWindow(mydisplay),                 myhint.x, myhint.y, myhint.width, myhint.height,                 main_win.line_thick, fg, bg); XSetStandardProperties(mydisplay, main_win.win, main_win.text,                 main_win.text, None, argv, argc, &myhint); main_win.gc = XCreateGC (mydisplay, main_win.win, 0, 0); XMapRaised (mydisplay, detail_win.win); XMapSubwindows (mydisplay, main_win.win); The event mask for main_win is:         PPosition | PSize | StructureNotifyMask | ExposureMask| KeyPressMask |         EnterWindowMask | LeaveWindowMask; The flags are         PPosition | PSize  I then create detail_win.win with the following calls (hints has new values): detail_win.win = XCreateSimpleWindow (mydisplay, DefaultRootWindow(mydisplay),                 myhint.x, myhint.y, myhint.width, myhint.height,                 detail_win.line_thick, fg, bg); XSetStandardProperties(mydisplay, main_win.win, detail_win.text,                 detail_win.text, None, argv, argc, &myhint); detail_win.gc = XCreateGC (mydisplay, detail_win.win, 0, 0); XMapRaised (mydisplay, detail_win.win); Event Mask and flags are identical to main_win's flags and event mask.   If anybody has any idea why the initial expose events of detail_win.win are not received until main_win.win receives an event I'd love to hear from them. Other that that everything works great so there must be some detail I'm overseeing.  Thanks for any tips ---> Robert rgasch@nl.oracle.com
I'm look for current patches for color xterm for X11R5 pl19 ro higher.  Could someone please tell me where to get them for e-mail them to me.  Thanks.
In the past, I have used named pipes to communicate between processes using the XtAddInput function to set up the event handling in Motif. Does anybody know of a way to do this with message passing ( IPC ) ? I tried it here and no luck so far.
I have a problem with icon pixmap. My application has to run    under openwindow and motif. I wrote my program in Motif with pixmap and    icons. It runs fine under motif/motif window manager and X11R5/mwm. But     the icon pixmap does not show up under openwin/olwm and X11R5/olwm.               Has anybody got into this kind of problem? Need a clue. An     example which works in both X11R5/motif and openwindow will be great.
Hi,  I am running X11R4 on an IBM RS/6000 (AIX 3.2) and X11R5 on a Sun4 (SunOS 4.1).  Since I run X on both colour and black&white displays, I need different values for the same resource, so I want to use #ifdef COLOR in my application defaults files. However, cpp is only invoked by xrdb, and not when the resources are loaded on demand.  Is there a proper solution to this?  So far, the only proper solution I've come to think of, is to create 2 different files in my ~/app-defaults/, say XTerm and XTerm-color, and set my XFILESEARCHPATH to either $HOME/%T/%N or $HOME/%T/%N-color. But that does not always seem to work (e.g. executing a remote shell command without reading the .cshrc does not set XFILESEARCHPATH).  Furthermore, I thought of using #include "XTerm" in XTerm-color. However, for resources in XTerm that I want to override in XTerm-color, things are different on both machines. On a Sun, the FIRST found resource is used (i.e. the one from XTerm, the b&w one), while on an RS/6000, the LAST found value is used (i.e. the one from XTerm-color). What can I do about it?  I have one last question: for the specification of XFILESEARCHPATH, I can use %T, %N, %C and %S. %T stands for app-defaults, %N for the resource class, but what do %C and %S stand for?  Thanks in advance for replying, Marcel.
Does anyone have any information/advice on large color monitors (17"-21") to use with a 486 system running X server software? I maining looking for quality information and price, but all information is welcomed.    Thanks, David
dla@se05.wg2.waii.com (Doug Acker) writes: : ..continuing on my build problems, I got stuck here build xterm... :  : gcc -fpcc-struct-return -o xterm main.o input.o charproc.o cursor.o util.o tabs.o  screen.o scrollbar.o button.o Tekproc.o misc.o  VTPrsTbl.o TekPrsTbl.o data.o menu.o -O2   -R/usr/wgep/X11R5.sos5/lib${LD_RUN_PATH+\:$LD_RUN_PATH} -L../.././lib/Xaw -lXaw -L../.././lib/Xmu -lXmu -L../.././lib/Xt -lXt -L../.././extensions/lib -lXext -L../.././lib/X -lX11 -L/usr/wgep/X11R5.sos5/lib  -lsocket -lnsl -ltermcap : Undefined                       first referenced :  symbol                             in file : index                               /usr/ucblib/libtermcap.a(termcap.o) : rindex                              /usr/ucblib/libtermcap.a(termcap.o) : ld: fatal: Symbol referencing errors. No output written to xterm : *** Error code 1 : make: Fatal error: Command failed for target `xterm' :  : Any clues for help?  Either: 	* Add -lucb -lelf to the list     or 	* #define index() and rindex() to strchr() and strrchr() respectively. 	  Both use same args. Former are bsd, latter are SysV.
Stan Kerr writes:  >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  I have the exact same problem when running Hewlett Packard's Microwave Design System (MDS) from an HP 380 unix box and running MacX 1.2, Sys 7.0.1*. Normally, MDS draws a window with a deep blue backround, but occasionally it becomes a light blue and all the text, etc, inside the window become "washed out" (nearly invisible). I thought that it was just something brain dead that I was doing or a subtle conflict with another app or INIT.  By slightly moving the window, and forcing a re-draw, the colors get corrected.
I have gotten X11R5 pl 23 to compile on AIX 3.2.2 using cc.  but the server will not run. it simplys starts and a couple seconds  later exits. no error are displayed.   my defines for compile are  -DSYSV -DAIXV3 -DSYSV_WAIT   -DMALLOC_0_RETURNS_NULL        could somewhere share some light, or maybe the ibm.cf file.    thanks.
jessea@u013.me.vp.com (Jesse W. Asher) wrote: >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"??  I had exactly the same feeling.  I was depressed.  If you ever programmed Windows and X11, you'd be depressed if an X conference touted its tutorials to show you how to convert from X to Windows API.  Sort of like, "how to convert your C++ classes to the new, improved C."  What happened?
In article <1993May19.124004@ips.cs.tu-bs.de>, sommer@ips.cs.tu-bs.de (Thorsten Sommer) writes... >Hi out there! >  >Every command-line-shell-favourating user: Close your ears, ehm, eyes... >  >I'm looking for a X file-manager which can be driven under TWM. >Somebody told me last night, there is one under OpenWindows >(and there certainly is one under MS-Windows :-#). >  >But I'd like an X-one, you know, with icon's, click-and-drag, directory-structures >shown in a graphic-layout, a paper-basket etc. ... >  >Anybody got an idea?  I've recently joined the Motif world, so I'd like a similar tool for Motif.  I've bene used to the OpenWin one in the past and miss it.  Cheers,  [M][a][r][c]
We have recently purchased a Tektronix xterminal, and I'm having a problem with it. We have a graphics widget that we wrote to display waveforms, and it doesn't work on the xterminal. the buttons, etc, all show up, and it seems to take the 'right' amount of time to draw, but nothing is visible in the graphics window. I have no clue as to where to start looking: the program works fine on all our suns (3s and 4s, color and B&W). could anyone suggest a line of attack for this problem?  TekXpress XP380 color xterminal running 6.0.0. host is a Sun IPX running SunOS 4.1.3 and X11R5, PL17.
In article <1993Apr26.122007.25760@relay.nswc.navy.mil> rchui@opal.nswc.navy.mil writes: >I created a pixmap or drawable window, then used XDrawLine() function  >to draw a [clipped] line ... = 300 ... >I created the pixmap or drawable window only with size 300x300. >But I draw line from p1(x1=270,y1=100) to p2(x2=500,y2=800). >My question is, dose the XDrawLine function can finger out that correct >p3(x3 and y3) for me? If you calculate x3 and y3.
Dear Folks:  It's a pleasure to be able to announce the release of a new freeware program,  Xavier, an audio and video  extension to InterViews.  Xavier(eXtension AV class for IntERviews) is a C++ class library that adds multimedia capability to InterViews. It allows composite multimedia objects to be built from media objects.  Specifically, it adds audio and video objects to the classes available in InterViews 3.0.1/3.1, and it does so without changing the source code for the original classes (though several configuration files for InterViews need to be changed via a patch file).    Currently, the Xavier audio classes are only supported on SUN workstations with an audio interface, such as the SPARCstation2.  Xavier has been tested in the following environments:  SUN:   Machine : SPARCserver470 SPARCstation-IPC   OS      : SUN-OS4.1.1 or later   C++     : SUN C++ ver2.1  NEC(EWS):   Machine : EWS4800/210,230   OS      : EWS-UX/V(Rel4.0) WSOS41 Release5.1,Release5.2   C++     : C++ Release3.1  It can be obtained via anonymous ftp from            interviews.stanford.edu in /pub/contrib/           (Xavier.large-demo.tar, and Xavier.tar)  We are preparing a mailing-list for information regarding Xavier. If you are interested, please contact                                    xavier@tsl.cl.nec.co.jp.   I will add your e-mail address to our list.  [Reference] o Rei Hamakawa, Hizekazu Sakagami, Jun Rekimoto:   Audio and Video Extension to Graphical Interface Toolkits,   The Third International Workshop on Network and Operating   System Support for Digital Audio and Video, San Diego, 1992
Given that all the source code contains explicit permission to use or modify the code without fee in addition to the shareware notice, I would say that the shareware notice is unenforceable.  All you need to do is make minor changes to create a derivative work which is explicitly allowed under the first part of the copyright notice.  Of course, this would be circumventing the author's wishes on the subject, but I'd say if you're not going to pay him no matter what, you'd be on relatively safe ground with that approach...  In fact, given the internal contradictions of the copyright notices, I'd guess none of it could ever be enforced, but not being a lawyer, I can't be positive.  Regardless, the fees he's asking are not excessive, and I would encourage anyone who wants to use the program to pay them if at all possible.  Even though it is unlikely that you have actual legal obligations to pay the author, it would be reasonable to do so, to support his efforts if nothing else.  - Brad
Yes we have the same problem with xinit.  The problems seems to come from the fact that the XOpenDisplay(":0") fails.   If we try (on our machine named godzilla)  setenv DISPLAY godzilla:0.0 Xibm& xterm    It works fine, but the following will not work  setenv DISPLAY unix:0.0 Xibm& xterm   Did we set a configuration option incorrectly?  Thank you for any assistance you can offer.  ---------------------------------------------------------------------------                     Herb Hasler --- herb@iiasa.ac.at       International Institute for Applied Systems Anaylsis  (IIASA)           A-2361 Laxemburg, Austria --- +43 2236 715 21 ext 548
Help,  	I've got an applications with a series of pushbuttons across 	the top (a toolbar).  I wanted to add eventhandlers to these 	pushbuttons on EnterWindowMask and LeaveWindowMask so that 	I can put up some descriptive text about the function of each 	pushbutton as the pointer crosses over it.  	I've done this fine, but I've turned up the following problem:  	When the pushbuttons are sensitive I get callbacks on both of 	the above events, but when they are not sensitive I only get 	callbacks on LeaveWindow events.  This seems odd.  I would 	expect this to be an all-or-nothing type of thing.  	Is this a bug?  If not, can someone explain this behavior?  	thanks,
cjhs@minster.york.ac.uk wrote: : Help: I am running some sample problems from O'Reilly volume 4, : Xt Intrisics Programming Manual, chapter 3. popup : dialog boxes and so on. :  : In example 3.5, page 76 : "Creating a pop-up dialog box" :  : 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. :  : Has anyone any experience with these sample programs, or why I get : this behaviour - fast response time for the first time but slow response : time from 2nd time onwards ? : Anyone can give me some ideas on how to program popups so that each time : they popup in reasonable fast response time ? :  : Thankyou - Shirley  Thanks to those who responded.  We were able to prevent this behaviour by two methods:  1) running twm rather than olwm 2) keeping olwm, but putting "wmTimeout: 10" in the resources  It has been suggested that the difficuty was something to do with the window manager positioning the popup window. Any guru who can analyse what is going on from this information, please post and let us know.
In <1r74bcINN6ei@ome.sps.mot.com> wcl@risc.sps.mot.com (Wayne Long) writes:   >  When I run our RS6000's "info" utility through a remote login >  shell (rlogin) from my Sun Sparc 1+, I can no longer type >  lower case in any of info's window prompt's.  >  I thought the prob. may have been due to my Sun window mgr.  >  (Openlook) being incompatible with the AIX Motif application >  but I tried it under TVTWM also.  Same result. >   >  So this is presumably an X11 key definition problem between  >  workstations - but my system admins. feign ignorance. >   >  What do I need to do the be able to type lower case into  >  this remote AIX motif app. from within my local Openlook >  window manager? >   >   >--  >------------------------------------------------------------------- >Wayne Long - OE215              Internet: wcl@risc.sps.mot.com >6501 William Cannon Drive West  UUCP: cs.texas.edu!oakhill!risc!wcl >Austin, Texas 78735-8598        Phone (512) 891-4649  FAX: 891-3818  I have had the exact same problem, but have not figured out a solution. I run a PC with Linux (free-unix) with X11r5 and OpenWindows 3.0, I would appreciate any solutions.  ewz --
In article <1993Apr30.120234.15637@cci.dk> hwn@cci.dk (Henrik W. Nielsen) writes: > > >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 [stuff deleted] >   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 ? > >  The colormap element of SetWinAttrib must be a legitimate TrueColor colormap. So, use XCreateColormap() with the proper visual and use it in SetWinAttrib (and don't forget the mask!).  And the inevitable caveat: I usually use widgets, setting the visual and colormap resources rather than direct X routines, so I could be wrong. But, I think this is the general difficulty.
I am writing a X-based dosemu which requires XKeyReleasedEvent.  I found the keycode of XKeyReleasedEvent is wrong.   If I run the program on a Linux host(XFree1.2) with  DISPLAY set to the local Linux and to the Sun host (X11R5), the two keycodes from the two Xservers are different.  Of course, the keycode of XKeyPressedEvent is O.K.  Can anybody verify this ?     Did I do anything wrong ?  	 Thanks.