delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/08/14/17:11:00

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: "Markus Hoenicka" <Markus DOT Hoenicka AT uth DOT tmc DOT edu>
MIME-Version: 1.0
Message-ID: <14744.24966.560000.163190@gargle.gargle.HOWL>
Date: Mon, 14 Aug 2000 21:15:50 +0000 (CT0)
To: cygwin AT sources DOT redhat DOT com
Subject: Re: linespacing in less
In-Reply-To: <39984C03.B9F3B368@veritas.com>
References: <14744 DOT 17934 DOT 658000 DOT 561364 AT gargle DOT gargle DOT HOWL>
<39984C03 DOT B9F3B368 AT veritas DOT com>
X-Mailer: VM 6.75 under Emacs 20.6.1

Bingo. I had TERM=linux in my leftover .bashrc from B20.1. Setting
TERM to cygwin gets me back to normal.
Thanks for the quick and helpful response.
Markus

Bob McGowan writes:
 > 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

-- 
Markus Hoenicka, PhD
UT Houston Medical School
Dept. of Integrative Biology and Pharmacology
6431 Fannin MSB4.114
Houston, TX 77030
(713) 500-6313, -7477
(713) 500-7444 (fax)
Markus DOT Hoenicka AT uth DOT tmc DOT edu
http://ourworld.compuserve.com/homepages/hoenicka_markus/


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019