Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <2C08D4EECBDED41184BB00D0B74733420473F093@cf-bay-exch-03.cacheflow.com> From: "Karr, David" To: cygwin AT cygwin DOT com Subject: RE: Behaviour of less Date: Tue, 18 Sep 2001 10:28:56 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-2" Did you try "man less"? In there, search for "termcap" and "environment" for everything you need to know to set this up. -----Original Message----- From: Gardian, Milan [mailto:Milan DOT Gardian AT LEIBINGER DOT com] Sent: Tuesday, September 18, 2001 10:14 AM To: cygwin AT cygwin DOT com Subject: Behaviour of less Hello, I have the following behaviour of less command: it lists contents of the specified file into terminal OK, but when I (q)uit it, the listed contents disappears. Example: --- % less file Hello world This is a line [END] --- now I press 'q': --- % less file % --- once again: --- % less file % less file Hello world This is a line [END] --- after pressing 'q': --- % less file % less file % --- Is this a 'normal' behaviour? Is there a way to disable this behaviour of 'less' command (cleaning of its output)? Or is this a problem with my Cygwin installation? My configuration: ================= OS: Win2k Cygwin: 1.3.3-2 (latest) less: 358.3 (latest) CYGWIN: (not defined) LESS: (not defined) Please note that I have tried to define LESS environment variable: export LESS='--no-init' #alias -X Afterwards less behaves almost the way I would like it to - no clearing of output, but it has some strange side-effects, e.g. when going backwards and forwards heavily the terminal buffer is incrementally filled, or when using less in an empty window to display a file smaller than one page, empty lines are prepended to the output, etc. Could anybody help me with this? Cheers, Milan -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/