Clipboard interaction issues - breaks after awhile
mathog
mathog@caltech.edu
Tue Oct 7 16:25:00 GMT 2014
On 07-Oct-2014 06:14, Jon TURNEY wrote:
>> It always overwrites the Xwin.0.log file when it starts. Is there
>> some
>> change we could make to this .bat script that would cause it to at
>> least
>> save one previous version?
>
> I guess you could add to the above something like:
>
> move C:\cygwin\var\log\XWin.0.log C:\cygwin\var\log\XWin.0.log.old
>
> but yes, there is actually some code in the server to do that, but
> it's not turned on in XWin for unknown reasons...
Good idea. Changed it to the following and tested. It keeps the last
two versions.
======================after this line
@echo off
set CYGXTOP=%~dp0
C:
chdir "%CYGXTOP%\var\log\xwin"
move XWin.0.log.1 XWin.0.log.2
move XWin.0.log XWin.0.log.1
chdir "%CYGXTOP%\bin"
start Xwin :0 -multiwindow
======================before this line
Regards,
David Mathog
mathog@caltech.edu
Manager, Sequence Analysis Facility, Biology Division, Caltech
--
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/
More information about the Cygwin-xfree
mailing list