From: Jahwan Kim <jahwan@math.lsa.umich.edu>
To: zsh-users@math.gatech.edu
Subject: zsh always resets LINES to 24.
Date: Tue, 2 Sep 1997 22:55:43 -0400 [thread overview]
Message-ID: <19970902225543.21124@supernova.math.lsa.umich.edu> (raw)
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
next reply other threads:[~1997-09-03 3:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-09-03 2:55 Jahwan Kim [this message]
1997-09-03 4:40 ` Zoltan Hidvegi
1997-09-03 8:27 ` Andrew Main
1997-09-03 15:44 ` Bart Schaefer
1997-09-03 16:13 ` Andrew Main
1997-09-04 1:15 ` Jahwan Kim
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=19970902225543.21124@supernova.math.lsa.umich.edu \
--to=jahwan@math.lsa.umich.edu \
--cc=zsh-users@math.gatech.edu \
/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).