zsh-workers
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@candle.brasslantern.com>
To: "Andrej Borsenkow" <borsenkow.msk@sni.de>, <zsh-workers@sunsite.auc.dk>
Subject: Re: PATCH: 3.0.6-pre-4: COLUMNS/LINES environment handling
Date: Thu, 17 Jun 1999 15:22:03 +0000	[thread overview]
Message-ID: <990617152203.ZM5317@candle.brasslantern.com> (raw)
In-Reply-To: <002401beb8b6$03bdc680$21c9ca95@mow.siemens.ru>

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


  reply	other threads:[~1999-06-17 15:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-06-14  9:43 Bart Schaefer
1999-06-14 17:23 ` Tatsuo Furukawa
1999-06-15  8:10 ` Peter Stephenson
1999-06-15 11:45 ` Andrej Borsenkow
1999-06-16 12:47 ` Peter Stephenson
1999-06-17 11:39 ` Andrej Borsenkow
1999-06-17 15:22   ` Bart Schaefer [this message]
1999-06-17 17:01     ` Geoff Wing

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=990617152203.ZM5317@candle.brasslantern.com \
    --to=schaefer@candle.brasslantern.com \
    --cc=borsenkow.msk@sni.de \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).