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: <39984C03.B9F3B368@veritas.com> Date: Mon, 14 Aug 2000 12:44:03 -0700 From: Bob McGowan Organization: VERITAS Software X-Mailer: Mozilla 4.73 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: Markus Hoenicka CC: cygwin AT sources DOT redhat DOT com Subject: Re: linespacing in less References: <14744 DOT 17934 DOT 658000 DOT 561364 AT gargle DOT gargle DOT HOWL> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Transfer-Encoding: 7bit Markus Hoenicka wrote: > > Hi all, > > this is another tiny bit of teething pain after upgrading from B20.1 to > the latest net release. > > When I use less as a pager, I notice additional blank lines in all > logical lines that extend the width of the terminal and thus have to > be wrapped. E.g. a line longer than 80 chars and shorter than 160 > chars will be displayed as one full line, a blank line, and a line > showing the rest. > > This is different from what I used to see in B20.1 and different from > what I see on Linux. > > Is this again a text mount vs. binary mount issue? I have all mounts > as binary just as the setup.exe created them and I set Unix as the > default text format. I used to have text mounts in B20.1. > Since the break is in the middle of the line, it is not likely a text/binary issue. Much more likely that there is a change in the terminfo/termcap for your terminal type or that you have a mis-match between the value in TERM and the actual emulator you are using. Your terminal type as found in the TERM varialbe needs to match the emulator (which could be cygwin, xterm, rxvt, ansi, etc). If these match, then I would suspect a problem/feature in the terminal database. You might try different terminal names to see how they work. Using the following command line will set the varialbe for 'less' but not change the current value: TERM=ansi less file_with_long_line Then set 'export TERM=working_version' in your .profile where working_version is the working version you hopefully found. By the way, you would probably also want to try it with your editor (assuming you use something like vi) to be sure the new TERM value works with it too. I hope this helps. -- Bob McGowan Staff Software Quality Engineer VERITAS Software rmcgowan AT veritas DOT com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com