Catch Control-G Character

From: G V Raju (rajugv_at_INGVYSYABANK.COM)
Date: 12/08/03

  • Next message: Green, Simon: "Re: Scripting: awk reg. exp."
    Date:         Mon, 8 Dec 2003 12:56:56 +0530
    To: aix-l@Princeton.EDU
    
    
    

    Hai all,

    I am writing one perl expect script to expect a pattern having Control-G
    character
    like "Press Enter To Continue \r^G".
    Then i should send "\r".

    But, Once the handler encounter the ^G the spawned programme is getting
    killed.
    How to come out of this problem?

    Please suggest me some solution.

    Thanks and Regards
    G V Raju

    
    



  • Next message: Green, Simon: "Re: Scripting: awk reg. exp."

    Relevant Pages

    • Re: PHP web design patterns
      ... use observer pattern terminology). ... functions and, my goal, one script that handles all the processing. ... the html pages being the view and the processing script ... and some guidelines from "Database Design for Mere Mortals," which I ...
      (alt.php)
    • Re: Lotus 123 conditionally changing cell colours.....
      ... This is a macro command, not a script command. ... pattern is an offset number from 0 through 63 that specifies a pattern. ...
      (comp.os.os2.apps)
    • Re: RegEx: How to ignore the number of whitespaces?
      ... a "simpler" regular expression syntax is likely to bite you eventually, ... but that some of these character sequences may be "marked" as ... This is a regular expression "if" conditional statement, ... do not understand why the pattern "personal computer" will only match ...
      (microsoft.public.dotnet.framework)
    • Re: Grep and mv
      ... not some control character or the other ... > My silly little grep script extracts the names as ... Please post the script you used, ... >The space is not coming from within the file with this string. ...
      (comp.unix.shell)
    • Re: UTF-8 without external modules on Perl 5.0
      ... nothing about UTF-8 encoding/decoding in the stock modules of this ... so there is no way to have a character outside of the range ... So if you need to work with unicode strings in perl 5.005, ... verbatim in the script but make variables with their UTF-8 byte sequence ...
      (comp.lang.perl.misc)