Re: xwinclip problem/puzzle

2002-10-17 Thread luke . kendall

On 15 Oct, Chris Twiner wrote:
  Thanks for the referal Jehan,
  
  And maybe Chris has a newer version now.
  
  Unfortunately not.  The version most recently posted had the ctrl+c and 
  server reset code in place but nothing much else.

Oh.

This I had planned to do:
  - get the windows clipboard only when something has changed on it (don't 
  unnecessarily grab the x selection)
  - handle multiple X server screens (so you don't end up using windows as an 
  unnecessary intermediatary clipboard system).


  When you run multiple screens do you keep the same display setting or does 
  it need to change?  If it is the same display I can get it working (by 
  making sure the newly activated window is not a cygwin window).

Do you mean multiple virtual desktops, or dual monitors?  Though I
haven't figured out how to do the former (esp. on Win95), and we don't
have dual monitors, so I'll have to leave others to voice their
opinions there.

  As to further dev I want to contribute but my time is tight at the moment, 
  previously I was on a part time contract so I could devote time to xwinclip. 
Now I'm full time so I don't know when I'll get round to it. I will do 
  them both, but I just can't say when.

Fair enough!

Regards,

luke




Re: Invoking rootless mode

2002-10-17 Thread Uwe Schmidtmann


Hi!

The rootless mode is much more interesting than the real one from 
other products (at least for me). One of the reasons for this is cygwins 
capability of still being able to use an X11 window manager (e.g. icewm) 
instead of the dump windows user interface (oh how I miss the focus 
follows mouse function within windows, just to mention one)...

I sometimes use a tail -f to follow some debug from a windows 
application compiled with borland and I definitely use nedit as my 
favourite editor (I came from the unix world). The first works much 
better when in rootless mode than being forced to switch from win to x 
and the other way round.

So - many useless words, but one tip:
Having icewm with the statusbar almost everything can be used as with 
fullscreen mode (Window managers menus are available via status bar). 
When icewm moves the complete window (I think that was called opaque 
move) even the problem with the invisible(?) window outline does not 
exists.

So GREAT WORK done there!

Bradey Honsinger wrote:
 I didn't see a mention of the argument to invoke the new rootless mode
 anywhere in this thread--no doubt it's in the updated man pages, but I just
 grabbed the Test66 binary. Logically enough, it's '-rootless':
 
 -rootless
 EXPERIMENTAL: Run the server in pseudo-rootless mode. 
 
 You don't appear to need the '-nodecoration' option when you use
 '-rootless'. Note that the output of 'XWin -help' goes to /tmp/XWin.log[1],
 a fact which I had forgotten.

I just used -rootless without any other options. Works fine. Window 
creation and movement slows down a little but when the windows are shown 
there seems to be no speed punishment for using the pseudo rootless mode.

 This is really cool--many thanks to Matsuzaki, Thomas, and Harold! It's a
 bit of a hack, but it looks very useful, and at the least it should get most
 of the 'Why doesn't cygwin-xfree work like my favorite commerial X server?'
 people off of Harold's back. I'll probably go back to full-screen 'rooted'
 mode, though--I _like_ hiding all of the Windows junk when I'm working in X.
 
   - Bradey
 

