File 03norzsz.diff of Package minicom
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=111060
Index: minicom-2.9/src/updown.c
===================================================================
--- minicom-2.9.orig/src/updown.c
+++ minicom-2.9/src/updown.c
@@ -427,6 +427,22 @@ void updown(int what, int nr)
mcd("");
timer_update();
+ /* return code == 1 if exeve failed, see #111060 et al */
+ if (win && status == 0x0001) {
+#if VC_MUSIC
+ if (P_SOUND[0] == 'Y') {
+ wprintf(win, _("\n Failure executing protocol. Press any key to continue..."));
+ music();
+ } else
+ sleep(1);
+#else
+ /* MARK updated 02/17/94 - If there was no VC_MUSIC capability, */
+ /* then at least make some beeps! */
+ if (P_SOUND[0] == 'Y') wprintf(win, "\007\007\007");
+ sleep(1);
+#endif
+ } else
+
/* If we got interrupted, status != 0 */
if (win && ((status & 0xFF00) == 0 || status == 1)) {
#if VC_MUSIC