This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]