|
|
1.1 root 1: /*
2: * Simulation of termcap using terminfo.
3: */
4:
5: #include "curses.ext"
6:
7: /* @(#) tgetent.c: 1.1 10/15/83 (1.8 3/6/83) */
8:
9: int
10: tgetent(bp, name)
11: char *bp, *name;
12: {
13: int rv;
14:
15: if (setupterm(name, 1, &rv) >= 0)
16: /* Leave things as they were (for compatibility) */
17: reset_shell_mode();
18: return rv;
19: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.