Home | History | Annotate | Download | only in terminal

Lines Matching refs:ESC

688   private final static char ESC = 27;
699 private final static int TSTATE_ESC = 1; /* ESC */
700 private final static int TSTATE_CSI = 2; /* ESC [ */
701 private final static int TSTATE_DCS = 3; /* ESC P */
702 private final static int TSTATE_DCEQ = 4; /* ESC [? */
703 private final static int TSTATE_ESCSQUARE = 5; /* ESC # */
704 private final static int TSTATE_OSC = 6; /* ESC ] */
705 private final static int TSTATE_SETG0 = 7; /* ESC (? */
706 private final static int TSTATE_SETG1 = 8; /* ESC )? */
707 private final static int TSTATE_SETG2 = 9; /* ESC *? */
708 private final static int TSTATE_SETG3 = 10; /* ESC +? */
709 private final static int TSTATE_CSI_DOLLAR = 11; /* ESC [ Pn $ */
710 private final static int TSTATE_CSI_EX = 12; /* ESC [ ! */
711 private final static int TSTATE_ESCSPACE = 13; /* ESC <space> */
715 private final static int TSTATE_CSI_EQUAL = 17; /* ESC [ = */
917 s = "\u001b" + s.substring(2); /* ESC x */
919 s = "\u001b?" + s.substring(2); /* ESC ? x */
1713 case ESC:
1927 if ((c < 0x20) && (c != ESC)) {// NP - No printing character
1932 // but check for vt102 ESC \
1933 if (c == '\\' && osc.charAt(osc.length() - 1) == ESC) {
1950 debug("ESC <space> " + c + " unhandled.");
2011 debug("ESC E (at " + R + ")");
2021 debug("ESC D (at " + R + " )");
2038 debug("ESC M : R is " + R + ", tm is " + getTopMargin() + ", bm is " + getBottomMargin());
2046 debug("ESC M ");
2051 debug("ESC H at " + C);
2068 debug("ESC =");
2077 debug("ESC >");
2092 debug("ESC 7");
2107 debug("ESC 8");
2157 debug("ESC unknown letter: " + c + " (" + ((int) c) + ")");
2181 debug("ESC ( " + c + ": G0 char set? (" + ((int) c) + ")");
2184 debug("ESC ( : G0 char set (" + c + " " + ((int) c) + ")");
2192 debug("ESC ) " + c + " (" + ((int) c) + ") :G1 char set?");
2195 debug("ESC ) :G1 char set (" + c + " " + ((int) c) + ")");
2203 debug("ESC*:G2 char set? (" + ((int) c) + ")");
2206 debug("ESC*:G2 char set (" + c + " " + ((int) c) + ")");
2214 debug("ESC+:G3 char set? (" + ((int) c) + ")");
2217 debug("ESC+:G3 char set (" + c + " " + ((int) c) + ")");
2233 debug("ESC # " + c + " not supported.");
2239 if (c == '\\' && dcs.charAt(dcs.length() - 1) == ESC) {
2270 debug("ESC [ ? " + DCEvars[0] + " s unimplemented!");
2275 debug("ESC [ ? " + DCEvars[0] + " r");
2303 debug("ESC [ ? " + DCEvars[0] + " r, unimplemented!");
2309 debug("ESC [ ? " + DCEvars[0] + " h");
2350 debug("ESC [ ? " + DCEvars[0] + " h, unsupported.");
2381 debug("ESC [ ? " + DCEvars[0] + " l");
2421 debug("ESC [ ? " + DCEvars[0] + " l, unsupported.");
2428 debug("ESC [ ? " + DCEvars[0] + " n");
2433 write((ESC) + "[?13n", false);
2434 debug("ESC[5n");
2437 debug("ESC [ ? " + DCEvars[0] + " n, unsupported.");
2442 debug("ESC [ ? " + DCEvars[0] + " " + c + ", unsupported.");
2449 case ESC:
2453 debug("Unknown character ESC[! character is " + (int) c);
2473 debug("Unknown ESC [... \"" + c);
2503 debug("ESC [ = " + DCEvars[0] + " F");
2515 debug("ESC [ = " + DCEvars[0] + " G");
2524 debugStr.append("Unknown ESC [ = ");
2591 /* send (ESC[?61c) */
2603 write((ESC) + "[?" + subcode + "1;2c", false);
2605 debug("ESC [ " + DCEvars[0] + " c");
2610 debug("ESC [ " + DCEvars[0] + " q");
2624 debug("ESC [ " + DCEvars[0] + " g");
2637 debug("unsupported: ESC [ " + DCEvars[0] + " h");
2641 debug("ESC [ " + DCEvars[0] + " h");
2668 debug("ESC [ " + DCEvars[0] + " i, unimplemented!");
2681 debug("ESC [ " + DCEvars[0] + " l, unimplemented!");
2703 debug("ESC [ " + DCEvars[0] + " A");
2732 debug("ESC [ " + DCEvars[0] + " B (at C=" + C + ")");
2747 debug("ESC [ " + DCEvars[0] + " C");
2758 debug("ESC [ " + DCEvars[0] + " d");
2772 debug("ESC [ " + DCEvars[0] + " D");
2797 debug("ESC [" + DCEvars[0] + " ; " + DCEvars[1] + " r");
2808 debug("ESC [ " + DCEvars[0] + " G");
2815 debug("ESC [ " + DCEvars[0] + ";" + DCEvars[1] + " H, moveoutsidemargins "
2835 debug("ESC [ " + DCEvars[0] + ";" + DCEvars[1] + " f");
2853 debug("ESC [ " + DCEvars[0] + "" + (c) + " (at R " + R + ")");
2865 debug("ESC [ " + DCEvars[0] + "" + (c) + " at R=" + R);
2877 debug("ESC [ " + DCEvars[0] + " K");
2881 case 6: /* 97801 uses ESC[6K for delete to end of line */
2921 debug("ESC [ " + DCEvars[0] + " J");
2926 debug("ESC [ " + DCEvars[0] + " @");
2935 debug("ESC [ " + DCEvars[0] + " X, C=" + C + ",R=" + R);
2949 debug("ESC [ " + DCEvars[0] + " P, C=" + C + ",R=" + R);
2961 writeSpecial((ESC) + "[0n");
2963 debug("ESC[5n");
2970 writeSpecial((ESC) + "[" + R + ";" + C + "R");
2972 debug("ESC[6n");
2977 debug("ESC [ " + DCEvars[0] + " n??");
2987 debug("ESC[s");
2995 debug("ESC[u");
3000 debug("ESC [ ");
3157 debugStr.append("ESC [ ").append(DCEvars[i]).append(" m unknown...");
3175 debugStr.append("ESC [ unknown letter: ").append(c).append(" (").append((int) c)
3184 case ESC: