zsh-workers
 help / color / mirror / code / Atom feed
* Over-reaction (was Re: trapped in bash)
       [not found]                   ` <20161219174746.GA27982@fujitsu.shahaf.local2>
@ 2016-12-19 19:14                     ` Bart Schaefer
  2016-12-20  9:20                       ` Peter Stephenson
  0 siblings, 1 reply; 2+ messages in thread
From: Bart Schaefer @ 2016-12-19 19:14 UTC (permalink / raw)
  To: zsh-workers

On Dec 19,  5:47pm, Daniel Shahaf wrote:
}
} Yes, error messages should generally be signed.

I don't like this, for several reasons:

1.  It's confusing extra information that is completely irrelevant to
    most users most of the time.  The circumstances in which this
    error comes up are ridiculously rare.

2.  Arguably it's not even useful extra information; anybody who would
    not be confused by the term "execve" already knows that's where
    the error must be coming from.

3.  No other shell exposes this detail.  That's not in itself a
    reason for zsh not to, but see #1 for context.

4.  There are other ways (previously posted command_not_found_handler
    for example) to convey the equivalent information.
 
5.  IMO Ray is deep into "if you break it, you get to keep the pieces"
    territory with his whole attempt to wholesale copy binaries from
    one architecture to another, and we should not take this as an
    example of situation we ought to be special-casing.

6.  It's a bad precedent to distract ourselves with stuff like #5 that
    doesn't even rise to the level of a FREQUENTLY asked question.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Over-reaction (was Re: trapped in bash)
  2016-12-19 19:14                     ` Over-reaction (was Re: trapped in bash) Bart Schaefer
@ 2016-12-20  9:20                       ` Peter Stephenson
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Stephenson @ 2016-12-20  9:20 UTC (permalink / raw)
  To: zsh-workers

On Mon, 19 Dec 2016 11:14:35 -0800
Bart Schaefer <schaefer@brasslantern.com> wrote:
> 2.  Arguably it's not even useful extra information; anybody who would
>     not be confused by the term "execve" already knows that's where
>     the error must be coming from.

If it's going to be useful, it should probably say what's going on
rather than the system call, e.g. "failed to execute".

There might be somewhere in the manual to give some hints, but adding
more to the manual tends to be just an excuse for people not to read it.

pws


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-12-20  9:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <58559FC0.3080501@eastlink.ca>
     [not found] ` <161217124354.ZM7815@torch.brasslantern.com>
     [not found]   ` <5855BEF2.6090208__18199.534857604$1482015164$gmane$org@eastlink.ca>
     [not found]     ` <20161218150628.GB9158@fujitsu.shahaf.local2>
     [not found]       ` <5856B133.9010602@eastlink.ca>
     [not found]         ` <20161219003219.GA21509@fujitsu.shahaf.local2>
     [not found]           ` <161218183056.ZM5304@torch.brasslantern.com>
     [not found]             ` <9da2ae82-ac3f-6ee3-5452-5a008cf129e7@eastlink.ca>
     [not found]               ` <161218214811.ZM5814@torch.brasslantern.com>
     [not found]                 ` <ab7aeb33-d091-6602-8baa-cce92300d289__26556.3400615521$1482166729$gmane$org@eastlink.ca>
     [not found]                   ` <20161219174746.GA27982@fujitsu.shahaf.local2>
2016-12-19 19:14                     ` Over-reaction (was Re: trapped in bash) Bart Schaefer
2016-12-20  9:20                       ` Peter Stephenson

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).