Path: csiph.com!xmission!news.snarked.org!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail From: Ami Fischman Newsgroups: gnu.bash.bug Subject: Re: verbosity of DEBUG trap following edit-and-execute-command Date: Sat, 11 Apr 2020 11:59:49 -0700 Lines: 15 Approved: bug-bash@gnu.org Message-ID: References: <35304daa-1838-b761-1925-d48becb0fa31@case.edu> <4208af10-a3ab-cb6e-7d57-f30fc9668eca@case.edu> NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: usenet.stanford.edu 1586631608 32373 209.51.188.17 (11 Apr 2020 19:00:08 GMT) X-Complaints-To: action@cs.stanford.edu Cc: bug-bash@gnu.org To: Chester Ramey Envelope-to: bug-bash@gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fischman-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=BtJ5d7A9h89Cjfc4Fu3IqNgoG2o3jtQ6qvfDtcb3r8I=; b=Xl7QAWcm+q9Q2f97DYpPXklaNgGgOpWjk8SrEUgcpZq3zV23AXZ3VeiJ/Mlz8J1Ts3 cpEpkJgqa8OqM3SKJuGHczh7+kIemEDo9JNKtU9dxhrlvoa37MXK0OnbfLRDcR+LAaHd GqgtspVK3VVLEHypfmqHNUfPF8JJtsd2Z8usK3Trmx0UGzjnhpr6SUfXPi2yd4NzDlsv 9lzwuhWlr6Q+Puy7PVerAoqRFu42kxfvls/oM+f/G4voaV66RUlOmUoEU+QKmO+Tvb18 Dha0pJUVRszIqf0+m7uJ15VwjZLZI+f5aMa+xj+T/17lfKlqEbjCXAQNQ+qKmkqCNv08 w5PQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=BtJ5d7A9h89Cjfc4Fu3IqNgoG2o3jtQ6qvfDtcb3r8I=; b=kwaqex5SDNhwOuRoyQ8uidRek6fYZrODgUT7RZU0OQEesIVAQUxHFdLLTxBjr/bILB BabHWooi9mZuP7Mzu8EGpGs6RBUKt4GMRY+KFNjJ9M4oH5Te34OgvPPi7riCQNDg5++W mn3OWqXRgH5BXH99q9qT2+D7FKRpepIAkxX8w7h/ZNzN2KwsSOcx0CZ+J6y7n7YvDB7e jh1LX0e2nOVatjjHlnAZKwYKe9YQprBa3rG3A3Y2EGsHYf2B1BLnnVwh30yYcuukPXzM qF/IkV3QcJ35qFLxd8MXLNaqtZY5zRk1ZUmu0Ed87nPgpo4qJZbHusZRBsT3xKsVdq6Q whzg== X-Gm-Message-State: AGi0PuaFNbPB5nzDxi9t6yOQeuMlN5rQD5gR2nE+Of4SMYYd/Xj06RG/ BHjedJMbzoZN3JlqgrUGkhpYpC0UjfajTddAweAmjg== X-Google-Smtp-Source: APiQypLWRvuTBFuyQt9bbBAvUd7EodEaxiwFYFnueRVCwvrj0BQfzdo2H7VOo8PreP9tja++vgc79N7iYjI0x2JeqDY= X-Received: by 2002:a05:6000:1142:: with SMTP id d2mr10171024wrx.320.1586631600659; Sat, 11 Apr 2020 12:00:00 -0700 (PDT) In-Reply-To: <4208af10-a3ab-cb6e-7d57-f30fc9668eca@case.edu> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::430 X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: X-Mailman-Original-References: <35304daa-1838-b761-1925-d48becb0fa31@case.edu> <4208af10-a3ab-cb6e-7d57-f30fc9668eca@case.edu> Xref: csiph.com gnu.bash.bug:16122 On Mon, Apr 6, 2020 at 6:18 AM Chet Ramey wrote: > 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. Thanks! Confirmed that patching trap.{h,c} and builtins/fc.def to reproduce the diffs in those files from http://git.savannah.gnu.org/cgit/bash.git/commit/?h=devel&id=e34adc2c3b6b8722d0316f3b26fe5346faf94dea makes bash behave the way I was hoping. ("patching" instead of just building at HEAD b/c I'm a deb amateur but wanted to stick as close as possible to the bash I get normally in this environment) Cheers, -a