[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: [BusyBox] ash signal trapping
From: "Peter V. Saveliev" <peet () peet ! spb ! ru>
Date: 2004-10-31 12:01:06
Message-ID: 200410311501.06750.peet () peet ! spb ! ru
[Download RAW message or body]
...
Please, help me understand, where the bug is.
On the local machine (bash):
8<--------------------------------------------------------------------
[peet@acer peet]$ cat bala
#!/bin/sh
echo bala
[peet@acer peet]$ trap ./bala 2
[peet@acer peet]$ bala <------------- pressing Ctrl-C causes "bala" to display
[peet@acer peet]$
8<--------------------------------------------------------------------
On busybox (ash):
8<--------------------------------------------------------------------
/tmp $ cat ./bala
#!/bin/sh
echo bala
/tmp $ trap ./bala 2
/tmp $ <------------- pressing Ctrl-C doesn't cause "bala" to display
/tmp $ <------------- pressing Ctrl-C doesn't cause "bala" to display
8<--------------------------------------------------------------------
The problem is that I cannot interrupt programs like "vmstat" or "ifstat" by
pressing Ctrl-C. I login via busybox' telnetd, if it can affect.
Thanks for your advise.
--
Peter V. Saveliev
_______________________________________________
busybox mailing list
busybox@mail.busybox.net
http://codepoet.org/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic