The problem was that a) I'm using tcsh.
b) Some part of the system-wide csh.cshrc related to Emacs' shell-mode was also run for non-interactive shell invocation while only appropriate for interactive use (that's where the errors from tset and stty came from). c) Your second patch 6fb033c791 corrected a mistake in test-ob-awk.el that had shadowed the test invocation which produces the error and thus this particular test had never run before. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Wavetables for the Terratec KOMPLEXER: http://Synth.Stromeko.net/Downloads.html#KomplexerWaves