version 1.73, 2010/06/07 20:57:09 |
version 1.76, 2010/06/19 20:46:28 |
|
|
/* $Id$ */ |
/* $Id$ */ |
/* |
/* |
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> |
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@bsd.lv> |
* |
* |
* Permission to use, copy, modify, and distribute this software for any |
* Permission to use, copy, modify, and distribute this software for any |
* purpose with or without fee is hereby granted, provided that the above |
* purpose with or without fee is hereby granted, provided that the above |
|
|
static int a2width(const struct man_node *); |
static int a2width(const struct man_node *); |
static int a2height(const struct man_node *); |
static int a2height(const struct man_node *); |
|
|
static void print_man_head(struct termp *, const void *); |
|
static void print_man_nodelist(DECL_ARGS); |
static void print_man_nodelist(DECL_ARGS); |
static void print_man_node(DECL_ARGS); |
static void print_man_node(DECL_ARGS); |
|
static void print_man_head(struct termp *, const void *); |
static void print_man_foot(struct termp *, const void *); |
static void print_man_foot(struct termp *, const void *); |
static void print_bvspace(struct termp *, |
static void print_bvspace(struct termp *, |
const struct man_node *); |
const struct man_node *); |
Line 158 terminal_man(void *arg, const struct man *man) |
|
Line 158 terminal_man(void *arg, const struct man *man) |
|
|
|
p->overstep = 0; |
p->overstep = 0; |
p->maxrmargin = p->defrmargin; |
p->maxrmargin = p->defrmargin; |
|
p->tabwidth = 5; |
|
|
term_begin(p, print_man_head, print_man_foot, man_meta(man)); |
|
|
|
if (NULL == p->symtab) |
if (NULL == p->symtab) |
switch (p->enc) { |
switch (p->enc) { |
case (TERMENC_ASCII): |
case (TERMENC_ASCII): |
Line 174 terminal_man(void *arg, const struct man *man) |
|
Line 173 terminal_man(void *arg, const struct man *man) |
|
n = man_node(man); |
n = man_node(man); |
m = man_meta(man); |
m = man_meta(man); |
|
|
|
term_begin(p, print_man_head, print_man_foot, m); |
p->flags |= TERMP_NOSPACE; |
p->flags |= TERMP_NOSPACE; |
|
|
mt.fl = 0; |
mt.fl = 0; |