bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: verbosity of DEBUG trap following edit-and-execute-command


From: Chet Ramey
Subject: Re: verbosity of DEBUG trap following edit-and-execute-command
Date: Mon, 6 Apr 2020 09:18:04 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.6.0

On 4/5/20 8:45 PM, Ami Fischman wrote:
> On Sun, Apr 5, 2020 at 12:43 PM Chet Ramey <address@hidden> wrote:
>> Hence the discussion topic: should bash disable set -v when executing
>> the DEBUG trap, should it do that just while running commands from a
>> file while running `fc', or should it continue with its current behavior?
> 
> Thanks for clarifying the parameter space.
> For my purposes either of the first 2 options would work, but my only use of
> DEBUGhas been to muck with terminal state this way, so possibly users of DEBUG
> withless-visible side-effects would prefer it to stay as-is. Not sure if such
> usages exist orhow to trade-off the use-cases against each other.

I'm going to go with a variant of 2: a more general facility that only the
`fc' builtin uses. It will be in the next devel branch push.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    address@hidden    http://tiswww.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]