nanogui: Thread: learning microwindows


[<<] [<] Page 1 of 1 [>] [>>]
Subject: learning microwindows
From: "tian tao" ####@####.####
Date: 31 Aug 2004 10:23:36 +0100
Message-Id: <BAY19-F2Yp523dAYQjC0009f08a@hotmail.com>

Hi all,
  I am new to microwindows. I hope to learn how the nano-x client/server 
model works. Is there any detailed resource about it? I checked it with 
google, and just find some general introduction about it. I hope to discuss 
some question with you in this mailinglist. As a newbie to microwindows, I 
may ask some stupid question, hope you can forgive me.
  A general process of the c/s model of microwindows in my understanding is 
that: the server running nano-x server, handle the request of client and 
use the graphics core to process it and use the drivers to show it out on 
the server. the application runs on client, the client produce the require 
structure of the function of application, and send the requires to the 
server.
  Can anyone tell me my understanding is wrong or right, thank you! and 
then i hope to deep into the working of microwindows c/s model.
  My english is so poor, thank you for reading and hope your response.
                       TianTao from China

_________________________________________________________________
享用世界上最大的电子邮件系统― MSN Hotmail。  http://www.hotmail.com  

Subject: Re: [nanogui] learning microwindows
From: Hinko Kocevar ####@####.####
Date: 31 Aug 2004 15:03:38 +0100
Message-Id: <41348536.3070303@iskramedical.si>

tian tao wrote:
> Hi all,
>  I am new to microwindows. I hope to learn how the nano-x client/server 
> model works. Is there any detailed resource about it?

Just read the source is the most comprehensive resource currently available.

>  A general process of the c/s model of microwindows in my understanding 
> is that: the server running nano-x server, handle the request of client 
> and use the graphics core to process it and use the drivers to show it 
> out on the server. the application runs on client, the client produce 
> the require structure of the function of application, and send the 
> requires to the server.
>  Can anyone tell me my understanding is wrong or right, thank you! and 
> then i hope to deep into the working of microwindows c/s model.

Basicly thats that. Nano-X sets up underlying hardware, like mouse,
keyboard,
display, etc. and creates socket for client apps to connect to. After
that it just spins
forever waiting (in GsSelect()) for somekind of event to happen (eg. mouse
movement, mouse click, keyboard read, client request via socket, etc.).
See nanox/srvmain.c main().

After event occurs it dispatches it to appropriate handler - driver, or
window if event
is for client app.

This is rough rundown, to get better insight I suggest you hook up
debugger and
step through the code (server and/or client).

regards,
h

-- 
hinko <dot> kocevar <at> iskramedical <dot> si
Hinko Kocevar, developer
Iskra Medical d.o.o., Stegne 23, 1k LJ, SLO-EU

	"Aì rén"	|	[Analects XII:22]
Subject: Re: [nanogui] learning microwindows
From: "Greg Haerr" ####@####.####
Date: 13 Sep 2004 00:03:28 +0100
Message-Id: <0c3a01c4991c$6a0d0a30$3eba46a6@winXP>

:  I hope to learn how the nano-x client/server 
: model works. Is there any detailed resource about it? 

There is documentation within the Microwindows source
archive, microwin/doc directory.  Specifically, there's
a tutorial microwin/doc/original_mini-x.txt that should
help answer some of your questions.  Also there's a number
of tutorials on the web site.

Regards,

Greg

[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.