comparison src/cm.h @ 412:697ef44129c6 r21-2-14

Import from CVS: tag r21-2-14
author cvs
date Mon, 13 Aug 2007 11:20:41 +0200
parents 74fd4e045ea6
children
comparison
equal deleted inserted replaced
411:12e008d41344 412:697ef44129c6
21 /* Synched up with: FSF 19.30. */ 21 /* Synched up with: FSF 19.30. */
22 22
23 /* #### Chuck -- This file should be deleted. I'm not deleting it yet 23 /* #### Chuck -- This file should be deleted. I'm not deleting it yet
24 because there might be something you want out of it. */ 24 because there might be something you want out of it. */
25 25
26 #ifndef INCLUDED_cm_h_ 26 #ifndef _XEMACS_CM_H_
27 #define INCLUDED_cm_h_ 27 #define _XEMACS_CM_H_
28 28
29 /* Holds the minimum and maximum costs for the parametrized capabilities. */ 29 /* Holds the minimum and maximum costs for the parametrized capabilities. */
30 struct parmcap 30 struct parmcap
31 { 31 {
32 int mincost, maxcost; 32 int mincost, maxcost;
44 44
45 int cm_curY; /* Current row */ 45 int cm_curY; /* Current row */
46 int cm_curX; /* Current column */ 46 int cm_curX; /* Current column */
47 47
48 /* Capabilities from termcap */ 48 /* Capabilities from termcap */
49 const char *cm_up; /* up (up) */ 49 CONST char *cm_up; /* up (up) */
50 const char *cm_down; /* down (do) */ 50 CONST char *cm_down; /* down (do) */
51 const char *cm_left; /* left (le) */ 51 CONST char *cm_left; /* left (le) */
52 const char *cm_right; /* right (nd) */ 52 CONST char *cm_right; /* right (nd) */
53 const char *cm_home; /* home (ho) */ 53 CONST char *cm_home; /* home (ho) */
54 const char *cm_cr; /* carriage return (cr) */ 54 CONST char *cm_cr; /* carriage return (cr) */
55 const char *cm_ll; /* last line (ll) */ 55 CONST char *cm_ll; /* last line (ll) */
56 #endif /* 0 */ 56 #endif /* 0 */
57 const char *cm_tab; /* tab (ta) */ 57 CONST char *cm_tab; /* tab (ta) */
58 const char *cm_backtab; /* backtab (bt) */ 58 CONST char *cm_backtab; /* backtab (bt) */
59 #if 0 59 #if 0
60 const char *cm_abs; /* absolute (cm) */ 60 CONST char *cm_abs; /* absolute (cm) */
61 const char *cm_habs; /* horizontal absolute (ch) */ 61 CONST char *cm_habs; /* horizontal absolute (ch) */
62 const char *cm_vabs; /* vertical absolute (cv) */ 62 CONST char *cm_vabs; /* vertical absolute (cv) */
63 const char *cm_ds; /* "don't send" string (ds) */ 63 CONST char *cm_ds; /* "don't send" string (ds) */
64 const char *cm_multiup; /* multiple up (UP) */ 64 CONST char *cm_multiup; /* multiple up (UP) */
65 const char *cm_multidown; /* multiple down (DO) */ 65 CONST char *cm_multidown; /* multiple down (DO) */
66 const char *cm_multileft; /* multiple left (LE) */ 66 CONST char *cm_multileft; /* multiple left (LE) */
67 const char *cm_multiright; /* multiple right (RI) */ 67 CONST char *cm_multiright; /* multiple right (RI) */
68 int cm_cols; /* number of cols on frame (co) */ 68 int cm_cols; /* number of cols on frame (co) */
69 int cm_rows; /* number of rows on frame (li) */ 69 int cm_rows; /* number of rows on frame (li) */
70 int cm_tabwidth; /* tab width (it) */ 70 int cm_tabwidth; /* tab width (it) */
71 unsigned int cm_autowrap:1; /* autowrap flag (am) */ 71 unsigned int cm_autowrap:1; /* autowrap flag (am) */
72 unsigned int cm_magicwrap:1; /* VT-100: cursor stays in last col but 72 unsigned int cm_magicwrap:1; /* VT-100: cursor stays in last col but
179 void cm_cost_init (struct console *c); 179 void cm_cost_init (struct console *c);
180 void cmgoto (int, int); 180 void cmgoto (int, int);
181 void Wcm_clear (void); 181 void Wcm_clear (void);
182 int Wcm_init (void); 182 int Wcm_init (void);
183 183
184 #endif /* INCLUDED_cm_h_ */ 184 #endif /* _XEMACS_CM_H_ */