• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/tcsh/

Lines Matching refs:arrow

720 } arrow[] = {
739 arrow[A_K_DN].fun.cmd = F_DOWN_HIST;
740 arrow[A_K_DN].type = XK_CMD;
742 arrow[A_K_UP].fun.cmd = F_UP_HIST;
743 arrow[A_K_UP].type = XK_CMD;
745 arrow[A_K_LT].fun.cmd = F_CHARBACK;
746 arrow[A_K_LT].type = XK_CMD;
748 arrow[A_K_RT].fun.cmd = F_CHARFWD;
749 arrow[A_K_RT].type = XK_CMD;
751 arrow[A_K_HO].fun.cmd = F_TOBEG;
752 arrow[A_K_HO].type = XK_CMD;
754 arrow[A_K_EN].fun.cmd = F_TOEND;
755 arrow[A_K_EN].type = XK_CMD;
795 cs.buf = strA; AddXkey(&cs, &arrow[A_K_UP].fun, arrow[A_K_UP].type);
796 cs.buf = strB; AddXkey(&cs, &arrow[A_K_DN].fun, arrow[A_K_DN].type);
797 cs.buf = strC; AddXkey(&cs, &arrow[A_K_RT].fun, arrow[A_K_RT].type);
798 cs.buf = strD; AddXkey(&cs, &arrow[A_K_LT].fun, arrow[A_K_LT].type);
799 cs.buf = strH; AddXkey(&cs, &arrow[A_K_HO].fun, arrow[A_K_HO].type);
800 cs.buf = strF; AddXkey(&cs, &arrow[A_K_EN].fun, arrow[A_K_EN].type);
801 cs.buf = stOA; AddXkey(&cs, &arrow[A_K_UP].fun, arrow[A_K_UP].type);
802 cs.buf = stOB; AddXkey(&cs, &arrow[A_K_DN].fun, arrow[A_K_DN].type);
803 cs.buf = stOC; AddXkey(&cs, &arrow[A_K_RT].fun, arrow[A_K_RT].type);
804 cs.buf = stOD; AddXkey(&cs, &arrow[A_K_LT].fun, arrow[A_K_LT].type);
805 cs.buf = stOH; AddXkey(&cs, &arrow[A_K_HO].fun, arrow[A_K_HO].type);
806 cs.buf = stOF; AddXkey(&cs, &arrow[A_K_EN].fun, arrow[A_K_EN].type);
810 cs.buf = &strA[1]; AddXkey(&cs, &arrow[A_K_UP].fun, arrow[A_K_UP].type);
811 cs.buf = &strB[1]; AddXkey(&cs, &arrow[A_K_DN].fun, arrow[A_K_DN].type);
812 cs.buf = &strC[1]; AddXkey(&cs, &arrow[A_K_RT].fun, arrow[A_K_RT].type);
813 cs.buf = &strD[1]; AddXkey(&cs, &arrow[A_K_LT].fun, arrow[A_K_LT].type);
814 cs.buf = &strH[1]; AddXkey(&cs, &arrow[A_K_HO].fun, arrow[A_K_HO].type);
815 cs.buf = &strF[1]; AddXkey(&cs, &arrow[A_K_EN].fun, arrow[A_K_EN].type);
816 cs.buf = &stOA[1]; AddXkey(&cs, &arrow[A_K_UP].fun, arrow[A_K_UP].type);
817 cs.buf = &stOB[1]; AddXkey(&cs, &arrow[A_K_DN].fun, arrow[A_K_DN].type);
818 cs.buf = &stOC[1]; AddXkey(&cs, &arrow[A_K_RT].fun, arrow[A_K_RT].type);
819 cs.buf = &stOD[1]; AddXkey(&cs, &arrow[A_K_LT].fun, arrow[A_K_LT].type);
820 cs.buf = &stOH[1]; AddXkey(&cs, &arrow[A_K_HO].fun, arrow[A_K_HO].type);
821 cs.buf = &stOF[1]; AddXkey(&cs, &arrow[A_K_EN].fun, arrow[A_K_EN].type);
831 if (Strcmp(name->buf, arrow[i].name) == 0) {
832 arrow[i].fun = *fun;
833 arrow[i].type = type;
844 if (Strcmp(name, arrow[i].name) == 0)
854 if (Strcmp(name->buf, arrow[i].name) == 0) {
855 arrow[i].type = XK_NOD;
867 if (name->len == 0 || Strcmp(name->buf, arrow[i].name) == 0)
868 if (arrow[i].type != XK_NOD)
869 printOne(arrow[i].name, &arrow[i].fun, arrow[i].type);
889 p = tstr[arrow[i].key].str;
895 * Assign the arrow keys only if:
897 * 1. They are multi-character arrow keys and the user
900 * 2. They are single arrow keys pointing to an unassigned key.
902 if (arrow[i].type == XK_NOD) {
907 AddXkey(&cs, &arrow[i].fun, arrow[i].type);
912 if (arrow[i].type == XK_CMD)
913 map[j] = arrow[i].fun.cmd;
915 AddXkey(&cs, &arrow[i].fun, arrow[i].type);