void RSselect(short w, Point pt, EventRecord theEvent);
void RSzoom(GrafPtr window, short code, short shifted);
short RSupdate(GrafPtr wind);
short RSTextSelected(short w);
void RSskip(short w, Boolean on);
short RSsize(GrafPtr window, long *where, long modifiers);
void RSshow(short w);
Boolean RSsetcolor(short w, short n, RGBColor Color);
void RSsendstring(short w, char *ptr, short len);
short RSnewwindow(RectPtr wDims, short scrollback, short width, short lines, StringPtr name, short wrapon, short fnum, short fsiz, short showit, short goaway, short forcesave);
short RSmouseintext(short w, Point myPoint);
void RSkillwindow(short w);
void RSgetcolor(short w, short n, unsigned short *r, unsigned short *g, unsigned short *b);
void RShide(short w);
GrafPtr RSgetwindow(short w);
char **RSGetTextSel(short w, short table);
RgnHandle RSGetTextSelRgn(short w);
short RSfindvwind(GrafPtr wind);
void RSdeactivate(short w);
void RScursblink(short w);
void RScursblinkon(short w);
void RScursblinkoff(short w);
void RScprompt(short w);
void RScalcwsize(short w, short width);
short RSclick(GrafPtr window, EventRecord theEvent);
void RSactivate(short w);
short ClickInContent(Point where, short w);
Point getlocalmouse(GrafPtr wind);
void RSchangefont(short w, short fnum, long fsiz);
short RSgetfont(short w, short *pfnum, short *pfsiz);
void RSfontmetrics(void);
pascal void ScrollProc(ControlHandle control, short part);