Lines Matching +full:cmd +full:- +full:cnt +full:- +full:name
1 /*-
26 * ex_bg -- :bg
38 * ex_fg -- :fg [file]
50 if (vs_fg(sp, &nsp, cmdp->argc ? cmdp->argv[0]->bp : NULL, newscreen)) in ex_fg()
55 sp->nextdisp = nsp; in ex_fg()
62 * ex_resize -- :resize [+-]rows
72 switch (FL_ISSET(cmdp->iflags, in ex_resize()
84 ex_emsg(sp, cmdp->cmd->usage, EXM_USAGE); in ex_resize()
87 return (vs_resize(sp, cmdp->count, adj)); in ex_resize()
91 * ex_sdisplay --
101 int cnt, col, len, sep; in ex_sdisplay() local
103 gp = sp->gp; in ex_sdisplay()
104 if ((tsp = TAILQ_FIRST(gp->hq)) == NULL) { in ex_sdisplay()
110 for (cnt = 1; tsp != NULL && !INTERRUPTED(sp); in ex_sdisplay()
112 col += len = strlen(tsp->frp->name) + sep; in ex_sdisplay()
113 if (col >= sp->cols - 1) { in ex_sdisplay()
117 } else if (cnt != 1) { in ex_sdisplay()
121 (void)ex_puts(sp, tsp->frp->name); in ex_sdisplay()
122 ++cnt; in ex_sdisplay()