* terminfo values (was Re: do I win the "most pointless use of ZSH" award? ;))
[not found] ` <200104302023.f3UKNWF17853@meow.raye.com>
@ 2001-04-30 20:42 ` Clint Adams
2001-05-06 5:03 ` Andrej Borsenkow
0 siblings, 1 reply; 2+ messages in thread
From: Clint Adams @ 2001-04-30 20:42 UTC (permalink / raw)
To: zsh-workers
> COLUMNS and LINES aren't immediately updated for me when I change text
> mode resolutions. Is there something I should do to make them as
> reliable as the tput values?
This reminded me that a SIGWINCH will update $COLUMNS and $LINES,
and therefore tput and $COLUMNS and $LINES will be more reliable
than echotc/echoti/$termcap/$terminfo.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: terminfo values (was Re: do I win the "most pointless use of ZSH" award? ;))
2001-04-30 20:42 ` terminfo values (was Re: do I win the "most pointless use of ZSH" award? ;)) Clint Adams
@ 2001-05-06 5:03 ` Andrej Borsenkow
0 siblings, 0 replies; 2+ messages in thread
From: Andrej Borsenkow @ 2001-05-06 5:03 UTC (permalink / raw)
To: zsh-workers
On Mon, 30 Apr 2001, Clint Adams wrote:
> > COLUMNS and LINES aren't immediately updated for me when I change text
> > mode resolutions. Is there something I should do to make them as
> > reliable as the tput values?
>
> This reminded me that a SIGWINCH will update $COLUMNS and $LINES,
> and therefore tput and $COLUMNS and $LINES will be more reliable
> than echotc/echoti/$termcap/$terminfo.
>
I don't see this as a problem for $termcap/$terminfo. They are supposed to
return static values from external database; so far you have the same
problem when using original functions (tgetstr etc). E.g. curses has
special variables that held current lines/columns values.
-andrej
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-05-06 5:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20010430210517.A4840@idiocy.org>
[not found] ` <200104302023.f3UKNWF17853@meow.raye.com>
2001-04-30 20:42 ` terminfo values (was Re: do I win the "most pointless use of ZSH" award? ;)) Clint Adams
2001-05-06 5:03 ` Andrej Borsenkow
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).