waashk/20ng huggingface dataset:
I am trying to build and use imake (X11R4) on an IBM RS/6000 running AIX V3.2. I am having the following 2 problems.  (1) Many of my Imakefile's have contructs like 		/**/#This is a makefile 	at the start of lines to pass Makefile comments thru the C 	preprocessor and into the Makefile.  Most of the C preprocessors that 	I have used will not treat such a # as appearing at the start of the 	line.  Thus the C preprocessor does not treat the hash symbol as the 	start of a directive.   	However the IBM cpp strips the comment and treats the hash symbol 	as the start of a directive.  The cpp fails when it determines 	that "This" is not a known directive.  I have temporarily hacked my 	imake to handle this situation but would like to come up with a better 	fix.  (2) Several Imakefiles use /**/ as a parameter to a macro when a particular 	use of the macro does not need a value for the parameter.  The AIX cpp 	gives warnings about these situations but continues to work OK.  If you are familiar with these problems and have solutions, I would appreciate information about on your solutions.  (Perhaps, this is solved in a later version of imake that I have not reviewed.)  Also, do you know of other cpp's that behave similarly?
I created a pixmap or drawable window, then used XDrawLine() function  drawed a line as below fingure:  		width = 300 	================================ 	|				| 	|				| 	|			p1	| 	|			\	| 	|			 \	| height = 300 	|			  \	| 	|			   \	| 	|			    \	| 	|			     \	| 	|			      \	| 	|			       \|p3 	|				|  	|===============================| \ 					    \ 					     p2  	I created the pixmap or drawable window only with size 300x300. But I draw line from p1(x1=270,y1=100) to p2(x2=500,y2=800). My question is, dose the XDrawLine function can finger out that correct p3(x3 and y3) for me? If you calculate x3 and y3.   x3 = 300;  @ = art tan (( 800 - 100)/(500 - 270)) = 71.81 degrees;  y3 = 100 + x3/tan(@) = 100 + 300/tan(71.81) = 198.58 ~= (integer) 199.  How do I prove XDrawLine() give me the right x3, y3 or not? Please don't ask me why I don't created a 900x900 pixmap. No, I don't wan to.   Thanks in advance!
Hello networld,  I'm looking for an X mailreader. Is there a Xelm?  Andreas
Hi all,  I've read the FAQ, I've fiddled around, but I am still having problems getting my poor old HP9000/300 to let me input/display characters above 127.  I have  the following in my .Xdefaults:  XTerm*Font     :   -adobe-courier-bold-r-normal--14-140-75-75-m-90-iso8859-1  So I believe that I have the correct font selected to use in xterm.  I have NOT set my LC_CTYPE environment variable because whatever I put it, it tells me that that locale is not supported (apparently we have no additional locales defined, or at least, /lib/locale doesn't exist).  I can get some of the characters above 127 to print out, but they are not where I'd expect them -- for example, Alt-v does not produce a u umlaut.  This leads me to believe that the fault lies with the stty settings, which are as follows:  speed 9600 baud; line = 0; susp <undef>; dsusp <undef> intr = ^C; quit = ^\; erase = ^H; kill = ^K; swtch = ^@ eof = ^D; eol = ^@; min = 4; time = 0; stop = ^S; start = ^Q -parenb -parodd cs8 -cstopb hupcl cread -clocal -loblk -crts  -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -iuclc  ixon -ixany ixoff -ienqak  isig icanon iexten -xcase echo echoe echok -echonl -noflsh  opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel -tostop   Anyway, I've struggled with this off and on for a couple of weeks, and any help anyone could offer would be greatly appreciated.   					Thanks!
|  | In article <BUZZ.93Apr19101538@lion.bear.com> buzz@bear.com (Buzz Moschetti) write | >In article <WHALEY.93Apr15103931@sigma.kpc.com> whaley@sigma.kpc.com (Ken Whaley) writes: | >>   Actually, I must also ask the FAQ's #1 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-8 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 16 (== 1 << 4).  Try 1, 1<<1, 1<<2, ..., 1<<7 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
Thanks for the many offers to review this book.  If you received a review copy, please return it as soon as possible.  I had a system crash and lost the list of people I sent it to!  Thanks
this is a repost... I like to find out more about this also...  *** Message Part 2: Text **************************************** 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.10A.com     -
Does anyone know the difference between MOOLIT and OLIT?  Does Sun support MOOLIT?  Is MOOLIT available on Sparcstations?  I have recntly downloaded a copy of wkshTree written by Eric Wallengren of Univel.  There are many widgets that are apparently available only to MOOLIT but not OLIT.  Is there a wkshTree program available under OLIT?
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 TC24). >>   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 = 0;    valuemask = CWColormap | CWBorderPixel;    win = XCreateWindow(            dpy,            DefaultRootWindow(dpy),            10,10,            width,height,            0,		         /* border width. see comment below */            8,                    /* depth */            InputOutput,          /* class */            vinfo.visual,         /* visual */            valuemask,            &attr          );  A note on border_width: your code looked like this:  >>   win = XCreateWindow( >>           dpy, >>           DefaultRootWindow(dpy), >>           10,10, >>           width,height, >>           CopyFromParent,       /* border width */ >>           8,                    /* 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 -1 you'd get a very interesting looking window!
>  > > Motif managers take a very simplistic approach to the way they handle events  > > for gadgets: they track for all events(such as Motion Notify) wether or not  > > the gadget expresses interest in the events. As a result, gadgets typically > > generate a great deal more network traffic.  Those with X terminals might find  > > a noticable network performance drop as a result. > >  > > Really?  What's the point using Gadgets then? >  > It is a case of memory vs. network performance tradeoff.  Gadgets > save both client and server memory.  But memory is easily expandable while > network performance is not, so if I were designing Motif I would > at least make it *possible* to avoid using gadgets.  At present you > really don't have a choice because Motif forces you to use gadgets > in menus and in various other places. >  > Adrian Nye > O'Reilly and Associates, Inc.   I've been using the XmGraph widget that's been floating around and I noticed the performance is significantly better using Gadgets, perhaps even 100% faster.  I had heard in an old programming course that gadgets were no longer any benefit to performance, and that it's just as well to use widgets everywhere.  So why would ~50 pushbutton gadgets be a lot quicker than 50 pushbuttons in the graph?  Should I start putting gadgets back into my long pulldown menus?   XmGraph manages children connected by XmArc widgets in a directed network type graph with automatic layout capability.   Bill
My HP720 workstation uses PseudoColor (id 0x21, 255 colors) as the
HI, all     I study about WM_DELETE_WINDOW atom in Open Look. I study the book --> "Unix Desktop guide to OPEN LOOK", I run the example of chapter 8, but It is not the result described as book's figure 8.1. Dose anyone read the book? Or run the example (winprop.c)? What is the problem?     I am curious about WM_DELETE_WINDOW programming... Anyone help me?                        Thanks in advance for any help!!!                                                             IOP
Hi,  I am programming in XView, SunOS 4.1.2 & OpenWindows 3.0. I would like to rotate some text and display it. I did read the FAQ in comp.windows.x but am not sure how do I translate it to XView. I would appreciate if someone can give me tips on how to do it. Thanx.  	- Mahendra.  PS : As I am not a frequent news group reader, I would appreciate if      answers/replies would be mailed to me. I will post a follow-up.  --
>> Xkernel is available for Sun 3/50s.  Is there a similar package available >  ^^^^^^^ >  > Is this public domain? If yes, where can one obtain a copy from? 	Yes, it is.  It is available at ftp.ctr.columbia.edu, probably in pub/xkernel.    	In response to the earlier gentlemans question, you could theoretically recompile xkernel on a sun4.  The binaries available are for the sun3/50, but the author says it could be used on most architectures, and he does have a 'do-it-yourself' type distribution.  	We use Xkernel for about 7 machines here.  email me if you have any questions I can help you with...
Hi All!  I tried to run SoftPC, a PC emulation software program, installed on a Silicon  Graphics workstation from a Human Design System (HDS) X terminal, and  everything went fine, except the fonts could NOT be converted from one type  of format to the other - HDS uses different font format from SGI worksation. So, I have the following questions:  1. How do you resolve different font formats from different machines?  2. Is there a program to convert one type of font format to another?  If you have similar problems/experiences and have found a solution, please  let me know.  Your help will be greatly appreciated!  Thank you in advance for your help and information.  Tom Nguen
bernward@moepi.do.open.de (Bernward Averwald) writes:  >In article <1993May11.133626.7425@taylor.uucp> mark@taylor.uucp (Mark A. Davis) writes: >>I have a problem which many of you might have run into.  We use LOTS of >>ASCII terminals and use them to the max.  Meaning lots of attributes, line >> >>This means needing all attributes to work, including bold and line drawing. >>The only fonts which seem to meet these criteria are a pairs of fonts in >>which one is bold and the other normal, while both have linedraw, fixed >>spacing, and several sizes. >> >>The only standard fonts which work are the fonts like 9x15 and 9x15B under >>"misc".  They work great, except I need a font one size larger, 10x20.  Now >>10x20 works well, but there is no bold counterpart! >>  >You don't need a 'bold' counterpart. From `man xterm`:  >       -fb font >               This  option specifies a font to be used when dis- >               playing bold text.  This font  must  be  the  same >               height  and width as the normal font.  If only one >               of the normal or bold fonts is specified, it  will >               be  used as the normal font and the bold font will >               be  produced  by  overstriking  this  font.    The >               default  is to do overstriking of the normal font.  I have tried that with one font, if your xterm terminfos/termcaps are set up to NOT remap bold (which they are be default) to reverse, then nothing happens when bold is displayed.  It would appear (at least in X11R4) than you cannot display bold in an xterm without specifying two fonts; a normal and a bold. I wish someone would prove that incorrect.
Christian.Mollard@ec.bull.fr writes: >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. >>Any help in finding him will be greatly appreciated. > >Try >	david@ap542.uucp >	david%ap542@ztivax.siemens.com  Nope, here I am:	david@jpl-devvax.jpl.nasa.gov  ------------------------------------------------------------------------- David Smyth				david@jpl-devvax.jpl.nasa.gov Senior Software Engineer,		(818)306-6193 (do NOT use v-mail yet!) CCCP, X and Object Guru.		office: 525/C165 Jet Propulsion Lab, M/S 525-3660 4800 Oak Grove Drive, Pasadena, CA 91109 -------------------------------------------------------------------------  	"That Sun Windows thingy, what's it called?  You know, its 	really awful.  X?  Motif?  That's it - Motif! Yuck!"
Hi,  I'm looking for a X-Windows tool that can display data (in a 2D plot) in real time with a couple different signals.   Anybody know of such a gem?  Please Email me as I do not read this group often.
Does anyone know any sites/resources where I can find gadgets for the vuewm window manager?  Such as types,actions,icons for the file manager and event manager...etc....
We have recently obtained a copy of color_xterm (from export.lcs.mit.edu) after seeing it mentioned in a previous article. On compilation, it reports the following undefined symbols: 	_get_wmShellWidgetClass 	_get_applicationShellWidgetClass  	but still runs. When sending escape sequences to set the colour, any colour comes out as black text on a black background. Any Ideas?  Has anyone used this program in colour successfully?  Can anyone point me to any other colour terminal emulators?  We are running OpenWindows 3 on Sun Sparcs running SunOS 4.1.3.  				advaTHANKSnce  Ben Kelley.
Can anyone recomend a good book or article on inter-client communications BESIDES I.C.C.M.?  I've looked everywhere I can and it seems everyone tells you how to do it but nobody SHOWS you how.  O'Reilly has no examples, ICCM has no examples, Asente & Swick give no examples - in fact most of the books I've looked at, if they discuss ICC at all, simply give a condensed version of the ICCM and then refer you to the ICCM.  I did find one example of how to use Atoms and  Properties in Young's book and five hours after I bought Young's book I had my applications talking to each other.  I am not sure, however, if thats the best way.  I'd like to stay independent  of Unix so pipes and/or sockets probably aren't the way to go.  But within X one can also use messages, the clipboard, and perhaps window groups.  I need a text that discusses the various methods, discusses which method is best for which purpose, and gives examples.  Without examples it's all just words.  Thanks in advance
# # I've gotten very few posts on this group in the last couple days.  (I # recently added it to my feed list.)  Is it just me, or is this group # near death? #  Seen from the mailing list side, I'm getting about the right amount of traffic.  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 ---------
Hello...  I wonder if some one can suggest an answer to the following question: I am a total X novice and would appreciate any suggestions you may have.  I am trying to create a simple drawing tool....         __________        |        |        |     ___|___        |_____|__|  |              |	   | 	     |_____|  Let's say I have two rectangles on the canvas(see above)  one intersecting the other... Now, I would like to delete one of the rectangles. The way I do it is to create another GC wherein I use the GXxor logical function and simply redraw the rectangle using the newly created graphics context thus deleting it for all apparent purposes. A problem with this approach is that at the points of intersection the pixel  locations belonging to the other rectangle also become white, which is  something that should be avoided.  Is there any way I can avoid this problem without having to redraw the other rectangle too? I also would not like to generate an expose event for the affected area as this degrades performance very badly...
In article <1993Apr20.105725@narya.gsfc.nasa.gov>     dealy@narya.gsfc.nasa.gov (Brian Dealy - CSC) writes: > >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                |301-572-8267| 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   Try this:  char *name=NULL; unsigned long value;  if(XGetFontProperty(font, XA_FONT, value))      name=XGetAtomName(dpy, value);  where dpy is your Display connection and font your XFontStruct pointer.
# # Does anyone know if the following is possible, and if so how do I go about # doing it. #  # I want to be able to display remote X11 applications on a VAXstation 2000 off # of an Internet node. Here is where the problem comes up, the VAXstation isn't # connected directly to the Internet but is connected via Decnet to a node that # does have a connection to the Internet. Does anyone know if it is possible to # get the display to use TCPIP from the remote Internet node down to my local # Internet node and then send it via Decnet down to the VAXstation 2000? #  For the machine that is connected to the InterNet, what is it running?  If it is running VMS, then if you obtain MultiNet for it, MultiNet comes with a TCP/IP to DECnet gateway for X11.  Patrick L. Mahan  --- TGV Window Washer ------------------------------- Mahan@TGV.COM ---------
I need help binding some value to the HOME and END keys on my keyboard.  I have an rs/6000 w/ aix3.2.3ext running X11R5pl19 mit dist.  I'm using a PC running eXceed for windows as my xterminal.  The HOME and END keys do not send a value, and my application needs them to be defined.  I used this in my Xdefaults to define the keys:  varnet*VT100.Translations: #override \     <Key>Home: string("\033[8~") \n\     <Key>End: string("\033[7~")  Then I xterm -name varnet.  This works perfect, however the 7 and the 1 key on my keypad are also defined as \033[8~ and \033[7~.  Any ideas?  Help please.  Thanks.
I've been able to configure xterm so that I can type in accented characters. I'm using X11R5, with iso8859 fonts, my shell is tcsh with the following  definitions :  setenv LC_CTYPE iso_8859_1 stty pass8  Then, I add the following in my .Xdefaults file:  XTerm*eightBitInput: True XTerm*eightBitOutput: True  XTerm*VT100.Translations: #override \ Meta<Key>': keymap(aigu) \n\ Meta<Key>`: keymap(grave) \n\ Meta<Key>^: keymap(circ) \n\ Meta<Key>\\,: keymap(ced) XTerm*VT100.aiguKeymap.translations:  \ ~Shift <Key>e: string(0xe9) keymap(None)\n\ <Key>E: string(0xc9) keymap(None) \n\ ~Shift <Key>c:  string(0xe7) \n\ <Key> C:  string(0xc7) XTerm*VT100.graveKeymap.translations: \ ~Shift <Key>e: string(0xe8) keymap(None)\n\ <Key>E: string(0xc8) keymap(None)\n\ ~Shift <Key>u: string(0xf9) keymap(None)\n\ <Key>U: string(0xd9) keymap(None)\n\ ~Shift <Key>a: string(0xe0) keymap(None)\n\ <Key>A: string(0xc0) keymap(None) XTerm*VT100.circKeymap.translations:  \ ~Shift <Key>e: string(0xea) keymap(None)\n\ <Key>E: string(0xca) keymap(None)\n\ ~Shift <Key>u: string(0xfb) keymap(None)\n\ <Key>U: string(0xdb) keymap(None)\n\ ~Shift <Key>i: string(0xee) keymap(None)\n\ <Key>I: string(0xce) keymap(None)\n\ ~Shift <Key>o:  string(0xf4) keymap(None)\n\ <Key>O: string(0xd4) keymap(None) XTerm*VT100.cedKeymap.translations: \ ~Shift <Key>c:  string(0xe7) keymap(None)\n\ <Key> C:  string(0xc7) keymap(None)  This makes the Meta-{',`,^} keys behave as dead keys.  Of course, this only works for xterm. For emacs, my solution is to install the Lucid version of GnuEmacs 19, and to load the x-compose library.   Hope this helps,   	Eric
QUESTION:   What is the EXACT entry (parameter and syntax please), in the X-Terminal configuration file (loaded when the X-Terminal boots), to add another system  to the TCP/IP access control list?       BACKGROUND:   I have two unix systems, 1. an AT&T 3B2 running X11R3 and MIT's X11R4 and  2. a Sun SS10 without any X.     I want to have a window to the Sun and the 3B2 on the NCD X-Terminal at the same time.  I can do this if I manually set the Network Parameter TCP/IP Access Control List to off, then login to my telnet session. Not Great!     I've tried to get "xhost" to work and failed.  Either my syntax is wrong or the X11R3 implementation is bogus.     I am trying to edit the NCD configuration file that is loaded when the  NCD boots.  No matter what entry I add or edit, the NCD still boots with the TCP/IP Access Control list containing only the 3B2.   My manuals are worthless so any help would be most appreciated!!  Thanks!
In article <Yfo=qfe00WB2QzZ7EZ@andrew.cmu.edu> Wilson Swee <ws8n+@andrew.cmu.edu> writes: >_sin >_cos >_pow >_floor  Link with '-lm' (math library).  >_get_wmShellWidgetClass >_get_applicationShellWidgetClass  This is a bug in Sun's shared libraries. Linking with '-assert nodefinitions' should do the trick.