Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: TRAPINT doesn't work reliably
- X-seq: zsh-users 24312
- From: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: TRAPINT doesn't work reliably
- Date: Sun, 29 Sep 2019 17:54:02 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ntlworld.com; s=meg.feb2017; t=1569776043; bh=8B/hBTgQYKiI1WSZoYTnlB8G0k4Qm9KscwRNiy0/H3A=; h=Subject:From:To:Date:In-Reply-To:References; b=5PLY4IBZZuvi9eew+oZ9MyQwkjUz2Tp6Ke2BNykBdzyX2Sxp596sidGIJY5weJTBL I4Wtynx4eOBPN1UsP0emje259tHX8p3V5HKR8iDJwJAVK91PuT9clXyiE9qQIwIgBI F1IbGiu1MMJvM/uA6EI1WdzJbOmtGJY+BA6NIlDSui6A3QhKBehy5qkPj+T1x4jlKX F9npOZCTSr5on3Ws1zvzVFIWSQoIT95CplzASR++eNjRyWPyFTfexTdkO1yB4conTM GYKbO5h18JQ2tZKd1GxPiiIlzGBjPN5FaYa+5Ce2fzo3DAmKZKNZ9jHjbOlZkxQZot 3QnnKHY/Ws52g==
- In-reply-to: <CAH+w=7YkHfcU2SGg=f+LOBr_GTOZicUGFZ7msyz-K+_fqGd0nQ@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CGME20190917164905epcas1p4ad458ffcd504501780d522880c81de3e@epcas1p4.samsung.com> <Bczpjmkq93UC9ogVXedAec4MSWn1xm79AtK56m7J7_XKU3g1oWkhoUeoj9_CjqM_bdhDM3WFcb0IWT04yMJctdhKDGj_fiAyOLAfaMatz5k=@protonmail.com> <1394985674.3969083.1569420087673@mail2.virginmedia.com> <22AgAhXQWzavJGhNA8tFbGSMGk8z3KDGGa-pICX0lWszH622z2_nnc1acuvW3OcIbqAaXM_WAGJwmQU5Oph83DGbfQEplu1t3o7F5omeC4w=@protonmail.com> <1569434163.10786.26.camel@samsung.com> <EwtKvyologv1mcP4t0gYc4lnyj-ccruEDWJM6kEh3_-H1P6kvlnSEV_LunkUg4AxuDZkdVcoPHq2KnqTqQ4pOAzRd2bXfkj0tjAvgg2-cQQ=@protonmail.com> <1569511539.3770.6.camel@samsung.com> <7P_7qK1o03NLAWi2yO8YMPN4ErtxVF9fCDTtiPNjfRrzqKcmoysqAeR8nQ1B5DEY_uYE_Y6EBGsxysbflCAyLbm_h5qrobU4F0143UCxWW8=@protonmail.com> <debe7222-453c-4a33-a639-90dadc428503@www.fastmail.com> <ODmJIQmuJJcZdaTGdd_T4zXxU0G7RHNJl3pSGxRC3qTePtsFsXSosieytwRTp2x2GTxggH_l9ZGZQb19rELfq70ZCOU9Xtr0Ik4ks9SpbOQ=@protonmail.com> <CAH+w=7YkHfcU2SGg=f+LOBr_GTOZicUGFZ7msyz-K+_fqGd0nQ@mail.gmail.com>
On Sat, 2019-09-28 at 09:00 -0700, Bart Schaefer wrote:
> On Sat, Sep 28, 2019 at 4:17 AM Dennis Schwartz
> <dennis.schwartz@xxxxxxxxxxxxxx> wrote:
> >
> > * On my system (Debian 10), I need to compile zsh with the version
> > number from my default Debian installation. So I always do
> > `git checkout zsh-5.7.1 -- Config/version.mk` before I compile.
>
> So, you should definitely STOP doing that. It's only creating confusion.
This is an important point I missed --- if you're using wordcode
compiled files this will be a disaster, as Bart notes.
Also, if you're using wordcode compiled files, that could be a reason
why using the trap command behaves differently from defining a TRAPINT
function --- although the actual behaviour depends on the utilities
you're using, it's much more typically to save functions that way than
traps defined the other way.
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author