First try "stty sane"

If that doesn't work, do "stty intr ^c" (that's two characters, '^' and
'c'), followed by "stty quit ^\" (you might need two '\' characters).
-Kelly


-----Original Message-----
From: Ronald W. Heiby [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 18, 2003 4:59 PM
To: [EMAIL PROTECTED]
Subject: Ignoring SIGINT on RH 8

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello vnc-list,

I've had this problem for some time. I don't recall whether I've asked
about it here, but if so, it's been a while and maybe I'll be able to
get some help with a solution.

I'm running Red Hat Linux 8.0 on several machines. On each, I have
configured them to start a VNC session as they boot up, as my user id,
so I can connect to any of them remotely. So far, so good. This works
good.

I have tried the VNC that is the current version for RH 8.0
(vnc-server-3.3.3r2-39.2). I have tried it with 3.3.6 that I
downloaded and built from sources. Both give me the same problem.

The bash windows within my VNC session are set to ignore SIGINT and
SIGQUIT. This makes interrupting processes that do not explicitly set
to catch these signals a bit of a problem. Below is a simple test app
that displays the signal states that are not set to 0 (SIG_DFL).

Red Hat claims that they do not see this, but no one has been able to
give me a clue as to how to track down where the problem might lie.

Thanks.

Ron.

===== Cut Here =====

#include <signal.h>
#include <stdio.h>

main() {
        int i;
        __sighandler_t rwh;

        printf("SIG_IGN: %x\n", SIG_IGN);
        printf("SIG_DFL: %x\n", SIG_DFL);

        for (i = 1; i < 40; i++) {
                rwh = signal(i, SIG_DFL);
                if (rwh)
                        printf("%d: %x\n", i, rwh);
        }
}

===== Cut Here =====

-----BEGIN PGP SIGNATURE-----
Version: PGP Personal Privacy 6.5.8
Comment: Until recently, the last PGP with full source disclosure.

iQA/AwUBP0FMC28pw+2/9pUJEQKfiACgotNlrO+4ABM6gQ5m69llbXQjG9sAn2/U
IoZSUppZ9G3Sacg4NnAFGuct
=r7ZR
-----END PGP SIGNATURE-----
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to