dmarkh@cfl.rr.com writes:
Is ther anyway to inhibit the CNTRL-C key sequence from stopping a task that is being run from the command line?
Terminal settings can be changed via the stty(1) command. An example: #!/bin/sh stty intr '' # to disable intr program stty intr ^C # to restore the default value -- Alexandr.Malusek@imv.liu.se
Alexandr Malusek wrote:
dmarkh@cfl.rr.com writes:
Is ther anyway to inhibit the CNTRL-C key sequence from stopping a task that is being run from the command line?
Terminal settings can be changed via the stty(1) command. An example:
#!/bin/sh stty intr '' # to disable intr program stty intr ^C # to restore the default value
I like this one even better. Thanks to you also -- Mark Hounschell dmarkh@cfl.rr.com
participants (2)
-
Alexandr Malusek
-
dmarkh@cfl.rr.com