* Implement a different way to delete a password from the cache.
[alpine.git] / pico / osdep / terminal.h
blob6449c32c0e47af5af7d4637db6d8cbd71c5795f4
1 /*
2 * $Id: terminal.h 767 2007-10-24 00:03:59Z hubert@u.washington.edu $
4 * ========================================================================
5 * Copyright 2006 University of Washington
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * ========================================================================
17 #ifndef PICO_OSDEP_TERMINAL_INCLUDED
18 #define PICO_OSDEP_TERMINAL_INCLUDED
22 * Useful definitions
24 #define NROW DEFAULT_LINES_ON_TERMINAL
25 #define NCOL DEFAULT_COLUMNS_ON_TERMINAL
27 #define TT_OPTIMIZE 0x01 /* optimize flag(cf line speed) */
28 #define TT_EOLEXIST 0x02 /* does clear to EOL exist */
29 #define TT_SCROLLEXIST 0x04 /* does insert line exist */
30 #define TT_REVEXIST 0x08 /* does reverse video exist? */
31 #define TT_INSCHAR 0x10 /* does insert character exist */
32 #define TT_DELCHAR 0x20 /* does delete character exist */
35 #define TERM_OPTIMIZE (tthascap() & TT_OPTIMIZE)
36 #define TERM_EOLEXIST (tthascap() & TT_EOLEXIST)
37 #define TERM_SCROLLEXIST (tthascap() & TT_SCROLLEXIST)
38 #define TERM_REVEXIST (tthascap() & TT_REVEXIST)
39 #define TERM_INSCHAR (tthascap() & TT_INSCHAR)
40 #define TERM_DELCHAR (tthascap() & TT_DELCHAR)
43 /* exported prototypes */
44 unsigned tthascap(void);
45 #if HAS_TERMINFO || HAS_TERMCAP
46 void putpad(char *);
47 #endif
50 #endif /* PICO_OSDEP_TERMINAL_INCLUDED */