waashk/20ng huggingface dataset:
In article <1t851o$mrd@ux1.cso.uiuc.edu> kerr@ux1.cso.uiuc.edu (Stan Kerr) writes: >benj@ossa.hq.nasa.gov (Benjamin Jones) writes: > >>I've run into a bit of a snag while trying to get Mac X up and running and would appreciate >>  >> stuff deleted >> >>are NOT on my local net here, but the above problem holds true for non-local Suns as well. > >I tried to send this as private mail, but mail to benj@ossa.hq.nasa.gov was >rejected, so here it is:  same here  > >Here is an extract from the README file that comes with MacX: > >Users of remote commands with Sun machines may find that their remote commands  >appear to do nothing and there is no output from the Sun machine.  This is due  >to a feature of the Sun rexecd network daemon which quietly disconnects from  >requesting machines that are not known to the Sun|s network address (/etc/hosts >or NIS hosts) database.  To successfully use remote commands with a SunOS-based >machine, there must be an entry in the network address database for the  >Macintosh which is running MacX. >  I received similar information/advice about what appears to be the same problem  Benjamin has (and I still have). NIS has all the information about the Macs (I even put explicit entries in /etc/hosts to no avail). Monitoring with 'snoop' on my Classic, the initial REXEC packet is sent to the the SUN, which sends something to the correct Mac, but nothing appears at the Mac. 'rexecd' is number one suspect, but it's more suble than the README suggests and I haven't yet looked into it further.  >--  > >Stan Kerr     >Computing & Communications Services Office, U of Illinois/Urbana >Phone: 217-333-5217  Email: stankerr@uiuc.edu    --  callum.downie@brunel.ac.uk Faculty of Technology, Brunel University, Uxbridge, UB8 3PH, UK +44 895 274000 x2730
Anyone able to get xwd to dump anything that is not black & white?  My text is not black....all I get is window borders.  I tried the -xy option only because I didn't know what it did.....still no effect.
> Subject:  68)  What is the current state of the world in X terminals? > > Jim Morton (jim@applix.com) posts quarterly to comp.windows.x a list of > manufacturers and terminals; it includes pricing information.  Can somebody send me a copy of this faq?  Thanks alot!
Hi,  I'm trying to get my program to monitor resize/position events, so that when the program exits, I can save the last known geometry in  some sort of 'preferences' file.  I am adding an event handler for StructureNotify to the TopLevelShell:   XtAddEventHandler(topLevel,StructureNotifyMask,False,configureCB,myData);  This works fine, and my callback is called whenever the window is resized or repositioned using the window manager (mwm).  However, when I'm just resizing the window, using any resize handle on the window manager resize decoration, the x and y are set to zero in the XEvent passed to the event handler callback.  I'm accessing the xconfigure structure, like the X11 manual says.  (xev->xconfigure.x, xev->xconfigure.y). The width and height memebers are correct.  When I reposition the window, using the window manager, the xevent's xconfigure structure contains all the correct x, y, width, height member settings.  Q1: Anybody know why, when just resizing, the x and y are being set to zero?  Q2: Any other way to handle detecting and saving geometry changes?  I've tried using XtGetValues() on the topLevel widget when exiting my application (before destroying any widgets) and all I get is garbage values for the x, y, width, height resources.  Thanks --
Hello X'ers  I have a problem: I am not able to create a window with 24 bit planes. The following code illustrates the problem:  #include <stdio.h> #include <X11/Xlib.h> #include <X11/Xutil.h>  main() {         Display *display;         Window win;         XVisualInfo vinfo;         Colormap colormap;         XSetWindowAttributes attributes;         XEvent event;         Status status;          display=XOpenDisplay(NULL);         status=XMatchVisualInfo(display,DefaultScreen(display),24,TrueColor,                 &vinfo);         if (!status){                 fprintf(stderr,"Visual not found\n");                 exit(1);         }         colormap=XCreateColormap(display,DefaultRootWindow(display),                 vinfo.visual,AllocNone);          attributes.colormap=colormap;          win=XCreateWindow(display,DefaultRootWindow(display),0,0,100,100,                 0,24,InputOutput,vinfo.visual,CWColormap,&attributes);         XMapWindow(display,win);         for (;;){                 XNextEvent(display,&event);         } }  I tried this with an SGI with 24 plane TrueColor server, and with an HP 9000-700 24 plane DirectColor server (with the obviously neccessary change), both running X11R4. On the client side, I have tried with X11R4 Xlib on HP 9000-700 and DECstation, and with X11R3 Xlib on DECstation. All the combinations gave BadMatch error on the CreateWindow request.  As far as I can tell from the manual, the only attribute which may give a BadMatch, is the colormap, if it belongs to a wrong visual. But the visual was correctly matched, as I did not get the error message. What am I doing wrong? For information I can tell that xwud aborts with the same error.                                     Karsten --
Hi.  I've looked in the FAQ and the O-Reilly books and was unable to find (an easy) means of finding out the state of state keys such as CapsLock and NumLock.  I can certainly track the events inside of my window and set a boolean there, but what if CapsLock is pressed in another window?  I looked at XGrabKey() and decided it was definitely NOT what I wanted to do.  I could find no convenience function to tell me that information.  My question is this:  Is there a means of determining what the state of CapsLock and/or NumLock is?  An even more pointed question: Is there an easy means of making an X keyboard act like a PC keyboard?  ie, CapsLock is active, and the user presses shift-a, I'd like to get a lowercase 'a' instead of 'A'.  Any input is greatly appreciated. Please respond via email.  I will repost a summary of my findings.
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...
John Chambers (jc@minya.UUCP) wrote: : It seems silly, but while I've located things like tgif that can  edit : gif  files, and various tools to convert to/from gif format, I haven't : been able to locate a program that just opens a window and displays  a : gif file in it.  I've looked thru various faq files, also to no avail. : Is there one lurking about in some  archive?   Nothing  sophisticated; : just "show the pretty picture"?
At the moment, I am using a Sun 3/80 (cgfour/bwtwo) with SunOS 4.0.3 and OpenWindows 2.0.  This configuration is slow and I can't run all the programs on OW2. For example, when I start a mailtool from OW3 and display it on my OW2 display, I can't open the compose window.  I want to install an X11R5 or X11R4 server on my Sun and use xdm (yes, we have xdm already running for other X-Terminals) to log in and start the X programs.  Is there a "ready to go" binairy of the X11 server for my configuration (I have read something about Xsun), or must I compile the X11 stuff by myself?  Any help is welcome  	V. Smeets
Greetings, 	We have a network of ~20 Sun Workstations, running SunOS 4.1.1 and Openwindows 3.  7 of these are Sun 3's that we have modified to run Seth Robertson's xkernel image, effectively turning them into xterminals.  We use xdm (X11R4) to manage the displays.  	When we had 3 xkernel machines, things worked fine, but when we installed 4 more last weekend, we appear to have found a weakness. With 7 clients to 1 Sparc 2, the Sparc 2 window manager is eventually getting munged.    	Let me try to be precise:  The user sitting at the machine that does all the actual processing for these xterminals is having control of his keyboard and screen yanked away.  (When this was the department chair, it was kind of cute).  We poked at xdm for a few days and are satisfied that it is not at fault.  Our current theory is that olwm (the Sun version) was not meant for running multiple copies on one machine (which is what happens -- the console user runs olwm, and every xterminal logged in has olwm running on the xterminal server).   	Has anyone had any prior experience with this sort of behavior? 	Can anyone shoot obvious holes in this theory? 	How about obvious gimmes? 	And, of course, any ideas on how to solve it?  	Any ideas are greatly appreciated.
Hi,  I just compiled the X11R5 distribution for a Sun3/SunOS4.1.1.  I also compiled the public domain xview3 (with olwm) distribution.  I have some old 3rd-party application binaries that are SunView programs.  How do I get them to work under xview3 and olwm?  (I tried using the OpenWindows version 2 "svenv" program, but it did not work.)  I do not have news access....that's why I am mailing this directly.  Also, is there an email alias where my questions can get to comp.windows.x or comp.windows.open-look?  PLEASE RESPOND TO fwr8bv@fin.af.mil  Thanks, Shash
In article 1r3fe2INN10d@fbi-news.Informatik.Uni-Dortmund.DE, markhof@ls12r.informatik.uni-dortmund.de (Ingolf Markhof) writes: |>In article <1quh74$r71@irz401.inf.tu-dresden.de>, beck@irzr17.inf.tu-dresden.de (Andre Beck) writes: |>|>  |>|> 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. |>It works on xterms. At least I have no problem with it. - Back to the original |>question: |> |>I usually start new xterms by selecting the proper menu entry in my desktop |>menu. Here is a sample command: |> |>	xterm -sl 999 -n ls12i -title ls12i -e rlogin ls12i & |> |>The -n and -title options give the text for window and icon. As I use the |>tcsh (a wonderful extension of the csh), I can do the following: |> |>I have an |> |>	alias precmd echo -n '^[]2\;${HOST}:$cwd^G' |> |>in my ~/.tcshrc. This is a special alias for tvtwm. It is executed each time |>before printing the prompt. So, I have the current host name and the current |>directory path in the title bar of my xterms.  Have you gotten an answer yet?  Using your variables, this is what I would do: 	xterm -T "$HOST - $LOGNAME" -n "$HOST"
In article <1993May18.150655.23645@viewlogic.com> josh@viewlogic.com (Josh Marantz) writes: >I have an application that wants to walk the server window hierarchy, >looking for a window with a specific property.   >I think what happens is that XQueryTree gives me an array of n >children, but by the time I get to the nth child window, it has been >destroyed.  Then I get a BadWindow error, and my application exits. > >How can I make this robust?  I've thought of the following:  ... >2.      Set up an X error handler that longjmps back to where I >        made the offending call.  Is this safe?  Do I have to >        longjmp, or can I just return?  BadWindow is an X protocol error.  If you write a custom error handler which does not do "exit(1);" the error handler will return and let your program carry on.  So, using a XSetErrorHandler is the way to go, but never mind the longjmp.   >3.      Register for DestroyNotify on all the windows returned from >        XQueryTree.  ...
Hi, 	I need xrn and xarchie for the HP's (9000/730, version 8 OS), either in the source form or, (preferably) in executable form. Please suggest where I can find this,  	Send e-mail to: rao@cse.uta.edu Thanks in advance, Rao.
I caught up a mailmessage from an NCD guy, who stated that Tek might be quitting it's X terminal activities and would be looking for an interested buyer. Since the source of this message is NCD, THIS MIGHT ONLY BE NASTY GOSSIP !!! Can anyone say more about this??  Dick.
Anyone know how an application can retrieve the name of the font from an application given an XFontStruct *?  Would XGetFontProperty work if I passed XA_FONT_NAME?  anyone know details of this?  Thanks in advance. Brian
I have some brand new copies of the following books for sale. Some are  down-rev, don't know which or by how much: look to # of pages, copyright  date, etc. for clues.    "PostScript Language Reference Manual", Adobe Sys. Inc., Addison-Wesley,         copyr. 1986, printed 1990. 299 pages. $22.95.    "PostScript Language Tutorial and Cookbook", as above, 243 pages, $16.95  I'll sell the above two books as a set for $15 postage paid w/in US.    "OpenLook GUI Functional Specification", Sun Micro, Addison-W, copyr. 1989,         564 pages, $34.95.    "OpenLook GUI Application Style Guidelines", 388 pages, $24.95.  I'll sell the above two books as a set for $15 ppd. w/in US.     O'Reilly & Associates Definitive Guides to the X Window System, copyr.    1990, "for version 11", "revised and updated for Release 4":    Vol. 0: "X Protocol Reference Manual," 498 pages $30   Vol. 1: "Xlib Programming Manual," 672 pages $34.95   Vol. 2: "Xlib Reference Manual," 792 pages $34.95   Vol. 7: "XView Programming Manual," 640 pages $30  I'll sell the above four books as a set for $35 ppd. w/in US  Due to the high hassle/$ ratio I am asking for pre-payment by check. I'll  be queing cashing, packing, and shipping so be prepared to wait 3 weeks  for your books to show up.   If you'd like to pick them up, I live in San Francisco. Same prices though.   E-mail me if you are interested. Thanks!
Thanks to Bruce Barnett, who recommended xvttool, and Bernward Averwald and Liam Quin, who recommended modifying .Xdefaults to get the desired behavior for a *class* of xterms.  In xvttool, simply create a key file that looks like: "a"	"A" "b"	"B" "c"	"C" ... and specify said key file on the command line.  This will translate any input into any other (in my case, lo-case to up-case).  Works great, and you get a customizable button-pad on the right or left side.  To use an xterm solution, add to your .Xdefaults: capxterm*VT100.Translations: #override \    <Key>a: string("A")\n\    ...  or: capxterm.vt100.translations: #override \n\         <Key>a: insert-string(A) \n\         <Key>b: insert-string(B) \n\         ...  and invoke as: xterm -name capxterm  Thanks loads!
In article <5914@daily-planet.concordia.ca> christy@cs.concordia.ca (Christy) writes: > >Hi, >     I just got myself a Gateway 4DX-33V and trying to configure >X11R5 for it.  Has anyone done this before ?  More specifically, >I need a correct Xconfig file entry that is set up for my  >graphics card and monitor.  I have a 15" Color CrystalScan 1572FS monitor >and a VESA LOCAL BUS ATI Ultra Pro with 1MB VRAM video card. >Thanks in advance.  Didn't your operating system come with X?  SysV usually does as far as I know.  You'd do best to contact the people from whom you bought ths OS.  If you're running Linux or something similar, good luck. :) > >Please send replies to christy@alex.qc.ca > > >Christy
I have an applicationShell which uses a colormap created with XCreateColormap() and uses all of the colors available for my 8-bit display.  When I move the cursor over the window I get the "Technicolor Effect" - which is fine.  Basically, my program works.  My problem/question is: When I popup a dialogShell to prompt the user for some input I want the XmNdialogStyle to be set to XmDIALOG_PRIMARY_APPLICATION_MODAL.  The result is that if my cursor is over the dialogShell I get my colormap, but if the cursor is over the applicationShell (or any window other than the dialogShell) I get the default colormap.  But I'd like it so that if my cursor is over _any_ window of my application, I get my colormap.  Any suggestions?  Thanks,
Has anyone written a device driver to use the Ascension bird with XWindows ?          __                        (_   / /  o_   o  o |_      __)/(_( __) (_(_ /_)| )_
In article <C6rsJF.EM0@ccu.umanitoba.ca>, roholdr@ccu.umanitoba.ca (R Ross Holder Jr) writes: |>  |> Ever since I started to use Xwindows (which is to say recently) I've |> accumulated a few questions about X-applications.  Three examples follow: |>  |> 1) It was recently mentioned on comp.os.linux that there exists a post- |>    script viewer.  I am interested in this and any X-editor that is an |>    improvement on Xedit (which I find annoying).  Try to get axe - It's a wonderful X based editor and much simpler to use than emacs what is a overkill. Of course, emacs is no editor but a religion.  |> 2) At one point I was the proud owner of an Amiga (and have since upgraded |>    to a '386-33).  Workbench (the point-and click interface) used ".info" |>    files to store the data for icons associated with applications on a given |>    volume.  I have noticed no such architecture anywhere under linux; how |>    does Xwindows associate icons with applications?  Can one edit icons or |>    generate new ones for applications somehow?  (If it makes a difference |>    I'm running 'twm'.)  1) Don't call going from an Amiga to a IBM 'upgrade' 2) The Amiga Workbench did the job of a Desktop manager, and there is no    really amazing good X Desktop manager in the Public Domain.    (I'm currently writing one... but it's in very early stage) 3) xdtm may be a medium good replacement. 4) X associates icons with nothing. A number of X Window Managers associate    icons with windows, in a way to ease window management.    But this has nothing to do with icons of a Desktop Manager application. 5) The tool bitmap is there for simple icon drawing.  |> 3) I've noticed some people have somehow discovered a way to display .GIF |>    (or some kind of picture files) in the background, either replacing or |>    overlapping some the usual grey background employed by Xwindows.  I heard |>    this was done using some application, but I don't recall what it was.  xv -root -max -quit whatever-image-file
In article <9304191540.AA09727@sparc1.jade.com>, graham@sparc1.ottawa.jade.COM (Jay Graham) writes: |>  |> I am developing an X (Xt,Xm) application that will include a graphics window |> of some sort with moving symbols among other things.  A pure X application |> could be implemented with Motif widgets, one of which would be an  |> XmDrawingArea for drawing with Xlib.  But I would like to take advantage of |> the Graphics Library (GL) available on our IBM RS/6000 (SGI's GL i believe). |>  |> Is it possible to mix X and GL in one application program? |> Can I use GL subroutines in an XmDrawingArea or in an X window opened by me |> with XOpenWindow?  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.  |> I have never used GL before, but the doc on GL winopen() says that the first |> time winopen() is called it opens a connection to the server.   Also, most of |> the GL calls do not require a Display or GC, unlike most X calls.  From this |> initial information it appears that X and GL cannot be mixed easily.   Is this |> true?  The GlxMDraw widget works pretty well.  OpenGL will be an improvement.  |> Does PEX (graPHIGS?) have the same functionality of GL?  I think GL is a little easier to use and a little more powerful, but that's just an opinion.  Mileage may vary.
# # I remember seeing something in the X distribution mentioning support # for a Tektronix terminal in an X server.  Is this accurate?  #  Xterm supports 401x emulation.   Patrick L. Mahan  --- TGV Window Washer ------------------------------- Mahan@TGV.COM ---------
Hello,   Our application requires us to capture keypad presses for all windows in a number of applications.  We are trying to use action translation tables to implement this.  We have only succeeded by assigning the translation table to every individual widget in all windows in a single application.  The Xt calls we make are included below.  It would be much more convenient if we could assign the translation table to a class of widgets rather than individual widget instantiations, and also accomplish it for MULTIPLE applications.  If someone could describe how do this it would be greatly appreciated.  Platform: Sun Sparc w/ X11R4 & Motif 1.1.4  ***********************************************************************  static XtActionsRec actionsTable[] = {         {"up", do_up},         {"right", do_right},         {"middle", do_middle},         {"left", do_left},         {"down", do_down}, 	{"bye", quit}, };  static char defaultTranslations[] =  		"<Key>KP_8: up() \n\ 		 <Key>KP_6: right() \n\ 		 <Key>KP_5: middle() \n\ 		 <Key>KP_4: left() \n\ 		 <Key>KP_2: down() \n\ 		 <Key>KP_1: bye()";   XtTranslations	trans_table, trans_table2;  (. . .)      XtAddActions(actionsTable, XtNumber(actionsTable));     trans_table = XtParseTranslationTable(defaultTranslations);      widget = XtCreateManagedWidget("msg", xmPushButtonWidgetClass, 		form, wargs, n);      XtOverrideTranslations(widget, trans_table);
Wasn't the shareware fee a "suggestion" by John? Is so then it's up to the individual to make the choice whether or not to honour it and part with money.  Personally if I was in his position I would do exactly the same thing, John has obviously put in lot of time and effort into xv and why shouldn't he receive some money for it.  Just my pennies worth  (Keep up the good work John)   	Julian
In article <1993Apr20.101306.21536@def.bae.co.uk>, paul@def.bae.co.uk (Paul Byrne) writes: |> Can someone please give me some pointers to setting up imake in a SUN |> OPENWINDOWS |> enviornment ? I've checked through all the documentation but can not |> find any clues.  Sun's OpenWindows imake is broken. I suggest installing imake-pure, MIT's X11R5 imake. You can get it from ftp.germany.eu.net in file /pub/X11/misc/imake/imake-pure.tar.Z (117807 Byte).  --    Dipl.-Inform. Rainer Klute      I R B :  immer richtig beraten   Univ. Dortmund, IRB   Postfach 500500         |)|/    Tel.: +49 231 755-4663 D-W4600 Dortmund 50       |\|\    Fax : +49 231 755-2386
If a X-window package exists, that runs om PC, DOS (and maybe MS-windows) I would be very happy to hear about it.  Thanx in advance.