On Wed, Oct 12, 2016 at 03:20:00PM +0200, Otto Moerbeek wrote:
> simple diff to show the hostname on the second line. OK?

OK bluhm@

> 
> BTW, batch mode doesn't function here as expected. Need to look into that,
> 
>       -Otto
> 
> Index: main.c
> ===================================================================
> RCS file: /cvs/src/usr.bin/systat/main.c,v
> retrieving revision 1.64
> diff -u -p -r1.64 main.c
> --- main.c    2 Jan 2016 15:02:05 -0000       1.64
> +++ main.c    8 Oct 2016 13:34:07 -0000
> @@ -124,8 +124,10 @@ print_header(void)
>  
>       if (rawmode)
>               printf("\n\n%s\n", header);
> -     else
> +     else {
>               mvprintw(0, 0, "%s", header);
> +             mvprintw(1, 1, "%s", hostname);
> +     }
>  
>       return (1);
>  }

Reply via email to