SMAP
int vs_line(SCR *, SMAP *, size_t *, size_t *);
int vs_sm_next(SCR *, SMAP *, SMAP *);
int vs_sm_prev(SCR *, SMAP *, SMAP *);
int vs_sm_cursor(SCR *, SMAP **);
recno_t vs_sm_nlines(SCR *, SMAP *, recno_t, size_t);
SMAP *esmp;
CALLOC_RET(sp, HMAP, SIZE_HMAP(sp), sizeof(SMAP));
SMAP *h_smap; /* First slot of the line map. */
SMAP *t_smap; /* Last slot of the line map. */
SMAP *sc_smap; /* SMAP entry where sc_col occurs. */
vs_line(SCR *sp, SMAP *smp, size_t *yp, size_t *xp)
SMAP *tsmp;
SMAP *smp;
SMAP *smp, tmp;
SMAP *smp;
vs_sm_next(SCR *sp, SMAP *p, SMAP *t)
vs_sm_prev(SCR *sp, SMAP *p, SMAP *t)
vs_sm_cursor(SCR *sp, SMAP **smpp)
SMAP *p;
SMAP *smp;
vs_sm_nlines(SCR *sp, SMAP *from_sp, recno_t to_lno, size_t max)
SMAP *p, tmp;
SMAP *p, *t;
static int vs_sm_down(SCR *, MARK *, recno_t, scroll_t, SMAP *);
memmove(p, p + cnt_orig, (((TMAP - p) - cnt_orig) + 1) * sizeof(SMAP));
static int vs_sm_up(SCR *, MARK *, recno_t, scroll_t, SMAP *);
SMAP *p, *t;
memmove(p + cnt_orig, p, (((TMAP - p) - cnt_orig) + 1) * sizeof(SMAP));
SMAP *p, *t;
(((TMAP - p) - diff) + 1) * sizeof(SMAP));
SMAP *p;
memmove(p, p + diff, (((TMAP - p) - diff) + 1) * sizeof(SMAP));
SMAP *smp;
vs_sm_up(SCR *sp, MARK *rp, recno_t count, scroll_t scmd, SMAP *smp)
SMAP *ssmp, s1, s2;
memmove(HMAP, HMAP + 1, (sp->rows - 1) * sizeof(SMAP));
vs_sm_down(SCR *sp, MARK *rp, recno_t count, scroll_t scmd, SMAP *smp)
SMAP *ssmp, s1, s2;
memmove(HMAP + 1, HMAP, (sp->rows - 1) * sizeof(SMAP));
(sp->t_maxrows - new->rows) * sizeof(SMAP));
SMAP *smp;
CALLOC_RET(nsp, _HMAP(nsp), SIZE_HMAP(nsp), sizeof(SMAP));
CALLOC(sp, _HMAP(new), SIZE_HMAP(sp), sizeof(SMAP));