Re: Xdmcp too slow with SOME Linux accounts.

2007-09-12 Thread Jean-Claude Gervais
Michel,

One alternative you could try is ssh-ing to the host you want to run
the programs on and invoking the programs directly and comparing the
graphics-update performance.

In essence this means issuing the following command:

ssh -Y [EMAIL PROTECTED] program

The 'Y' parameter is very important, don't forget it.

All this hinges on whether or not the host has SSH enabled, and if it
does, it must also have X forwarding enabled.

Still, it won't cost you that much to try.

In the past, I have tried to use xdmcp like you have only to encounter
the same sluggish performance you've reported, so I've opted to use X
tunneling over SSH instead, which works great. 

The IS a drawback though, it doesn't give you the full desktop with the
background and everything you might be looking for, but in practice the
things you really want are the apps, anyway.

J


On Wed, 2007-09-12 at 06:56 -0700, Michael Giroux wrote:
 Is there an alternative to XDCMP that I could try to see if that
 protocol is causing the problem?
 
 --
 Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
 Problem reports:   http://cygwin.com/problems.html
 Documentation: http://x.cygwin.com/docs/
 FAQ:   http://x.cygwin.com/docs/faq/
 


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Xdmcp too slow with SOME Linux accounts.

2007-09-12 Thread Jean-Claude Gervais
Michael,

I am assuming you are invoking the ssh connection from a graphical
xterm window, it won't work from a console-mode bash prompt.

Other than that, it might mean that X forwarding is not enabled on the
host you are connecting to.

For the record, I just tried the scenario I outlined; ssh to a host and
then invoking eclipse. It worked for me, so it has to be a configuration
issue on your setup.

J

On Wed, 2007-09-12 at 07:45 -0700, Michael Giroux wrote:
 Thanks for the tip.  I was able to use the ssh, but that generated
 errors on the console (below).  Before running the ssh command, I
 started xwin, but perhaps I need to specify some options?
 
 Michael
 
 (eclipse:29698): GLib-GObject-WARNING **: invalid (NULL) pointer instance
 
 (eclipse:29698): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 
 `G_T
 YPE_CHECK_INSTANCE (instance)' failed
 
 (eclipse:29698): Gtk-CRITICAL **: gtk_settings_get_for_screen: assertion 
 `GDK_IS
 _SCREEN (screen)' failed
 
 (eclipse:29698): GLib-GObject-CRITICAL **: g_object_get: assertion 
 `G_IS_OBJECT
 (object)' failed
 
 (eclipse:29698): GLib-GObject-WARNING **: value TRUE of type `gboolean' is 
 inv
 alid or out of range for property `visible' of type `gboolean'
 
 --
 Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
 Problem reports:   http://cygwin.com/problems.html
 Documentation: http://x.cygwin.com/docs/
 FAQ:   http://x.cygwin.com/docs/faq/
 


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: A thought about stuck keys

2007-08-23 Thread Jean-Claude Gervais
Harold, (are you still around?)

OK, I know it's been a while, but I think I might have figured it out;

If you look in Windows' Keyboard Control-Panel applet, you can set the
Repeat Delay and the Repeat Rate for the keyboard...

If on computerA you press a key and then let go of the key, that might
get sent in a stream to distant computerB as a keydown followed by a
keyup, but it is entirely possible that the two key messages might wind
up in two adjacent packets in the tcp stream. If the second packet is
lost for some reason, tcp will retransmit it, but not before a small
time interval passes. 

So on the computerB, the first fragment of the keyboard stream arrives
and is injected into the local keyboard input stream: keydown. Windows
starts a timer in case you hold the key down.

During this time, the next packet (the one with the keyup) in tcp's
sliding-window is lost, but it takes a while before one of the endpoints
detects this and the lost packet is retransmitted.

While we wait for the retransmission, the keydown timer that was started
on computerB goes off and Windows starts repeating the key at the rate
programmed in the control panel applet.

Eventually, tcp delivers the missing keyup to computerB, and Windows
kills the key-repeat timer which was injecting the 'stuck' key.

This seems to correspond to what I was experiencing.

For a system that is being operated remotely over a high-latency link
and is also under heavy CPU load, it is not hard to imagine this might
be what is happening.

So in the end, there is no bug in cygwin per-se, rather it is the
behaviour of Windows' own keyboard driver timer programming (and the way
netmeeting captures input) that was most likely causing the problem.

Before you ask: No, I have not been obsessing about this problem for
four years, I googled 'debouncing' for unrelated research and saw the
original discussion thread for this problem, re-read it and suddenly it
seemed like I saw a possible answer.

Sort of funny, really.

Thanks
J
 

From: Harold L Hunt II huntharo at msu dot edu
  * To: cygwin-xfree at cygwin dot com
  * Date: Tue, 04 Mar 2003 17:55:59 -0500
  * 
Jean-Claude,

Heh... yes, I am sure that we will eventually understand this bug, but
I spent long enough in the debugger on this one that I don't ever want
to look at it again :)

Harold




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Cygwin X server 'reset' command

2007-08-21 Thread Jean-Claude Gervais
My xterm version is:

$ xterm -v
Cygwin 6.8.2.0(202)

in console mode TERM is set like the following:
TERM=cygwin

In graphical mode TERM is set like the following:
TERM=xterm

Executing the following DOES clear the screen and the backscroll buffer
in graphical mode (thanks, Mansoorali):

printf \ec

But in console mode it only clears the screen, not the backscroll
buffer.




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Adding fonts

2007-08-20 Thread Jean-Claude Gervais
Hi,

Is there a simple way to add fonts to Cygwin's X server?

For example, I have a true-type font called TAHOMA.TTF that I would like
to make available to the X Server.

Are all the host operating system's fonts automatically available to the
X server? Do I have to perform any special actions to enable them? Is
there a formula for doing this?

Thanks in advance, list.

J


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Ctrl got stuck

2005-05-31 Thread Jean-Claude Gervais
Tobias,

if you were to type lots of AltGr key combinations, could you reproduce
the problem every time?


On Tue, 2005-05-31 at 16:21 +0200, Tobias Polzin wrote:
 Hi,
 
 first of all: Thanks for the great cygwin-xfree!
 
 I have one major problem with it: Occasionly (approx every 2 hours,
 sometimes every 5 minutes) it feels like the CTRL-modifier got stuck. I used
 cat and emacs to see, that in this situations pressing an a is
 interpreted as CTRL-a. If I press CTRL, the situation is back to normal,
 but pressing AltGr-something does not give the desired result and makes
 CTRL got stuck again. Using the funny Show Cursor option of the
 X-tray-icon repairs the behaviour... for some minutes or hours. Also
 starting a new xterm -window and closing it repaired the behaviour recently.
 
 I conjecture that it has something to do with AltGr. As I use the german
 keyboard-layout, I have to use AltGr a lot of times while programming C++.
 
 I start Xwin with:
 
 XWin -dpi 92 -multiwindow -clipboard -multiplemonitors -xkbvariant
 nodeadkeys -ac
 
 I mostly work with a Win2K (with desktop-twister) on a remote linux or
 colinux maschine.
 
 The AltGr hints in the FAQ did not help me, as they turn of AltGr completely
 and the problem is not the AltGr does not work correctly. In most cases it
 works.
 
 Any ideas?
 
 Regards,
   Tobias Polzin
 



Re: sshd and X

2005-05-26 Thread Jean-Claude Gervais
I've got a new observation:

Before I installed the ssh daemon and subsequently changed
my /etc/sshd_config settings, I used to log in locally the Windows 2000
machine, and then I would click the /usr/X11R6/bin/startxwin.bat to
start the X server.

A console window would pop up for a moment and then disappear, and then
a graphical xterm window would pop up.

Now, all that still works, but when the console windows pops up during
startxwin.bat's execution, the first line displayed in it says

access denied

Then the rest of the procedure continues; the console window disappears
and is replaced by a graphical xterm.

Here's my /tmp/XWin.log - not the _XSERVTransmkdir: Owner
of /tmp/.X11-unix should be set to root message:


Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.8.2.0-2

Contact: cygwin-xfree@cygwin.com

XWin was started with the following command line:

/usr/X11R6/bin/XWin -multiwindow -clipboard -silent-dup-error 

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1024 h 768
winInitializeDefaultScreens - Returning
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more
information
(==) FontPath set to
/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/
winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per
pixel
winAllocateFBShadowGDI - Creating DIB with width: 2048 height: 768
depth: 32
winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24
bpp 32
null screen fn ReparentWindow
null screen fn RestackWindow
InitQueue - Calling pthread_mutex_init
InitQueue - pthread_mutex_init returned
InitQueue - Calling pthread_cond_init
InitQueue - pthread_cond_init returned
winInitMultiWindowWM - Hello
winMultiWindowXMsgProc - Hello
winInitMultiWindowWM - Calling pthread_mutex_lock ()
winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to lack
of shared memory support in the kernel
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: 1009 (1009) 
(EE) Keyboardlayout Canadian French (1009) is unknown
(--) 3 mouse buttons found
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing
from list!
winInitMultiWindowWM - pthread_mutex_lock () returned.
winProcEstablishConnection - Hello
winMultiWindowXMsgProc - pthread_mutex_lock () returned.
winInitMultiWindowWM - pthread_mutex_unlock () returned.
winInitClipboard ()
winMultiWindowXMsgProc - pthread_mutex_unlock () returned.
winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0
winProcEstablishConnection - winInitClipboard returned.
winClipboardProc - Hello
winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0
DetectUnicodeSupport - Windows NT/2000/XP
winInitMultiWindowWM - XOpenDisplay () returned and successfully opened
the display.
winClipboardProc - DISPLAY=127.0.0.1:0.0
winMultiWindowXMsgProc - XOpenDisplay () returned and successfully
opened the display.
winClipboardProc - XOpenDisplay () returned and successfully opened the
display.


Also, why do I need to run xauth? I use the same machine to ssh to other
hosts, and their X redirection works fine.

Also, if I have to set the DISPLAY variable, what do I set it to, and
where do I set that?

Thanks


On Thu, 2005-05-26 at 12:40 +0800, Erich Dollansky wrote:
 Hi,
 
 Jean-Claude Gervais wrote:
  
  Running an application gives a different error now also.
  
  [EMAIL PROTECTED] ~
  $ xcalc
  X11 connection rejected because of wrong authentication.
  X connection to localhost:10.0 broken (explicit kill or server
  shutdown).
  
 you need to run xauth + at your machine plus you have to set the display 
 environment variable on the other machine.
 
 Check the handbook for the concequenses of above mentioned settings.
 
 Erich



sshd and X

2005-05-25 Thread Jean-Claude Gervais
Hello,

I've installed the Cygwin/X ssh daemon as a service under Windows 2000.

It works fine. I can go sit at Linux box and ssh into the machine
running Windows 2000.

ssh -Y [EMAIL PROTECTED]

Once I am logged in, I'd like to run an X11 application. For example
xcalc.

If I execute xcalc, I get the following output 

$ xcalc
Error: Can't open display:

If I check the environment variables, there is no DISPLAY variable.

Is there a way to make this work?

Thank you.




Re: sshd and X

2005-05-25 Thread Jean-Claude Gervais
Thanks ago,

I can't seem to change the settings in the config files.

I am logged on to the machine a me/domain

The user I am logged on as is in the W2K machine's Administrators
group.
But the config file is owned by SYSTEM and I can't seem to edit it.

What's the best course of action?

Thanks


On Wed, 2005-05-25 at 14:09 +0200, Alexander Gottwald wrote:
 On Wed, 25 May 2005, Jean-Claude Gervais wrote:
 
  ssh -Y [EMAIL PROTECTED]
  
  Once I am logged in, I'd like to run an X11 application. For example
  xcalc.
  
  If I execute xcalc, I get the following output 
  
  $ xcalc
  Error: Can't open display:
  
  If I check the environment variables, there is no DISPLAY variable.
 
 Either X11Forwarding is disabled in the server or some login scripts 
 reset the DISPLAY variable.
 
 Check http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-ssh-no-x11forwarding 
 
 bye
   ago



Re: sshd and X

2005-05-25 Thread Jean-Claude Gervais
ago,

Are you sure the linux box id the problem?

When I open an xterm on the linux box and type SET, I can see the
DISPLAY variable is set correctly, and then if I use that xterm to ssh
to any Linux host, I can run xcalc on the remote host and see the
display locally on the machine I am logged in from.

But when I take the xterm and try connecting to the Windows 2000 ssh
server, I connect OK, but the DISPLAY variable is no longer exists in
the bash shell the Windows 2000 box starts.

Thanks

On Wed, 2005-05-25 at 14:40 +0200, Alexander Gottwald wrote:
 On Wed, 25 May 2005, Jean-Claude Gervais wrote:
 
  Thanks ago,
  
  I can't seem to change the settings in the config files.
  I am logged on to the machine a me/domain
  The user I am logged on as is in the W2K machine's Administrators
  group.
  But the config file is owned by SYSTEM and I can't seem to edit it.
  What's the best course of action?
 
 You'll have to change the config files on the linux server
 
 bye
   ago



Re: sshd and X

2005-05-25 Thread Jean-Claude Gervais
Thanks, Ago.

Using the instructions you provided, I was able to edit the file and
enable 

X11Forwarding yes

I've restarted the ssh daemon, but it still doesn,t work, the DISPLAY
variable is still not set.

One thing; I changed the file
/etc/sshd_config
NOT
/etc/ssh/sshd_config

There is no /etc/ssh/ 
folder. All the ssh-related files are in /etc
Is that normal?

Also, what should I try next?

thanks.


On Wed, 2005-05-25 at 15:25 +0200, Alexander Gottwald wrote:
 On Wed, 25 May 2005, Jean-Claude Gervais wrote:
 
  ago,
  
  Are you sure the linux box id the problem?
  
 Sorry, I assumed you were connecting from cygwin to linux and not the
 other way. 
 
I can't seem to change the settings in the config files.
I am logged on to the machine a me/domain
The user I am logged on as is in the W2K machine's 
Administrators
group.
But the config file is owned by SYSTEM and I can't seem to edit 
it.
What's the best course of action?
 
 sshd is running as user SYSTEM and so they are owned by him. Changing the
 file permissions may help
 
 chmod go+w /etc/ssh/sshd_config
 vi  /etc/ssh/sshd_config
 chmod go-w /etc/ssh/sshd_config
 
 But that's only a wild guess
 
 bye
   ago



Re: sshd and X

2005-05-25 Thread Jean-Claude Gervais
Thanks for trying, but it gives the same result.

Maybe if I ask the question in a different way? Someone here MUST know
this -

How do you configure a Windows machine to receive ssh connections (done)
and also run x applications and send the display back to the ssh client?

Is there a how-to for this? I realize it is pretty specific to Cygwin/X

Thanks


On Wed, 2005-05-25 at 10:59 -0400, Jean-Sebastien Trottier wrote:
 Try using the -X switch as well:
 ssh -X -Y [EMAIL PROTECTED]
 
 If this works, then read man ssh_config to learn how to enable X11
 forwarding by default on the client side.
 
 Cheers,
 Sebastien
 
 On Wed, May 25, 2005 at 10:07:40AM -0400, Jean-Claude Gervais wrote:
  Thanks, Ago.
  
  Using the instructions you provided, I was able to edit the file and
  enable 
  
  X11Forwarding yes
  
  I've restarted the ssh daemon, but it still doesn,t work, the DISPLAY
  variable is still not set.
  
  One thing; I changed the file
  /etc/sshd_config
  NOT
  /etc/ssh/sshd_config
  
  There is no /etc/ssh/ 
  folder. All the ssh-related files are in /etc
  Is that normal?
  
  Also, what should I try next?
  
  thanks.
  
  
  On Wed, 2005-05-25 at 15:25 +0200, Alexander Gottwald wrote:
   On Wed, 25 May 2005, Jean-Claude Gervais wrote:
   
ago,

Are you sure the linux box id the problem?

   Sorry, I assumed you were connecting from cygwin to linux and not the
   other way. 
   
  I can't seem to change the settings in the config files.
  I am logged on to the machine a me/domain
  The user I am logged on as is in the W2K machine's 
  Administrators
  group.
  But the config file is owned by SYSTEM and I can't seem to edit 
  it.
  What's the best course of action?
   
   sshd is running as user SYSTEM and so they are owned by him. Changing the
   file permissions may help
   
   chmod go+w /etc/ssh/sshd_config
   vi  /etc/ssh/sshd_config
   chmod go-w /etc/ssh/sshd_config
   
   But that's only a wild guess
   
   bye
 ago
  



Re: sshd and X

2005-05-25 Thread Jean-Claude Gervais
Here's the output:


