? gmon.out ? psql Index: print.c =================================================================== RCS file: /projects/cvsroot/pgsql/src/bin/psql/print.c,v retrieving revision 1.77 diff -u -r1.77 print.c --- print.c 4 Oct 2005 19:01:18 -0000 1.77 +++ print.c 16 Oct 2005 21:14:45 -0000 @@ -1448,6 +1448,7 @@ pagerprog = DEFAULT_PAGER; #ifndef WIN32 pqsignal(SIGPIPE, SIG_IGN); + pqsignal(SIGINT, SIG_IGN); #endif return popen(pagerprog, "w"); #ifdef TIOCGWINSZ @@ -1589,6 +1590,7 @@ pclose(output); #ifndef WIN32 pqsignal(SIGPIPE, SIG_DFL); + pqsignal(SIGINT, handle_sigint); #endif } }