Lines Matching refs:string

48 	struct string *cline;		/* current output line. */
49 struct string *status; /* last line of display. */
54 struct string *input; /* input string for read request. */
82 * The status line is the last line of the screen. It shows the string
92 memcpy(cp->status->string + 24, str, 7);
93 codepage_convert(cp->view.ascebc, cp->status->string + 24, 7);
107 memcpy(cp->status->string, blueprint, sizeof(blueprint));
109 raw3270_buffer_address(cp->view.dev, cp->status->string + 1,
111 raw3270_buffer_address(cp->view.dev, cp->status->string + 21,
114 codepage_convert(cp->view.ascebc, cp->status->string + 8, 12);
115 codepage_convert(cp->view.ascebc, cp->status->string + 24, 7);
119 * Set output offsets to 3270 datastream fragment of a console string.
122 con3270_update_string(struct con3270 *cp, struct string *s, int nr)
126 raw3270_buffer_address(cp->view.dev, s->string + s->len - 3,
136 struct string *s, *n;
157 * Alloc string for size bytes. Free strings from history if necessary.
159 static struct string *
162 struct string *s, *n;
205 struct string *s, *n;
239 if (raw3270_request_add_data(wrq, cp->status->string,
255 if (raw3270_request_add_data(wrq, s->string,
294 switch (cp->input->string[0]) {
368 raw3270_request_set_data(rrq, cp->input->string, cp->input->len);
436 cp->cline->string[cp->cline->len++] =
447 struct string *s;
454 memcpy(s->string, cp->cline->string, cp->cline->len);
456 s->string[s->len - 4] = TO_RA;
457 s->string[s->len - 1] = 0;
460 s->string[size] = cp->view.ascebc[' '];
473 * Write a string to the 3270 console