|
2009-03-15
| ||
| 22:38 | • Closed ticket [1513655fff]: Recognize SIGINFO, where available plus 7 other ... artifact: de9d5c547c user: dkf | |
| 22:16 | • Ticket [1513655fff]: 6 changes artifact: d798e1088b user: dkf | |
| 02:03 | • Ticket [1513655fff]: 4 changes artifact: 03b392246c user: kot | |
| 01:51 | • Ticket [1513655fff]: 4 changes artifact: 6e85c6a611 user: ferrieux | |
| 01:04 | • Ticket [1513655fff]: 6 changes artifact: 00e3a22d69 user: dkf | |
|
2009-03-14
| ||
| 11:32 | • Ticket [1513655fff]: 4 changes artifact: b8226f8a21 user: stwo | |
|
2007-09-22
| ||
| 04:44 | • Ticket [1513655fff]: 4 changes artifact: 8363611429 user: dkf | |
| 04:35 | • Ticket [1513655fff]: 4 changes artifact: 74a1d872ac user: kot | |
| 04:22 | • Ticket [1513655fff]: 4 changes artifact: 0d9cfe32c7 user: dkf | |
| 02:35 | • Ticket [1513655fff]: 6 changes artifact: d8314ca704 user: kot | |
|
2006-06-28
| ||
| 17:06 | • Ticket [1513655fff]: 2 changes artifact: 968a25497a user: dkf | |
| 05:35 | • Ticket [1513655fff]: 4 changes artifact: 965fc5be67 user: kot | |
| 05:35 | • Add attachment patch-siginfo to ticket [1513655fff] artifact: a12b41dc2c user: kot | |
|
2006-06-27
| ||
| 22:35 | • New ticket [1513655fff] Recognize SIGINFO, where available. artifact: e105f22737 user: kot | |
Recognize SIGINFO, where available
Closed / Accepted1513655fffffffffffffffffffffffffffffffffCreated 20 years agoUpdated 18 years ago
Descriptionplain2006-06-27 22:35:18
SIGINFO seems to be a BSD-specific signal. It is typically sent to the foreground process by pressing Ctrl-T. Some programs -- including cp, dd, fsck, dump -- respond to it by outputting their status information (progress update). Tcl scripts should be able to do the same. This patch is now part of the FreeBSD port...
kotplain2006-06-28 05:35:19
File Added - 183204: patch-siginfo
dkf Ticket [1513655fff]: 2 changes
[History diff]2006-06-28 17:06:48
kotplain2007-09-22 02:35:16
Logged In: YES user_id=173641 Originator: YES Changing Category to the slightly less bogus value. Elevating Priority because its been well over a year now.
dkfplain2007-09-22 04:22:26
Logged In: YES user_id=79902 Originator: NO Feels to me like a request for TclX, as Tcl itself currently doesn't expose any signal handling at all.
kotplain2007-09-22 04:35:26
Logged In: YES user_id=173641 Originator: YES Donal, please, comment /responsibly/. If you only looked into the attached patch, you would've seen the error of your statement. Specifically, in generic/tclPosixStr.c there is a translation of signal numbers into names.
dkfplain2007-09-22 04:44:37
Logged In: YES user_id=79902 Originator: NO I don't comment responsibly (or read patches) this late on a Friday. :-P
stwoplain2009-03-14 11:32:21
This is very simple, innocuous to non-BSD'ers and of potential use/importance to BSD'ers. Recommend committing/closing.
dkfplain2009-03-15 01:04:21
data_type - 360894 Tcl doesn't expose support for *any* signals at all at the moment, on any platform. Changing this requires quite a lot of work (new code, new docs, new tests) and there are substantial complexities in threaded builds AIUI (not to mention the trickiness of handling the analogs of them on Windows). However, piggy-backing this request on the TclX extension is a reasonable way forward, as it knows about signals already and (intentionally) doesn't have quite such a bureaucratic process for adding features. Changing this to a FRQ.
ferrieuxplain2009-03-15 01:51:29
Once thing that was not obvious from the title or comments, and that Stu was kind enough to mention on the chat, is that the proposal is indeed orthogonal to the (much more ambitious) advent of script-level signal support in the core. We _already_ have a signal-to-string mapping in the core, so that adding just that missing one sounds reasonable. Just why we do is another matter (maybe for wait/waitpid result ?). But refusing the present patch on the grounds that it is too ambitious is a plain error of interpretation.
kotplain2009-03-15 02:03:03
Donal, you said the EXACT SAME THING TWO YEARS ago. It is perfectly obvious by now, that you've NEVER read the actual patch. Your "joyful" response to my request to you do so, that you don't respond seriously on Fridays, implied, that sincere attention will be paid the following Monday. Today, 18 months later, you repeat the same NONSENSE. I think, you owe me an apology...
dkfplain2009-03-15 22:16:39
data_type - 310894
dkfplain2009-03-15 22:38:42
allow_comments - 1 Ah. Misinterpreted what was going on entirely. Comes of reviewing things when tired. Patch as submitted had a problem: Linux defines SIGINFO to be the same as SIGPWR for some odd reason. I've committed an updated version with better #ifdef-fery (and yes, I also checked that Tcl now handles every signal that OSX supports so should be OK for other BSD platforms too). Still don't know why this is needed - programs don't exit on SIGINFO - but it is at least supported (in as much as any signal is). Backported to 8.5 too.
Log in (anonymous is fine) to add a comment.
Attachments:
- patch-siginfo [download] added by kot on 2006-06-28 05:35:19. [details]