Lines Matching defs:sp
906 char *sp = tbuf;
917 s = windowid ? ltgetstr("kr", &sp) : k_right;
920 s = windowid ? ltgetstr("kl", &sp) : k_left;
923 s = windowid ? ltgetstr("ku", &sp) : k_up;
926 s = windowid ? ltgetstr("kd", &sp) : k_down;
929 s = windowid ? ltgetstr("kP", &sp) : k_pageup;
932 s = windowid ? ltgetstr("kN", &sp) : k_pagedown;
935 s = windowid ? ltgetstr("kh", &sp) : k_home;
938 s = windowid ? ltgetstr("@7", &sp) : k_end;
943 s = ltgetstr("kD", &sp);
1007 s = ltgetstr("kr", &sp);
1010 s = ltgetstr("kl", &sp);
1013 s = ltgetstr("ku", &sp);
1016 s = ltgetstr("kd", &sp);
1019 s = ltgetstr("kP", &sp);
1022 s = ltgetstr("kN", &sp);
1025 s = ltgetstr("kh", &sp);
1028 s = ltgetstr("@7", &sp);
1031 s = ltgetstr("kD", &sp);
1119 char *sp;
1130 sp = lgetenv("TERMCAP");
1131 if (sp == NULL || *sp == '\0')
1134 if ((sp = homefile("termcap.dat")) != NULL)
1136 termcap = (char *) ecalloc(strlen(sp)+9, sizeof(char));
1137 sprintf(termcap, "TERMCAP=%s", sp);
1138 free(sp);
1195 sp = sbuf;
1198 sc_pad = ltgetstr("pc", &sp);
1203 sc_s_keypad = ltgetstr("ks", &sp);
1206 sc_e_keypad = ltgetstr("ke", &sp);
1210 sc_init = ltgetstr("ti", &sp);
1214 sc_deinit= ltgetstr("te", &sp);
1218 sc_eol_clear = ltgetstr("ce", &sp);
1225 sc_eos_clear = ltgetstr("cd", &sp);
1232 sc_clear = ltgetstr("cl", &sp);
1239 sc_move = ltgetstr("cm", &sp);
1252 tmodes("so", "se", &sc_s_in, &sc_s_out, "", "", &sp);
1253 tmodes("us", "ue", &sc_u_in, &sc_u_out, sc_s_in, sc_s_out, &sp);
1254 tmodes("md", "me", &sc_b_in, &sc_b_out, sc_s_in, sc_s_out, &sp);
1255 tmodes("mb", "me", &sc_bl_in, &sc_bl_out, sc_s_in, sc_s_out, &sp);
1257 sc_visual_bell = ltgetstr("vb", &sp);
1265 sc_backspace = ltgetstr("bc", &sp);
1274 t1 = ltgetstr("ho", &sp);
1281 strcpy(sp, tgoto(sc_move, 0, 0));
1282 t2 = sp;
1283 sp += strlen(sp) + 1;
1291 t1 = ltgetstr("ll", &sp);
1298 strcpy(sp, tgoto(sc_move, 0, sc_height-1));
1299 t2 = sp;
1300 sp += strlen(sp) + 1;
1307 sc_return = ltgetstr("cr", &sp);
1315 t1 = ltgetstr("al", &sp);
1318 t2 = ltgetstr("sr", &sp);