| 56 |
|
* The name string is used to identify the client. |
| 57 |
|
* A device can be open by at most one client. |
| 58 |
|
* Be verbose in error reports; call stderr_v(). |
| 59 |
< |
* If device has its own error output, set errvec. |
| 59 |
> |
* If device has its own error output, set errvec, |
| 60 |
> |
* cmdvec and wrnvec. |
| 61 |
|
* } |
| 62 |
|
* (*dev->close)() |
| 63 |
|
* { |
| 64 |
< |
* Close the device. Reset errvec to stderr_v. |
| 64 |
> |
* Close the device. Reset error vectors. |
| 65 |
|
* } |
| 66 |
|
* (*dev->clear)(xres, yres) |
| 67 |
|
* int xres, yres; |
| 68 |
|
* { |
| 69 |
< |
* Clear the device for xres by yres output. This call must |
| 69 |
> |
* Clear the device for xres by yres output. This call will |
| 70 |
|
* be made prior to any output. |
| 71 |
|
* } |
| 72 |
|
* (*dev->paintr)(col, xmin, ymin, xmax, ymax) |
| 97 |
|
* Read an edited input string from the command line. If |
| 98 |
|
* an unrecognized control character is entered, terminate |
| 99 |
|
* input and return the string with only that character. |
| 100 |
< |
* The input string should not contain a newline ('\n'). |
| 100 |
> |
* The input string should not contain a newline. |
| 101 |
|
* Must work in consort with comout. |
| 102 |
|
* } |
| 103 |
|
* xsiz, ysiz |
| 104 |
|
* The maximum allowable x and y dimensions. If any |
| 105 |
|
* size is allowable, these should be set to MAXRES. |
| 106 |
|
* inpready |
| 107 |
< |
* This variable should be positive |
| 108 |
< |
* when characters are ready on the input. |
| 107 |
> |
* This variable should be made positive asynchronously |
| 108 |
> |
* when characters are ready on the input. (Often easiest |
| 109 |
> |
* to check for input during calls to paintr.) |
| 110 |
|
*/ |