Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: 3.0.6-pre-4: COLUMNS/LINES environment handling
- X-seq: zsh-workers 6704
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: "Andrej Borsenkow" <borsenkow.msk@xxxxxx>, <zsh-workers@xxxxxxxxxxxxxx>
- Subject: Re: PATCH: 3.0.6-pre-4: COLUMNS/LINES environment handling
- Date: Thu, 17 Jun 1999 15:22:03 +0000
- In-reply-to: <002401beb8b6$03bdc680$21c9ca95@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <002401beb8b6$03bdc680$21c9ca95@xxxxxxxxxxxxxx>
On Jun 17, 3:39pm, Andrej Borsenkow wrote:
} Subject: RE: PATCH: 3.0.6-pre-4: COLUMNS/LINES environment handling
}
} > How much of all that needs to go in the manual? Lots of it should
} > go in the FAQ, including remarks about how it is broken in various
} > versions if we can figure that out.
}
} Currently both LINES and COLUMNS are in section "Parameters used by
} shell". After this patch this is no more true (and presumably never
} was). So, at least, they should be moved to the section "Parameters
} set by shell" with explanation, when they are set.
They most certainly are used by the shell! LINES is now used by the code
that displays `select name in ...' listings; LINES also determines whether
SINGLE_LINE_ZLE is asserted; COLUMNS determines placement of RPS1; and
both obviously affect the way multiline zle is used.
If you override LINES and COLUMNS and never cause a SIGWINCH to be sent to
the shell, they'll never change, even if they don't actually match the
size of your terminal, and zsh will behave as if the terminal is whatever
size you claimed. This can be a bit strange if you try to make it use
a bigger window than you really have, but you get what you ask for.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author