Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!sun-barr!decwrl!wam.UMD.EDU!stripes From: stripes@wam.UMD.EDU Newsgroups: comp.windows.x Subject: Re: Executing X11 programs Message-ID: <8906240149.AA09179@cscwam.UMD.EDU> Date: 24 Jun 89 01:49:18 GMT References: <4162@uhccux.uhcc.hawaii.edu> Organization: (So little it doesn't count) Lines: 25 In article <4162@uhccux.uhcc.hawaii.edu> satish@uhccux.uhcc.hawaii.edu (Satish Kumar) writes: [stuff removed] > I succesfully compiled and linked a program (program is a simple >one, i.e to write my name in a rectangle). The executable program is upto >date (i.e without any errors). When I execute the program, I can succesfully >connect to the X server. But nothing will be displayed on the terminal >(in the window).the control returns to the unix shell ( in the default >window, i.e the window started by 'xinit'). For executing any program, This sounds like your program doesn't flush the output buffer, or doesn't wait for any events (which automagicly flushes the output buffer). A lot of people make this mastake (even after reading it in a X book). >...But before mapping a window, standard properties >are to be set using XSetStandardProperties(.......) function (of Xlib). >line arguments). But I do not know the arguments to be specified, the syntax >/format of the arguments. I am not able to conceive this concept from the >book (Xlib programming manual, by Adrian Nye, O'Reilly Associates, volume 1) Take it a litte at a time, you don't need to know all this untill next week :-) -- stripes@wam.umd.edu "Security for Unix is like Josh_Osborne@Real_World,The Mutitasking for MS-DOS" "The dyslexic porgramer" - Kevin Lockwood "Dammit Jim, I'm a Doctor not an Excorsist" - One of Bones' lines in a previous ST:V script...