# | Line 172 | Line 172 | int xmin, ymin, xmax, ymax; | |
---|---|---|
172 | } | |
173 | ||
174 | ||
175 | < | sun_comin(buf) /* input a string from the command line */ |
176 | < | char *buf; |
175 | > | sun_comin(buf, prompt) /* input a string from the command line */ |
176 | > | char *buf, *prompt; |
177 | { | |
178 | + | if (prompt != NULL) |
179 | + | sun_comout(prompt); |
180 | /* echo characters */ | |
181 | do { | |
182 | mygets(buf, ttyin); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |