This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Console buffer width always 1 column less than setting
- From: Steven Penny <svnpenn at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 31 Dec 2017 22:50:18 -0800 (PST)
- Subject: Re: Console buffer width always 1 column less than setting
- Authentication-results: sourceware.org; auth=none
- References: <58fd2606.4ca8ca0a.91abf.a636@mx.google.com>
On Sun, 23 Apr 2017 15:09:10, Steven Penny wrote:
I found a fix to this problem. Create a file "cygwin-xenl.terminfo":
cygwin-xenl|cygwin eat_newline_glitch,
xenl,
use=cygwin,
Compile and install the file:
tic cygwin-xenl.terminfo
Add line to "~/.profile" or similar:
TERM=cygwin-xenl
http://cygwin.com/ml/cygwin/2017-04/msg00297.html
to any who might have used this solution - i discovered a bad side effect
when searching man pages, if you use the "/" operator - the first matching line
is removed, and you are brought to the following line - then if you try to
scroll up - the previous lines are there but not the matching line
subsequent matching lines are shown as expected - this is for my custom terminal
above and any terminal using "xenl" - not sure what a workaround for this is
other than dont use "xenl" and deal with the missing column per the original
issue.
--
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