| 43 |
|
struct driver *(*init)(); /* initialize device */ |
| 44 |
|
} devtable[]; /* supported devices */ |
| 45 |
|
|
| 46 |
+ |
extern char dev_default[]; /* default device name */ |
| 47 |
+ |
|
| 48 |
|
#define MB1 ('\n') /* mouse button 1 */ |
| 49 |
|
#define MB2 ('\r') /* mouse button 2 */ |
| 50 |
|
#define MB3 (' ') /* mouse button 3 */ |
| 103 |
|
* assuming the in buffer is big enough. Unless prompt is NULL, |
| 104 |
|
* the driver may substitute its own rview command. This is |
| 105 |
|
* the most reliable way to repaint areas of the screen. |
| 106 |
< |
* If the user enters an unrecognized control character is entered, |
| 106 |
> |
* If the user enters an unrecognized control character, |
| 107 |
|
* terminate input and return the string with only that character. |
| 108 |
|
* The input string should not contain a newline. The routines in |
| 109 |
|
* editline.c may be useful. Comin must work in consort with comout. |