[EMAIL PROTECTED] ~ $ ssh -v -Y neptune
OpenSSH_4.0p1, OpenSSL 0.9.7g 11 Apr 2005
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to neptune [192.168.1.10] port 22.
debug1: Connection established.
debug1: identity file /home/jcgervais/.ssh/identity type -1
debug1: identity file /home/jcgervais/.ssh/id_rsa type -1
debug1: identity file /home/jcgervais/.ssh/id_dsa type -1
debug1: Remote protocol version 1.99, remote software version
OpenSSH_4.0
debug1: match: OpenSSH_4.0 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.0
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server-client aes128-cbc hmac-md5 none
debug1: kex: client-server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(102410248192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'neptune' is known and matches the RSA host key.
debug1: Found key in /home/jcgervais/.ssh/known_hosts:12
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue:
publickey,password,keyboard-interacti ve
debug1: Next authentication method: publickey
debug1: Trying private key: /home/jcgervais/.ssh/identity
debug1: Trying private key: /home/jcgervais/.ssh/id_rsa
debug1: Trying private key: /home/jcgervais/.ssh/id_dsa
debug1: Next authentication method: keyboard-interactive
debug1: Authentications that can continue:
publickey,password,keyboard-interacti ve
debug1: Next authentication method: password
[EMAIL PROTECTED]'s password:
debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: Requesting X11 forwarding with authentication spoofing.
Last login: Wed May 25 11:10:32 2005 from pluto
Fanfare!!!
You are successfully logged in to this server!!!
basename: invalid option -- b
Try `basename --help' for more information.
-bash: [: =: unary operator expected

[EMAIL PROTECTED] ~
$

On Wed, 2005-05-25 at 17:14 +0200, Alexander Gottwald wrote:
 On Wed, 25 May 2005, Jean-Claude Gervais wrote:
 
  Thanks for trying, but it gives the same result.
  
  Maybe if I ask the question in a different way? Someone here MUST know
  this -
  
  How do you configure a Windows machine to receive ssh connections (done)
  and also run x applications and send the display back to the ssh client?
  
  Is there a how-to for this? I realize it is pretty specific to Cygwin/X
 
 Setting up the X11 tunnel is a bit complicated as sshd must create an xauth 
 cookie and ad it to ~/.Xauthorities. If this fails (either because xauth
 was not found or some dll is not available or the like) x11 forwarding 
 will most likely be disabled.
 
 Maybe ssh -v -v -v wil give you a clue what is happening.
 
 bye
   ago



Re: sshd and X

2005-05-25 Thread Jean-Claude Gervais
There is no trace after the X11 forwarding request.
Should there be?
If there should be, what does this tell us?

On Wed, 2005-05-25 at 11:23 -0400, Jean-Claude Gervais wrote:
 debug1: Entering interactive session.
 debug1: Requesting X11 forwarding with authentication spoofing.




Re: sshd and X

2005-05-25 Thread Jean-Claude Gervais
OK, the machine hadn't rebooted, that was causing a problem.
After reboot, the login responses have changed:

error in locking authority file /cygdrive/y/jcgervais/.Xauthority


[EMAIL PROTECTED] ~ $ ssh -Y neptune
[EMAIL PROTECTED]'s password:
Last login: Wed May 25 23:37:00 2005 from pluto
Fanfare!!!
You are successfully logged in to this server!!!
/usr/X11R6/bin/xauth:  error in locking authority
file /cygdrive/y/me/.Xauthority
basename: invalid option -- b
Try `basename --help' for more information.
-bash: [: =: unary operator expected

Running an application gives a different error now also.

[EMAIL PROTECTED] ~
$ xcalc
X11 connection rejected because of wrong authentication.
X connection to localhost:10.0 broken (explicit kill or server
shutdown).




On Wed, 2005-05-25 at 12:37 -0400, Igor Pechtchanski wrote:
 On Wed, 25 May 2005, Boaz Harrosh wrote:
 
  Alexander Gottwald wrote:
 
   Maybe ssh -v -v -v wil give you a clue what is happening.
 
  Right!! try running sshd in a consul in the foreground. (Check what switch
  makes it run in the foreground (-d?))
 
 Both -D and -d do (Cygwin's ssh-host-config uses the -D option for the
 service).  -d is much more verbose (into the system log, which by default
 is the Windows Event Log), and will only accept one connection.
 
  Than see what prints you have.
  If this works it is not the end. SYSTEM user is different than the
  foreground user, sshd is very picky about permissions been to low or to
  high.
 
 You can run sshd from a SYSTEM-owned shell (Google for system owned shell
 shortcut).
   Igor



Re: gaim 'BadWindow' crashes fixed

2004-07-13 Thread Jean-Claude Gervais
Danilo,

If you have the uncompressed TIFFs handy, could you please send them to
me?

Or if there is an easier way to fix the problem, please, someone speak
up.

Thanks.

On Tue, 2004-07-06 at 11:01, Danilo Turina wrote:
 I also think so.
 In fact when I used WindowMaker (now I go with -multiwindow) I had the 
 same problem and it was caused by lz77 compressed tiff icons.
 If I remember well (but I usually don't), I converted the broken TIFFs 
 with IrfanView to uncompressed (or non-lz77 compressed) TIFFs.
 
 Ciao,
 
   Danilo
 
 Alexander Gottwald wrote:
 
  On Tue, 6 Jul 2004, Jean-Claude Gervais wrote:
  
  
 You wouldn't happen to know how to fix the WindowMaker Preferences
 Utility corrupted icons bug, would you?
  
  
  Maybe this is the long standing bug with lz77 compressed tiff files in the
  windowmaker package with libtiff without lz77 algorithm.
  
  But i don't use windowmaker and can't tell exactly.
  
  bye
  ago
 



Re: gaim 'BadWindow' crashes fixed

2004-07-06 Thread Jean-Claude Gervais
Thank you, Alexander.

I was searching for the solution to the bug in relation with Gaim, which
is the only application I had problems with: Mozilla and Evolution both
worked fine, only Gaim crashed.


You wouldn't happen to know how to fix the WindowMaker Preferences
Utility corrupted icons bug, would you?

I did find one or two messages on the subject, but no one seemed to have
a solution.

On Tue, 2004-07-06 at 04:23, Alexander Gottwald wrote:
 On Mon, 5 Jul 2004, Jean-Claude Gervais wrote:
 
  It turns out that the key to avoiding this is invoking the SSH
  connection with the '-Y' option, and NOT the '-X' option, like this -
  
  ssh -C -Y [EMAIL PROTECTED]
  
  Once again, after a lot of searching (and swearing) it was Harold L.
  Hunt who came up with the answer:
  
  http://www.cygwin.com/ml/cygwin-xfree/2004-03/msg00701.html
  
  Thanks, Harold.
  
  PS - I KNOW that this is obviously OLD news, but I only ended up
  stumbling on the solution almost by chance, and I thought it was worth
  repeating here, in case someone else is having the same problem.
 
 It is stated in the FAQ for some months now.
 
 bye
   ago



gaim 'BadWindow' crashes fixed

2004-07-05 Thread Jean-Claude Gervais
Hello,

I've been having the same problem:

Every time I float my mouse pointer over a widget that produces a
bubble-help-text, gaim would exit with a X crash.

This would only happen when tunneling X over SSH from a Windows box
running Cygwin to a Linux box where gaim executes.

It turns out that the key to avoiding this is invoking the SSH
connection with the '-Y' option, and NOT the '-X' option, like this -

ssh -C -Y [EMAIL PROTECTED]

Once again, after a lot of searching (and swearing) it was Harold L.
Hunt who came up with the answer:

http://www.cygwin.com/ml/cygwin-xfree/2004-03/msg00701.html

Thanks, Harold.

PS - I KNOW that this is obviously OLD news, but I only ended up
stumbling on the solution almost by chance, and I thought it was worth
repeating here, in case someone else is having the same problem.

PPS - Now if I could only get the WindowMaker Preferences Utility to
display its icons, I'd be halfway home.

Thanks, all.




GTK

2004-01-29 Thread Jean-Claude Gervais
Hi,

A year or so ago, to compile GTK apps to run under Cygwin, you had to
patch the GTK source and the glib sources.

I was just wondering if this is still the case?

I've googled a bit, but found mostly dead links.

Anyone have some info on the subject?

Thanks.




cygpcre-0.dll missing from default install

2003-12-29 Thread Jean-Claude Gervais
Hello and thanks in advance!

I installed cygwin using

www.cygwin.com/setup.exe

and default packages selected on a computer running Windows 2000 that
has never had Cygwin installed on it.

tried running less after and 


---
less.exe - Unable To Locate DLL
---
The dynamic link library cygpcre-0.dll could not be found in the
specified path
C:\cygwin\bin;.;C:\WINNT\system32;C:\WINNT\system;C:\WINNT;C:\cygwin\usr\local\bin;C:\cygwin\bin;C:\cygwin\bin;C:\cygwin\usr\X11R6\bin;c:\WINNT\system32;c:\WINNT;c:\WINNT\System32\Wbem
---
OK
---




Cygwin Win95/NT Configuration Diagnostics
Current System Time: Mon Dec 29 19:32:37 2003

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 4

Path:   C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
c:\WINNT\system32
c:\WINNT
c:\WINNT\System32\Wbem
c:\Program Files\Common Files\Adaptec Shared\System
C:\cygwin\bin

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 1000(JC) GID: 513(None)
513(None)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 1000(JC) GID: 513(None)
513(None)544(Administrators)  
545(Users)

SysDir: C:\WINNT\system32
WinDir: C:\WINNT

HOME = `C:\cygwin\home\JC'
MAKE_MODE = `unix'
PWD = `/home/JC'
USER = `JC'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\JC.THOR\Application Data'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `THOR'
COMSPEC = `C:\WINNT\system32\cmd.exe'
CVS_RSH = `/bin/ssh'
HOMEDRIVE = `C:'
HOMEPATH = `\Documents and Settings\JC.THOR'
HOSTNAME = `thor'
INFOPATH =
`/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr/autotool/stable/info:'
LOGONSERVER = `\\THOR'
MANPATH =
`/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man:'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/usr/bin'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 5 Stepping 2, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0502'
PROGRAMFILES = `C:\Program Files'
PROMPT = `$P$G'
PS1 = `\[\033]0;\w\007
[EMAIL PROTECTED] \[\033[33m\w\033[0m\]
$ '
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINNT'
TEMP = `c:\DOCUME~1\JC40BE~1.THO\LOCALS~1\Temp'
TERM = `cygwin'
TMP = `c:\DOCUME~1\JC40BE~1.THO\LOCALS~1\Temp'
USERDOMAIN = `THOR'
USERNAME = `JC'
USERPROFILE = `C:\Documents and Settings\JC.THOR'
WINDIR = `C:\WINNT'
_ = `/usr/bin/cygcheck'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x0022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `C:\cygwin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `C:\cygwin/bin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `C:\cygwin/lib'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

a:  fd   N/AN/A
c:  hd  NTFS9781Mb  22% CP CS UN PA FC 
d:  hd  NTFS   76340Mb  99% CP CS UN PA FC DATA2
e:  cd  CDFS 440Mb 100%CS UN   CDROM
f:  net NTFS   117202Mb  19% CP CSPAhdb1
g:  net NTFS   2Mb  73% CP CSPAhdd1
h:  net NTFS   57351Mb  53% CP CSPAjc

C:\cygwin  /  system  binmode
C:\cygwin/bin  /usr/bin   system  binmode
C:\cygwin/lib  /usr/lib   system  binmode
.  /cygdrive  system  binmode,cygdrive

Found: C:\cygwin\bin\awk.exe
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cp.exe
Not Found: cpp (good!)
Found: C:\cygwin\bin\find.exe
Not Found: gcc
Not Found: gdb
Found: C:\cygwin\bin\grep.exe
Not Found: ld
Found: C:\cygwin\bin\ls.exe
Not Found: make
Found: C:\cygwin\bin\mv.exe
Found: C:\cygwin\bin\rm.exe
Found: C:\cygwin\bin\sed.exe
Found: C:\cygwin\bin\sh.exe
Found: C:\cygwin\bin\tar.exe

   45k 2001/04/25 C:\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0
  cygform5.dll v0.0 ts=2001/4/25 1:28
   35k 2002/01/09 C:\cygwin\bin\cygform6.dll - os=4.0 img=1.0 sys=4.0
  cygform6.dll v0.0 ts=2002/1/9 1:03
   48k 2003/08/09 C:\cygwin\bin\cygform7.dll - os=4.0 img=1.0 sys=4.0
  cygform7.dll v0.0 ts=2003/8/9 5:25
   28k 2003/07/20 C:\cygwin\bin\cyggdbm-3.dll - os=4.0 img=1.0 sys=4.0
  cyggdbm-3.dll v0.0 ts=2003/7/20 3:58
   30k 2003/08/11 

Re: Cygwin Setup 99%

2003-10-15 Thread Jean-Claude Gervais
A bit of bad luck here:

I'm reinstalling Cygwin on a newly formatted machine this morning.

So what do I do to get it installed now?
The setup is hung.

Do I cancel and run it again? What?

Thanks.

On Mon, 2003-10-13 at 18:13, Harold L Hunt II wrote:
 Wayne,
 
 While we can't expect everyone to do a thorough mailing list archive 
 search before posting, we do at least expect them to look at the posts 
 from today.  You problem has been reported before, and was, in fact, 
 reported again today:
 
 http://cygwin.com/ml/cygwin-xfree/2003-10/msg00134.html
 
 
 The problem is known.  You can just move 
 /etc/postinstall/XFree86-bin-icons.sh to 
 /etc/postinstall/XFree86-bin-icons.sh.done.  Then, from a Cygwin bash 
 shell run '/usr/XFree86/bin/XFree86-bin-icons.sh'.  That should create 
 the icons for you.  The problem right now is that one of the utilities 
 we use hangs when we run the script from setup.exe, but it does not hang 
 when we run the script from a bash shell.  The problem is being looked into.
 
 Harold
 
 [EMAIL PROTECTED] wrote:
  
  
  
  I'm trying to install cygwin/xFree86.   The install program runs to 99% but
  does not finish.   It stops at 'Running...' the
  /etc/postinstall/XFree86-bin-icons.sh
  
  Any suggestions?
  
  Wayne Harpenau
  Sony Disc Manufacturing
  [EMAIL PROTECTED]
  
  
 



Re: [Fwd: Send loss of focus notification when changing focus to a Windows app?]

2003-09-24 Thread Jean-Claude Gervais
Um, does anyone here have a clue to what I'm referring to?
I tried to be as clear as possible.


On Tue, 2003-09-23 at 13:23, Jean-Claude Gervais wrote:
 Is it possible to tell X that it has lost focus when a Windows app gains
 focus?
 
 
 __
 From: Jean-Claude Gervais [EMAIL PROTECTED]
 To: Cygwin-XFree [EMAIL PROTECTED]
 Subject: Send loss of focus notification when changing focus to a Windows app?
 Date: Sun, 21 Sep 2003 17:36:42 -0400
 
 Hi,
 
   I'm runnng the WindowMaker that comes with Cygwin XFree with the
 following options:
 
 XWin -nowinkill -multiplemonitors -nodecoraion -rootless -clipboard
 
 And I've noticed one small detail:
 
 When changing from window to window on X, WindowMaker sems to be able to
 track who is active who is inactive OK.
 
 But when I switch away from an X app to say, Notepad, WindoMaker still
 seems to think that the last X window that was active is STILL active.
 
 Windowmaker is correct in one sense, of course, but more importantly,
 would it be posible to send a focus-loss notification to WindowMaker
 when a Windows app gains focus?
 
 I don't know how X would handle being told that no one has the focus...
 
 Or failing that, maybe it should be told that the hidden root window has
 the focus, I don't know.
 
 The problem is that the way it stands now, when you glance at your
 screen(s) you have trouble knowing where the input will go if you type
 something.
 
 Will what I type go to what seems to be the currently active X window,
 or will it go to a Windows app?
 
 By looking for the active window, it is hard know.
 
 Is there a way to fix this?
 
 Any ideas or solutions appreciated.
 
 



Re: [Fwd: Send loss of focus notification when changing focus to a Windowsapp?]

2003-09-24 Thread Jean-Claude Gervais
Thomas,

I see.

I have to say first: I don't know X that well, but I wonder if the
message notification you're talking about would work.

The WM_MOUSELEAVE message might not be the one to handle this.

The message to notify a window when it has lost/gained focus is 
WM_ACTIVATE.

That message really tells you that a window has been
activated/deactivated.

If I remember well, XWin really only creates ONE window to simulate all
the X Windows.

Well, it might be presumptuous for me to state the following, but what
the heck:

When the XWin window receives a WM_ACTIVATE (or WM_ACTIVATEAPP), it
could then notify X that it has either gained focus or lost it.

'course, I'm not 100% certain this can work, and maybe someone else
here has some brilliant insight why this would/wouldn't work...


Thanks for taking the time to ponder the problem, Thomas.




On Wed, 2003-09-24 at 13:37, Thomas Chadwick wrote:
 FWIW - If you run xev with XWin in -rootless or -multiwindow mode, when you 
 leave the X client window and enter Windows territory, sometimes you get a 
 LeaveNotify event, but sometimes you don't.  It seems to depend on how fast 
 the mouse is moving when you cross the border.  I see in winwndproc.c (and 
 winmultiwindowwndproc.c) that there is code to handle WM_MOUSELEAVE events.  
 Seems to me this would be a good place to stick code that generates a 
 LeaveNotify event in the X client.
 
 From: Jean-Claude Gervais [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 To: Cygwin-XFree [EMAIL PROTECTED]
 Subject: [Fwd: Send loss of focus notification when changing focus to 
 aWindowsapp?]
 Date: Tue, 23 Sep 2003 13:23:33 -0400
 
 Is it possible to tell X that it has lost focus when a Windows app gains
 focus?
 
  message3.txt 
 
 _
 Add MSN 8 Internet Software to your existing Internet access and enjoy 
 patented spam protection and more.  Sign up now!   
 http://join.msn.com/?page=dept/byoa
 



Re: Send loss of focus notification ...

2003-09-24 Thread Jean-Claude Gervais
Quite true, Ago.

I *did* try compiling XWin a while ago, but there was a problem with CVS
and some other thing and I gave up.

I promise to try again! I use Cygwin-XFree all the time, and I think it
is absolutely great!

Thanks.


On Wed, 2003-09-24 at 15:09, Alexander Gottwald wrote:
 On Wed, 24 Sep 2003, Jean-Claude Gervais wrote:
 
  Um, does anyone here have a clue to what I'm referring to?
  I tried to be as clear as possible.
 
 Sorry, it seems no one researches this with a high priority. So
 the best thing would be to examine the problem yourself and to
 send a patch.
 
 bye
   ago



Re: [Fwd: Send loss of focus notification when changing focus to a Windows app?]

2003-09-24 Thread Jean-Claude Gervais
Harold,

Cool!

OK, I'll look that up for you, and that way, we both profit; you get an
easier time maintaining, and I learn a bit about X.

Deal.

Thanks for the info to get me started!


On Wed, 2003-09-24 at 15:25, Harold L Hunt II wrote:
 Jean-Claude,
 
 Yes, I know what you are talking about.
 
 The short answer is that it can be done.
 
 In fact, it is already done in MultiWindow mode.  It was easy to do in 
 MultiWindow mode because our application is the window manager so 
 sending ourself a message to say remove the focus from the current 
 window is easy.  However, doing this for Rootless mode would be (off 
 the top of my head) harder (at least from the standpoint of having to 
 lookup how to do this in a manual somewhere) because we have to send a 
 message to the currently running window manager application saying to 
 set the focus to the root window (I think).
 
 So, it can be done.
 
 You didn't get a response because I like to give more precise responses 
 than the above and I have not had time to lookup the information that I 
 talked about above in various manuals to see if I am actually correct or 
 not.
 
 You would be much more likely to get this feature if you look in the 
 ICCCM (Inter-Client Communications Conventions Manual) and in window 
 manager documentation to see how to send a message to set the focus to 
 the root window.  I might be able to implement the feature in a few 
 minutes with that information.  Otherwise, it will have to wait a while.
 
 Harold
 
 Jean-Claude Gervais wrote:
 
  Um, does anyone here have a clue to what I'm referring to?
  I tried to be as clear as possible.
  
  
  On Tue, 2003-09-23 at 13:23, Jean-Claude Gervais wrote:
  
 Is it possible to tell X that it has lost focus when a Windows app gains
 focus?
 
 
 __
 From: Jean-Claude Gervais [EMAIL PROTECTED]
 To: Cygwin-XFree [EMAIL PROTECTED]
 Subject: Send loss of focus notification when changing focus to a   Windows app?
 Date: Sun, 21 Sep 2003 17:36:42 -0400
 
 Hi,
 
 I'm runnng the WindowMaker that comes with Cygwin XFree with the
 following options:
 
 XWin -nowinkill -multiplemonitors -nodecoraion -rootless -clipboard
 
 And I've noticed one small detail:
 
 When changing from window to window on X, WindowMaker sems to be able to
 track who is active who is inactive OK.
 
 But when I switch away from an X app to say, Notepad, WindoMaker still
 seems to think that the last X window that was active is STILL active.
 
 Windowmaker is correct in one sense, of course, but more importantly,
 would it be posible to send a focus-loss notification to WindowMaker
 when a Windows app gains focus?
 
 I don't know how X would handle being told that no one has the focus...
 
 Or failing that, maybe it should be told that the hidden root window has
 the focus, I don't know.
 
 The problem is that the way it stands now, when you glance at your
 screen(s) you have trouble knowing where the input will go if you type
 something.
 
 Will what I type go to what seems to be the currently active X window,
 or will it go to a Windows app?
 
 By looking for the active window, it is hard know.
 
 Is there a way to fix this?
 
 Any ideas or solutions appreciated.
 
 
  
  
 



[Fwd: Send loss of focus notification when changing focus to a Windows app?]

2003-09-23 Thread Jean-Claude Gervais
Is it possible to tell X that it has lost focus when a Windows app gains
focus?

---BeginMessage---
Hi,

I'm runnng the WindowMaker that comes with Cygwin XFree with the
following options:

XWin -nowinkill -multiplemonitors -nodecoraion -rootless -clipboard

And I've noticed one small detail:

When changing from window to window on X, WindowMaker sems to be able to
track who is active who is inactive OK.

But when I switch away from an X app to say, Notepad, WindoMaker still
seems to think that the last X window that was active is STILL active.

Windowmaker is correct in one sense, of course, but more importantly,
would it be posible to send a focus-loss notification to WindowMaker
when a Windows app gains focus?

I don't know how X would handle being told that no one has the focus...

Or failing that, maybe it should be told that the hidden root window has
the focus, I don't know.

The problem is that the way it stands now, when you glance at your
screen(s) you have trouble knowing where the input will go if you type
something.

Will what I type go to what seems to be the currently active X window,
or will it go to a Windows app?

By looking for the active window, it is hard know.

Is there a way to fix this?

Any ideas or solutions appreciated.


---End Message---


Send loss of focus notification when changing focus to a Windows app?

2003-09-21 Thread Jean-Claude Gervais
Hi,

I'm runnng the WindowMaker that comes with Cygwin XFree with the
following options:

XWin -nowinkill -multiplemonitors -nodecoraion -rootless -clipboard

And I've noticed one small detail:

When changing from window to window on X, WindowMaker sems to be able to
track who is active who is inactive OK.

But when I switch away from an X app to say, Notepad, WindoMaker still
seems to think that the last X window that was active is STILL active.

Windowmaker is correct in one sense, of course, but more importantly,
would it be posible to send a focus-loss notification to WindowMaker
when a Windows app gains focus?

I don't know how X would handle being told that no one has the focus...

Or failing that, maybe it should be told that the hidden root window has
the focus, I don't know.

The problem is that the way it stands now, when you glance at your
screen(s) you have trouble knowing where the input will go if you type
something.

Will what I type go to what seems to be the currently active X window,
or will it go to a Windows app?

By looking for the active window, it is hard know.

Is there a way to fix this?

Any ideas or solutions appreciated.




XWin and -multiplemonitors works once, but not twice?

2003-07-02 Thread Jean-Claude Gervais
When I run XWin with the following:
start /B XWin -engine 1 -nowinkill -multiplemonitors -nodecoration
-rootless -clipboard

It does open and span both my monitors.

If I close XWin and start it again, however, it only displays on the
first monitor.

The log file claims that both monitors are not running at the same
resolution/bit depth. This is untrue.

Any ideas why this might be happening?

Thanks!




RE: OT - Terminal embedded in desktop

2003-06-05 Thread Jean-Claude Gervais
Hi Igor,

OK, so you've basically resolved ONE question for me; there is NO existing
app/terminal/window-manager that does what I want.

As for your suggestion that I code one myself, I think that that is the
only direction to take.

If it were for Windows, I have no doubt that I could manage it, because I
know Win32 well enough, but for X, it's another matter altogether; I
wouldn't really know where to start...

Possibly looking at XEarth and ETerm or ATerm.

Have you any suggestions?

Thanks.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Igor Pechtchanski
Sent: Tuesday, June 03, 2003 9:03 AM
To: [EMAIL PROTECTED]
Subject: RE: OT - Terminal embedded in desktop

Umm, Jean-Claude, most likely I'm missing something, but shouldn't you be
able to create one yourself rather easily by taking the code for a stock
xterm (the simpler - the better), removing the call that creates the
window, and using root drawing calls instead of window drawing calls?  I
know it won't be *that* simple, but as a general direction, does the above
look feasible?
Igor

On Tue, 3 Jun 2003, Jean-Claude Gervais wrote:

 Hi Biju,

 Thanks for taking the time to try and understand.
 I know I am not totally clear.

 I'm not looking for something for Windows.

 It's something for X, Gnome, KDE, or whatever other X thingie I'd
need to
 run it where the desktop is a normal Linux X desktop, with icons and
things
 on it, but at the same time, it is a terminal window.

 The terminal window is transparent, yes.

 But not transparent like a lot of X terminals I've seen that only
put the
 same bitmap that the X root window is using in their client area.

 With normal terminals, you see a fake transparence; it simulates
 transparence by using the desktop bitmap as a background in its (the
 terminal's) window.

 I'm talking about a desktop applet (maybe an applet, maybe
something else,
 I'm not sure)

 that is a terminal window, covering the desktop, but really
transparent.
 And if you click on an item on the desktop, you can activate it.

 Does that make any sense?


 -Original Message-
 From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
 Behalf Of Biju G C
 Sent: Sunday, June 01, 2003 3:55 PM
 To: [EMAIL PROTECTED]
 Subject: Re: OT - Terminal embedded in desktop

 --- Jean-Claude Gervais [EMAIL PROTECTED] wrote:
  Hello,
  Also, the terminal window, since it is the desktop, would not
  have a border, would take up the entire desktop and could not be moved.
It
  would not appear in the window list of the window manager.
 
  Is there such an animal?
 
  Is it an application, a window manager or a combination of the two?
 
  Thanks.

 R u looking some thing like the following
 They are not X Window manger,
 But May be use it along with XWin.exe
 (I have not tried)

 http://blueboxshell.org/
 http://bb4win.org/news.php
 http://www.litestep.net/
 http://indiestep.sourceforge.net/

 http://www.lokai.org/

 http://www.geoshellx.com/
 http://geoshell.sourceforge.net/GeoWiki
 http://carbon.shellscape.org/


 http://shells.lokai.net/

--
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton



RE: OT - Terminal embedded in desktop

2003-06-03 Thread Jean-Claude Gervais
Hi Biju,

Thanks for taking the time to try and understand.
I know I am not totally clear.

I'm not looking for something for Windows.

It's something for X, Gnome, KDE, or whatever other X thingie I'd need to
run it where the desktop is a normal Linux X desktop, with icons and things
on it, but at the same time, it is a terminal window.

The terminal window is transparent, yes.

But not transparent like a lot of X terminals I've seen that only put the
same bitmap that the X root window is using in their client area.

With normal terminals, you see a fake transparence; it simulates
transparence by using the desktop bitmap as a background in its (the
terminal's) window.

I'm talking about a desktop applet (maybe an applet, maybe something else,
I'm not sure)

that is a terminal window, covering the desktop, but really transparent.
And if you click on an item on the desktop, you can activate it.

Does that make any sense?


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Biju G C
Sent: Sunday, June 01, 2003 3:55 PM
To: [EMAIL PROTECTED]
Subject: Re: OT - Terminal embedded in desktop

--- Jean-Claude Gervais [EMAIL PROTECTED] wrote:
 Hello,
 Also, the terminal window, since it is the desktop, would not
 have a border, would take up the entire desktop and could not be moved. It
 would not appear in the window list of the window manager.

 Is there such an animal?

 Is it an application, a window manager or a combination of the two?

 Thanks.

R u looking some thing like the following
They are not X Window manger,
But May be use it along with XWin.exe
(I have not tried)

http://blueboxshell.org/
http://bb4win.org/news.php
http://www.litestep.net/
http://indiestep.sourceforge.net/

http://www.lokai.org/

http://www.geoshellx.com/
http://geoshell.sourceforge.net/GeoWiki
http://carbon.shellscape.org/


http://shells.lokai.net/



__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com



OT - Terminal embedded in desktop

2003-06-02 Thread Jean-Claude Gervais
Hello,

I am looking for a tool or window manager, I’m not really sure,
that lets you do what Windows does with Active Desktop.

That is, I am trying to set it up so that my term window IS the
desktop.

That means that Icons on the desktop would appear on top of the
terminal window, but that the terminal output would be written on a layer
above the icons, but below any other application window.

Also, the terminal window, since it is the desktop, would not
have a border, would take up the entire desktop and could not be moved. It
would not appear in the window list of the window manager.

Is there such an animal?

Is it an application, a window manager or a combination of the
two?

Thanks.




RE: transparent + tinted terminal aterm compiled works OK

2003-04-12 Thread Jean-Claude Gervais
Raphaël,

Cool!

Is the Term window only displays contents when you move or resize it bug
also fixed?

Thanks


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Raphaël Mugneret
Sent: Saturday, April 12, 2003 4:15 PM
To: [EMAIL PROTECTED]
Subject: transparent + tinted terminal aterm compiled  works OK


Hi,

I have compiled the Afterstep terminal ATERM (0.4.2) under the latest Cygwin
and Xfree86.

To get rid of the bug that causes aterm to use  90% of cpu and not refresh
properly, pick-up the latest source file command.c (v1.9) at this address:
http://cvs.afterstep.org/cgi-bin/viewcvs.cgi/aterm/src/?only_with_tag=HEAD;

The bug was fixed monthes ago but never released.

Cheers

Raphaël


_
MSN Messenger : discutez en direct avec vos amis !
http://www.msn.fr/msger/default.asp



RE: Transparent terminal window?

2003-04-05 Thread Jean-Claude Gervais
Thanks Biju, Simon.

Simon, you're right; ATerm builds easily on Cygwin, but it does have the
display problem you mentioned.
And on my system, with a very recent fresh install of Cygwin, it maxes out
the CPU the second you start it.

I haven't even tried to get it to display the transparent background
though, have you?

I will send a note to ATerm's author to tell him about the CPU bug.

Thanks

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Simon Dong
Sent: Friday, April 04, 2003 11:13 PM
To: [EMAIL PROTECTED]
Subject: Re: Transparent terminal window?


Aterm doens't work properly on Cygwin/XFree86. It has a problem refreshing
the screen. Whatever you type in will not be echoed until you move/resize
the window.

I got ETerm compile on Cygwin with transparent background. I couldn't get
the background image to work (because I couldn't get imlib2 compiled with
dll support, I think), but I really don't need it. I had to jump through a
lot of hoops though, and didn't get the process documented.

For what I can remember, I need to compile

edb1.0.3
freetype-1.3.1
imlib2-1.0.6

And apply the kde patch to cygwin for shared mem support, which can be found
at kde/cygwin's website.

Then I can get Eterm built.

-Simon

- Original Message -
From: Biju G C [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, April 04, 2003 5:26 PM
Subject: Re: Transparent terminal window?


 I have not seen any binary avialable on cygwin
 try to compile
http://aterm.sourceforge.net/

 for more screenshots
http://xplanet.sourceforge.net/

 cheers
 biju
 CyGNOME = Cygwin + GNOME  http://cygnome.sourceforge.net/
 --- Jean-Claude Gervais [EMAIL PROTECTED] wrote:
  Hi,
 
  I'm running WindowMaker, and I was wondering; does anyone know how to
get
  transparent terminal windows?
 
  Can you do it with stock Cygwin-XFree or do you have to download and
  compile a specific terminal emulator?
 
  Thanks in advance.
 
 


 __
 Do you Yahoo!?
 Yahoo! Tax Center - File online, calculators, forms, and more
 http://tax.yahoo.com




Transparent terminal window?

2003-04-04 Thread Jean-Claude Gervais
Hi,

I'm running WindowMaker, and I was wondering; does anyone know how to get
transparent terminal windows?

Can you do it with stock Cygwin-XFree or do you have to download and
compile a specific terminal emulator?

Thanks in advance.




Clipboard bug - Crash

2003-04-02 Thread Jean-Claude Gervais
Hi,

I hope this hasn't already been reported;

Steps to reproduce:

Use the latest release version of Cygwin-XFree
Start any text editor.
Repeatedly paste a block of text into the editor until there is more than
30-40 KB of text in there.

Select all the text.

XWin will fault and be closed by Windows.

I am running Windows XP in multiple-monitor mode, although I doubt that
really has any effect on this.

Thanks.




RE: Latest release observations

2003-03-31 Thread Jean-Claude Gervais
Just in case someone else out there is having this same problem; both video
cards must be set to the same bit depth for -multiplemonitors to work
properly.

Now if I could just get XWin compiled to see if the WM_DISPLAYCHANGE fix
will work...


-Original Message-
 Subject: Latest release observations

Hi,

I have just reinstalled my machine and therefore had to do a fresh
install
of Cygwin.

-multiplemonitors now works fine on my home machine, but for some
reason,
it still only uses one display on my computer at work. I'll have a look at
the log file and post back when I get a chance.

One thing I have noticed, that might be a nice simple feature to add
is
this -

If I start Xwin in -rootless mode at 1024x768, it creates an
invisible root
window at screen coordinates 0,0

If I then play a DirectX game that changes the display's resolution to
800x600, when I exit the game, the XWin invisible root window is now shifted
over to the right.

My fix would be simple:

If running in rootless mode and the resolution changes, move the invisible
root window back to 0,0.


Thanks.



RE: Latest release observations

2003-03-31 Thread Jean-Claude Gervais
Hi Harold,

Thanks for piping up.

I think you may have inadvertently put your finger on the problem:

I'm using -engine 1, because I view the machine running XWin through
Netmeeting, and the Direct-Draw engine's rendering doesn't get picked up by
this remote tool.

So perhaps the code needs to also do something for the GDI engine when a
WM_DISPLAYCHANGE happens.

Does that make any sense?

In any case, I'd appreciate any light you can shed on it; I've downloaded
XFree from CVS and will soon start trying to debug the code myself, but I
expect a somewhat-steep learning curve.

Thanks.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Harold L Hunt II
Sent: Monday, March 31, 2003 9:32 AM
To: [EMAIL PROTECTED]
Subject: RE: Latest release observations

Jean-Claude,

I know it seems like this would be a simple change, but it isn't.  There are
already 169 lines handling WM_DISPLAYCHANGE messages.  It seems that your
message should already be handled, because we drop and recreate the
DirectDraw surface when the display size changes.  The rootless mode uses
the Shadow DirectDraw Non-Locking engine by default, so the surface should
be being recreated at the correct point.

I don't think that this problem has anything to do with WM_DISPLAYCHANGE
processing.  Someone will have to step through this in a debugger to find
out what is happening.

Harold

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Jean-Claude Gervais
 Sent: Saturday, March 29, 2003 12:06 PM
 To: Cygwin-XFree
 Subject: RE: Latest release observations


 One thing I might mention; I did some digging, and the XWin
 window seems to
 be receiving a

 WM_DISPLAYCHANGE
 http://msdn.microsoft.com/library/default.asp?url=/library/en-us/g
 di/pantdra
 w_2qzp.asp

 when the display changes resolution, so I'm guessing here, but maybe a bit
 of code in the function called

 winTopLevelWindowProc

 in

 xc/programs/Xserver/hw/xwin/winmultiwindowwindow.c

 That would do something like

 case WM_DISPLAYCHANGE:

   if ( IsMultiMonitorMode( hWnd ) ) {

   MoveWindow( hWnd, 0, 0, iCurrentWidth,
 iCurrentHeight, TRUE  );

 }
   break;

 Of course, I only took a quick look at the code and I'm not entirely sure
 how it all hangs together yet, but something like this should do
 the trick.

 Thanks.




 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]
 Behalf Of Jean-Claude Gervais
 Sent: Saturday, March 29, 2003 7:47 AM
 To: Cygwin-XFree
 Subject: Latest release observations

 Hi,

 I have just reinstalled my machine and therefore had to do a fresh
 install
 of Cygwin.

 -multiplemonitors now works fine on my home machine, but for some
 reason,
 it still only uses one display on my computer at work. I'll have a look at
 the log file and post back when I get a chance.

 One thing I have noticed, that might be a nice simple
 feature to add
 is
 this -

 If I start Xwin in -rootless mode at 1024x768, it creates an
 invisible root
 window at screen coordinates 0,0

 If I then play a DirectX game that changes the display's resolution to
 800x600, when I exit the game, the XWin invisible root window is
 now shifted
 over to the right.

 My fix would be simple:

 If running in rootless mode and the resolution changes, move the invisible
 root window back to 0,0.


 Thanks.




Latest release observations

2003-03-29 Thread Jean-Claude Gervais
Hi,

I have just reinstalled my machine and therefore had to do a fresh install
of Cygwin.

-multiplemonitors now works fine on my home machine, but for some reason,
it still only uses one display on my computer at work. I'll have a look at
the log file and post back when I get a chance.

One thing I have noticed, that might be a nice simple feature to add is
this -

If I start Xwin in -rootless mode at 1024x768, it creates an invisible root
window at screen coordinates 0,0

If I then play a DirectX game that changes the display's resolution to
800x600, when I exit the game, the XWin invisible root window is now shifted
over to the right.

My fix would be simple:

If running in rootless mode and the resolution changes, move the invisible
root window back to 0,0.


Thanks.




A thought about stuck keys

2003-03-04 Thread Jean-Claude Gervais
Hi,

I am using Microsoft Netmeeting to control a box running Cygwin XFree, and
like some of you have already noted, occasionally whatever is typed on the
keyboard gets echoed several times, acting almost like a stuck key. This
seems to happen to me MUCH, MUCH more when I am working remotely as I am
than when I am logged in locally or have a one-hop connection.

I don't know XWindows very well, but it almost looks like the X keyboard
event-handler is getting fooled because of the extra latency the
communications channel is adding to the event times.

For example, it seems like X sees a keydown message and responds to it,
sees another (duplicate) keydown message (for the same key) and doesn't make
sure there has been an intervening keyup message between the two. A
de-bouncing algorithm could do the job here.

Maybe this is normal; that multiple keydown messages will get sent if you
hold down a key, but I am curious to know if this is something that can be
configured away.

So, in summary, I'd like to know if it is possible to configure XFree to
NOT generate multiple keydown messages for ONE keypress.

Thanks.




RE: A thought about stuck keys

2003-03-04 Thread Jean-Claude Gervais
No problem Harold,

Such a gallant answer to my query deserves every bit of assistance I can
offer.

To answer your question; YES, this does happen outside of XTerm, to ME at
least, when I am running Gaim.

I am controlling/using the Redhat version of Gaim (native Linux, in other
words) through Cygwin's XFree on my Windows XP box (over a 100MB network),
which is in turn being controlled remotely by Netmeeting over a high-latency
network (the Internet)

OK, yes, I do seem to remember your original posts about this, which I
don't yet have enough X-savvy to understand totally, but I was trying to
maybe spark some idea by coming from a different direction.

In any case, if we can rule out my hypothesis, then that is good too: It
will be ONE down and X others to go, and eventually we WILL understand what
is going on here and we'll be able to fix it, I am sure.

Thanks.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Harold L Hunt II
Sent: Tuesday, March 04, 2003 2:46 PM
To: [EMAIL PROTECTED]
Subject: Re: A thought about stuck keys

Jean-Claude,

Unfortunately, it is nowhere near that simple.  Search the message
archives for my notes on this.  I sent at least one rather long and
detailed message about this.

In brief, I ran XWin.exe in a debugger and watched the keypresses being
handled.  The problem with your theory is that a single keypress message
results in a several function calls that drill deeper and deeper into
the generic X code...  I drilled all the way down as far as I could
(following a single keypress message, mind you) and BAM! two key presses
show up in xterm from the processing of a single keypress message.

So, we definitely don't need any kind of debouncing algorithm at the
Cygwin/XFree86 level.  This problem is either deep inside the generic X
code (I couldn't find anywhere where the keypress was being duplicated)
or it was happening in some Cygwin code.

I would not doubt it if this was due to something in Cygwin... since the
problem only comes out when the machine is under very heavy load (such
as running the Native GDI engine for XWin.exe) or perhaps when working
remotely.  This indicates to me that the bug is either due to a race or
some sort of key repeat feature in Cygwin that is looking at the time
difference between the key press message (is it peeking at that or does
it have it cached somewhere?) and the time that the Cygwin keyboard
handler gets called.  I could be talking total nonsense here, but this
seems plausible to me.

Here is a question: have you ever seen this happen in a program other
than xterm or a program that is running inside an xterm?  If not, then
this may be a problem in xterm, not in Cygwin.  I would really like to
know the answer to this one.

Harold

Jean-Claude Gervais wrote:
 Hi,

   I am using Microsoft Netmeeting to control a box running Cygwin
XFree, and
 like some of you have already noted, occasionally whatever is typed on the
 keyboard gets echoed several times, acting almost like a stuck key. This
 seems to happen to me MUCH, MUCH more when I am working remotely as I am
 than when I am logged in locally or have a one-hop connection.

   I don't know XWindows very well, but it almost looks like the X
keyboard
 event-handler is getting fooled because of the extra latency the
 communications channel is adding to the event times.

   For example, it seems like X sees a keydown message and responds to
it,
 sees another (duplicate) keydown message (for the same key) and doesn't
make
 sure there has been an intervening keyup message between the two. A
 de-bouncing algorithm could do the job here.

   Maybe this is normal; that multiple keydown messages will get sent
if you
 hold down a key, but I am curious to know if this is something that can be
 configured away.

   So, in summary, I'd like to know if it is possible to configure
XFree to
 NOT generate multiple keydown messages for ONE keypress.

 Thanks.





Errors running setup updater

2002-12-17 Thread Jean-Claude Gervais
Hi,

Running the updater as I do periodically, tonight it gave me a series of
errors.
It actually did this on two machines that I keep up to date.

Any ideas why this is happening and how to fix it?


LOG
INCLUDED ---
--

2002/12/17 22:50:46 Starting cygwin install, version 2.249.2.5
2002/12/17 22:50:46 Current Directory: D:\Documents and Settings\JC\Desktop
2002/12/17 22:50:48 source: network install
2002/12/17 22:50:49 root: d:\cygwin binary system
2002/12/17 22:50:50 Selected local directory: D:\Documents and
Settings\JC\Desktop\Cygwin
2002/12/17 22:50:52 net: IE5
2002/12/17 22:50:54 site: ftp://archive.progeny.com/cygwin
2002/12/17 22:50:56 compress_bz::error called
2002/12/17 22:50:56 compress_bz::error called
2002/12/17 22:51:05 Downloaded D:\Documents and
Settings\JC\Desktop\Cygwin/ftp%3a%2f%2farchive.progeny.com%2fcygwin/release/
gcc-mingw/gcc-mingw-20020817-3.tar.bz2
2002/12/17 22:51:18 Downloaded D:\Documents and
Settings\JC\Desktop\Cygwin/ftp%3a%2f%2farchive.progeny.com%2fcygwin/release/
gdb/gdb-20021215-1.tar.bz2
2002/12/17 22:51:24 Downloaded D:\Documents and
Settings\JC\Desktop\Cygwin/ftp%3a%2f%2farchive.progeny.com%2fcygwin/release/
groff/groff-1.18.1-1.tar.bz2
2002/12/17 22:51:25 Downloaded D:\Documents and
Settings\JC\Desktop\Cygwin/ftp%3a%2f%2farchive.progeny.com%2fcygwin/release/
less/less-378-1.tar.bz2
2002/12/17 22:51:26 Downloaded D:\Documents and
Settings\JC\Desktop\Cygwin/ftp%3a%2f%2farchive.progeny.com%2fcygwin/release/
patch/patch-2.5.8-2.tar.bz2
2002/12/17 22:51:26 Downloaded D:\Documents and
Settings\JC\Desktop\Cygwin/ftp%3a%2f%2farchive.progeny.com%2fcygwin/release/
sysvinit/sysvinit-2.84-2.tar.bz2
2002/12/17 22:51:29 mbox yesno: Download Incomplete.  Try again?
2002/12/17 22:51:31 Uninstalling cpio
2002/12/17 22:51:31 Uninstalling gcc-mingw
2002/12/17 22:51:31 running: d:\cygwin\bin\sh.exe -c
/etc/preremove/gcc-mingw.sh
2002/12/17 22:51:31 Uninstalling gdb
2002/12/17 22:51:36 Uninstalling groff
2002/12/17 22:51:37 Uninstalling less
2002/12/17 22:51:37 Uninstalling patch
2002/12/17 22:51:38 Uninstalling sysvinit
2002/12/17 22:51:38 Uninstalling _update-info-dir
2002/12/17 22:51:38 mbox note: Can't open (null) for reading: No such file
2002/12/17 22:51:39 Installing file://D:\Documents and
Settings\JC\Desktop\Cygwin/ftp%3a%2f%2farchive.progeny.com%2fcygwin/release/
gcc-mingw/gcc-mingw-20020817-3.tar.bz2
2002/12/17 22:51:39 compress_bz::error called
2002/12/17 22:51:41 Installing file://D:\Documents and
Settings\JC\Desktop\Cygwin/ftp%3a%2f%2farchive.progeny.com%2fcygwin/release/
gdb/gdb-20021215-1.tar.bz2
2002/12/17 22:51:41 compress_bz::error called
2002/12/17 22:52:07 Installing file://D:\Documents and
Settings\JC\Desktop\Cygwin/ftp%3a%2f%2farchive.progeny.com%2fcygwin/release/
groff/groff-1.18.1-1.tar.bz2
2002/12/17 22:52:07 compress_bz::error called
2002/12/17 22:52:14 Installing file://D:\Documents and
Settings\JC\Desktop\Cygwin/ftp%3a%2f%2farchive.progeny.com%2fcygwin/release/
less/less-378-1.tar.bz2
2002/12/17 22:52:14 compress_bz::error called
2002/12/17 22:52:14 Installing file://D:\Documents and
Settings\JC\Desktop\Cygwin/ftp%3a%2f%2farchive.progeny.com%2fcygwin/release/
patch/patch-2.5.8-2.tar.bz2
2002/12/17 22:52:14 compress_bz::error called
2002/12/17 22:52:15 Installing file://D:\Documents and
Settings\JC\Desktop\Cygwin/ftp%3a%2f%2farchive.progeny.com%2fcygwin/release/
sysvinit/sysvinit-2.84-2.tar.bz2
2002/12/17 22:52:15 compress_bz::error called
2002/12/17 22:52:15 mbox note: Can't open (null) for reading: No such file
2002/12/17 22:52:20 running: d:\cygwin\bin\sh.exe -c
/etc/postinstall/gcc-mingw.sh
2002/12/17 22:52:24 running: d:\cygwin\bin\sh.exe -c
/etc/postinstall/sysvinit.sh
2002/12/17 22:52:26 mbox note: Installation incomplete.  Check
/setup.log.full for details
2002/12/17 22:52:29 Ending cygwin install





RE: Cygwin GNOME 1.4 binary packages

2002-12-12 Thread Jean-Claude Gervais
At most it only seems to be a configuration problem, and not a bug.
Like if it can't find your fonts?
I'm no expert.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of David Fraser
Sent: Thursday, December 12, 2002 3:29 AM
To: [EMAIL PROTECTED]
Subject: Re: Cygwin GNOME 1.4 binary packages

Ian Harcombe wrote:

Just to voice a quick vote of thanks to all involved in getting this
working.

I am now happily running Gnome 1.4 (with all the extra bits n bobs
you've provided) under Cygwin on a Windows XP Professional laptop as my
normal development environment at work. It is clean and responsive, and
now that sawfish is running properly, very pretty indeed.


My vote of thanks too! But I can't get it to work, would appreciate any
comments.
It seems to be a problem with the goad_server which seems to be something to
do with CORBA/COMM. Is there any way I can debug it? I have attached
the startup log below.
BTW, I installed it using the cygwin setup utility, not the installpkg
script, could this
be a problem?
Thanks
David

starting gnome on display :0

_IceTransmkdir: Owner of /tmp/.ICE-unix should be set to root
_IceTransmkdir: Mode of /tmp/.ICE-unix should be set to 1777
SESSION_MANAGER=local/auga:/tmp/.ICE-unix/1868
env: gnome-upgrade.py: No such file or directory
/bin/bash: line 1: aumix-minimal: command not found
can't load fixed font during initialisationxscreensaver-command: not found
xscreensaver: not found
Gnome-Message: gnome_execute_async_with_env_fds: returning -1

** WARNING **: goad_server_activate: goad.c 673: unexpected exception
IDL:CORBA/
COMM_FAILURE:1.0:

** WARNING **: sysex: IDL:CORBA/COMM_FAILURE:1.0.


** WARNING **: usrex: IDL:CORBA/COMM_FAILURE:1.0.




RE: Rootless mode

2002-12-12 Thread Jean-Claude Gervais
This may be obvious, but the difference between the two is that Windows
sends you a bunch of messages when you're dragging the window when fulldrag
is in effect...
So it might be some message handler repositioning the window during one of
those notifications...
Maybe a WM_SIZE or WM_WINDOWPOSCHANGING... Anyhow, I think running spy and
just looking in on the stream of messages that a window doing fulldrag
receives could be a way to figure out which message.




-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Harold L Hunt
Sent: Thursday, December 12, 2002 1:33 PM
To: [EMAIL PROTECTED]
Subject: Re: Rootless mode

Kensuke,

Hmm... that sounds about right.  Windows 2000 and Windows XP have that
option
on by default, I believe.

Are you going to try to debug this?

Harold

Matsuzaki Kensuke [EMAIL PROTECTED] said:

 Harold,

 I could not reproduce that bug, but now I found that this bug occur when
 Show window contents while dragging enabled.

 Maximizing a window never stop too.

 Matsuzaki Kensuke







RE: Rootless mode

2002-12-12 Thread Jean-Claude Gervais
Other than the WM_PAINT message, I don't think Windows ever sends the same
message again. On a WM_PAINT, if you do not mark validate the region by
calling BeginPaint and EndPaint and return from processing the WM_PAINT, you
WILL receive a WM_PAINT again.

On the other hand, if you call GetMessage without PM_REMOVE, the message
retrieved is not removed from the queue.

But if that were the case, the SAME message would keep being retrieved
because the Windows message queue is more or less a FIFO structure.
There might be some recursion at work here though, because if the child
windows notify the parent and in response the parent posts or sends the same
message again, things could get hairy.
Probably not though, because they flood of messages does stop, right?
I'm sure running Spy++ would yield interesting information.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Harold L Hunt II
Sent: Thursday, December 12, 2002 5:55 PM
To: [EMAIL PROTECTED]
Subject: RE: Rootless mode

Looking at Kensuke's code, he uses an internal queue to store messages that
need to be processed by child windows.  For some reason this queue is not
being properly reset when the messages are processed.  Or, it could be as
simple as returning the wrong value after processing these messages, causing
Windows to send them again.

Harold

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jean-Claude Gervais
Sent: Thursday, December 12, 2002 1:52 PM
To: [EMAIL PROTECTED]
Subject: RE: Rootless mode


This may be obvious, but the difference between the two is that Windows
sends you a bunch of messages when you're dragging the window when fulldrag
is in effect...
So it might be some message handler repositioning the window during one of
those notifications...
Maybe a WM_SIZE or WM_WINDOWPOSCHANGING... Anyhow, I think running spy and
just looking in on the stream of messages that a window doing fulldrag
receives could be a way to figure out which message.




-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Harold L Hunt
Sent: Thursday, December 12, 2002 1:33 PM
To: [EMAIL PROTECTED]
Subject: Re: Rootless mode

Kensuke,

Hmm... that sounds about right.  Windows 2000 and Windows XP have that
option
on by default, I believe.

Are you going to try to debug this?

Harold

Matsuzaki Kensuke [EMAIL PROTECTED] said:

 Harold,

 I could not reproduce that bug, but now I found that this bug occur when
 Show window contents while dragging enabled.

 Maximizing a window never stop too.

 Matsuzaki Kensuke






RE: SSH XFree86

2002-11-22 Thread Jean-Claude Gervais
Hi John,

I use SSH the same way that you do, and although I can't be sure to solve
your problem, here are a couple recommendations;

Use the -C parameter with SSH so that it will compress your data, this will
speed your sessions.
Make sure your DISPLAY environment variable is set to 127.0.0.1:0.0 in your
local shell before issuing your connection request, because if it is not,
you won't be able to receive the X stream back along the SSH conduit.

Other than that, I can't think of anything...


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of John Burkhart
Sent: Friday, November 22, 2002 1:57 PM
To: [EMAIL PROTECTED]
Subject: SSH  XFree86

To whomever may have the knowledge (aka HH?),

I am using XFree86 running on a win98 machine to access a remote Unix
system. My machine is behind a router, therefore when i run ssh with the
parameters : ssh -X -l username hostname
I get the follwing error:
Warning: No xauth data; using fake authentication data for X11 forwarding.

Subsequently the remote machine gives me a can't open display error
whenever I try to run anything like xmgr or even and xterm on the remote
machine. Do I need to use port forwarding? If so, how do I do this? The
router has a public IP address, but the IP on my computer is invisible to
the WAN as far as I can tell.

Thank you, john




RE: Preventing X server resets

2002-11-18 Thread Jean-Claude Gervais
if a machine running an X server is rebooted then the server is lost,
and there's typically no way to tell the clients where to reconnect to

Isn't that what xmove does?

 




RE: XWin.exe -- xinit link

2002-11-17 Thread Jean-Claude Gervais
Thanks Thomas,

The thing is, no matter what I put in those files, it either starts XWin
with a border, or not at all.

And when I do get it to start up, there is always a console mode window
hanging around until I close it, and that closes XWin...

*sigh* I AM trying to understand how all this stuff fits together, but I'm
not having very much luck.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Thomas Chadwick
Sent: Sunday, November 17, 2002 10:41 PM
To: [EMAIL PROTECTED]
Subject: RE: XWin.exe -- xinit link

RTFM!  Do man xinit from the Cygwin command-line and read the 1st 3
paragraphs.

From: Jean-Claude Gervais [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: XWin.exe -- xinit link
Date: Sat, 16 Nov 2002 10:08:07 -0500

Thanks Artur,

   But that's not quite the info I was looking for;

   You see, when I type startxwin.bat or startxwin.sh, I get a
DIFFERENT
result than from starting xinit by itself.

   Yet, xinit does start XWin, only it is starting it in windowed
mode...
Which is OK, but I'm just wondering WHERE does xinit get this from? Is it
executing a script?


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On
Behalf Of Artur Hefczyc
Sent: Saturday, November 16, 2002 9:56 AM
To: [EMAIL PROTECTED]
Subject: Re: XWin.exe -- xinit link

  What parameters does it use to start XWin? Where does it get the
parameters?
You can find manual and parameters for XWin from command:
man XWin

  Is it executing a script?
/usr/X11R6/bin/startxwin.bat
/usr/X11R6/bin/startxwin.sh

Artur Hefczyc
--
Artur Hefczyc
http://wttools.sf.net/


_
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail




XWin.exe -- xinit link

2002-11-16 Thread Jean-Claude Gervais
Hello,

If I start xinit, it in turn seems to start XWin.
My question is
What parameters does it use to start XWin? Where does it get the parameters?
Is it executing a script?





RE: XWin.exe -- xinit link

2002-11-16 Thread Jean-Claude Gervais
Thanks Artur,

But that's not quite the info I was looking for;

You see, when I type startxwin.bat or startxwin.sh, I get a DIFFERENT
result than from starting xinit by itself.

Yet, xinit does start XWin, only it is starting it in windowed mode...
Which is OK, but I'm just wondering WHERE does xinit get this from? Is it
executing a script?


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Artur Hefczyc
Sent: Saturday, November 16, 2002 9:56 AM
To: [EMAIL PROTECTED]
Subject: Re: XWin.exe -- xinit link

 What parameters does it use to start XWin? Where does it get the
parameters?
You can find manual and parameters for XWin from command:
man XWin

 Is it executing a script?
/usr/X11R6/bin/startxwin.bat
/usr/X11R6/bin/startxwin.sh

Artur Hefczyc
--
Artur Hefczyc
http://wttools.sf.net/




Newbie question -

2002-11-15 Thread Jean-Claude Gervais
Is there a way to invoke XDMCP AFTER the fact?
Once I have started a local window manager, I'd like to do an XDMCP query,
but running XWin again creates a second instance of X that is independent of
my current window session.
I tried running XDM ?!? And it replies only root wants to run xdm... But
there is no user called root on my system...
Thanks.




RE: Preventing X server resets

2002-11-15 Thread Jean-Claude Gervais
Hi,

Would xmove also be a possibility?

From what I understand, xmove can be used to disconnect an X session from a
host without the session actually closing.

You can then move the display to another machineand resume where you left
off.. You can also simply reattach to the X session from the machine that
originally requested it.

Is that what you're after?


-Original Message-
From: [EMAIL PROTECTED] [mailto:cygwin-xfree-owner;cygwin.com]On
Behalf Of Rasjid Wilcox
Sent: Friday, November 15, 2002 6:08 PM
To: [EMAIL PROTECTED]; Oliver, Peter; '[EMAIL PROTECTED]'
Subject: Re: Preventing X server resets

On Sat, 16 Nov 2002 2:41 am, Oliver, Peter wrote:
 I'm using XDMCP for my session, from where I run X applications on
 various different servers.  If the machine I logged onto with XDMCP is
 rebooted, or suffers network difficulties, the X server resets and I
 loose my whole session.  I would prefer the X server and it's remaining
 clients to continue running, so that I can just start a window manager
 on a different box and carry on working.  Is there some way to prevent
 this reset from happening?  I gave the -noreset option a try but it made
 no difference.

As other posts have indicated, you can't solve this with XDMCP.  The only
(open source) solution that I'm aware of is to use VNC.  There are several
different VNC versions out there.  http://www.realvnc.com is the new version
by the original developers.  (There is also Tridia VNC, Tight VNC, esVNC and
probably others.)

This adds an extra layer between the user and the applications.  In essence
VNC runs a virtual X-Server on the machine running the applications.
(Actually, it could be some other machine, but lets keep this simple.)  To
illustrate, suppose you have a machine 'Server', and a machine 'Desktop'.
The user is sitting in front of 'Desktop', and the applications live on
'Server'.

With XDMCP:

  Process   Machine
Application AServer
 |
 | X Protocol
 |
 X-ServerDesktop


With VNC:

  ProcessMachine
Application A Server
 |
 | X Protocol
 |
 VNC Server   Server
 |
 | VNC Protocol
 |
 VNC Client   Desktop
 |
 | X Protocol
 |
 X-Server Desktop

If the 'Desktop' is running Windows, you don't need the last step, since
there
is a native Windows VNC Client.

The advantage with VNC is you can kill the VNC client and not lose you
X-Session.  You can for example, log in at work (using VNC), leave stuff
running but kill the VNC client, go home, and re-connect with a new VNC
client at home, and still be running the original session you left going at
work.

The disadvantage (over a LAN) is the 'smoothness' of the display, although I
believe the new versions are pretty good.  You also can't use XDMCP, so no
nice login screen.  But for keeping an X-Session going even when your
desktop
crashes, it is just what the doctor ordered.  (VNC is also useful for low
bandwidth connections.)

Anyway, since there is a Win32 VNC Client (and server), this is not somewhat
offtop for this list.  OTOH, I wonder what the performance of the *nix vnc
client would be under XFree-Cygwin?  Might have a look sometime.

Cheers,

Rasjid.




RE: Running XDMCP server

2002-11-15 Thread Jean-Claude Gervais
*snort*
I can't help but laugh, David!
No, not at your predicament, but rather at the funny coincidence that you
and I are both looking at the same problem but from opposite ends!  LOL

So I take it that you're running Windows, and you'd like Windows to be the
server (you're right - probably the wrong terminology here) and permit
Linux boxes to XDMCP to your Windows machine?

If that is the case, I *think* your Windows machine should run Xnest and
your Linux machines should then connect to it. Looks like I'm probably
backward... OK, more reading of the docs is in order. I will get back to you
if I figure anything out. Please do the same.

Thanks

Jean-Claude




-Original Message-
From: [EMAIL PROTECTED] [mailto:cygwin-xfree-owner;cygwin.com]On
Behalf Of David Fraser
Sent: Friday, November 15, 2002 5:13 PM
To: [EMAIL PROTECTED]
Subject: Re: Running XDMCP server

Jean-Claude Gervais wrote:

I tried running XDM ?!? And it replies only root wants to run xdm... But
there is no user called root on my system...
Thanks.



An equal and opposite reaction... Is it possible to run XDMCP as a server
(sorry probably wrong terminology) on the cygwin side, so I can run say
Xnest from
Linux, connect to XDMCP on Cygwin, login...?
And what does the xdm running as root message mean ... I even tried
creating a user
called root and that didn't work...

Just out of interest

David




RE: Newbie question -

2002-11-15 Thread Jean-Claude Gervais
Hi Harold!

OK, I'll tell you what I'm up to:

What I do these days is start XWin -rootless -query host
I have the host set up so that I log in using gnome, and I have set the
remote Gnome to NOT set a background. That way, all I have is the Gnome
taskbar, which I dock on the top of my monitor while the Windows taskbar is
docked at the bottom of the monitor.

That way, it really is quite like being logged onto both computers
simultaneously.

The only thing is, I haven't figured out how to run local X applications at
the same time. I'd like WindowMaker's desktop launcher come up on the
display also. I could probably run a bash shell as a Windows console mode
app and from it start some X applications, but this seems inelegant.

I'm trying to get all three at the same time, and then, (hopefully) hook
Xwinclip into the chain and be able to paste data from one computer to
another...

Does that sound cogent? I can't really be sure, often I've noticed there are
even better ways of doing what I want with *nix, only I am still ignorant of
many of them.

Thanks



-Original Message-
From: [EMAIL PROTECTED] [mailto:cygwin-xfree-owner;cygwin.com]On
Behalf Of Harold L Hunt II
Sent: Friday, November 15, 2002 5:07 PM
To: [EMAIL PROTECTED]
Subject: Re: Newbie question -

Jean-Claude,

No.

XDMCP manages your entire X Windows session.  Either you use it at
startup or you don't use it at all.

If all you want is a local window manager and remote applications, then
you should launch XWin with your local window manager, then ssh into
your remote host with X forwarding enabled and launch your X Clients in
the background (e.g. ``xterm'').

What did you envision would happen if you were running a local window
manager and you logged into a remote XDMCP session at the same time,
assuming that this was possible?  Did you assume that the window
managers would share the screen, that a new window would popup with the
XDMCP session?  What were you envisioning?

Harold

Harold

Jean-Claude Gervais wrote:

Is there a way to invoke XDMCP AFTER the fact?
Once I have started a local window manager, I'd like to do an XDMCP query,
but running XWin again creates a second instance of X that is independent
of
my current window session.
I tried running XDM ?!? And it replies only root wants to run xdm... But
there is no user called root on my system...
Thanks.







RE: Quake3 Arena Dedicated

2002-11-10 Thread Jean-Claude Gervais
A hopeless case! I love it.

Seriously, Mario, are you trying to simply run Quake3 or are you trying to
port it?

I think you might be able to get Quake3 to run natively on Cygwin easily, if
you had its source code and simply recompiled it.

After all, it's mostly a question of running the 3D calculation engine, not
doing the rendering, and serving UDP sockets, which Cygwin can do quite
well, I'm certain.


-Original Message-
From: [EMAIL PROTECTED] [mailto:cygwin-xfree-owner;cygwin.com]On
Behalf Of Mario Ohnewald
Sent: Saturday, November 09, 2002 3:37 PM
To: [EMAIL PROTECTED]
Subject: Quake3 Arena Dedicated

Hello!
I tried to run Quake3 dedicated under Cygwin, this is what i get:

--
Administrator@SPIEKEY ~/quake3_arena
$ ./linuxq3apoint-1.32.x86.run
Verifying archive integrity...OK
Uncompressing Quake III Arena Point Release 1.32
...


..
source: not found
This installation doesn't support glibc-2.1 on CYGWIN_NT-5.0 / x86
(tried to run setup)
Fatal error, no tech support email configured in this setup
The setup program seems to have failed on x86/glibc-2.1

Fatal error, no tech support email configured in this setup
The program returned an error code (1)
--


Has someone an idea how to solve this?

Cheers, Mario




RE: Running multiple servers from Windows Terminal Server

2002-11-07 Thread Jean-Claude Gervais
Hi Salah,

I can attest that XWin will work over RDP and over Netmeeting too.

One thing, I usually use -engine 1, so that the drawing will be done by GDI
because RDP didn't seem to be able to get the data (all I would get was a
big white square or a big transparent square).

I use these on a workstation though, either Windows XP, sharing its desktop
or Windows 2000 with Netmeeting Remote Desktop Sharing (they are two
different things).

Both work fine.

As for Windows Terminal Server, I can't say.



-Original Message-
From: [EMAIL PROTECTED] [mailto:cygwin-xfree-owner;cygwin.com]On
Behalf Of Salah Zerrougui
Sent: Thursday, November 07, 2002 2:07 PM
To: [EMAIL PROTECTED]
Subject: Running multiple servers from Windows Terminal Server

Hello,

I have used Cygwin/Xfree86 on PCs for around a year
now, without any
problems.
Now i have some users who run their applications on
Thin clients Terminals
hooked to
a Windows NT 4 (Terminal server edition) (RDP
protocol).
I installed the latest version of Cygwin/Xfree86 and
created two batch
files :

X0.bat
--
SET DISPLAY=127.0.0.1:0.0
.
.
start /B XWin -ac -query peis07 -screen 0 1024x768x16
-engine 4

And

X1.bat
SET DISPLAY=127.0.0.1:1.1
.
.
start /B XWin -ac -query peis07 -screen 1 1024x768x16
-engine 4

I set two Terminals one running X0.bat and the other
one X1.bat, now each
of them works fine as long as i don't launch the
other.
Probably TCP Port problem ???

My questions are :
1) Can this work properly ? is there any other
parameters to pass to Xwin
?
2) Is someone using Cygwin/Xfree86 in a Terminal
Server Environement ?
What are the issues
 that you may have encounter, and what solutions
did you implement to
solve them ?

Thank you for your help in advance,

Salah Zerrougui

__
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2




Rootless mode with Query mode

2002-11-06 Thread Jean-Claude Gervais
Hi,

If I start XWin with the following parameters, :0 -rootless -query hostname

I get the Redhat login dialog box, which appears with NO background.

This is good.

Then when I log in, whether I select GNOME or KDE, the KDE/GNOME desktop
background always appears.

Is there a way to prevent this?

I'd like to have the Gnome or KDE taskbar and start menu, but not a desktop
like it does.

And even if I configure KDE/GNOME to have NO desktop, they both still want
to at least draw a color background.

Anyone?





RE: XFree leaking memory?

2002-11-05 Thread Jean-Claude Gervais
BoundsChecker.

I use it all the time to find memory leaks.

I wonder if you can use it on something compiled with GCC...
It should be able to see bad parameters and leaks resulting from calls to
the Win32 API, but I wonder if that would be the extent of what it can trap.

In other words, it might not be able to follow NEW or MALLOC, because the
object format might be too different.

Tell you what, unless someone has actually tried BoundsChecker on GCC code
and has a capsule about how well it works, I'll give it a shot and post back
results.

PS - I should say that I am NOT affiliated with the makers of BoundsChecker
in any way, and on the whole, I find BoundsChecker pretty buggy itself and
not very reliable that it won't crash during a run, so don't bother pointing
that out.  ;-)



-Original Message-
From: [EMAIL PROTECTED] [mailto:cygwin-xfree-owner;cygwin.com]On
Behalf Of Harold L Hunt II
Sent: Tuesday, November 05, 2002 11:18 AM
To: [EMAIL PROTECTED]
Subject: RE: XFree leaking memory?

Konstantin,

Interesting.  So, this appears to be a new memory leak that has nothing to
do with rootless mode.

At this point I think we will need suggestions from others as to how we can
find the source of this memory leak.

There are not too many calls in the Windows-specific portion of XWin.exe
that could result in continual memory leaks like this.  However, I hope that
the bug is in the Windows-specific portion of XWin.exe and not in either the
rest of the XWin.exe code or in cygwin1.dll.  Finding a memory leak in
either of those would be tedious.

Anybody got any suggestions?

Harold

-Original Message-
From: [EMAIL PROTECTED]
[mailto:cygwin-xfree-owner;cygwin.com]On Behalf Of Konstantin N. Kudin
Sent: Monday, November 04, 2002 8:49 PM
To: [EMAIL PROTECTED]
Subject: Re: XFree leaking memory?


 Harold

 I do not think I am using -rootless since I am running the standard
*.bat file supplied with XFree and have a separate workspace for X. So
this leak appears to be a separate issue.

 Is there a way to generate memory usage statistics for X?

 Konstantin

On Mon, 4 Nov 2002, it was written:

 Konstantin,

 Are you using the ``-rootless'' command-line parameter?  If so, the
 developer of that feature mentioned that there was a memory leak and
 that he was working on fixing it.  If not, then we might need to look
 into your problem as a previously unknown problem.

 Harold

 Konstantin N. Kudin wrote:

  Hi all
 
  I am using the cygwin + xfree combination for my X server.
 I run the program for days on a W2k laptop and put the machine on stand
by
 every night. W2k and xfree are restarted quite infrequently (once every
 2-4 weeks).
  I have noticed in Task Manager that XWin process slowly but surely grows
 in size adding about 2Mb every day. It starts from 13 Mb but over the
 course of few days may become as large as 150 Mb (I have seen that). I
 tried to update XFree to the latest version a couple of weeks ago yet it
 did not stop growing in size.
  I mostly run fvwm and 2-3 xterms. I also occasionally display xterms and
 other things from other machines.
  I am curious if the developers are aware of/working on this issue?
  I could provide more details if needed/technically possible.
 
  Sincerely,
  Konstantin
 





RE: XFree leaking memory?

2002-11-05 Thread Jean-Claude Gervais
Thanks Ralf,

There is also this tool -
http://devel-home.kde.org/~sewardj/

Not sure if it can be used on Cygwin, but I think it might.

Anyhow, I'll run some tests and report back.



-Original Message-
From: [EMAIL PROTECTED] [mailto:cygwin-xfree-owner;cygwin.com]On
Behalf Of Ralf Habacker
Sent: Tuesday, November 05, 2002 3:18 PM
To: [EMAIL PROTECTED]
Subject: RE: XFree leaking memory?

 In other words, it might not be able to follow NEW or MALLOC, because the
 object format might be too different.

Try the mem_watch tool in the kde-cygwin cvs area
http://sourceforge.net/cvs/?group_id=27249, which hooks any memory relating
call.

$ less README
Memory Watcher
==

This is a little library for tracing memory related api calls on win32 using
gcc.

Features:
- detection of unfree'd memory regions
- traces each malloc(), calloc(), realloc() and free() call
- collects size and addresses of allocated area
- runtime switchable logging support of hooked function

See INSTALL for installation hints.

The only thing you have to do is to adding a call after main() and perhaps
one
call for printing the results at the end of main().

Try
$cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/kde-cygwin
login
empty password
$cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/kde-cy
gwin
co tools/mem_watch
$ make
$ make check
$ test.exe






RE: xfree leaking memory? - XWin trace.zip

2002-11-05 Thread Jean-Claude Gervais
I ran XWin under Boundschecker with the following parameters:  :0 -engine
1 -rootless -lesspointer

Note that I didn't recompile or modify XWin from its current distribution
version to do this.

After starting it, I ran another instance of Boundschecker and under this
one, I started WMAKER.

Once both of these were under way, I opened three XTerms, and then closed
them again.

Then I closed both apps by right-clicking the XWin taskbar icon and
selecting close.

The really strange thing is that Wmaker generated NO WARNINGS OR LEAKS AT
ALL!
That really is odd... I've no idea why this would happen, because as a rule,
Boundschecker usually gives at least a few false reports of errors and
leaks.

In the case of XWin, the results are different.
Many errors and leaks were reported, but a lot of these are in fact false
alarms often times caused by Boundschecker being unmapped from memory before
it can see an application (or one of its dependant DLLs) releasing an
allocation the module made previously.

So I've included the output, but I must warn -
Since I didn't have the freshly-compiled applications, the stack information
is rudimentary.
Also, events reported as taking place in CYGWIN1.DLL might best be ignored,
as they probably represent cases of false alarms as mentioned above.



I will at some point recompile XWin and give it another go, but it might
take a little time.


PS - Here's hoping the attachment will make it through.

PPS - Personally, I think the leaks reported resulting from calls to
CreatePopupMenu and CreateRectRgn may in fact be genuine.


Jean-Claude




XWin trace.zip
Description: Zip compressed data


RE: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2

2002-11-04 Thread Jean-Claude Gervais
Great news Thomas,

Um, since you know so much about dual-displays, maybe you could help me?

I'm running Cygwin XFree on a machine inside which I have installed two
video cards; this in effect creates a really large Windows desktop.

I'm just wondering if you know of any way to get the Cygwin XFree display
to either use the full desktop surface, or failing that, is there a way to
get Cygwin XFree to start up on the right-hand side of the display, because
it never seems to want to start on the second display...

Thanks in advance.


-Original Message-
From: [EMAIL PROTECTED] [mailto:cygwin-xfree-owner;cygwin.com]On
Behalf Of Thomas Chadwick
Sent: Monday, November 04, 2002 9:47 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2

ANNOUCEMENT

An update to the Cygwin/XFree86 package 'x2x' is now available.


DESCRIPTION

The usefulness of this utility will become apparent to anyone with a PC
side-by-side with an *ix workstation.  Simply bring up an XWindows session
on each machine, run x2x on the PC, and use your PC's mouse and keyboard to
control your *ix workstation's display.  Works better and is cheaper than a
KVM (Keyboard/Video/Mouse) switch.  It also works much like a multi-headed X
session.


RELEASE HISTORY

x2x-1.27-2 (current release):

Bugfix and enhancement release.  Changes are:

1) Fixed problem in which x2x consumes nearly 100% of the CPU.
   This was due to a problem in setting up a call to select(),
   which was causing it to be non-blocking.

2) Added some includes and cleaned-up some code to cut down
   on compiler warnings.

3) Added a whole new feature!  Invoking x2d with a command-line
   flag of -capslockhackcauses it to wrap Shift key Press/
   Release events around alpha keystrokes.  I discovered I
   needed this feature because the to display I have uses the
   state of CapsLock on its attached keyboard to determine if
   CapsLock is on (instead of obeying the CapsLock Press/Release
   keyboard events).

x2x-1.27-1:

Initial Release.  Vendor code built and package as-is.


KNOWN BUGS

Doesn't work very well with the new rootless mode of XWin.
I plan to fix this in a future release.


INSTALLATION INSTRUCTIONS

To update your installation, click on the Install Cygwin now link on the
http://cygwin.com/ web page.  This downloads setup.exe to your system.  Save
it and run setup, answer the questions and pick up 'x2x' from the 'XFree86'
category.  You may need to click the Full button if it doesn't show up.

Note that downloads from sources.redhat.com (aka cygwin.com) aren't allowed
due to bandwidth limitations.  This means that you will need to find a
mirror which has this update.

In the US, ftp://archive.progeny.com/cygwin/ is a reliable high bandwidth
connection.

In Japan, ftp://ftp.u-aizu.ac.jp/pub/gnu/gnu-win32/ is usually up-to-date.

In DK, http://mirrors.sunsite.dk/cygwin/ is usually up-to-date.

If one of the above doesn't have the latest version of this package you can
either wait for the site to be updated or find another mirror.

Please send questions or comments to the Cygwin/XFree86 mailing list
(mailto:cygwin-xfree;sources.redhat.com).  If you want to subscribe go to
http://cygwin.com/lists.html. I would appreciate it if you would use the
mailing list rather than emailing me directly.  This includes ideas and
comments about the setup utility or Cygwin/XFree86 in general.

If you want to make a point or ask a question, the Cygwin/XFree86 mailing
list is the appropriate place.


_
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963




RE: Fun weekend

2002-11-04 Thread Jean-Claude Gervais
Really cool post-mortem Harold!

I've also got an 80GB HD (UDMA) and a Radeon All-In-Wonder (but the older
model)

And yeah, been there, done that too!

When Windows gets in a funk like that, there isn't a whole lot to do.

If I remember correctly though, you can run Regedit in DOS mode and make
changes to the registry.

At least you could, some time ago; MS had built Regedit with a DOS-mode stub
that could spit the registry out to a textfile or read a text file and apply
the changes in it to the system registry.

This stub is usually a little program that says This program requires
Microsoft Windows to run, but you can actually use a different stub (of
your own creation) if you want to when you build your app.

Anyhow, I'm not sure if even that could have saved you  :-O


-Original Message-
From: [EMAIL PROTECTED] [mailto:cygwin-xfree-owner;cygwin.com]On
Behalf Of Harold L Hunt II
Sent: Monday, November 04, 2002 11:08 AM
To: [EMAIL PROTECTED]
Subject: Fun weekend

This weekend was interesting.

On Saturday I picked up a Samsung SyncMaster 191T, using the funds that
have been donated by the generous Cygwin/XFree86 supporters (I also
chipped in a substantial amount of money on my own, for anyone keeping
score :)  This gives me a nice readable display and it replaces the
hideous 15 inch LCD that I had caused two permanent vertical lines (one
blue, one yellow) by not wiping off the windex before it ran down under
the bezel (stupid, stupid me).  I hated looking at the monitor because
it reminded me of my own stupidity.  :)

I then ran back to the store and picked up an ATI All In Wonder Radeon
8500 DV since it has a DVI-I output.  This was necessary because I was
getting some interference patterns when running in 1280x1024 with the
analog DB-15 input.  The DVI input cleared up the interference
completely and my display is now beautifuly.  However, getting the
display to work perfectly took about 8 hours, as it was dropping frames
when playing DVDs (the motion was extremely jerky) and recording video
was dropping tons of frames as well.  I was misled by the ATI
documentation and utilities into thinking that this was either due to a
misconfiguration of the hard drive interface (i.e., UDMA may not be
enabled) or due to a poorly synchronized clock on my sound card (which
is used for decoding the audio).  I stumbled upon the correct solution,
more on that below, after an entire day of poking around.  I thought
that the solution was the hard drive drivers, but I was wrong.

Anyway, on Sunday morning I booted up the machine, after having spent
all of Saturday and Saturday night until 3:00 AM configuring it.
 Windows reported that WINNT\SYSTEM32\CONFIG\SYSTEM could not be found.
 Great.  I ran setup to a repair, but setup could not find my Windows
installation.  So, I ran the recovery console.  All of my data was still
there, but chkdsk reported errors.  This totally agrees with the fact
that running some executables over the past two weeks would completely
lock the machine.  These executables were most likely corrupt.  In any
case, I needed a new hard drive.  (Luckily, I could copy data from the
damaged drive to the Zip drive).

I returned to the store again and bought an 80 GB Western Digital HD.  I
reinstalled Windows 2000, only to find that the drive letter assigned to
the new drive was F and the old drive was C.  So, I changed the old
drive to C, and reinstalled Windows 2000 again (since it will not let
you change the drive letter of the boot drive, yay).  Now the new drive
was C and the old drive was D, perfect.  I then copied over all of my
data.  Thank god none of that was lost.  Unfortunately, I had lost the
entire weekend due to computer troubles.


As for the video problems, I would have known exactly what was wrong had
I tried to run XWin.exe at any point during my attempts to fix the jerky
DVDs and video recording.  The first time I ran XWin.exe after setting
up the new hard drive, I noticed that the X background took about 4
seconds to draw, and directory listings were visibly crawling.  This new
card was 10 times slower than my old card when using the DirectDraw
engines; the GDI engine, on the other hand, ran very quickly.  So, I
uninstalled my graphics card drivers (keeping the Hardware Manager
applet open, otherwise this does not work), then reran the setup.exe for
the updated ATI drivers that I had downloaded.  I then rebooted the
machine and the DirectDraw engines were as blazingly fast as expected.
 The problems with the DVD playback and video recording were also fixed.
 I had originally installed the downloaded drivers, thinking that they
would not be overwritten with an older version when I installed the ATI
software from the enclosed CD-ROM, but the drivers were, in fact,
overwritten with an older version.  That older version has terrible
performance.  The newer version is amazing.


In sum total, I now have a machine that I can actually stand to use for
programming again.  You could 

RE: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2

2002-11-04 Thread Jean-Claude Gervais

Thomas - Yes, I've tried invoking XWin from the second display, but no dice.
Harold - Yup, of course; all good things take time. I'm currently learning
more and more about X anyway, so I might even be able to help out at some
point; It seems that to be able to contribute to a project like Cygwin, you
have to know Win32 and *nix equally well.

Here's the work-around that I've found; brace yourselves -

I grab the taskbar and drag it onto the second display (the reason for this
will become clearer in a moment)
Using the -engine 1, I start XWin in rootless mode (Yay! Rootless mode
rocks!)
I drag the taskbar back to the primary display, now that XWin has calculated
the window-size excluding the task-bar.
I right-click on XWin's taskbar icon and select MOVE, then I use the
arrow-keys to move XWin's display across to the other screen, and press
enter once it's properly positioned.

Alternatively, I could just LEAVE the taskbar on the second display, but
then I have a problem remote-controlling the box with another Microsoft gem,
Netmeeting.


Thanks for your reading.


-Original Message-
From: [EMAIL PROTECTED] [mailto:cygwin-xfree-owner;cygwin.com]On
Behalf Of Harold L Hunt II
Sent: Monday, November 04, 2002 10:49 AM
To: [EMAIL PROTECTED]
Subject: Re: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2

Jean-Claude,

No, there is not way for Cygwin/XFree86 to use the entire area of the
dual-display; that is pretty much a limitation of DirectDraw, if I
recall correctly (I seem to remember that a surface can only span a
single physical monitor).  You could probably pass the ``-engine 1''
argument to use the GDI-based blitter, but that would still be limited
to a single physical display because Cygwin/XFree86 trims the specified
size to fit on the primary monitor.  We would need some sort of new
command-line argument to indicate that the specified size is not to be
trimmed in anyway, or we could have a flag that says to use the entire
virtual desktop size.  I prefer the later.

In any case, some coding will need to happen before your request can be
realized.

Harold

Jean-Claude Gervais wrote:

Great news Thomas,

   Um, since you know so much about dual-displays, maybe you could help
me?

   I'm running Cygwin XFree on a machine inside which I have installed
two
video cards; this in effect creates a really large Windows desktop.

   I'm just wondering if you know of any way to get the Cygwin XFree
display
to either use the full desktop surface, or failing that, is there a way to
get Cygwin XFree to start up on the right-hand side of the display, because
it never seems to want to start on the second display...

Thanks in advance.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:cygwin-xfree-owner;cygwin.com]On
Behalf Of Thomas Chadwick
Sent: Monday, November 04, 2002 9:47 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2

ANNOUCEMENT

An update to the Cygwin/XFree86 package 'x2x' is now available.


DESCRIPTION

The usefulness of this utility will become apparent to anyone with a PC
side-by-side with an *ix workstation.  Simply bring up an XWindows session
on each machine, run x2x on the PC, and use your PC's mouse and keyboard to
control your *ix workstation's display.  Works better and is cheaper than a
KVM (Keyboard/Video/Mouse) switch.  It also works much like a multi-headed
X
session.


RELEASE HISTORY

x2x-1.27-2 (current release):

Bugfix and enhancement release.  Changes are:

1) Fixed problem in which x2x consumes nearly 100% of the CPU.
   This was due to a problem in setting up a call to select(),
   which was causing it to be non-blocking.

2) Added some includes and cleaned-up some code to cut down
   on compiler warnings.

