delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/05/12:28:43

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
Path: not-for-mail
From: Jehan <nahor AT bravobrava DOT 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
X-Trace: main.gmane.org 1025886465 5485 64.168.83.170 (5 Jul 2002 16:27:45 GMT)
X-Complaints-To: usenet AT main DOT gmane DOT 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 AT BRIO jehan] $echo $COLUMNS $LINES
80 25
[jehan AT BRIO jehan] $bash
[jehan AT 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/

- Raw text -


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