Hi again,

Axel Beckert wrote:
> Unfortunately the relevant error message "Argument count or length
> limit exceeded" does not show up with the patch.

Additionally it also exits with exit code zero.

Both are not what you were declaring as "tolerable behaviour" as you
also required "message on stderr plus nonzero exit status" as I do.

I though must admit that "Panic()" is indeed widely used all over the
screen source code, so it looks like the right function for this purpose.

But if I type

  Ctrl-A:screen ../t.sh 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
  19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
  42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
  65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87
  88 89 90 91 92 93 94 95 96 97 98 99 100

inside a Screen session, I do get the proper error message 

  : too many tokens.

(with the empty string before the colon) as a status line message. So
there it at least aborts properly.

I also tried to modify your patch to at least get a non-zero exit code
or a visible error message in your case, but failed so far for both.

                Regards, Axel
-- 
 ,''`.  |  Axel Beckert <a...@debian.org>, https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE

Reply via email to