3) Added a whole new feature!  Invoking x2d with a command-line
   flag of -capslockhackcauses it to wrap Shift key Press/
   Release events around alpha keystrokes.  I discovered I
   needed this feature because the to display I have uses the
   state of CapsLock on its attached keyboard to determine if
   CapsLock is on (instead of obeying the CapsLock Press/Release
   keyboard events).

x2x-1.27-1:

Initial Release.  Vendor code built and package as-is.


KNOWN BUGS

Doesn't work very well with the new rootless mode of XWin.
I plan to fix this in a future release.


INSTALLATION INSTRUCTIONS

To update your installation, click on the Install Cygwin now link on the
http://cygwin.com/ web page.  This downloads setup.exe to your system.
Save
it and run setup, answer the questions and pick up 'x2x' from the 'XFree86'
category.  You may need to click the Full button if it doesn't show up.

Note that downloads from sources.redhat.com (aka cygwin.com) aren't allowed
due to bandwidth limitations.  This means that you will need to find a
mirror which has

RE: Multiple monitors

2002-11-04 Thread Jean-Claude Gervais
-Original Message-
From: [EMAIL PROTECTED] [mailto:cygwin-xfree-owner;cygwin.com]On
Behalf Of Harold L Hunt II
Sent: Monday, November 04, 2002 12:23 PM

