zsh-workers
 help / color / mirror / code / Atom feed
From: Tatsuo Furukawa <frkwtto@osk3.3web.ne.jp>
To: zsh-workers@sunsite.auc.dk
Subject: zsh hangs (3.0.6-pre-2, 3.1.5-pws-16)
Date: Thu, 29 Apr 1999 14:28:57 +0900	[thread overview]
Message-ID: <199904290549.OAA26192@pop1.ngy.3web.ne.jp> (raw)


Hello, zsh developers.  I really appreciate including "absolute cursor
move" patch.

But, I found another problem.

(Maybe) as you know, zsh-3.0.X is not set COLUMNS and LINE envionment
variable.  (But zsh-3.1.X does).  I am using zsh-3.0.X, and I want to
set them, so, I write "eval $(resize)" code in TRAPWINCH() function.
This is based on "archive/latest/4447" message.

This works almost well.  But sometime zsh hangs.  At last, I found the
positive proof.  Here is:


1. Write following in .zshrc

RPROMPT="(%l)"

function TRAPWINCH() {
        eval $(resize)
        echo;
        echo "resized";
        echo
} 


2. Start new terminal

    $ xterm &

3. Rlogin into localhost

    $ rlogin localhost

4. Change terminal size using mouse.

    Then "resized" message is displayed, and RPROMPT is displayed into
    'right' place.  (But why is "resized" message displayed twice?)

5. Exit.

    $ exit

    Then, you will return to origial shell.  

6. Execute following command.

    $  eval `resize`

7. zsh hangs. (T_T)


I tested the following situation:

    zsh:    3.0.6-pre-2
    OS:     HP-UX 10.20

    zsh:    3.0.6-pre-2
    OS:     Linux/Slackware 3.1

    zsh:    3.1.5-pws-16
    OS:     Linux/Slackware 3.1
    
zsh hangs in all case.


This plobrem is too difficult to fix for me.  Sorry for report only,
no patch.

-- 
Tatsuo Furukawa  (frkwtto@osk3.3web.ne.jp)


             reply	other threads:[~1999-04-29  5:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-04-29  5:28 Tatsuo Furukawa [this message]
1999-04-29 16:01 ` Bart Schaefer
1999-05-04 16:48   ` PATCH: " Bart Schaefer
1999-05-04 17:12     ` Bart Schaefer
1999-05-11 14:41     ` Tatsuo Furukawa

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=199904290549.OAA26192@pop1.ngy.3web.ne.jp \
    --to=frkwtto@osk3.3web.ne.jp \
    --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).