version 1.123, 2017/03/08 13:36:12 |
version 1.124, 2017/04/05 10:49:46 |
|
|
if (ft->s == NULL) |
if (ft->s == NULL) |
ft->s = c->session; |
ft->s = c->session; |
|
|
|
format_add(ft, "client_name", "%s", c->name); |
format_add(ft, "client_pid", "%ld", (long) c->pid); |
format_add(ft, "client_pid", "%ld", (long) c->pid); |
format_add(ft, "client_height", "%u", tty->sy); |
format_add(ft, "client_height", "%u", tty->sy); |
format_add(ft, "client_width", "%u", tty->sx); |
format_add(ft, "client_width", "%u", tty->sx); |
if (tty->path != NULL) |
format_add(ft, "client_tty", "%s", c->ttyname); |
format_add(ft, "client_tty", "%s", tty->path); |
|
format_add(ft, "client_control_mode", "%d", |
format_add(ft, "client_control_mode", "%d", |
!!(c->flags & CLIENT_CONTROL)); |
!!(c->flags & CLIENT_CONTROL)); |
|
|