www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/05/10/17:12:03

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <75F8791C7793D211B64D080036DE1504151C96@milton.sonosight.com>
From: "Stewart, Wayne" <wayne DOT stewart AT sonosite DOT com>
To: "'earnie_boyd AT yahoo DOT com'" <earnie_boyd AT yahoo DOT com>,
"'Ian Zimmerman'"
<itz AT lbin DOT com>, cygwin AT sourceware DOT cygnus DOT com
Subject: RE: bash sees all lines as 80 chars long
Date: Mon, 10 May 1999 14:08:23 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)

> 
> Hmm.  I don't see any problems with adjusting the size of the 
> bash window on NT
> 4 sp3.  I just change the size of the window and voila all 
> columns are being
> used.  What are you executing that is giving you problems 
> with column sizes? 
> How do you have the CYGWIN variable set?
> 

I get the same behavior with CYGWIN=tty or CYGWIN=notty.
I believe it is the 'readline' part of bash, since isn't
that what's responsible for wrapping scrolling *input*
command lines based on the setting of:

bash$ bind 'set horizontal-scroll-mode On'
bash$ bind 'set horizontal-scroll-mode Off'

Are you saying that when you repeat the scenario from my
original post, your lines always break at the last column
of the window?:
(Are you using generic b20.1 or a snapshot?  Maybe
it's fixed and not released?)

>Problem:
>
>(On NT 4.0 SP3. cygwin b20.1)
>
>Open a bash window.
>
>Execute 'stty size' (columns == 80).
>
>Hold down a character - assuming key
>repeat, the line breaks or scrolls at
>80 chars.
>
>In 'Properties...' dialog resize the
>window and its buffer to be 110 chars
>wide.
>
>Execute 'stty size' again - it reflects
>the change.
>
>However, bash still wraps or scroll lines
>at 80 characters.
>
>
>Question:
>
>Can this behavior be changed (i.e., so
>bash will see and act on the changed
>line length).  If so, how?
>

--
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