Consultor Eletrônico



Kbase P93985: How to get CTRL-C disabled in character application on UNIX.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   7/7/2009
Status: Verified

GOAL:

How to get CTRL-C disabled in character application on UNIX.

GOAL:

How to disable CTRL-C SIGINT for Progress client on UNIX

FACT(s) (Environment):

UNIX
Progress/OpenEdge Product Family

FIX:

There are two ways to do this:

1.) Use stty commands.

Remap it to another key using for example
stty intr ^Y
or remove the intr mapping altogether with:
stty intr ?^@?

2.) Use trap (not recommended)

Put trap "" 2 into .profile or $DLC/bin/mpro script

The reason this is not recommended is that signals are used
eeded for inter-process communications (eg broker to client)