So, what you really want is to be able to say ``start screen 0 on
physical monitor x'', right?  That way the rootless X would pop up on
the desired monitor.  Additionally, you want to make sure that the sreen
size is not reduced by the size of the taskbar, which is not present on
the pysical monitor that X will be displayed on?  I think I can work
something like that.
EXACLTY!
Also, calling GetSystemMetrics( SM_CXVIRTUALSCREEN ), GetSystemMetrics(
SM_CXVIRTUALSCREEN ),  when the -engine 1 option is in effect can yield the
TRUE size of the display, so if the -engine 1 option and say,
he  -wholedesktop option is ALSO in effect, maybe XWin could create a window
that would fill both displays?





True-type Fonts on *nixes and Cygwin XFree also?

2002-10-27 Thread Jean-Claude Gervais
Hi,

I recently read this article

http://corefonts.sourceforge.net/

And applied the procedure to my Linux machine.

My question is, how relevant is this to Cygwin?
Meaning, does Cygwin use True-Type and anti-aliased fonts?

If Cygwin can use anti-aliased fonts, how do you get that working?

The installation procedure has a few steps that pertain to the RPM module.
I tried downloading the Cygwin port of it, and the link seems to be broken.

Does anyone have information on anti-aliased fonts on Cygwin?





XWinClip

