Re: Clipboard interaction issues - breaks after awhile

mathog <[email protected]>
Newsgroups gmane.os.cygwin.xfree
Message-ID <[email protected]>
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
[email protected]
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.