From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19949 invoked from network); 3 Sep 1997 03:00:33 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 3 Sep 1997 03:00:33 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id WAA25546; Tue, 2 Sep 1997 22:56:10 -0400 (EDT) Resent-Date: Tue, 2 Sep 1997 22:55:34 -0400 (EDT) Message-ID: <19970902225543.21124@supernova.math.lsa.umich.edu> Date: Tue, 2 Sep 1997 22:55:43 -0400 From: Jahwan Kim To: zsh-users@math.gatech.edu Subject: zsh always resets LINES to 24. Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81e Resent-Message-ID: <"D9w0M.0.dE6.c6D3q"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/996 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Hi all, Maybe my post didn't propagated well... My environment is 31x80 vt-100 (pseudo-)emulator, OSTYPE=solaris2.5.1, and TERM=vt100. Of course, the terminfo entry of vt100 specifies that it has 24 lines. So in my .zshrc, I detect where I login from, and reset LINES if I login from home: export LINES=31. Then at the very first prompt, echo $LINES gives me 24. So I set out to read man pages, faq, and dejanews. Found out ttyctl might have something. Added ttyctl -f in my .zshrc: export LINES=31; ttyctl -f. Nope. ttyctl -f; export LINES=31. Again LINES goes back to 24. I experimented a bit more. I typeset LINES read-only. Well, surprisingly or not-so-surprisingly, something is always trying to reset LINES=24. I get the error message: zsh: read-only variable: LINES after every external commands. Nowhere in the man page could I found a explanation (I typed /LINES in man zshall.) What gives? This is not a correct behaviour, is it? Am I missing something obvious? TIA, Jahwan