2002-10-25 Thread Jean-Claude Gervais
Hi,

I've followed the posted instructions for downloading and
installing XWinClip, but for some odd reason, I get the following error when
trying to extract the .EXE:


bunzip2 xwinclip-Test06.exe.bz2

bunzip2: I/O or other error, bailing out.  Possible reason follows.
bunzip2: Permission denied
Input file = xwinclip-Test06.exe.bz2, output file =
xwinclip-Test06.exe
bunzip2: Deleting output file xwinclip-Test06.exe, if it exists.
/home/jc



I've also tried this on a totally different computer and gotten the same
result.
Anyone have a clue as to what the problem is?







RE: Rootless: how to get wm menu?

2002-10-25 Thread Jean-Claude Gervais
If you are running WindowMaker, pressing F12 gets the root menu.


-Original Message-
From: [EMAIL PROTECTED] [mailto:cygwin-xfree-owner;cygwin.com]On
Behalf Of Jehan
Sent: Friday, October 25, 2002 11:46 AM
To: [EMAIL PROTECTED]
Subject: Re: Rootless: how to get wm menu?

Keith D. Tyler wrote:

 You could run an app that shows some root window space. Try running
 Xeyes. The rootless mode doesnt include the X shape mask of xeyes in
 the Windows shape map for rootless mode, so the corners of xeyes
 should be usable as root window click-space.


