Re: /usr/bin/startx fails on new x.org install?

2009-02-17 Thread Yaakov (Cygwin/X)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

http://cygwin.com/acronyms/#PCYMTWLL !!

Lloyd Wood wrote:
> XWin was started with the following command line:
> 
> /usr/bin/X :0 -auth /cygdrive/c/Documents and
>  Settings/lwood/.serverauth.3000
> 
> ddxProcessArgument - Initializing default screens
> winInitializeDefaultScreens - w 1400 h 1050
> winInitializeDefaultScreens - returning
> Unrecognized option: and
> [..]

This isn't X-specific; spaces and *NIX paths don't mix.  Please use a
sane home directory, like /home/lwood.

> 2. Trouble launching multiwindow mode. startx (which previously gave me 
> multiwindow) no longer works (above).
> xinit -multiwindow
> fails
> xinit -- -multiwindow
> oddly, succeeds. No idea why.

man 1 xinit

> 3. No cut and paste between the X desktop and Windows. Completely separate. 
> Is this by design? (I can't figure out any copy/paste in the cygwin dumb 
> terminal window, either.) Hurrah for multiwindow mode, where it works, and 
> which I happily scurried back to as soon as I figured out how.

man 1 XWin

> 4. Hogging and not freeing menu/window resources in X, as my Insight Tcl 
> program failing with 'unable to register Tk TopLevel class' or failing to 
> draw a window properly indicates:
> http://coding.derkeiler.com/Archive/Tcl/comp.lang.tcl/2008-04/msg00769.html
> yes, Insight Tcl programs can be run without X being launched. But I have to 
> quit X (desktop or multiwindow mode) to pull down and draw a menu in e.g. the 
> mail program where I'm writing this.

Cygwin's Tcl/Tk is currently Windows based, and this message is clearly
talking about a Windows version of Tcl/Tk.  I don't see what that has to
do with X11?

> 5. No OpenGL hardware acceleration (yet?) 

http://cygwin.com/ml/cygwin-xfree-announce/2008-11/msg0.html


Yaakov
Cygwin/X
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREIAAYFAkmabrAACgkQpiWmPGlmQSNCqQCfTbgdq+YfdifWNBwBXXxqzLhx
c/kAninvJ6t6leyrlrDN2SPfCw176xo0
=tE9k
-END PGP SIGNATURE-

--
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: Intermittent X clipboard failure

2009-02-17 Thread Danilo Turina
I've got similar problems with the clipboard but with another clipboard 
history tool (CLCL).
It seems that, at some point, X puts something in the clipboard with a 
format not correctly managed by CLCL and until I put something else in 
the clipboard (and that's not always easy to achieve) the clipboard does 
not work correctly.


Ciao,
Danilo

Devin Armstrong wrote:

I have been experiencing this issue frequently ever since I "up"graded
to the new X server and xterm last month. I am using xterm. I haven't
tried rxvt. I have MS Office XP on WinXP SP2. Disabling the Office
Clipboard as suggested doesn't work for me. Once I get in this state
copy/paste functionality is broken for all apps. To get the Windows
clipboard working I have to kill the X server using Task Manager as
telling it to exit using the right-click menu on the X icon in
notification area doesn't work. It looks like the X server hangs on
shutdown.

I have found that going back to xterm 229 works slightly better but
still has the issue (and that's kind of a pain as I have install some
obsolete libraries to get it working). This used to work without issue
with the old 6.8.x X servers. I have to have MS Outlook running at all
times as that is my work email client.

Devin

--
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/




--
Danilo Turina
Alcatel-Lucent
Software Developer
OND Network Management
Rieti (Italy)
Phone: +39 0746 600332

7 anni 10 mesi 8 giorni 32 secondi

--
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: R: starxwin.bat always "misfires" the xterm once - it works!

2009-02-17 Thread Owen Rees

--On Monday, February 16, 2009 17:40:15 +0100 Franz di Coccio wrote:


Marco,

 your suggestion to insert


%CYGWIN_ROOT%\bin\sleep 4

before the xterm launch instruction

%RUN% xterm -e /usr/bin/bash -l

in starxwin.bat did the trick!
Thanks a lot! Grazie!

F

PS That's a weird behaviour, anyway... I wonder why the pause is needed
only for the first execution after the system boot. Whatever... Now it
works :)


