Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zsh always resets LINES to 24.



Bart Schaefer wrote:
>} Better solution: when setting LINES or COLUMNS, use the appropriate
>} ioctl to set the tty window size to the user-specified value.
>
>I'm not sure that's really a good idea.  If I start an xterm with one
>geometry from inside an xterm with a different geometry, I don't want
>zsh trying to change the size of the second one to match the first.

That would be silly.  I meant for it only to apply when setting the
variable from within the shell, not when importing.

>Just believe what the user tells you and leave the rest alone.

Exactly.

-zefram



Messages sorted by: Reverse Date, Date, Thread, Author