top: existing 'Inspect' pipe feature now more flexible
Currently, it isn't possible to establish an 'Inspect' pipe that relies on SIGINT to end. That's because this signal will also end the parent process (top) as well. So this patch will temporarily ignore that signal when processing any 'Inspect' pipe, allowing one like this: . pipe ^I Trace Calls ^I /usr/bin/strace -r -p %d 2>&1 Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
@@ -476,7 +476,8 @@ static void build_norm_nlstab (void) {
|
||||
Norm_nlstab[YINSP_pidbad_fmt] = _("unable to inspect, pid %d not found");
|
||||
Norm_nlstab[YINSP_pidsee_fmt] = _("inspect at PID [default pid = %d]");
|
||||
Norm_nlstab[YINSP_status_fmt] = _("%s: %*d-%-*d lines, %*d-%*d columns, %lu bytes read");
|
||||
Norm_nlstab[YINSP_workin_txt] = _("patience please, working...");
|
||||
Norm_nlstab[YINSP_waitin_txt] = _("patience please, working ...");
|
||||
Norm_nlstab[YINSP_workin_txt] = _("working, use Ctrl-C to end ...");
|
||||
/* Translation Hint: Below are 2 abbreviations which can be as long as needed:
|
||||
. FLD = FIELD, VAL = VALUE */
|
||||
Norm_nlstab[OSEL_prompts_fmt] = _("add filter #%d (%s) as: [!]FLD?VAL");
|
||||
|
Reference in New Issue
Block a user