Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: I got two questions, please see here:)

by cdarke (Prior)
on Feb 18, 2011 at 09:36 UTC ( [id://888868]=note: print w/replies, xml ) Need Help??


in reply to I got two questions, please see here:)

If I press Ctrl+Z or Ctrl+C to stop a perl script

Presumably you are running on UNIX or Linux? Please confirm. On those platforms CTRL+Z does not usually stop a process but places it suspended in the background. Depending on the shell you are using, type jobs and you will see a list of them. The shell built-in fg will resume the background process in the foreground. Read the man pages for your shell.

Both these signals (see above) can be assigned to other keys using stty(1). So if someone has been playfull with your terminal settings they could do almost anything.

You can trap most signals and execute a signal handler subroutine in most languages (even korn shell and bash: see the trap builtin). For Perl see %SIG in perlvar.

Replies are listed 'Best First'.
Re^2: I got two questions, please see here:)
by Anonymous Monk on Feb 18, 2011 at 15:56 UTC
    Looks like Windows. He mentioned ipconfig.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://888868]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-19 07:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found