home *** CD-ROM | disk | FTP | other *** search
- /* hinttab.h -- declarations for accessing the hinttab file
- Copyright (C) 1989 David MacKenzie
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 1, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
-
- /* Maximum length of termcap strings. */
- #define TCSLEN 20
-
- /* Structure of record in hinttab.
- These are the strings returned by tgetstr. They will be run through
- tputs when the hint is actually sent.
-
- Records are assigned in hinttab in first come, first served order. */
- struct hinttab
- {
- char h_tty[15]; /* Full pathname. */
- char h_ts[TCSLEN]; /* Go to status line. */
- char h_fs[TCSLEN]; /* Go from status line. */
- char h_ds[TCSLEN]; /* Disable (clear) status line. */
- char h_bl[TCSLEN]; /* Bell or visible bell. */
- short h_ws; /* Width (columns) of status line. */
- };
-
- struct hinttab *gethttty ();
-