The problem seems to be the one that prompted the thread that contains this 
message:



As I understand it, the process that starts the X server finishes before 
the X server is ready to accept connections. This means that there is then 
a race condition between the X server start up and the next command in the 
startup script. If the server is ready first all is well but if not, the 
next command - xterm - fails to connect and gives up.


--
Owen Rees; speaking personally, and not on behalf of HP.

Hewlett-Packard Limited.   Registered No: 690597 England
Registered Office:  Cain Road, Bracknell, Berks RG12 1HN

--
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: Intermittent X clipboard failure

2009-02-17 Thread Williams, Chris (Marlboro)
If you don't use CLCL does everything work ok?

-Chris

-Original Message-
From: cygwin-xfree-ow...@cygwin.com
[mailto:cygwin-xfree-ow...@cygwin.com] On Behalf Of Danilo Turina
Sent: Tuesday, February 17, 2009 3:36 AM
To: cygwin-xfree@cygwin.com
Subject: Re: Intermittent X clipboard failure

I've got similar problems with the clipboard but with another clipboard 
history tool (CLCL).
It seems that, at some point, X puts something in the clipboard with a 
format not correctly managed by CLCL and until I put something else in 
the clipboard (and that's not always easy to achieve) the clipboard does

not work correctly.

Ciao,
Danilo

Devin Armstrong wrote:
> I have been experiencing this issue frequently ever since I "up"graded
> to the new X server and xterm last month. I am using xterm. I haven't
> tried rxvt. I have MS Office XP on WinXP SP2. Disabling the Office
> Clipboard as suggested doesn't work for me. Once I get in this state
> copy/paste functionality is broken for all apps. To get the Windows
> clipboard working I have to kill the X server using Task Manager as
> telling it to exit using the right-click menu on the X icon in
> notification area doesn't work. It looks like the X server hangs on
> shutdown.
> 
> I have found that going back to xterm 229 works slightly better but
> still has the issue (and that's kind of a pain as I have install some
> obsolete libraries to get it working). This used to work without issue
> with the old 6.8.x X servers. I have to have MS Outlook running at all
> times as that is my work email client.
> 
> Devin
> 
> --
> 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/
> 
> 

-- 
Danilo Turina
Alcatel-Lucent
Software Developer
OND Network Management
Rieti (Italy)
Phone: +39 0746 600332

7 anni 10 mesi 8 giorni 32 secondi

--
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: Intermittent X clipboard failure

2009-02-17 Thread Marc Girod

Just my startup batch file, as a complement of information:

@echo off

C:
chdir C:\cygwin\bin

bash --login -c "/usr/bin/startx /usr/bin/emacs -fn lucidasanstypewriter-8
-g 80x43+88+69 -- /usr/bin/X :0 -multiwindow -clipboard"

Marc
-- 
View this message in context: 
http://www.nabble.com/Intermittent-X-clipboard-failure-tp21083419p22056952.html
Sent from the cygwin-xfree mailing list archive at Nabble.com.


--
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: Intermittent X clipboard failure

2009-02-17 Thread Danilo Turina

I don't know, but when I have the problem, closing CLCL solves the issue.

Williams, Chris (Marlboro) wrote:

If you don't use CLCL does everything work ok?

-Chris

-Original Message-
From: cygwin-xfree-ow...@cygwin.com
[mailto:cygwin-xfree-ow...@cygwin.com] On Behalf Of Danilo Turina
Sent: Tuesday, February 17, 2009 3:36 AM
To: cygwin-xfree@cygwin.com
Subject: Re: Intermittent X clipboard failure

I've got similar problems with the clipboard but with another clipboard 
history tool (CLCL).
It seems that, at some point, X puts something in the clipboard with a 
format not correctly managed by CLCL and until I put something else in 
the clipboard (and that's not always easy to achieve) the clipboard does


not work correctly.

Ciao,
Danilo

Devin Armstrong wrote:

I have been experiencing this issue frequently ever since I "up"graded
to the new X server and xterm last month. I am using xterm. I haven't
tried rxvt. I have MS Office XP on WinXP SP2. Disabling the Office
Clipboard as suggested doesn't work for me. Once I get in this state
copy/paste functionality is broken for all apps. To get the Windows
clipboard working I have to kill the X server using Task Manager as
telling it to exit using the right-click menu on the X icon in
notification area doesn't work. It looks like the X server hangs on
shutdown.

I have found that going back to xterm 229 works slightly better but
still has the issue (and that's kind of a pain as I have install some
obsolete libraries to get it working). This used to work without issue
with the old 6.8.x X servers. I have to have MS Outlook running at all
times as that is my work email client.

Devin

--
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/






--
Danilo Turina
Alcatel-Lucent
Software Developer
OND Network Management
Rieti (Italy)
Phone: +39 0746 600332

7 anni 10 mesi 8 giorni 5 ore 5 minuti 15 secondi

--
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: Intermittent X clipboard failure

2009-02-17 Thread WEEBER Bill
WARNING: This e-mail has been altered by some SMTP protection software.  
Following this
paragraph are indications of the actual changes made.  For more information, 
contact
Alcatel Postmaster .

An attachment named NEdit.bat was removed from this document as it
constituted a security hazard.  If you require this document, please contact
the sender and arrange an alternate means of receiving it.

I am also having this problem.  I have a script similar to startxwin.bat
that launches Nedit. If I have the windows application "VNC" running,
copy and paste from NEdit no longer works. When I terminate the VNC
session, the copy and paste is okay.

I did a fresh cygwin install several weeks ago, but this has been an
ongoing problem for me even with previous installs. I also see
intermittent behavior periodically.

  -Bill

-Original Message-
From: cygwin-xfree-ow...@cygwin.com
[mailto:cygwin-xfree-ow...@cygwin.com] On Behalf Of Danilo Turina
Sent: Tuesday, February 17, 2009 8:38 AM
To: cygwin-xfree@cygwin.com
Subject: Re: Intermittent X clipboard failure

I don't know, but when I have the problem, closing CLCL solves the
issue.

Williams, Chris (Marlboro) wrote:
> If you don't use CLCL does everything work ok?
> 
> -Chris
> 
> -Original Message-
> From: cygwin-xfree-ow...@cygwin.com
> [mailto:cygwin-xfree-ow...@cygwin.com] On Behalf Of Danilo Turina
> Sent: Tuesday, February 17, 2009 3:36 AM
> To: cygwin-xfree@cygwin.com
> Subject: Re: Intermittent X clipboard failure
> 
> I've got similar problems with the clipboard but with another 
> clipboard history tool (CLCL).
> It seems that, at some point, X puts something in the clipboard with a

> format not correctly managed by CLCL and until I put something else in

> the clipboard (and that's not always easy to achieve) the clipboard 
> does
> 
> not work correctly.
> 
> Ciao,
>   Danilo
> 
> Devin Armstrong wrote:
>> I have been experiencing this issue frequently ever since I 
>> "up"graded to the new X server and xterm last month. I am using 
>> xterm. I haven't tried rxvt. I have MS Office XP on WinXP SP2. 
>> Disabling the Office Clipboard as suggested doesn't work for me. Once

>> I get in this state copy/paste functionality is broken for all apps. 
>> To get the Windows clipboard working I have to kill the X server 
>> using Task Manager as telling it to exit using the right-click menu 
>> on the X icon in notification area doesn't work. It looks like the X 
>> server hangs on shutdown.
>>
>> I have found that going back to xterm 229 works slightly better but 
>> still has the issue (and that's kind of a pain as I have install some

>> obsolete libraries to get it working). This used to work without 
>> issue with the old 6.8.x X servers. I have to have MS Outlook running

>> at all times as that is my work email client.
>>
>> Devin
>>
>> --
>> 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/
>>
>>
> 

--
Danilo Turina
Alcatel-Lucent
Software Developer
OND Network Management
Rieti (Italy)
Phone: +39 0746 600332

7 anni 10 mesi 8 giorni 5 ore 5 minuti 15 secondi

--
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: RE: Intermittent X clipboard failure

2009-02-17 Thread Marc Girod


Williams, Chris (Marlboro) wrote:
> 
> This is the same workaround I've been using. I'm also using Office 2003
> and X11R7. I'm fine with this workaround. 
> 
It seems to work for me as well (a few hours of experience only).
In fact, I was surprised that cut&paste continues working (or actually
started to work).
Even between emacs and Outlook!

Marc
-- 
View this message in context: 
http://www.nabble.com/Intermittent-X-clipboard-failure-tp21083419p22061079.html
Sent from the cygwin-xfree mailing list archive at Nabble.com.


--
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: /usr/bin/startx fails on new x.org install?

2009-02-17 Thread Michael Hennebry

On Tue, 17 Feb 2009, Yaakov (Cygwin/X) wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

http://cygwin.com/acronyms/#PCYMTWLL !!

Lloyd Wood wrote:

XWin was started with the following command line:

/usr/bin/X :0 -auth /cygdrive/c/Documents and
 Settings/lwood/.serverauth.3000

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1400 h 1050
winInitializeDefaultScreens - returning
Unrecognized option: and
[..]


This isn't X-specific; spaces and *NIX paths don't mix.  Please use a
sane home directory, like /home/lwood.


Quoting will only cure some such problems.

--
Michael   henne...@web.cs.ndsu.nodak.edu
"Pessimist: The glass is half empty.
Optimist:   The glass is half full.
Engineer:   The glass is twice as big as it needs to be."

--
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: /usr/bin/startx fails on new x.org install?

2009-02-17 Thread Lloyd Wood

> Lloyd Wood wrote:
> > XWin was started with the following command line:
> > 
> > /usr/bin/X :0 -auth /cygdrive/c/Documents and
> >  Settings/lwood/.serverauth.3000
> > 
> > ddxProcessArgument - Initializing default screens
> > winInitializeDefaultScreens - w 1400 h 1050
> > winInitializeDefaultScreens - returning
> > Unrecognized option: and
> > [..]
> 
> This isn't X-specific; spaces and *NIX paths don't mix.  

Tell that to any Mac OS X user.

> Please use a
> sane home directory, like /home/lwood.

startx used to work. Now, it doesn't. Ergo, like lack of opengl hardware 
acceleration, it can be argued that it's a regression in functionality. (I have 
to keep files under Documents\ and\ Settings. That has worked fine for for 
startx the last eight years. Now, it's broken.)

handling of paths has been broken, due to lame programming practices. it needs 
to be fixed.


> > 4. Hogging and not freeing menu/window resources in X, as my Insight Tcl 
> > program failing with 'unable to register Tk TopLevel class' or failing to 
> > draw a window properly indicates:
> > http://coding.derkeiler.com/Archive/Tcl/comp.lang.tcl/2008-04/msg00769.html
> > yes, Insight Tcl programs can be run without X being launched. But I have 
> > to quit X (desktop or multiwindow mode) to pull down and draw a menu in > 
> > e.g. the mail program where I'm writing this.
>
> Cygwin's Tcl/Tk is currently Windows based, and this message is clearly
> talking about a Windows version of Tcl/Tk.  I don't see what that has to
> do with X11?

I'm walking you through visible symptoms, diagnosis, and explanation. the new 
Xserver is demonstrably a resource hog, in that it interferes with normal 
Windows operation.

This is clearly not mature yet. How do I roll back to the old X server that 
does not exhibit these problems, and has hardware acceleration to boot? A 
checkpoint at 'last good previous Xserver' would be very desirable.




--
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: Intermittent X clipboard failure

2009-02-17 Thread WEEBER Bill
This is the Nedit.bat attachment that was omitted from previous post.

 @echo off

REM This is modified from /cygwin/bin/startxwin.bat.  Refer to that file
for detail 
REM comments that have been stripped out of this file.

SET DISPLAY=127.0.0.1:0.0

SET CYGWIN_ROOT=c:\cygwin
SET RUN=%CYGWIN_ROOT%\bin\run -p /usr/bin

SET PATH=.;%CYGWIN_ROOT%\bin;%PATH%

SET XAPPLRESDIR=
SET XCMSDB=
SET XKEYSYMDB=
SET XNLSPATH=

SET HOME=/cygdrive/c/cygwin/home/default_user
SET NEDIT_HOME=/cygdrive/c/cygwin/home/default_user/.nedit

if not exist %CYGWIN_ROOT%\tmp\.X11-unix\X0 goto CLEANUP-FINISH
echo deleting /tmp/.x11-unix/X0
attrib -s %CYGWIN_ROOT%\tmp\.X11-unix\X0
del %CYGWIN_ROOT%\tmp\.X11-unix\X0

:CLEANUP-FINISH
if exist %CYGWIN_ROOT%\tmp\.X11-unix rmdir %CYGWIN_ROOT%\tmp\.X11-unix

echo NEdit.bat - Starting Nedit using cygwin environment

%CYGWIN_ROOT%\bin\sleep 0.5
%RUN% XWin -multiwindow -clipboard -silent-dup-error
REM %RUN% "/cygdrive/c/Program Files/Xming/Xming" -logverbose 2
-clipboard -multiwindow -silent-dup-error &

IF '%1'=='' GOTO EMPTY
%RUN% nedit %~n1%~x1
GOTO END
:EMPTY
%RUN% nedit
:END

%CYGWIN_ROOT%\bin\sleep 0.5


--
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: Intermittent X clipboard failure

2009-02-17 Thread Williams, Chris (Marlboro)
Are you saying your modified start up scripts might be contributing to
your problem.
I'm running Cygwin scripts with minimal changes and I've always had
clipboard problems. Not that I've stopped using the Office clipboard
(uncheck all the Office clipboard options), everything seems to be
working ok. I can run for 1 or 2 days at a time with out seeing an
issue.

-Chris

-Original Message-
From: cygwin-xfree-ow...@cygwin.com
[mailto:cygwin-xfree-ow...@cygwin.com] On Behalf Of WEEBER Bill
Sent: Tuesday, February 17, 2009 2:23 PM
To: cygwin-xfree@cygwin.com
Subject: RE: Intermittent X clipboard failure

This is the Nedit.bat attachment that was omitted from previous post.

 @echo off

REM This is modified from /cygwin/bin/startxwin.bat.  Refer to that file
for detail 
REM comments that have been stripped out of this file.

SET DISPLAY=127.0.0.1:0.0

SET CYGWIN_ROOT=c:\cygwin
SET RUN=%CYGWIN_ROOT%\bin\run -p /usr/bin

SET PATH=.;%CYGWIN_ROOT%\bin;%PATH%

SET XAPPLRESDIR=
SET XCMSDB=
SET XKEYSYMDB=
SET XNLSPATH=

SET HOME=/cygdrive/c/cygwin/home/default_user
SET NEDIT_HOME=/cygdrive/c/cygwin/home/default_user/.nedit

if not exist %CYGWIN_ROOT%\tmp\.X11-unix\X0 goto CLEANUP-FINISH
echo deleting /tmp/.x11-unix/X0
attrib -s %CYGWIN_ROOT%\tmp\.X11-unix\X0
del %CYGWIN_ROOT%\tmp\.X11-unix\X0

:CLEANUP-FINISH
if exist %CYGWIN_ROOT%\tmp\.X11-unix rmdir %CYGWIN_ROOT%\tmp\.X11-unix

echo NEdit.bat - Starting Nedit using cygwin environment

%CYGWIN_ROOT%\bin\sleep 0.5
%RUN% XWin -multiwindow -clipboard -silent-dup-error
REM %RUN% "/cygdrive/c/Program Files/Xming/Xming" -logverbose 2
-clipboard -multiwindow -silent-dup-error &

IF '%1'=='' GOTO EMPTY
%RUN% nedit %~n1%~x1
GOTO END
:EMPTY
%RUN% nedit
:END

%CYGWIN_ROOT%\bin\sleep 0.5


--
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: Intermittent X clipboard failure

2009-02-17 Thread WEEBER Bill
No, I am not saying my modified script is the problem.  I have always
had problems with copy/paste as well. I just started using this script
since my latest install.  My previous script which was modified from the
nedit wiki many years ago also had problems.  

I just wanted to include the script so that it is clear how I am
launching Nedit.

  -Bill

-Original Message-
From: cygwin-xfree-ow...@cygwin.com
[mailto:cygwin-xfree-ow...@cygwin.com] On Behalf Of Williams, Chris
(Marlboro)
Sent: Tuesday, February 17, 2009 3:09 PM
To: cygwin-xfree@cygwin.com
Subject: RE: Intermittent X clipboard failure

Are you saying your modified start up scripts might be contributing to
your problem.
I'm running Cygwin scripts with minimal changes and I've always had
clipboard problems. Not that I've stopped using the Office clipboard
(uncheck all the Office clipboard options), everything seems to be
working ok. I can run for 1 or 2 days at a time with out seeing an
issue.

-Chris

-Original Message-
From: cygwin-xfree-ow...@cygwin.com
[mailto:cygwin-xfree-ow...@cygwin.com] On Behalf Of WEEBER Bill
Sent: Tuesday, February 17, 2009 2:23 PM
To: cygwin-xfree@cygwin.com
Subject: RE: Intermittent X clipboard failure

This is the Nedit.bat attachment that was omitted from previous post.

 @echo off

REM This is modified from /cygwin/bin/startxwin.bat.  Refer to that file
for detail REM comments that have been stripped out of this file.

SET DISPLAY=127.0.0.1:0.0

SET CYGWIN_ROOT=c:\cygwin
SET RUN=%CYGWIN_ROOT%\bin\run -p /usr/bin

SET PATH=.;%CYGWIN_ROOT%\bin;%PATH%

SET XAPPLRESDIR=
SET XCMSDB=
SET XKEYSYMDB=
SET XNLSPATH=

SET HOME=/cygdrive/c/cygwin/home/default_user
SET NEDIT_HOME=/cygdrive/c/cygwin/home/default_user/.nedit

if not exist %CYGWIN_ROOT%\tmp\.X11-unix\X0 goto CLEANUP-FINISH echo
deleting /tmp/.x11-unix/X0 attrib -s %CYGWIN_ROOT%\tmp\.X11-unix\X0 del
%CYGWIN_ROOT%\tmp\.X11-unix\X0

:CLEANUP-FINISH
if exist %CYGWIN_ROOT%\tmp\.X11-unix rmdir %CYGWIN_ROOT%\tmp\.X11-unix

echo NEdit.bat - Starting Nedit using cygwin environment

%CYGWIN_ROOT%\bin\sleep 0.5
%RUN% XWin -multiwindow -clipboard -silent-dup-error REM %RUN%
"/cygdrive/c/Program Files/Xming/Xming" -logverbose 2 -clipboard
-multiwindow -silent-dup-error &

IF '%1'=='' GOTO EMPTY
%RUN% nedit %~n1%~x1
GOTO END
:EMPTY
%RUN% nedit
:END

%CYGWIN_ROOT%\bin\sleep 0.5


--
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/


--
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/