From: Rob Hooft <Rob.Hooft@EMBL-Heidelberg.de>
To: zsh-users@math.gatech.edu
Subject: COLUMNS problem.
Date: Wed, 5 Jun 1996 17:25:26 +0200 [thread overview]
Message-ID: <199606051525.RAA04603@nu.EMBL-Heidelberg.DE> (raw)
I have recently started to observe weird behavior in editing
long-lines in zsh-2.6beta19 on alpha OSF/1 2.0. A little investigation
today proved to me that the COLUMNS variable is not updated when I
resize my X-term. This results in named weird behavior during the
time the value is incorrect. "zsh"s and "sh"s 'kill -l' output are
basically identical, both containing SIGWINCH. I can not remember
changing anything that is relevant to this. Same setup on Linux works
fine.
Now, initially I thought that this COLUMNS variable might be a simple
error in my startup scripts, so I tried the sequence of commands
appended in the tail of this message, revealing a slight un-nicety.
This un-nicety IS reproducible on other platforms.
Since "zsh -f" behaves the same, I think it is not necessary to send
you my complete status. If anyone wants more info, please ask.
Regards,
Rob Hooft.
------------------------------------------------------------------------
nu[100]crazy% zsh
nu[100]crazy%% unset COLUMNS
zsh: floating point exception zsh
nu[101]crazy% dbx =zsh
dbx version 3.11.4
Type 'help' for help.
"init.c" not defined or not active
(dbx) run
zsh: suspended (tty output) dbx =zsh
nu[102]crazy% fg
[1] + continued dbx =zsh
nu[100]crazy%%
nu[100]crazy%%
nu[100]crazy%% unset COLUMNS
signal Floating point exception at [__remq:492 +0xf78,0x3ff800aa278] Source not available
(dbx) where
> 0 __remq(0x0, 0x0, 0x0, 0x20, 0xf) ["../../../../../src/usr/ccs/lib/libc/alpha/divrem.s":492, 0x3ff800aa278]
1 putprompt(0x140011988, 0x1400119a8, 0x140011dd8, 0x140011de8, 0x20) [0x12006da54]
2 genprompts(0x20, 0x1400116e0, 0x120067a5c, 0x0, 0x1) [0x120073ec4]
3 zleread(0x0, 0x0, 0x0, 0x0, 0x190) [0x120067a58]
4 inputline(0x12003d878, 0x140011e18, 0x1, 0x1400116d0, 0x120025f0c) [0x12003da54]
5 ingetc(0x1, 0x140011ed0, 0x14001a430, 0x3ffc008ff68, 0x1) [0x12003d874]
6 hgetc(0x14001a430, 0x3ffc008ff68, 0x1, 0x140011e18, 0x120041728) [0x120036020]
7 gettok(0x14001a3b0, 0x3ffc008ff68, 0x1, 0x140011e18, 0xffffffffffffffff) [0x120041724]
8 yylex(0x1, 0x140011e18, 0xffffffffffffffff, 0x0, 0x12004da80) [0x120041124]
9 parse_event(0xffffffffffffffff, 0x0, 0x12004da80, 0x140026100, 0x12003a92c) [0x12004da7c]
10 loop(0x140003f40, 0x140011d00, 0x140011e18, 0x14001a41c, 0x14000d718) [0x12003a928]
11 main(0x2, 0x14000dea8, 0x140009308, 0x14006afe0, 0x14005b858) [0x12003a708]
(dbx) ^D
(dbx) quit
nu[103]crazy% echo $ZSH_VERSION
2.6-beta19
nu[104]crazy% COLUMNS= zsh -f
zsh: floating point exception COLUMNS= zsh -f
nu[105]crazy% COLUMNS=0 zsh -f
zsh: floating point exception COLUMNS=0 zsh -f
------------------------------------------------------------------------
--
=== Rob.Hooft@EMBL-Heidelberg.DE http://www.Sander.EMBL-Heidelberg.DE/rob/ ==
==== In need of protein modeling? http://www.Sander.EMBL-Heidelberg.DE/whatif/
Validation of protein structures? http://biotech.EMBL-Heidelberg.DE:8400/ ====
================ Long Live Linux! Free Software Rules The World! =============
reply other threads:[~1996-06-05 15:44 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=199606051525.RAA04603@nu.EMBL-Heidelberg.DE \
--to=rob.hooft@embl-heidelberg.de \
--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).