Unnamed: 0
int64 0
11.3k
| label
stringclasses 20
values | content
stringlengths 6
66.5k
|
---|---|---|
3,000 |
comp.windows.x
|
jb sgihbtn sierra com re xlib for ms windows not an xserver i think you may find that either quarterdeck deskview x or hummingbird exceed provide an xlib for dos perhaps they also have an xlib for ms windows it s a possibility yes exceed has windows version have ported some games like tetris works fine si c est vrai ce serait bien de se le procurer car a ce moment la le portage xt suis je en train de perdre mon temps avec la toolkit c marc bassini marc ccv fr marc cnam cnam fr computers communications visions c v bd haussmann paris france phone fax
|
3,001 |
comp.windows.x
|
how do you find a window id given its name i want to do the equivalent of an xwininfo name via a call or set of calls in xlib i need to map a windows name to its id it s probably easy but i ve only been programming in x for a little while i ve looked in the o reilly books and didn t find it and i also checked the faq and couldn t find it email to one of the following addresses and i ll post a response if it seems reasonable to do so guy guy l babineau virginia edu smarine uucp glb j sperry marine inc compuserve com
|
3,002 |
comp.windows.x
|
re waiting for a specific event callback in article charon cwi nl huub cwi nl huub bakker writes deleted in plain motify using a dialog in line like this simply isn t done you need to set callbacks from the buttons widgets in your dialog and let the callback routines do the work in the callbacks you can then carry on the flow of logic xview from sun actually supports this very neatly with a notify box which can return a status in line it does actualy ease coding but goes against the event driven style of an application summary redesign required delta hedging a long option position also generates a short gamma exposure and any return generated from delta hedging options can be thought of as compensation for assuming gamma risk radioactive investment management whew
|
3,003 |
comp.windows.x
|
re circular motif widgets if you re willing to do a little work you can make drawnbuttons do what you want more or less one of my colleagues here at ge crd has done just that in our internal lymb system we have a matrix transform class that makes it easy to compute a series of dial positions from a single set of vectors each set of vectors is then drawn into a pixmap clicking the button advances the knob s state and changes to the next pixmap in the sequence using drawnbuttons obviously still constrains you to taking up a rectangular portion of the parent widget but that s normally not a big shortcoming you can make things look circular enough skip montanaro crd ge com why can t x be this easy me after learning about dlopen
|
3,004 |
comp.windows.x
|
re creating bit windows on bit display how stolk fwi uva nl writes a problem occurs when i try to create a window with a visual that is different from the visual of the parent which uses the default visual which is tc you ve got to set border pixel in your window attributes the default is copyfromparent which gives the badmatch do this unsigned long valuemask if border width is non zero you d better alloc a colour from cmap rather than use any old pixel value also use valuemask it makes the code more obvious attr colormap cmap attr border pixel valuemask cwcolormap cwborderpixel win xcreatewindow dpy defaultrootwindow dpy width height border width see comment below depth inputoutput class vinfo visual visual valuemask attr a note on border width your code looked like this win xcreatewindow dpy defaultrootwindow dpy width height copyfromparent border width depth inputoutput class vinfo visual visual cwcolormap attr border width set to copyfromparent works but doesn t make sense border width should be an unsigned int you get away with it because copyfromparent is define ed to be zero in x h if it happened to be defined as you d get a very interesting looking window gerard o driscoll gerard odriscoll dps co uk du pont pixel systems ltd
|
3,005 |
comp.windows.x
|
re xvideo information the product you mention is xvideo from parallax graphics in santa clara california us you can read our product review in the jan feb issue of the x journal that issues focuses on multimedia and x in which there are also a number of other useful items including an article on video in an x window fax our new york office at for information on obtaining back issues steve steven mikes editor the x journal eastbrook rd martinsville nj office fax serving the x window system community
|
3,006 |
comp.windows.x
|
re xlib for ms windows not an xserver another company congruent corporation of new york city has also ported xlib xt and motif over to ms windows nt which provides full client development for x applications in an nt environment if you are porting interviews over to ms windows i thought interviews was a c toolkit with c classes if that is so how can it be built on xlib unless the classes are calling xlib functions steve steven mikes editor the x journal eastbrook rd martinsville nj office fax serving the x window system community
|
3,007 |
comp.windows.x
|
need shading program example in x do anyone know about any shading program based on xlib in the public domain i need an example about how to allocate correct colormaps for the program appreciate the help howard
|
3,008 |
comp.windows.x
|
re system file in tmp in article c jjig doy acsu buffalo edu lusardi cs buffalo edu christopher lusardi writes what is the directory x unix for in tmp when i start x it is created by the system this directory wasn t created by root and it contains an empty file x that is owned by me it s the unix domain socket local connection to your xserver try to rm it o o o brain inside o o o o andre beck abpsoft mehl andre beck irs inf tu dresden de o o o
|
3,009 |
comp.windows.x
|
re title for xterm in article c ol b 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 logname host g host g endif this is not a feature of the window manager but of xterm 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 o o o brain inside o o o o andre beck abpsoft mehl andre beck irs inf tu dresden de o o o
|
3,010 |
comp.windows.x
|
x server problems hello i m trying to get x r running on my pc and ran into the following error message when trying to start the xserver setting tcp so dontlinger option not supported by protocol x version x windows system protocol version revision vendor release fatal server error no screens found giving up xinit software cased connection abort errno unable to connect to x xserver does anyone know what this error means has anyone experienced this problem help will be much appreciated thanks in advance please send replies to christy alex qc ca christy
|
3,011 |
comp.windows.x
|
solution why do i need xrdb m when xdefaults unchanged the short answer seems to be i don t the particular package wscrawl seems to reset all its defaults if any of them are missing from the xdefaults file once i added the missing ones to the xdefaults file the problem goes away kevin kevin weinrich computer sciences corp kbw helios ath epa gov
|
3,012 |
comp.windows.x
|
icon box dear xperts i want to place a specific group of icons in an icon box and have my other icons appear outside of the box does anyone know if there s a way i can do this i m using x r and motif thanks dbohdal jaguar ess harris com
|
3,013 |
comp.windows.x
|
what inexpensive monochrome x station can you recommend can someone recommend an inexpensive monochrome x station that is not pc software emulation based please tell me manufacturer model price and any other significant specs thanks gregg weber let it be open and bright like the sky gregg netcom com without taking sides with no clouds of concepts kun mkhyen klong chen pa
|
3,014 |
comp.windows.x
|
xtranslatecoord problem it seems like xtranslatecoord doesn t work the way i expecting it right after performs a xmovewindow i want to know the absolute window position with respect to the root window to get this info i do a xtranslatecoordinates but the abs x and abs y aren t right does anybody know of a way to find out this information thanks please e mail to hsteve carina unm edu if it s possible steve o o hsteve hydra unm edu hsteve carina unm edu just say no to vms
|
3,015 |
comp.windows.x
|
re dec pixmap size in article igd fhg de haase igd fhg de helmut haase goebel writes if i try to create a pixmap larger than the size of my screen the program will terminate displaying the message x error badalloc insufficient resources many x servers supporting graphics accelerators do not allow the creation of pixmaps exeeding the size of the screen one workaround is to create several smaller pixmaps and add the results ken lee klee synoptics com
|
3,016 |
comp.windows.x
|
re circular motif widgets in article bjg acsc com dev hollywood acsc com writes will there be any support for round or circular widgets in motif s next release i d love to have a circular knob widget which could be used instead of a slider how much support do you need i don t think there s anything that prohibits you from implementing such a widget though you will have to write your own versions of the functions that draw the d shadow and traversal highlighting ken lee klee synoptics com
|
3,017 |
comp.windows.x
|
re desqview x on a pc in article qtk rn picasso cssc syd tansu com au gpatapis boyd tansu com au writes in article 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 desqview x v suggested retail desqview x to other x systems v 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 actually info qdeck com is our customer service department if you have technical questions you can write to support 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 with megs of ram also the xwindows software in desqviewx really seems to like an et 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 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 i expect the limiting factor will be your server machine not the network itself to give you a real world example here at quarterdeck we have roughly people using dvx to talk to a bunch of unix boxes novell file servers and each other it s not too much of a load on our ethernet with maybe concentrators so you have people on each segment if you had a badly loaded net or the apps you wanted to run were very network intensive you could run into some slowdowns but the biggest problem would be the machine itself say you have a with plenty of ram and a fast hard disk and network card if you have people running programs off it you re going to see some slowdowns because you re now on effectively a mhz of course dvx will attempt to see if tasks are idle and make sure they give up their time slice but if you have working programs running you ll know it having said that if you can tweak the programs being run by adding in calls to give up time slices when idle and that sort of thing you could probably run people on a given machine before you started seeing slowdowns again this time from network bandwidth it all really depends on what the programs are doing ie you re going to see a slowdown from x bandwidth a lot sooner if your apps are all doing network things also quarterdeck office systems internet support tom bortels pricing ordering info qdeck com tech questions support qdeck com bbs fax compuserve go quarterdeck q fax from touch tone phone for technotes on demand
|
3,018 |
comp.windows.x
|
xview slider hi netters i m using sliders in my xview apps usually with editable numeric field but i seem to have no control over the length of this field in some apps it appears long enough to keep several characters in some it cannot keep even the maximum value set by panel max value as i understand panel value display length which controls number of characters to be displayed in text items doesn t work in the case of slider despite the fact that panel h contains the following bit panel multiline text item panel numeric text item panel slider item and panel text item attributes panel notify level panel attr attr enum panel value display length panel attr attr int which gives a hint that this attribute can be used for sliders but setting this attribute gives nothing and xv get ting this attribute gives warning bad attribute and return value can someone share his experience in managing sliders in xview with me and clear this problem any help is very much appreciated yuri yuri uk ac hw phy
|
3,019 |
comp.windows.x
|
mysterious beeping article crossposted from hp windows author was andy defaria posted on mon apr gmt for some reason the following code causes my x application to beep whenever i intercept a keystroke and change it s meaning the intent of this code it to allow date fields the following special keys tt insert today s date bump day up by one bump day down by one i hardcoded some dates for this example perhaps i shouldn t be using an xmtext field for this for some reason the following code beeps whenever any of the special keys of tt are hit why the idea of this code is to interpret these keys having the special meaning implied by the code i would like to get rid of the beeping but as far as i can tell i m not doing the beep and am at a lose as to understanding who and why the beeping is occuring include x intrinsic h include xm xm h include xm rowcolumn h include xm mainw h include xm text h widget toplevel widget mainwindow widget mainpane widget datefield xtappcontext application void marktoday widget date char todaysdate xtvasetvalues date xmnvalue todaysdate null marktoday void marktomorrow widget date char tomorrowsdate xtvasetvalues date xmnvalue tomorrowsdate null marktomorrow void markyesterday widget date char yesterdaysdate xtvasetvalues date xmnvalue yesterdaysdate null markyesterday void datekeys widget callingwidget widget date xmtextverifyptr callbackdata capture the keys tt can change their behaviour if found set doit to false so x won t interpret the keystroke switch callbackdata text ptr case t case t marktoday date callbackdata doit false return case case markyesterday date callbackdata doit false return case case marktomorrow date callbackdata doit false return default return switch datekeys void main cardinal argc char argv initialize xt toplevel xtvaappinitialize application application null argc argv null null create the toolface mainwindow xtvacreatemanagedwidget mainwindow xmmainwindowwidgetclass toplevel null create a mainwindow mainpane xtvacreatemanagedwidget mainpane xmrowcolumnwidgetclass mainwindow null create a small text area datefield xtvacreatemanagedwidget datefield xmtextwidgetclass mainpane xmntopattachment xmattach form xmnrightattachment xmattach form xmncolumns null set modifyverifycallback to the datekeys callback xtaddcallback datefield xmnmodifyverifycallback xtcallbackproc datekeys xtpointer datefield realize the toplevel xtrealizewidget toplevel go into the xtmainloop xtappmainloop application main i swear by my life and the love of it that i will andrew defaria never live for the sake of another man nor ask hewlett packard another man to live for mine california language labs john galt defaria cup hp com i swear by my life and the love of it that i will andrew defaria never live for the sake of another man nor ask hewlett packard another man to live for mine california language labs john galt defaria cup hp com
|
3,020 |
comp.windows.x
|
re ms windows vs motif gui design differences was re future of unix 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 temp do not use v mail x and object guru tempory office b jet propulsion lab m s oak grove drive pasadena ca what s the earliest possible date you can t prove it won t be done by tom demarco
|
3,021 |
comp.windows.x
|
re looking for david e smyth zvi nynexst com zvi guter writes the author of wcl or the current care taker his is the only name i found in the dist tree i have tried to mail him at david smyth ap mchp sni de but the mail bounced back here i am david smyth david jpl devvax jpl nasa gov senior software engineer temp do not use v mail x and object guru tempory office b jet propulsion lab m s oak grove drive pasadena ca what s the earliest possible date you can t prove it won t be done by tom demarco
|
3,022 |
comp.windows.x
|
macro recorder player for x is there aything available for x similar to quickeys for the macintosh something that will allow me to store and playback sequences of keystrokes menu selections and mouse actions directing them towards another application if so could someone send me information on its availability and if not how hard do we think it might be to send input to other x applications and hopefully deal with their responses appropriately if an application is going to take a few seconds to process i probably have to wait for it to complete before sending another command thanks david
|
3,023 |
comp.windows.x
|
monthly question about xcopyarea and expose events nd posting of the question that just doesn t seem to get answered suppose you have an idle app with a realized and mapped window that contains xlib graphics a button widget when pressed will cause a new item to be drawn in the window this action clearly should not call xcopyarea or equiv directly instead it should register the existence of the new item in a memory structure and let the same expose event handler that handles regular expose events e g window manager driven exposures take care of rendering the new image using an expose event handler is a proper way to do this because at the time the handler is called the xlib window is guaranteed to be mapped the problem of course is that no expose event is generated if the window is already visible and mapped what we need to do is somehow tickle the window so that the expose handler is hit with arguments that will enable it to render just the part of the window that contains the new item what is the best way to tickle a window to produce this behavior
|
3,024 |
comp.windows.x
|
seeking user experience with x based test tools does anyone have any experience using xrunner capbak x or prevuex as an automated test tool for x please email me directly with opinions both positive and negative ann freeman siemens industrial automation inc johnson city tn aff tijc uunet uu net
|
3,025 |
comp.windows.x
|
drawing lines inverse xor i m trying to write some code that lets me draw lines and do rubber band boxes in motif x i m running on an bit display for which i ve created a colormap and am using almost all of the colors i want to draw the lines in a drawing area widget a widget in which i m displaying a bitmap using xputimage if doesn t matter if the lines i draw interactively stay around when the window is refreshed currently to draw interactively i begin with drawindex is an colortable index i reserve for the foreground my default bg color is the color index for the background of my image palette colors drawindex red palette colors my default bg color red palette colors drawindex green palette colors my default bg color green palette colors drawindex blue palette colors my default bg color blue xstorecolors mydisplay my cmap palette colors drawindex xflush mydisplay xsetfunction mydisplay gc gxxor xsetforeground mydisplay gc drawindex then to draw i do xdrawline mydisplay xtwindow drawingarea gc x y x y xflush mydisplay and when i m all done to return things to normal i do xsetfunction mydisplay gc gxcopy what i d like to happen is for the lines i draw to be the inverse of whatever i m drawing over instead what happens is i get white lines if the lines are over a white background nothing shows up if the lines are over a black area nothing shows up it s very strange but the gxxor function seems right since if i do a rubber banding box it erases and redraws itself correctly ie not disturbing the underlying image any suggestions what i m doing wrong david
|
3,026 |
comp.windows.x
|
re monthly question about xcopyarea and expose events in article buzz apr lion bear com buzz bear com buzz moschetti writes nd posting of the question that just doesn t seem to get answered how can we resist a questions that says something like this the problem of course is that no expose event is generated if the window is already visible and mapped what we need to do is somehow tickle the window so that the expose handler is hit with arguments that will enable it to render just the part of the window that contains the new item what is the best way to tickle a window to produce this behavior if your expose event handler is truly intelligent about exposed rectangle information then you can use xcleararea to generate an expose event assuming that your background pixel is not none for the enclosing rectangle of your new item this is still not great since any other items contained within that rectangle will still be unnecessarily redrawn if your expose event handler simply redraws everything you ll be doing much more work than just drawing the new item on top of the existing scene mike yang silicon graphics inc mikey sgi com
|
3,027 |
comp.windows.x
|
how to put rpc in hp x motif environment hi has anybody implements an rpc server in the hp xwindows in sun xview there is a notify enable rpc svc call that automatically executes the rpc processes when it detects an incoming request i wonder if there is a similar function in hp x motif that perform the same function any help is appreciated nui chan nchan ctr columbia edu
|
3,028 |
comp.windows.x
|
mix gl with x xlib xt mwm 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 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 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 does pex graphigs have the same functionality of gl environment aixwindows x r motif gl is available aix sys v ibm rs thanks in advance jay graham jade simulations international corp colonnade road suite nepean ontario canada x graham ottawa jade com
|
3,029 |
comp.windows.x
|
drawing an abstract graph i am looking for software to draw a graph i want to just give it a list of nodes and edges between the nodes and have the program come up with some reasonable positioning of it thanks in advance dan aronson dan think com thinking machines corporation
|
3,030 |
comp.windows.x
|
re monthly question about xcopyarea and expose events excerpts from netnews comp windows x apr monthly question about xcop buzz moschetti bear com a button widget when pressed will cause a new item to be drawn in the window this action clearly should not call xcopyarea or equiv directly instead it should register the existence of the new item in a memory structure and let the same expose event handler that handles regular expose events e g window manager driven exposures take care of rendering the new image hmmm clearly depends on your programming model it is not at all forbidden to draw outside the context of an expose event certainly any internal data structures should be maintained such that the visual appearance would be maintained properly whenever an expose event happens to be generated this doesn t preclude drawing immediately after updating the datastructures though rob
|
3,031 |
comp.windows.x
|
wanted critiques on multi windowing system toolkits any pointers to articles or personal opinions critiquing user interface toolkits that operate across many windowing systems e g x ms windows macintosh you know open interface xvt aspect if you reply with your opinion please briefly state your choice and a short discussion why steve maher maher outland gsfc nasa gov steve maher voice flight dynamics division maher kong gsfc nasa gov nasa goddard space flight center
|
3,032 |
comp.windows.x
|
re how to put rpc in hp x motif environment in article apr sol ctr columbia edu nchan nova ctr columbia edu nui chan writes has anybody implements an rpc server in the hp xwindows in sun xview there is a notify enable rpc svc call that automatically executes the rpc processes when it detects an incoming request i wonder if there is a similar function in hp x motif that perform the same function i ve been using the xrpc package for about a year now i believe i got it from export ian hogg ianhogg cs umn edu
|
3,033 |
comp.windows.x
|
colormap question hi experts i m kind of new to x the following question is strange to me i am trying to modify the contents of the colormap but failed without reason to me i am using the following piece of code toplevel xtinitialize argv testcolor null argc argv dpy xtdisplay toplevel scr defaultscreen dpy def colormap defaultcolormap dpy scr if xalloccolorcells dpy def colormap true null cells color pixel cells color red color green color blue color flags dored dogreen doblue xstorecolor dpy def colormap color printf n try to allocate the color d as d d d color pixel color red color green color blue xquerycolor dpy def colormap color printf n after allocate the color d is d d d color pixel color red color green color blue else printf n error couldn t allocate color cells running output try to allocate the color as after allocate the color is after xstorecolor xquerycolor just returned the original value no failure error displayed but the contents of colormap are obvious unchanged i also tried to draw a line using the colors but it turned out to be the unmodified colors so what is my problem how to modify the contents of the colormap any help information will be appreciated please send mail to yang cs umass edu william email yang cs umass edu by the way the following is the environment i am using output of xdpyinfo it shows the default visual is pseudocolor version number vendor string decwindows digitalequipmentcorporation uws vendor release number maximum request size longwords bytes motion buffer size bitmap unit bit order padding lsbfirst image byte order lsbfirst number of supported pixmap formats supported pixmap formats depth bits per pixel scanline pad depth bits per pixel scanline pad keycode range minimum maximum number of extensions adobe dps extension dpsextension shape mit shm multi buffering xinputextension mit sundry nonstandard dec xtrap default screen number number of screens screen dimensions x pixels x millimeters resolution x dots per inch depths root window id x depth of root window planes number of colormaps minimum maximum default colormap x default number of colormap cells preallocated pixels black white options backing store yes save unders yes current input event mask xd d keypressmask buttonpressmask buttonreleasemask enterwindowmask substructureredirectmask propertychangemask colormapchangemask number of visuals default visual id x visual visual id x class pseudocolor depth planes size of colormap entries red green blue masks x x x significant bits in color specification bits visual visual id x class grayscale depth planes size of colormap entries red green blue masks x x x significant bits in color specification bits visual visual id x class staticgray depth planes size of colormap entries red green blue masks x x x significant bits in color specification bits visual visual id x class staticcolor depth planes size of colormap entries red green blue masks x x xc significant bits in color specification bits visual visual id x class truecolor depth planes size of colormap entries red green blue masks x x xc significant bits in color specification bits number of mono multibuffer types visual id max buffers depth x visual id max buffers depth x visual id max buffers depth x visual id max buffers depth x visual id max buffers depth x number of stereo multibuffer types
|
3,034 |
comp.windows.x
|
re macx color problem in article kul ux cso uiuc edu kerr ux cso uiuc edu stan kerr writes i have a peculiar color problem with macx apple s macintosh x server i d like to know if others have seen the same problem it s happened with the current version and with version when some types of client windows are displayed parts of the windows are in the wrong color if the window is moved slightly forcing the server to repaint it it is repainted in the correct colors it doesn t happen for xterm windows but has happened for graphic windows and with some motif clients i expect what is going on here is that your colormap is full and when the new application starts up it cannot add the colors that it needs to the colormap it therefore has to pick and choose from the existing colors this makes it look ugly until it s window gets priority then macx changes the colormap so that the selected app is getting the exact colors it wanted but now other applications are having to make do with it s colormap this is a problem with all color x servers or at least all color xservers i have seen when the demands of the applications exceed the size of the colormap my solution is usually to avoid colormap greedy apps and display applications where color is just icing on the cake in monochrome mode rather than in color if this is an option for the application doug shaker voice fax email dshaker qualix com mail qualix group s norfolk st san mateo ca qualix maintains a mailserver with information files and demo versions of products if you would like more information on the mailserver send an email to qfacts qualix com or uunet qualix qfacts the email should take the following form begin send help send index end name address phone
|
3,035 |
comp.windows.x
|
forcing a window manager to accept specific coordinates for a window hi i m trying to figure out how to make a window manager place the window where the create window command tells it regardless of what it may think is right my application has reason to know better i don t want to set the override redirect because i do want all the embellishments that the window manager gives i just want the wm to accept my choice of location i ve tried twm tvtwm and mwm and they are all uncooperative thanks ethan
|
3,036 |
comp.windows.x
|
re mysterious beeping in article c qtkk wp cup hp com defaria cup hp com andy defaria writes article crossposted from hp windows author was andy defaria posted on mon apr gmt for some reason the following code causes my x application to beep whenever i intercept a keystroke and change it s meaning the intent of this code it to allow date fields the following special keys tt insert today s date bump day up by one bump day down by one i hardcoded some dates for this example perhaps i shouldn t be using an xmtext field for this for some reason the following code beeps whenever any of the special keys of tt are hit why the idea of this code is to interpret these keys having the special meaning implied by the code i would like to get rid of the beeping but as far as i can tell i m not doing the beep and am at a lose as to understanding who and why the beeping is occuring code deleted from the xmtextfield man page during discussion of resources xmnverifybell specifies whether a bell will sound when an action is reversed during a verification callback you are setting doit to false in the callback and text field is beeping as it should to turn off this behavior set this boolean resource to false tom mcfarland tommc cv hp com
|
3,037 |
comp.windows.x
|
re monthly question about xcopyarea and expose events nd posting of the question that just doesn t seem to get answered suppose you have an idle app with a realized and mapped window that contains xlib graphics a button widget when pressed will cause a new item to be drawn in the window this action clearly should not call xcopyarea or equiv directly instead it should register the existence of the new item in a memory structure and let the same expose event handler that handles regular expose events e g window manager driven exposures take care of rendering the new image using an expose event handler is a proper way to do this because at the time the handler is called the xlib window is guaranteed to be mapped the problem of course is that no expose event is generated if the window is already visible and mapped what we need to do is somehow tickle the window so that the expose handler is hit with arguments that will enable it to render just the part of the window that contains the new item what is the best way to tickle a window to produce this behavior if i understand your problem correctly you want to have a way to send exposures to your manager widget when your app specific code draws xlib graphics on the window it sounds like you might want to send an exposure using xsendevent and specifying a region if you know the region you need to send the exposure generally you have the bounding rectangle of the objects you can use xcreateregion to create a region xunionrectwithregion to add the new object polygons to the region and then either use the region to clip your gc for the redraw or use xrectinregion to test which of your other objects need to be redrawn keeping in mind that the stacking order of overlapping objects affects how they look hope it helps brian dealy it not knowing where it s at dealy kong gsfc nasa gov that s important it s knowing uunet dftsrv kong dealy where it s not at b dylan brian dealy it not knowing where it s at dealy kong gsfc nasa gov that s important it s knowing uunet dftsrv kong dealy where it s not at b dylan
|
3,038 |
comp.windows.x
|
ask the ftp address of kerberos version draft rfc
|
3,039 |
comp.windows.x
|
how do i find my appcontext is there an xt call to give me my application context i am fixing up an x motif program and am trying to use xtappaddtimeout whose first argument is the app context what call can i use to give me this value thanks todd greene masc ucssun sdsu edu
|
3,040 |
comp.windows.x
|
re xcopyplane question in article buzz apr lion bear com buzz bear com buzz moschetti write in article whaley apr sigma kpc com whaley sigma kpc com ken whaley writes actually i must also ask the faq s most popular reason why graphics don t show up do you wait for an expose event before drawing your rectangle suppose you have an idle app with a realized and mapped window that contains xlib graphics a button widget when pressed will cause a new item to be drawn in the window this action clearly should not call xcopyarea or equiv directly instead it should register the existence of the new item in a memory structure and let the expose event handler take care of rendering the image because at that time it is guaranteed that the window is mapped the problem of course is that no expose event is generated if the window is visible and mapped do you know the best way to tickle a window so that the expose event handler will be invoked to draw this new item what does this have to do with my original question i previously stated that i did an xcopyarea of the depth pixmap to the screen just to make sure that my image had data and it did this is not a problem with expose events it has to do with xcopyplane not working does anyone have a code fragment they could send demonstrating that xcopyplane works this would be very helpful thanks nancie p marin net nancie neko css gov ensco inc mail pineda ct melbourne fl fax
|
3,041 |
comp.windows.x
|
wcl for solaris is there a version of wcl that has been ported to solaris including ansi c i had numerous problems trying to compile wcl under solaris and the functions do not have prototypes i have wcl from the sun user group s cds please email answers as i am not on this list tom tulinsky capital management sciences west los angeles manually address answers to zuma tom netcomsv netcom com
|
3,042 |
comp.windows.x
|
re xwininfo i want to do the equivalent of an xwininfo name via a call or set of calls in xlib i need to map a windows name to its id it s probably easy but i ve only been programming in x for a little while do you have the x source code simply look in mit clients xwininfo xwininfo c and you will find out exactly how to do it adrian nye o reilly and associates
|
3,043 |
comp.windows.x
|
none i am working on a problem of scheduling classroom and i will like to know if you have some software papers or articles about it if you have something relate it please let me know thanks lorenza illanes
|
3,044 |
comp.windows.x
|
re xcopyplane question in article whaley apr sigma kpc com whaley sigma kpc com ken whaley writes actually i must also ask the faq s most popular reason why graphics don t show up do you wait for an expose event before drawing your rectangle suppose you have an idle app with a realized and mapped window that contains xlib graphics a button widget when pressed will cause a new item to be drawn in the window this action clearly should not call xcopyarea or equiv directly instead it should register the existence of the new item in a memory structure and let the expose event handler take care of rendering the image because at that time it is guaranteed that the window is mapped the problem of course is that no expose event is generated if the window is visible and mapped do you know the best way to tickle a window so that the expose event handler will be invoked to draw this new item i specifically made the above comment assuming that perhaps the code fragment came from a simple open draw quit client as per your question why not have the button handler add the object and then call the window redraw or whatever directly although depending on how the overall application is structured there may be no problem with rendering the object directly in response to the button press ken kenneth whaley kubota pacific computer inc email whaley kpc com walsh avenue santa clara ca
|
3,045 |
comp.windows.x
|
mwm title drag crashes x server sigpipe environment mach arch sparc sun ipx os sunos x x r patchlevel motif i bring up x server using startx and usr bin x xsun the following sequence of actions crashes the x server sigpipe errno xinit reports that connexion to x server lost xinit xsun start mwm start a client with a dpi dpi font 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 i believe the first is reported by a client and the second by the server itself next i ran xdm in debug level after the same set of actions xdm reports select returns server for terminated unexpectedly status 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 x fonts misc usr lib x fonts speedo usr lib x fonts dpi usr lib x fonts dpi i did mkfontdir in usr lib x fonts dpi usr lib x fonts dpi usr lib x fonts pex usr lib x fonts speedo and in usr lib x 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 mean of the server i d greatly appreciate any hints as to the cause of the problem s ramakrishnan cs dept mcbryde hall vatech
|
3,046 |
comp.windows.x
|
xlock i found an oddity with our sgi indigo mips r chip when xlock nolock is running and i am working remotely or in batch at mode the runtime of my programs as timed by using clock in the code itself is slower than if xlock is not running no other processes seem to affect my runtimes yet this is very consistent any explanations real or imagined thanx dale frostedflakes llnl gov
|
3,047 |
comp.windows.x
|
xt intrinsics slow popups help i am running some sample problems from o reilly volume xt intrisics programming manual chapter popup dialog boxes and so on in example page 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 nd time rd th 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 nd 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
|
3,048 |
comp.windows.x
|
re how to put rpc in hp x motif environment in article c r j gu news cis umn edu ianhogg milli cs umn edu ian j hogg writes in article apr sol ctr columbia edu nchan nova ctr columbia edu nui chan writes has anybody implements an rpc server in the hp xwindows in sun xview there is a notify enable rpc svc call that automatically executes the rpc processes when it detects an incoming request i wonder if there is a similar function in hp x motif that perform the same function i ve been using the xrpc package for about a year now i believe i got it from export glad to hear that it s working for you i couldn t find it on export however simon leinen simon liasun epfl ch has added an imakefile and an athena version and made it available for ftp in the file liasun epfl ch pub x contrib xrpc tar z note the z suffix you ll need gnu gzip also on liasun in pub gnu to uncompress it if this doesn t work send me a note and i d be happy to mail you a copy but you probably won t get it until the start of may i m on holidays as of tomorrow martin janzen janzen mprgate mpr ca mpr teltech ltd nelson way burnaby bc canada v a b p s are there any dublin x folks that want to go for a pint of guinness at say mulligan s
|
3,049 |
comp.windows.x
|
re drawing lines inverse xor i m trying to write some code that lets me draw lines and do rubber band boxes in motif x i m running on an bit display for which i ve created a colormap and am using almost all of the colors i want to draw the lines in a drawing area widget a widget in which i m displaying a bitmap using xputimage if doesn t matter if the lines i draw interactively stay around when the window is refreshed currently to draw interactively i begin with drawindex is an colortable index i reserve for the foreground my default bg color is the color index for the background of my image palette colors drawindex red palette colors my default bg color red palette colors drawindex green palette colors my default bg color green palette colors drawindex blue palette colors my default bg color blue xstorecolors mydisplay my cmap palette colors drawindex xflush mydisplay xsetfunction mydisplay gc gxxor xsetforeground mydisplay gc drawindex then to draw i do xdrawline mydisplay xtwindow drawingarea gc x y x y xflush mydisplay and when i m all done to return things to normal i do xsetfunction mydisplay gc gxcopy what i d like to happen is for the lines i draw to be the inverse of whatever i m drawing over instead what happens is i get white lines if the lines are over a white background nothing shows up if the lines are over a black area nothing shows up it s very strange but the gxxor function seems right since if i do a rubber banding box it erases and redraws itself correctly ie not disturbing the underlying image any suggestions what i m doing wrong i believe for this to work on a color display you must set the foreground of the gc to be foreground background patrick l mahan tgv window washer mahan tgv com waking a person unnecessarily should not be considered lazarus long a capital crime for a first offense that is from the notebooks of lazarus long
|
3,050 |
comp.windows.x
|
how do i cause a timeout 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 christopher r bailey internet baileyc dendrite cs colorado edu university of colorado at boulder compuserve ride fast take chances
|
3,051 |
comp.windows.x
|
transparent widgets how i need to write an application which does annotation notes on existing documents the annotation could be done several times by different people the idea is something like having several acetate transparencies stacked on top of each other so that the user can see through all of them i ve seen something like this being done by the oclock client could someone please tell me how to do it in xt thank you very much
|
3,052 |
comp.windows.x
|
re multi screen apps and window managers jo pelkey phone battelle pacific northwest labs fax mail stop k email je pelkey pnl gov p o box richland wa hi jo i m also interested in your questions so if you get any answers via email and not via repost please let me know thanks rainer rainer hochreiter telephone elin energieanwendung gesmbh telefax penzingerstr a wien austria europe e mail rainer elin co at
|
3,053 |
comp.windows.x
|
re how do i find by appcontext is there an xt call to give me my application context i am fixing up an x motif program and am trying to use xtappaddtimeout whose first argument is the app context what call can i use to give me this value use xtdisplaytoapplicationcontext to retreive the application context patrick l mahan tgv window washer mahan tgv com waking a person unnecessarily should not be considered lazarus long a capital crime for a first offense that is from the notebooks of lazarus long patrick l mahan tgv window washer mahan tgv com waking a person unnecessarily should not be considered lazarus long a capital crime for a first offense that is from the notebooks of lazarus long
|
3,054 |
comp.windows.x
|
x device driver for bird has anyone written a device driver to use the ascension bird with xwindows o o o suresh thennarangam email suresh iss nus sg internet research scholar issst nusvm bitnet institute of systems science tel national university of singapore facs heng mui keng terrace telex issnus rs singapore
|
3,055 |
comp.windows.x
|
re forcing a window manager to accept specific coordinates for a window in article c r y hfz cs columbia edu ethan solomita writes hi i m trying to figure out how to make a window manager place the window where the create window command tells it regardless of what it may think is right my application has reason to know better i don t want to set the override redirect because i do want all the embellishments that the window manager gives i just want the wm to accept my choice of location window xcreatewindow xsettransientforhint display window window xmapwindow this is probably cheating and some window managers might still refuse to give it a border and all that other stuff but it usually works
|
3,056 |
comp.windows.x
|
devguide with motif solaris to ease motif burden we ve developed a number of applications using devguide and found it to be a very useful tool i ve been impressed with the level of integration it affords using the connection editor i love the general ease of use i talked with tali aben at sun today about devguide motif she was very helpful we provided some input as to what we d like to see in the next version of devguide tali was very enthusiatic about our comments i mentioned i was going to post this email message and she offered to receive additional comments from the net on what devguide should evolve into send your comments wish list raving et al about devguide to tali aben sun com pretty cool example of a company that cares what we want more of this and computers may have a future frankly i like the idea that it will offer some migration capability to doe domf through an integrated tooltalk capability pointed out in march s sunexpert magazine technology works we can crankout the interfaces with devguide price is outstanding
|
3,057 |
comp.windows.x
|
running dxterm s onto apollo from dec help i m trying to run dxterm s decs xterm on a decstation ultrix x r motif with the display variable set to an apollo dn domain os x r motif i get these errors appearing on the decstation dxterm x toolkit warning cannot convert string key apchardel to type virtualbinding x toolkit warning cannot convert string key apcopy to type virtualbinding x toolkit warning cannot convert string key apcut to type virtualbinding x toolkit warning cannot convert string key appaste to type virtualbinding x toolkit warning cannot convert string key apupbox to type virtualbinding x toolkit warning cannot convert string key apdownbox to type virtualbinding x toolkit warning cannot convert string key aprightbar to type virtualbinding x toolkit warning cannot convert string key apleftbar 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 xterms run fine on dec displaying on apollo arggh i need to run dxterm because the package we are using on the dec s oracle case uses dxterm by default and we have a lab of apollo workstations we would like to run oracle from andrew alf leahy alf st nepean uws edu au andrew alf leahy phone w irc pepsi alf uni western sydney nepean remote email alf st nepean uws edu au sydney australia local email alf
|
3,058 |
comp.windows.x
|
xalloccolor fails to return nearest match posted for a friend okay i looked through the faqs and didn t see this but i know its come up before xalloccolor is supposed to do the following in order try to find an exact match read only color cell within hardware limits try to allocate a read only colorcell and set it to match and when all else fails return the colorcell with the best match from the read only colors already allocated in the colormap this sounds good in theory it doesn t seem to work this way though if there is no exact match already in the colormap and no unallocated cells then xalloccolor fails even when it has already allocated several other cells already and there are dozens of read only cells already in the colormap is this a bug a feature a misunderstanding on my part any help appreciated noel ngorelic speclab cr usgs gov
|
3,059 |
comp.windows.x
|
re xlib for ms windows not an xserver in article apr topgun smikes topgun steven mikes writes another company congruent corporation of new york city has also ported xlib xt and motif over to ms windows nt which provides full client development for x applications in an nt environment could someone please send me the postal and email address of congruent corporation and any competitors they may have thank you snail lsl co uk washing one s hands of the conflict between the powerful and the powerless means to side with the powerful not to be neutral quote by freire poster by oxfam
|
3,060 |
comp.windows.x
|
re xcopyplane question in article whaley apr sigma kpc com whaley sigma kpc com ken whaley writes as per your question why not have the button handler add the object and then call the window redraw or whatever directly although depending this design will work but i don t think it can take easily take advantage of expose event redraw optimization that is the whole window will be redrawn not just the area with the new item p s i m replying here because my your mailer didn t agree with the return address whaley sigma kpc com
|
3,061 |
comp.windows.x
|
problem with libararies i have been trying to compile some source code for a mpeg animation viewer for x windows i got the code from a ftp site i have modified the makefile as they instructed no errors there what happens is that i get the following message when everything is going to be linked cc util o video o parseblock o motionvector o decoders o fs o fs fast o fs o hybrid o hybriderr o x o gdith o gray o mono o main o jrevdct o bit o util o ordered o ordered o mb ordered o lib libx so lib libxext so lm o mpeg play undefined first referenced symbol in file getnetpath lib libx so t alloc lib libx so t unbind lib libx so t open lib libx so t rcvdis lib libx so netdir free lib libx so t error lib libx so netdir getbyname lib libx so getnetconfigent lib libx so t look lib libx so t errno lib libx so t close lib libx so netdir getbyaddr lib libx so t listen lib libx so t rcv lib libx so setnetpath lib libx so t bind lib libx so t connect lib libx so t accept lib libx so nc perror lib libx so inet addr lib libx so ld mpeg play fatal error symbol referencing errors no output written to mpeg play error code bu make fatal error does anyone know where these missing functions are located if you do can you help me with it i posted before to one of the other unix groups i tried their suggestions but always get this error if you have to know i am using unix system v the machines here are s the terminals i want to use are separate and just called x terminals and they seem dedicated to that i m not sure as to what they really are since it is one of my first times out with this x windows gidget that is first time programming for it so to speak i use them alot just for the graphics things if you can help mail me soon gerard
|
3,062 |
comp.windows.x
|
x intrinsic mailing list as we don t get a newsfeed i was wondering whether there was such a thing as a xt mailing list other than xpert expo lcs mit edu i would appreciate any info on this or x related mailing lists thanks in advance leon leon thrane telephone dimatrix aps fax lyngby hovedgade d e mail leon dimatrix dk dk lyngby denmark or uunet dimatrix dk leon
|
3,063 |
comp.windows.x
|
re xt intrinsics slow popups in article 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 nd time rd th 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 bryan
|
3,064 |
comp.windows.x
|
xdm decnet does xdm work with decnet i have an ultrix machine running both tcp ip and decnet i have a number of x terminals hanging off the ultrix host also running tcp ip and decnet presently i am using xdm for the login procedure on the x terminals using tcp ip since xdm is basically just an x windows client shouldn t i be able to run xdm on the decnet protocol tower as well my first inclination is that xdm is not your typical x client it is making tcp ip specific socket calls in this case the answer would be no you can not run xdm over decnet is this right or not any feedback is appreciated thanks
|
3,065 |
comp.windows.x
|
re compiling on sun in article qfe wb qzz ez andrew cmu edu wilson swee ws n andrew cmu edu writes i have a piece of x code that compiles fine on pmax ul pmax mach as well as sun mach but whenever it compiles on sun it gives me undefined ld errors sin cos pow floor get wmshellwidgetclass get applicationshellwidgetclass the following libraries that i linked it to are lxaw lxmu lxt lxext lx the makefile is generated off an imake template can anyone give me pointers as to what i m missing out to compile on a sun well the first are easy you need the math library try adding lm after lx don t know if that s the whole problem but it s a start daniel j mccoy space i net inc nasa mail code pt is tel nasa johnson space center our fax houston texas future mccoy gothamcity jsc nasa gov
|
3,066 |
comp.windows.x
|
keyboard map for uk type keyboard under x r hi does anyone have a keyboard map for a sun uk type keyboard for use under x r thanks nigel nigel r ellis artificial intelligence group n r ellis durham ac uk computer science university of durham phne durham england dh le fax
|
3,067 |
comp.windows.x
|
top motif applications hello everybody i am searching for business information of motif applications to create a top of most used wordprocessors spreadsheets drawing programs schedulers and fax programs etc please mail me all your information or references i will summaries the results on this media thank you in advance anton de ruiter digital equipment corporation workgroup products wgp objectworks obw ing anton de ruiter mba software product manager post office box ae apeldoorn the netherlands oude apeldoornseweg nr apeldoorn the netherlands mail hlde ruiter a dtn location apd f a internet aruit idca tds philips nl uucp mcsun philapd aruit phone business phone private fax
|
3,068 |
comp.windows.x
|
gcc and building the hp widget set on linux i am currently attempting to get a copy of the hp widget set compiled under linux sls release with kernel and am running into some problems actually it seems that this is more of a gcc question because i got it to compile without trouble using cc on an rs basically there are a number of functions with prototypes set up in let s say compositep h for instance the composite widget s insert child procedure is set up with the type typedef void xtwidgetproc widget but in several places in the hp source code they reference the insert child procedure and pass it multiple arguments instead of just one as the prototype suggests for example superclass composite class insert child w args p num args now gcc chokes on this giving an error message that too many arguments are passed to the function so does anyone have any suggestions as to how to turn off this checking in gcc or how i can go about changing the code to accomodate this call without changing usr include x compositep h or has anyone successfully built the hp widget set and have any suggestions many thanks in advance for any help bill woodward wpwood austin ibm com try this first aix software support billw aixwiz austin ibm com graphics group i am the terror that flaps in the night
|
3,069 |
comp.windows.x
|
problem r server hangs on sun i recently compiled the x r pl sources using gcc on a sun everything seems to work fine usually but at seemingly random times the server will just hang i will click the mouse somewhere never happens while my back is turned and without warning it will freeze there requiring the server to be killed sometimes it will run fine for weeks sometimes only for minutes os frame buffer bw has anyone seen this before any ideas anything at all thanks jeff jeff weisberg weisberg ee rochester edu real cherries ur valhalla weisberg watch for pits
|
3,070 |
comp.windows.x
|
re motif vs athena etc in article c k ny azj kirk bu oz au bambi kirk bu oz au david j hughes writes ports of motif to both bsd and linux are available for a fee of about this is cost recovery for the person who bought the rights to redistribute the activity in both the bsd and linux news groups pertaining to motif has been high i ve heard about that italian guy distributing motif binaries for bsd but i haven t heard of anybody doing the same thing for linux and i do follow the linux news group pretty closely so have i missed something i d love to get hold of motif libs for linux for regards joe pannon
|
3,071 |
comp.windows.x
|
xdm xsession woes i ve just managed to get xdm running from an ncr an svr box running xfree to my ncd xdisplay it s pretty much working but i m encountering a weird error i m attempting to start an xterm from my xsession file but nothing happens redirecting stderr to a file using exec home xerrors in xsession reveals the error message xterm error errno not owner now if i start xterm from the window manager or from the command line it works fine and starting other clients like the window manager mwm and a clock from my xsession also works anyone encountered this suggestions atdhvaannkcse des herriott as a wise man once said micro focus newbury it takes a lot of brains to be smart dnh mfltd co uk but it takes some neck to be a giraffe
|
3,072 |
comp.windows.x
|
re mwm title drag crashes x server sigpipe in article creatures cs vt edu ramakris csgrad cs vt edu s ramakrishnan writes environment mach arch sparc sun ipx os sunos x x r patchlevel motif i bring up x server using startx and usr bin x xsun the following sequence of actions crashes the x server sigpipe errno xinit reports that connexion to x server lost i had this problem as well it had to do with the cg graphics card that comes with the ipx what fixed the problem for me was to apply the sungx uu that was part of patch patch also used this file so perhaps you didn t apply the one that came with patch jeff jeff w boote boote ncar ucar edu scientific computing division there is nothing good or bad national center for atmospheric research but thinking makes it so boulder hamlet
|
3,073 |
comp.windows.x
|
re how do i find my appcontext in article qvatv ic pandora sdsu edu masc ucsnews sdsu edu todd greene writes is there an xt call to give me my application context i am fixing up an x motif program and am trying to use xtappaddtimeout whose first argument is the app context what call can i use to give me this value you can get the applicationcontext associated with a widget by calling xtwidgettoapplicationcontext ian hogg ianhogg cs umn edu
|
3,074 |
comp.windows.x
|
re mysterious beeping in article c qtkk wp cup hp com defaria cup hp com andy defaria writes article crossposted from hp windows author was andy defaria posted on mon apr gmt for some reason the following code causes my x application to beep whenever i intercept a keystroke and change it s meaning the intent of this code it to allow date fields the following special keys tt insert today s date bump day up by one bump day down by one i hardcoded some dates for this example perhaps i shouldn t be using an xmtext field for this for some reason the following code beeps whenever any of the special keys of tt are hit why the idea of this code is to interpret these keys having the special meaning implied by the code i would like to get rid of the beeping but as far as i can tell i m not doing the beep and am at a lose as to understanding who and why the beeping is occuring code deleted from the xmtextfield man page during discussion of resources xmnverifybell specifies whether a bell will sound when an action is reversed during a verification callback you are setting doit to false in the callback and text field is beeping as it should to turn off this behavior set this boolean resource to false tom mcfarland tommc cv hp com
|
3,075 |
comp.windows.x
|
how get fontname from fonstruct 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 brian dealy it not knowing where it s at dealy kong gsfc nasa gov that s important it s knowing uunet dftsrv kong dealy where it s not at b dylan
|
3,076 |
comp.windows.x
|
re xlock in article qvir idi lll winken llnl gov dale wente llnl gov dale m slone writes dale i found an oddity with our sgi indigo mips r chip dale when xlock nolock is running and i am working remotely dale or in batch at mode the runtime of my programs as timed dale by using clock in the code itself is slower than if dale xlock is not running no other processes seem to affect my dale runtimes yet this is very consistent unless you run xlock mode blank xlock consumes cpu time generating the nice animated display the code you are running is competing with xlock for the cpu if you run top via a remote login you can really see what is going on scott henry scotth sgi com help my disclaimer is missing networking services gigo really means garbage in gospel out silicon graphics inc
|
3,077 |
comp.windows.x
|
re xterm w ansi color mouse support brown ftms uucp vidiot writes in article apr vms huji ac il klony vms huji ac il writes i ve had several requests to post any information i ve gathered regarding my search for ansi mouse color xterm source my only response was from larry w virden who writes the mit x r and r both provide mouse escape sequences now there are several color xterm enhancements on export lcs mit edu contrib indeed i found color xterm tar z in that directory along with lots of other fun stuff for x thanks larry i also found it on uunet in pub window sys x contrib for those that can only do anonuucp like me but i noticed that the thing is dated making it over two years old is this really the latest version are we talking about an xterm which would accept the same escape sequences as that for vt or colour decterm dxterm i thought that was called colxterm and my testing of it shows some oddities that might be bugs or might be my program going wrong i m also unsure of what is meant by ansi mouse xterm
|
3,078 |
comp.windows.x
|
comp windows x intrinsics i am having a problem with the high order bit of a character being clipped when entered in an xterm window under motif i have reprogrammed the f key to transmit a ff be character sequence by using the following line in xdefaults ctrl shift alt key f string xff string xbe n i merge in this line with xrdb merge and then create the new xterm which has the remapped f key the problem that arises is that the application which is recieving input at the time only sees a f e sequence which is ff be with the high order bit of each character being filtered or ignored when i run xev and press the f key i get the correct value showing up in the following two key events keypress event serial synthetic no window x root x subw x time root state x keycode keysym xffbe f same screen yes xlookupstring gives characters keyrelease event serial synthetic no window x root x subw x time root state x keycode keysym xffbe f same screen yes xlookupstring gives characters notice that the keysym being transmitted is correct xffbe but when i use the f key while in vi or in a program i wrote to spit back the hex values of keyboard input i only get f e does anyone know why the high order bit is being filtered and what i can do to make sure that the entire bits make it through to the final application any help is greatly appreciated please email any responses jim kavitsky kavitsky hsi com
|
3,079 |
comp.windows.x
|
re mix gl with x xlib xt mwm yes it s possible in fact there s some gl widget code in usr lpp gl somewhere it s named glib c my ibm s down right now though so i can t find the exact location warning this code feels quite bogus it does things like calling noport before winopen and then extracting an x window id from it anyway it worked just fine under aix i spent last weekend trying to port it to gl under doesn t seem to like it and it s turning into a hard job check out your info pages it has some pretty good documentation on whan you can and can t do when mixing gl and x and how to go about doing so rob
|
3,080 |
comp.windows.x
|
faq for this group could some kind soul point me in the right direction for the faq list for this group thanks saad mufti personal library software e mail mufti pls com
|
3,081 |
comp.windows.x
|
re xalloccolor fails to return nearest match in article slate mines colorado edu agallagh slate mines colorado edu gallagher andrea j writes posted for a friend okay i looked through the faqs and didn t see this but i know its come up before xalloccolor is supposed to do the following in order try to find an exact match read only color cell within hardware limits try to allocate a read only colorcell and set it to match and when all else fails return the colorcell with the best match from the read only colors already allocated in the colormap where did you hear this if it is printed in a book somewhere throw away the book according to the mit specs only the first are true ken lee klee synoptics com
|
3,082 |
comp.windows.x
|
need font family weight and slant from instance of a widget how can i get the font family weight and slant from an instance of a widget using initfontcontext getnextfont and freefontcontext i can get the size of the font and a bunch of other stuff concerning the font but nowhere have i found family weight and slant assume that i do not have access to the source where family weight and slant were orginaly used when creating a fontlist thanks a bunch and have a great day carl carl softsolut com
|
3,083 |
comp.windows.x
|
re transparent widgets how in article aa ntep ntep tmg nec co jp cerna ntep tmg nec co jp alexander cerna sv writes i need to write an application which does annotation notes on existing documents the annotation could be done several times by different people the idea is something like having several acetate transparencies stacked on top of each other so that the user can see through all of them i ve seen something like this being done by the oclock client could someone please tell me how to do it in xt thank you very much the oclock widget was written using the shape extension you can do the same in your widgets few current widgets support shape so you ll have to subclass them to add that functionality ken lee klee synoptics com
|
3,084 |
comp.windows.x
|
re mix gl with x xlib xt mwm in article aa sparc jade com graham sparc 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 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 larry d pyeatt the views expressed here are not internet pyeatt texaco com those of my employer or of anyone voice that i know of with the possible exception of myself
|
3,085 |
comp.windows.x
|
re monthly question about xcopyarea and expose events in article buzz apr lion bear com buzz bear com buzz moschetti writes nd posting of the question that just doesn t seem to get answered suppose you have an idle app with a realized and mapped window that contains xlib graphics a button widget when pressed will cause a new item to be drawn in the window this action clearly should not call xcopyarea or equiv directly instead it should register the existence of the new item in a memory structure and let the same expose event handler that handles regular expose events e g window manager driven exposures take care of rendering the new image using an expose event handler is a proper way to do this because at the time the handler is called the xlib window is guaranteed to be mapped the problem of course is that no expose event is generated if the window is already visible and mapped what we need to do is somehow tickle the window so that the expose handler is hit with arguments that will enable it to render just the part of the window that contains the new item what is the best way to tickle a window to produce this behavior to incrementally update the contents of windows i use the following trick set the window background to none call xcleararea display window true restore the window background to its correct value the call to xcleararea does not repaint the window background but still generates exposure events for visible parts of the window in order to let my application know that these expose events must be handled incrementally something is already displayed on the screen and may need to be erased i encapsulate the operations with self addressed client messages which preserve asynchronicity between the client and the server xgrabserver display client message start incremental background none xcleararea restore background client message end incremental xungrabserver display the grabserver prevents other events to be inserted by the server in the critical section vincent prunet sema group sophia antipolis inria bp sophia antipolis cedex france prunet sophia inria fr fax
|
3,086 |
comp.windows.x
|
sparc ipc sprite goes off screen environment x r motif sun ipc problem when mouse is moved across screen horizontally the sprite goes off of the edge of the screen and reappears at the other edge it appears that the server thinks we are running in multi screen mode the cursor seems to wrap from one side of the screen to the other as far as we can tell we are not running the server in multi screen mode please reply via e mail ray bentz phone bluestone consulting inc fax church street uunet uunet blustone bentz mount laurel nj internet blustone bentz uunet uu net
|
3,087 |
comp.windows.x
|
re xcopyplane question in article buzz apr lion bear com buzz bear com buzz moschetti write in article whaley apr sigma kpc com whaley sigma kpc com ken whaley writes actually i must also ask the faq s most popular reason why graphics don t show up do you wait for an expose event before drawing your rectangle suppose you have an idle app with a realized and mapped window that contains xlib graphics a button widget when pressed will cause a new item to be drawn in the window this action clearly should not call xcopyarea or equiv directly instead it should register the existence of the new item in a memory structure and let the expose event handler take care of rendering the image because at that time it is guaranteed that the window is mapped the problem of course is that no expose event is generated if the window is visible and mapped do you know the best way to tickle a window so that the expose event handler will be invoked to draw this new item what does this have to do with my original question i previously stated that i did an xcopyarea of the depth pixmap to the screen just to make sure that my image had data and it did this is not a problem with expose events it has to do with xcopyplane not working does anyone have a code fragment they could send demonstrating that xcopyplane works this would be very helpful thanks what it has to do with your original question is this many times beginning x users heck experienced x users too write small test programs many times they forget to draw only in response to expose events and thus see unpreditable results whereby sometimes the application s graphics show up and sometimes they don t we re just trying to eliminate all the easy explanations for why you re not seeing your graphics that being said why don t you try copying different planes to your window other than try to see it you get any output since you re dipslaying only a single plane of your data it s possible that all the pixel values in your pixmap have the same value for that color plane ken kenneth whaley kubota pacific computer inc email whaley kpc com walsh avenue santa clara ca
|
3,088 |
comp.windows.x
|
re running dxterm s onto apollo from dec apollo dn domain os x r motif i think you are running xapollo it s a x r server if you want a x r server you should install pskq or 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 ff apchardel ff apcopy ff apcut ff appaste ff apmove ff apgrow ff apcmd ff apshell ff apleftbar ff aprightbar ff a apleftbox ff b aprightbox ff c apupbox ff d apdownbox ff e appop ff f apread ff apedit ff apsave ff apexit ff aprepeat ff apkp parenleft ffa apkp parenright ffa victor victor hpfrcu france hp com oooo o oooo victor gattegno be yourself and not what people expect you to be
|
3,089 |
comp.windows.x
|
x graphics accelerators how can i obtain public information documentation and sources about xservers implemented with graphics processors i am specially interested in xservers developed for the tms texas instruments graphic processor please send answer to arana labein es
|
3,090 |
comp.windows.x
|
tvtwm xsetroot x r and sparc keyboard hi please reply to me direct as i am not a member of this list i am new to x so please excuse my lax read probably incorrect terminology environment sun sparc sunos x r path level my x process is started by xdm i i want to setup the backgroud root window of the tvtwm display to display the escherknot etc grey is a very boring colour to work on the setup is as follows lib x xdm xsetup xsetroot bitmap etc user xsession xsetroot etc tvtwm there are also tvtwmrc and xdefaults files in the user home directory the xsetroot in xsetup displays the appropriate bitmap in the xdm login window as expected very nice unfortunately when the users session is started the background of the tvtwm window reverts to grey if i manually type xsetroot in an xterm window when the session has started the background is changed as expected the question is how do i retain the background from the login window and or specify a new background on a per user basis as part of the the users session startup ii when i open an xterm on the sparc not all of the keys are recognised and some keys on the keyboard are not sending the correct characters ie real key key shown on screen hash back slash tilde pipe double quote at symbol pound hash cursor key not recognised this is very annoying is x at fault here or the machine setup i have installed the xterm drivers that came with x r in both terminfo and termcap as they seemed more uptodate typing set in an xterm window shows a terminal type of xterm as expected any help on how to correct either of these problems much appreciated thanks dave janet d haywood uk ac sheffield hallam dave haywood or d haywood uk ac shu computer services internet d haywood shu ac uk sheffield hallam university telex shpoly g pond street tel sheffield s wb england fax x i d s haywood o sheffield hallam prmd uk ac admd c gb x c gb o sheffield hallam university ou computer services cn dave haywood
|
3,091 |
comp.windows.x
|
re tvtwm xsetroot x r and sparc keyboard in article mailqueue oak shu ac uk d haywood sheffield hallam ac uk writes hi environment sun sparc sunos x r path level my x process is started by xdm okay that s good i m typing this from exactly the same setup us unix layout keyboard i did install the sunkbd patch though i i want to setup the backgroud root window of the tvtwm display to display the escherknot etc grey is a very boring colour to work on make sure you re using ssetroot which comes with tvtwm when tvtwm starts up it nukes the existing root window use an ssetroot after tvtwm starts up you could spawn off a sleep ssetroot you can also use virtualdesktopbackgroundpixmap filename or just virtualdesktopbackground if you just want another color besides grey ii when i open an xterm on the sparc not all of the keys are recognised and some keys on the keyboard are not sending the correct characters did you install the sunkbd patch it s in the contrib directory on export all the keys on my keyboard send events properly except the following the end pageup pagedown on the key cluster aren t recognized even the compose key works though i can t seem to get the composed characters in an xterm to get passed anyone have a fix for the last two dave system administrator penn state population research institute dog dianetics woof woof woof page kibo
|
3,092 |
comp.windows.x
|
imake help needed hi 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 please respons via e mail thanks paul paul byrne british aerospace defence ltd dynamics division email paul byrne def bae co uk fpc p o box filton phone bristol bs qw
|
3,093 |
comp.windows.x
|
help setting colormaps on multi top level app dear sgi and netter gl x mixed model experts i am writing a mixed model application that creates a couple different color maps for different windows and i ve been having trouble getting the window manager to reliably honor my requests in some environments entry level r indigo w all windows are getting properly connected to their designated color maps but on others an iris d gtx also a different entry level indigo the color mapping is unreliable and changes behavior when i compile at different times the most common problem is that all non top level windows fail to be displayed according to their colormap my application starts out by creating three top level windows in some cases all but the first of these also fail to be displayed by their colormap this is spectacularly aggravating i would dearly appreciate an explanation of the standard right correct way to give a window a colormap such that the window manager will honor and obey it any advice about problems that could cause my failure to get my desired colormaps by now i have exhausted my own attempts on this having tried everything reasonable or imaginable below is example code giving the schematic for how i have been trying to do this please please please somebody tell me what i am doing wrong how to do it right yours chris lee display dpy declare some data colormap popup cmap xcolor mycolor window win xsetwindowattributes cwa int nwlist window wlist nb for brevity not showing all code lines just a schematic popup cmap xcreatecolormap dpy defaultrootwindow dpy vis visual allocall here we store a bunch of colors using xstorecolor dpy popup cmap mycolor cwa colormap popup cmap win xcreatewindow dpy parent x y w h borderwidth vis depth inputoutput vis visual cwcolormap cwborderpixel cwa list all sub windows of my topwin parent of win into wlist nwlist is counter of entries in wlist nb wlist is static storage that can be relied on not to go away or be corrupted i thought of that does anyone know if setting wm properties is by data copy or by reference pointer ie is it acceptable to pass data for a property then free the data xsetwmcolormapwindows dpy my topwin wlist nwlist xmapraised display win later on we handle xevents normally typical eventloop
|
3,094 |
comp.windows.x
|
xfree and esix hello netlanders i am a novice x user with a question for any xgod my computer configuration with the x problem is as follows dx ram running esix wangtek at style interface m tape drive i have loaded the basic os which includes nsu and inet utilities tcp ip i ftp ed the xfree x r binaries and installed properly i can execute startx and run x windows with no problems however if i try to access the tape drive while in x the machine locks up instantly if i am out of x and access the tape the tape drive works fine soon as i try to startx again the screen changes modes but the grey background pattern does not come up and no xterm is forked i have to login from another terminal and execute a shutdown to reset the system i ve contacted esix about this problem they claim their x window x r server which i have works with the wangtek tape drive they also claim i only need the nsu network system utilities to run x i don t need inet tcp ip my experience has been that i need both to get xfree to work i m not too concerned about having to load both nsu and inet packages to get x to work unless the inet package is causing my problem i would like to get both x and my tape drive to co exist on the same system if you can shed any light on the problem it would be appreciated one colleague implied this might be a hardware conflict if this is true what direction should i look to resolve the conflict thanks kenneth cobler ksc ihlpv att com at t bell laboratories shuman blvd naperville il
|
3,095 |
comp.windows.x
|
cursors according to the osf motif style guide one should use cursor shapes to give the user a visual clue of what is happening or what is expected of him so a hourglass cursor should be shown when the application is busy or a caution cursor should be shown over an area when input is expected in another defining cursors for widgets has to be done at rather low level so defining a cursor for all widgets in an application but not for a certain subpart of it is a rather complicated matter when cursors have been defined for some windows e g a crosswire cursor for a drawingarea things get even more complicated my intuition says that things should be easier but is this so if anyone has a solid and complete solution to my problem please let me know the topics on busy cursors in the several faq s are not helpful since they only work for applications where all windows have the cursor window attribute set to none hans geurtsen phone nucletron research bv e mail hgn nuclint nl surface waardgelder nl th veenendaal
|
3,096 |
comp.windows.x
|
how can i detect local vs remote display settings i am trying to find out if my application is running on a local or a remote display a local display being connected to the same system that the client is executing on i have access to the display string but can i tell from the string if the client is executing on host foo then unix foo and localhost are all local under ultrix i believe that local is also a valid display name a shared memory connection maybe are there other strings that i should check for is there a better way to detect this thank you for any help you can give me jim atkinson wavefront technologies inc jra wti com what me a company spokesperson get real life is not a spectator sport
|
3,097 |
comp.windows.x
|
running x on a pc at home talking to a host over serial line some time back i asked for software recommendations to allow me to run x from my pc at home to my sparc at the office many thanks for all replies the majority of people recommended pcxremote from ncd i received it yesterday and installed it on my sparc and pc with only one hitch the unix install consists of copying files into some local bin directory on the pc side i ordered the windows version which came with a slick windows installation the only problem i had was that my xinitrc in my home directory had the line display hostname export display s t the clients i kicked off connected to my xserver on the sparc console by removing this line from the xinitrc everything worked as planned and the clients connected to the server at hostname some comments on performance i was connected to a sparc thru a netblazer terminal server over a baud line my pc is a dx ati ultra mb bitmap stuff sucked basic editing and compilation stuff definitely usable xmail was very usable at times the first time u typed in an xclient window there was a very noticable delay i put this down to brain damaged windows should not be called a scheduler besides that this will become my remote work environment for a while has anybody tried the non windows version of the product the sales person said they performed about the same given the over head of windows i question this many thanks for help to all who responded gerard
|
3,098 |
comp.windows.x
|
is a headed sun possible cgfour bwtwo i have a sun that has a mono framebuffer bwtwo built on the motherboard the same system also has a cgfour cgfour and bwtwo daughterboard i have been using this system with a color monitor having a color front screen from the cgfour and a mono back screen from the bwtwo both on the same tube i recentley picked up a x sun mono monitor and i would like to make a two headed system with the cgfour and the bwtwo i do not care if i loose the back screen on the color tube from the bwtwo after looking through the xsun man page i am not sure if this is possible has anybody sucessfuly done this before matthew
|
3,099 |
comp.windows.x
|
cose gui just what is it they agreed on the cose announcement specifies that motif will become the common gui but what does this mean exactly do they mean that all cose complient apps will have the motif look and feel do they mean that all cose complient apps will use the motif toolkit api do they mean both of the above is it possible that there will be a motif api complient toolkit with an openlook look feel how about an olit xview oi interviews api toolkit with a motif l f i know oi already does this but will this be considered cose complient will there be more than one standard toolkit api or l f supported how does using tooltalk fit in with motif this is my attempt to start a discussion in order to pull as much knowledge about these questions off the net feel free to e mail or followup gil tene some days it just doesn t pay devil imp hellnet org to go to sleep in the morning devil diablery a com
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.