[ovs-dev] [PATCH 1/2] ovs-sandbox: Show the running program on xterm's title
Ben Pfaff
blp at nicira.com
Sun Feb 22 18:59:29 UTC 2015
On Fri, Feb 20, 2015 at 01:22:12PM -0800, Andy Zhou wrote:
> When debugging multiple programs under GDB, it will be easier to
> identify xterms with the program name displayed as title. Without
> this patch, xterms will have the title of "gdb", which is the first
> program the xterm executes. This change is useful for the next patch.
>
> Signed-off-by: Andy Zhou <azhou at nicira.com>
...
> run_xterm() {
> - run xterm -e "$@" &
> + title=$1;
> + shift
> + run xterm -T $title -e "$@" &
I would put $title in "" here.
> }
Acked-by: Ben Pfaff <blp at nicira.com>
More information about the dev
mailing list