That's not true anymore. The latest release of XWin (4.2.0-15) support
shapes in rootless mode.

Jehan





RE: XWinClip

2002-10-25 Thread Jean-Claude Gervais
Hi Bradey,


Thanks for helping.

Nope, it's not that.
For one thing, this IS happening on a local drive.
The NTFS security and permissions and ownership are set properly.
As for the Cygwin ownership and rights, I am the file's owner and have all
rights to it.

As an aside, I went though the whole user/password procedure a while ago
when I couldn't start X anymore because the user I was logged on as did not
exist as a local user (domain user), and Cygwin's policy concerning such a
situation had changed.

Maybe this is another manifestation of the problem that that policy change
caused.

Um, could someone send me the XWinClip Test 06 source code in a zip file and
I'll build it...

Anyhow, I'm not sure what version of XWinClip I'm currently running, but
after a paste or two, it starts taking a lot of CPU and doesn't work
anymore.

If that is still going on in the Test 06 source, I might perform an analysis
and figure what is going wrong with it.

J

-Original Message-
From: [EMAIL PROTECTED] [mailto:cygwin-xfree-owner;cygwin.com]On
Behalf Of Bradey Honsinger
Sent: Friday, October 25, 2002 2:13 PM
To: '[EMAIL PROTECTED]'
Subject: RE: XWinClip

I saw that just the other day--I didn't have the appropriate permissions to
a directory on a network share, so bunzip2 couldn't create the new file
without the .bz2 extension. The Permission denied message is a hint, I
think :)

Try copying the file to a local directory that you know you have permissions
on--Cygwin's /tmp is a good candidate. Double-check the permissions in
Explorer, and make sure you're the owner of the directory. You may also want
to double-check that you've run mkpasswd -d  /etc/passwd if you're in a
domain.

  - Bradey

-Original Message-
From: Jean-Claude Gervais [mailto:jc.gervais;videotron.ca]
Sent: Friday, October 25, 2002 7:56 AM
To: Cygwin-XFree
Subject: XWinClip


Hi,

I've followed the posted instructions for downloading and
installing XWinClip, but for some odd reason, I get the following error when
trying to extract the .EXE:


bunzip2 xwinclip-Test06.exe.bz2

bunzip2: I/O or other error, bailing out.  Possible reason follows.
bunzip2: Permission denied
Input file = xwinclip-Test06.exe.bz2, output file =
xwinclip-Test06.exe
bunzip2: Deleting output file xwinclip-Test06.exe, if it exists.
/home/jc



I've also tried this on a totally different computer and gotten the same
result.
Anyone have a clue as to what the problem is?





RE: No Taskbar Icon (Was: Re: -Rootless AND -NoDecoration)

2002-10-25 Thread Jean-Claude Gervais
Here's a heretic opinion:

I want a taskbar icon for EACH X application!

Nyah!


-Original Message-
From: [EMAIL PROTECTED] [mailto:cygwin-xfree-owner;cygwin.com]On
Behalf Of Randall R Schulz
Sent: Friday, October 25, 2002 1:45 PM
To: [EMAIL PROTECTED]
Subject: No Taskbar Icon (Was: Re: -Rootless AND -NoDecoration)

Harold,

At 10:24 2002-10-25, you wrote:
Randall,

No, there is no such combination of flags.

How do you intend to set the focus to Cygwin/XFree86 without a taskbar
entry?  I mean, you could minimize it and not be able to get it back.

Without a taskbar icon, I don't know how XWin could get minimized. Would
ALT-SPACE N while the X server layer (as I think of it in -rootless
mode) was active do it?

Also, the Windows SETI@home GUI shows that a window with no taskbar icon
can still show up in the ALT-TAB list of icons.


In the future, when we write the Windows-based window manager, I intend to
make Cygwin/XFree86 use a system tray icon rather than a taskbar icon, but
only when using the Windows-based window manager.

That would be nice, but I'd still like to avoid the taskbar icon even when
I'm using an X-based window manager.


Now, from the perspective of building a correct application, can't you see
that it would be incredibly non-standard of us to allow Cygwin/XFree86 to
not have a taskbar icon?  No other Windows application that needs to be
minimized/restored/closed has that behavior. Typically, only applications
that are either closed or open are in the system tray.  Can you see my
point?  I suppose you could code such a feature if you wanted that did not
change the default behavior, but I'm not sure how much use it would be to
others...

Not at all. There are applications that show windows without taskbar icons
when the application writer deemed it appropriate. Since the Windows API
makes it possible, it was clearly seen as a viable option that might be
desirable in some contexts.


Perhaps others could weigh in on whether they'd like to have the option to
avoid a taskbar icon?


Harold


Randall Schulz
Mountain View, CA USA


Randall R Schulz wrote:

Hi,

Please forgive my creative capitalization in the Subject line.

I had hoped that using -nodecoration with -rootless would prevent the
XWin server getting a taskbar icon, but alas, no.

Is there a combination of options or a configuration file or environment
setting that will suppress the taskbar icon in rootless mode?


Oh, yeah... Rootless Rocks!


Randall Schulz
Mountain View, CA USA




RE: XWinClip - bunzip2 - problem solved!

2002-10-25 Thread Jean-Claude Gervais
Bing!!! Give that man a cigar!
Nope, better than that, I'm going to register my copy of Cygwin, dammit!

Thanks Harold.

J



-Original Message-
From: [EMAIL PROTECTED] [mailto:cygwin-xfree-owner;cygwin.com]On
Behalf Of Harold L Hunt II
Sent: Friday, October 25, 2002 3:27 PM
To: [EMAIL PROTECTED]
Subject: Re: XWinClip

Make sure that you have the latest cygwin1.dll from yesterday's release
(run setup.exe again).  Several issues related to the now default
``ntsec'' option were corrected, and one of these fixes may resolve your
problems.

Harold

Jean-Claude Gervais wrote:

Hi Bradey,


   Thanks for helping.

   Nope, it's not that.
   For one thing, this IS happening on a local drive.
The NTFS security and permissions and ownership are set properly.
   As for the Cygwin ownership and rights, I am the file's owner and
have all
rights to it.

As an aside, I went though the whole user/password procedure a while ago
when I couldn't start X anymore because the user I was logged on as did not
exist as a local user (domain user), and Cygwin's policy concerning such a
situation had changed.

Maybe this is another manifestation of the problem that that policy change
caused.

Um, could someone send me the XWinClip Test 06 source code in a zip file
and
I'll build it...

Anyhow, I'm not sure what version of XWinClip I'm currently running, but
after a paste or two, it starts taking a lot of CPU and doesn't work
anymore.

If that is still going on in the Test 06 source, I might perform an
analysis
and figure what is going wrong with it.

J

-Original Message-
From: [EMAIL PROTECTED]
[mailto:cygwin-xfree-owner;cygwin.com]On
Behalf Of Bradey Honsinger
Sent: Friday, October 25, 2002 2:13 PM
To: '[EMAIL PROTECTED]'
Subject: RE: XWinClip

I saw that just the other day--I didn't have the appropriate permissions to
a directory on a network share, so bunzip2 couldn't create the new file
without the .bz2 extension. The Permission denied message is a hint, I
think :)

Try copying the file to a local directory that you know you have
permissions
on--Cygwin's /tmp is a good candidate. Double-check the permissions in
Explorer, and make sure you're the owner of the directory. You may also
want
to double-check that you've run mkpasswd -d  /etc/passwd if you're in a
domain.

  - Bradey

-Original Message-
From: Jean-Claude Gervais [mailto:jc.gervais;videotron.ca]
Sent: Friday, October 25, 2002 7:56 AM
To: Cygwin-XFree
Subject: XWinClip


Hi,

I've followed the posted instructions for downloading and
installing XWinClip, but for some odd reason, I get the following error
when
trying to extract the .EXE:




bunzip2 xwinclip-Test06.exe.bz2



bunzip2: I/O or other error, bailing out.  Possible reason follows.
bunzip2: Permission denied
Input file = xwinclip-Test06.exe.bz2, output file =
xwinclip-Test06.exe
bunzip2: Deleting output file xwinclip-Test06.exe, if it exists.
/home/jc




I've also tried this on a totally different computer and gotten the same
result.
Anyone have a clue as to what the problem is?








RE: Rootless mode only works on one monitor

2002-10-20 Thread Jean-Claude Gervais
I see.

I'm using two graphics adapters on Windows 2000, but I can't get XWin to
come up on the second display, no matter what I try.



-Original Message-
From: [EMAIL PROTECTED] [mailto:cygwin-xfree-owner;cygwin.com]On
Behalf Of Marcus Lindblom
Sent: Sunday, October 20, 2002 4:32 PM
To: [EMAIL PROTECTED]
Subject: RE: Rootless mode only works on one monitor

I sort of did that, didn't I? ;)

Note that I am running both monitors from the same graphics adapter, and
use driver software to link them together as one big screen. I haven't
tested using the WinXP-multimon feature, or using two separate adapters.
(I have a voodoo2 which I used with a GF1 before I got the GF4).

I think XWin tries to open one maximized window (albeit transparent or
non-existant, whatever, anyway it uses that as a measure on how big the
screen is), and only create subwindows within that border. As you
probably know, maximizing a window with Windows-multimon only put's it
on one screen, so XWin only get's one screen. As I said, I use nView
(nVidia driver thingy) to get one big monitor, so windows doesn't know
that it's two of them, thus no problem in running xwin on two monitors,
as it is only one.

This is a bit silly if you're running rootless though, but I do believe
that is why it works for me. (It fits the problems and my solutions to
it below, i.e. I had to start xwin-test67.exe non-rootless and tell
nview to allow it to maximize to both screens, then I could get rootless
windows on both monitors.)

