Consultor Eletrônico



Kbase 13776: ** You cannot use INTR for both DEL and CTRL-C: What to do
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/10/1998
** You cannot use INTR for both DEL and CTRL-C: What to do

** You cannot use INTR for DEL and CTRL-C. (627)

This error means that you have two keys mapped for the interrupt
character. You need to have only one mapped for interrupt.
To correct the problem interactively (this will last only as long
as your session) type:

stty intr '^c' <CR>
stty erase <BS><CR>

NOTE: the above strings are entered in one character at a time (eg.^
then c, not ctrl-c. After 'erase' is typed in, you should press the
space bar then press the BACKSPACE key. This will assign the escape
sequence from the BS key to do the erase function. <CR> indicates
a carriage return.

To make this change active for each login, first you need to find out
what escape sequence is being returned from the BACKSPACE key. To do
this, type:

vi <CR>
i
CTRL-V
BACKSPACE

The escape sequence for the backspace key will be displayed. For
this example we will assume it is ^?. ESCAPE :q will exit from vi.

Enter the following two lines in your .profile file to make the
key assignments permanent:

stty intr '^c'
stty erase '^?'

Progress Software Technical Support Note # 13776