This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Re: window resizing not updating COLUMNS and LINES

> -----Original Message-----
> From: [] On Behalf
> Of mwoehlke
> Sent: Thursday, June 01, 2006 1:47 AM
> To:
> Subject: Re: window resizing not updating COLUMNS and LINES
> Samuel Thibault wrote:
> > mwoehlke, le Wed 31 May 2006 17:19:15 -0500, a écrit :
> >> Kenneth Nellis wrote:
> >>> Same here...I do my own export to get things started. --Ken
> >>
> >> Wait, wait, step back... this in itself sounds like a problem.
> >
> > 'export COLUMNS' is needed for 'printenv COLUMNS' to work,
> > since in the printenv case you need the variable to be
> > transferred to the child printenv process.
> Ok, that makes sense, although my understanding is that if the child
> process is 'bash' (including a script run by bash), then it will have a
> non-exported copy of the var set correctly. Or rather, it would/should
> if this was working at all.

My command window does not show COLUMNS or LINES at all, i.e. echo $COLUMNS gives no output. 
After "export COLUMNS=80" as stated somewhere in the thread, both echo $COLUMNS and printenv COLUMNS give 80, but resizing the window does not influence this.
What am I missing to get COLUMNS and LINES in the first place

P.S. rxvt behaves the same but that mentioning that would make this mail inappropriate for this list if I read this thread correctly

Nico Valster

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]