/Marcus

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:cygwin-xfree-owner;cygwin.com] On Behalf Of
 Jean-Claude Gervais
 Sent: den 20 oktober 2002 21:54
 To: [EMAIL PROTECTED]
 Subject: RE: Rootless mode only works on one monitor


 Marcus,

   Could you post the details of how you get
 multiple-monitors to work with X?



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:cygwin-xfree-owner;cygwin.com]On
 Behalf Of Marcus
 Lindblom
 Sent: Sunday, October 20, 2002 3:08 PM
 To: [EMAIL PROTECTED]
 Subject: RE: Rootless mode only works on one monitor

 Problems solved!

 The first was my bad (told nView not to let apps span two screens when
 maximizing, do'h!).

 '-engine 1' took care of the redraw problem, which appeared with
 rootless as well.

 /Marcus

  From: [EMAIL PROTECTED]
 
  Try it with the ``-engine 1'' parameter and report your results.
 
  Harold
 
  Marcus Lindblom wrote:
 
  Hi!
  
  Am running Cygwin and Test67 of XWin.exe, a GF4 Ti4200 and a
  nView-enhanced desktop (which windows sees as one monitor at
  2560x1024,
  not as two 1280x1024).
  
  Rootless mode is really cool, but the windows only shows on
  one of the
  screens (the primary).
  
  Also, when running with a root window, I can get it to
  strectch across
  both screens, but I get the same bug that was reported a
 while ago: a
  white part on the right side. Looks like only the 2048
 leftmost pixel
  columns are redrawn, and the rest are missed out (they get redrawn
  sometimes, but very seldom.)
  
  /Marcus
  
  
  
 





RE: Need help

2002-10-19 Thread Jean-Claude Gervais
http://themes.freshmeat.net/articles/view/465/


-Original Message-
From: [EMAIL PROTECTED] [mailto:cygwin-xfree-owner;cygwin.com]On
Behalf Of Carlton Teel
Sent: Friday, October 18, 2002 4:08 PM
To: [EMAIL PROTECTED]
Subject: Need help

Greetings all,

I have been trying to locate the steps needed to use the fvwm
distributed with Cygwin, but I have not found the silver bullet yet.
Can you point to where I need to look or provide me with the necessary
steps?   Once fvwm is in place, how do I integrate in another theme for
fvwm to use?

Your assistance would be greatly appreciated :)

BTW - Thanks for providing this product!

Carlton




RE: wmaker signal 11

2002-10-14 Thread Jean-Claude Gervais

I can report that if you install Cygwin and choose DOS files instead of UNIX
files as a setup option, wmaker crashes on startup as a matter of course.

'course I don't really know WHY that is, but I did observe the fact.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Harold L Hunt II
Sent: Monday, October 14, 2002 11:26 AM
To: [EMAIL PROTECTED]
Subject: Re: wmaker signal 11

Did I build the wmaker package?  I am guessing that I did... in that
case, I should be linking automode.o with the wmaker executable so that
we are not dependent upon binary mounts.  Any objections?

Harold

Gerald S. Williams wrote:

Vikram [mailto:[EMAIL PROTECTED]] wrote:


I downloaded cygwin afresh on a new box yesterday. For the first time
decided to try out wmaker.exe  wmaker got signal 11 everytime I started.



I had similar problems at first. I believe I had to switch
to a binary mount point. Something like this:
 $ mount -f -s -b C:/cygwin /

But make sure you know what you're doing before you try it.

:-)

-Jerry






Dual-display

2002-10-14 Thread Jean-Claude Gervais

I have a machine with two video cards in it (forms one 2048x768 desktop).
I’d like to make XWin start on the second display, is there a way to do
that?
I think I once read that on Windows, when you have multiple video cards,
only the “first” one is accelerated. So the command line would have to
contain –engine 1

Proposed feature addition:
The –display switch.
Default would be –display 1 and in my case you would use it like
this: –display 2

Or possibly the DISPLAY environment variable. Ex: DISPLAY=127.0.0.1:0.2





RE: Cygwin Remote: Want to implement a Citrix Metaframe alternative

2002-10-08 Thread Jean-Claude Gervais

Whoah!

Does that actually work Thomas?

Slick!

Thanks for the tip! I may not have originally asked the question, but I can
definitely use your solution!

Thanks again.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Thomas Chadwick
Sent: Tuesday, October 08, 2002 2:09 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Cygwin Remote: Want to implement a Citrix Metaframe alternative

From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Cygwin Remote: Want to implement a Citrix Metaframe alternative
Date: Tue, 8 Oct 2002 09:41:45 +0200

Hi all,

I am a Newbee to the X11 System (ok i can  configure an compiled it) but,
the Steps for Remote Working (like an ICA Metraframe Client) for
Cygwin/Xfree86 is
not really easy.

In Think i have two choices:

1)
Remoteauthentication via the Remote Dektopmanager Control Protocol,
(But Everyon tells me it is complex an still unsecure?)

2)
Using the sure way over an OpenBSD SSH-Shell
(thins is the actually configuration, but not a Release Candidate.

The SSH way works fine, but the Problem is the Logon Interface (Bash shell)
add xhost, DISPLAY=xxx.xxx.xxx.xxx:0.0; export DISPLAY startkde (catch an
Error)

Wow! My Boss is killing me for this nasty Way.

Ok, iam a Programmer, and i think (write a little Windows Application for
Logon to
the X-Remote Server (but still the non-interactive SSH Shell is bugging me.

(I have read from empty Keyphrase Trick???)

Ok Guys, what the best and fastest Way (non commercial, Software must be
free)?


I think I follow what you're trying to do in #2 above.  May I suggest the
following?

On the remote system, create a shell script which contains something like
the following:

  #!/bin/sh

  # Launch an Xterm (run in the pack ground)
  xterm -title `whoami`@`hostname` 

  # Launch WindowManager (run in the foreground)
  mwm

On the local (Cygwin) system, create a shell script that contains something
similar to the following, and save it as .xinitrc in your home directory:

  #!/bin/sh

  ssh  -X  remoteusername@remotehostname  pathtoremotescript

The pathtoremotescript is referring to the script on the remote system I
suggested above.

On the local (Cygwin) system, edit the file .bash_profile in your home
directory and add /usr/X11R6/bin to your path:

  export PATH=$PATH:/usr/X11R6/bin

Finally, on the Cygwin system, create a Windows shortcut with the following
target:

  C:\cygwin\bin\bash.exe --login -c xinit -- -nodecoration

When you double click the shortcut, the following sequence of events will
happen:

1) Windows will run bash.  The --login parameter tells it to source your
.bash_profile file, adding /usr/X11R6/bin to your PATH.
2) Bash will run xinit, which will start up the X server, then source the
.xinitrc file.
3) .xinitrc will execute ssh.
4) ssh will connect to the remote system and prompt you for a password.  It
will then enable X11 Forwarding, assign the appropriate value to DISPLAY,
and will execute the remote shell script.
5) The remote shell script will run, launching an xterm and window manager
which will appear on your Cygwin X server screen.
6) Close things down by quitting the window manager on the remote system or
by killing the Cygwin X server with Alt-F4.


_
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx




RE: RE Cygwin List posts

2002-10-02 Thread Jean-Claude Gervais

As long as we are at it, I want to know what color your dog is.
Also, I am glad Pookie is feeling better. Geert had mentioned something
about Pookie's posterior being hurt.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Harold L Hunt II
Sent: Wednesday, October 02, 2002 10:59 AM
To: [EMAIL PROTECTED]
Subject: Re: RE Cygwin List posts

Geert,

I don't know what you are trying to say here.

My response to Jean-Claude was light-hearted (I said my dog was fine):
http://cygwin.com/ml/cygwin-xfree/2002-09/msg00279.html

Ben responded to me throwing my hands in the air with a much more
detailed account of his situation (notice that the message subject
changed back to RH 7.3 from our off-list subject of Cygwin List Posts):
http://cygwin.com/ml/cygwin-xfree/2002-09/msg00280.html

I then responded with some information that was probably helpful:
http://cygwin.com/ml/cygwin-xfree/2002-09/msg00281.html

After that there was no response, so I can only assume that the
1024x768x65535 was causing the problem (or his RedHat machine was not in
runlevel 5).


So Geert, I have misunderstood your postings before... what have I
misunderstood this time?


Harold

Pille Geert (bizvdm) wrote:
 I have learned from a reliable source, that Harold has (repeat: HAS) a
pain
 in the ass.  Which sometimes explains a person's emotional reactions.  But
 one must admit that Ben did not help to ease the pain.

 -Original Message-
 From: Jean-Claude Gervais [mailto:[EMAIL PROTECTED]]
 Sent: woensdag 25 september 2002 21:21
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: RE: RE Cygwin List posts


 Having problems with your dog, Harold?   ;-)

 -Original Message-
 From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On
 Behalf Of Harold L Hunt II
 Sent: Wednesday, September 25, 2002 4:16 PM
 To: Benjamin Simmons
 Cc: [EMAIL PROTECTED]
 Subject: Re: RE Cygwin List posts

 Ben,

 See, you aren't telling me what you have had success in doing.  What do
 you mean ``They all work fine''?  Does that mean that you have
 successfully done an XDMCP session, used ssh to display remote clients,
 and used telnet to display remote clients?  If so, then say exactly that.

 I'm not just going to ``elaborate'' about the wonderful things that you
 can do with XDMCP and ssh --- I could write about them all day long.
  You have to ask a specific question about precisely what it is that you
 want to do.  We cannot read your mind.  Imagine for a moment that your
 dog cannot walk and that I am a vet.  If you come to me and say, ``my
 dog has a broken leg, can you fix it?'', then I am very likely to help
 you.  If, on the other hand, you come to me and say, ``My dog needs to
 [mumble mumble mumble]... can you tell me about the many things that
 dogs can do?'', then I'm going to kick you out of my office.

 Harold

 P.S. - This is going back on [EMAIL PROTECTED] because it seems to
 me like you are trying to waste my time since you are being vague about
 both your questions and your answers.  Don't reply to me personally,
 only send your questions to [EMAIL PROTECTED]

 Benjamin Simmons wrote:


thank you sir for your reply,
at this point I would love to gain some further instruction on either

 option

you present.  I have multiple RHLinux 7.2 boxes setup so that I can do
your
first option.  They all work fine.  I am having the difficulty in setting

 up

a RH Linux 7.3 box in the same manner.

I did the things you discuss in the guide, and any further elaboration is
greatly appreciated.

Thank you,
Ben Simmons

Harold L Hunt II wrote:




Ben,

I have been reading the list and it looks to me like you asked the same
question over again.  Rasjid gave you the same answer that I gave you
--- which defeats the purpose of writing a User's Guide, since I wrote
the User's Guide to explain this very question once and for all.

You say that you need to connect to multiple machines.  Is that the
specific part that you are having trouble with?  Are you able to connect
to one machine at a time, but not to multiple machines at once?  If so,
I can help you with that.

Please be clear on whether you are trying to run a remote session via
XDMCP (where you are presented by a login box and one Cygwin/XFree86
window is owned entirely by one remote machine) or whether you are
trying to display remote clients via ssh (in which case you can ssh to
multiple remote machines and have them all display X Clients in one
Cygwin/XFree86 window - or in multiple Cygwin/XFree86 windows).

Harold

Benjamin Simmons wrote:




If you had ben paying attention to the list today, you would have seen
an excahnge between myself and Rasjid Wilcox.

If you were paying attention to this exchange, you would have noticed
that he has offered further details.

I did read through what you sent me, and found it to cover exactly what
I had already done.  Since I had used your information, but felt that I
needed further details, I responded to someone

RE: How do you gentleuser's start your X stuff?

2002-10-02 Thread Jean-Claude Gervais

Hi Frank,


This list is really all about the Cygwin implementation of X and issues
concerning that.

If you have generic questions about X development, www.x.org might be a
place to start. The comp.windows.x newsgroup might have some people on it
that could help you.

As an aside, your question about linking X calls to your cygwin app does
seem legit to me, but I cannot answer it. Sorry.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Lane, Frank L
Sent: Wednesday, October 02, 2002 12:19 PM
To: '[EMAIL PROTECTED]'
Subject: RE: How do you gentleuser's start your X stuff?

OK.  If my questions about xfree aren't welcome on this list where should I
go to ask them?

Also, the fact that new user questions aren't welcome here is not obvious
from the project page description.

Thanks,
Frank

-Original Message-
From: Alexander Gottwald
[mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 02, 2002 11:13 AM
To: '[EMAIL PROTECTED]'
Subject: Re: How do you gentleuser's start your X stuff?


On Wed, 2 Oct 2002, Lane, Frank L wrote:

 Second question, as I'm interested in learning everything I can about X,
I'm
 trying to write some beginner programs.  When I compile using gcc I get a
 message about unresolved calls to _XSimpleWindow and some other functions.
 I've tried including -L/usr/X11R6/bin/libX11.dll but that doesn't help.
Any
 suggestions?  Is there anyway I can see if the function xsimplewindow is
in
 the libX11.dll or what files exist in what dll's?

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




x2x or XWin -screen 0 2048 768 ?

2002-09-26 Thread Jean-Claude Gervais

Hi,

Can anyone point me in the right direction?

I've added a second video card to my computer and am running Windows with a
large (2048x768) desktop.

I'd like to run XWin like that too, but it and all the other apps only
maximize on ONE of the screens.

Although if a window is not maximized and can be sized, I can stretch it
across both screens, I figure there must be a better way.

Does anyone here know anything about this?

Jean-Claude





RE: x2x or XWin -screen 0 2048 768 ?

2002-09-26 Thread Jean-Claude Gervais

Hello,

Yes, I have run

XWin -screen 0 2048 768

And it maximizes on the current screen. Actually, if I use any resolution
that exceeds the width of the primary display, the X display always seems to
be 1024 pixels wide.

I've tried using -scrollbars , but that option doesn't seem to exist! If I
use it on XWin's command line, XWin exits immediately.

An additional command-line parameter?

Well, how about

-spanmultiplemonitors x or -dualdisplay x

Where x would be the number of contiguous display you'd allow XWin to take
up? Of course, it could get a little tricky: each monitor can be set to a
different resolution, can be spatially arranged vertically or horizontally
in relation to the other monitor(s), which can result in some pretty funky
geometries...

I seem to remember that dual-head video cards (one adapter with two or more
SVGA outputs on it) didn't have these problems, because other than allowing
you to place the screens vertically or horizontally, each screen had to run
at the same resolution as the others and the system really only saw the
configuration as a single, rectangular display anyhow.

All that aside, it would be an interesting feature to implement user
window-sizing to arbitrary resolutions via the -scrollbars parameter so that
a user might stretch the X display to the size s/he wants. But I'm not clear
on whether or not X allows resizing once an X 'console' has started. Does
it?

Thanks a lot for your consideration.

Jean-Claude




-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Harold L Hunt II
Sent: Thursday, September 26, 2002 7:14 PM
To: [EMAIL PROTECTED]
Subject: Re: x2x or XWin -screen 0 2048 768 ?

Jean-Claude,

Have you run Cygwin/XFree86 as follows?

XWin -screen 0 2048 768


Does that work at all?  Are you able to size the window using the mouse
so that it displays at up to 2048x768?  If not, perhaps we can change
that behavior later.


As far as maximization size, you will notice that all other Windows
applications only size to the size of the current monitor when you click
the maximize button.  Thus, we are following the standard behavior.
Also, think about the limited options that we have here.  Pretty much
our only other option would be to create a screen large enough to fill
both monitors on startup, say 2048x768, and display that size by
default.  Well, what if the user doesn't want to have their screen
stretched across two displays, then that is just too bad for them, they
have to have it stretched across two displays.  I don't think that would
be acceptable as the default behavior.


If you propose an extremely detailed new default behavior scheme, that
can actually be implemented, and that doesn't do anything detrimental to
the 99% of users that use the default behavior, then I will most likely
implement your proposed new logic.  Or, you can propose a detailed new
command-line parameter if you wish that provides a different behavior
for multiple-monitor systems.  More than likely you will realize that we
are doing pretty much what other Windows applications do and that there
isn't a default behavior that is much better.  Of course, I may just be
overlooking some simple improvement.


Hope that helps.


Harold





Jean-Claude Gervais wrote:
 Hi,

   Can anyone point me in the right direction?

 I've added a second video card to my computer and am running Windows with
a
 large (2048x768) desktop.

 I'd like to run XWin like that too, but it and all the other apps only
 maximize on ONE of the screens.

 Although if a window is not maximized and can be sized, I can stretch it
 across both screens, I figure there must be a better way.

   Does anyone here know anything about this?

 Jean-Claude






RE: x2x or XWin -screen 0 2048 768 ?

2002-09-26 Thread Jean-Claude Gervais

Harold,

OK then.
I'd say the reasonable trade-off that wouldn't hinder existing users would
be that you get to specify the size of the X display, to any resolution you
want, and ONLY if you have -scrollbars specified, then you can scroll the
window around to see all of it OR you can also stretch the window up to the
maximum you specified.

If you DON'T specify -scrollbars, then if your width or height are bigger
than the actual display you're running on, your window get clipped to the
maximum X or Y value the display supports. This is what it already does now.

Does that sound OK?


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Harold Hunt
Sent: Thursday, September 26, 2002 8:54 PM
To: [EMAIL PROTECTED]
Subject: RE: x2x or XWin -screen 0 2048 768 ?

Jean-Claude,

 All that aside, it would be an interesting feature to implement user
 window-sizing to arbitrary resolutions via the -scrollbars
 parameter so that
 a user might stretch the X display to the size s/he wants. But
 I'm not clear
 on whether or not X allows resizing once an X 'console' has started. Does
 it?


Oops, that was one of the things I was going to mention.  It is not possible
to resize the X display after it has been initialized.  The RandR extension
will eventually allow this, but I am not sure if it is stable/complete yet.

Harold




RE: RE Cygwin List posts

2002-09-25 Thread Jean-Claude Gervais

Having problems with your dog, Harold?   ;-)

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Harold L Hunt II
Sent: Wednesday, September 25, 2002 4:16 PM
To: Benjamin Simmons
Cc: [EMAIL PROTECTED]
Subject: Re: RE Cygwin List posts

Ben,

See, you aren't telling me what you have had success in doing.  What do
you mean ``They all work fine''?  Does that mean that you have
successfully done an XDMCP session, used ssh to display remote clients,
and used telnet to display remote clients?  If so, then say exactly that.

I'm not just going to ``elaborate'' about the wonderful things that you
can do with XDMCP and ssh --- I could write about them all day long.
 You have to ask a specific question about precisely what it is that you
want to do.  We cannot read your mind.  Imagine for a moment that your
dog cannot walk and that I am a vet.  If you come to me and say, ``my
dog has a broken leg, can you fix it?'', then I am very likely to help
you.  If, on the other hand, you come to me and say, ``My dog needs to
[mumble mumble mumble]... can you tell me about the many things that
dogs can do?'', then I'm going to kick you out of my office.

Harold

P.S. - This is going back on [EMAIL PROTECTED] because it seems to
me like you are trying to waste my time since you are being vague about
both your questions and your answers.  Don't reply to me personally,
only send your questions to [EMAIL PROTECTED]

