Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
To: cygwin@cygwin.com
X-Injected-Via-Gmane: http://gmane.org/
Path: not-for-mail
From: Jehan <nahor@bravobrava.com>
Newsgroups: gmane.os.cygwin
Subject: Incorrect COLUMN and LINES
Date: Fri, 05 Jul 2002 09:28:20 -0700
Lines: 24
Message-ID: <ag4he0$5bd$1@main.gmane.org>
NNTP-Posting-Host: adsl-64-168-83-170.dsl.snfc21.pacbell.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: main.gmane.org 1025886465 5485 64.168.83.170 (5 Jul 2002 16:27:45 GMT)
X-Complaints-To: usenet@main.gmane.org
NNTP-Posting-Date: Fri, 5 Jul 2002 16:27:45 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1a+) Gecko/20020702
X-Accept-Language: en-us, en

Hi

On my Windows XP machine, I set up my shortcut so that the command line 
shows up with 132 columns and 60 lines instead of the standard 80x25. 
But the env COLUMNS and LINES still have the value 80 and 25. If I then 
run a sub bash, the values are ok

[jehan@BRIO jehan] $echo $COLUMNS $LINES
80 25
[jehan@BRIO jehan] $bash
[jehan@BRIO jehan] $echo $COLUMNS $LINES
132 60


Most of the time it's not a problem. But if I have a long command line, 
instead of wraping after 130 characters, it wraps after 80.

Also, if I resize vertically the window, the current application isn't 
aware of the change which can result on weird display (the status line 
in less/man for instance, or the whole display of emacs).


	Jehan




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