Just one question (little of topic in this thread): Has anyone 
succesfully used dfm with cygwin? It compiled flawless but when started 
it complains about dll`s missing in the path. That happened when trying 
to start a program or to change some preferences. (Funny enough those 
were cygwin1.dll and libX11.dll and the path was something like 
c:\cygwin\...) Maybe I just missed an existing patch (took dfm source 
from the projects homepage).

Regards,

Uwe






Re: Invoking rootless mode

2002-10-17 Thread Sam Edge

You wrote in [EMAIL PROTECTED]
in gmane.os.cygwin.xfree on Thu, 17 Oct 2002 10:13:10 +0200:

 oh how I miss the focus 
 follows mouse function within windows, just to mention one

At the expense of being somewhat off topic and sounding like a
Microsoft UI aficionado you can get this behaviour out of most
versions of Windows if you install Microsoft Tweak UI. (Some versions
need the XMouse powertoy instead - also from Microsoft.)

Windows 9x, Me, 2000:
http://www.microsoft.com/ntworkstation/downloads/PowerToys/Networking/NTTweakUI.asp

Windows XP:
http://www.microsoft.com/windowsxp/pro/downloads/powertoys.asp

XMouse (95):
http://www.microsoft.com/windows95/downloads/contents/wutoys/w95pwrtoysset/default.asp

This might make working with X and Windows WMs at the same time
slightly more consistent.

-- 
Sam Edge



Re: Invoking rootless mode

2002-10-17 Thread Harold L Hunt II

Bradey,

Thanks for pointing that out.  I added the -rootless command-line arg to 
the patch that Matsuzaki sent in, so Test66 and XFree86-xserv-4.2.0-13 
are different than the release that Thomas Chadwick made.

This version of a rootless mode is precisely what I was aiming for: 
something simple that can be built off of.  I had no idea that it would 
be quite that simple though!  :)

Now it is only a matter of time until we implement all of the little 
features that will make rootless mode complete.

Harold

Bradey Honsinger wrote:

I didn't see a mention of the argument to invoke the new rootless mode
anywhere in this thread--no doubt it's in the updated man pages, but I just
grabbed the Test66 binary. Logically enough, it's '-rootless':

-rootless
EXPERIMENTAL: Run the server in pseudo-rootless mode. 

You don't appear to need the '-nodecoration' option when you use
'-rootless'. Note that the output of 'XWin -help' goes to /tmp/XWin.log[1],
a fact which I had forgotten.

This is really cool--many thanks to Matsuzaki, Thomas, and Harold! It's a
bit of a hack, but it looks very useful, and at the least it should get most
of the 'Why doesn't cygwin-xfree work like my favorite commerial X server?'
people off of Harold's back. I'll probably go back to full-screen 'rooted'
mode, though--I _like_ hiding all of the Windows junk when I'm working in X.

  - Bradey

[1] http://www.cygwin.com/ml/cygwin-xfree/2002-04/msg00504.html
  





Re: Rootless mode revisited...

2002-10-17 Thread Thomas Chadwick

FYI - I've taken down the binary I posted to avoid any confusion with 
Harold's test release of XWin -rootless.

From: Thomas Chadwick [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Rootless mode revisited...
Date: Wed, 16 Oct 2002 10:52:56 -0400

By the way, my ISP seems to be blocking downloads of exe's.  Zipping it 
seems to work.  Please download the exe using this URL instead...

http://home.adelphia.net/~tlcweb/cygwin/XWin.zip

From: Thomas Chadwick [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Re: Rootless mode revisited...
Date: Wed, 16 Oct 2002 10:21:25 -0400

I tried out this patch (took a few days because I needed to get xfree86 
out of CVS and build it).  Very cool.  Thanks a bunch to MATSUZAKI for 
coding it!  You saved me a lot of work.

Here's a screenshot...

http://home.adelphia.net/~tlcweb/cygwin/pseudo_rootless_screenshot.gif

Notice that you can see IE in the background along with some Windows 
desktop icons down the left side of the screen.  The windows in the 
forground are Xclients (namely xterm, xclock, and xeyes).  The icon in the 
lower left is an iconified Xclient.

However, I noticed a few strange artifacts of this approach to rootless 
mode...

1) When you click and drag on an Xwindow to move it, you only see the bits 
and pieces of the rubber band outline which happen to overlap the other 
Xwindows.  Where the rubber band overlaps Windows windows, you see 
nothing.

2) Now that there is no root window, you can't use the XWindows window 
manager's root-window menus.

3) A favorite tool of mine, x2x, is broken, which is due to the lack of a 
root window causing the mouse focus to jump back and forth XWindows and 
Windows.


Still, if anyone wants to try it out, here's a binary that I built last 
night from source I pulled from CVS yesterday...

http://home.adelphia.net/~tlcweb/cygwin/XWin.exe


From: MATSUZAKI Kensuke [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Rootless mode revisited...
Date: Tue, 15 Oct 2002 03:30:50 +0900

Thomas didn't talk about X Shape Extension.
I think Thomas's idea is something like this.

With this patch and -nodecoration option, it seems to work good.

 pseudo-rootless.patch 


_
Internet access plans that fit your lifestyle -- join MSN. 
http://resourcecenter.msn.com/access/plans/default.asp


_
Unlimited Internet access -- and 2 months free!  Try MSN. 
http://resourcecenter.msn.com/access/plans/2monthsfree.asp


_
Get faster connections -- switch to MSN Internet Access! 
http://resourcecenter.msn.com/access/plans/default.asp