Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2004
    Posts
    2

    Question Unanswered: redefine other character for Ctrl+C


    well...i understand that Perl can ignore Ctrl+C key sequence by

    $SIG{'INT'} = 'IGNORE';

    and restore the default : $SIG{'INT'} = 'DEFAULT';

    How about if I want to use others character other than "Ctrl+C" ??
    For instance...i want to use "Q" as a replacement for "Ctrl+C"??

    PLEASE ADVICE.......

  2. #2
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579
    Provided Answers: 54
    Create a keyboard macro or alter your operating system's keyboard driver to send a Ctrl-C when the Q key is pressed?

    -PatP

  3. #3
    Join Date
    Sep 2004
    Posts
    2
    anything i can do using perl command ?
    i want to make it working just for the spesific script.

    Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •