Re: a beginners question

2003-09-22 Thread amr roushi
Alexander Gottwald wrote:
On Fri, 19 Sep 2003, amr roushi wrote:


Alexander Gottwald wrote:

I've commited a patch which changes the title to Cygwin/XFree86 - host
if the -query option is supplied. Otherwise it stays Cygwin/XFree86 - 0:0
Thank u Alex for the patch . How can we get it


There is currently no binary built with this patch. If you can't wait for the next 
release and want to compile XWin yourself you should check the contributor's guide 
at http://xfree86.cygwin.com/docs/cg/. 

But since this posting is titled a beginners question I think it is better for 
you to wait a few days for the next release.

I've nevertheless attached the patch for the curious. 

bye
ago
Alex thank u for ur answer , I will wait for the next release thanks again .
amr



Re: a beginners question

2003-09-22 Thread Alexander Gottwald
On Mon, 22 Sep 2003, amr roushi wrote:

 I will wait for the next release thanks again .

Test 101 (XFree86-serv-4.3.0-14) is out and includes the changes.

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Re: a beginners question

2003-09-22 Thread amr roushi
Alexander Gottwald wrote:
On Mon, 22 Sep 2003, amr roushi wrote:


I will wait for the next release thanks again .


Test 101 (XFree86-serv-4.3.0-14) is out and includes the changes.

bye
ago
Alex thank u works like a charm thank u again
bye
amr



Re: a beginners question

2003-09-19 Thread amr roushi
Alexander Gottwald wrote:
amr roushi wrote:


I am new in Xfree86 , I use many Xwin windows with the comman xwin :XX
-query hostname . It works fine but the window gets a permanent nam
Xfree86 PORTNUM is there a way to change this to display something
meaningful such as the host name for example .


I've commited a patch which changes the title to Cygwin/XFree86 - host
if the -query option is supplied. Otherwise it stays Cygwin/XFree86 - 0:0
bye
ago
NP: Diary of Dreams - Freak Perfume (Limited Edition) - Traum:A
Thank u Alex for the patch . How can we get it
thanks



Re: a beginners question

2003-09-19 Thread Alexander Gottwald
On Fri, 19 Sep 2003, amr roushi wrote:

 Alexander Gottwald wrote:
  I've commited a patch which changes the title to Cygwin/XFree86 - host
  if the -query option is supplied. Otherwise it stays Cygwin/XFree86 - 0:0

 Thank u Alex for the patch . How can we get it

There is currently no binary built with this patch. If you can't wait for the next 
release and want to compile XWin yourself you should check the contributor's guide 
at http://xfree86.cygwin.com/docs/cg/. 

But since this posting is titled a beginners question I think it is better for 
you to wait a few days for the next release.

I've nevertheless attached the patch for the curious. 

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723Index: InitOutput.c
===
RCS file: /cvsroot/xoncygwin/xc/programs/Xserver/hw/xwin/InitOutput.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- InitOutput.c15 Sep 2003 18:14:05 -  1.3
+++ InitOutput.c18 Sep 2003 19:37:08 -  1.4
@@ -54,6 +54,7 @@
 HWND   g_hDlgExit = NULL;
 Bool   g_fCalledSetLocale = FALSE;
 Bool   g_fCalledXInitThreads = FALSE;
+const char *   g_pszQueryHost = NULL;
 
 
 /*
@@ -1189,6 +1190,16 @@
 {
   CHECK_ARGS (1);
   g_cmdline.rgbPath = argv[++i];
+  return 0; /* Let DIX parse this again */
+}
+
+  /*
+   * Look for the '-query' argument
+   */
+  if (IS_OPTION (-query))
+{
+  CHECK_ARGS (1);
+  g_pszQueryHost = argv[++i];
   return 0; /* Let DIX parse this again */
 }
 
Index: win.h
===
RCS file: /cvsroot/xoncygwin/xc/programs/Xserver/hw/xwin/win.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- win.h   17 Sep 2003 22:56:11 -  1.3
+++ win.h   18 Sep 2003 19:37:08 -  1.4
@@ -580,6 +580,7 @@
 extern HWNDg_hDlgExit;
 extern int  g_copyROP[];
 extern int  g_patternROP[];
+extern const char * g_pszQueryHost;
 
 
 /*
Index: wincreatewnd.c
===
RCS file: /cvsroot/xoncygwin/xc/programs/Xserver/hw/xwin/wincreatewnd.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- wincreatewnd.c  15 Sep 2003 18:14:05 -  1.2
+++ wincreatewnd.c  18 Sep 2003 19:37:08 -  1.3
@@ -77,7 +77,13 @@
   RegisterClass (wc);
 
   /* Set display and screen-specific tooltip text */
-  snprintf (szTitle,
+  if (g_pszQueryHost != NULL)
+snprintf (szTitle,
+   sizeof (szTitle),
+   WINDOW_TITLE_XDMCP,
+   g_pszQueryHost); 
+  else
+snprintf (szTitle,
sizeof (szTitle),
WINDOW_TITLE,
display, 
@@ -277,7 +283,13 @@
 #endif
 
   /* Set display and screen-specific tooltip text */
-  snprintf (szTitle,
+  if (g_pszQueryHost != NULL)
+snprintf (szTitle,
+   sizeof (szTitle),
+   WINDOW_TITLE_XDMCP,
+   g_pszQueryHost); 
+  else
+snprintf (szTitle,
sizeof (szTitle),
WINDOW_TITLE,
display, 
Index: winwindow.h
===
RCS file: /cvsroot/xoncygwin/xc/programs/Xserver/hw/xwin/winwindow.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- winwindow.h 15 Sep 2003 18:14:05 -  1.2
+++ winwindow.h 18 Sep 2003 19:37:08 -  1.3
@@ -43,6 +43,7 @@
 /* Constant strings */
 #define WINDOW_CLASS   cygwin/xfree86
 #define WINDOW_TITLE   Cygwin/XFree86 - %s:%d
+#define WINDOW_TITLE_XDMCP Cygwin/XFree86 - %s
 #define WIN_SCR_PROP   cyg_screen_prop rl
 #define WINDOW_CLASS_X cygwin/xfree86 X rl
 #define WINDOW_TITLE_X Cygwin/XFree86 X


Re: a beginners question

2003-09-18 Thread Alexander Gottwald
amr roushi wrote:

 I am new in Xfree86 , I use many Xwin windows with the comman xwin :XX
 -query hostname . It works fine but the window gets a permanent nam
 Xfree86 PORTNUM is there a way to change this to display something
 meaningful such as the host name for example .

I've commited a patch which changes the title to Cygwin/XFree86 - host
if the -query option is supplied. Otherwise it stays Cygwin/XFree86 - 0:0

bye
ago

NP: Diary of Dreams - Freak Perfume (Limited Edition) - Traum:A
-- 
 [EMAIL PROTECTED]
 http://www.gotti.org   ICQ: 126018723


a beginners question

2003-09-16 Thread amr roushi
I am new in Xfree86 , I use many Xwin windows with the comman xwin :XX 
-query hostname . It works fine but the window gets a permanent nam 
Xfree86 PORTNUM is there a way to change this to display something 
meaningful such as the host name for example .
Thank You




Re: a beginners question

2003-09-16 Thread Alexander Gottwald
On Tue, 16 Sep 2003, amr roushi wrote:

 I am new in Xfree86 , I use many Xwin windows with the comman xwin :XX 
 -query hostname . It works fine but the window gets a permanent nam 
 Xfree86 PORTNUM is there a way to change this to display something 
 meaningful such as the host name for example .

I will take a look. 

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723