Benjamin Simmons wrote:

thank you sir for your reply,
at this point I would love to gain some further instruction on either
option
you present.  I have multiple RHLinux 7.2 boxes setup so that I can do your
first option.  They all work fine.  I am having the difficulty in setting
up
a RH Linux 7.3 box in the same manner.

I did the things you discuss in the guide, and any further elaboration is
greatly appreciated.

Thank you,
Ben Simmons

Harold L Hunt II wrote:



Ben,

I have been reading the list and it looks to me like you asked the same
question over again.  Rasjid gave you the same answer that I gave you
--- which defeats the purpose of writing a User's Guide, since I wrote
the User's Guide to explain this very question once and for all.

You say that you need to connect to multiple machines.  Is that the
specific part that you are having trouble with?  Are you able to connect
to one machine at a time, but not to multiple machines at once?  If so,
I can help you with that.

Please be clear on whether you are trying to run a remote session via
XDMCP (where you are presented by a login box and one Cygwin/XFree86
window is owned entirely by one remote machine) or whether you are
trying to display remote clients via ssh (in which case you can ssh to
multiple remote machines and have them all display X Clients in one
Cygwin/XFree86 window - or in multiple Cygwin/XFree86 windows).

Harold

Benjamin Simmons wrote:



If you had ben paying attention to the list today, you would have seen
an excahnge between myself and Rasjid Wilcox.

If you were paying attention to this exchange, you would have noticed
that he has offered further details.

I did read through what you sent me, and found it to cover exactly what
I had already done.  Since I had used your information, but felt that I
needed further details, I responded to someone that was willing to
provide them.

If you are having a problem with my exchange on this topic, please feel
free to ignore all further posts to this message, otherwise, I would
like to personally thank you for your assistance.  I have gotten
frustrated with my inability to connect the final piece of this puzzle.

To clarify, I do work for and am a student at The University of
Memphis.  I am currently performing research and need to access multiple
linux machines remotely to complete my dissertation.

Thank you again for your help,
Ben Simmons
















RE: XOpenWin

2002-09-20 Thread Jean-Claude Gervais

The only reason I have for Win2X is that it takes Windows output and sends
it to X...
Maybe we could call it.

OpenWin2X

Either way.

XopenWin is also nice.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of David Fraser
Sent: Friday, September 20, 2002 2:39 PM
To: [EMAIL PROTECTED]
Subject: Re: XOpenWin

Yes, but then I posted some other alternatives and suggested this name
and nobody
seemed to mind. I could always reapply for the project under a different
name...
I just thought a huge discussion about the name would take time... but
if people generally
want Win2X we can do that I guess. Pros/cons?

Jean-Claude Gervais wrote:

Um, was Win2X pitched as a name?


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On
Behalf Of David Fraser
Sent: Friday, September 20, 2002 1:23 PM
To: [EMAIL PROTECTED]
Subject: XOpenWin

Submitted an application to source forge to create project XOpenWin.
Will post again when it is set up (takes a while for them to process)

David







RE: Cygwin-XFree -- RDP -- Cygwin-XFree

2002-09-19 Thread Jean-Claude Gervais

Quite right; the scrollbars option should take care of the resizing problem.
I will test and let you know.

What about the display surfaces becoming unavailable? I mean when you
connect and disconnect RDP and the Xwin window becomes transparent? Any
ideas for that? Might be a thorny one...


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Harold Hunt
Sent: Wednesday, September 18, 2002 11:19 PM
To: [EMAIL PROTECTED]
Subject: RE: Cygwin-XFree -- RDP -- Cygwin-XFree

Jean-Claude,

Yes, I saw your post.  However, I don't see what I can do about it.

On the other hand, I am wondering why you haven't done any testing using
the -scrollbars command-line option.  That would seem like it might prevent
the Cygwin/XFree86 window from ever being stretched or squashed in the first
place.

Let me know how -scrollbars works.

Harold

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Jean-Claude Gervais
 Sent: Tuesday, September 17, 2002 9:59 AM
 To: [EMAIL PROTECTED]
 Subject: Cygwin-XFree -- RDP -- Cygwin-XFree


 Harold,

   Did you get the results of the Cygwin-XFree -- RDP --
 Cygwin-XFree tests
 I posted last week?






XWinClip

2002-09-19 Thread Jean-Claude Gervais

Please forgive the newbie-type question:

Using Cygwin-XFree to connect (in query mode) to a Linux box,
I couldn't seem to select text from the Linux applications and paste them to
Windows.

Should I be able to? Is there a web-page somewhere that explains how to get
this done with Cygwin and XWinClip?






RE: X client wrapper for Win apps?

2002-09-19 Thread Jean-Claude Gervais

Wine translates GDI calls to X, doesn't it?


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Alexander Gottwald
Sent: Thursday, September 19, 2002 12:24 PM
To: [EMAIL PROTECTED]
Subject: RE: X client wrapper for Win apps?

On Thu, 19 Sep 2002, Jean-Claude Gervais wrote:

   It COULD be done! Admittedly, it might not be a snap, but Wine
already uses
 a POSIX layer to accomplish what it needs to do.
 In our case, it would use Cygwin!

wine is in most parts the same as replacing kernel32.dll user32.dll and
some other system dependent libraries. So you won't achive anything if
you run the windows application in a wine subsystem. The goal is not to
replace the windows dlls with the wine dlls but to translate the GDI
calls to X11. This has nothing to do with the POSIX layer.

If someone is going into this, than start with the wine x11drv.

Unfortunately no one from wine-devel commented that concept.

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




RE: X client wrapper for Win apps?

2002-09-19 Thread Jean-Claude Gervais

You could hook only the drawing calls and pass anything else through to the
original handler.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Alexander Gottwald
Sent: Thursday, September 19, 2002 2:45 PM
To: [EMAIL PROTECTED]
Subject: RE: X client wrapper for Win apps?

On Thu, 19 Sep 2002, Jean-Claude Gervais wrote:

 Wine translates GDI calls to X, doesn't it?

Yes, and a lot of other things more. The GDI-X translation is only a small
part of wine.

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




Cygwin-XFree -- RDP -- Cygwin-XFree

2002-09-17 Thread Jean-Claude Gervais

Harold,

Did you get the results of the Cygwin-XFree -- RDP -- Cygwin-XFree tests
I posted last week?





RE: Bug in IMake - Doesn't use DESTLIB

2002-09-10 Thread Jean-Claude Gervais

Alexander,

I've changed my Imakefile based on the recommendations both you and Han N.
Nguyen have made.

The only problem is that even though the shared library IS copied to the
proper destination, it's import-linking file (.a or .lib in Win32) is STILL
only being copied to the X folders:

Here's the Imakefile

-

#include Library.tmpl
LibraryObjectRule()

 LIBNAME = ldlib
SRCS = ldlib.cpp
OBJS = $(SRCS:.cpp=.o)

  CC = g++

   SOREV = 1.0

INCLUDES = -I../../include
 DESTLIB = ../../lib/Release/Cygwin

  BINDIR = ../../bin/Release/Cygwin
LOCALLIB = ../../lib/Release/Cygwin

SharedLibraryTarget($(LIBNAME),$(SOREV),$(OBJS),.,.)
InstallSharedLibrary($(LIBNAME),$(SOREV),$(DESTLIB))
DependTarget()
LintTarget()

-

And here is the output it produces:



make install
install -c -m 0644 libldlib.a /usr/X11R6/lib/libldlib.a
install -c -m 0644 libldlib.dll ../../bin/Release/Cygwin/libldlib.dll
install in . done


Have you any idea how to make the .a file go to ../../lib/Release/Cygwin
instead?

Thank you.

Jean-Claude



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Alexander Gottwald
Sent: Tuesday, September 10, 2002 6:25 AM
To: Cygwin-XFree
Subject: Re: Bug in IMake - Doesn't use DESTLIB

On Mon, 9 Sep 2002, Jean-Claude Gervais wrote:


   I've been trying to write an Imakefile that copies the
shared-library I'm
 building to a directory specified using the DESTLIB variable when the
'make
 install' target is invoked.

   Although this works fine on Linux, invoking the 'make install' rule
on
 Cygwin results in the DLL being copied to X11's 'bin' directory.

   Is this a know bug, and what should I do?

Hm, actually the dlls must be in the searchpath when the binary is started.
So it makes sense to locate in the bindir. I they are installed in DESTBIN.

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




RE: Bug report: Using Cygwin-Xfree through Remote Desktop Sharing (RDP)

2002-09-10 Thread Jean-Claude Gervais
 Desktop Sharing
(RDP)

Jean-Claude,

Repeat the entire scenario you described, but start XWin with the
``-engine 1'' parameter, e.g.
XWin -engine 1

The default graphics engine on Windows 2000/XP will be DirectDraw 4.0;
DirectDraw will probably have a problem with RDP --- I am surprised that
it works at all.  The ``-engine 1'' parameter will tell XWin to use GDI
DIBs (Device Independent Bitamps) and regular GDI BLTs (Bit-Block
Transfers) as the graphics engine; GDI will be less prone to having a
problem with RDP.

If RDP works with the GDI engine then I know exactly what to fix; if
not, I will have to pump you for some more information.

Harold

Jean-Claude Gervais wrote:

This is complicated, so I'll try to be clear.

Let's say you have machine A, which is a Windows XP machine that has Cygwin
and Cygwin-XFree installed on it.
You use A to connect to B. B is a machine running Linux and X.
Everything so far works.
Then you use machine C (a machine running Windows 2000) to remote-control
machine A with Windows XP Remote Desktop Client (RDP).
Machine C can use machine A's Cygwin-XFree connection and view machine B.
No
problem.
However, when machine C breaks its connection to machine A, machine A's
Cygwin-XFree will no longer display machine B. It will instead display a
white screen in Cygwin-XFree.
Although I am pretty sure that A is still connected and controlling B, it
can no longer see B's display.
It seems like Remote Desktop Client mucks-up Cygwin-XFree.

I hope that that was clear enough.

Thanks.








RE: Bug report: Using Cygwin-Xfree through Remote Desktop Sharing (RDP)

2002-09-09 Thread Jean-Claude Gervais

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Thomas Chadwick
Sent: Monday, September 09, 2002 12:08 PM
To: [EMAIL PROTECTED]
Subject: Re: Bug report: Using Cygwin-Xfree through Remote Desktop Sharing
(RDP)

Sounds similar to this problem I reported a while back...

http://www.cygwin.com/ml/cygwin-xfree/2002-06/msg00373.html

What's in /tmp/XWin.log?


This -

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1024 h 768
winInitializeDefaultScreens - Returning
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - Allowing PrimaryDD
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 001f
winSetEngine - Using Shadow DirectDraw NonLocking
winAdjustVideoModeShadowDDNL - Using Windows display depth of 32 bits per
pixel
winAllocateFBShadowDDNL - Not changing video mode
winAllocateFBShadowDDNL - lPitch: 4096
winFinishScreenInitFB - Masks: 00ff ff00 00ff
winInitVisualsShadowDDNL - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp
32
winCreateDefColormap - Deferring to fbCreateDefColormap ()
winScreenInit - returning
winBltExposedRegionsShadowDDNL - IDirectDrawSurface4_Blt reported that the
primary surface was lost, trying to restore, retry:
1winBltExposedRegionsShadowDDNL - IDirectDrawSurface4_Blt reported that the
primary surface was lost, trying to restore, retry: 2
winShadowUpdateDDNL - IDirectDrawSurface4_Blt () failed: 887601c2
winShadowUpdateDDNL - IDirectDrawSurface4_Blt () failed: 887601c2
winShadowUpdateDDNL - IDirectDrawSurface4_Blt () failed: 887601c2
winShadowUpdateDDNL - IDirectDrawSurface4_Blt () failed: 887601c2

 A lot of these deleted, but there were TONS of them.

winBltExposedRegionsShadowDDNL - IDirectDrawSurface4_Blt reported that the
primary surface was lost, trying to restore, retry:
1winBltExposedRegionsShadowDDNL - IDirectDrawSurface4_Blt reported that the
primary surface was lost, trying to restore, retry: 2
winShadowUpdateDDNL - IDirectDrawSurface4_Blt () failed: 887601c2
winShadowUpdateDDNL - IDirectDrawSurface4_Blt () failed: 887601c2
winShadowUpdateDDNL - IDirectDrawSurface4_Blt () failed: 887601c2

... More of these lines deleted ...

winBltExposedRegionsShadowDDNL - IDirectDrawSurface4_Blt reported that the
primary surface was lost, trying to restore, retry:
1winBltExposedRegionsShadowDDNL - IDirectDrawSurface4_Blt reported that the
primary surface was lost, trying to restore, retry: 2
winShadowUpdateDDNL - IDirectDrawSurface4_Blt () failed: 887601c2
winShadowUpdateDDNL - IDirectDrawSurface4_Blt () failed: 887601c2
winShadowUpdateDDNL - IDirectDrawSurface4_Blt () failed: 887601c2

... More of these lines deleted ...

winBltExposedRegionsShadowDDNL - IDirectDrawSurface4_Blt reported that the
primary surface was lost, trying to restore, retry:
1winBltExposedRegionsShadowDDNL - IDirectDrawSurface4_Blt reported that the
primary surface was lost, trying to restore, retry: 2winShadowUpdateDDNL -
IDirectDrawSurface4_Blt () failed: 887601c2
winShadowUpdateDDNL - IDirectDrawSurface4_Blt () failed: 887601c2
winShadowUpdateDDNL - IDirectDrawSurface4_Blt () failed: 887601c2
winShadowUpdateDDNL - IDirectDrawSurface4_Blt () failed: 887601c2

And on and on...






From: Jean-Claude Gervais [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Cygwin-XFree [EMAIL PROTECTED]
Subject: Bug report: Using Cygwin-Xfree through Remote Desktop Sharing
(RDP)
Date: Mon, 09 Sep 2002 11:00:28 -0400

This is complicated, so I'll try to be clear.

Let's say you have machine A, which is a Windows XP machine that has Cygwin
and Cygwin-XFree installed on it.
You use A to connect to B. B is a machine running Linux and X.
Everything so far works.
Then you use machine C (a machine running Windows 2000) to remote-control
machine A with Windows XP Remote Desktop Client (RDP).
Machine C can use machine A's Cygwin-XFree connection and view machine B.
No
problem.
However, when machine C breaks its connection to machine A, machine A's
Cygwin-XFree will no longer display machine B. It will instead display a
white screen in Cygwin-XFree.
Although I am pretty sure that A is still connected and controlling B, it
can no longer see B's display.
It seems like Remote Desktop Client mucks-up Cygwin-XFree.

I hope that that was clear enough.

Thanks.




_
Chat with friends online, try MSN Messenger: http://messenger.msn.com




Bug in IMake - Doesn't use DESTLIB

2002-09-09 Thread Jean-Claude Gervais

Hello,


I've been trying to write an Imakefile that copies the shared-library I'm
building to a directory specified using the DESTLIB variable when the 'make
install' target is invoked.

Although this works fine on Linux, invoking the 'make install' rule on
Cygwin results in the DLL being copied to X11's 'bin' directory.

Is this a know bug, and what should I do?

Thanks

Jean-Claude





Bug in IMake - Doesn't use DESTLIB

2002-09-09 Thread Jean-Claude Gervais

I'm sorry; I sent this to the list because imake is part of XFree.
Is there a way for me to reach imake's maintainer if this query doesn't
belong here?

Thanks


-Original Message-

Hello,


I've been trying to write an Imakefile that copies the
shared-library I'm building to a directory specified using the DESTLIB
variable when the 'make install' target is invoked.

Although this works fine on Linux, invoking the 'make install' rule
on Cygwin results in the DLL being copied to X11's 'bin' directory.

Is this a known bug, and what should I do?

Thanks

Jean-Claude




Sorta OT - Imakefiles

2002-08-26 Thread Jean-Claude Gervais

Hi,

Does anyone know how to tell an Imakefile to copy a shared-library and
it's lib file to a user-specified location instead of the X directories?

For example, I have the following Imakefile, and I'd like for the .DLL file
to go to one directory, and its complimentary .LIB file to go to another
directory;



SRCS = ldlib.cpp
OBJS = ldlib.o
 LIBNAME = ldlib

  CC = g++ -mno-cygwin

   SOREV = 1.0

INCLUDES = -I../../include

DependTarget()
SharedLibraryTarget($(LIBNAME),$(SOREV),$(OBJS),.,.)
InstallSharedLibrary($(LIBNAME),$(SOREV),.)



How do you get the InstallSharedLibrary target to copy the files to
alternate destinations and not the default ones?






GDB, for XFree???

2002-08-11 Thread Jean-Claude Gervais

Hi,


I'm trying to debug an X application with GDB, more specifically, a
wxWindows application running under Cygwin Xfree.

The problem is that if I invoke my application inside X, by typing gdb
app.exe, a Windows application (GDB) pops up with my app loaded in it, but
then my application never seems to be able to run.

Is there a trick to this, or is GDB only for character mode applications?


Thanks.






RE: Help with fixing x2x...

2002-07-24 Thread Jean-Claude Gervais

Sounds like one of the sockets in the FD set is not a socket?

Could you post enough of the code so we could see?


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Conrad Scott
Sent: Wednesday, July 24, 2002 3:28 PM
To: [EMAIL PROTECTED]
Subject: Re: Help with fixing x2x...

Thomas Chadwick [EMAIL PROTECTED] wrote:
 After doing this, select is still non-blocking, returning -1,
and the value
 returned by WSAGetLastError() is 10038, which seems to
correspond to the
 #define WSAENOTSOCK in winsock.h.

 Any idea what this error code means and what steps I might take
to fix it?

It would be (perhaps more) instructive to print out errno (rather
than the WSA errno) since errno is what select(2) sets.

As a matter of interest (since I'm currently fiddling around with
some similar code), are the two file descriptors UNIX domain
sockets?

HTH

// Conrad





XRoaches

2002-07-22 Thread Jean-Claude Gervais

Hi,

Just wondering; has anyone gotten xroach to work on Cygwin/XFree?

It compiles fine, but when you run it, you don't get any roaches...

Thanks.





RE: [ANNOUNCEMENT] Server Test 61

2002-06-27 Thread Jean-Claude Gervais

I second that.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Franz Wolfhagen
Sent: Thursday, June 27, 2002 3:58 AM
To: [EMAIL PROTECTED]
Subject: RE: [ANNOUNCEMENT] Server Test 61


Your long changelogs are doing a very nice educational reading for me at
least - I appreciate them very much...

Med venlig hilsen / Regards
Franz Wolfhagen




RE: Cut down xfree server for XDMCP only

2002-06-16 Thread Jean-Claude Gervais

I'm trying to run gdbx, and I need cygwinb19.dll to do it.
Where can I find that file?

I've tried renaming to cygwin1.dll to cygwinb19.dll, but when gdbx starts,
the CPU goes to 100% load and gdbx never appears, so that doesn't work.

TIA






wxWindows

2002-06-14 Thread Jean-Claude Gervais

Hi,

Has anyone here been able to compile wxWindows on Cygwin?

Specifically, producing a build of wxWindows that runs under Cygwin's XFree
environment?

I'd like to share notes on it if you have.

Thanks.