Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#29 Signal 3 on Keypress

closed
nobody
5
2009-09-22
2009-09-21
Jens Wulf
No

We use Powerterm to connect to our M-jobs via telnet. Some users found that they can terminate the session
with the sequence <ctrl>+<^>. It seems that this seqence sends $C(28).
But its a really ugly method because it ends in
GTM-F-KILLBYSIGSINFO1, GT.M process 4962 has been killed by a signal 3 at addr
ess 0xB7FC3430 (vaddr 0x00000000)
Is there a way to solve this?
Greets

Jens

Discussion

  • maimoneb
    maimoneb
    2009-09-22

    Jens:

    Run the stty -a command and look for what character sequence sends the quit signal (signal 3).

    On one of our linux systems it is:
    quit = ^\

    ^\ is character 28 (decimal)

    From what you have described you should see:
    quit = ^^

    ^^ is character 30 (decimal)

    To recreate your issue, I :
    stty quit <ctrl-V><ctrl-shift-6> (this may vary depending upon your terminal emulator and its settings).

    To stop <ctrl> + <^> from causing a quit, you can remap the quit signal to some other key sequence,e .g.,:
    stty quit ^~ (again how you do this may vary depending upon your terminal emulator and its settings).

    Thanks,
    Bill

     
  • maimoneb
    maimoneb
    2009-09-22

    Jens:

    stty quit ^@ can also be used to undefine the mapping for the quit signal (so that no key sequence is mapped to the quit signal).

    Thanks,
    Bill

     
  • Jens Wulf
    Jens Wulf
    2009-09-22

    Thank you, the stty quit ^@ helped.
    Jens

     
  • Jens Wulf
    Jens Wulf
    2009-09-22

    • status: open --> closed