less locks the file

Jean-Pierre Bergamin james@ractive.ch
Tue Jun 21 07:55:00 GMT 2011


Dear cygwin-Users

When using less to follow a log file (less +F logfile.log), this file is 
locked. So when I restart the application, it cannot delete this locked 
log file and create a new one. So I always have to quit less, before 
restarting the app, which I of course forget like every 2nd time... less 
does not lock on linux.

Is there any way I could tell less not to lock the file?


Best regards,
James


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list