From: "Bart Schaefer" <schaefer@candle.brasslantern.com>
To: Paul Lew <paullew@cisco.com>
Cc: zsh-users@sunsite.auc.dk
Subject: Re: TRAPNAL with TMOUT problem
Date: Thu, 24 Aug 2000 10:27:41 -0700 [thread overview]
Message-ID: <000824102741.ZM9245@candle.brasslantern.com> (raw)
In-Reply-To: <14757.19686.238318.996093@paullew-ultra.cisco.com>
On Aug 24, 9:27am, Paul Lew wrote:
> Subject: Re: TRAPNAL with TMOUT problem
> >>>>> "Bart" == Bart Schaefer <schaefer@candle.brasslantern.com> writes:
>
> Bart> host_owner () {
> Bart> setopt localoptions no_ksh_arrays
> Bart> local devhostent
> Bart> while read -A devhostent
> Bart> do
> Bart> if [[ $devhostent[1] == $HOST ]]
> Bart> then
> Bart> # howner in scope of caller!
> Bart> howner=$devhostent[4]
> Bart> return
> Bart> fi
> Bart> done < $ar/etc/devhost
> Bart> }
>
> I tried this and the result is still the same. Which part of these
> procedures touched the tty device? Thanks..
I just ran through calling the above from TRAPALRM while watching zsh with
strace. Unless there's an error (/etc/devhost not found or not readable are
pretty much the only possible ones), *nothing* touches the tty device.
If there's an error, it gets printed and then ZLE resets the tty modes
and redraws the prompt; it's the tty mode setting in that case that causes
the access time to change.
This on a RedHat Linux system; it could be different on another OS.
prev parent reply other threads:[~2000-08-24 17:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-08-21 5:58 Paul Lew
2000-08-21 17:48 ` Bart Schaefer
[not found] ` <14754.42242.721509.918727@paullew-ultra.cisco.com>
2000-08-22 18:24 ` Bart Schaefer
[not found] ` <14757.19686.238318.996093@paullew-ultra.cisco.com>
2000-08-24 17:27 ` Bart Schaefer [this message]
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=000824102741.ZM9245@candle.brasslantern.com \
--to=schaefer@candle.brasslantern.com \
--cc=paullew@cisco.com \
--cc=zsh-users@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).