zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zw <zsh-workers@sunsite.dk>
Subject: Re: jobs not listing all commands
Date: Tue, 17 Feb 2004 22:14:39 +0000	[thread overview]
Message-ID: <1040217221439.ZM12330@candle.brasslantern.com> (raw)
In-Reply-To: <20040217075827.1498.qmail@web10410.mail.yahoo.com>

Peter already patched this, but I wanted to comment on ...

On Feb 16, 11:58pm, Felix Rosencrantz wrote:
}
} ps also note another "bug" with "%j" and the prompt. when the sleep
} finishes, the prompt doesn't update.

Prompts don't update between two interactive commands, ever, no matter
what the reason.  The prompt string is computed when ZLE initializes
(just before it is first printed) and is thereafter used verbatim until
the next re-initialize.

The PS2 prompt is recomputed after each accept-line, but not while the
current line is still being edited.  So if you put %j in PS2 you can see
it change every time you hit enter with an unclosed quote or brace, but
it still doesn't change when the job status notification is printed.

Also, with respect to Peter's patch, I now get:

../../../zsh-4.0/Src/Modules/zpty.c: In function `get_pty':
../../../zsh-4.0/Src/Modules/zpty.c:176: warning: implicit declaration of function `grantpt'
../../../zsh-4.0/Src/Modules/zpty.c:176: warning: implicit declaration of function `unlockpt'
../../../zsh-4.0/Src/Modules/zpty.c:176: warning: implicit declaration of function `ptsname'
../../../zsh-4.0/Src/Modules/zpty.c:176: warning: assignment makes pointer from integer without a cast

And during "make test", the completion tests hang forever in comptestinit.
I have to manually #undef HAVE_DEV_PTMX in config.h (I have the device but
not the library routines for manipulating it, apparently).


  parent reply	other threads:[~2004-02-17 22:14 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-17  7:58 Felix Rosencrantz
2004-02-17 10:41 ` Peter Stephenson
2004-02-17 22:14 ` Bart Schaefer [this message]
2004-02-18  0:25   ` James Devenish
2004-02-18  0:41     ` Wayne Davison
2004-02-18  6:02     ` Bart Schaefer
2004-02-18 10:24   ` Peter Stephenson
2004-02-18 17:47     ` Bart Schaefer
2004-02-18 22:02       ` Peter Stephenson
2004-02-20 15:21         ` PATCH: ptmx part 2 Peter Stephenson
2004-02-19 15:22   ` jobs not listing all commands Felix Rosencrantz

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=1040217221439.ZM12330@candle.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-workers@sunsite.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).