This is the mail archive of the
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: Mon, 01 Jan 2018 14:24:57 -0800 (PST)
- Subject: Re: Console buffer width always 1 column less than setting
- Authentication-results: sourceware.org; auth=none
- References: <firstname.lastname@example.org>
On Sun, 31 Dec 2017 22:50:18, Steven Penny wrote:
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.
The problem is with how readline processes input , as you can:
echo <some long string>
and it will use the full 80 columns, it is only if you are pasting that the
problem crops up. A workaround is to use 2 terminals, one for readline and one
for less (man). For the readline terminal, you need one that has "xenl".
"screen.Eterm" (case sensitive) is pretty close to the default "cygwin", or can
make your own per my previous post . For the less terminal, you can just use
the default "cygwin" terminal or a custom terminal. To implement, add this to
"~/.profile" or similar:
export PAGER='env TERM=cygwin less'
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple