diff --git a/design.txt b/design.txt index 3e154870..8175b793 100644 --- a/design.txt +++ b/design.txt @@ -1,7 +1,7 @@ This document is intended to explain xrdp server design. -Many connections, all capable of running different moduals +Many connections, all capable of running different modules one connection could be using a vnc connection one could be running a custom app made for xrdp one could be running a X11 session diff --git a/prog_std.txt b/prog_std.txt new file mode 100644 index 00000000..c358a470 --- /dev/null +++ b/prog_std.txt @@ -0,0 +1,40 @@ + +This is an atempt to explain my odd programming standard used for this project. +Not to defend any of these but its my default standard and make it easy +for me to read. +Some files break these rules, they will be updated eventually. + +try to make any file compile with c++ compilers + +always put one var on a line by itself + char* pvar; + char text[256]; +not + char *pvar, text[256]; + +function calls look like this + foo(a, b, c); +not + foo ( a, b, c ); + +while, if, and case statements look like + while (i != 0) +not + while(i != 0) + +for comments, always use /* */, not // + +defines should always be uppercase + +don't use tabs, use spaces + +no line should exceed 80 chars + +always use {} in if and while, even if its only one line + while (p != 0) + { + p = p->next; + } +not + while (p != 0) + p = p->next; diff --git a/readme.txt b/readme.txt index fd7e551c..39c9745c 100644 --- a/readme.txt +++ b/readme.txt @@ -7,9 +7,17 @@ Credits To use this run make the ./xrdp, then connect with rdesktop or mstsc. Tested with linux and i386. -I've got it compiling in windows with borland free tools. +I've got it compiling and working in windows with borland free tools. +I've got it compiling and working with linux on x64 processor xrdp directory is the main server code +vnc directory is a simple vnc client module for xrdp +sesman directory is a session manager for xrdp that uses Xvnc for the Xserver +COPYING is the licence file design.txt is an attempt to expain the project design +prog_std.txt is an attemp to explain the programming standard used + +There is some installation notes on the web site under news. +I'm working on an installation script. Jay