Menu

#16 CTRL-C on AIX

v1.0_(example)
closed
nobody
None
5
2015-04-22
2010-12-21
Stef Coene
No

Hi,

I was able to compile sudosh2-1.0.4 on AIX (I had to add "#include <strings.h>" to getopt.c and parce.c).
But when I use sudosh2 as a shell or interactive, pressing CTRL-C causes sudosh2 to be killed and not the program I was running.

Stef

Discussion

  • Stef Coene

    Stef Coene - 2010-12-21

    Update to my post: when using sudosh2, the input is echoed back on the terminal and not in the input file I specified. I don't know if this is related ....

     
  • Stef Coene

    Stef Coene - 2010-12-21

    Second update: sudosh-1.6.3 is working like expected

     
  • bjan

    bjan - 2010-12-23

    We have the same issue as 'stefcoene'.We compiled successfully sudosh2-1.0.4 on AIX 5.3 - 64 bit (after adding "#include <strings.h> to getopt.c and parse.c).
    CTRL-C causes 'sudosh2 to be killed and the input is echoed back on the terminal. Also ESC-k doesn't work (even when we use 'set -o vi')
    Sudosh-1.6.3 is working fine.

     
  • Stef Coene

    Stef Coene - 2010-12-23

    Josh Grebe has access to one of my AIX servers and he is trying to solve this issue. In the meantime, I switched to sudosh so I can fullfill our auditing requirements.

    Stef

     
  • tadams19

    tadams19 - 2011-05-04

    A work around for the "ctlr-c" issue is to trap ctlr-c with a script.

    EX:

    #!/usr/bin/ksh
    trap "" 2
    /opt/freeware/bin/sudosh

    Echo still seems to be a problem.

     
  • Josh Grebe

    Josh Grebe - 2014-01-22

    Continued access to AIX would be required to fix this issue.

     
  • Josh Grebe

    Josh Grebe - 2014-01-22
    • status: open --> pending
    • Group: --> v1.0_(example)
     
  • Josh Grebe

    Josh Grebe - 2015-04-22

    Closing, can't fix currently.

     
  • Josh Grebe

    Josh Grebe - 2015-04-22
    • status: pending --> closed
     

Log in to post a comment.